Home
last modified time | relevance | path

Searched refs:is_power2 (Results 1 – 25 of 83) sorted by relevance

1234

/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libc/src/string/memory_utils/
H A Dutils.h25 static constexpr bool is_power2(size_t value) { in is_power2() function
47 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
52 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libc/src/string/memory_utils/
H A Dutils.h25 static constexpr bool is_power2(size_t value) { in is_power2() function
47 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
52 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
/dports/devel/llvm12/llvm-project-12.0.1.src/libc/src/string/memory_utils/
H A Dutils.h25 static constexpr bool is_power2(size_t value) { in is_power2() function
47 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
52 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
H A Dmemcpy_utils.h92 static_assert(is_power2(kAlignment), "kAlignment must be a power of two"); in CopyAlignedBlocks()
93 static_assert(is_power2(kBlockSize), "kBlockSize must be a power of two"); in CopyAlignedBlocks()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libc/src/string/memory_utils/
H A Dutils.h25 static constexpr bool is_power2(size_t value) { in is_power2() function
47 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
52 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
H A Dmemcpy_utils.h92 static_assert(is_power2(kAlignment), "kAlignment must be a power of two"); in CopyAlignedBlocks()
93 static_assert(is_power2(kBlockSize), "kBlockSize must be a power of two"); in CopyAlignedBlocks()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libc/src/string/memory_utils/
H A Dutils.h41 static constexpr bool is_power2(size_t value) { in is_power2() function
63 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
68 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libc/src/string/memory_utils/
H A Dutils.h41 static constexpr bool is_power2(size_t value) { in is_power2() function
63 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
68 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libc/src/string/memory_utils/
H A Dutils.h41 static constexpr bool is_power2(size_t value) { in is_power2() function
63 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
68 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
/dports/devel/llvm13/llvm-project-13.0.1.src/libc/src/string/memory_utils/
H A Dutils.h41 static constexpr bool is_power2(size_t value) { in is_power2() function
63 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
68 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/atoms/elementwise/
H A Dpower.py24 from cvxpy.utilities.power_tools import is_power2, pow_high, pow_mid, pow_neg
264 if is_power2(p):
281 if is_power2(p):
343 if not is_power2(p) and np.min(values[0]) <= 0:
365 elif (p < 1 and not p == 0) or (p > 1 and not is_power2(p)):
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/nasm/nasmlib/
H A Dmmap.c60 nasm_pagemask = ps = is_power2(ps) ? (ps - 1) : 0; in get_pagemask()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/nasm/nasmlib/
H A Dmmap.c60 nasm_pagemask = ps = is_power2(ps) ? (ps - 1) : 0; in get_pagemask()
/dports/devel/nasm/nasm-2.15.05/nasmlib/
H A Dmmap.c60 nasm_pagemask = ps = is_power2(ps) ? (ps - 1) : 0; in get_pagemask()
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/utilities/
H A Dpower_tools.py127 def is_power2(num) -> bool: function
174 elif isinstance(frac, Fraction) and frac >= 0 and is_power2(frac.denominator):
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libc/test/src/string/memory_utils/
H A Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libc/test/src/string/memory_utils/
H A Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/dports/devel/llvm12/llvm-project-12.0.1.src/libc/test/src/string/memory_utils/
H A Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libc/test/src/string/memory_utils/
H A Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libc/test/src/string/memory_utils/
H A Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libc/test/src/string/memory_utils/
H A Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libc/test/src/string/memory_utils/
H A Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/dports/devel/llvm13/llvm-project-13.0.1.src/libc/test/src/string/memory_utils/
H A Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/dports/math/z3/z3-z3-4.8.13/src/tactic/arith/
H A Dbv2int_rewriter.h47 bool is_power2(expr* x, expr*& log_x);
/dports/math/py-z3-solver/z3-z3-4.8.10/src/tactic/arith/
H A Dbv2int_rewriter.h47 bool is_power2(expr* x, expr*& log_x);

1234