Searched refs:MAX_LEN (Results 1 – 1 of 1) sorted by relevance
166 StringTestState(size_t MAX_LEN) : MAX_LEN(MAX_LEN), align1_index_(0), align2_index_(0) { in StringTestState() argument170 …cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * MAX_LEN + max_alignment)); in StringTestState()171 …cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * MAX_LEN + max_alignment)); in StringTestState()172 …cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * MAX_LEN + max_alignment)); in StringTestState()211 const size_t MAX_LEN; member in StringTestState230 size_t l = static_cast<size_t>(exp(log(static_cast<double>(MAX_LEN)) * i / ITER)); in InitLenArray()235 len[n++] = MAX_LEN; in InitLenArray()259 memset(state.ptr2, '\2', state.MAX_LEN); in TEST()260 state.ptr2[state.MAX_LEN - 1] = '\0'; in TEST()261 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); in TEST()[all …]