Home
last modified time | relevance | path

Searched refs:allocator_ (Results 1 – 6 of 6) sorted by relevance

/rocksdb-6.9/memtable/
Dhash_skiplist_rep.cc65 Allocator* const allocator_; member in ROCKSDB_NAMESPACE::__anon252bdc020111::HashSkipListRep
242 allocator_(allocator) { in HashSkipListRep()
260 auto addr = allocator_->AllocateAligned(sizeof(Bucket)); in GetInitializedBucket()
261 bucket = new (addr) Bucket(compare_, allocator_, skiplist_height_, in GetInitializedBucket()
304 Arena* new_arena = new Arena(allocator_->BlockSize()); in GetIterator()
Dhash_linklist_rep.cc264 : iter_(list), full_list_(list), allocator_(allocator) {} in FullListIterator()
321 std::unique_ptr<Allocator> allocator_; member in ROCKSDB_NAMESPACE::__anoncfd1c5190111::HashLinkListRep::FullListIterator
509 char* mem = allocator_->AllocateAligned(sizeof(Pointer) * bucket_size, in HashLinkListRep()
523 char* mem = allocator_->AllocateAligned(sizeof(Node) + len); in Allocate()
599 auto* mem = allocator_->AllocateAligned(sizeof(BucketHeader)); in Insert()
633 auto mem = allocator_->AllocateAligned(sizeof(SkipListBucketHeader)); in Insert()
635 SkipListBucketHeader(compare_, allocator_, header->GetNumEntries() + 1); in Insert()
742 Arena* new_arena = new Arena(allocator_->BlockSize()); in GetIterator()
Dskiplist.h122 Allocator* const allocator_; // Allocator used for allocations of nodes variable
206 char* mem = allocator_->AllocateAligned(
415 allocator_(allocator),
427 allocator_->AllocateAligned(sizeof(Node*) * kMaxHeight_));
Dinlineskiplist.h199 Allocator* const allocator_; // Allocator used for allocations of nodes variable
597 allocator_(allocator),
627 char* raw = allocator_->AllocateAligned(prefix + sizeof(Node) + key_size);
646 char* raw = allocator_->AllocateAligned(sizeof(Splice) + array_size * 2);
/rocksdb-6.9/include/rocksdb/
Dmemtablerep.h81 explicit MemTableRep(Allocator* allocator) : allocator_(allocator) {} in MemTableRep()
272 Allocator* allocator_; variable
/rocksdb-6.9/db/
Dmemtable.cc264 *buf = allocator_->Allocate(len); in Allocate()