/third_party/ffmpeg/libavfilter/tests/ |
H A D | dnn-layer-pad.c | 52 float expected_output[1*9*9*3] = { in test_with_mode_symmetric() local 85 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_symmetric() 86 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_symmetric() 87 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_mode_symmetric() 122 float expected_output[6*2*2*3] = { in test_with_mode_reflect() local 150 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_reflect() 151 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_reflect() 152 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_mode_reflect() 187 float expected_output[1*3*2*6] = { test_with_mode_constant() local [all...] |
H A D | dnn-layer-avgpool.c | 69 float expected_output[] = { in test_with_same() local 97 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_same() 98 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same() 99 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same() 152 float expected_output[1*4*5*3] = { in test_with_valid() local 177 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_valid() 178 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid() 179 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_valid() [all...] |
H A D | dnn-layer-conv2d.c | 80 float expected_output[1*5*6*2] = { in test_with_same_dilate() local 124 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_same_dilate() 125 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same_dilate() 126 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same_dilate() 188 float expected_output[1*3*4*2] = { in test_with_valid() local 228 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_valid() 229 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid() 230 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_valid() [all...] |
H A D | dnn-layer-mathbinary.c | 78 float expected_output = get_expected(params.v, input[i], op); in test_broadcast_input0() local 79 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input0() 80 printf("op %d, at index %d, output: %f, expected_output: %f (%s:%d)\n", in test_broadcast_input0() 81 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input0() 118 float expected_output = get_expected(input[i], params.v, op); in test_broadcast_input1() local 119 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input1() 120 printf("op %d, at index %d, output: %f, expected_output: %f (%s:%d)\n", in test_broadcast_input1() 121 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input1() 166 float expected_output = get_expected(input0[i], input1[i], op); in test_no_broadcast() local 167 if (fabs(output[i] - expected_output) > EPSO in test_no_broadcast() [all...] |
H A D | dnn-layer-dense.c | 79 float expected_output[1*5*6*3] = { in test() local 113 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test() 114 if (fabs(output[i] - expected_output[i]) > EPSON) { in test() 115 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
|
H A D | dnn-layer-depth2space.c | 65 float expected_output[1*10*6*1] = { in test() local 87 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test() 88 if (fabs(output[i] - expected_output[i]) > EPSON) { in test() 89 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
|
H A D | dnn-layer-maximum.c | 52 float expected_output = input[i] > params.val.y ? input[i] : params.val.y; in test() local 53 if (fabs(output[i] - expected_output) > EPSON) { in test() 54 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
|
H A D | dnn-layer-mathunary.c | 96 float expected_output = get_expected(input[i], op); in test() local 98 int expected_nan = isnan(expected_output); in test() 99 if ((!output_nan && !expected_nan && fabs(output[i] - expected_output) > EPS) || in test() 101 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
|
/third_party/ffmpeg/tests/dnn/ |
H A D | dnn-layer-pad-test.c | 52 float expected_output[1*9*9*3] = { in test_with_mode_symmetric() local 85 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_symmetric() 86 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_symmetric() 87 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_mode_symmetric() 122 float expected_output[6*2*2*3] = { in test_with_mode_reflect() local 150 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_reflect() 151 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_reflect() 152 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_mode_reflect() 187 float expected_output[1*3*2*6] = { test_with_mode_constant() local [all...] |
H A D | dnn-layer-avgpool-test.c | 69 float expected_output[] = { in test_with_same() local 97 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_same() 98 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same() 99 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same() 152 float expected_output[1*4*5*3] = { in test_with_valid() local 177 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_valid() 178 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid() 179 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_valid() [all...] |
H A D | dnn-layer-conv2d-test.c | 80 float expected_output[1*5*6*2] = { in test_with_same_dilate() local 124 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_same_dilate() 125 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same_dilate() 126 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same_dilate() 188 float expected_output[1*3*4*2] = { in test_with_valid() local 228 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_valid() 229 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid() 230 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_valid() [all...] |
H A D | dnn-layer-mathbinary-test.c | 78 float expected_output = get_expected(params.v, input[i], op); in test_broadcast_input0() local 79 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input0() 80 printf("op %d, at index %d, output: %f, expected_output: %f (%s:%d)\n", in test_broadcast_input0() 81 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input0() 118 float expected_output = get_expected(input[i], params.v, op); in test_broadcast_input1() local 119 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input1() 120 printf("op %d, at index %d, output: %f, expected_output: %f (%s:%d)\n", in test_broadcast_input1() 121 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input1() 166 float expected_output = get_expected(input0[i], input1[i], op); in test_no_broadcast() local 167 if (fabs(output[i] - expected_output) > EPSO in test_no_broadcast() [all...] |
H A D | dnn-layer-depth2space-test.c | 65 float expected_output[1*10*6*1] = { in test() local 87 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test() 88 if (fabs(output[i] - expected_output[i]) > EPSON) { in test() 89 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
|
H A D | dnn-layer-dense-test.c | 79 float expected_output[1*5*6*3] = { in test() local 113 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test() 114 if (fabs(output[i] - expected_output[i]) > EPSON) { in test() 115 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
|
H A D | dnn-layer-maximum-test.c | 52 float expected_output = input[i] > params.val.y ? input[i] : params.val.y; in test() local 53 if (fabs(output[i] - expected_output) > EPSON) { in test() 54 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
|
H A D | dnn-layer-mathunary-test.c | 94 float expected_output = get_expected(input[i], op); in test() local 96 int expected_nan = isnan(expected_output); in test() 97 if ((!output_nan && !expected_nan && fabs(output[i] - expected_output) > EPS) || in test() 99 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
|
/third_party/curl/tests/unit/ |
H A D | unit1604.c | 82 const char *expected_output; member 313 ((!output && !data[i].expected_output) || 314 (output && data[i].expected_output && 315 !strcmp(output, data[i].expected_output)))) { /* OK */ 341 (data[i].expected_output ? data[i].expected_output : "(null)"),
|
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/ |
H A D | v8_foozzie_test.py | 284 expected_output = f.read() 292 self.assertEqual(expected_output, cut_verbose_output(e.output, 2)) 296 expected_output = f.read() 301 self.assertEqual(expected_output, e.output) 320 expected_output = f.read() 328 self.assertEqual(expected_output, cut_verbose_output(e.output, 3)) 335 expected_output = f.read() 343 self.assertEqual(expected_output, cut_verbose_output(e.output, 3))
|
/third_party/benchmark/tools/gbench/ |
H A D | report.py | 477 expected_output = [ 606 self.assertEqual(len(self.json_diff_report), len(expected_output)) 608 self.json_diff_report, expected_output): 655 expected_output = [ 691 self.assertEqual(len(self.json_diff_report), len(expected_output)) 693 self.json_diff_report, expected_output): 819 expected_output = [ 895 self.assertEqual(len(self.json_diff_report), len(expected_output)) 897 self.json_diff_report, expected_output): 978 expected_output [all...] |
/third_party/openssl/demos/mac/ |
H A D | siphash.c | 36 static const unsigned char expected_output[] = { variable 111 if (out_len != sizeof(expected_output)) { in main() 116 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | poly1305.c | 74 static const unsigned char expected_output[] = { variable 189 if (out_len != sizeof(expected_output)) { in main() 194 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | cmac-aes256.c | 56 static const unsigned char expected_output[] = { variable 134 if (out_len != sizeof(expected_output)) { in main() 139 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | gmac.c | 47 static const unsigned char expected_output[] = { variable 127 if (out_len != sizeof(expected_output)) { in main() 132 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
/third_party/googletest/googletest/test/ |
H A D | gtest_list_output_unittest.py | 268 def _TestOutput(self, test_format, expected_output): 271 expected_lines = expected_output.splitlines() 280 'on line %d' % (actual, expected_output, line_count)))
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
H A D | ruby_generator_unittest.cc | 99 string expected_output; in RubyTest() local 102 &expected_output, in RubyTest() 104 EXPECT_EQ(expected_output, output); in RubyTest()
|