Home
last modified time | relevance | path

Searched refs:MIN_CAPACITY (Results 1 – 25 of 49) sorted by relevance

12

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/nd/
H A DLongArray.java20 private static final int MIN_CAPACITY = 8; field in LongArray
43 this.contents = new long[Math.max(MIN_CAPACITY, capacity)]; in ensureCapacity()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/vm/
H A DXdr.cpp33 const size_t MIN_CAPACITY = 8192; in grow() local
43 if (newCapacity < MIN_CAPACITY) in grow()
44 newCapacity = MIN_CAPACITY; in grow()
/dports/www/nextcloud/nextcloud/3rdparty/php-ds/php-ds/src/Traits/
H A DCapacity.php16 private $capacity = self::MIN_CAPACITY;
120 self::MIN_CAPACITY,
H A DGenericSequence.php357 $this->capacity = self::MIN_CAPACITY;
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/deferred/
H A DLazySortedCollection.java45 private final int MIN_CAPACITY = 8; field in LazySortedCollection
46 private Object[] contents = new Object[MIN_CAPACITY];
47 private int[] leftSubTree = new int[MIN_CAPACITY];
48 private int[] rightSubTree = new int[MIN_CAPACITY];
49 private int[] nextUnsorted = new int[MIN_CAPACITY];
50 private int[] treeSize = new int[MIN_CAPACITY];
51 private int[] parentTree = new int[MIN_CAPACITY];
653 if (contents.length < MIN_CAPACITY || nonPackableNodes > contents.length / 4) { in pack()
682 int newCapacity = Math.max(newNodes * 2, MIN_CAPACITY); in pack()
1184 setArraySize(MIN_CAPACITY); in clear()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUnknownFieldSetLite.java50 private static final int MIN_CAPACITY = 8; field in UnknownFieldSetLite
99 this(0, new int[MIN_CAPACITY], new Object[MIN_CAPACITY], /* isMutable= */ true); in UnknownFieldSetLite()
401 int increment = count < (MIN_CAPACITY / 2) ? MIN_CAPACITY : count >> 1; in ensureCapacity()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUnknownFieldSetLite.java50 private static final int MIN_CAPACITY = 8; field in UnknownFieldSetLite
99 this(0, new int[MIN_CAPACITY], new Object[MIN_CAPACITY], /* isMutable= */ true); in UnknownFieldSetLite()
401 int increment = count < (MIN_CAPACITY / 2) ? MIN_CAPACITY : count >> 1; in ensureCapacity()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/aruco/src/
H A Dzmaxheap.cpp29 #define MIN_CAPACITY 16 macro
99 if (newcap < MIN_CAPACITY) { in _zmaxheap_ensure_capacity()
100 newcap = MIN_CAPACITY; in _zmaxheap_ensure_capacity()
/dports/net/pptpclient/pptp-1.10.0/
H A Dpqueue.c18 #define MIN_CAPACITY 128 /* min allocated buffer for a packet */ macro
111 int size = packlen < MIN_CAPACITY ? MIN_CAPACITY : packlen; in pqueue_alloc()
/dports/www/nextcloud/nextcloud/3rdparty/php-ds/php-ds/src/
H A DDeque.php20 const MIN_CAPACITY = 8; define in Ds\\Deque
H A DPriorityQueue.php21 const MIN_CAPACITY = 8; define in Ds\\PriorityQueue
47 $this->capacity = self::MIN_CAPACITY;
H A DSet.php17 const MIN_CAPACITY = Map::MIN_CAPACITY; define in Ds\\Set
H A DVector.php18 const MIN_CAPACITY = 8; define in Ds\\Vector
H A DMap.php21 const MIN_CAPACITY = 8; define in Ds\\Map
59 $this->capacity = self::MIN_CAPACITY;
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/jogamp/opengl/gl2/fixme/
H A DGLObjectTracker.java528 private static final int MIN_CAPACITY = 4; field in GLObjectTracker.ObjectList
570 (capacity > MIN_CAPACITY)) { in remove()
572 if (newCapacity < MIN_CAPACITY) { in remove()
573 newCapacity = MIN_CAPACITY; in remove()
609 capacity = MIN_CAPACITY; in clear()
/dports/graphics/jogl/jogl-1.1.1_9/jogl/src/classes/com/sun/opengl/impl/
H A DGLObjectTracker.java526 private static final int MIN_CAPACITY = 4; field in GLObjectTracker.ObjectList
568 (capacity > MIN_CAPACITY)) { in remove()
570 if (newCapacity < MIN_CAPACITY) { in remove()
571 newCapacity = MIN_CAPACITY; in remove()
607 capacity = MIN_CAPACITY; in clear()
/dports/x11/lxpanel/lxpanel-0.9.3/plugins/batt/
H A Dbatt_sys.h31 #define MIN_CAPACITY 0.01 macro
/dports/misc/visp/visp-3.4.0/3rdparty/apriltag/common/
H A Dzmaxheap.cpp55 #define MIN_CAPACITY 16 macro
130 if (newcap < MIN_CAPACITY) { in zmaxheap_ensure_capacity()
131 newcap = MIN_CAPACITY; in zmaxheap_ensure_capacity()
/dports/net-im/fractal/fractal-4.4.0/vendor/typed-arena/src/
H A Dlib.rs82 const MIN_CAPACITY: usize = 1; const
136 let n = cmp::max(MIN_CAPACITY, n); in with_capacity()
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/typed-arena-1.7.0/src/
H A Dlib.rs82 const MIN_CAPACITY: usize = 1; const
136 let n = cmp::max(MIN_CAPACITY, n); in with_capacity()
/dports/deskutils/just/just-0.10.5/cargo-crates/typed-arena-2.0.1/src/
H A Dlib.rs84 const MIN_CAPACITY: usize = 1; const
138 let n = cmp::max(MIN_CAPACITY, n); in with_capacity()
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/typed-arena-2.0.1/src/
H A Dlib.rs84 const MIN_CAPACITY: usize = 1; const
138 let n = cmp::max(MIN_CAPACITY, n); in with_capacity()
/dports/www/py-multidict/multidict-5.2.0/multidict/_multilib/
H A Dpair_list.h50 #define MIN_CAPACITY 63 macro
142 new_pairs = PyMem_New(pair_t, MIN_CAPACITY); in pair_list_grow()
146 list->capacity = MIN_CAPACITY; in pair_list_grow()
183 if (new_capacity < MIN_CAPACITY) { in pair_list_shrink()
/dports/www/firefox/firefox-99.0/third_party/python/multidict/multidict/_multilib/
H A Dpair_list.h50 #define MIN_CAPACITY 63 macro
142 new_pairs = PyMem_New(pair_t, MIN_CAPACITY); in pair_list_grow()
146 list->capacity = MIN_CAPACITY; in pair_list_grow()
183 if (new_capacity < MIN_CAPACITY) { in pair_list_shrink()
/dports/www/firefox/firefox-99.0/third_party/rust/ffi-support/src/
H A Dhandle_map.rs171 const MIN_CAPACITY: usize = 4; const
222 Self::new_with_capacity(MIN_CAPACITY) in new()
237 let capacity = request.max(MIN_CAPACITY); in new_with_capacity()

12