Home
last modified time | relevance | path

Searched refs:dbls (Results 1 – 25 of 100) sorted by relevance

1234

/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/extension/internal/
H A Dgimpgrad.cpp184 double dbls[3 + 4 + 4]; in open() local
186 for (double & dbl : dbls) { in open()
199 double const left = dbls[0]; in open()
203 double const middle = dbls[1]; in open()
207 double const right = dbls[2]; in open()
212 ColorRGBA const leftcolor(dbls[3], dbls[4], dbls[5], dbls[6]); in open()
213 ColorRGBA const rightcolor(dbls[7], dbls[8], dbls[9], dbls[10]); in open()
214 g_assert(11 == G_N_ELEMENTS(dbls)); in open()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/test/
H A DCpp2ProtocolTest.cpp114 Doubles dbls; in runDoubleTest() local
115 *dbls.inf_ref() = HUGE_VAL; in runDoubleTest()
116 *dbls.neginf_ref() = -HUGE_VAL; in runDoubleTest()
117 *dbls.nan_ref() = NAN; in runDoubleTest()
118 *dbls.repeating_ref() = 9.0 / 11.0; in runDoubleTest()
121 *dbls.zero_ref() = 0.0; in runDoubleTest()
122 *dbls.negzero_ref() = -0.0; in runDoubleTest()
129 dbls.write(&prot); in runDoubleTest()
191 Doubles dbls; in TEST() local
194 ASSERT_EQ(*dbls.big_ref(), 10.0); in TEST()
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/src/c/getHandleProperty/
H A Dget_ticks_st_property.c39 double * dbls = NULL; in get_ticks_st_property() local
40 getGraphicObjectProperty(iObjUID, propr[i], jni_double_vector, (void **)&dbls); in get_ticks_st_property()
41 if (dbls == NULL) in get_ticks_st_property()
46 factors[2 * i] = dbls[0]; in get_ticks_st_property()
47 factors[2 * i + 1] = dbls[1]; in get_ticks_st_property()
/dports/math/scilab/scilab-6.1.1/scilab/modules/dynamic_link/sci_gateway/cpp/
H A Dsci_call.cpp161 double* dbls = NULL; in sci_call() local
162 scilab_getDoubleArray(env, in[pos], &dbls); in sci_call()
163 data = dbls; in sci_call()
168 double* dbls = NULL; in sci_call() local
174 f[i] = (float)dbls[i]; in sci_call()
183 double* dbls = NULL; in sci_call() local
189 ints[i] = (int)dbls[i]; in sci_call()
244 double* dbls = (double*)malloc(size); in sci_call() local
246 params[order - 1].data = dbls; in sci_call()
314 memcpy(dbls, p.data, size); in sci_call()
[all …]
/dports/databases/arrow/apache-arrow-6.0.1/r/tests/testthat/
H A Dtest-altrep.R199 dbls <- c(1, 2, NA_real_) vector
203 expect_identical(dbls, unserialize(serialize(Array$create(dbls)$as_vector(), NULL)))
210 dbls <- c(1, 2, NA_real_) vector
213 expect_identical(ints, as.integer(Array$create(dbls)$as_vector()))
216 expect_identical(dbls, as.numeric(Array$create(ints)$as_vector()))
217 expect_identical(dbls, as.numeric(Array$create(strs)$as_vector()))
220 expect_identical(strs, as.character(Array$create(dbls)$as_vector()))
/dports/lang/ghc/ghc-8.10.7/libraries/base/tests/Numeric/
H A Dnum008.hs8 let dbls = map (shEFloat (Just 7)) doubles function
28 putStrLn (unlines dbls)
30 print (map read dbls :: [Double])
/dports/net/p5-Net-Gnats/Net-Gnats-0.22/t/
H A Dgnats_dbls.t52 my $c1 = Net::Gnats::Command->dbls();
53 my $c2 = Net::Gnats::Command->dbls('garbage');
54 my $c3 = Net::Gnats::Command->dbls(garbage => 'garbage');
55 my $c4_bad = Net::Gnats::Command->dbls();
/dports/cad/opencascade/opencascade-7.6.0/src/TDataStd/
H A DTDataStd_NamedData.cxx763 const Handle(TColStd_HArray1OfReal)& dbls = itr.Value(); in Restore()
765 if (!dbls.IsNull()) in Restore()
767 Standard_Integer lower = dbls->Lower(), i = lower, upper = dbls->Upper(); in Restore()
771 copied_dbls->SetValue(i, dbls->Value(i)); in Restore()
866 const Handle(TColStd_HArray1OfReal)& dbls = itr.Value(); in Paste()
868 if (!dbls.IsNull()) in Paste()
870 Standard_Integer lower = dbls->Lower(), i = lower, upper = dbls->Upper(); in Paste()
874 copied_dbls->SetValue(i, dbls->Value(i)); in Paste()
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/convert/test/
H A Dstrtol_converter.cpp224 double const dbls[] = { 0.90, 1.0, 1.1, 0.94, 0.96, 1.04, 1.05, 1.06, 9.654, 999.888 }; in test_dbl_to_str() local
225 int const num_dbls = sizeof(dbls) / sizeof(dbls[0]); in test_dbl_to_str()
242 compare(std::make_pair( dbls[k], precision)); in test_dbl_to_str()
243 compare(std::make_pair(-dbls[k], precision)); in test_dbl_to_str()
H A Dperformance.cpp99 static array<double>::type dbls; in get() local
107 for (size_t k = 0; k < dbls.size(); ++k) in get()
108 dbls[k] = double(dist(gen)) + 0.7654321; in get()
112 return dbls; in get()
/dports/databases/percona57-server/boost_1_59_0/libs/convert/test/
H A Dstrtol_converter.cpp224 double const dbls[] = { 0.90, 1.0, 1.1, 0.94, 0.96, 1.04, 1.05, 1.06, 9.654, 999.888 }; in test_dbl_to_str() local
225 int const num_dbls = sizeof(dbls) / sizeof(dbls[0]); in test_dbl_to_str()
242 compare(std::make_pair( dbls[k], precision)); in test_dbl_to_str()
243 compare(std::make_pair(-dbls[k], precision)); in test_dbl_to_str()
H A Dperformance.cpp99 static array<double>::type dbls; in get() local
107 for (size_t k = 0; k < dbls.size(); ++k) in get()
108 dbls[k] = double(dist(gen)) + 0.7654321; in get()
112 return dbls; in get()
/dports/databases/xtrabackup/boost_1_59_0/libs/convert/test/
H A Dstrtol_converter.cpp224 double const dbls[] = { 0.90, 1.0, 1.1, 0.94, 0.96, 1.04, 1.05, 1.06, 9.654, 999.888 }; in test_dbl_to_str() local
225 int const num_dbls = sizeof(dbls) / sizeof(dbls[0]); in test_dbl_to_str()
242 compare(std::make_pair( dbls[k], precision)); in test_dbl_to_str()
243 compare(std::make_pair(-dbls[k], precision)); in test_dbl_to_str()
H A Dperformance.cpp99 static array<double>::type dbls; in get() local
107 for (size_t k = 0; k < dbls.size(); ++k) in get()
108 dbls[k] = double(dist(gen)) + 0.7654321; in get()
112 return dbls; in get()
/dports/databases/percona57-client/boost_1_59_0/libs/convert/test/
H A Dstrtol_converter.cpp224 double const dbls[] = { 0.90, 1.0, 1.1, 0.94, 0.96, 1.04, 1.05, 1.06, 9.654, 999.888 }; in test_dbl_to_str() local
225 int const num_dbls = sizeof(dbls) / sizeof(dbls[0]); in test_dbl_to_str()
242 compare(std::make_pair( dbls[k], precision)); in test_dbl_to_str()
243 compare(std::make_pair(-dbls[k], precision)); in test_dbl_to_str()
H A Dperformance.cpp99 static array<double>::type dbls; in get() local
107 for (size_t k = 0; k < dbls.size(); ++k) in get()
108 dbls[k] = double(dist(gen)) + 0.7654321; in get()
112 return dbls; in get()
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/convert/test/
H A Dstrtol_converter.cpp224 double const dbls[] = { 0.90, 1.0, 1.1, 0.94, 0.96, 1.04, 1.05, 1.06, 9.654, 999.888 }; in test_dbl_to_str() local
225 int const num_dbls = sizeof(dbls) / sizeof(dbls[0]); in test_dbl_to_str()
242 compare(std::make_pair( dbls[k], precision)); in test_dbl_to_str()
243 compare(std::make_pair(-dbls[k], precision)); in test_dbl_to_str()
H A Dperformance.cpp99 static array<double>::type dbls; in get() local
107 for (size_t k = 0; k < dbls.size(); ++k) in get()
108 dbls[k] = double(dist(gen)) + 0.7654321; in get()
112 return dbls; in get()
/dports/graphics/mapserver/mapserver-7.6.4/
H A Dmapoglrenderer.cpp511 GLdouble* dbls = new GLdouble[5]; in renderPolygon() local
512 pointers.push_back(dbls); in renderPolygon()
513 dbls[0] = p->line[j].point[i].x; in renderPolygon()
514 dbls[1] = p->line[j].point[i].y; in renderPolygon()
515 dbls[2] = 0.0; in renderPolygon()
516 dbls[3] = texWidth; in renderPolygon()
517 dbls[4] = texHeight; in renderPolygon()
518 gluTessVertex(tess, dbls, dbls); in renderPolygon()
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/console/utils/
H A Dformat_utils.py154 dbls = sum(east_asian_width(c) in 'WF' for c in col)
156 dbls = 0
158 size = len(col) + dbls
160 return trim_string(col, lim, dbls > 0)
/dports/devel/libsoup/libsoup-2.74.0/tests/
H A Dxmlrpc-old-test.c101 GValueArray *dbls; in test_sum() local
111 dbls = g_value_array_new (10); in test_sum()
115 soup_value_array_append (dbls, G_TYPE_DOUBLE, val); in test_sum()
121 G_TYPE_VALUE_ARRAY, dbls, in test_sum()
124 g_value_array_free (dbls); in test_sum()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/corelib/test/
H A Dtest_strdbl.cpp1158 vector<double> dbls; in RunD2SSpeedBenchmark() local
1167 dbls.clear(); in RunD2SSpeedBenchmark()
1169 dbls.push_back( GenerateDouble()); in RunD2SSpeedBenchmark()
1175 for (vector<double>::const_iterator d=dbls.begin(); d != dbls.end(); ++d) { in RunD2SSpeedBenchmark()
1180 for (vector<double>::const_iterator d=dbls.begin(); d != dbls.end(); ++d) { in RunD2SSpeedBenchmark()
1200 vector<double> dbls; in RunD2SPrecisionBenchmark() local
1242 dbls.clear(); in RunD2SPrecisionBenchmark()
1246 dbls.push_back( special[i]); in RunD2SPrecisionBenchmark()
1250 dbls.push_back( GenerateDouble()); in RunD2SPrecisionBenchmark()
1253 for (vector<double>::const_iterator d=dbls.begin(); d != dbls.end(); ++d) { in RunD2SPrecisionBenchmark()
/dports/devel/boost-docs/boost_1_72_0/libs/convert/test/
H A Dperformance.cpp103 static array<double>::type dbls; in get() local
111 for (size_t k = 0; k < dbls.size(); ++k) in get()
112 dbls[k] = double(dist(gen)) + 0.7654321; in get()
116 return dbls; in get()
/dports/devel/boost-python-libs/boost_1_72_0/libs/convert/test/
H A Dperformance.cpp103 static array<double>::type dbls; in get() local
111 for (size_t k = 0; k < dbls.size(); ++k) in get()
112 dbls[k] = double(dist(gen)) + 0.7654321; in get()
116 return dbls; in get()
/dports/devel/boost-libs/boost_1_72_0/libs/convert/test/
H A Dperformance.cpp103 static array<double>::type dbls; in get() local
111 for (size_t k = 0; k < dbls.size(); ++k) in get()
112 dbls[k] = double(dist(gen)) + 0.7654321; in get()
116 return dbls; in get()

1234