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

  /external/openfst/src/extensions/ngram/
bitmap-index.cc 38 return BitmapIndex::kStorageBitSize * BitmapIndex::kSecondaryBlockSize *
54 block_begin_, *this)) << BitmapIndex::kStorageLogBitSize) -
61 size_t BitmapIndex::Rank1(size_t end) const {
64 const uint32 end_word = (end - 1) >> BitmapIndex::kStorageLogBitSize;
72 size_t BitmapIndex::Select1(size_t bit_index) const {
89 return (offset << BitmapIndex::kStorageLogBitSize) + nth;
92 size_t BitmapIndex::Select0(size_t bit_index) const {
112 return (offset << BitmapIndex::kStorageLogBitSize) + nth;
115 size_t BitmapIndex::get_index_ones_count(size_t array_index) const
    [all...]
  /external/openfst/src/include/fst/extensions/ngram/
bitmap-index.h 41 class BitmapIndex {
47 BitmapIndex() : bits_(NULL), size_(0) { }
ngram-fst.h 185 BitmapIndex::StorageSize(num_states * 2 + 1) +
186 BitmapIndex::StorageSize(num_futures + num_states + 1) +
187 BitmapIndex::StorageSize(num_states));
271 BitmapIndex context_index_;
272 BitmapIndex future_index_;
273 BitmapIndex final_index_;
422 offset += BitmapIndex::StorageSize(num_states * 2 + 1) * sizeof(b64);
425 BitmapIndex::StorageSize(num_futures + num_states + 1) * sizeof(b64);
427 offset += BitmapIndex::StorageSize(num_states) * sizeof(b64);
442 BitmapIndex::Set(context_bits, context_bit++)
    [all...]

Completed in 29 milliseconds