Home
last modified time | relevance | path

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

/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java32 @Param({"2048"}) private int chunkSize; field in URLConnectionBenchmark
57 transferEncoding.setBody(response, bodySize, chunkSize); in setUp()
95 void setBody(MockResponse response, int bodySize, int chunkSize) throws IOException { in setBody() argument
99 response.setChunkedBody(new byte[bodySize], chunkSize); in setBody()
/libcore/ojluni/src/main/java/java/util/stream/
DAbstractSpinedBuffer.java116 protected int chunkSize(int n) { in chunkSize() method in AbstractSpinedBuffer
DSpinedBuffer.java146 int nextChunkSize = chunkSize(i); in ensureCapacity()
511 int nextChunkSize = chunkSize(i); in ensureCapacity()
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java268 int chunkSize = client.getInputStream().read(buf); in CapturingServerSocket()
269 if (chunkSize == -1) { in CapturingServerSocket()
274 return Arrays.copyOf(buf, chunkSize); in CapturingServerSocket()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java843 int chunkSize = Math.min(bytes.length - offset, maxChunkSize); in sendFile() local
844 psPrint(ps, Integer.toHexString(chunkSize)); in sendFile()
846 psWrite(ps, bytes, offset, chunkSize); in sendFile()
848 offset += chunkSize; in sendFile()