Home
last modified time | relevance | path

Searched refs:number_value (Results 1 – 14 of 14) sorted by relevance

/third_party/protobuf/ruby/tests/
Dwell_known_types_test.rb144 …s = Google::Protobuf::Struct.new(fields: {'a' => Google::Protobuf::Value.new({number_value: 4.4})})
147 s = Google::Protobuf::Struct.new(fields: {'a' => {number_value: 2.2}})
150 s = Google::Protobuf::Struct.new(fields: {a: {number_value: 1.1}})
160 'x' => {list_value: {values: [{number_value: 1.0}, {string_value: "ok"}]}},
168 …expected_b_x = [Google::Protobuf::Value.new(number_value: 1.0), Google::Protobuf::Value.new(string…
/third_party/mindspore/tests/st/pynative/
Dtest_tensor_setitem.py234 def construct(self, tensor, number_value): argument
235 ret = tensor.itemset(number_value)
269 def construct(self, tensor, index, number_value): argument
270 ret = tensor.itemset(index, number_value)
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers-macro-defines.inc.h21 #define NUMBER_VALUE(name, number_value, prop_attributes) argument
Decma-builtin-internal-routines-template.inc.h178 #define NUMBER_VALUE(name, number_value, prop_attributes) \ argument
183 number_value \
/third_party/mindspore/mindspore/ops/composite/multitype_ops/
D_compile_utils.py185 def tensor_itemset_with_number(data, number_value): argument
187 if not const_utils.judge_index_type(F.typeof(number_value), mstype.number_type):
189 "'Tensor.itemset()' only support number input, but got {}", number_value)
196 return const_utils.make_tensor((number_value,), F.dtype(data))
199 def tensor_itemset_by_number_with_number(data, int_index, number_value): argument
201 itemset_data = tensor_setitem_by_number_with_number(flatten_data, int_index, number_value)
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-container-object.c748 ecma_number_t number_value = ecma_get_number_from_value (this_arg); in ecma_op_container_set_noramlize_zero() local
750 … if (JERRY_UNLIKELY (ecma_number_is_zero (number_value) && ecma_number_is_negative (number_value))) in ecma_op_container_set_noramlize_zero()
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types.py728 struct_value.number_value = value
746 return struct_value.number_value
Djson_format_test.py597 message.repeated_value.add().number_value = 11.1
624 message.value.values.add().number_value = 11.1
629 message.repeated_value.add().values.add().number_value = 1
/third_party/protobuf/src/google/protobuf/
Dstruct.proto68 double number_value = 2; field
Dstruct.pb.h439 double number_value() const;
798 inline double Value::number_value() const { in number_value() function
/third_party/mindspore/tests/ut/python/ops/
Dtest_tensor_slice.py643 def construct(self, tensor, number_value): argument
644 ret = tensor.itemset(number_value)
649 def construct(self, tensor, index, number_value): argument
650 ret = tensor.itemset(index, number_value)
/third_party/protobuf/python/google/protobuf/
Djson_format.py647 message.number_value = value
/third_party/jerryscript/docs/
D02.API-REFERENCE.md3247 jerry_value_t number_value = jerry_value_to_number (value);
3249 jerry_release_value (number_value);
4142 jerry_value_t number_value = jerry_create_number (3.14);
4146 jerry_release_value (number_value);
/third_party/grpc/third_party/upb/upb/json/
Dparser.rl2430 const char *numbermember = "number_value";