Home
last modified time | relevance | path

Searched refs:Keyset (Results 1 – 25 of 34) sorted by relevance

12

/external/marisa-trie/bindings/ruby/
Dmarisa-swig.cxx30 Keyset::Keyset() : keyset_(new (std::nothrow) marisa::Keyset) { in Keyset() function in marisa_swig::Keyset
34 Keyset::~Keyset() { in ~Keyset()
38 void Keyset::push_back(const marisa::Key &key) { in push_back()
42 void Keyset::push_back(const char *ptr, size_t length, float weight) { in push_back()
46 const Key &Keyset::key(size_t i) const { in key()
50 void Keyset::key_str(size_t i, in key_str()
56 size_t Keyset::key_id(size_t i) const { in key_id()
60 size_t Keyset::num_keys() const { in num_keys()
64 bool Keyset::empty() const { in empty()
68 size_t Keyset::size() const { in size()
[all …]
Dmarisa-swig.h80 class Keyset {
84 Keyset();
85 ~Keyset();
106 marisa::Keyset *keyset_;
108 Keyset(const Keyset &);
109 Keyset &operator=(const Keyset &);
145 void build(Keyset &keyset, int config_flags = 0);
Dmarisa-swig_wrap.cxx2324 marisa_swig::Keyset *result = 0 ;
2331 result = (marisa_swig::Keyset *)new marisa_swig::Keyset();
2346 free_marisa_swig_Keyset(marisa_swig::Keyset *arg1) {
2352 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ;
2366 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1);
2392 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ;
2412 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1);
2443 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ;
2460 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1);
2563 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ;
[all …]
/external/marisa-trie/bindings/perl/
Dmarisa-swig.cxx30 Keyset::Keyset() : keyset_(new (std::nothrow) marisa::Keyset) { in Keyset() function in marisa_swig::Keyset
34 Keyset::~Keyset() { in ~Keyset()
38 void Keyset::push_back(const marisa::Key &key) { in push_back()
42 void Keyset::push_back(const char *ptr, size_t length, float weight) { in push_back()
46 const Key &Keyset::key(size_t i) const { in key()
50 void Keyset::key_str(size_t i, in key_str()
56 size_t Keyset::key_id(size_t i) const { in key_id()
60 size_t Keyset::num_keys() const { in num_keys()
64 bool Keyset::empty() const { in empty()
68 size_t Keyset::size() const { in size()
[all …]
Dmarisa-swig.h80 class Keyset {
84 Keyset();
85 ~Keyset();
106 marisa::Keyset *keyset_;
108 Keyset(const Keyset &);
109 Keyset &operator=(const Keyset &);
145 void build(Keyset &keyset, int config_flags = 0);
Dmarisa-swig_wrap.cxx2197 marisa_swig::Keyset *result = 0 ; in XS()
2205 result = (marisa_swig::Keyset *)new marisa_swig::Keyset(); in XS()
2222 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ; in XS()
2235 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1); in XS()
2257 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ; in XS()
2273 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1); in XS()
2305 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ; in XS()
2327 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1); in XS()
2364 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ; in XS()
2383 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1); in XS()
[all …]
Dsample.pl3 $keyset = new marisa::Keyset;
Dbenchmark.pl28 my $keyset = new marisa::Keyset;
/external/marisa-trie/bindings/
Dmarisa-swig.cxx30 Keyset::Keyset() : keyset_(new (std::nothrow) marisa::Keyset) { in Keyset() function in marisa_swig::Keyset
34 Keyset::~Keyset() { in ~Keyset()
38 void Keyset::push_back(const marisa::Key &key) { in push_back()
42 void Keyset::push_back(const char *ptr, size_t length, float weight) { in push_back()
46 const Key &Keyset::key(size_t i) const { in key()
50 void Keyset::key_str(size_t i, in key_str()
56 size_t Keyset::key_id(size_t i) const { in key_id()
60 size_t Keyset::num_keys() const { in num_keys()
64 bool Keyset::empty() const { in empty()
68 size_t Keyset::size() const { in size()
[all …]
Dmarisa-swig.h80 class Keyset {
84 Keyset();
85 ~Keyset();
106 marisa::Keyset *keyset_;
108 Keyset(const Keyset &);
109 Keyset &operator=(const Keyset &);
145 void build(Keyset &keyset, int config_flags = 0);
/external/marisa-trie/bindings/python/
Dmarisa-swig.cxx30 Keyset::Keyset() : keyset_(new (std::nothrow) marisa::Keyset) { in Keyset() function in marisa_swig::Keyset
34 Keyset::~Keyset() { in ~Keyset()
38 void Keyset::push_back(const marisa::Key &key) { in push_back()
42 void Keyset::push_back(const char *ptr, size_t length, float weight) { in push_back()
46 const Key &Keyset::key(size_t i) const { in key()
50 void Keyset::key_str(size_t i, in key_str()
56 size_t Keyset::key_id(size_t i) const { in key_id()
60 size_t Keyset::num_keys() const { in num_keys()
64 bool Keyset::empty() const { in empty()
68 size_t Keyset::size() const { in size()
[all …]
Dmarisa-swig.h80 class Keyset {
84 Keyset();
85 ~Keyset();
106 marisa::Keyset *keyset_;
108 Keyset(const Keyset &);
109 Keyset &operator=(const Keyset &);
145 void build(Keyset &keyset, int config_flags = 0);
Dmarisa-swig_wrap.cxx3410 marisa_swig::Keyset *result = 0 ; in _wrap_new_Keyset()
3415 result = (marisa_swig::Keyset *)new marisa_swig::Keyset(); in _wrap_new_Keyset()
3431 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ; in _wrap_delete_Keyset()
3441 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1); in _wrap_delete_Keyset()
3460 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ; in _wrap_Keyset_push_back__SWIG_0()
3474 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1); in _wrap_Keyset_push_back__SWIG_0()
3501 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ; in _wrap_Keyset_push_back__SWIG_1()
3522 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1); in _wrap_Keyset_push_back__SWIG_1()
3554 marisa_swig::Keyset *arg1 = (marisa_swig::Keyset *) 0 ; in _wrap_Keyset_push_back__SWIG_2()
3571 arg1 = reinterpret_cast< marisa_swig::Keyset * >(argp1); in _wrap_Keyset_push_back__SWIG_2()
[all …]
Dmarisa.py124 class Keyset(_object): class
126 __setattr__ = lambda self, name, value: _swig_setattr(self, Keyset, name, value)
128 __getattr__ = lambda self, name: _swig_getattr(self, Keyset, name)
147 Keyset_swigregister(Keyset)
Dsample.py3 keyset = marisa.Keyset()
/external/marisa-trie/lib/marisa/
Dkeyset.cc7 Keyset::Keyset() in Keyset() function in marisa::Keyset
13 void Keyset::push_back(const Key &key) { in push_back()
28 void Keyset::push_back(const Key &key, char end_marker) { in push_back()
48 void Keyset::push_back(const char *str) { in push_back()
59 void Keyset::push_back(const char *ptr, std::size_t length, float weight) { in push_back()
76 void Keyset::reset() { in reset()
85 void Keyset::clear() { in clear()
86 Keyset().swap(*this); in clear()
89 void Keyset::swap(Keyset &rhs) { in swap()
105 char *Keyset::reserve(std::size_t size) { in reserve()
[all …]
/external/marisa-trie/include/marisa/
Dkeyset.h8 class Keyset {
16 Keyset();
50 void swap(Keyset &rhs);
74 Keyset(const Keyset &);
75 Keyset &operator=(const Keyset &);
Dtrie.h23 void build(Keyset &keyset, int config_flags = 0);
/external/marisa-trie/tools/
Dmarisa-benchmark.cc133 void read_keys(std::istream &input, marisa::Keyset *keyset, in read_keys()
152 marisa::Keyset *keyset, std::vector<float> *weights) { in read_keys()
169 void benchmark_build(marisa::Keyset &keyset, in benchmark_build()
182 const marisa::Keyset &keyset) { in benchmark_lookup()
196 const marisa::Keyset &keyset) { in benchmark_reverse_lookup()
214 const marisa::Keyset &keyset) { in benchmark_common_prefix_search()
234 const marisa::Keyset &keyset) { in benchmark_predictive_search()
259 void benchmark(marisa::Keyset &keyset, const std::vector<float> &weights, in benchmark()
274 marisa::Keyset keyset; in benchmark()
Dmarisa-build.cc41 void read_keys(std::istream &input, marisa::Keyset *keyset) { in read_keys()
58 marisa::Keyset keyset; in build()
/external/marisa-trie/tests/
Dmarisa-test.cc45 marisa::Keyset keyset; in TestEmptyTrie()
89 marisa::Keyset keyset; in TestTinyTrie()
204 marisa::Keyset *keyset) { in MakeKeyset()
219 void TestLookup(const marisa::Trie &trie, const marisa::Keyset &keyset) { in TestLookup()
235 const marisa::Keyset &keyset) { in TestCommonPrefixSearch()
249 const marisa::Keyset &keyset) { in TestPredictiveSearch()
262 marisa::NodeOrder node_order, marisa::Keyset &keyset) { in TestTrie()
350 marisa::Keyset &keyset) { in TestTrie()
364 marisa::Keyset keyset; in TestTrie()
Dbase-test.cc104 marisa::Keyset keyset; in TestKeyset()
163 keys[i].resize(std::rand() % (marisa::Keyset::EXTRA_BLOCK_SIZE * 2)); in TestKeyset()
191 keys[i].resize(std::rand() % (marisa::Keyset::EXTRA_BLOCK_SIZE * 2)); in TestKeyset()
/external/rust/crates/ahash/smhasher/
DfallbackOutput.txt83 [[[ Keyset 'Sparse' Tests ]]]
85 Keyset 'Sparse' - 16-bit keys with up to 9 bits set - 50643 keys
97 Keyset 'Sparse' - 24-bit keys with up to 8 bits set - 1271626 keys
109 Keyset 'Sparse' - 32-bit keys with up to 7 bits set - 4514873 keys
121 Keyset 'Sparse' - 40-bit keys with up to 6 bits set - 4598479 keys
133 Keyset 'Sparse' - 48-bit keys with up to 6 bits set - 14196869 keys
145 Keyset 'Sparse' - 56-bit keys with up to 5 bits set - 4216423 keys
157 Keyset 'Sparse' - 64-bit keys with up to 5 bits set - 8303633 keys
169 Keyset 'Sparse' - 72-bit keys with up to 5 bits set - 15082603 keys
181 Keyset 'Sparse' - 96-bit keys with up to 4 bits set - 3469497 keys
[all …]
DahashOutput.txt83 [[[ Keyset 'Sparse' Tests ]]]
85 Keyset 'Sparse' - 16-bit keys with up to 9 bits set - 50643 keys
97 Keyset 'Sparse' - 24-bit keys with up to 8 bits set - 1271626 keys
109 Keyset 'Sparse' - 32-bit keys with up to 7 bits set - 4514873 keys
121 Keyset 'Sparse' - 40-bit keys with up to 6 bits set - 4598479 keys
133 Keyset 'Sparse' - 48-bit keys with up to 6 bits set - 14196869 keys
145 Keyset 'Sparse' - 56-bit keys with up to 5 bits set - 4216423 keys
157 Keyset 'Sparse' - 64-bit keys with up to 5 bits set - 8303633 keys
169 Keyset 'Sparse' - 72-bit keys with up to 5 bits set - 15082603 keys
181 Keyset 'Sparse' - 96-bit keys with up to 4 bits set - 3469497 keys
[all …]
/external/marisa-trie/lib/marisa/grimoire/trie/
Dlouds-trie.h21 void build(Keyset &keyset, int flags);
78 void build_(Keyset &keyset, const Config &config);

12