/external/v8/gypfiles/ |
D | landmine_utils.py | 13 def memoize(default=None): function 29 @memoize() 34 @memoize() 39 @memoize() 44 @memoize() 51 @memoize() 58 @memoize() 63 @memoize() 76 @memoize() 95 @memoize()
|
/external/turbine/java/com/google/turbine/binder/bytecode/ |
D | BytecodeBoundClass.java | 87 Suppliers.memoize( in BytecodeBoundClass() 103 Suppliers.memoize( 127 Suppliers.memoize( 147 Suppliers.memoize( 171 Suppliers.memoize( 191 Suppliers.memoize( 204 Suppliers.memoize( 226 Suppliers.memoize( 244 Suppliers.memoize( 262 Suppliers.memoize( [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | SuppliersTest.java | 98 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize() 104 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize_redudantly() 105 assertSame(memoizedSupplier, Suppliers.memoize(memoizedSupplier)); in testMemoize_redudantly() 132 Supplier<Integer> memoizedSupplier = Suppliers.memoize(exceptingSupplier); in testMemoizeExceptionThrown()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | SuppliersTest.java | 106 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize() 112 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize_redudantly() 113 assertSame(memoizedSupplier, Suppliers.memoize(memoizedSupplier)); in testMemoize_redudantly() 119 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoizeSerialized() 156 Supplier<Integer> memoizedSupplier = Suppliers.memoize(exceptingSupplier); in testMemoizeExceptionThrown() 255 return Suppliers.memoize(supplier); in testMemoizedSupplierThreadSafe() 387 reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get()); in testSerialization()
|
/external/python/cpython2/Lib/ |
D | pickle.py | 227 def memoize(self, obj): member in Pickler 411 self.memoize(obj) 495 self.memoize(obj) 507 self.memoize(obj) 535 self.memoize(obj) 561 self.memoize(obj) 587 self.memoize(obj) 605 self.memoize(obj) 654 self.memoize(obj) 722 self.memoize(obj) [all …]
|
/external/doclava/src/com/google/doclava/parser/ |
D | JavaParser.java | 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 …]
|
/external/antlr/runtime/Ruby/lib/antlr3/ |
D | profile.rb | 70 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/turbine/java/com/google/turbine/binder/lookup/ |
D | MemberImportIndex.java | 54 Suppliers.memoize( in MemberImportIndex() 72 Suppliers.memoize( in MemberImportIndex()
|
D | ImportIndex.java | 69 Suppliers.memoize( in create() 86 Suppliers.memoize( in create()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | Python3.stg | 41 backtracking, synpreds, memoize, numRules, 126 <if(memoize)> 206 def memoize(self, input, ruleIndex, ruleStartIndex, success): 209 super().memoize(input, ruleIndex, ruleStartIndex, success) 261 <if(memoize)> 390 <if(memoize)> 411 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 434 <if(memoize)> 446 <if(memoize)> 474 <memoize()> [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Python.stg | 51 backtracking, synpreds, memoize, numRules, 123 <if(memoize)> 203 def memoize(self, input, ruleIndex, ruleStartIndex, success): 206 super(<grammar.recognizerName>, self).memoize(input, ruleIndex, ruleStartIndex, success) 254 <if(memoize)> 383 <if(memoize)> 404 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 427 <if(memoize)> 439 <if(memoize)> 467 <memoize()> [all …]
|
/external/python/cpython3/Lib/ |
D | pickle.py | 441 def memoize(self, obj): member in _Pickler 648 self.memoize(obj) 735 self.memoize(obj) 755 self.memoize(obj) 778 self.memoize(obj) 805 self.memoize(obj) 815 self.memoize(obj) 855 self.memoize(obj) 902 self.memoize(obj) 937 self.memoize(obj) [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | ClassProto.java | 91 …@Nonnull private final Supplier<ClassDef> classDefSupplier = Suppliers.memoize(new Supplier<ClassD… 137 Suppliers.memoize(new Supplier<LinkedHashMap<String, ClassDef>>() { 213 Suppliers.memoize(new Supplier<LinkedHashMap<String, ClassDef>>() { 493 Suppliers.memoize(new Supplier<SparseArray<FieldReference>>() { 690 Suppliers.memoize(new Supplier<SparseArray<FieldReference>>() { 877 … final Supplier<List<Method>> preDefaultMethodVtableSupplier = Suppliers.memoize(new Supplier<List… 928 … Supplier<List<Method>> buggyPostDefaultMethodVtableSupplier = Suppliers.memoize(new Supplier<List… 1075 …final Supplier<List<Method>> postDefaultMethodVtableSupplier = Suppliers.memoize(new Supplier<List…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | Ruby.stg | 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 …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | JavaScript.stg | 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 …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | Dbg.stg | 84 - (void) memoize:(id<IntStream>)input RuleIndex:(NSInteger)ruleIndex StartIndex:(NSInteger)ruleStar… 86 …[((Profiler)dbg) memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex [<grammar.composite.r… 87 [super memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex];
|
D | ObjC.stg | 110 memoize, 182 memoize, 237 memoize, 345 <if(memoize)> 438 - (void)memoize:(id\<IntStream\>)anInput 442 …if ( state.backtracking > 1 ) [super memoize:anInput RuleIndex:ruleIndex StartIndex:ruleStartIndex… 473 memoize, 504 memoize, 535 memoize, 775 <if(memoize)> /* parserCtorBody */ [all …]
|
/external/antlr/runtime/Ruby/lib/antlr3/modes/ |
D | filter.rb | 50 def memoize( rule, start_index, success ) method
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ActionScript.stg | 44 backtracking, synpreds, memoize, numRules, 81 <if(memoize)> 151 public override function memoize(input:IntStream, 155 if ( this.state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex); 225 <if(memoize)> 304 <if(memoize)> 322 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 356 <memoize()> 381 <if(memoize)> 441 memoize() ::= << [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
D | Scala.stg | 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 …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Java.stg | 58 backtracking, synpreds, memoize, numRules, 109 <if(memoize)> 185 public void memoize(IntStream input, 189 if ( state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex); 268 <if(memoize)> 351 <if(memoize)> 369 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 409 <memoize()> 442 <if(memoize)> 503 memoize() ::= << [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | Perl5.stg | 39 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/python/cpython2/Lib/test/ |
D | test_decorators.py | 54 def memoize(func): function 130 @memoize
|
/external/python/cpython3/Lib/test/ |
D | test_decorators.py | 53 def memoize(func): function 129 @memoize
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 91 memoize, 223 memoize, 412 void memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParseStart); 554 * if (BACKTRACKING) if (BACKTRACKING > 1) memoize. 556 void <name>::memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParseStart) 560 base->memoize( ruleIndex, ruleParseStart ); 585 <if(memoize)> 662 <if(memoize)> 871 <if(memoize)> 920 <if(memoize)> [all …]
|