• Home
  • Raw
  • Download

Lines Matching refs:Info

60 template <typename Info> class OnDiskChainedHashTableGenerator {
64 typename Info::key_type Key;
65 typename Info::data_type Data;
67 const typename Info::hash_value_type Hash;
69 Item(typename Info::key_type_ref Key, typename Info::data_type_ref Data, in Item()
70 Info &InfoObj) in Item()
74 typedef typename Info::offset_type offset_type;
116 void insert(typename Info::key_type_ref Key, in insert()
117 typename Info::data_type_ref Data) { in insert()
118 Info InfoObj; in insert()
125 void insert(typename Info::key_type_ref Key, in insert()
126 typename Info::data_type_ref Data, Info &InfoObj) { in insert()
134 bool contains(typename Info::key_type_ref Key, Info &InfoObj) { in contains()
144 Info InfoObj; in Emit()
151 offset_type Emit(raw_ostream &Out, Info &InfoObj) { in Emit()
187 LE.write<typename Info::hash_value_type>(I->Hash); in Emit()
274 template <typename Info> class OnDiskChainedHashTable {
275 const typename Info::offset_type NumBuckets;
276 const typename Info::offset_type NumEntries;
279 Info InfoObj;
282 typedef Info InfoType;
283 typedef typename Info::internal_key_type internal_key_type;
284 typedef typename Info::external_key_type external_key_type;
285 typedef typename Info::data_type data_type;
286 typedef typename Info::hash_value_type hash_value_type;
287 typedef typename Info::offset_type offset_type;
292 const Info &InfoObj = Info())
325 Info *InfoObj;
330 Info *InfoObj) in iterator()
343 iterator find(const external_key_type &EKey, Info *InfoPtr = nullptr) {
351 Info *InfoPtr = nullptr) {
377 Info::ReadKeyDataLength(Items);
405 Info &getInfoObj() { return InfoObj; } in getInfoObj()
418 const Info &InfoObj = Info()) {
421 return new OnDiskChainedHashTable<Info>(NumBucketsAndEntries.first,
430 template <typename Info>
431 class OnDiskIterableChainedHashTable : public OnDiskChainedHashTable<Info> {
435 typedef OnDiskChainedHashTable<Info> base_type;
476 Info::ReadKeyDataLength(Ptr); in advance()
496 const Info &InfoObj = Info())
502 Info *InfoObj;
508 Info *InfoObj) in key_iterator()
526 auto L = Info::ReadKeyDataLength(LocalPtr); in getInternalKey()
548 Info *InfoObj;
554 Info *InfoObj) in data_iterator()
572 auto L = Info::ReadKeyDataLength(LocalPtr);
604 const unsigned char *const Base, const Info &InfoObj = Info()) {
607 OnDiskIterableChainedHashTable<Info>::readNumBucketsAndEntries(Buckets);
608 return new OnDiskIterableChainedHashTable<Info>(