Searched refs:maxUIntN (Results 1 – 3 of 3) sorted by relevance
131 TEST(MathExtras, maxUIntN) { in TEST() argument132 EXPECT_EQ(0xffffULL, maxUIntN(16)); in TEST()133 EXPECT_EQ(0xffffffffULL, maxUIntN(32)); in TEST()134 EXPECT_EQ(1ULL, maxUIntN(1)); in TEST()135 EXPECT_EQ(0x0fULL, maxUIntN(4)); in TEST()
316 inline uint64_t maxUIntN(uint64_t N) {339 return N >= 64 || x <= maxUIntN(N);
332 inline uint64_t maxUIntN(uint64_t N) {361 return N >= 64 || x <= maxUIntN(N);