/dports/sysutils/gsmartcontrol/gsmartcontrol-1.1.3/src/hz/ |
H A D | sync_multilock.h | 182 mutexes_(0), size_(0) 186 mutexes_[size_++] = internal::MultiLockPair(static_cast<void*>(&m1), size_+1); 196 mutexes_(0), size_(0) 210 mutexes_(0), size_(0) 226 mutexes_(0), size_(0) 244 mutexes_(0), size_(0) 266 mutexes_(0), size_(0) 290 mutexes_(0), size_(0) 316 mutexes_(0), size_(0) 344 mutexes_(0), size_(0) [all …]
|
/dports/math/py-graphillion/Graphillion-1.3/src/subsetting/util/ |
H A D | MyVector.hpp | 90 : capacity_(o.size_), size_(o.size_), in MyVector() 99 reserve(o.size_); in operator =() 100 size_ = o.size_; in operator =() 119 size_ = o.size(); in operator =() 162 std::swap(size_, o.size_); in swap() 183 return size_; in size() 191 return size_ == 0; in empty() 203 assert(0 <= size_ && size_ <= capacity_); in reserve() 311 ++size_; in push_back() 318 if (size_ > 0) array_[--size_].~T(); in pop_back() [all …]
|
/dports/science/bagel/bagel-1.2.2/src/util/math/ |
H A D | linearRM.h | 46 int size_; variable 71 MatType trans(size_, size_-1); in compute_residual() 76 …mat_->copy_block(0, 0, size_-1, size_-1, trans % *mat_->get_submatrix(0, 0, size_, size_) * trans); in compute_residual() 77 …overlap_->copy_block(0, 0, size_-1, size_-1, trans % *overlap_->get_submatrix(0, 0, size_, size_) … in compute_residual() 79 --size_; in compute_residual() 86 ++size_; in compute_residual() 91 mat_->element(i,size_-1) = detail::conj(mat_->element(size_-1,i)); in compute_residual() 99 std::shared_ptr<MatType> mat = mat_->get_submatrix(0,0,size_,size_); in compute_residual() 126 MatType trans(size_, size_); in compute_residual() 129 … mat_->copy_block(0, 0, size_, size_, trans % *mat_->get_submatrix(0, 0, size_, size_) * trans); in compute_residual() [all …]
|
/dports/finance/quantlib/QuantLib-1.20/ql/methods/montecarlo/ |
H A D | brownianbridge.cpp | 35 : size_(steps), t_(size_), sqrtdt_(size_), in BrownianBridge() 36 bridgeIndex_(size_), leftIndex_(size_), rightIndex_(size_), in BrownianBridge() 37 leftWeight_(size_), rightWeight_(size_), stdDev_(size_) { in BrownianBridge() 44 : size_(times.size()), t_(times), sqrtdt_(size_), in BrownianBridge() 45 bridgeIndex_(size_), leftIndex_(size_), rightIndex_(size_), in BrownianBridge() 46 leftWeight_(size_), rightWeight_(size_), stdDev_(size_) { in BrownianBridge() 51 : size_(timeGrid.size()-1), t_(size_), sqrtdt_(size_), in BrownianBridge() 52 bridgeIndex_(size_), leftIndex_(size_), rightIndex_(size_), in BrownianBridge() 53 leftWeight_(size_), rightWeight_(size_), stdDev_(size_) { in BrownianBridge() 73 map[size_-1] = 1; in initialize() [all …]
|
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/common/ |
H A D | vector_range.h | 60 size_(other.size_) { in vector_range() 66 size_(other.size_) { in vector_range() 73 if (x.size_ > size_) { 76 size_ = x.size_; 85 if (x.size_ > size_) { 88 size_ = x.size_; 259 size_++; in push_back() 306 size_ = size_ > 0 ? size_ - 1 : 0; in erase() 313 size_ = size_ > length ? size_ - length : 0; in erase() 366 size_(other.size_) { in vector_range() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Container/ |
H A D | Vector.h | 142 if (rhs.size_ != size_) 159 if (rhs.size_ != size_) 223 if (size_) in Pop() 486 size_ = tempBuffer.size_; in Resize() 505 ConstructElements(Buffer() + size_, src, newSize - size_); in Resize() 680 if (rhs.size_ != size_) 697 if (rhs.size_ != size_) 743 ++size_; in Push() 753 Resize(size_ + vector.size_); in Push() 760 if (size_) in Pop() [all …]
|
/dports/ftp/libfilezilla/libfilezilla-0.31.1/lib/ |
H A D | buffer.cpp | 18 if (buf.size_) { in buffer() 21 size_ = buf.size_; in buffer() 33 size_ = buf.size_; in buffer() 34 buf.size_ = 0; in buffer() 52 if (size_) { in get() 74 size_ = buf.size_; in operator =() 90 size_ = buf.size_; in operator =() 91 buf.size_ = 0; in operator =() 116 size_ = 0; in consume() 126 size_ = 0; in clear() [all …]
|
/dports/audio/bshapr-lv2/BShapr-0.13/src/ |
H A D | RingBuffer.hpp | 52 size_t size_; member in RingBuffer 75 return data_[(position_ + size_ + (n % size_)) % size_]; in operator []() 88 return data_[(position_ + size_ + (n % size_)) % size_]; in operator []() 106 size_ = size; in resize() 117 if (size_) in push_back() 126 if (size_) in push_back() 128 size_t nx = (n > size_ ? size_ : n); in push_back() 130 size_t i1 = (position_ + nx > size_ ? size_ - position_ : nx); in push_back() 139 if (size_) position_ = (position_ + size_ - 1) % size_; in pop_back() 144 if (size_) position_ = (position_ + size_ - (n % size_)) % size_; in pop_back() [all …]
|
/dports/textproc/jade/jade-1.2.1/include/ |
H A D | Vector.cxx | 35 insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); in Vector() 51 n = size_; in operator =() 52 insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); in operator =() 66 if (n > size_) { in assign() 67 sz = size_; in assign() 68 insert(ptr_ + size_, n - size_, t); in assign() 81 if (i != size_) in insert() 85 size_++; in insert() 95 if (i != size_) in insert() 99 size_++; in insert() [all …]
|
/dports/textproc/opensp/OpenSP-1.5.2/include/ |
H A D | Vector.cxx | 29 insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); in Vector() 45 n = size_; in operator =() 46 insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); in operator =() 60 if (n > size_) { in assign() 61 sz = size_; in assign() 62 insert(ptr_ + size_, n - size_, t); in assign() 75 if (i != size_) in insert() 79 size_++; in insert() 89 if (i != size_) in insert() 93 size_++; in insert() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libsanitizer/tsan/ |
H A D | tsan_mutexset.cpp | 32 if (size_ == kMaxSize) { in Add() 45 descs_[size_].addr = 0; in Add() 47 descs_[size_].id = id; in Add() 51 descs_[size_].count = 1; in Add() 52 size_++; in Add() 96 descs_[size_].id = 0; in AddAddr() 101 size_++; in AddAddr() 115 CHECK_LT(i, size_); in RemovePos() 117 size_--; in RemovePos() 121 return size_; in Size() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_mutexset.cpp | 30 if (size_ == kMaxSize) { in Add() 43 descs_[size_].addr = 0; in Add() 45 descs_[size_].id = id; in Add() 49 descs_[size_].count = 1; in Add() 50 size_++; in Add() 94 descs_[size_].id = 0; in AddAddr() 99 size_++; in AddAddr() 113 CHECK_LT(i, size_); in RemovePos() 115 size_--; in RemovePos() 119 return size_; in Size() [all …]
|
/dports/science/madness/madness-ebb3fd7/src/madness/world/ |
H A D | stack.h | 212 size_ = other.size_; in move() 213 other.size_ = 0u; in move() 239 if(other.size_ > N) { in Stack() 246 size_ = other.size_; in Stack() 282 size_ = other.size_; 339 ++size_; in push() 346 MADNESS_ASSERT(size_); in pop() 347 --size_; in pop() 356 MADNESS_ASSERT(size_); in top() 399 size_ = 0u; in clear() [all …]
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/rawspeed/src/librawspeed/io/ |
H A D | ByteStream.h | 64 if (size_ && nmemb > std::numeric_limits<size_type>::max() / size_) in check() 66 return check(nmemb * size_); in check() 93 pos += size_; in getBuffer() 97 return getSubStream(pos, size_); in peekStream() 100 if (size_ && nmemb > std::numeric_limits<size_type>::max() / size_) in peekStream() 106 pos += size_; in getStream() 110 if (size_ && nmemb > std::numeric_limits<size_type>::max() / size_) in getStream() 123 pos += check(nmemb, size_); in skipBytes() 141 pos += size_; in skipPrefix() 194 memcpy(new_data, data_, size_); in createCopy() [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 212 size_ = 0; in Reset() 246 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 249 if (size_ < b.size_) in compare() 251 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/rocksdb-lite/rocksdb-6.26.1/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/rocksdb/rocksdb-6.26.1/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/rocksdb/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/rocksdb/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/rocksdb/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/rocksdb/rocksdb/include/rocksdb/ |
H A D | slice.h | 80 size_ = 0; in clear() 87 size_ -= n; in remove_prefix() 92 size_ -= n; in remove_suffix() 121 return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0)); in starts_with() 125 return ((size_ >= x.size_) && in ends_with() 126 (memcmp(data_ + size_ - x.size_, x.data_, x.size_) == 0)); in ends_with() 215 size_ = 0; in Reset() 249 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() 252 if (size_ < b.size_) in compare() 254 else if (size_ > b.size_) in compare() [all …]
|