Home
last modified time | relevance | path

Searched refs:CHUNK_SIZE (Results 1 – 25 of 38) sorted by relevance

12

/external/igt-gpu-tools/tests/i915/
Dgem_streaming_writes.c42 #define CHUNK_SIZE 32 macro
143 batch = malloc(sizeof(*batch) * (OBJECT_SIZE / CHUNK_SIZE / 64)); in test_streaming()
144 for (i = n = 0; i < OBJECT_SIZE / CHUNK_SIZE / 64; i++) { in test_streaming()
155 unsigned x = (n * CHUNK_SIZE) % 4096 >> 2; in test_streaming()
156 unsigned y = (n * CHUNK_SIZE) / 4096; in test_streaming()
166 b[k++] = ((y+1) << 16) | (x + (CHUNK_SIZE >> 2)); in test_streaming()
193 for (offset = 0; offset < OBJECT_SIZE; offset += CHUNK_SIZE) { in test_streaming()
199 for (i = 0; i < CHUNK_SIZE/4; i++) in test_streaming()
205 b = offset / CHUNK_SIZE / 64; in test_streaming()
206 n = offset / CHUNK_SIZE % 64; in test_streaming()
[all …]
/external/marisa-trie/lib/marisa/grimoire/io/
Dreader.cc119 static const std::size_t CHUNK_SIZE = in read_data() local
121 const unsigned int count = (size < CHUNK_SIZE) ? size : CHUNK_SIZE; in read_data()
124 static const std::size_t CHUNK_SIZE = in read_data()
126 const ::size_t count = (size < CHUNK_SIZE) ? size : CHUNK_SIZE; in read_data()
Dwriter.cc119 static const std::size_t CHUNK_SIZE = in write_data() local
121 const unsigned int count = (size < CHUNK_SIZE) ? size : CHUNK_SIZE; in write_data()
124 static const std::size_t CHUNK_SIZE = in write_data()
126 const ::size_t count = (size < CHUNK_SIZE) ? size : CHUNK_SIZE; in write_data()
/external/skia/modules/canvaskit/htmlcanvas/
Dutil.js22 var CHUNK_SIZE = 0x8000; //arbitrary number
28 slice = bytes.slice(index, Math.min(index + CHUNK_SIZE, length));
30 index += CHUNK_SIZE;
/external/skqp/experimental/canvaskit/htmlcanvas/
Dutil.js22 var CHUNK_SIZE = 0x8000; //arbitrary number
28 slice = bytes.slice(index, Math.min(index + CHUNK_SIZE, length));
30 index += CHUNK_SIZE;
/external/brotli/java/org/brotli/wrapper/enc/
DBrotliOutputStreamTest.java30 private static final int CHUNK_SIZE = 256; field in BrotliOutputStreamTest
81 if ((mode == TestMode.WRITE_CHUNKS) && (original.length <= CHUNK_SIZE)) { in run()
94 for (int offset = 0; offset < original.length; offset += CHUNK_SIZE) { in run()
95 encoder.write(original, offset, Math.min(CHUNK_SIZE, original.length - offset)); in run()
DBrotliEncoderChannelTest.java32 private static final int CHUNK_SIZE = 256; field in BrotliEncoderChannelTest
82 if ((mode == TestMode.WRITE_CHUNKS) && (original.length <= CHUNK_SIZE)) { in run()
97 int limit = Math.min(CHUNK_SIZE, src.remaining()); in run()
/external/ltp/testcases/kernel/controllers/memctl/
Drun_memctl_test.sh100 CHUNK_SIZE=6291456; # malloc n chunks of size m(6M)
104 MEM_TASK=`expr $CHUNK_SIZE \* $NUM_CHUNKS`; # memory allocated by a task
135 TEST_NUM=$TEST_NUM MYGROUP=$MYGROUP SCRIPT_PID=$SCRIPT_PID CHUNK_SIZE=$CHUNK_SIZE \
/external/crosvm/disk/src/
Dandroid_sparse.rs339 const CHUNK_SIZE: usize = mem::size_of::<ChunkHeader>(); constant
347 total_sz: (CHUNK_SIZE as u32 + 123).into(), in parse_raw()
354 let chunk = parse_chunk(&mut chunk_cursor, CHUNK_SIZE as u64, 123) in parse_raw()
358 chunk: Chunk::Raw(CHUNK_SIZE as u64), in parse_raw()
370 total_sz: (CHUNK_SIZE as u32).into(), in parse_dont_care()
374 let chunk = parse_chunk(&mut chunk_cursor, CHUNK_SIZE as u64, 123) in parse_dont_care()
390 total_sz: (CHUNK_SIZE as u32 + 4).into(), in parse_fill()
397 let chunk = parse_chunk(&mut chunk_cursor, CHUNK_SIZE as u64, 123) in parse_fill()
413 total_sz: (CHUNK_SIZE as u32 + 4).into(), in parse_crc32()
421 parse_chunk(&mut chunk_cursor, CHUNK_SIZE as u64, 123).expect("Failed to parse"); in parse_crc32()
/external/guava/guava/src/com/google/common/hash/
DMurmur3_128HashFunction.java87 private static final int CHUNK_SIZE = 16; field in Murmur3_128HashFunction.Murmur3_128Hasher
95 super(CHUNK_SIZE); in Murmur3_128Hasher()
106 length += CHUNK_SIZE; in process()
183 ByteBuffer.wrap(new byte[CHUNK_SIZE]) in makeHash()
DSipHashFunction.java98 private static final int CHUNK_SIZE = 8; field in SipHashFunction.SipHasher
122 super(CHUNK_SIZE); in SipHasher()
133 b += CHUNK_SIZE; in process()
/external/guava/android/guava/src/com/google/common/hash/
DMurmur3_128HashFunction.java87 private static final int CHUNK_SIZE = 16; field in Murmur3_128HashFunction.Murmur3_128Hasher
95 super(CHUNK_SIZE); in Murmur3_128Hasher()
106 length += CHUNK_SIZE; in process()
183 ByteBuffer.wrap(new byte[CHUNK_SIZE]) in makeHash()
DSipHashFunction.java98 private static final int CHUNK_SIZE = 8; field in SipHashFunction.SipHasher
122 super(CHUNK_SIZE); in SipHasher()
133 b += CHUNK_SIZE; in process()
DMurmur3_32HashFunction.java60 private static final int CHUNK_SIZE = 4; field in Murmur3_32HashFunction
217 for (i = 0; i + CHUNK_SIZE <= len; i += CHUNK_SIZE) { in hashBytes()
/external/google-fruit/include/fruit/impl/data_structures/
Dmemory_pool.defn.h75 if (required_space > CHUNK_SIZE) { in allocate()
78 p = operator new(CHUNK_SIZE); in allocate()
80 capacity = CHUNK_SIZE - required_space; in allocate()
Dmemory_pool.h34 constexpr static const std::size_t CHUNK_SIZE = 4 * 1024 - 64;
/external/brotli/python/tests/
Dcompressor_test.py18 CHUNK_SIZE = 2048 variable in _TestCompressor
47 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
58 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
Ddecompressor_test.py19 CHUNK_SIZE = 1 variable in TestDecompressor
37 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
/external/crosvm/qcow_utils/src/
Dqcow_img.rs256 const CHUNK_SIZE: usize = 65536; in dd() constant
257 let mut buf = [0; CHUNK_SIZE]; in dd()
260 std::cmp::min(CHUNK_SIZE, count - read_count) in dd()
262 CHUNK_SIZE in dd()
267 qcow_file.write_zeroes_all(CHUNK_SIZE).map_err(|_| ())?; in dd()
/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java51 static final int CHUNK_SIZE = 76; field in Base64
259 … (CHUNK_SEPARATOR.length == 0 ? 0 : (int) Math.ceil((float) encodedDataLength / CHUNK_SIZE)); in encodeBase64()
270 int nextSeparatorIndex = CHUNK_SIZE; in encodeBase64()
316 (CHUNK_SIZE * (chunksSoFar + 1)) + in encodeBase64()
/external/brotli/research/
Ddeorummolae.cc10 #define CHUNK_SIZE 64 macro
17 #define CHUNK_MASK (CHUNK_SIZE - 1)
86 file_map->insert(file_map->end(), file.size() / CHUNK_SIZE, i); in buildFullText()
128 TextIdx f = file_map->at(pos / CHUNK_SIZE); in poisonData()
248 size_t f = file_map[sa[i] / CHUNK_SIZE]; in DM_generate()
/external/pcre/dist2/src/sljit/
DsljitExecAllocator.c69 #define CHUNK_SIZE 0x10000 macro
198 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
285 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
DsljitProtExecAllocator.c69 #define CHUNK_SIZE 0x10000 macro
264 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
356 chunk_size = (chunk_size + size + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
/external/boringssl/src/util/bot/
Dupdate_clang.py39 CHUNK_SIZE = 4096
53 chunk = response.read(CHUNK_SIZE)
/external/perfetto/ui/src/chrome_extension/
Dchrome_tracing_controller.ts36 const CHUNK_SIZE: number = 1024 * 1024 * 16; // 16Mb constant
166 {handle: this.streamHandle, offset, size: CHUNK_SIZE});

12