Home
last modified time | relevance | path

Searched refs:golden_data (Results 1 – 22 of 22) sorted by relevance

/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dmessage_test.py79 golden_data = test_util.GoldenFile('golden_message').read()
81 golden_message.ParseFromString(golden_data)
83 self.assertEqual(golden_data, golden_message.SerializeToString())
85 self.assertEqual(golden_data, golden_copy.SerializeToString())
88 golden_data = test_util.GoldenFile('golden_message').read()
90 golden_message.ParseFromString(golden_data)
94 self.assertEqual(golden_data, golden_message.SerializeToString())
96 self.assertEqual(golden_data, golden_copy.SerializeToString())
99 golden_data = test_util.GoldenFile('golden_packed_fields_message').read()
101 golden_message.ParseFromString(golden_data)
[all …]
/external/zlib/google/
Dcompression_utils_unittest.cc52 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
54 EXPECT_EQ(golden_data, uncompressed_data); in TEST()
61 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
63 EXPECT_EQ(golden_data, uncompressed_data); in TEST()
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py130 golden_data = test_util.GoldenFileData(
133 golden_data = test_util.GoldenFileData('golden_message_proto3')
136 golden_message.ParseFromString(golden_data)
139 self.assertEqual(golden_data, golden_message.SerializeToString())
141 self.assertEqual(golden_data, golden_copy.SerializeToString())
144 golden_data = test_util.GoldenFileData('golden_packed_fields_message')
146 parsed_bytes = golden_message.ParseFromString(golden_data)
149 self.assertEqual(parsed_bytes, len(golden_data))
151 self.assertEqual(golden_data, all_set.SerializeToString())
153 self.assertEqual(golden_data, golden_copy.SerializeToString())
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/
Dconv_test.cc204 const float golden_data[] = {25, 2, 7, 25, 2, 7, 10, 2, -3, 10, 2, -3, in TF_LITE_MICRO_TEST() local
222 tflite::testing::kBiasData, bias_quantized, output_shape, golden_data, in TF_LITE_MICRO_TEST()
275 const float golden_data[] = {25, 2, 7, 25, 2, 7, 10, 2, -3, 10, 2, -3, in TF_LITE_MICRO_TEST() local
296 bias_quantized, scales, zero_points, output_shape, golden_data, in TF_LITE_MICRO_TEST()
306 const float golden_data[] = {6, 2, 0, 6, 2, 0, 6, 4, 0, 6, 4, 0}; in TF_LITE_MICRO_TEST() local
328 golden_data, golden_quantized, output_scale, output_zero_point, in TF_LITE_MICRO_TEST()
359 const float golden_data[output_elements] = {11, 2, 3, 21, 2, 3, in TF_LITE_MICRO_TEST() local
379 scales, zero_points, output_shape, golden_data, in TF_LITE_MICRO_TEST()
410 const float golden_data[output_elements] = {6, 2, 0, 6, 2, 0, in TF_LITE_MICRO_TEST() local
430 scales, zero_points, output_shape, golden_data, in TF_LITE_MICRO_TEST()
/external/autotest/client/cros/audio/
Daudio_helper.py566 def get_one_channel_correlation(test_data, golden_data): argument
593 to_float(golden_data),
643 def compare_one_channel_correlation(test_data, golden_data, parameters): argument
664 test_data, golden_data)
704 golden_data = audio_data.AudioRawData(
718 golden_data_one_channel = golden_data.channel_data[golden_channel]
/external/llvm/unittests/ADT/
DHashingTest.cpp210 struct { const char *s; uint64_t hash; } golden_data[] = { in TEST() local
321 for (unsigned i = 0; i < sizeof(golden_data)/sizeof(*golden_data); ++i) { in TEST()
322 StringRef str = golden_data[i].s; in TEST()
329 EXPECT_EQ(static_cast<size_t>(golden_data[i].hash), in TEST()
/external/llvm-project/llvm/unittests/ADT/
DHashingTest.cpp220 struct { const char *s; uint64_t hash; } golden_data[] = { in TEST() local
278 for (unsigned i = 0; i < sizeof(golden_data)/sizeof(*golden_data); ++i) { in TEST()
279 StringRef str = golden_data[i].s; in TEST()
286 EXPECT_EQ(static_cast<size_t>(golden_data[i].hash), in TEST()
/external/autotest/server/site_tests/audio_AudioAfterReboot/
Daudio_AudioAfterReboot.py142 golden_data, argument
190 self.golden_file, self.low_pass_freq = golden_data
Dcontrol.external_mic32 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.internal_speaker33 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.internal_mic33 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
Dcontrol.headphone32 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
/external/autotest/server/site_tests/audio_AudioAfterSuspend/
Daudio_AudioAfterSuspend.py181 def run_once(self, host, audio_nodes, golden_data, argument
232 self.golden_file, self.low_pass_freq = golden_data
Dcontrol.headphone37 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.external_mic36 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.internal_speaker.plug38 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.headphone.unplug40 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.external_mic.unplug39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.internal_mic.plug39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
Dcontrol.internal_speaker37 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.internal_mic38 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib.py583 golden_data = np.load(golden_file, allow_pickle=False)
584 np.testing.assert_almost_equal(golden_data, tflite_results, tolerance)