| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/ |
| D | cache.test.ts | 44 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/ |
| D | rollup-plugin-watch-change.ts | 39 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/ |
| D | NativeMemoryDataReceiver.ts | 87 let cache = dataCache.normalCache.get(key); 88 if (cache && cache.dataList.length > 0) { 89 …cache.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/ |
| D | rollup-plugin-visual.ts | 62 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/ |
| D | rollup-plugin-ets-typescript.ts | 124 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/ |
| D | index.js | 1 …cache=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/ |
| D | test_main.cpp | 30 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/ |
| D | rollup_plugin_mock.ts | 43 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/ |
| D | common_mode.ts | 132 …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/ |
| D | cache.ts | 32 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/ |
| D | ets_checker.ts | 396 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 …]
|
| D | do_arkTS_linter.ts | 213 let cache: LanguageServiceCache | undefined = 215 let service: ts.LanguageService | undefined = cache?.service; 217 const lastHash: string | undefined= cache?.pkgJsonFileHash;
|
| D | utils.ts | 783 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/ |
| D | runtime.go | 28 var runtimeCache = cache.New(24*time.Hour, time.Hour) 46 runtimeCache.Set(sectionKey(section, k), v, cache.DefaultExpiration)
|
| /developtools/ace_ets2bundle/compiler/ |
| D | webpack.config.js | 126 config.cache = { 189 if (config.cache) { 190 config.cache.buildDependencies = { 194 config.cache.buildDependencies.config.push(rootPackageJsonPath); 197 config.cache.buildDependencies.config.push(modulePackageJsonPath);
|
| D | babel.config.js | 17 api.cache(true);
|
| /developtools/smartperf_host/trace_streamer/sdk/demo_sdk/table/ |
| D | demo_table_base.h | 42 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/ |
| D | webpack.rich.config.js | 167 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',
|
| D | babel.config.js | 17 api.cache(true);
|
| D | webpack.lite.config.js | 39 cache: { property 142 webpackConfig.cache.cacheDirectory = path.resolve(process.env.cachePath, '.lite_cache');
|
| /developtools/smartperf_host/ |
| D | .gitignore | 14 trace_streamer/.cache
|
| /developtools/smartperf_host/trace_streamer/src/table/base/include/ |
| D | table_base.h | 41 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/ |
| D | network_plugin.cpp | 229 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/ |
| D | README_zh.md | 34 npm cache clean -f
|
| /developtools/integration_verification/tools/fotff/ |
| D | go.mod | 10 github.com/patrickmn/go-cache v2.1.0+incompatible
|