Home
last modified time | relevance | path

Searched refs:MismatchAt (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libc/benchmarks/
H A DLibcMemoryBenchmarkTest.cpp67 const uint32_t MismatchAt = 0; // buffer are equal. in TEST() local
69 MismatchOffsetDistribution MOD(BufferSize, 1024, MismatchAt); in TEST()
75 const uint32_t MismatchAt = 1; // buffer are different. in TEST() local
77 MismatchOffsetDistribution MOD(BufferSize, 1024, MismatchAt); in TEST()
83 const uint32_t MismatchAt = 2; // buffer are different at position 2. in TEST() local
86 MismatchOffsetDistribution MOD(BufferSize, MaxSize, MismatchAt); in TEST()
94 if (Size >= MismatchAt) in TEST()
96 AnyOf(5 - MismatchAt, 9 - MismatchAt, 13 - MismatchAt)); in TEST()
H A DLibcMemoryBenchmark.cpp52 size_t MismatchAt) in MismatchOffsetDistribution() argument
53 : MismatchAt(MismatchAt) { in MismatchOffsetDistribution()
54 if (MismatchAt <= 1) in MismatchOffsetDistribution()
H A DLibcMemoryBenchmark.h146 const uint32_t MismatchAt; variable
150 size_t MismatchAt);
161 if (Size >= MismatchAt) in operator()
162 return MismatchIndex - MismatchAt; in operator()