• Home
  • Raw
  • Download

Lines Matching refs:IsUint

225 static_assert(!IsUint<1, int32_t>(-1), "TestIsUint32#1");
226 static_assert(IsUint<1, int32_t>(0), "TestIsUint32#2");
227 static_assert(IsUint<1, int32_t>(1), "TestIsUint32#3");
228 static_assert(!IsUint<1, int32_t>(2), "TestIsUint32#4");
229 static_assert(!IsUint<4, int32_t>(-1), "TestIsUint32#5");
230 static_assert(IsUint<4, int32_t>(0), "TestIsUint32#6");
231 static_assert(IsUint<4, int32_t>(15), "TestIsUint32#7");
232 static_assert(!IsUint<4, int32_t>(16), "TestIsUint32#8");
233 static_assert(!IsUint<30, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#9");
234 static_assert(IsUint<31, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#10");
235 static_assert(!IsUint<32, int32_t>(-1), "TestIsUint32#11");
236 static_assert(IsUint<32, int32_t>(0), "TestIsUint32#11");
237 static_assert(IsUint<32, uint32_t>(static_cast<uint32_t>(-1)), "TestIsUint32#12");
239 static_assert(!IsUint<1, int64_t>(-1), "TestIsUint64#1");
240 static_assert(IsUint<1, int64_t>(0), "TestIsUint64#2");
241 static_assert(IsUint<1, int64_t>(1), "TestIsUint64#3");
242 static_assert(!IsUint<1, int64_t>(2), "TestIsUint64#4");
243 static_assert(!IsUint<4, int64_t>(-1), "TestIsUint64#5");
244 static_assert(IsUint<4, int64_t>(0), "TestIsUint64#6");
245 static_assert(IsUint<4, int64_t>(15), "TestIsUint64#7");
246 static_assert(!IsUint<4, int64_t>(16), "TestIsUint64#8");
247 static_assert(!IsUint<30, int64_t>(std::numeric_limits<int32_t>::max()), "TestIsUint64#9");
248 static_assert(IsUint<31, int64_t>(std::numeric_limits<int32_t>::max()), "TestIsUint64#10");
249 static_assert(!IsUint<62, int64_t>(std::numeric_limits<int64_t>::max()), "TestIsUint64#11");
250 static_assert(IsUint<63, int64_t>(std::numeric_limits<int64_t>::max()), "TestIsUint64#12");
251 static_assert(!IsUint<64, int64_t>(-1), "TestIsUint64#13");
252 static_assert(IsUint<64, int64_t>(0), "TestIsUint64#14");
253 static_assert(IsUint<64, uint64_t>(static_cast<uint32_t>(-1)), "TestIsUint64#15");