Home
last modified time | relevance | path

Searched refs:value_2 (Results 1 – 25 of 33) sorted by relevance

12

/third_party/protobuf/src/google/protobuf/util/
Dfield_comparator.h178 bool value_2) { in CompareBool() argument
179 return value_1 == value_2; in CompareBool()
185 double value_2);
189 const EnumValueDescriptor* value_2);
193 bool CompareFloat(const FieldDescriptor& field, float value_1, float value_2);
196 int32 value_2) { in CompareInt32() argument
197 return value_1 == value_2; in CompareInt32()
201 int64 value_2) { in CompareInt64() argument
202 return value_1 == value_2; in CompareInt64()
206 const std::string& value_1, const std::string& value_2) { in CompareString() argument
[all …]
Dfield_comparator.cc155 double value_1, double value_2) { in CompareDouble() argument
156 return CompareDoubleOrFloat(field, value_1, value_2); in CompareDouble()
161 const EnumValueDescriptor* value_2) { in CompareEnum() argument
162 return value_1->number() == value_2->number(); in CompareEnum()
166 float value_1, float value_2) { in CompareFloat() argument
167 return CompareDoubleOrFloat(field, value_1, value_2); in CompareFloat()
172 T value_1, T value_2) { in CompareDoubleOrFloat() argument
173 if (value_1 == value_2) { in CompareDoubleOrFloat()
178 if (treat_nan_as_equal_ && std::isnan(value_1) && std::isnan(value_2)) { in CompareDoubleOrFloat()
183 if (treat_nan_as_equal_ && std::isnan(value_1) && std::isnan(value_2)) { in CompareDoubleOrFloat()
[all …]
/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc137 BigUnsigned<4> value_2("12345678901234567890123456789012345678"); in TEST() local
142 value_2.MultiplyBy(two_to_fiftieth); in TEST()
143 EXPECT_EQ(value_1, value_2); in TEST()
154 BigUnsigned<84> value_2(123u); in TEST() local
157 value_2.MultiplyBy(5u); in TEST()
159 EXPECT_EQ(value_1, value_2); in TEST()
170 BigUnsigned<84> value_2 = BigUnsigned<84>::FiveToTheNth(i); in TEST() local
171 EXPECT_EQ(value_1, value_2); in TEST()
182 BigUnsigned<84> value_2(123u); in TEST() local
185 value_2.MultiplyBy(10u); in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc192 BigUnsigned<4> value_2("12345678901234567890123456789012345678"); in TEST() local
197 value_2.MultiplyBy(two_to_fiftieth); in TEST()
198 EXPECT_EQ(value_1, value_2); in TEST()
209 BigUnsigned<84> value_2(123u); in TEST() local
212 value_2.MultiplyBy(5u); in TEST()
214 EXPECT_EQ(value_1, value_2); in TEST()
225 BigUnsigned<84> value_2 = BigUnsigned<84>::FiveToTheNth(i); in TEST() local
226 EXPECT_EQ(value_1, value_2); in TEST()
237 BigUnsigned<84> value_2(123u); in TEST() local
240 value_2.MultiplyBy(10u); in TEST()
[all …]
/third_party/boost/libs/intrusive/example/
Ddoc_member_value_traits.cpp45 struct value_2 : public base_1, public base_2, public simple_node struct
56 <value_2, simple_node_traits, &value_2::node_, normal_link> ValueTraits2; argument
61 typedef list <value_2, value_traits<ValueTraits2> > Value2List;
68 typedef std::vector<value_2> Vect2; in main()
75 value_2 v2; v2.id_ = (float)i; values2.push_back(v2); in main()
Ddoc_derivation_value_traits.cpp45 struct value_2 : public base_1, public base_2, public simple_node struct
55 typedef derivation_value_traits<value_2, simple_node_traits, normal_link> ValueTraits2; argument
60 typedef list <value_2, value_traits<ValueTraits2> > Value2List;
67 typedef std::vector<value_2> Vect2; in main()
74 value_2 v2; v2.id_ = (float)i; values2.push_back(v2); in main()
Ddoc_advanced_value_traits.cpp32 struct value_2 : public base_1, public base_2, public simple_node struct
71 typedef list <value_2, value_traits<simple_value_traits<value_2> > > Value2List;
78 typedef std::vector<value_2> Vect2; in main()
85 value_2 v2; v2.id_ = (float)i; values2.push_back(v2); in main()
/third_party/skia/third_party/externals/tint/test/shader_io/
Dfragment_output_locations.wgsl.expected.spvasm10 OpEntryPoint Fragment %main2 "main2" %value_2
18 OpName %value_2 "value_2"
30 OpDecorate %value_2 Location 2
43 %value_2 = OpVariable %_ptr_Output_float Output %12
88 OpStore %value_2 %39
/third_party/jerryscript/tests/unit-core/
Dtest-symbol.c60 jerry_value_t value_2 = jerry_create_number (2); in main() local
67 result_val = jerry_set_property (object, symbol_2, value_2); in main()
77 TEST_ASSERT (jerry_get_number_value (get_value_2) == jerry_get_number_value (value_2)); in main()
92 TEST_ASSERT (value_2 == prop_desc.value); in main()
93 TEST_ASSERT (jerry_get_number_value (value_2) == jerry_get_number_value (prop_desc.value)); in main()
136 jerry_release_value (value_2); in main()
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dpost_example.c102 char value_2[64]; member
362 reply = malloc (strlen (SECOND_PAGE) + strlen (session->value_1) + strlen (session->value_2) + 1); in fill_v1_v2_form()
366 strlen (SECOND_PAGE) + strlen (session->value_1) + strlen (session->value_2) + 1, in fill_v1_v2_form()
369 session->value_2); in fill_v1_v2_form()
473 session->value_2); in post_iterator()
488 if (size + off >= sizeof(session->value_2)) in post_iterator()
489 size = sizeof (session->value_2) - off - 1; in post_iterator()
490 memcpy (&session->value_2[off], in post_iterator()
493 session->value_2[size+off] = '\0'; in post_iterator()
/third_party/skia/third_party/externals/microhttpd/doc/examples/
Dsessions.c124 char value_2[64]; member
385 session->value_2)) in fill_v1_v2_form()
489 session->value_2); in post_iterator()
505 if (size + off > sizeof(session->value_2)) in post_iterator()
506 size = sizeof (session->value_2) - off; in post_iterator()
507 memcpy (&session->value_2[off], in post_iterator()
510 if (size + off < sizeof (session->value_2)) in post_iterator()
511 session->value_2[size+off] = '\0'; in post_iterator()
/third_party/mindspore/mindspore/boost/
Dadasum.py67 value_2 = P.ReduceSum()(recv_part * recv_part) + eps
70 value_2 = P.ReduceSum()(local_part * local_part) + eps
73 value_2 = F.depend(allreduce(value_2), value_1)
75 … res = (1 - (value_0 / (2 * value_1))) * local_part + (1 - (value_0 / (2 * value_2))) * recv_part
77 … res = (1 - (value_0 / (2 * value_1))) * recv_part + (1 - (value_0 / (2 * value_2))) * local_part
/third_party/openssl/crypto/bn/
Dbn_dh.c490 static const BN_ULONG value_2 = 2; variable
493 { (BN_ULONG *)&value_2, 1, 1, 0, BN_FLG_STATIC_DATA };
/third_party/mindspore/tests/st/pynative/
Dtest_tensor_getitem.py579 def construct(self, index, value_0, value_1, value_2): argument
580 self.param[index] = (value_0, value_1, value_2)
600 value_2 = Tensor(value_2_np)
602 out = net(input_ms, value_0, value_1, value_2)
744 def construct(self, index_0, index_1, index_2, value_0, value_1, value_2): argument
745 self.param[index_0, index_1, index_2] = (value_0, value_1, value_2)
758 value_2 = np.ones((4, 5)) * 2
761 value_2_ms = Tensor(value_2, mstype.float32)
770 input_data[index_0, index_1, index_2] = (value_0, value_1, value_2)
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_entry_point_test.cc231 OpName %9 "value_2" in TEST_F()
/third_party/skia/third_party/externals/tint/test/bug/tint/
D943.spvasm.expected.glsl135 void mm_write_i1_i1_f1_(inout int row_2, inout int col_2, inout float value_2) {
150 float x_502 = value_2;
D943.spvasm.expected.spvasm73 OpName %value_2 "value_2"
417 %value_2 = OpFunctionParameter %_ptr_Function_float
435 %245 = OpLoad %float %value_2
D943.spvasm.expected.hlsl121 void mm_write_i1_i1_f1_(inout int row_2, inout int col_2, inout float value_2) {
136 const float x_502 = value_2;
D943.spvasm.expected.wgsl172 fn mm_write_i1_i1_f1_(row_2 : ptr<function, i32>, col_2 : ptr<function, i32>, value_2 : ptr<functio…
188 let x_502 : f32 = *(value_2);
D943.spvasm.expected.msl149 …1_(thread int* const row_2, thread int* const col_2, thread float* const value_2, thread int* cons…
165 float const x_502 = *(value_2);
/third_party/mindspore/tests/ut/python/ops/
Dtest_tensor_slice.py354 def construct(self, index, value_0, value_1, value_2): argument
355 self.param[index] = (value_0, value_1, value_2)
416 def construct(self, index_0, index_1, index_2, value_0, value_1, value_2): argument
417 self.param[index_0, index_1, index_2] = (value_0, value_1, value_2)
/third_party/mindspore/mindspore/core/ir/
Dpattern_matcher.h961 auto value_2 = GetValueNode(vnode_2);
963 auto tensor_ptr_2 = dyn_cast<tensor::Tensor>(value_2);
/third_party/json/test/src/
Dunit-conversions.cpp1396 enum c_enum { value_1, value_2 }; enumerator
1397 enum class cpp_enum { value_1, value_2 }; enumerator
/third_party/skia/third_party/externals/microhttpd/doc/
Dlibmicrohttpd-tutorial.info3277 char value_2[64];
3538 session->value_2))
3642 session->value_2);
3658 if (size + off > sizeof(session->value_2))
3659 size = sizeof (session->value_2) - off;
3660 memcpy (&session->value_2[off],
3663 if (size + off < sizeof (session->value_2))
3664 session->value_2[size+off] = '\0';
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DSimpleDateFormat.java4415 int value_2 = toCalendar.get(field); in diffCalFieldValue() local
4416 if ( value != value_2 ) { in diffCalFieldValue()

12