Searched refs:kMaxId (Results 1 – 2 of 2) sorted by relevance
26 const IdType kMaxId = 1023; in TEST() local27 IdAllocator<IdType> id_allocator(kMaxId); in TEST()31 for (IdType i = 1; i <= kMaxId; i++) { in TEST()50 id_allocator.Free(kMaxId); in TEST()51 ASSERT_EQ(kMaxId, id_allocator.Allocate()); in TEST()58 for (IdType i = 0; i < kMaxId; i++) in TEST()59 id_allocator.Free(kMaxId - i); in TEST()
50 static const int kMaxId = 1 << kPartShift; variable121 CHECK_LT(id, kMaxId); in Put()