Home
last modified time | relevance | path

Searched refs:mg (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DPLSETestCase.java45 final MethodGen mg = new MethodGen(m, gen.getClassName(), pool); in testB208() local
46 mg.setInstructionList(null); in testB208()
47 mg.addLocalVariable("local2", Type.INT, null, null); in testB208()
49 mg.getLocalVariableTable(pool); in testB208()
64 final MethodGen mg = new MethodGen(m, gen.getClassName(), pool); in testB79() local
65 final LocalVariableTable new_lvt = mg.getLocalVariableTable(mg.getConstantPool()); in testB79()
80 final MethodGen mg = new MethodGen(m, gen.getClassName(), pool); in testB262() local
81 final InstructionList il = mg.getInstructionList(); in testB262()
103 final MethodGen mg = new MethodGen(m, cg.getClassName(), pool); in testB295() local
104 final LocalVariableTable new_lvt = mg.getLocalVariableTable(mg.getConstantPool()); in testB295()
DPerformanceTest.java102 … final MethodGen mg = new MethodGen(m, cg.getClassName(), cg.getConstantPool()); in test() local
103 final InstructionList il = mg.getInstructionList(); in test()
108 mg.getInstructionList().setPositions(); in test()
109 mg.setMaxLocals(); in test()
110 mg.setMaxStack(); in test()
112 cg.replaceMethod(m, mg.getMethod()); in test()
DBCELBenchmark.java110 MethodGen mg = new MethodGen(m, cg.getClassName(), cg.getConstantPool());
111 InstructionList il = mg.getInstructionList();
114 mg.getInstructionList().setPositions();
115 mg.setMaxLocals();
116 mg.setMaxStack();
118 cg.replaceMethod(m, mg.getMethod());
/external/pdfium/core/fxcodec/jbig2/
DJBig2_HtrdProc.cpp24 for (uint32_t mg = 0; mg < HGH; ++mg) { in decode_Arith() local
26 int32_t x = (HGX + mg * HRY + ng * HRX) >> 8; in decode_Arith()
27 int32_t y = (HGY + mg * HRX - ng * HRY) >> 8; in decode_Arith()
30 HSKIP->setPixel(ng, mg, 1); in decode_Arith()
32 HSKIP->setPixel(ng, mg, 0); in decode_Arith()
124 for (uint32_t mg = 0; mg < HGH; ++mg) { in decode_image() local
126 int32_t x = (HGX + mg * HRY + ng * HRX) >> 8; in decode_image()
127 int32_t y = (HGY + mg * HRX - ng * HRY) >> 8; in decode_image()
128 uint32_t pat_index = std::min(GSVALS[mg * HGW + ng], HNUMPATS - 1); in decode_image()
/external/apache-commons-bcel/src/examples/
Dmaxstack.java46 MethodGen mg = new MethodGen(m, class_name, cp); in main() local
48 int compiled_stack = mg.getMaxStack(); in main()
49 int compiled_locals = mg.getMaxLocals(); in main()
50 mg.setMaxStack(); // Recompute value in main()
51 mg.setMaxLocals(); in main()
52 int computed_stack = mg.getMaxStack(); in main()
53 int computed_locals = mg.getMaxLocals(); in main()
55 mg.getInstructionList().dispose(); // Reuse instruction handles in main()
DPeephole.java48 MethodGen mg = new MethodGen(methods[i], clazz.getClassName(), cp); in main() local
49 Method stripped = removeNOPs(mg); in main()
65 private static Method removeNOPs(MethodGen mg) { in removeNOPs() argument
66 InstructionList il = mg.getInstructionList(); in removeNOPs()
99 … System.out.println("Removed " + count + " NOP instructions from method " + mg.getName()); in removeNOPs()
100 m = mg.getMethod(); in removeNOPs()
DProxyCreator.java95 MethodGen mg = new MethodGen(Constants.ACC_PUBLIC, Type.VOID, in main() local
113 mg.stripAttributes(true); in main()
114 mg.setMaxStack(); in main()
115 mg.setMaxLocals(); in main()
116 cg.addMethod(mg.getMethod()); in main()
DHelloWorldBuilder.java71 MethodGen mg = new MethodGen(Constants.ACC_STATIC | in main() local
101 …LocalVariableGen lg = mg.addLocalVariable("in", new ObjectType("java.io.BufferedReader"), null, nu… in main()
106 lg = mg.addLocalVariable("name", Type.STRING, null, null); in main()
137 mg.addExceptionHandler(try_start, try_end, handler, new ObjectType("java.io.IOException")); in main()
167 mg.setMaxStack(5); // Needed stack size in main()
168 cg.addMethod(mg.getMethod()); in main()
/external/tensorflow/tensorflow/python/grappler/
Ddatasets_test.py55 mg = meta_graph.create_meta_graph_def(graph=g)
56 grappler_item = item.Item(mg)
80 mg = meta_graph.create_meta_graph_def(graph=g)
81 grappler_item = item.Item(mg)
116 mg = meta_graph.create_meta_graph_def(graph=g)
117 grappler_item = item.Item(mg)
129 mg = meta_graph.create_meta_graph_def(graph=g)
130 grappler_item = item.Item(mg)
155 mg = meta_graph.create_meta_graph_def(graph=g)
156 grappler_item = item.Item(mg)
[all …]
Ditem_test.py43 mg = meta_graph.create_meta_graph_def(graph=g)
48 item.Item(mg)
57 mg = meta_graph.create_meta_graph_def(graph=g)
58 grappler_item = item.Item(mg)
70 mg = meta_graph.create_meta_graph_def(graph=g)
71 grappler_item = item.Item(mg)
92 mg = meta_graph.create_meta_graph_def(graph=g)
93 grappler_item = item.Item(mg)
120 mg = meta_graph.create_meta_graph_def(graph=g)
121 grappler_item = item.Item(mg)
Dcluster_test.py41 mg = meta_graph.create_meta_graph_def(graph=g)
42 grappler_item = item.Item(mg)
58 mg = meta_graph.create_meta_graph_def(graph=g)
59 grappler_item = item.Item(mg)
76 mg = meta_graph.create_meta_graph_def(graph=g)
77 grappler_item = item.Item(mg)
96 mg = meta_graph.create_meta_graph_def(graph=g)
97 grappler_item = item.Item(mg)
123 mg = meta_graph.create_meta_graph_def(graph=g)
124 grappler_item = item.Item(mg)
[all …]
Dtf_optimizer_test.py48 mg = meta_graph.create_meta_graph_def(graph=ops.get_default_graph())
55 graph = tf_optimizer.OptimizeGraph(config, mg)
74 mg = meta_graph.create_meta_graph_def(graph=g)
78 optimized_graph = tf_optimizer.OptimizeGraph(config, mg)
119 mg = meta_graph.create_meta_graph_def(graph=g)
123 optimized_graph = tf_optimizer.OptimizeGraph(config, mg)
124 mg.graph_def.CopyFrom(optimized_graph)
127 item = gitem.Item(mg)
Dgraph_placer_test.py108 mg = meta_graph.create_meta_graph_def(graph=tf_ops.get_default_graph())
111 placed_mg = graph_placer.PlaceGraph(mg, allotted_time=15, cluster=gcluster)
115 [node.name for node in mg.graph_def.node])
125 mg = meta_graph.create_meta_graph_def(graph=graph)
130 placed_mg = graph_placer.PlaceGraph(mg, allotted_time=15, cluster=gcluster)
131 self.assertEqual(len(placed_mg.graph_def.node), len(mg.graph_def.node))
133 [node.name for node in mg.graph_def.node])
Dcost_analyzer_test.py50 mg = meta_graph.create_meta_graph_def(graph=ops.get_default_graph())
52 report = cost_analyzer.GenerateCostReport(mg, per_node_report=True)
75 mg = meta_graph.create_meta_graph_def(graph=ops.get_default_graph())
78 mg, per_node_report=True, verbose=True)
106 mg = meta_graph.create_meta_graph_def(graph=ops.get_default_graph())
107 report = cost_analyzer.GenerateCostReport(mg)
145 mg = meta_graph.create_meta_graph_def(graph=ops.get_default_graph())
147 report = cost_analyzer.GenerateMemoryReport(mg)
Dmodel_analyzer_test.py41 mg = meta_graph.create_meta_graph_def(graph=ops.get_default_graph())
43 report = model_analyzer.GenerateModelReport(mg)
62 mg = meta_graph.create_meta_graph_def(graph=ops.get_default_graph())
64 report = model_analyzer.GenerateModelReport(mg, debug=True)
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DMethodGenTestCase.java67 final MethodGen mg = getMethod(Foo.class, "bar"); in testRemoveLocalVariable() local
69 final LocalVariableGen lv = mg.getLocalVariables()[1]; in testRemoveLocalVariable()
79 mg.removeLocalVariable(lv); in testRemoveLocalVariable()
88 final MethodGen mg = getMethod(Foo.class, "bar"); in testRemoveLocalVariables() local
90 final LocalVariableGen lv = mg.getLocalVariables()[1]; in testRemoveLocalVariables()
100 mg.removeLocalVariables(); in testRemoveLocalVariables()
111 … final MethodGen mg = new MethodGen(cg.getMethodAt(0), cg.getClassName(), cg.getConstantPool()); in testAnnotationsAreUnpacked() local
112 final List<AnnotationEntryGen> firstParamAnnotations = mg.getAnnotationsOnParameter(0); in testAnnotationsAreUnpacked()
114 final List<AnnotationEntryGen> secondParamAnnotations = mg.getAnnotationsOnParameter(1); in testAnnotationsAreUnpacked()
DGeneratingAnnotatedClassesTestCase.java142 final MethodGen mg = new MethodGen(m[0], cg2.getClassName(), cg2 in testGenerateMethodLevelAnnotations1() local
145 i = mg.getAnnotationEntries().length; in testGenerateMethodLevelAnnotations1()
418 final MethodGen mg = createMethodGen("main", il, cp); in buildClassContentsWithAnnotatedMethods() local
420 mg.addAnnotationEntry(createSimpleVisibleAnnotation(mg in buildClassContentsWithAnnotatedMethods()
440 LocalVariableGen lg = mg.addLocalVariable("in", new ObjectType( in buildClassContentsWithAnnotatedMethods()
445 lg = mg.addLocalVariable("name", Type.STRING, null, null); in buildClassContentsWithAnnotatedMethods()
467 final LocalVariableGen var_ex = mg.addLocalVariable("ex", Type in buildClassContentsWithAnnotatedMethods()
473 mg.addExceptionHandler(try_start, try_end, handler, new ObjectType( in buildClassContentsWithAnnotatedMethods()
503 mg.setMaxStack(); in buildClassContentsWithAnnotatedMethods()
504 mg.setMaxLocals(); in buildClassContentsWithAnnotatedMethods()
[all …]
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Drmsprop.py143 mg = self.get_slot(var, "mg")
146 mg.handle,
171 mg = self.get_slot(var, "mg")
172 mg_t = rho * mg + (1. - rho) * grad
173 mg_t = state_ops.assign(mg, mg_t, use_locking=self._use_locking)
188 mg = self.get_slot(var, "mg")
191 mg.handle,
221 mg = self.get_slot(var, "mg")
223 mg_t = state_ops.assign(mg, mg * rho, use_locking=self._use_locking)
225 mg_t = self._resource_scatter_add(mg, indices, mg_scaled_g_values)
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DPass3bVerifier.java344 … final MethodGen mg = new MethodGen(methods[method_no], myOwner.getClassName(), constantPoolGen); in do_verify() local
346 icv.setMethodGen(mg); in do_verify()
349 if (! (mg.isAbstract() || mg.isNative()) ) { // IF mg HAS CODE (See pass 2) in do_verify()
351 final ControlFlowGraph cfg = new ControlFlowGraph(mg); in do_verify()
354 final Frame f = new Frame(mg.getMaxLocals(),mg.getMaxStack()); in do_verify()
355 if ( !mg.isStatic() ) { in do_verify()
356 if (mg.getName().equals(Const.CONSTRUCTOR_NAME)) { in do_verify()
365 final Type[] argtypes = mg.getArgumentTypes(); in do_verify()
372 f.getLocals().set(twoslotoffset + j + (mg.isStatic()?0:1), argtypes[j]); in do_verify()
375 f.getLocals().set(twoslotoffset + j + (mg.isStatic()?0:1), Type.UNKNOWN); in do_verify()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ResourceApplyCenteredRMSProp.pbtxt10 name: "mg"
54 If `True`, updating of the var, mg, ms, and mom tensors is
66 Note that in dense implementation of this algorithm, mg, ms, and mom will
67 update even if the grad is zero, but in this sparse implementation, mg, ms,
75 mg <- rho * mg_{t-1} + (1-rho) * grad
77 mom <- momentum * mom_{t-1} + lr * grad / sqrt(ms - mg * mg + epsilon)
Dapi_def_ApplyCenteredRMSProp.pbtxt10 name: "mg"
60 If `True`, updating of the var, mg, ms, and mom tensors is
72 Note that in dense implementation of this algorithm, mg, ms, and mom will
73 update even if the grad is zero, but in this sparse implementation, mg, ms,
81 mg <- rho * mg_{t-1} + (1-rho) * grad
83 mom <- momentum * mom_{t-1} + lr * grad / sqrt(ms - mg * mg + epsilon)
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Drmsprop.py122 mg = state.get_slot(var, "mg")
125 mg,
152 mg = state.get_slot(var, "mg")
155 mg.handle,
180 mg = state.get_slot(var, "mg")
183 mg,
210 mg = self.get_slot(var, "mg")
213 mg.handle,
/external/tensorflow/tensorflow/python/training/
Drmsprop.py144 mg = self.get_slot(var, "mg")
147 mg,
172 mg = self.get_slot(var, "mg")
175 mg.handle,
200 mg = self.get_slot(var, "mg")
203 mg,
230 mg = self.get_slot(var, "mg")
233 mg.handle,
/external/autotest/client/tests/npb/
Dcontrol21 # mg.A mg.B mg.S mg.W
/external/icu/icu4c/source/data/unit/
Den_AU.txt55 dnam{"mg/dL"}
56 one{"{0}mg/dL"}
57 other{"{0}mg/dL"}
167 dnam{"mg/dL"}
168 one{"{0} mg/dL"}
169 other{"{0} mg/dL"}

12345678910>>...24