Home
last modified time | relevance | path

Searched refs:root2 (Results 1 – 9 of 9) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestJsonNode.java123 ObjectNode root2 = MAPPER.createObjectNode(); in testCustomComparators() local
124 root2.put("value", 5.0); in testCustomComparators()
125 root2.set("nested_object", nestedObject2); in testCustomComparators()
126 root2.set("nested_array", nestedArray2); in testCustomComparators()
129 assertFalse(root1.equals(root2)); in testCustomComparators()
130 assertFalse(root2.equals(root1)); in testCustomComparators()
132 assertTrue(root2.equals(root2)); in testCustomComparators()
163 assertTrue(root1.equals(cmp, root2)); in testCustomComparators()
164 assertTrue(root2.equals(cmp, root1)); in testCustomComparators()
166 assertTrue(root2.equals(cmp, root2)); in testCustomComparators()
[all …]
DObjectNodeTest.java304 ObjectNode root2 = MAPPER.createObjectNode(); in testInvalidWith() local
305 root2.put("prop", 13); in testInvalidWith()
307 root2.with("prop"); in testInvalidWith()
324 ObjectNode root2 = MAPPER.createObjectNode(); in testInvalidWithArray() local
325 root2.put("prop", 13); in testInvalidWithArray()
327 root2.withArray("prop"); in testInvalidWithArray()
353 ObjectNode root2 = MAPPER.createObjectNode(); in testSetAll() local
354 root2.setAll(root); in testSetAll()
356 assertEquals(2, root2.size()); in testSetAll()
358 root2.setAll(root); in testSetAll()
[all …]
/external/libchrome/base/json/
Djson_reader_unittest.cc257 std::unique_ptr<Value> root2 = in TEST() local
259 EXPECT_TRUE(list->Equals(root2.get())); in TEST()
275 std::unique_ptr<Value> root2 = in TEST() local
278 EXPECT_TRUE(list->Equals(root2.get())); in TEST()
339 std::unique_ptr<Value> root2 = JSONReader::Read( in TEST() local
342 ASSERT_TRUE(root2); in TEST()
343 EXPECT_TRUE(dict_val->Equals(root2.get())); in TEST()
346 root2 = JSONReader::Read( in TEST()
353 ASSERT_TRUE(root2); in TEST()
354 EXPECT_TRUE(dict_val->Equals(root2.get())); in TEST()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DInternalChannelzTest.java68 InternalInstrumented<ChannelStats> root2 = create(); in getRootChannels_onePage_multi() local
70 channelz.addRootChannel(root2); in getRootChannels_onePage_multi()
73 assertThat(page.channels).containsExactly(root1, root2); in getRootChannels_onePage_multi()
79 InternalInstrumented<ChannelStats> root2 = create(); in getRootChannels_paginate() local
81 channelz.addRootChannel(root2); in getRootChannels_paginate()
88 assertThat(page2.channels).containsExactly(root2); in getRootChannels_paginate()
111 InternalInstrumented<ChannelStats> root2 = create(); in getRootChannels_addAfterLastPage() local
113 channelz.addRootChannel(root2); in getRootChannels_addAfterLastPage()
117 assertThat(page2.channels).containsExactly(root2); in getRootChannels_addAfterLastPage()
/external/linux-kselftest/tools/testing/selftests/tpm2/
Dtpm2_tests.py235 root2 = space2.create_root_key()
239 log.debug("%08x" % (root2))
/external/python/parse_type/tasks/_vendor/
Dpathlib.py109 def join_parsed_parts(self, drv, root, parts, drv2, root2, parts2): argument
114 if root2:
116 return drv, root2, [drv + root2] + parts2[1:]
124 return drv2, root2, parts2
/external/python/cpython3/Lib/
Dpathlib.py101 def join_parsed_parts(self, drv, root, parts, drv2, root2, parts2): argument
106 if root2:
108 return drv, root2, [drv + root2] + parts2[1:]
116 return drv2, root2, parts2
/external/tensorflow/tensorflow/core/kernels/
Dtraining_ops_gpu.cu.cc64 const T root2 = 0.7071067811865475; in impl_sqrt() local
67 T root[2] = {T(sqrt(mod_x + re) * root2), in impl_sqrt()
68 T(sqrt(mod_x - re) * root2 * (im >= 0 ? 1. : -1.))}; in impl_sqrt()
84 const T root2 = 0.7071067811865475; in impl_rsqrt() local
91 root2; in impl_rsqrt()
95 root2 * (im >= 0 ? -1. : 1.); in impl_rsqrt()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instruction_test.cc1223 const HloInstruction* root2 = fusion2->fused_expression_root(); in TEST_F() local
1224 EXPECT_TRUE(ShapeUtil::Equal(root->shape(), root2->shape())); in TEST_F()
1226 ShapeUtil::Equal(root->operand(0)->shape(), root2->operand(0)->shape())); in TEST_F()
1228 ShapeUtil::Equal(root->operand(1)->shape(), root2->operand(1)->shape())); in TEST_F()
1230 root2->operand(1)->operand(0)->shape())); in TEST_F()