Searched refs:sliceLen (Results 1 – 4 of 4) sorted by relevance
/external/brotli/research/ |
D | sieve.cc | 18 static TextIdx dryRun(TextIdx sliceLen, Slot* map, TextIdx* shortcut, in dryRun() argument 38 to = i + sliceLen; in dryRun() 48 static std::string createDictionary(const uint8_t* data, TextIdx sliceLen, in createDictionary() argument 69 to = i + sliceLen; in createDictionary() 87 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in sieve_generate() local 88 if (sliceLen != slice_len) { in sieve_generate() 92 if (sliceLen < 1) { in sieve_generate() 128 if (total < sliceLen) { in sieve_generate() 139 TextIdx end = total - sliceLen; in sieve_generate() 152 for (TextIdx i = 0; i < sliceLen - 1; ++i) { in sieve_generate() [all …]
|
D | durchschlag.cc | 258 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in durchschlag_prepare() local 259 if (sliceLen != slice_len) fatal("slice_len is too large"); in durchschlag_prepare() 260 if (sliceLen < 1) fatal("slice_len is too small"); in durchschlag_prepare() 276 if (total < sliceLen) fatal("slice_len is larger than corpus size"); in durchschlag_prepare() 277 TextIdx end = total - static_cast<TextIdx>(sliceLen) + 1; in durchschlag_prepare() 288 for (TextIdx i = 0; i < sliceLen - 1; ++i) { in durchschlag_prepare() 292 TextIdx lShiftX = (lShift * (sliceLen - 1)) % hashLen; in durchschlag_prepare() 301 TextIdx v = data[i + sliceLen - 1]; in durchschlag_prepare() 310 for (TextIdx j = 0; j < sliceLen; ++j) { in durchschlag_prepare() 330 return {total, sliceLen, static_cast<TextIdx>(map.size()), in durchschlag_prepare() [all …]
|
D | dictionary_generator.cc | 109 size_t sliceLen = 16; in main() local 162 sliceLen = readInt(&argv[i][2]); in main() 163 if (sliceLen < 4 || sliceLen > 256) { in main() 213 targetSize, sliceLen, sizes, data.data())); in main() 219 targetSize, sliceLen, blockSize, sizes, data.data())); in main() 221 durchschlag_distill(sliceLen, minimumPopulation, &sizes, data.data()); in main() 224 durchschlag_purify(sliceLen, minimumPopulation, sizes, data.data()); in main()
|
D | durchschlag.h | 33 DurchschlagTextIdx sliceLen; member
|