HomeSort by relevance Sort by last modified time
    Searched refs:wrange (Results 1 - 4 of 4) sorted by null

  /external/marisa-trie/tests/
unit-test.cc 298 marisa::WRange wrange; local
300 ASSERT(wrange.range().begin() == 0);
301 ASSERT(wrange.range().end() == 0);
302 ASSERT(wrange.range().pos() == 0);
304 ASSERT(wrange.begin() == 0);
305 ASSERT(wrange.end() == 0);
306 ASSERT(wrange.pos() == 0);
307 ASSERT(wrange.weight() == 0.0);
309 wrange = marisa::WRange(range, 4.0)
    [all...]
  /external/marisa-trie/v0_1_5/tests/
unit-test.cc 302 marisa_alpha::WRange wrange; local
304 ASSERT(wrange.range().begin() == 0);
305 ASSERT(wrange.range().end() == 0);
306 ASSERT(wrange.range().pos() == 0);
308 ASSERT(wrange.begin() == 0);
309 ASSERT(wrange.end() == 0);
310 ASSERT(wrange.pos() == 0);
311 ASSERT(wrange.weight() == 0.0);
313 wrange = marisa_alpha::WRange(range, 4.0)
    [all...]
  /external/marisa-trie/lib/marisa/
trie-build.cc 174 Vector<WRange> wranges;
195 wranges.push_back(WRange(range.begin(), i, range.pos(), weight));
201 wranges.push_back(WRange(range, weight));
203 std::stable_sort(wranges.begin(), wranges.end(), std::greater<WRange>());
209 const WRange &wrange = wranges[i]; local
210 UInt32 pos = wrange.pos() + 1;
212 while (pos < keys[wrange.begin()].str().length()) {
214 for (j = wrange.begin() + 1; j < wrange.end(); ++j)
    [all...]
  /external/marisa-trie/v0_1_5/lib/marisa_alpha/
trie-build.cc 183 Vector<WRange> wranges;
204 wranges.push_back(WRange(range.begin(), i, range.pos(), weight));
210 wranges.push_back(WRange(range, weight));
212 std::stable_sort(wranges.begin(), wranges.end(), std::greater<WRange>());
218 const WRange &wrange = wranges[i]; local
219 UInt32 pos = wrange.pos() + 1;
222 while (pos < keys[wrange.begin()].str().length()) {
224 for (j = wrange.begin() + 1; j < wrange.end(); ++j)
    [all...]

Completed in 1122 milliseconds