HomeSort by relevance Sort by last modified time
    Searched full:chunksize (Results 1 - 25 of 412) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webrtc/webrtc/modules/audio_processing/transient/test/
plotDetection.m 1 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);
readDetection.m 1 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);
  /cts/tests/tests/proto/src/android/util/proto/cts/
EncodedBufferTest.java 92 public void testWriteRawBuffer(int chunkSize) throws Exception {
93 testWriteRawBuffer(chunkSize, 0);
94 testWriteRawBuffer(chunkSize, 1);
95 testWriteRawBuffer(chunkSize, 3);
96 testWriteRawBuffer(chunkSize, 5);
97 testWriteRawBuffer(chunkSize, 7);
98 testWriteRawBuffer(chunkSize, 1024);
99 testWriteRawBuffer(chunkSize, 1024*1024);
102 public void testWriteRawBuffer(int chunkSize, int bufferSize) throws Exception {
103 final EncodedBuffer buffer = new EncodedBuffer(chunkSize);
    [all...]
ProtoOutputStreamObjectTest.java 76 * Implementation of testObjectOneChar for a given chunkSize.
78 public void testObjectOneChar(int chunkSize) {
79 final ProtoOutputStream po = new ProtoOutputStream(chunkSize);
103 * Implementation of testObjectOneLargeChar for a given chunkSize.
105 public void testObjectOneLargeChar(int chunkSize) {
106 final ProtoOutputStream po = new ProtoOutputStream(chunkSize);
131 * Implementation of testObjectAndTwoChars for a given chunkSize.
133 public void testObjectAndTwoChars(int chunkSize) {
134 final ProtoOutputStream po = new ProtoOutputStream(chunkSize);
173 * Implementation of testEmptyObject for a given chunkSize
    [all...]
  /external/skia/tools/
skpinfo.cpp 102 uint32_t chunkSize = stream.readU32();
107 if (curPos+chunkSize > totStreamSize) {
121 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize);
126 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize);
131 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize);
134 const int count = SkToInt(chunkSize);
146 chunkSize = 0;
151 SkDebugf("SK_PICT_PICTURE_TAG %d\n", chunkSize);
158 SkDebugf("SK_PICT_BUFFER_SIZE_TAG %d\n", chunkSize);
163 SkDebugf("Unknown tag %d\n", chunkSize);
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
AbstractStreamingHasherTest.java 145 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;
189 Sink(int chunkSize, int bufferSize) {
190 super(chunkSize, bufferSize)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
chunk.py 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
69 self.chunksize = self.chunksize - 8 # subtract header
84 return self.chunksize
109 pos = pos + self.chunksize
110 if pos < 0 or pos > self.chunksize:
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_read
    [all...]
  /external/jemalloc/test/unit/
prof_gdump.c 38 p = mallocx(chunksize, 0);
43 q = mallocx(chunksize, 0);
54 r = mallocx(chunksize, 0);
65 s = mallocx(chunksize, 0);
  /external/python/cpython2/Lib/
chunk.py 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
69 self.chunksize = self.chunksize - 8 # subtract header
84 return self.chunksize
111 pos = pos + self.chunksize
112 if pos < 0 or pos > self.chunksize:
130 if self.size_read >= self.chunksize:
133 size = self.chunksize - self.size_read
134 if size > self.chunksize - self.size_read:
135 size = self.chunksize - self.size_rea
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
chunk.py 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
69 self.chunksize = self.chunksize - 8 # subtract header
84 return self.chunksize
109 pos = pos + self.chunksize
110 if pos < 0 or pos > self.chunksize:
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_rea
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
chunk.py 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
69 self.chunksize = self.chunksize - 8 # subtract header
84 return self.chunksize
109 pos = pos + self.chunksize
110 if pos < 0 or pos > self.chunksize:
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_rea
    [all...]
  /prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/preprocessor/
PpMemory.cpp 86 // default alignment and chunksize, if called with 0 arguments
87 #define CHUNKSIZE (64*1024)
96 TPpContext::MemoryPool* TPpContext::mem_CreatePool(size_t chunksize, unsigned int align)
100 if (chunksize == 0)
101 chunksize = CHUNKSIZE;
104 if (chunksize < sizeof(MemoryPool))
106 if (chunksize & (align - 1))
109 MemoryPool *pool = (MemoryPool*)malloc(chunksize);
114 pool->chunksize = chunksize
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
chunk.py 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
69 self.chunksize = self.chunksize - 8 # subtract header
84 return self.chunksize
109 pos = pos + self.chunksize
110 if pos < 0 or pos > self.chunksize:
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_rea
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
chunk.py 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
69 self.chunksize = self.chunksize - 8 # subtract header
84 return self.chunksize
109 pos = pos + self.chunksize
110 if pos < 0 or pos > self.chunksize:
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_rea
    [all...]
  /external/dtc/tests/
incbin.c 31 #define CHUNKSIZE 1024
46 if (bufsize < (*len + CHUNKSIZE)) {
47 buf = xrealloc(buf, *len + CHUNKSIZE);
48 bufsize = *len + CHUNKSIZE;
51 n = fread(buf + *len, 1, CHUNKSIZE, f);
  /external/guava/guava/src/com/google/common/hash/
AbstractStreamingHashFunction.java 85 private final int chunkSize;
91 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
94 protected AbstractStreamingHasher(int chunkSize) {
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) {
108 // TODO(kevinb): check more preconditions (as bufferSize >= chunkSize) if this is ever publi
    [all...]
  /frameworks/av/media/libstagefright/include/media/stagefright/
DataSource.h 86 // The optional parameter chunkSize specifies how many entries should be
88 // chunkSize can improve the performance at the cost of extra memory usage.
89 // The default value for chunkSize is set to read at least 4k bytes at a
93 size_t chunkSize = (4095 / sizeof(T)) + 1);
142 size_t chunkSize)
145 if (chunkSize == 0) {
152 T tmp[chunkSize];
154 size_t numBytesPerChunk = chunkSize * sizeof(T);
157 for (i = 0; i + chunkSize < count; i += chunkSize) {
    [all...]
  /tools/apksig/src/test/java/com/android/apksig/internal/util/
ByteStreams.java 35 int chunkSize;
36 while ((chunkSize = in.read(buf)) != -1) {
37 result.write(buf, 0, chunkSize);
  /frameworks/compile/mclinker/include/mcld/Support/
UniqueGCFactory.h 23 template <typename KeyType, typename DataType, size_t ChunkSize>
25 : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc;
32 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {}
35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) {}
  /external/autotest/client/tests/linus_stress/
linus_stress.c 10 #define CHUNKSIZE (1460)
11 #define NRCHUNKS (TARGETSIZE / CHUNKSIZE)
12 #define SIZE (NRCHUNKS * CHUNKSIZE)
16 memset(start, nr, CHUNKSIZE);
39 for (i = 0; i < CHUNKSIZE; i++) {
101 fillmem(mapping + chunk * CHUNKSIZE, chunk);
112 checkmem(mapping + chunk * CHUNKSIZE, chunk);
  /tools/apksig/src/main/java/com/android/apksig/internal/util/
OutputStreamDataSink.java 71 int chunkSize = Math.min(buf.remaining(), tmp.length);
72 buf.get(tmp, 0, chunkSize);
73 mOut.write(tmp, 0, chunkSize);
RandomAccessFileDataSource.java 104 int chunkSize = (int) Math.min(remaining, buf.length);
107 mFile.readFully(buf, 0, chunkSize);
109 sink.consume(buf, 0, chunkSize);
110 chunkOffsetInFile += chunkSize;
111 remaining -= chunkSize;
135 int chunkSize;
138 chunkSize = fileChannel.read(dest);
140 offsetInFile += chunkSize;
141 remaining -= chunkSize;
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
AudioFileOutput.java 108 byte[] chunkSize = new byte[4];
111 chunkSize[3] = (byte) (tempChunkSize >> 24);
112 chunkSize[2] = (byte) (tempChunkSize >> 16);
113 chunkSize[1] = (byte) (tempChunkSize >> 8);
114 chunkSize[0] = (byte) tempChunkSize;
123 chunkSize[0], chunkSize[1], chunkSize[2], chunkSize[3],
  /external/ltp/testcases/kernel/mem/mtest01/
mtest01.c 22 * DESCRIPTION : mallocs memory <chunksize> at a time until malloc fails.
86 int chunksize = 1024 * 1024; /* one meg at a time by default */ local
101 chunksize = atoi(optarg);
260 bytecount = chunksize;
262 if ((mem = malloc(chunksize)) == NULL) {
269 for (j = 0; j < chunksize; j++)
273 "allocated %lu bytes chunksize is %d",
274 bytecount, chunksize);
275 bytecount += chunksize;
  /frameworks/base/opengl/java/android/opengl/
ETC1Util.java 172 int chunkSize = Math.min(ioBuffer.length, encodedSize - i);
173 if (input.read(ioBuffer, 0, chunkSize) != chunkSize) {
176 dataBuffer.put(ioBuffer, 0, chunkSize);
177 i += chunkSize;
219 int chunkSize = Math.min(ioBuffer.length, encodedSize - i);
220 dataBuffer.get(ioBuffer, 0, chunkSize);
221 output.write(ioBuffer, 0, chunkSize);
222 i += chunkSize;

Completed in 6474 milliseconds

1 2 3 4 5 6 7 8 91011>>