Home
last modified time | relevance | path

Searched refs:test_value (Results 1 – 25 of 56) sorted by relevance

123

/external/tensorflow/tensorflow/python/kernel_tests/
Dunicode_encode_op_test.py68 test_value = np.array([ord('H'), ord('e'), 0x7FFFFFFF, -1, ord('o')],
73 ragged_string_ops.unicode_encode(test_value, encoding, "strict"))
78 test_value = np.array([ord('H'), ord('e'), 0x7FFFFFFF, -1, ord('o')],
81 unicode_encode_op = ragged_string_ops.unicode_encode(test_value, encoding,
88 test_value = np.array([ord('H'), ord('e'), 0x7FFFFFFF, -1, ord('o')],
91 unicode_encode_op = ragged_string_ops.unicode_encode(test_value, encoding,
96 test_value = np.array([ord('H'), ord('e'), 0x7FFFFFFF, -1, ord('o')],
99 unicode_encode_op = ragged_string_ops.unicode_encode(test_value, encoding,
104 test_value = np.array([ord('H'), ord('e'), 0x7FFFFFFF, -1, ord('o')],
107 unicode_encode_op = ragged_string_ops.unicode_encode(test_value, encoding)
[all …]
/external/libcxx/test/std/utilities/charconv/charconv.to.chars/
Dintegral.pass.cpp32 using to_chars_test_base<T>::test_value;
50 test_value(1, b); in operator ()()
51 test_value(xl::lowest(), b); in operator ()()
52 test_value((xl::max)(), b); in operator ()()
53 test_value((xl::max)() / 2, b); in operator ()()
62 using to_chars_test_base<T>::test_value;
78 test_value(0, b); in operator ()()
79 test_value(xl::lowest(), b); in operator ()()
80 test_value((xl::max)(), b); in operator ()()
/external/OpenCL-CTS/test_conformance/spirv_new/spirv_asm/
Dop_spec_constant_false_simple.spvasm6415 OpName %test_value "test_value"
21 OpDecorate %test_value FuncParamAttr Zext
22 OpDecorate %test_value LinkageAttributes "test_value" Export
35 %test_value = OpFunction %bool None %3
42 %call = OpFunctionCall %bool %test_value
Dop_spec_constant_true_simple.spvasm6415 OpName %test_value "test_value"
21 OpDecorate %test_value FuncParamAttr Zext
22 OpDecorate %test_value LinkageAttributes "test_value" Export
35 %test_value = OpFunction %bool None %3
42 %call = OpFunctionCall %bool %test_value
Dop_spec_constant_false_simple.spvasm3215 OpName %test_value "test_value"
21 OpDecorate %test_value FuncParamAttr Zext
22 OpDecorate %test_value LinkageAttributes "test_value" Export
35 %test_value = OpFunction %bool None %3
42 %call = OpFunctionCall %bool %test_value
Dop_spec_constant_true_simple.spvasm3215 OpName %test_value "test_value"
21 OpDecorate %test_value FuncParamAttr Zext
22 OpDecorate %test_value LinkageAttributes "test_value" Export
35 %test_value = OpFunction %bool None %3
42 %call = OpFunctionCall %bool %test_value
/external/ltp/testcases/commands/sysctl/
Dsysctl02.sh47 local test_value="$1"
50 tst_res TINFO "trying to set $sys_name=$test_value"
51 sysctl -w -q $sys_name=$test_value 2>/dev/null
Dsysctl01.sh31 local test_value=$(cat "$dir""$name")
33 if [ ${test_value} -eq ${orig_value} ]; then
/external/python/setuptools/setuptools/tests/
Dtest_msvc14.py38 test_value = '₃⁴₅'
42 os.environ[test_var] = test_value
46 assert test_value == env[test_var.lower()]
/external/toolchain-utils/bestflags/
Dflags_test.py83 test_value = test_flag.FormattedForUse()
86 assert test_value == actual_value
94 test_value = test_flag.FormattedForUse()
96 assert test_value == actual_value
/external/webrtc/modules/rtp_rtcp/source/
Dbyte_io_unittest.cc87 T test_value = CreateTestValue<T>(negative, B); in TestRead() local
92 PopulateTestData(bytes + i, test_value, B, big_endian); in TestRead()
95 EXPECT_EQ(test_value, RM(bytes + i)); in TestRead()
109 T test_value = CreateTestValue<T>(negative, B); in TestWrite() local
115 PopulateTestData(expected_bytes + i, test_value, B, big_endian); in TestWrite()
119 WM(bytes + i, test_value); in TestWrite()
/external/python/cpython3/Lib/distutils/tests/
Dtest_msvccompiler.py39 test_value = '₃⁴₅'
43 os.environ[test_var] = test_value
47 self.assertEqual(test_value, env[test_var.lower()])
/external/grpc-grpc/test/core/compression/
Dmessage_compress_test.cc33 typedef enum { ONE_A = 0, ONE_KB_A, ONE_MB_A, TEST_VALUE_COUNT } test_value; typedef
117 test_value id, grpc_message_compression_algorithm algorithm) { in get_compressability()
132 static grpc_slice create_test_value(test_value id) { in create_test_value()
302 grpc_slice slice = create_test_value(static_cast<test_value>(m)); in main()
308 static_cast<test_value>(m), in main()
/external/libaom/libaom/test/
Daom_integer_test.cc50 const uint32_t test_value = 0x98765; // 624485 in TEST() local
55 ASSERT_EQ(aom_uleb_encode(test_value, kWriteBufferSize, &write_buffer[0], in TEST()
82 const uint32_t test_value = 0x123; in TEST() local
87 ASSERT_EQ(0, aom_uleb_encode_fixed_size(test_value, kWriteBufferSize, in TEST()
/external/autotest/client/cros/enterprise/
Dtest_policy.py120 test_value = {
125 test_policy.set_policy_from_dict(test_value)
145 test_value = {
148 self.assertTrue(policy.check_obfuscation(test_value))
/external/python/setuptools/setuptools/_distutils/tests/
Dtest_msvccompiler.py40 test_value = '₃⁴₅'
44 os.environ[test_var] = test_value
48 self.assertEqual(test_value, env[test_var.lower()])
/external/rust/crates/ahash/src/
Dhash_quality_test.rs244 let test_value = hash(&(1u32 << pos), &hasher); in test_single_bit_flip() localVariable
245 assert_sufficiently_different(compare_value, test_value, 2); in test_single_bit_flip()
250 let test_value = hash(&(1u64 << pos), &hasher); in test_single_bit_flip() localVariable
251 assert_sufficiently_different(compare_value, test_value, 2); in test_single_bit_flip()
256 let test_value = hash(&(1u128 << pos), &hasher); in test_single_bit_flip() localVariable
257 dbg!(compare_value, test_value); in test_single_bit_flip()
258 assert_sufficiently_different(compare_value, test_value, 2); in test_single_bit_flip()
/external/tensorflow/tensorflow/python/debug/cli/
Dcli_config_test.py114 test_value = {"graph_recursion_depth": -1}
116 test_value["graph_recursion_depth"] = config.get("graph_recursion_depth")
120 self.assertEqual(test_value["graph_recursion_depth"],
/external/vboot_reference/tests/
Dvb2_nvstorage_tests.c25 uint32_t test_value; /* Value to test writing */ member
156 vb2_nv_set(&c, vnf->param, vnf->test_value); in nv_storage_test()
157 TEST_EQ(vb2_nv_get(&c, vnf->param), vnf->test_value, vnf->desc); in nv_storage_test()
Dvboot_nvstorage_test.c21 uint32_t test_value; /* Value to test writing */ member
143 TEST_EQ(VbNvSet(&c, vnf->param, vnf->test_value), 0, " set 1"); in VbNvStorageTest()
145 TEST_EQ(data, vnf->test_value, " value 1"); in VbNvStorageTest()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_precision_test.cc506 for (const auto& test_value : test_values) { in DoIt() local
508 input_values.push_back(absl::bit_cast<Fp>(test_value[0])); in DoIt()
511 input_values.push_back(absl::bit_cast<Fp, Uint>(test_value[0] ^ sign_bit)); in DoIt()
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc358 string16 test_value; in TEST() local
359 ASSERT_TRUE(dict_root->GetString("test", &test_value)); in TEST()
360 ASSERT_EQ(test, test_value); in TEST()
368 ASSERT_TRUE(dict_root->GetString("test", &test_value)); in TEST()
369 ASSERT_EQ(ASCIIToUTF16("go"), test_value); in TEST()
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dtf_function_test.py74 test_value = self._test_conversion_params[param_name]
76 byte_value = compat.as_bytes(test_value)
79 func_def.attr[param_name].CopyFrom(attr_value_pb2.AttrValue(b=test_value))
81 func_def.attr[param_name].CopyFrom(attr_value_pb2.AttrValue(i=test_value))
/external/python/cpython2/Doc/includes/
Dmp_synchronize.py25 def test_value(): function
240 for func in [ test_value, test_queue, test_condition,
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_getitem_test.py263 test_value = [[1, 2, 3, 4, 5], [6, 7], [8, 9, 10], [], [9],
265 rt = ragged_factory_ops.constant(test_value)
268 self.assertAllEqual(rt[start:stop:step], test_value[start:stop:step],
272 [row[start:stop:step] for row in test_value],

123