Home
last modified time | relevance | path

Searched refs:nextMultiple (Results 1 – 25 of 36) sorted by relevance

12

/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/shims/
H A DOperationTest.cpp195 using blaze::nextMultiple; in testNextMultiple()
200 if( nextMultiple( 7, 4 ) != 8 || in testNextMultiple()
201 nextMultiple( 8, 4 ) != 8 || in testNextMultiple()
202 nextMultiple( 9, 4 ) != 12 ) { in testNextMultiple()
214 if( nextMultiple( 7U, 4U ) != 8U || in testNextMultiple()
215 nextMultiple( 8U, 4U ) != 8U || in testNextMultiple()
216 nextMultiple( 9U, 4U ) != 12U ) { in testNextMultiple()
228 if( nextMultiple( 7L, 4L ) != 8L || in testNextMultiple()
229 nextMultiple( 8L, 4L ) != 8L || in testNextMultiple()
230 nextMultiple( 9L, 4L ) != 12L ) { in testNextMultiple()
[all …]
/dports/math/primesieve/primesieve-7.7/include/primesieve/
H A DWheel.hpp90 uint64_t nextMultiple = prime * nextMultipleFactor; in addSievingPrime() local
91 if (nextMultiple > stop_ - multiple) in addSievingPrime()
94 nextMultiple += multiple - segmentLow; in addSievingPrime()
95 uint64_t multipleIndex = nextMultiple / 30; in addSievingPrime()
/dports/math/primecount/primecount-7.2/lib/primesieve/include/primesieve/
H A DWheel.hpp90 uint64_t nextMultiple = prime * nextMultipleFactor; in addSievingPrime() local
91 if (nextMultiple > stop_ - multiple) in addSievingPrime()
94 nextMultiple += multiple - segmentLow; in addSievingPrime()
95 uint64_t multipleIndex = nextMultiple / 30; in addSievingPrime()
/dports/games/warzone2100/warzone2100/3rdparty/glm/glm/ext/
H A Dvector_integer.inl47 GLM_FUNC_QUALIFIER vec<L, T, Q> nextMultiple(vec<L, T, Q> const& Source, T Multiple) function
49 …GLM_STATIC_ASSERT(std::numeric_limits<T>::is_integer, "'nextMultiple' only accept integer inputs");
51 return detail::functor2<vec, L, T, Q>::call(nextMultiple, Source, vec<L, T, Q>(Multiple));
55 …GLM_FUNC_QUALIFIER vec<L, T, Q> nextMultiple(vec<L, T, Q> const& Source, vec<L, T, Q> const& Multi… function
57 …GLM_STATIC_ASSERT(std::numeric_limits<T>::is_integer, "'nextMultiple' only accept integer inputs");
59 return detail::functor2<vec, L, T, Q>::call(nextMultiple, Source, Multiple);
H A Dvector_integer.hpp94 GLM_FUNC_DECL vec<L, T, Q> nextMultiple(vec<L, T, Q> const& v, T Multiple);
107 GLM_FUNC_DECL vec<L, T, Q> nextMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
H A Dscalar_integer.hpp66 GLM_FUNC_DECL genIUType nextMultiple(genIUType v, genIUType Multiple);
H A Dscalar_integer.inl193 GLM_FUNC_QUALIFIER genIUType nextMultiple(genIUType Source, genIUType Multiple) function
195 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'nextMultiple' only accept integer …
/dports/math/glm/glm-0.9.9.8/glm/ext/
H A Dvector_integer.inl47 GLM_FUNC_QUALIFIER vec<L, T, Q> nextMultiple(vec<L, T, Q> const& Source, T Multiple) function
49 …GLM_STATIC_ASSERT(std::numeric_limits<T>::is_integer, "'nextMultiple' only accept integer inputs");
51 return detail::functor2<vec, L, T, Q>::call(nextMultiple, Source, vec<L, T, Q>(Multiple));
55 …GLM_FUNC_QUALIFIER vec<L, T, Q> nextMultiple(vec<L, T, Q> const& Source, vec<L, T, Q> const& Multi… function
57 …GLM_STATIC_ASSERT(std::numeric_limits<T>::is_integer, "'nextMultiple' only accept integer inputs");
59 return detail::functor2<vec, L, T, Q>::call(nextMultiple, Source, Multiple);
H A Dvector_integer.hpp94 GLM_FUNC_DECL vec<L, T, Q> nextMultiple(vec<L, T, Q> const& v, T Multiple);
107 GLM_FUNC_DECL vec<L, T, Q> nextMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
H A Dscalar_integer.hpp66 GLM_FUNC_DECL genIUType nextMultiple(genIUType v, genIUType Multiple);
H A Dscalar_integer.inl193 GLM_FUNC_QUALIFIER genIUType nextMultiple(genIUType Source, genIUType Multiple) function
195 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'nextMultiple' only accept integer …
/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/what4-1.1/src/What4/Utils/
H A DArithmetic.hs17 , nextMultiple
93 nextMultiple :: Integral a => a -> a -> a
94 nextMultiple x y = ((y + x - 1) `div` x) * x function
/dports/math/blaze/blaze-3.8/blazetest/blazetest/mathtest/matrices/hybridmatrix/
H A DClassTest.h263 …BLAZE_STATIC_ASSERT( sizeof(AlignedPadded) == sizeof(Type)*7UL*blaze::nextMultiple( 5UL, SIMDSIZE … in testAlignment()
292 …BLAZE_STATIC_ASSERT( sizeof(AlignedPadded) == sizeof(Type)*5UL*blaze::nextMultiple( 7UL, SIMDSIZE … in testAlignment()
326 …BLAZE_STATIC_ASSERT( sizeof(AlignedUnpadded) == sizeof(Type)*7UL*blaze::nextMultiple( 64UL, SIMDSI… in testAlignment()
355 …BLAZE_STATIC_ASSERT( sizeof(AlignedUnpadded) == sizeof(Type)*5UL*blaze::nextMultiple( 64UL, SIMDSI… in testAlignment()
389 …BLAZE_STATIC_ASSERT( sizeof(UnalignedPadded) == sizeof(Type)*7UL*blaze::nextMultiple( 5UL, SIMDSIZ… in testAlignment()
398 …BLAZE_STATIC_ASSERT( sizeof(UnalignedPadded) == sizeof(Type)*5UL*blaze::nextMultiple( 7UL, SIMDSIZ… in testAlignment()
412 …BLAZE_STATIC_ASSERT( sizeof(UnalignedUnpadded) == blaze::nextMultiple( sizeof(Type)*7UL*5UL, overh… in testAlignment()
421 …BLAZE_STATIC_ASSERT( sizeof(UnalignedUnpadded) == blaze::nextMultiple( sizeof(Type)*7UL*5UL, overh… in testAlignment()
/dports/math/blaze/blaze-3.8/blazetest/blazetest/mathtest/vectors/hybridvector/
H A DClassTest.h238 …BLAZE_STATIC_ASSERT( sizeof(AlignedPadded) == sizeof(Type)*blaze::nextMultiple( 7UL, SIMDSIZE ) + … in testAlignment()
267 …BLAZE_STATIC_ASSERT( sizeof(AlignedUnpadded) == sizeof(Type)*blaze::nextMultiple( 7UL, SIMDSIZE ) … in testAlignment()
296 …BLAZE_STATIC_ASSERT( sizeof(UnalignedPadded) == sizeof(Type)*blaze::nextMultiple( 7UL, SIMDSIZE ) … in testAlignment()
310 …BLAZE_STATIC_ASSERT( sizeof(UnalignedUnpadded) == blaze::nextMultiple( sizeof(Type)*7UL, overhead … in testAlignment()
/dports/math/blaze/blaze-3.8/blazetest/blazetest/mathtest/matrices/staticmatrix/
H A DClassTest.h257 …BLAZE_STATIC_ASSERT( sizeof(AlignedPadded) == sizeof(Type)*7UL*blaze::nextMultiple( 5UL, SIMDSIZE … in testAlignment()
286 …BLAZE_STATIC_ASSERT( sizeof(AlignedPadded) == sizeof(Type)*5UL*blaze::nextMultiple( 7UL, SIMDSIZE … in testAlignment()
320 …BLAZE_STATIC_ASSERT( sizeof(AlignedUnpadded) == sizeof(Type)*7UL*blaze::nextMultiple( 64UL, SIMDSI… in testAlignment()
349 …BLAZE_STATIC_ASSERT( sizeof(AlignedUnpadded) == sizeof(Type)*5UL*blaze::nextMultiple( 64UL, SIMDSI… in testAlignment()
383 …BLAZE_STATIC_ASSERT( sizeof(UnalignedPadded) == sizeof(Type)*7UL*blaze::nextMultiple( 5UL, SIMDSIZ… in testAlignment()
392 …BLAZE_STATIC_ASSERT( sizeof(UnalignedPadded) == sizeof(Type)*5UL*blaze::nextMultiple( 7UL, SIMDSIZ… in testAlignment()
/dports/math/blaze/blaze-3.8/blaze/math/shims/
H A DNextMultiple.h68 BLAZE_ALWAYS_INLINE constexpr auto nextMultiple( T1 value, T2 factor ) noexcept in nextMultiple() function
/dports/games/warzone2100/warzone2100/3rdparty/glm/test/ext/
H A Dext_scalar_integer.cpp373 namespace nextMultiple namespace
386 Results[Source * Multiples + Multiple] = glm::nextMultiple(Source, Multiples); in perf_nextMultiple()
551 T const Result0 = glm::nextMultiple(Data[i].Source, Data[i].Multiple); in test_uint()
669 Error += nextMultiple::test(); in main()
673 Error += nextMultiple::perf(); in main()
H A Dext_vector_integer.cpp362 namespace nextMultiple namespace
389 …glm::vec<L, T> const Result0 = glm::nextMultiple(glm::vec<L, T>(Data[i].Source), glm::vec<L, T>(Da… in run()
392 …glm::vec<L, T> const Result1 = glm::nextMultiple(glm::vec<L, T>(Data[i].Source), Data[i].Multiple); in run()
543 Error += nextMultiple::test(); in main()
/dports/math/glm/glm-0.9.9.8/test/ext/
H A Dext_scalar_integer.cpp373 namespace nextMultiple namespace
386 Results[Source * Multiples + Multiple] = glm::nextMultiple(Source, Multiples); in perf_nextMultiple()
551 T const Result0 = glm::nextMultiple(Data[i].Source, Data[i].Multiple); in test_uint()
669 Error += nextMultiple::test(); in main()
673 Error += nextMultiple::perf(); in main()
H A Dext_vector_integer.cpp362 namespace nextMultiple namespace
389 …glm::vec<L, T> const Result0 = glm::nextMultiple(glm::vec<L, T>(Data[i].Source), glm::vec<L, T>(Da… in run()
392 …glm::vec<L, T> const Result1 = glm::nextMultiple(glm::vec<L, T>(Data[i].Source), Data[i].Multiple); in run()
543 Error += nextMultiple::test(); in main()
/dports/math/blaze/blaze-3.8/blazetest/blazetest/mathtest/vectors/staticvector/
H A DClassTest.h235 … BLAZE_STATIC_ASSERT( sizeof(AlignedPadded) == sizeof(Type)*blaze::nextMultiple( 7UL, SIMDSIZE ) ); in testAlignment()
264 …BLAZE_STATIC_ASSERT( sizeof(AlignedUnpadded) == sizeof(Type)*blaze::nextMultiple( 7UL, SIMDSIZE ) … in testAlignment()
293 …BLAZE_STATIC_ASSERT( sizeof(UnalignedPadded) == sizeof(Type)*blaze::nextMultiple( 7UL, SIMDSIZE ) … in testAlignment()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageUtil.cpp57 deUint32 nextMultiple = value; in getNextMultiple() local
65 nextMultipleFound = nextMultipleFound && (nextMultiple % divisors[divNdx] == 0); in getNextMultiple()
70 DE_ASSERT(nextMultiple < ~((deUint32)0u)); in getNextMultiple()
71 nextMultiple = getNextMultiple(divisors[0], nextMultiple + 1); in getNextMultiple()
74 return nextMultiple; in getNextMultiple()
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/matrices/custommatrix/
H A DUnalignedPaddedTest1.cpp866 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
943 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1060 const size_t spacing1( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
1138 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1346 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1906 const size_t spacing2( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
1984 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2103 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2181 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2390 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
[all …]
H A DAlignedPaddedTest1.cpp935 const size_t spacing( blaze::nextMultiple<size_t>( columns, 32UL ) ); in testAssignment()
1012 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1129 const size_t spacing1( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
1207 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1415 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1975 const size_t spacing2( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2053 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2172 const size_t spacing( blaze::nextMultiple<size_t>( rows, 32UL ) ); in testAssignment()
2250 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2459 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
[all …]
H A DAlignedUnpaddedTest1.cpp1032 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1109 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1226 const size_t spacing1( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
1304 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
1512 const size_t spacing( blaze::nextMultiple<size_t>( columns, 16UL ) ); in testAssignment()
2072 const size_t spacing2( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2150 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2269 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2347 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
2556 const size_t spacing( blaze::nextMultiple<size_t>( rows, 16UL ) ); in testAssignment()
[all …]

12