phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
OpenHashMap.reserveExtra
nxt
open_hashmap
OpenHashMap
Reserve rom for
extraCapacity
number of extra buckets.
struct
OpenHashMap
(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), alias Allocator = Mallocator.instance, bool borrowChecked = false, bool useSmallLinearSearch = true, bool usePrimeCapacity = false)
void
reserveExtra
(
size_t
extraCapacity
)
if
(
isNullable
!
K
)
Meta
Source
See Implementation
nxt
open_hashmap
OpenHashMap
aliases
KeyType
ValueType
constructors
this
destructors
~this
enums
InsertionStatus
functions
averageProbeCount
binCount
clear
contains
containsUsingLinearSearch
containsWithHoleMoving
dup
empty
get
getKeyRef
insert
insertAndReturnElement
insertN
length
opEquals
opIndex
opIndexAssign
rawStore
remove
reserveExtra
totalProbeCount
tryGetElementFromCtorParams
manifest constants
growScaleP
growScaleQ
hasAddressLikeKey
hasValue
postblits
this(this)
static functions
holeKeyConstant
keyOf
valueOf
withCapacity
withElements
structs
T
templates
isScopedKeyType
variables
assumeNonFullHaystack
growInPlaceFlag
Reserve rom for extraCapacity number of extra buckets.