Searched refs:chunkSize (Results 1 - 25 of 82) sorted by relevance

1234

/external/webrtc/webrtc/modules/audio_processing/transient/test/
H A DreadDetection.m1 function [d, t] = readDetection(file, fs, chunkSize)
2 %[d, t] = readDetection(file, fs, chunkSize)
11 %chunkSize: The chunk size used for the detection in seconds.
15 t = 0:(1 / fs):(length(d) * chunkSize - 1 / fs);
16 d = d(floor(t / chunkSize) + 1);
H A DplotDetection.m1 function [] = plotDetection(PCMfile, DATfile, fs, chunkSize)
2 %[] = plotDetection(PCMfile, DATfile, fs, chunkSize)
9 %chunkSize: The chunk size used to compute the detection values in seconds.
11 [d, td] = readDetection(DATfile, fs, chunkSize);
/external/skia/tools/
H A Dskpinfo.cpp84 uint32_t chunkSize = stream.readU32(); local
89 if (curPos+chunkSize > totStreamSize) {
103 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize);
108 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize);
113 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize);
116 const int count = SkToInt(chunkSize);
128 chunkSize = 0;
133 SkDebugf("SK_PICT_PICTURE_TAG %d\n", chunkSize);
140 SkDebugf("SK_PICT_BUFFER_SIZE_TAG %d\n", chunkSize);
145 SkDebugf("Unknown tag %d\n", chunkSize);
[all...]
/external/guice/core/src/com/google/inject/spi/
H A DElementSource.java154 int chunkSize = partialCallStack.length;
155 positions[0] = chunkSize - 1;
158 chunkSize = current.getPartialCallStackSize();
159 positions[cursor] = positions[cursor - 1] + chunkSize;
175 int chunkSize = partialCallStack.length;
176 int size = moduleSource.getStackTraceSize() + chunkSize;
180 chunkSize);
181 System.arraycopy(moduleSource.getStackTrace(), 0, callStack, chunkSize, modulesCallStackSize);
H A DModuleSource.java175 int chunkSize = chunk.length;
176 System.arraycopy(chunk, 0, callStack, cursor, chunkSize);
178 cursor = cursor + chunkSize;
/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractStreamingHasherTest.java145 for (int chunkSize = 4; chunkSize <= 32; chunkSize++) {
146 for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) {
148 sinks.add(new Sink(chunkSize, bufferSize));
182 final int chunkSize; field in class:AbstractStreamingHasherTest.Sink
189 Sink(int chunkSize, int bufferSize) { argument
190 super(chunkSize, bufferSiz
195 Sink(int chunkSize) argument
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DAbstractStreamingHashFunction.java85 private final int chunkSize; field in class:AbstractStreamingHashFunction.AbstractStreamingHasher
91 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
94 protected AbstractStreamingHasher(int chunkSize) { argument
95 this(chunkSize, chunkSize);
101 * {@code chunkSize}.
103 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
105 * @param bufferSize the size of the internal buffer. Must be a multiple of chunkSize
107 protected AbstractStreamingHasher(int chunkSize, int bufferSize) { argument
108 // TODO(kevinb): check more preconditions (as bufferSize >= chunkSize) i
[all...]
/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedInputStream.java84 private int chunkSize; field in class:ChunkedInputStream
129 if (this.pos >= this.chunkSize) {
159 if (pos >= chunkSize) {
165 len = Math.min(len, chunkSize - pos);
188 chunkSize = getChunkSize();
189 if (chunkSize < 0) {
194 if (chunkSize == 0) {
/external/lz4/programs/
H A Dfullbench.c149 static int chunkSize = DEFAULT_CHUNKSIZE; variable
160 chunkSize = bsize;
161 DISPLAY("-Using Block Size of %i KB-\n", chunkSize>>10);
457 chunkP = (struct chunkParameters*) malloc(((benchedSize / (size_t)chunkSize)+1) * sizeof(struct chunkParameters));
459 nbChunks = (int) (((int)benchedSize + (chunkSize-1))/ chunkSize);
460 maxCompressedChunkSize = LZ4_compressBound(chunkSize);
516 nbChunks = (int) (((int)benchedSize + (chunkSize-1))/ chunkSize);
520 chunkP[i].origBuffer = in; in += chunkSize;
[all...]
H A Dbench.c140 static int chunkSize = DEFAULT_CHUNKSIZE; variable
144 void BMK_SetBlocksize(int bsize) { chunkSize = bsize; }
297 chunkP = (struct chunkParameters*) malloc(((benchedSize / (size_t)chunkSize)+1) * sizeof(struct chunkParameters));
299 nbChunks = (int) ((int)benchedSize / chunkSize) + 1;
300 maxCompressedChunkSize = LZ4_compressBound(chunkSize);
324 chunkP[i].origBuffer = in; in += chunkSize;
325 if ((int)remaining > chunkSize) { chunkP[i].origSize = chunkSize; remaining -= chunkSize; } else { chunkP[i].origSize = (int)remaining; remaining = 0; }
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
H A DDeqpInstrumentation.java201 final int chunkSize = 4*1024;
207 if (log.length() > chunkSize)
209 message = log.substring(0, chunkSize);
210 log = log.substring(chunkSize);
/external/mockwebserver/src/main/java/com/google/mockwebserver/
H A DMockResponse.java194 int chunkSize = Math.min(body.length - pos, maxChunkSize);
195 bytesOut.write(Integer.toHexString(chunkSize).getBytes(US_ASCII));
197 bytesOut.write(body, pos, chunkSize);
199 pos += chunkSize;
H A DMockWebServer.java478 int chunkSize = Integer.parseInt(readAsciiUntilCrlf(in).trim(), 16);
479 if (chunkSize == 0) {
483 chunkSizes.add(chunkSize);
484 throttledTransfer(throttlePolicy, in, requestBody, chunkSize);
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DByteString.java312 * chunkSize parameter sets the size of these byte arrays. In
313 * particular, if the chunkSize is precisely the same as the length
321 * @param chunkSize The size of the chunks in which to read the
328 public static ByteString readFrom(InputStream streamToDrain, int chunkSize) argument
330 return readFrom(streamToDrain, chunkSize, chunkSize);
340 int chunkSize = minChunkSize;
342 ByteString chunk = readChunk(streamToDrain, chunkSize);
347 chunkSize = Math.min(chunkSize *
363 readChunk(InputStream in, final int chunkSize) argument
[all...]
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
H A DMockResponse.java166 long chunkSize = Math.min(body.size(), maxChunkSize);
167 bytesOut.writeHexadecimalUnsignedLong(chunkSize);
169 bytesOut.write(body, chunkSize);
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
H A DLZMA2OutputStream.java169 int chunkSize = Math.min(uncompressedSize, COMPRESSED_SIZE_MAX);
171 outData.writeShort(chunkSize - 1);
172 lz.copyUncompressed(out, uncompressedSize, chunkSize);
173 uncompressedSize -= chunkSize;
/external/pdfium/xfa/src/fgas/include/
H A Dfx_mem.h34 size_t chunkSize,
/external/sonic/
H A Dwave.c199 int chunkSize = readInt(file); /* 16 or 18 - size of this chunk */ local
200 if(chunkSize != 16 && chunkSize != 18) {
218 if (chunkSize == 18) { /* ffmpeg writes 18, and so has 2 extra bytes here */
/external/sl4a/Common/src/org/apache/commons/codec/binary/
H A DBase64Codec.java955 * @param chunkSize line-length of the output (<= 0 means no chunking) between each
962 private static long getEncodeLength(byte[] pArray, int chunkSize, byte[] chunkSeparator) { argument
964 chunkSize = (chunkSize / 4) * 4;
971 if (chunkSize > 0) {
972 boolean lenChunksPerfectly = len % chunkSize == 0;
973 len += (len / chunkSize) * chunkSeparator.length;
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
H A Dinputstream.py201 self.chunkSize = 0
248 if self.chunkOffset >= self.chunkSize:
258 def readChunk(self, chunkSize=None):
259 if chunkSize is None:
260 chunkSize = self._defaultChunkSize
262 self.prevNumLines, self.prevNumCols = self._position(self.chunkSize)
265 self.chunkSize = 0
268 data = self.dataStream.read(chunkSize)
295 self.chunkSize = len(data)
353 if self.chunkOffset != self.chunkSize
[all...]
/external/pdfium/xfa/src/fgas/src/crt/
H A Dfx_memory.cpp13 size_t chunkSize,
18 return new CFX_DynamicStore(chunkSize);
23 return new CFX_StaticStore(chunkSize);
25 return new CFX_FixedStore(blockSize, chunkSize);
12 FX_CreateAllocator(FX_ALLOCTYPE eType, size_t chunkSize, size_t blockSize) argument
/external/sonivox/arm-wt-22k/lib_src/
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))
309 chunkSize -= 8;
328 EAS_I32 chunkSize; local
358 pos = chunkSize = 8;
372 result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkSize, EAS_FALSE);
380 result = JetParseInfoChunk(easHandle, pos, chunkSize);
399 easHandle->jetHandle->appDataSize = chunkSize;
411 pos += chunkSize;
/external/ImageMagick/MagickCore/
H A Daccelerate.c629 chunkSize=256, local
686 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_float4)*(chunkSize+kernelWidth),(void *) NULL);
695 gsize[0]=chunkSize*((image->columns+chunkSize-1)/chunkSize);
697 lsize[0]=chunkSize;
721 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_float4)*(chunkSize+kernelWidth),(void *) NULL);
731 gsize[1]=chunkSize*((image->rows+chunkSize-1)/chunkSize);
4038 chunkSize, local
4220 chunkSize, local
4785 chunkSize; local
[all...]
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/
H A DBufferPerformanceBench.java292 private BufferedSource writeChunked(Buffer buffer, byte[] bytes, final int chunkSize) { argument
296 int bytesToWrite = Math.min(remaining, chunkSize);
/external/chromium-trace/catapult/third_party/flot/
H A Dexcanvas.js886 var chunkSize = 5000;
891 for (var j = 0; j < this.currentPath_.length; j += chunkSize) {
905 for (var i = j; i < Math.min(j + chunkSize, this.currentPath_.length); i++) {
906 if (i % chunkSize == 0 && i > 0) { // move into position for next chunk

Completed in 1007 milliseconds

1234