Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 48) sorted by relevance

12

/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dcache.test.ts44 expect(this.rollup.cache.get(ARK_COMPILER_META_INFO).length > 0).to.be.true;
45 expect(this.rollup.cache.get(IS_CACHE_INVALID) === true).to.be.true;
49 expect(this.rollup.cache.get(ARK_COMPILER_META_INFO).length > 0).to.be.true;
50 expect(this.rollup.cache.get(IS_CACHE_INVALID) === true).to.be.true;
57 expect(this.rollup.cache.get(ARK_COMPILER_META_INFO).length > 0).to.be.true;
58 expect(this.rollup.cache.get(IS_CACHE_INVALID) === true).to.be.true;
62 expect(this.rollup.cache.get(ARK_COMPILER_META_INFO).length > 0).to.be.true;
63 expect(this.rollup.cache.get(IS_CACHE_INVALID) === true).to.be.true;
70 expect(this.rollup.cache.get(ARK_COMPILER_META_INFO).length > 0).to.be.true;
71 expect(this.rollup.cache.get(IS_CACHE_INVALID) === true).to.be.true;
[all …]
/developtools/ace_ets2bundle/compiler/src/fast_build/common/
Drollup-plugin-watch-change.ts39 if (this.cache && this.cache.has(key)) {
40 modifiedFiles = this.cache.get(key);
45 this.cache.set(key, modifiedFiles);
68 this.cache.set('watchChangedFilesCache', 'watchChangedFiles');
69 const watchModifiedFiles: string[] = this.cache.get('watchModifiedFiles') || [];
70 const watchRemovedFiles: string[] = this.cache.get('watchRemovedFiles') || [];
76 if (this.cache.get('lastWatchResourcesArr')) {
77 storedFileInfo.lastResourcesSet = new Set([...this.cache.get('lastWatchResourcesArr')]);
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DNativeMemoryDataReceiver.ts87 let cache = dataCache.normalCache.get(key);
88 if (cache && cache.dataList.length > 0) {
89cache.dataList[cache.dataList.length - 1].dur = totalNS - cache.dataList[cache.dataList.length - 1…
189 let cache = setStatisticsCacheMapValue(obj, totalNS);
190 dataCache.statisticsCache.set(key, cache);
200 let cache = {
215 cache.maxSize = Math.max(cache.maxSize, source[i].heapSize);
216 cache.maxDensity = Math.max(cache.maxDensity, source[i].density);
217 cache.minSize = Math.min(cache.minSize, source[i].heapSize);
218 cache.minDensity = Math.min(cache.minDensity, source[i].density);
[all …]
/developtools/ace_ets2bundle/compiler/src/fast_build/visual/
Drollup-plugin-visual.ts62 if (this.cache.has(visualId)) {
63 this.cache.delete(visualId);
69 if (!this.cache.has(visualId)) {
70 this.cache.set(visualId, currentTimestamp);
73 const lastTimestamp: number = this.cache.get(visualId);
74 this.cache.set(visualId, currentTimestamp);
/developtools/ace_ets2bundle/compiler/src/fast_build/ets_ui/
Drollup-plugin-ets-typescript.ts124 cacheFile = this.cache.get('transformCacheFiles');
125 storedFileInfo.addGlobalCacheInfo(this.cache.get('resourceListCacheInfo'),
126 this.cache.get('resourceToFileCacheInfo'));
127 if (this.cache.get('lastResourcesArr')) {
128 storedFileInfo.lastResourcesSet = new Set([...this.cache.get('lastResourcesArr')]);
135 if (this.cache.get('enableDebugLine') !== projectConfig.enableDebugLine) {
144 if (this.cache.get('fileCacheInfo')) {
145 fileCacheInfo = this.cache.get('fileCacheInfo')[path.resolve(id)];
217 this.cache.set('disableCacheOptions', disableCacheOptions);
218 this.cache.set('lastResourcesArr', [...storedFileInfo.resourcesArr]);
[all …]
/developtools/ace_js2bundle/ace-loader/plugin/codegen/
Dindex.js1cache=e}visit(e){e instanceof o.Tag?this.genTag(e):e instanceof o.Style&&this.genStyle(e)}static g…
/developtools/profiler/device/plugins/memory_plugin/src/
Dtest_main.cpp30 std::vector<char*> cache; in main() local
48 cache.emplace(cache.begin() + i - 1, buf); in main()
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Drollup_plugin_mock.ts43 cache: Cache; property in RollUpPluginMock
52 this.cache = new Cache();
142 this.cache.set(IS_CACHE_INVALID, true);
143 this.cache.set(ARK_COMPILER_META_INFO, metaInfo);
210 this.cache.set(IS_CACHE_INVALID, false);
211 this.cache.set(ARK_COMPILER_META_INFO, undefined);
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dcommon_mode.ts132 …return rollupObject.cache.get(IS_CACHE_INVALID) || rollupObject.cache.get(IS_CACHE_INVALID) === un…
139 rollupObject.cache.set(IS_CACHE_INVALID, false);
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dcache.ts32 const lastMetaInfo: string = rollupObject.cache.get(ARK_COMPILER_META_INFO);
34 rollupObject.cache.set(IS_CACHE_INVALID, true);
37 rollupObject.cache.set(ARK_COMPILER_META_INFO, metaInfo);
/developtools/ace_ets2bundle/compiler/src/
Dets_checker.ts396 let cache: LanguageServiceCache | undefined =
398 let service: ts.LanguageService | undefined = cache?.service;
400 const lastHash: string | undefined= cache?.pkgJsonFileHash;
438 export let cache: Cache = {}; variable
470 cache = wholeCache.fileList;
472 cache = {};
549 'fileList': cache
667 if (diagnostic.file && cache[path.resolve(diagnostic.file.fileName)]) {
668 cache[path.resolve(diagnostic.file.fileName)].error = true;
695 const value: CacheFileName = cache[file];
[all …]
Ddo_arkTS_linter.ts213 let cache: LanguageServiceCache | undefined =
215 let service: ts.LanguageService | undefined = cache?.service;
217 const lastHash: string | undefined= cache?.pkgJsonFileHash;
Dutils.ts783 saveCacheFileInfo(cache) {
785 … const fileCacheInfo: { [id: string]: fileInfo | tsFileInfo } = cache.get('fileCacheInfo') || {};
786 const resourceToFileCacheInfo = cache.get('resourceToFileCacheInfo') || {};
815 cache.set('fileCacheInfo', fileCacheInfo);
816 cache.set('resourceListCacheInfo', [...this.resourceList]);
817 cache.set('resourceToFileCacheInfo', resourceToFile);
819 const cacheInfo: { [id: string]: fileInfo } = cache.get('fileCacheInfo') || {};
823 cache.set('fileCacheInfo', cacheInfo);
857 clearCollectedInfo(cache) {
860 this.saveCacheFileInfo(cache);
/developtools/integration_verification/tools/fotff/utils/
Druntime.go28 var runtimeCache = cache.New(24*time.Hour, time.Hour)
46 runtimeCache.Set(sectionKey(section, k), v, cache.DefaultExpiration)
/developtools/ace_ets2bundle/compiler/
Dwebpack.config.js126 config.cache = {
189 if (config.cache) {
190 config.cache.buildDependencies = {
194 config.cache.buildDependencies.config.push(rootPackageJsonPath);
197 config.cache.buildDependencies.config.push(modulePackageJsonPath);
Dbabel.config.js17 api.cache(true);
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/table/
Ddemo_table_base.h42 DemoTableRegister(db, dataCache, name, [](const TraceDataCache* cache) { in TableDeclare()
43 return std::unique_ptr<DemoTableBase>(std::make_unique<T>(cache)); in TableDeclare()
112 TraceDataCache* cache,
/developtools/ace_js2bundle/ace-loader/
Dwebpack.rich.config.js167 cache: { property
261 if (config.cache) {
262 config.cache.buildDependencies = {
266 config.cache.buildDependencies.config.push(rootPackageJsonPath);
269 config.cache.buildDependencies.config.push(modulePackageJsonPath);
295 config.cache.cacheDirectory = path.resolve(process.env.cachePath, '.rich_cache',
Dbabel.config.js17 api.cache(true);
Dwebpack.lite.config.js39 cache: { property
142 webpackConfig.cache.cacheDirectory = path.resolve(process.env.cachePath, '.lite_cache');
/developtools/smartperf_host/
D.gitignore14 trace_streamer/.cache
/developtools/smartperf_host/trace_streamer/src/table/base/include/
Dtable_base.h41 TableRegister(db, dataCache, tableName, [](const TraceDataCache* cache) { in TableDeclare()
42 return std::unique_ptr<TableBase>(std::make_unique<T>(cache)); in TableDeclare()
157 …static void TableRegister(sqlite3& db, TraceDataCache* cache, const std::string& tableName, TabTem…
/developtools/profiler/device/plugins/network_plugin/src/
Dnetwork_plugin.cpp229 NetDetails cache = {0}; in ReadTxRxBytes() local
241 cache.type = tmp; in ReadTxRxBytes()
250 cache.rx = rxBytes; in ReadTxRxBytes()
255 cache.tx = txBytes; in ReadTxRxBytes()
257 AddNetDetails(cell, cache); in ReadTxRxBytes()
/developtools/ace_ets2bundle/
DREADME_zh.md34 npm cache clean -f
/developtools/integration_verification/tools/fotff/
Dgo.mod10 github.com/patrickmn/go-cache v2.1.0+incompatible

12