Home
last modified time | relevance | path

Searched refs:maxChunkSize (Results 1 – 5 of 5) sorted by relevance

/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockResponse.java186 public MockResponse setChunkedBody(byte[] body, int maxChunkSize) { in setChunkedBody() argument
194 int chunkSize = Math.min(body.length - pos, maxChunkSize); in setChunkedBody()
214 public MockResponse setChunkedBody(String body, int maxChunkSize) { in setChunkedBody() argument
216 return setChunkedBody(body.getBytes("UTF-8"), maxChunkSize); in setChunkedBody()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockResponse.java162 public MockResponse setChunkedBody(Buffer body, int maxChunkSize) { in setChunkedBody() argument
168 long chunkSize = Math.min(body.size(), maxChunkSize); in setChunkedBody()
184 public MockResponse setChunkedBody(String body, int maxChunkSize) { in setChunkedBody() argument
185 return setChunkedBody(new Buffer().writeUtf8(body), maxChunkSize); in setChunkedBody()
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/
DBufferPerformanceBench.java277 protected Buffer receive(byte[] bytes, int maxChunkSize) throws IOException { in receive() argument
278 writeChunked(received, bytes, maxChunkSize).readAll(process); in receive()
287 protected BufferedSource transmit(byte[] bytes, int maxChunkSize) throws IOException { in transmit() argument
288 writeChunked(process, bytes, maxChunkSize).readAll(sent); in transmit()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java450 int maxChunkSize) throws IOException { in readFrom() argument
462 chunkSize = Math.min(chunkSize * 2, maxChunkSize); in readFrom()
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...