/external/sdv/vsomeip/third_party/boost/regex/test/object_cache/ |
D | object_cache_test.cpp | 52 static const int max_cache_size = 5; variable 59 …S::shared_ptr<const test_object> p = boost::object_cache<int, test_object>::get(i, max_cache_size); in cpp_main() 61 p = boost::object_cache<int, test_object>::get(i, max_cache_size); in cpp_main() 65 p = boost::object_cache<int, test_object>::get(i-1, max_cache_size); in cpp_main() 72 for(i = 20 - max_cache_size; i < 20; ++i) in cpp_main() 74 …S::shared_ptr<const test_object> p = boost::object_cache<int, test_object>::get(i, max_cache_size); in cpp_main() 76 p = boost::object_cache<int, test_object>::get(i, max_cache_size); in cpp_main()
|
/external/mesa3d/src/util/ |
D | mesa_cache_db_multipart.c | 66 if (db->max_cache_size) in mesa_cache_db_multipart_init_part_locked() 67 mesa_cache_db_set_size_limit(db_part, db->max_cache_size / db->num_parts); in mesa_cache_db_multipart_init_part_locked() 115 uint64_t max_cache_size) in mesa_cache_db_multipart_set_size_limit() argument 120 max_cache_size / db->num_parts); in mesa_cache_db_multipart_set_size_limit() 123 db->max_cache_size = max_cache_size; in mesa_cache_db_multipart_set_size_limit()
|
D | mesa_cache_db.h | 35 uint64_t max_cache_size; member 51 uint64_t max_cache_size); 92 uint64_t max_cache_size) in mesa_cache_db_set_size_limit() argument
|
D | mesa_cache_db_multipart.h | 19 uint64_t max_cache_size; member 32 uint64_t max_cache_size);
|
D | mesa_cache_db.c | 752 uint64_t max_cache_size) in mesa_cache_db_set_size_limit() argument 754 db->max_cache_size = max_cache_size; in mesa_cache_db_set_size_limit() 842 sizeof(struct mesa_db_file_header) <= db->max_cache_size; in mesa_cache_db_has_space_locked() 848 return db->max_cache_size / 2 - sizeof(struct mesa_db_file_header); in mesa_cache_db_eviction_size()
|
/external/executorch/examples/mediatek/model_export_scripts/ |
D | llama.py | 165 num_chunks, num_key_value_heads, num_blocks_per_chunk, head_dim, max_cache_size argument 173 … max_cache_size, # generate fixed cache as torch dynamic shape cannot handle 2 dynamic dim 233 max_cache_size, argument 242 mask = generate_mask(max_cache_size, 0, input_length, input_length) 246 len(models), num_key_value_heads, num_blocks_per_chunk, head_dim, max_cache_size 266 mask = generate_mask(max_cache_size, seq_length, input_length, input_length) 311 max_cache_size, argument 318 max_num_token, max_cache_size, True 417 export_shapes, max_num_token, max_cache_size = get_export_shapes(args.shapes) 461 "max_cache_size": max_cache_size, [all …]
|
/external/tensorflow/tensorflow/core/tpu/kernels/ |
D | tpu_compilation_cache_external.h | 48 explicit TpuCompilationCacheExternal(int64_t max_cache_size) in TpuCompilationCacheExternal() argument 49 : TpuCompilationCacheInterface(max_cache_size) {} in TpuCompilationCacheExternal()
|
D | tpu_compilation_cache_rpc_lookup.cc | 51 const std::string& server_address, int64_t max_cache_size) in TpuCompilationCacheRpcLookup() argument 52 : max_cache_size_(max_cache_size) { in TpuCompilationCacheRpcLookup()
|
D | tpu_compilation_cache_rpc_lookup.h | 41 int64_t max_cache_size);
|
D | tpu_compilation_cache_interface.h | 88 explicit TpuCompilationCacheInterface(int64_t max_cache_size);
|
D | tpu_compilation_cache_interface.cc | 115 int64_t max_cache_size) in TpuCompilationCacheInterface() argument 116 : max_cache_size_(max_cache_size) { in TpuCompilationCacheInterface()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_bo.c | 407 device->bo_cache.max_cache_size = DEFAULT_MAX_BO_CACHE_SIZE; in v3dv_bo_cache_init() 409 device->bo_cache.max_cache_size = atoll(max_cache_size_str); in v3dv_bo_cache_init() 412 mesa_logi("MAX BO CACHE SIZE: %iMB\n", device->bo_cache.max_cache_size); in v3dv_bo_cache_init() 416 device->bo_cache.max_cache_size *= 1024 * 1024; in v3dv_bo_cache_init() 483 bo->size > cache->max_cache_size - cache->cache_size) { in v3dv_bo_free() 491 bo->size > cache->max_cache_size - cache->cache_size) { in v3dv_bo_free()
|
/external/coreboot/src/lib/ |
D | smbios.c | 517 const size_t max_cache_size, in smbios_write_type7() argument 533 if (max_cache_size < (SMBIOS_CACHE_SIZE_MASK * KiB)) { in smbios_write_type7() 534 t->max_cache_size = max_cache_size / KiB; in smbios_write_type7() 535 t->max_cache_size2 = t->max_cache_size; in smbios_write_type7() 537 t->max_cache_size |= SMBIOS_CACHE_SIZE_UNIT_1KB; in smbios_write_type7() 540 if (max_cache_size < (SMBIOS_CACHE_SIZE_MASK * 64 * KiB)) in smbios_write_type7() 541 t->max_cache_size = max_cache_size / (64 * KiB); in smbios_write_type7() 543 t->max_cache_size = SMBIOS_CACHE_SIZE_OVERFLOW; in smbios_write_type7() 544 t->max_cache_size2 = max_cache_size / (64 * KiB); in smbios_write_type7() 546 t->max_cache_size |= SMBIOS_CACHE_SIZE_UNIT_64KB; in smbios_write_type7()
|
/external/executorch/examples/mediatek/aot_utils/llm_utils/ |
D | utils.py | 378 max_cache_size = 0 385 max_cache_size = cache_size if cache_size > max_cache_size else max_cache_size 387 return export_shapes, max_num_token, max_cache_size
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate_kernel.h | 220 explicit NNAPIExecutionCache(uint32_t max_cache_size) in NNAPIExecutionCache() argument 221 : max_cache_size_(max_cache_size) {} in NNAPIExecutionCache() 236 void SetMaxCacheSize(uint32_t max_cache_size);
|
/external/puffin/src/ |
D | puffin_stream.h | 91 size_t max_cache_size = 0); 136 size_t max_cache_size);
|
D | puffin_stream.cc | 65 size_t max_cache_size) { in CreateForPuff() argument 72 puffs, max_cache_size)); in CreateForPuff() 98 size_t max_cache_size) in PuffinStream() argument 112 lru_cache_(max_cache_size) { in PuffinStream()
|
D | puffpatch.cc | 195 size_t max_cache_size) { in PuffPatch() argument 214 src_deflates, src_puffs, max_cache_size); in PuffPatch()
|
/external/puffin/src/include/puffin/ |
D | puffpatch.h | 33 size_t max_cache_size = kDefaultCacheSize);
|
/external/python/google-auth-library-python/google/auth/ |
D | jwt.py | 598 max_cache_size=_DEFAULT_MAX_CACHE_SIZE, argument 627 self._cache = cachetools.LRUCache(maxsize=max_cache_size) 735 max_cache_size=self._cache.maxsize, 747 max_cache_size=self._cache.maxsize,
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_cache.h | 57 uint64_t max_cache_size; member
|
D | pb_cache.c | 126 if (mgr->cache_size + buf->size > mgr->max_cache_size) { in pb_cache_add_buffer() 325 mgr->max_cache_size = maximum_cache_size; in pb_cache_init()
|
/external/webrtc/rtc_tools/frame_analyzer/ |
D | video_temporal_aligner.cc | 118 CachedVideo(int max_cache_size, const rtc::scoped_refptr<Video>& video) in CachedVideo() argument 119 : max_cache_size_(max_cache_size), video_(video) {} in CachedVideo()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | exhaustive_op_test_utils.cc | 335 int64_t max_cache_size = in ExpectNear() local 337 pure_subnormal_cache.reserve(max_cache_size); in ExpectNear() 338 for (int i = 0; i < max_cache_size; ++i) { in ExpectNear()
|
/external/coreboot/src/include/ |
D | smbios.h | 679 u16 max_cache_size; member 1245 const size_t max_cache_size,
|