Home
last modified time | relevance | path

Searched refs:max_block_size (Results 1 – 25 of 53) sorted by relevance

123

/external/sg3_utils/src/
Dsg_read_block_limits.c104 uint32_t max_block_size; in main() local
234 max_block_size = sg_get_unaligned_be32(readBlkLmtBuff + 0); in main()
236 granularity = (max_block_size >> 24) & 0x1F; in main()
237 max_block_size = max_block_size & 0xFFFFFF; in main()
246 k = max_block_size / 1024; in main()
247 m = max_block_size / 1048576; in main()
249 (unsigned int)max_block_size); in main()
/external/rust/android-crates-io/crates/lz4_flex/src/frame/
Ddecompress.rs144 let max_block_size = frame_info.block_size.get_size(); in read_frame_info() localVariable
153 max_block_size * 2 + WINDOW_SIZE in read_frame_info()
155 max_block_size in read_frame_info()
159 self.src.reserve_exact(max_block_size); in read_frame_info()
194 let max_block_size = frame_info.block_size.get_size(); in read_block() localVariable
201 debug_assert_eq!(self.dst.capacity(), max_block_size * 2 + WINDOW_SIZE); in read_block()
202 if self.dst_start + max_block_size > self.dst.capacity() { in read_block()
205 debug_assert!(self.dst_start >= max_block_size + WINDOW_SIZE); in read_block()
225 debug_assert_eq!(self.dst.capacity(), max_block_size); in read_block()
245 if len > max_block_size { in read_block()
[all …]
Dcompress.rs97 let max_block_size = self.frame_info.block_size.get_size(); in init() localVariable
106 max_block_size * 2 + WINDOW_SIZE in init()
108 max_block_size in init()
115 crate::block::compress::get_maximum_output_size(max_block_size) in init()
263 let max_block_size = self.frame_info.block_size.get_size(); in write_block() localVariable
264 debug_assert!(self.src_end - self.src_start <= max_block_size); in write_block()
267 if self.src_stream_offset + max_block_size + WINDOW_SIZE >= u32::MAX as usize / 2 { in write_block()
335 debug_assert_eq!(self.src.capacity(), max_block_size * 2 + WINDOW_SIZE); in write_block()
336 if self.src_start >= max_block_size + WINDOW_SIZE { in write_block()
357 self.ext_dict_len == 0 || self.src_start + max_block_size <= self.ext_dict_offset in write_block()
[all …]
/external/uwb/src/rust/uwb_core/src/uci/
Dpcapng_block.rs197 max_block_size: Option<usize>, field
215 max_block_size: None, in default()
250 pub fn max_block_size(mut self, max_block_size: usize) -> Self { in max_block_size() method
251 self.max_block_size = Some(integer_floor(max_block_size, 4)); in max_block_size()
265 if self.max_block_size.is_none() { in max_truncated_packet_length()
268 let max_block_size = self.max_block_size.unwrap(); in max_truncated_packet_length() localVariable
278 match max_block_size > EPB_SIZE_OFFSET + options_byte_length { in max_truncated_packet_length()
279 true => Some((max_block_size - EPB_SIZE_OFFSET - options_byte_length).try_into().ok()?), in max_truncated_packet_length()
403 .max_block_size(0x24) in test_truncated_enhanced_packet_build()
/external/libaom/test/
Dsubtract_test.cc64 const size_t max_block_size = max_width * max_width; in SetUp() local
67 aom_memalign(16, max_block_size * sizeof(uint16_t)))); in SetUp()
70 aom_memalign(16, max_block_size * sizeof(uint16_t)))); in SetUp()
74 aom_memalign(16, max_block_size * sizeof(uint8_t))); in SetUp()
77 aom_memalign(16, max_block_size * sizeof(uint8_t))); in SetUp()
81 aom_memalign(32, max_block_size * sizeof(int16_t))); in SetUp()
117 const int max_block_size = max_width * max_width; in FillInputs() local
120 for (int i = 0; i < max_block_size; ++i) { in FillInputs()
128 for (int i = 0; i < max_block_size; ++i) { in FillInputs()
/external/openthread/third_party/mbedtls/repo/library/
Dsha3.c275 ctx->max_block_size = 1152 / 8; in mbedtls_sha3_starts()
279 ctx->max_block_size = 1088 / 8; in mbedtls_sha3_starts()
283 ctx->max_block_size = 832 / 8; in mbedtls_sha3_starts()
287 ctx->max_block_size = 576 / 8; in mbedtls_sha3_starts()
315 if ((ctx->index = ctx->index % ctx->max_block_size) == 0) { in mbedtls_sha3_update()
325 if ((ctx->index = (ctx->index + 8) % ctx->max_block_size) == 0) { in mbedtls_sha3_update()
334 if ((ctx->index = (ctx->index + 1) % ctx->max_block_size) == 0) { in mbedtls_sha3_update()
357 ABSORB(ctx, ctx->max_block_size - 1, 0x80); in mbedtls_sha3_finish()
364 if ((ctx->index = (ctx->index + 1) % ctx->max_block_size) == 0) { in mbedtls_sha3_finish()
/external/mbedtls/library/
Dsha3.c196 ctx->max_block_size = p->r / 8; in mbedtls_sha3_starts()
220 if ((ctx->index = ctx->index % ctx->max_block_size) == 0) { in mbedtls_sha3_update()
230 if ((ctx->index = (ctx->index + 8) % ctx->max_block_size) == 0) { in mbedtls_sha3_update()
239 if ((ctx->index = (ctx->index + 1) % ctx->max_block_size) == 0) { in mbedtls_sha3_update()
262 ABSORB(ctx, ctx->max_block_size - 1, 0x80); in mbedtls_sha3_finish()
269 if ((ctx->index = (ctx->index + 1) % ctx->max_block_size) == 0) { in mbedtls_sha3_finish()
/external/e2fsprogs/e2fsck/
Dpass2.c1073 size_t max_block_size; in check_dir_block() local
1295 max_block_size = inline_data_size - EXT4_MIN_INLINE_DATA_SIZE; in check_dir_block()
1297 if (max_block_size == 0) in check_dir_block()
1300 max_block_size = EXT4_MIN_INLINE_DATA_SIZE; in check_dir_block()
1303 max_block_size = fs->blocksize - de_csum_size; in check_dir_block()
1334 if (max_block_size - offset < EXT2_DIR_ENTRY_HEADER_LEN) in check_dir_block()
1340 if ((offset + rec_len > max_block_size) || in check_dir_block()
1371 max_block_size - offset - EXT2_DIR_ENTRY_HEADER_LEN, in check_dir_block()
1377 max_block_size, in check_dir_block()
1386 if (max_block_size > len) in check_dir_block()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_rematerialization.cc576 int min_block_size, int max_block_size, int64_t peak_memory_bytes);
1389 int min_block_size, int max_block_size, int64_t peak_memory_bytes) { in PickRematerializationCandidates() argument
1396 << max_block_size << "]"; in PickRematerializationCandidates()
1414 while (block.size() <= max_block_size) { in PickRematerializationCandidates()
1795 int min_block_size, int max_block_size, MemoryUsageTracker* memory_tracker, in RematerializeBestBlock() argument
1808 min_block_size, max_block_size, in RematerializeBestBlock()
1956 int max_block_size = 1; in RematerializeComputation() local
1977 RematerializeBestBlock(min_block_size, max_block_size, in RematerializeComputation()
1993 min_block_size = max_block_size + 1; in RematerializeComputation()
1994 max_block_size = 2 * max_block_size; in RematerializeComputation()
[all …]
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dsha3.h54 uint16_t MBEDTLS_PRIVATE(max_block_size);
/external/mbedtls/include/mbedtls/
Dsha3.h54 uint16_t MBEDTLS_PRIVATE(max_block_size);
/external/protobuf/src/google/protobuf/
Dlite_arena_unittest.cc44 options.max_block_size = 128 * 1024; in LiteArenaTest()
Darena.h132 size_t max_block_size;
156 max_block_size(internal::AllocationPolicy::kDefaultMaxBlockSize),
176 res.max_block_size = max_block_size;
/external/cronet/tot/third_party/protobuf/src/google/protobuf/
Dlite_arena_unittest.cc44 options.max_block_size = 128 * 1024; in LiteArenaTest()
Darena.h132 size_t max_block_size;
156 max_block_size(internal::AllocationPolicy::kDefaultMaxBlockSize),
176 res.max_block_size = max_block_size;
/external/cronet/stable/third_party/protobuf/src/google/protobuf/
Dlite_arena_unittest.cc44 options.max_block_size = 128 * 1024; in LiteArenaTest()
Darena.h132 size_t max_block_size;
156 max_block_size(internal::AllocationPolicy::kDefaultMaxBlockSize),
176 res.max_block_size = max_block_size;
/external/mesa3d/src/gallium/frontends/clover/core/
Ddevice.hpp85 std::vector<size_t> max_block_size() const;
/external/AFLplusplus/src/
Dafl-fuzz-skipdet.c141 u32 pos = 0, cur_block_size = MINIMAL_BLOCK_SIZE, max_block_size = len / 8; in skip_deterministic_stage() local
147 while (cur_block_size < max_block_size) { in skip_deterministic_stage()
/external/pytorch/aten/src/ATen/native/cuda/
DSort.cu20 static int minimum_grid_for_occupancy(T kernel, int max_block_size) { in minimum_grid_for_occupancy() argument
28 max_block_size)); in minimum_grid_for_occupancy()
DSoftMax.cu159 uint64_t max_block_size = std::min(dim_size / ILP, static_cast<uint64_t>(max_threads)); in SoftMax_getBlockSize() local
167 max_block_size /= 2; in SoftMax_getBlockSize()
170 while (block_size < (max_block_size)) block_size *= 2; in SoftMax_getBlockSize()
178 uint64_t max_block_size = std::min(dim_size, static_cast<uint64_t>(max_threads)); in SoftMaxForward_getBlockSize() local
185 if (max_block_size % C10_WARP_SIZE == 0) { in SoftMaxForward_getBlockSize()
186 block_size = max_block_size; in SoftMaxForward_getBlockSize()
188 block_size = (max_block_size / C10_WARP_SIZE + 1) * C10_WARP_SIZE; in SoftMaxForward_getBlockSize()
/external/coreboot/payloads/libpayload/liblz4/
Dlz4_wrapper.c95 uint8_t max_block_size : 3; member
/external/mesa3d/src/gallium/frontends/clover/api/
Ddevice.cpp134 buf.as_scalar<cl_uint>() = dev.max_block_size().size(); in clGetDeviceInfo()
138 buf.as_vector<size_t>() = dev.max_block_size(); in clGetDeviceInfo()
/external/pytorch/aten/src/ATen/native/cudnn/
DConv_v8.cpp624 size_t max_block_size = 0; in get_available_workspace() local
625 c10::cuda::CUDACachingAllocator::cacheInfo(device, &max_block_size); in get_available_workspace()
626 return static_cast<int64_t>(max_block_size); in get_available_workspace()
657 int64_t max_block_size = get_available_workspace(); in generate_and_filter_plans() local
662 if (curr_workspace_size <= max_block_size) { in generate_and_filter_plans()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDeviceThreadPool.h350 const Index max_block_size = numext::mini(n, 2 * block_size); in CalculateParallelForBlock() local
378 if (coarser_block_size > max_block_size) { in CalculateParallelForBlock()

123