Searched refs:BufferPrefix (Results 1 – 2 of 2) sorted by relevance
128 constexpr size_t BufferPrefix = 20; // detect buffer underruns (specific value isn't important) in test_common_to_chars() local137 array<char, BufferPrefix + Space + BufferSuffix> buff; in test_common_to_chars()140 char* const first = buff_begin + BufferPrefix; in test_common_to_chars()
1353 StringRef BufferPrefix = Buffer.substr(0, ExampleString.size()); in computeMatchDistance() local1354 BufferPrefix = BufferPrefix.split('\n').first; in computeMatchDistance()1355 return BufferPrefix.edit_distance(ExampleString); in computeMatchDistance()