Home
last modified time | relevance | path

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

123

/external/chromium_org/build/
Dlandmine_utils.py13 def memoize(default=None): function
29 @memoize()
34 @memoize()
39 @memoize()
44 @memoize()
50 @memoize()
54 @memoize()
67 @memoize()
86 @memoize()
/external/chromium_org/chrome/common/extensions/docs/server2/
Dfake_host_file_system_provider.py7 from third_party.json_schema_compiler.memoize import memoize
17 @memoize
Dhost_file_system_provider.py9 from third_party.json_schema_compiler.memoize import memoize
45 @memoize
66 @memoize
Denvironment.py10 from third_party.json_schema_compiler.memoize import memoize
13 @memoize
Dinstance_servlet.py10 from third_party.json_schema_compiler.memoize import memoize
34 @memoize
Dcompiled_file_system.py14 from third_party.json_schema_compiler.memoize import memoize
97 @memoize
108 @memoize
119 @memoize
128 @memoize
Dcontent_providers.py15 from third_party.json_schema_compiler.memoize import memoize
74 @memoize
85 @memoize
Dcaching_file_system.py11 from third_party.json_schema_compiler.memoize import memoize
75 @memoize
Davailability_finder.py14 from third_party.json_schema_compiler.memoize import memoize
204 @memoize
Dapi_data_source_test.py27 from third_party.json_schema_compiler.memoize import memoize
/external/guava/guava-tests/test/com/google/common/base/
DSuppliersTest.java105 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize()
111 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize_redudantly()
112 assertSame(memoizedSupplier, Suppliers.memoize(memoizedSupplier)); in testMemoize_redudantly()
118 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoizeSerialized()
155 Supplier<Integer> memoizedSupplier = Suppliers.memoize(exceptingSupplier); in testMemoizeExceptionThrown()
254 return Suppliers.memoize(supplier); in testMemoizedSupplierThreadSafe()
386 reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get()); in testSerialization()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dprofile.rb70 def memoize( rule, start_index, success ) method
71 @debug_listener.memoize( rule, rule_start_index, sucess )
264 def memoize( rule, start_index, success ) method in ANTLR3.Profile.Profiler
/external/chromium_org/tools/json_schema_compiler/
Dmemoize.py5 def memoize(fn): function
Dmodel.py8 from memoize import memoize
468 @memoize
490 @memoize
/external/doclava/src/com/google/doclava/parser/
DJavaParser.java636 if ( state.backtracking>0 ) { memoize(input, 1, compilationUnit_StartIndex); } in compilationUnit()
687 if ( state.backtracking>0 ) { memoize(input, 2, packageDeclaration_StartIndex); } in packageDeclaration()
993 if ( state.backtracking>0 ) { memoize(input, 3, importDeclaration_StartIndex); } in importDeclaration()
1074 if ( state.backtracking>0 ) { memoize(input, 4, qualifiedImportName_StartIndex); } in qualifiedImportName()
1156 if ( state.backtracking>0 ) { memoize(input, 5, typeDeclaration_StartIndex); } in typeDeclaration()
1234 … if ( state.backtracking>0 ) { memoize(input, 6, classOrInterfaceDeclaration_StartIndex); } in classOrInterfaceDeclaration()
1426 if ( state.backtracking>0 ) { memoize(input, 7, modifiers_StartIndex); } in modifiers()
1520 if ( state.backtracking>0 ) { memoize(input, 8, variableModifiers_StartIndex); } in variableModifiers()
1598 if ( state.backtracking>0 ) { memoize(input, 9, classDeclaration_StartIndex); } in classDeclaration()
1755 if ( state.backtracking>0 ) { memoize(input, 10, normalClassDeclaration_StartIndex); } in normalClassDeclaration()
[all …]
/external/chromium_org/tools/gyp/pylib/gyp/
Dcommon.py18 class memoize(object): class
133 @memoize
170 @memoize
571 get_edges = memoize(get_edges)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
Dfilter.rb50 def memoize( rule, start_index, success ) method
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg51 backtracking, synpreds, memoize, numRules,
123 <if(memoize)>
201 def memoize(self, input, ruleIndex, ruleStartIndex, success):
204 super(<grammar.recognizerName>, self).memoize(input, ruleIndex, ruleStartIndex, success)
252 <if(memoize)>
381 <if(memoize)>
402 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= <<
425 <if(memoize)>
437 <if(memoize)>
465 <memoize()>
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassProto.java87 …@Nonnull private final Supplier<ClassDef> classDefSupplier = Suppliers.memoize(new Supplier<ClassD…
126 Suppliers.memoize(new Supplier<LinkedHashMap<String, ClassDef>>() {
362 Suppliers.memoize(new Supplier<SparseArray<FieldReference>>() {
569 …@Nonnull private final Supplier<List<Method>> vtableSupplier = Suppliers.memoize(new Supplier<List…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg20 profile, backtracking, synpreds, memoize, numRules, fileName, ANTLRVersion, generatedTimestamp,
253 <if(memoize)><if(grammar.grammarIsRoot)>
295 rule(ruleName, ruleDescriptor, block, emptyRule, description, exceptions, finally, memoize) ::= <<
429 <if(memoize)><if(backtracking)>
434 <if(memoize)><if(backtracking)>
455 <traceOut()><memoize()><ruleScopeCleanUp()><finally>
481 <if(memoize)>
539 <if(memoize)>
557 memoize() ::= <<
558 <if(memoize)><if(backtracking)>
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg10 backtracking, synpreds, memoize, numRules,
42 <if(memoize)>
129 memoize: function(input, ruleIndex, ruleStartIndex) {
131 …<grammar.recognizerName>.superclass.prototype.memoize.call(this, input, ruleIndex, ruleStartIndex);
230 <if(memoize)>
300 <if(memoize)>
318 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= <<
359 <memoize()>
383 <if(memoize)>
443 memoize() ::= <<
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg45 backtracking, synpreds, memoize, numRules,
82 <if(memoize)>
152 public override function memoize(input:IntStream,
156 if ( this.state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex);
226 <if(memoize)>
297 <if(memoize)>
315 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= <<
349 <memoize()>
374 <if(memoize)>
434 memoize() ::= <<
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DDbg.stg84 - (void) memoize:(id<ANTLRIntStream>)input RuleIndex:(NSInteger)ruleIndex StartIndex:(NSInteger)rul…
86 …[((Profiler)dbg) memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex [<grammar.composite.r…
87 [super memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex];
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg58 backtracking, synpreds, memoize, numRules,
108 <if(memoize)>
182 public void memoize(IntStream input,
186 if ( state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex);
264 <if(memoize)>
347 <if(memoize)>
365 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= <<
402 <memoize()>
427 <if(memoize)>
488 memoize() ::= <<
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg49 backtracking, synpreds, memoize, numRules,
92 <if(memoize)>
164 override def memoize(input: IntStream,
167 if ( state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex)
245 <if(memoize)>
324 <if(memoize)>
342 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= <<
380 <memoize()>
405 <if(memoize)>
466 memoize() ::= <<
[all …]

123