Home
last modified time | relevance | path

Searched refs:zeros (Results 176 – 200 of 30477) sorted by relevance

12345678910>>...1220

/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/core/
H A DSkMath.cpp14 #define sub_shift(zeros, x, n) \ argument
15 zeros -= n; \
23 int zeros = 31; in SkCLZ_portable() local
25 sub_shift(zeros, x, 16); in SkCLZ_portable()
28 sub_shift(zeros, x, 8); in SkCLZ_portable()
31 sub_shift(zeros, x, 4); in SkCLZ_portable()
34 sub_shift(zeros, x, 2); in SkCLZ_portable()
37 sub_shift(zeros, x, 1); in SkCLZ_portable()
40 return zeros; in SkCLZ_portable()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/core/
H A DSkMath.cpp15 #define sub_shift(zeros, x, n) \ argument
16 zeros -= n; \
24 int zeros = 31; in SkCLZ_portable() local
26 sub_shift(zeros, x, 16); in SkCLZ_portable()
29 sub_shift(zeros, x, 8); in SkCLZ_portable()
32 sub_shift(zeros, x, 4); in SkCLZ_portable()
35 sub_shift(zeros, x, 2); in SkCLZ_portable()
38 sub_shift(zeros, x, 1); in SkCLZ_portable()
41 return zeros; in SkCLZ_portable()
/dports/science/py-pygmo2/pygmo2-2.18.0/pygmo/
H A D_r_policy_test.py81 …([], np.zeros((0, 2)), np.zeros((0, 2))), 1, 0, 1, 0, 0, [], ([], np.zeros((0, 2)), np.zeros((0, 2…
83 … [1.1], [2.2]]), 2, 0, 1, 0, 0, [], ([], np.zeros((0, 2)), np.zeros((0, 2))))
112 … [2.2]]), nx=2, nix=0, nobj=1, nec=0, nic=0, tol=[], mig=([], np.zeros((0, 2)), np.zeros((0, 2)))))
115 …[1.1], [2.2]]), nec=0, nix=0, nobj=1, nic=0, mig=([], np.zeros((0, 2)), np.zeros((0, 2))), tol=[]))
123 [1.1], [2.2]]), 2, 0, 1, 0, 0, [], ([], np.zeros((0, 2)), np.zeros((0, 2)))))
131 [1.1], [2.2]]), 2, 0, 1, 0, 0, [], ([], np.zeros((0, 2)), np.zeros((0, 2)))))
139 [1.1], [2.2]]), 2, 0, 1, 0, 0, [], ([], np.zeros((0, 2)), np.zeros((0, 2)))))
147 [1.1], [2.2]]), 2, 0, 1, 0, 0, [], ([], np.zeros((0, 2)), np.zeros((0, 2)))))
156 [1.1], [2.2]]), 2, 0, 1, 0, 0, [], ([], np.zeros((0, 2)), np.zeros((0, 2))))
159 [1.1], [2.2]]), 2, 0, 1, 0, 0, [], ([], np.zeros((0, 2)), np.zeros((0, 2))))
[all …]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/feature/tests/
H A Dtest_peak.py16 trivial = np.zeros((25, 25))
73 image = np.zeros((3, 10))
231 image = np.zeros((10, 20))
249 image = np.zeros((10, 20))
261 image = np.zeros((10, 20))
273 image = np.zeros((10, 20))
292 image = np.zeros((10, 20))
306 image = np.zeros((10, 20))
321 image = np.zeros((10, 20))
432 image = np.zeros((5, 5))
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libzrtp/third_party/bnlib/test/
H A Drandtest.c71 zeros[i] = 0; in countrunsbig()
89 (state ? ones : zeros)[runlength-1]++; in countrunsbig()
102 (state ? ones : zeros)[runlength-1]++; in countrunsbig()
119 zeros[i] = 0; in countrunslittle()
137 (state ? ones : zeros)[runlength-1]++; in countrunslittle()
150 (state ? ones : zeros)[runlength-1]++; in countrunslittle()
171 if (zeros[j] || ones[j]) in checkruns()
176 passed = (lowlimit[i] < zeros[i]) && (zeros[i] < highlimit[i]); in checkruns()
179 i+1, lowlimit[i], zeros[i], highlimit[i], in checkruns()
190 i+1, zeros[i]); in checkruns()
[all …]
/dports/net-p2p/c-lightning/lightning-0.10.2/external/libwally-core/src/
H A Dbase58.c172 size_t bn_bytes = 0, zeros, i, orig_len = bytes_len; in wally_base58_from_bytes() local
190 for (zeros = 0; zeros < bytes_len && !b(zeros); ++zeros) in wally_base58_from_bytes()
193 if (zeros == bytes_len) { in wally_base58_from_bytes()
194 if (!(*output = wally_malloc(zeros + 1))) { in wally_base58_from_bytes()
199 memset(*output, '1', zeros); in wally_base58_from_bytes()
200 (*output)[zeros] = '\0'; in wally_base58_from_bytes()
216 for (i = zeros; i < bytes_len; ++i) { in wally_base58_from_bytes()
233 if (!(*output = wally_malloc(zeros + bn_bytes + 1))) { in wally_base58_from_bytes()
238 memset(*output, '1', zeros); in wally_base58_from_bytes()
240 (*output)[zeros + i] = byte_to_base58[top_byte[i]]; in wally_base58_from_bytes()
[all …]
/dports/devel/simgear/simgear-2020.3.11/simgear/sound/
H A Dsample.cxx52 _absolute_pos(SGVec3d::zeros()), in SGSoundSampleInfo()
53 _relative_pos(SGVec3d::zeros()), in SGSoundSampleInfo()
54 _direction(SGVec3d::zeros()), in SGSoundSampleInfo()
55 _velocity(SGVec3f::zeros()), in SGSoundSampleInfo()
56 _orientation(SGQuatd::zeros()), in SGSoundSampleInfo()
57 _orivec(SGVec3f::zeros()), in SGSoundSampleInfo()
58 _base_pos(SGVec3d::zeros()), in SGSoundSampleInfo()
59 _rotation(SGQuatd::zeros()) in SGSoundSampleInfo()
115 _orivec = SGVec3f::zeros(); in update_pos_and_orientation()
/dports/science/py-GPy/GPy-1.10.0/GPy/kern/src/
H A Dsde_static.py50 dF = np.zeros((1,1,1))
51 dQc = np.zeros((1,1,1))
54 dPinf = np.zeros((1,1,1))
90 Qc = np.zeros((1,1))
93 Pinf = np.zeros((1,1))
96 dF = np.zeros((1,1,1))
97 dQc = np.zeros((1,1,1))
99 dPinf = np.zeros((1,1,1))
100 dP0 = np.zeros((1,1,1))
/dports/devel/boost-docs/boost_1_72_0/libs/math/test/
H A Dtest_legendre.hpp276 BOOST_ASSERT(zeros.size() == 1); in test_legendre_p_zeros()
277 BOOST_CHECK_SMALL(zeros[0], tol); in test_legendre_p_zeros()
279 zeros = legendre_p_zeros<Real>(2); in test_legendre_p_zeros()
280 BOOST_ASSERT(zeros.size() == 1); in test_legendre_p_zeros()
283 zeros = legendre_p_zeros<Real>(3); in test_legendre_p_zeros()
284 BOOST_ASSERT(zeros.size() == 2); in test_legendre_p_zeros()
285 BOOST_CHECK_SMALL(zeros[0], tol); in test_legendre_p_zeros()
288 zeros = legendre_p_zeros<Real>(4); in test_legendre_p_zeros()
289 BOOST_ASSERT(zeros.size() == 2); in test_legendre_p_zeros()
295 BOOST_ASSERT(zeros.size() == 3); in test_legendre_p_zeros()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/math/test/
H A Dtest_legendre.hpp276 BOOST_ASSERT(zeros.size() == 1); in test_legendre_p_zeros()
277 BOOST_CHECK_SMALL(zeros[0], tol); in test_legendre_p_zeros()
279 zeros = legendre_p_zeros<Real>(2); in test_legendre_p_zeros()
280 BOOST_ASSERT(zeros.size() == 1); in test_legendre_p_zeros()
283 zeros = legendre_p_zeros<Real>(3); in test_legendre_p_zeros()
284 BOOST_ASSERT(zeros.size() == 2); in test_legendre_p_zeros()
285 BOOST_CHECK_SMALL(zeros[0], tol); in test_legendre_p_zeros()
288 zeros = legendre_p_zeros<Real>(4); in test_legendre_p_zeros()
289 BOOST_ASSERT(zeros.size() == 2); in test_legendre_p_zeros()
295 BOOST_ASSERT(zeros.size() == 3); in test_legendre_p_zeros()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/math/test/
H A Dtest_legendre.hpp276 BOOST_ASSERT(zeros.size() == 1); in test_legendre_p_zeros()
277 BOOST_CHECK_SMALL(zeros[0], tol); in test_legendre_p_zeros()
279 zeros = legendre_p_zeros<Real>(2); in test_legendre_p_zeros()
280 BOOST_ASSERT(zeros.size() == 1); in test_legendre_p_zeros()
283 zeros = legendre_p_zeros<Real>(3); in test_legendre_p_zeros()
284 BOOST_ASSERT(zeros.size() == 2); in test_legendre_p_zeros()
285 BOOST_CHECK_SMALL(zeros[0], tol); in test_legendre_p_zeros()
288 zeros = legendre_p_zeros<Real>(4); in test_legendre_p_zeros()
289 BOOST_ASSERT(zeros.size() == 2); in test_legendre_p_zeros()
295 BOOST_ASSERT(zeros.size() == 3); in test_legendre_p_zeros()
[all …]
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/ops/representations/
H A Dpolynomial_tensor_test.py32 two_body_a = numpy.zeros(
73 two_body_na = numpy.zeros(
86 two_body_b = numpy.zeros(
99 two_body_ab = numpy.zeros(
114 two_body_axb = numpy.zeros(
126 one_body_c = numpy.zeros(
128 two_body_c = numpy.zeros(
142 two_body_hole = numpy.zeros(
415 two_body = numpy.zeros(
435 two_body = numpy.zeros(
[all …]
/dports/graphics/vigra/vigra-8acd73a/vigranumpy/test/
H A Dtest_multidef.py138 im = np.zeros((6, 5), dtype=np.float64)
151 im = np.zeros((5, 5, 2), dtype=np.float64)
186 checkEqual(res, np.zeros((4, 5), dtype=np.uint8))
428 im = np.zeros((2, 3, 2), dtype=np.float32)
474 …vigra.colors.applyColortable(np.zeros((10, 11), dtype=np.uint8), np.zeros((10, 4), dtype=np.uint8))
476 …ert_raises(ValueError, vigra.colors.applyColortable, np.zeros((10, 11), dtype=np.uint8), np.zeros(…
480 im = np.zeros((10, 11), dtype=np.uint8)
483 im = np.zeros((10, 11, 12, 13), dtype=np.uint8)
509 im = np.zeros((4, 5, 6), dtype=np.uint8)
520 im = np.zeros((4, 5, 6, 7), dtype=np.uint8)
[all …]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/metrics/tests/
H A Dtest_set_metrics.py13 empty = np.zeros((0, 2), dtype=bool)
14 non_empty = np.zeros((3, 2), dtype=bool)
30 coords_a = np.zeros(shape, dtype=bool)
31 coords_b = np.zeros(shape, dtype=bool)
47 coords_a = np.zeros(shape, dtype=bool)
48 coords_b = np.zeros(shape, dtype=bool)
66 coords_a = np.zeros(shape, dtype=bool)
67 coords_b = np.zeros(shape, dtype=bool)
104 coords_a = np.zeros(shape, dtype=bool)
105 coords_b = np.zeros(shape, dtype=bool)
[all …]
/dports/math/suitesparse-config/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-klu/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-btf/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-amd/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-rbio/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-ldl/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-mongoose/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-cholmod/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-colamd/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-umfpack/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;
/dports/math/suitesparse-spqr/SuiteSparse-5.10.1/GraphBLAS/GraphBLAS/@GrB/
H A Dzeros.m1 function C = zeros (varargin) function
4 % C = zeros (n) ; n-by-n GrB double matrix with no entries.
5 % C = zeros (m,n) ; m-by-n GrB double matrix with no entries.
6 % C = zeros ([m,n]) ; m-by-n GrB double matrix with no entries.
7 % C = zeros (..., type) ; empty matrix of given type.
8 % C = zeros (..., 'like', G) ; empty matrix, same type as G.
10 % Since function overloads the MATLAB built-in zeros(...), at least one
12 % C = zeros (GrB (n))). Alternatively, C = GrB (n,n) can be used.
19 [m, n, type] = gb_parse_args ('zeros', varargin {:}) ;

12345678910>>...1220