Searched refs:memoize (Results 1 – 25 of 61) sorted by relevance
123
13 def memoize(default=None): function29 @memoize()34 @memoize()39 @memoize()44 @memoize()50 @memoize()54 @memoize()67 @memoize()86 @memoize()
7 from third_party.json_schema_compiler.memoize import memoize17 @memoize
9 from third_party.json_schema_compiler.memoize import memoize45 @memoize66 @memoize
10 from third_party.json_schema_compiler.memoize import memoize13 @memoize
10 from third_party.json_schema_compiler.memoize import memoize34 @memoize
14 from third_party.json_schema_compiler.memoize import memoize97 @memoize108 @memoize119 @memoize128 @memoize
15 from third_party.json_schema_compiler.memoize import memoize74 @memoize85 @memoize
11 from third_party.json_schema_compiler.memoize import memoize75 @memoize
14 from third_party.json_schema_compiler.memoize import memoize204 @memoize
27 from third_party.json_schema_compiler.memoize import memoize
105 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()
70 def memoize( rule, start_index, success ) method71 @debug_listener.memoize( rule, rule_start_index, sucess )264 def memoize( rule, start_index, success ) method in ANTLR3.Profile.Profiler
5 def memoize(fn): function
8 from memoize import memoize468 @memoize490 @memoize
636 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 …]
18 class memoize(object): class133 @memoize170 @memoize571 get_edges = memoize(get_edges)
50 def memoize( rule, start_index, success ) method
51 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 …]
87 …@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…
20 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 …]
10 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 …]
45 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 …]
84 - (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];
58 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 …]
49 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 …]