Lines Matching refs:size_
51 Heap(Compare comp) : comp_(comp), size_(0) { }
54 Heap() : size_(0) { }
60 if (size_ < (int)A_.size()) {
61 A_[size_] = val;
62 pos_[key_[size_]] = size_;
65 pos_.push_back(size_);
66 key_.push_back(size_);
69 ++size_;
70 return Insert(val, size_ - 1);
91 Swap(0, size_-1);
92 size_--;
104 return(size_ == 0);
108 size_ = 0;
154 if (l < size_ && comp_(A_[l], A_[i]) )
159 if (r < size_ && comp_(A_[r], A_[largest]) )
187 int size_;