Searched refs:max_n (Results 1 – 3 of 3) sorted by relevance
126 std::ptrdiff_t max_n = std::numeric_limits<std::ptrdiff_t>::max() / sizeof_T; in tests() local135 ptr += max_n + 1; in tests()160 std::int64_t max_n = std::numeric_limits<std::int32_t>::max() / sizeof_T; in tests() local169 ptr += static_cast<ptrdiff_t>(max_n / 2); in tests()171 ptr += static_cast<ptrdiff_t>(max_n / 2); in tests()173 ptr += (max_n % 2); in tests()
123 std::ptrdiff_t max_n = std::numeric_limits<std::ptrdiff_t>::max() / sizeof_T; in tests() local132 ptr -= max_n + 1; in tests()157 std::int64_t max_n = std::numeric_limits<std::int32_t>::max() / sizeof_T; in tests() local180 ptr -= static_cast<ptrdiff_t>(-max_n / 2); in tests()182 ptr -= static_cast<ptrdiff_t>(-max_n / 2); in tests()184 ptr -= (-max_n % 2); in tests()
42 std::size_t max_n = std::numeric_limits<std::size_t>::max() / sizeof(T); in tests() local46 tracked_safe_allocation<T> array(max_n + 1, libkern::allocate_memory); in tests()