Searched defs:chunkSize (Results 1 - 25 of 31) sorted by relevance

12

/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedInputStream.java79 private int chunkSize; field in class:ChunkedInputStream
124 if (this.pos >= this.chunkSize) {
154 if (pos >= chunkSize) {
160 len = Math.min(len, chunkSize - pos);
183 chunkSize = getChunkSize();
184 if (chunkSize < 0) {
189 if (chunkSize == 0) {
/external/guava/guava/src/com/google/common/hash/
H A DAbstractStreamingHashFunction.java77 private final int chunkSize; field in class:AbstractStreamingHashFunction.AbstractStreamingHasher
83 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
86 protected AbstractStreamingHasher(int chunkSize) { argument
87 this(chunkSize, chunkSize);
93 * {@code chunkSize}.
95 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
97 * @param bufferSize the size of the internal buffer. Must be a multiple of chunkSize
99 protected AbstractStreamingHasher(int chunkSize, int bufferSize) { argument
100 // TODO(kevinb): check more preconditions (as bufferSize >= chunkSize) i
[all...]
/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractStreamingHasherTest.java120 for (int chunkSize = 4; chunkSize <= 32; chunkSize++) {
121 for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) {
123 sinks.add(new Sink(chunkSize, bufferSize));
151 final int chunkSize; field in class:AbstractStreamingHasherTest.Sink
158 Sink(int chunkSize, int bufferSize) { argument
159 super(chunkSize, bufferSiz
164 Sink(int chunkSize) argument
[all...]
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_smf.c1047 EAS_U32 chunkSize; local
1055 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS)
1105 temp = chunkStart + SMF_CHUNK_INFO_SIZE + chunkSize;
1122 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS)
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_smf.c1047 EAS_U32 chunkSize; local
1055 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS)
1105 temp = chunkStart + SMF_CHUNK_INFO_SIZE + chunkSize;
1122 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS)
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_smf.c1052 EAS_U32 chunkSize; local
1060 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS)
1114 temp = chunkStart + SMF_CHUNK_INFO_SIZE + chunkSize;
1131 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS)
H A Djet.c257 static EAS_RESULT JetParseInfoChunk (EAS_DATA_HANDLE easHandle, EAS_I32 pos, EAS_I32 chunkSize) argument
270 while ((result == EAS_SUCCESS) && (chunkSize > 0))
303 chunkSize -= 8;
322 EAS_I32 chunkSize; local
352 pos = chunkSize = 8;
366 result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkSize, EAS_FALSE);
374 result = JetParseInfoChunk(easHandle, pos, chunkSize);
393 easHandle->jetHandle->appDataSize = chunkSize;
405 pos += chunkSize;
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
H A DByteStringTest.java282 // reluctant stream with the given chunkSize parameter.
283 private void assertReadFromReluctantStream(byte[] bytes, int chunkSize) argument
285 ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize);
/external/stlport/src/details/
H A Dfstream_win32io.cpp392 size_t chunkSize = (min)(size_t(0xffffffff), __STATIC_CAST(size_t, n)); local
393 // The following, while validating that we are still able to extract chunkSize
396 while (__STATIC_CAST(size_t, (n - readen)) >= chunkSize) {
398 ReadFile(_M_file_id, buf + readen, __STATIC_CAST(DWORD, chunkSize), &numberOfBytesRead, 0);
/external/yaffs2/yaffs2/utils/
H A Dmkyaffs2image.c56 unsigned chunkSize = 2048; variable
228 error = write(outFile,data,chunkSize);
260 __u8 bytes[chunkSize];
450 __u8 bytes[chunkSize];
549 chunkSize = (unsigned)strtoul(optarg, NULL, 0);
560 if (!chunkSize || !spareSize) {
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
H A DByteString.java298 * chunkSize parameter sets the size of these byte arrays. In
299 * particular, if the chunkSize is precisely the same as the length
307 * @param chunkSize The size of the chunks in which to read the
314 public static ByteString readFrom(InputStream streamToDrain, int chunkSize) argument
316 return readFrom(streamToDrain, chunkSize, chunkSize);
326 int chunkSize = minChunkSize;
328 ByteString chunk = readChunk(streamToDrain, chunkSize);
333 chunkSize = Math.min(chunkSize *
349 readChunk(InputStream in, final int chunkSize) argument
[all...]
/external/skia/tools/
H A DPictureRenderer.cpp767 const int chunkSize = (fTileRects.count() + fNumThreads - 1) / fNumThreads; local
777 const int start = i * chunkSize;
778 const int end = SkMin32(start + chunkSize, fTileRects.count());
/external/mdnsresponder/mDNSShared/
H A DDebugServices.c2094 size_t chunkSize; local
2193 chunkSize = ( inDataSize < 16 ) ? inDataSize : 16;
2194 n = ( inFlags & kDebugFlagsNo16ByteHexPad ) ? chunkSize : 16;
2209 if( i < chunkSize )
2233 if( i < chunkSize )
2364 offset += (int) chunkSize;
2365 src += chunkSize;
2366 inDataSize -= chunkSize;
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
H A DHttpResponseCacheTest.java1856 @Override void setBody(MockResponse response, byte[] content, int chunkSize)
1858 response.setChunkedBody(content, chunkSize);
1862 @Override void setBody(MockResponse response, byte[] content, int chunkSize) {
1867 @Override void setBody(MockResponse response, byte[] content, int chunkSize) {
1879 abstract void setBody(MockResponse response, byte[] content, int chunkSize) throws IOException; argument
1881 void setBody(MockResponse response, String content, int chunkSize) throws IOException { argument
1882 setBody(response, content.getBytes("UTF-8"), chunkSize);
H A DURLConnectionTest.java2552 @Override void setBody(MockResponse response, byte[] content, int chunkSize)
2554 response.setChunkedBody(content, chunkSize);
2561 @Override void setBody(MockResponse response, byte[] content, int chunkSize) {
2569 @Override void setBody(MockResponse response, byte[] content, int chunkSize) {
2583 abstract void setBody(MockResponse response, byte[] content, int chunkSize) throws IOException; argument
2587 void setBody(MockResponse response, String content, int chunkSize) throws IOException { argument
2588 setBody(response, content.getBytes("UTF-8"), chunkSize);
/external/icu4c/test/cintltst/
H A Dccapitst.c2132 int32_t chunkSize,
2150 if(chunkSize>CHUNK_SIZE) {
2151 chunkSize=CHUNK_SIZE;
2155 pivotLimit=pivotBuffer+chunkSize;
2159 targetLimit=targetBuffer+chunkSize;
2169 /* for testing, give ucnv_convertEx() at most <chunkSize> input/pivot/output units at a time */
2170 if(src+chunkSize<=finalSrcLimit) {
2171 srcLimit=src+chunkSize;
2183 testName, chunkSize, target, targetLimit);
2189 if(targetLength+chunkSize<
2129 convertExStreaming(UConverter *srcCnv, UConverter *targetCnv, const char *src, int32_t srcLength, const char *expectTarget, int32_t expectTargetLength, int32_t chunkSize, const char *testName, UErrorCode expectCode) argument
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-crypto.js710 var cs = this.chunkSize(b);
725 var cs = this.chunkSize(b);
1278 BigInteger.prototype.chunkSize = bnpChunkSize;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-crypto.js710 var cs = this.chunkSize(b);
725 var cs = this.chunkSize(b);
1278 BigInteger.prototype.chunkSize = bnpChunkSize;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
H A Dv8-crypto.js710 var cs = this.chunkSize(b);
725 var cs = this.chunkSize(b);
1278 BigInteger.prototype.chunkSize = bnpChunkSize;
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dccapitst.c2174 int32_t chunkSize,
2192 if(chunkSize>CHUNK_SIZE) {
2193 chunkSize=CHUNK_SIZE;
2197 pivotLimit=pivotBuffer+chunkSize;
2201 targetLimit=targetBuffer+chunkSize;
2211 /* for testing, give ucnv_convertEx() at most <chunkSize> input/pivot/output units at a time */
2212 if(src+chunkSize<=finalSrcLimit) {
2213 srcLimit=src+chunkSize;
2225 testName, chunkSize, target, targetLimit);
2231 if(targetLength+chunkSize<
2171 convertExStreaming(UConverter *srcCnv, UConverter *targetCnv, const char *src, int32_t srcLength, const char *expectTarget, int32_t expectTargetLength, int32_t chunkSize, const char *testName, UErrorCode expectCode) argument
[all...]
/external/chromium_org/v8/benchmarks/
H A Dcrypto.js718 var cs = this.chunkSize(b);
733 var cs = this.chunkSize(b);
1286 BigInteger.prototype.chunkSize = bnpChunkSize;
/external/v8/benchmarks/
H A Dcrypto.js718 var cs = this.chunkSize(b);
733 var cs = this.chunkSize(b);
1286 BigInteger.prototype.chunkSize = bnpChunkSize;
/external/chromium_org/tools/win/split_link/viz.js/
H A Dviz.js1137 var LazyUint8Array = function(chunkSize, length) {
1139 this.chunkSize = chunkSize;
1146 var chunkOffset = idx % chunkSize;
1147 var chunkNum = Math.floor(idx / chunkSize);
1161 var chunkSize = 1024*1024; // Chunk size in bytes variable
1162 if (!hasByteServing) chunkSize = datalength;
1170 if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to);
1184 var lazyArray = new LazyUint8Array(chunkSize, datalength);
1186 var start = chunkNum * lazyArray.chunkSize;
[all...]
/external/robolectric/lib/main/
H A Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/protocol/ ...
/external/smack/asmack-master/lib/
H A Dhttpcore-4.1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/impl/ ...

Completed in 1550 milliseconds

12