Home
last modified time | relevance | path

Searched refs:memoize (Results 1 – 25 of 51) sorted by relevance

123

/third_party/node/deps/npm/node_modules/cacache/lib/
Dget.js12 const { integrity, memoize, size } = opts
14 if (memoized && memoize !== false) {
28 if (memoize) {
42 const { integrity, memoize, size } = opts
44 if (memoized && memoize !== false) {
49 if (memoize) {
68 const { memoize, size } = opts
70 if (memoized && memoize !== false) {
97 if (memoize) {
112 const { memoize } = opts
[all …]
Dmemoization.js63 if (!opts || !opts.memoize) {
65 } else if (opts.memoize.get && opts.memoize.set) {
66 return opts.memoize
67 } else if (typeof opts.memoize === 'object') {
68 return new ObjProxy(opts.memoize)
Dput.js18 const { memoize } = opts
22 if (memoize) {
32 const { memoize } = opts
42 if (memoize) {
70 if (memoize && memoData) {
/third_party/python/Tools/peg_generator/pegen/
Dgrammar_parser.py7 from pegen.parser import memoize, memoize_left_rec, logger, Parser
40 @memoize
55 @memoize
77 @memoize
99 @memoize
142 @memoize
164 @memoize
225 @memoize
266 @memoize
283 @memoize
[all …]
Dparser.py43 def memoize(method: F) -> F: function
179 @memoize
186 @memoize
193 @memoize
200 @memoize
207 @memoize
Dc_generator.py565 memoize = self._should_memoize(node)
571 if memoize:
587 if memoize:
592 memoize = self._should_memoize(node)
599 if memoize:
/third_party/typescript/tests/baselines/reference/
DcontextuallyTypedParametersWithInitializers.js59 declare function memoize<F extends Function>(func: F): F;
64 const memoizedAdd = memoize(add);
67 const memoizedAdd2 = memoize(add2);
69 const memoizedAdd3 = memoize((x: number, y = 0): number => x + y);
206 var memoizedAdd = memoize(add);
211 var memoizedAdd2 = memoize(add2);
212 var memoizedAdd3 = memoize(function (x, y) {
DcontextuallyTypedParametersWithInitializers.types285 declare function memoize<F extends Function>(func: F): F;
286 >memoize : <F extends Function>(func: F) => F
300 const memoizedAdd = memoize(add);
302 >memoize(add) : (x: number, y?: number) => number
303 >memoize : <F extends Function>(func: F) => F
316 const memoizedAdd2 = memoize(add2);
318 >memoize(add2) : (x: number, y?: number) => number
319 >memoize : <F extends Function>(func: F) => F
322 const memoizedAdd3 = memoize((x: number, y = 0): number => x + y);
324 >memoize((x: number, y = 0): number => x + y) : (x: number, y?: number) => number
[all …]
DcontextuallyTypedParametersWithInitializers.symbols241 declare function memoize<F extends Function>(func: F): F;
242 >memoize : Symbol(memoize, Decl(contextuallyTypedParametersWithInitializers.ts, 53, 3))
258 const memoizedAdd = memoize(add);
260 >memoize : Symbol(memoize, Decl(contextuallyTypedParametersWithInitializers.ts, 53, 3))
270 const memoizedAdd2 = memoize(add2);
272 >memoize : Symbol(memoize, Decl(contextuallyTypedParametersWithInitializers.ts, 53, 3))
275 const memoizedAdd3 = memoize((x: number, y = 0): number => x + y);
277 >memoize : Symbol(memoize, Decl(contextuallyTypedParametersWithInitializers.ts, 53, 3))
DcontextuallyTypedParametersWithInitializers.errors.txt67 declare function memoize<F extends Function>(func: F): F;
72 const memoizedAdd = memoize(add);
75 const memoizedAdd2 = memoize(add2);
77 const memoizedAdd3 = memoize((x: number, y = 0): number => x + y);
DjsdocTypeFromChainedAssignment3.types2 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
3 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
7 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
11 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
15 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
19 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
23 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
27 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
31 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
35 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
[all …]
DjsdocTypeFromChainedAssignment3.symbols2 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
165 >exports.memoize : Symbol(memoize, Decl(a.js, 0, 1035))
166 >exports : Symbol(memoize, Decl(a.js, 0, 1035))
167 >memoize : Symbol(memoize, Decl(a.js, 0, 1035))
/third_party/typescript/tests/cases/compiler/
DcontextuallyTypedParametersWithInitializers.ts61 declare function memoize<F extends Function>(func: F): F; function
66 const memoizedAdd = memoize(add);
69 const memoizedAdd2 = memoize(add2);
71 const memoizedAdd3 = memoize((x: number, y = 0): number => x + y);
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/
Dentry.js343 this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize } property
349 this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize } property
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dcommon.py18 class memoize: class
136 @memoize
179 @memoize
610 get_edges = memoize(get_edges)
/third_party/node/tools/gyp/pylib/gyp/
Dcommon.py18 class memoize: class
136 @memoize
183 @memoize
616 get_edges = memoize(get_edges)
/third_party/typescript/src/loggedIO/
DloggedIO.ts94 function memoize<T>(func: (s: string) => T): Memoized<T> { function
276 memoize(path => {
313memoize(path => findResultByFields(replayLog!.pathsResolved, { path }, !ts.isRootedDiskPath(ts.nor…
322 memoize(path => findFileByPath(path, /*throwFileNotFoundError*/ true)!.contents));
/third_party/curl/tests/
Dgetpart.pm128 memoize('getpartattr', NORMALIZER => 'normalize_part'); # cache each result
207 memoize('getpart', NORMALIZER => 'normalize_part'); # cache each result
/third_party/python/Lib/
Dpickle.py491 def memoize(self, obj): member in _Pickler
702 self.memoize(obj)
806 self.memoize(obj)
821 self.memoize(obj)
871 self.memoize(obj)
894 self.memoize(obj)
921 self.memoize(obj)
931 self.memoize(obj)
971 self.memoize(obj)
1018 self.memoize(obj)
[all …]
/third_party/typescript/src/webServer/
DwebServer.ts130 …const getExecutingDirectoryPath = memoize(() => memoize(() => ensureTrailingDirectorySeparator(get…
/third_party/node/deps/npm/node_modules/npm-registry-fetch/lib/
Dindex.js121 memoize: opts.memoize, property
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/
Disolated-reifier.js11 const memoize = (fn) => { function
61 this.externalProxyMemo = memoize(this.externalProxy.bind(this))
62 this.workspaceProxyMemo = memoize(this.workspaceProxy.bind(this))
/third_party/typescript/tests/cases/conformance/jsdoc/
DjsdocTypeFromChainedAssignment3.ts5 … = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValu…
/third_party/typescript/src/compiler/
Dwatch.ts602 const hostGetNewLine = memoize(() => host.getNewLine());
626 getCurrentDirectory: memoize(() => host.getCurrentDirectory()),
686 …const getDefaultLibLocation = memoize(() => getDirectoryPath(normalizePath(system.getExecutingFile…
690 getCurrentDirectory: memoize(() => system.getCurrentDirectory()),
/third_party/python/Lib/test/
Dtest_decorators.py55 def memoize(func): function
152 @memoize

123