Searched refs:chunkSize (Results 1 – 6 of 6) sorted by relevance
/libcore/benchmarks/src/benchmarks/regression/ |
D | URLConnectionBenchmark.java | 32 @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/ |
D | AbstractSpinedBuffer.java | 116 protected int chunkSize(int n) { in chunkSize() method in AbstractSpinedBuffer
|
D | SpinedBuffer.java | 146 int nextChunkSize = chunkSize(i); in ensureCapacity() 511 int nextChunkSize = chunkSize(i); in ensureCapacity()
|
/libcore/luni/src/test/java/libcore/libcore/net/ |
D | NetworkSecurityPolicyTest.java | 268 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/ |
D | Support_TestWebServer.java | 843 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()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLConnectionTest.java | 3284 @Override void setBody(MockResponse response, byte[] content, int chunkSize) 3286 response.setChunkedBody(content, chunkSize); 3290 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 3295 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 3307 abstract void setBody(MockResponse response, byte[] content, int chunkSize) 3310 void setBody(MockResponse response, String content, int chunkSize) throws IOException { 3311 setBody(response, content.getBytes("UTF-8"), chunkSize);
|