OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:maxChunkSize
(Results
1 - 7
of
7
) sorted by null
/libcore/support/src/test/java/tests/http/
MockResponse.java
112
public MockResponse setChunkedBody(byte[] body, int
maxChunkSize
) throws IOException {
119
int chunkSize = Math.min(body.length - pos,
maxChunkSize
);
131
public MockResponse setChunkedBody(String body, int
maxChunkSize
) throws IOException {
132
return setChunkedBody(body.getBytes(ASCII),
maxChunkSize
);
/external/mockwebserver/src/main/java/com/google/mockwebserver/
MockResponse.java
177
*
maxChunkSize
} bytes.
179
public MockResponse setChunkedBody(byte[] body, int
maxChunkSize
) {
187
int chunkSize = Math.min(body.length - pos,
maxChunkSize
);
205
* chunked every {@code
maxChunkSize
} bytes.
207
public MockResponse setChunkedBody(String body, int
maxChunkSize
) {
209
return setChunkedBody(body.getBytes("UTF-8"),
maxChunkSize
);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
MockResponse.java
168
* Sets the response body to {@code body}, chunked every {@code
maxChunkSize
}
171
public MockResponse setChunkedBody(byte[] body, int
maxChunkSize
) {
179
int chunkSize = Math.min(body.length - pos,
maxChunkSize
);
197
* every {@code
maxChunkSize
} bytes.
199
public MockResponse setChunkedBody(String body, int
maxChunkSize
) {
201
return setChunkedBody(body.getBytes("UTF-8"),
maxChunkSize
);
/libcore/support/src/test/java/tests/support/
Support_TestWebServer.java
79
int
maxChunkSize
= 1024;
164
public void setMaxChunkSize(int
maxChunkSize
) {
165
this.
maxChunkSize
=
maxChunkSize
;
840
int chunkSize = Math.min(bytes.length - offset,
maxChunkSize
);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMnsObexClient.java
271
int
maxChunkSize
, bytesToWrite, bytesWritten = 0;
325
maxChunkSize
= putOperation.getMaxPacketSize();
328
bytesToWrite = Math.min(
maxChunkSize
, eventBytes.length - bytesWritten);
BluetoothMapObexServer.java
735
int
maxChunkSize
, bytesToWrite, bytesWritten = 0, listSize;
[
all
...]
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
ByteString.java
321
int
maxChunkSize
) throws IOException {
333
chunkSize = Math.min(chunkSize * 2,
maxChunkSize
);
[
all
...]
Completed in 277 milliseconds