|
|
typedef int * | iterator |
|
typedef const int * | const_iterator |
|
| static bool | less (int a, int b) |
◆ SparseSetT()
459764 :
459765 sparse_(max_size), dense_(max_size) {
459766 MaybeInitializeMemory(size_, max_size);
459767 DebugCheckInvariants();
459768}
◆ ~SparseSetT()
459770 {
459771 DebugCheckInvariants();
459772}
◆ size()
459603 {
459604 return size_;
459605 }
◆ empty()
459608 {
459609 return size_ == 0;
459610 }
◆ begin() [1/2]
459613 {
459614 return dense_.data();
459615 }
◆ end() [1/2]
459616 {
459617 return dense_.data() + size_;
459618 }
◆ begin() [2/2]
459620 {
459621 return dense_.data();
459622 }
◆ end() [2/2]
459623 {
459624 return dense_.data() + size_;
459625 }
◆ resize()
459720 {
459721 DebugCheckInvariants();
459724
459725
459728
459731
459734
459736 }
459739 DebugCheckInvariants();
459740}
Definition duckdb.cpp:459593
◆ max_size()
459633 {
459634 if (dense_.data() !=
NULL)
459635 return dense_.size();
459636 else
459637 return 0;
459638 }
◆ clear()
459641 {
459642 size_ = 0;
459643 }
◆ contains()
459744 {
459748 return false;
459749 }
459750
459752 dense_[sparse_[
i]] ==
i;
459753}
#define assert(x)
Definition duckdb.cpp:486071
◆ less()
◆ insert()
459656 {
459657 return InsertInternal(
true,
i);
459658 }
◆ insert_new()
459662 {
459663 return InsertInternal(
false,
i);
459664 }
◆ InsertInternal()
459667 {
459668 DebugCheckInvariants();
459670 assert(
false &&
"illegal index");
459671
459672
459673
459674 return begin();
459675 }
459679 } else {
459682 }
459683 DebugCheckInvariants();
459684 return dense_.data() + sparse_[
i];
459685 }
◆ create_index()
459756 {
459758 assert(size_ < max_size());
459759 sparse_[
i] = size_;
459760 dense_[size_] =
i;
459761 size_++;
459762}
◆ DebugCheckInvariants()
459774 {
459776 assert(size_ <= max_size());
459777}
◆ MaybeInitializeMemory()
459699 {
459700#if __has_feature(memory_sanitizer)
459702#elif defined(RE2_ON_VALGRIND)
459704 sparse_[
i] = 0xababababU;
459705 }
459706#endif
459707 }
The documentation for this class was generated from the following file: