D | generate_java.py | 41 def __init__(self, code, static, vartype, flavour, klass, method, memloc, argument 44 self.static = static 57 static_name = "Static" if self.static else "", 73 first_arg = static_first_arg if self.static else "this" 79 static_name = "Static" if self.static else "", 80 static_kwd = "static " if self.static else "", 93 def BenchVHField(code, static, vartype, flavour, method): argument 94 return Benchmark(code, static, vartype, flavour, "VarHandle", method, MemLoc.FIELD) 105 def BenchReflect(code, static, vartype, method): argument 106 return Benchmark(code, static, vartype, "", "Reflect", method, MemLoc.FIELD) [all …]
|