Home
last modified time | relevance | path

Searched refs:kMaxChunkSize (Results 1 – 6 of 6) sorted by relevance

/external/zstd/lib/compress/
Dzstd_ldm.c451 size_t const kMaxChunkSize = 1 << 20; in ZSTD_ldm_generateSequences() local
452 size_t const nbChunks = (srcSize / kMaxChunkSize) + ((srcSize % kMaxChunkSize) != 0); in ZSTD_ldm_generateSequences()
456 assert(ZSTD_CHUNKSIZE_MAX >= kMaxChunkSize); in ZSTD_ldm_generateSequences()
467 BYTE const* const chunkStart = istart + chunk * kMaxChunkSize; in ZSTD_ldm_generateSequences()
470 (remaining < kMaxChunkSize) ? iend : chunkStart + kMaxChunkSize; in ZSTD_ldm_generateSequences()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_using_gemm.cc202 const size_t kMaxChunkSize = (1 * 1024 * 1024); variable
204 const size_t kMaxChunkSize = (16 * 1024 * 1024); variable
300 OP_REQUIRES(context, (filter_value_count * sizeof(T1)) <= kMaxChunkSize, in operator ()()
303 kMaxChunkSize / (filter_value_count * sizeof(T1)); in operator ()()
305 (kMaxChunkSize + (sizeof(T1) - 1)) / sizeof(T1); in operator ()()
Dconv_ops_fused_image_transform.cc54 const size_t kMaxChunkSize = (1 * 1024 * 1024); variable
56 const size_t kMaxChunkSize = (16 * 1024 * 1024);
335 OP_REQUIRES(context, (filter_value_count * sizeof(T1)) <= kMaxChunkSize, in operator ()()
338 kMaxChunkSize / (filter_value_count * sizeof(T1)); in operator ()()
343 Im2ColBufferResource<T1, kMaxChunkSize>* im2col_buffer_resource; in operator ()()
344 std::function<Status(Im2ColBufferResource<T1, kMaxChunkSize>**)> creator = in operator ()()
345 [](Im2ColBufferResource<T1, kMaxChunkSize>** resource) { in operator ()()
346 *resource = new Im2ColBufferResource<T1, kMaxChunkSize>(); in operator ()()
Dquantized_conv_ops.cc192 const size_t kMaxChunkSize = (1 * 1024 * 1024); variable
259 kMaxChunkSize / (filter_value_count * sizeof(T1)); in operator ()()
261 (kMaxChunkSize + (sizeof(T1) - 1)) / sizeof(T1); in operator ()()
276 (kMaxChunkSize + (sizeof(T1) - 1)) / sizeof(T1); in operator ()()
/external/libchrome/base/trace_event/
Dprocess_memory_dump.cc90 const size_t kMaxChunkSize = 8 * 1024 * 1024; in CountResidentBytes() local
92 GetSystemPageCount(std::min(mapped_size, kMaxChunkSize), page_size); in CountResidentBytes()
104 const size_t chunk_size = std::min(mapped_size - offset, kMaxChunkSize); in CountResidentBytes()
151 offset += kMaxChunkSize; in CountResidentBytes()
/external/perfetto/src/trace_processor/
Dtrace_database_integrationtest.cc36 constexpr size_t kMaxChunkSize = 4 * 1024 * 1024; variable
45 EXPECT_LE(min_chunk_size, kMaxChunkSize); in LoadTrace()
49 std::uniform_int_distribution<size_t> dist(min_chunk_size, kMaxChunkSize); in LoadTrace()