Home
last modified time | relevance | path

Searched refs:memoize (Results 1 – 25 of 55) 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/
Dhost_file_system_provider.py9 from third_party.json_schema_compiler.memoize import memoize
45 @memoize
66 @memoize
Dcontent_providers.py12 from third_party.json_schema_compiler.memoize import memoize
32 @memoize
43 @memoize
Dinstance_servlet.py10 from third_party.json_schema_compiler.memoize import memoize
33 @memoize
Dcompiled_file_system.py13 from third_party.json_schema_compiler.memoize import memoize
96 @memoize
107 @memoize
118 @memoize
127 @memoize
Dapi_data_source_test.py24 from third_party.json_schema_compiler.memoize import memoize
51 @memoize
Davailability_finder_test.py21 from third_party.json_schema_compiler.memoize import memoize
35 @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/chromium_org/tools/gyp/pylib/gyp/
Dcommon.py17 class memoize(object): class
132 @memoize
169 @memoize
504 get_edges = memoize(get_edges)
/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
461 @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/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/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/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/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/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];
DObjC.stg99 memoize,
171 memoize,
226 memoize,
331 <if(memoize)>
424 - (void)memoize:(id\<ANTLRIntStream\>)anInput
428 …if ( state.backtracking > 1 ) [super memoize:anInput RuleIndex:ruleIndex StartIndex:ruleStartIndex…
459 memoize,
490 memoize,
521 memoize,
754 <if(memoize)> /* parserCtorBody */
[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 …]
/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 …]
DDbg.stg70 public void memoize(IntStream input,
74 …((Profiler)dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
75 super.memoize(input, ruleIndex, ruleStartIndex);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg39 backtracking, synpreds, memoize, numRules,
170 public void memoize(IntStream input,
174 if ( backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex);
314 <if(memoize)>
336 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= <<
373 <memoize()>
401 <if(memoize)>
461 memoize() ::= <<
462 <if(memoize)>
464 if ( backtracking>0 ) { memoize(input, <ruleDescriptor.index>, <ruleDescriptor.name>_StartIndex); }
[all …]
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3baserecognizer.h292 void (*memoize) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, member

123