Home
last modified time | relevance | path

Searched refs:base_blocks_size_ (Results 1 – 2 of 2) sorted by relevance

/external/marisa-trie/lib/marisa/
Dkeyset.cc8 : base_blocks_(), base_blocks_size_(0), base_blocks_capacity_(0), in Keyset()
77 base_blocks_size_ = 0; in reset()
91 marisa::swap(base_blocks_size_, rhs.base_blocks_size_); in swap()
124 if (base_blocks_size_ == base_blocks_capacity_) { in append_base_block()
126 (base_blocks_size_ != 0) ? (base_blocks_size_ * 2) : 1; in append_base_block()
130 for (std::size_t i = 0; i < base_blocks_size_; ++i) { in append_base_block()
136 if (base_blocks_[base_blocks_size_].get() == NULL) { in append_base_block()
139 base_blocks_[base_blocks_size_].swap(new_block); in append_base_block()
141 ptr_ = base_blocks_[base_blocks_size_++].get(); in append_base_block()
/external/marisa-trie/include/marisa/
Dkeyset.h54 std::size_t base_blocks_size_; variable