Home
last modified time | relevance | path

Searched refs:caches (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/syntax/
H A Drepeat_node_cache_syntax_test.cpp372 repeatNode->caches_ = caches;
398 caches.FindUnusedKeys(keys);
471 caches.FetchMoreKeysTTypes(1, 3);
520 caches.FindUnusedKeys(keys);
828 RepeatVirtualScrollCaches caches(
958 caches.FindUnusedKeys(result);
963 caches.FindUnusedKeys(result);
1014 caches.index4Key_.clear();
1019 caches.node4key4ttype_.clear();
1046 caches.node4key4ttype_.clear();
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiled_cache/
H A Dnn_compiled_cache_test.cpp84 std::vector<Buffer> caches; variable
107 std::vector<Buffer> caches; variable
108 caches.emplace_back(buffer);
171 std::vector<Buffer> caches; variable
172 caches.emplace_back(buffer);
232 std::vector<Buffer> caches; variable
270 std::vector<Buffer> caches; variable
288 std::vector<Buffer> caches; variable
311 std::vector<Buffer> caches; variable
334 std::vector<Buffer> caches; variable
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnncompiled_cache.cpp43 if (caches.empty()) { in Save()
53 OH_NN_ReturnCode ret = GenerateCacheFiles(caches, cacheDir, version); in Save()
59 LOGI("[NNCompiledCache] Save success. %zu caches are saved.", caches.size()); in Save()
65 std::vector<OHOS::NeuralNetworkRuntime::Buffer>& caches) in Restore() argument
72 if (!caches.empty()) { in Restore()
132 caches.emplace_back(std::move(modelBuffer)); in Restore()
167 const size_t cacheNumber = caches.size(); in GenerateCacheFiles()
175 OH_NN_ReturnCode ret = GenerateCacheModel(caches, cacheInfo, cacheDir, version); in GenerateCacheFiles()
196 size_t cacheNumber = caches.size(); in GenerateCacheModel()
232 static_cast<int64_t>(GetCrc16(static_cast<char*>(caches[i].data), caches[i].length)); in GenerateCacheModel()
[all …]
H A Dnncompiler.cpp526 std::vector<Buffer> caches; in SaveToCacheFile() local
534 size_t cacheNumber = caches.size(); in SaveToCacheFile()
553 caches.emplace_back(inputTensorDescBuffer); in SaveToCacheFile()
603 std::vector<Buffer> caches; in RestoreFromCacheFile() local
608 ReleaseBufferByDevice(caches); in RestoreFromCacheFile()
612 size_t cacheNum = caches.size(); in RestoreFromCacheFile()
617 ReleaseBufferByDevice(caches); in RestoreFromCacheFile()
625 ReleaseBufferByDevice(caches); in RestoreFromCacheFile()
634 … std::vector<Buffer> modelOnlyCaches(caches.begin(), caches.end() - CACHE_INPUT_TENSORDESC_OFFSET); in RestoreFromCacheFile()
639 ReleaseBufferByDevice(caches); in RestoreFromCacheFile()
[all …]
H A Dnncompiled_cache.h45 OH_NN_ReturnCode Save(const std::vector<Buffer>& caches,
50 std::vector<Buffer>& caches);
60 OH_NN_ReturnCode GenerateCacheFiles(const std::vector<Buffer>& caches,
63 OH_NN_ReturnCode GenerateCacheModel(const std::vector<Buffer>& caches,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/
H A Drecently_unused_bundle_aging_handler.cpp127 std::vector<std::string> caches; in CleanCache() local
128 if (!GetCachePath(agingBundle, caches)) { in CleanCache()
136 for (const auto &cache : caches) { in CleanCache()
153 const AgingBundleInfo &agingBundle, std::vector<std::string> &caches) const in GetCachePath()
187 std::copy(cache.begin(), cache.end(), std::back_inserter(caches)); in GetCachePath()
190 return !caches.empty(); in GetCachePath()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Ddecoration.cpp332 auto caches = path->GetCaches(); in CanvasPath2D() local
333 caches_.swap(caches); in CanvasPath2D()
340 auto caches = path->GetCaches(); in AddPath() local
341 caches_.insert(caches_.end(), caches.begin(), caches.end()); in AddPath()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas_path.cpp180 const std::vector<std::pair<PathCmd, PathArgs>> caches = path2d_->GetCaches(); in SetPathSize() local
181 size_t pathSize = caches.size(); in SetPathSize()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/aging/
H A Daging_handler.h50 const AgingBundleInfo &agingBundle, std::vector<std::string> &caches) const;
/ohos5.0/docs/en/application-dev/tools/
H A Danm-tool.md3 …nting published notification details, setting the number of notification caches, and enabling the …
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Ddevice_gles.cpp1340 cache = &caches[DeviceGLES::FRAGMENT_CACHE].cache; in ReleaseShader()
1342 cache = &caches[DeviceGLES::VERTEX_CACHE].cache; in ReleaseShader()
1344 cache = &caches[DeviceGLES::COMPUTE_CACHE].cache; in ReleaseShader()
1401 for (auto& t : caches[type].cache) { in CacheShader()
1403 caches[type].hit++; in CacheShader()
1408 caches[type].miss++; in CacheShader()
1429 caches[type].cache.push_back(entry); in CacheShader()
1430 return caches[type].cache.back(); in CacheShader()
H A Ddevice_gles.h317 ShaderCache caches[MAX_CACHES]; variable
/ohos5.0/docs/en/application-dev/napi/
H A Djsvm-introduction.md32 - Code Cache: caches the JS code to shorten the startup time for JS code execution.
H A Duse-jsvm-about-wasm.md6 …Assembly (Wasm) bytecode, optimizing Wasm functions, and serializing and deserializing Wasm caches.
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/developtools/lldb/system/
H A Dlldb.te40 # can compare these with local module caches which are used for symbol resolving
/ohos5.0/drivers/interface/location/lpfence/cellbatching/v1_0/
H A DICellbatchingInterface.idl98 …* After the cell batching feature is enabled, the device caches the base station data received. If…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/location_lpfence_cellbatching_v1_0/foo/location/lpfence/cellbatching/v1_0/
H A DICellbatchingInterface.idl98 …* After the cell batching feature is enabled, the device caches the base station data received. If…
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-bundles-fs-support.md16caches the sectors close to the read and write sectors to reduce the number of I/Os and improve pe…
308 …djusted. Ramfs does not have a backing store. Directory entries and page caches are allocated when…
H A Dkernel-small-basic-inner-reflect.md16 …ysical address mapping and the related attributes to the page table, and caches the PTE in the TLB…
H A Dkernel-small-debug-perf.md49 If the buffer sampled by perf involves caches across CPUs, you can register a hook for flushing the…
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp1441 std::vector<std::string> caches; in CleanBundleCacheTaskGetCleanSize() local
1447 std::copy(cache.begin(), cache.end(), std::back_inserter(caches)); in CleanBundleCacheTaskGetCleanSize()
1451 if (!caches.empty()) { in CleanBundleCacheTaskGetCleanSize()
1452 for (const auto& cache : caches) { in CleanBundleCacheTaskGetCleanSize()
1594 std::vector<std::string> caches = rootDir; in CleanBundleCacheTask() local
1597 caches.push_back(shaderCachePath); in CleanBundleCacheTask()
1599 if (!caches.empty()) { in CleanBundleCacheTask()
1600 for (const auto& cache : caches) { in CleanBundleCacheTask()
/ohos5.0/docs/en/application-dev/web/
H A Dweb-predictor.md190 …onents to generate bytecode caches, and load the service **Web** component at the appropriate time…
H A Dweb-adsblock.md153 **AdsBlockManager** caches two lists of domain names, including **DisallowedList** and **AllowList*…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-rendering-control-repeat.md5 …ontainer. When a component slides out of the visible area, the framework caches the component and …
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-build-reference.md167 …- Ccache caches the output of C/C++ compilation. If the compilation input remains unchanged the ne…

12