MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / or_equal

Function or_equal

external/atomic_queue/atomic_queue.h:100–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99template<class T>
100constexpr T or_equal(T x, unsigned u) noexcept {
101 return x | x >> u;
102}
103
104template<class T, class... Args>
105constexpr T or_equal(T x, unsigned u, Args... rest) noexcept {

Callers 1

round_up_to_power_of_2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected