Searched refs:cache_idx (Results 1 – 5 of 5) sorted by relevance
/third_party/jerryscript/jerry-core/parser/regexp/ |
D | re-compiler.c | 165 uint8_t cache_idx = JERRY_CONTEXT (re_cache_idx); in re_compile_bytecode() local 167 if (JERRY_CONTEXT (re_cache)[cache_idx] != NULL) in re_compile_bytecode() 169 ecma_bytecode_deref ((ecma_compiled_code_t *) JERRY_CONTEXT (re_cache)[cache_idx]); in re_compile_bytecode() 172 JERRY_CONTEXT (re_cache)[cache_idx] = re_compiled_code_p; in re_compile_bytecode() 173 JERRY_CONTEXT (re_cache_idx) = (uint8_t) (cache_idx + 1) % RE_CACHE_SIZE; in re_compile_bytecode()
|
/third_party/ffmpeg/libavcodec/ |
D | h264_mvpred.h | 634 int cache_idx = -1 + i * 2 * 8; in fill_decode_caches() local 638 AV_COPY32(mv_cache[cache_idx], in fill_decode_caches() 640 AV_COPY32(mv_cache[cache_idx + 8], in fill_decode_caches() 642 ref_cache[cache_idx] = ref[b8_xy + (left_block[0 + i * 2] & ~1)]; in fill_decode_caches() 643 ref_cache[cache_idx + 8] = ref[b8_xy + (left_block[1 + i * 2] & ~1)]; in fill_decode_caches() 645 AV_ZERO32(mv_cache[cache_idx]); in fill_decode_caches() 646 AV_ZERO32(mv_cache[cache_idx + 8]); in fill_decode_caches() 647 ref_cache[cache_idx] = in fill_decode_caches() 648 ref_cache[cache_idx + 8] = (left_type[LEFT(i)]) ? LIST_NOT_USED in fill_decode_caches()
|
D | webp.c | 545 uint32_t cache_idx = (0x1E35A7BD * c) >> (32 - img->color_cache_bits); in color_cache_put() local 546 img->color_cache[cache_idx] = c; in color_cache_put() 730 int cache_idx = v - (NUM_LITERAL_CODES + NUM_LENGTH_CODES); in decode_entropy_coded_image() local 736 if (cache_idx >= 1 << img->color_cache_bits) { in decode_entropy_coded_image() 741 AV_WB32(p, img->color_cache[cache_idx]); in decode_entropy_coded_image()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/cache_embedding/ |
D | cache_embedding.cc | 326 auto cache_idx = std::make_shared<abstract::AbstractTensor>(indices_element_type, indices_shp); in CreateMapCacheIdx() local 334 …std::vector<std::shared_ptr<abstract::AbstractBase>> elements = {cache_idx, old_emb_idx, miss_emb_… in CreateMapCacheIdx() 590 const AnfNodePtr &cache_idx_param, const AnfNodePtr &cache_idx, in ReplaceNoRefToParams() argument 608 auto dynamic_assgin_status = CreateAssign(graph, cache_idx_param, cache_idx, true); in ReplaceNoRefToParams() 639 auto cache_idx = map_cache_idx_node_outputs[0]; in CacheEmbeddingForTrain() local 641 if (!manager->Replace(sparse_gatherv2_with_cache[0]->input(2), cache_idx)) { in CacheEmbeddingForTrain() 658 …ReplaceNoRefToParams(graph, no_ref_param_map, cache_idx_param, cache_idx, sparse_gatherv2_with_cac… in CacheEmbeddingForTrain()
|
/third_party/mindspore/mindspore/core/abstract/ |
D | prim_arrays.cc | 454 auto cache_idx = std::make_shared<AbstractTensor>(hash_map->element(), indices->shape()); in InferImplMapCacheIdx() local 462 AbstractBasePtrList elements = {cache_idx, old_emb_idx, miss_emb_idx, swap_emb_idx}; in InferImplMapCacheIdx()
|