Home
last modified time | relevance | path

Searched refs:double_data (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/util/
Droundeven_test.c53 } double_data[] = { in main() local
105 for (i = 0; i < ARRAY_SIZE(double_data); i++) { in main()
106 double output = _mesa_roundeven(double_data[i].input); in main()
107 if (memcmp(&double_data[i].expected, &output, sizeof(double))) { in main()
111 double_data[i].expected, in main()
112 double_data[i].expected, in main()
113 double_data[i].input, in main()
114 double_data[i].input, in main()
122 for (i = 0; i < ARRAY_SIZE(double_data); i++) { in main()
123 double output = _mesa_roundeven(-double_data[i].input); in main()
[all …]
/third_party/libsnd/tests/
Dcommand_test.c72 static double double_data [BUFFER_LEN] ; variable
358 double_data [k] = (k + 5) / (2.0 * BUFFER_LEN) ; in double_norm_test()
360 double_data [k] = (k + 5) ; in double_norm_test()
372 if ((k = sf_write_double (file, double_data, BUFFER_LEN / 2)) != BUFFER_LEN / 2) in double_norm_test()
380 if ((k = sf_write_double (file, double_data + BUFFER_LEN / 2, BUFFER_LEN / 2)) != BUFFER_LEN / 2) in double_norm_test()
410 if ((k = sf_read_double (file, double_data, BUFFER_LEN)) != BUFFER_LEN) in double_norm_test()
416 if (double_data [k] >= 1.0) in double_norm_test()
417 …("\n\nLine %d: double_data [%d] == %f which is greater than 1.0\n", __LINE__, k, double_data [k]) ; in double_norm_test()
425 if ((k = sf_read_double (file, double_data, BUFFER_LEN)) != BUFFER_LEN) in double_norm_test()
431 if (double_data [k] < 1.0) in double_norm_test()
[all …]
Dlong_read_write_test.c50 static double double_data [BUFFER_LENGTH] ; variable
70 double_data [k] = int_data [k] / 32000.0 ; in main()
79 …le_lrw_test ("alac.caf", SF_FORMAT_CAF | SF_FORMAT_ALAC_32, double_data, ARRAY_LEN (double_data)) ; in main()
Dfloating_point_test.tpl49 static double double_data [DFT_DATA_LENGTH] ;
55 static double double_data [DFT_DATA_LENGTH] ;
264 gen_windowed_sine_double (double_data, DFT_DATA_LENGTH, 0.9999) ;
275 test_write_double_or_die (file, 0, double_data, DFT_DATA_LENGTH, __LINE__) ;
297 …snr = dft_cmp_double (__LINE__, double_data, double_test, DFT_DATA_LENGTH, target_snr, allow_exit)…
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dconvert_tensor_utils.cc47 auto double_data = static_cast<const double *>(src); in DoubleToFloat() local
50 float_data[i] = static_cast<float>(double_data[i]); in DoubleToFloat()
59 auto double_data = static_cast<double *>(dst); in FloatToDouble() local
61 double_data[i] = static_cast<double>(float_data[i]); in FloatToDouble()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp2249 const double double_data[] = { in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans() local
2285 gl.uniform1dv(uniform_location, 1 /* count */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
2288 gl.uniform2dv(uniform_location, 1 /* count */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
2291 gl.uniform3dv(uniform_location, 1 /* count */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
2294 gl.uniform4dv(uniform_location, 1 /* count */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
2298 gl.uniformMatrix2dv(uniform_location, 1 /* count */, GL_FALSE /* transpose */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
2301 gl.uniformMatrix2x3dv(uniform_location, 1 /* count */, GL_FALSE /* transpose */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
2304 gl.uniformMatrix2x4dv(uniform_location, 1 /* count */, GL_FALSE /* transpose */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
2307 gl.uniformMatrix3dv(uniform_location, 1 /* count */, GL_FALSE /* transpose */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
2310 gl.uniformMatrix3x2dv(uniform_location, 1 /* count */, GL_FALSE /* transpose */, double_data); in verifyErrorGenerationWhenCallingDoubleUniformFunctionsForBooleans()
[all …]
Dgl4cShadingLanguage420PackTests.cpp4558 static const GLdouble double_data[16] = { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, in prepareUniforms() local
4570 program.uniform("uni_left", Utils::DOUBLE, test_case.m_n_cols, test_case.m_n_rows, double_data); in prepareUniforms()
4571 program.uniform("uni_right", Utils::DOUBLE, test_case.m_n_cols, test_case.m_n_rows, double_data); in prepareUniforms()
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/
Dcaffe_node_parser.cc64 buf[i] = proto.double_data(i); in ConvertWeight()
Dcaffe_model_parser.cc531 buf[j] = layer.blobs(j).double_data(j); in ConvertBlobs()
/third_party/mindspore/mindspore/core/proto/
Dmind_ir.proto125 repeated double double_data = 10; field
/third_party/grpc/src/cpp/server/load_reporter/
Dload_reporter.cc169 auto it_row = it_vd->second.double_data().find(tag_values); in GetRelatedViewDataRowDouble()
170 GPR_ASSERT(it_row != it_vd->second.double_data().end()); in GetRelatedViewDataRowDouble()
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_node_parser.cc201 onnx_data = onnx_const_tensor.double_data().data(); in GetOnnxRawData()
/third_party/mindspore/mindspore/ccsrc/utils/
Danf_ir.proto327 repeated double double_data = 6 [packed = true]; field
/third_party/mindspore/third_party/proto/onnx/
Donnx.proto452 repeated double double_data = 10 [packed = true]; field
/third_party/mindspore/third_party/proto/caffe/
Dcaffe.proto14 repeated double double_data = 8 [packed = true]; field