StringMapImpl - This is the base class of StringMap that is shared among all of its instantiations.
More...
#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/StringMap.h>
StringMapImpl - This is the base class of StringMap that is shared among all of its instantiations.
◆ StringMapImpl() [1/3]
wpi::StringMapImpl::StringMapImpl |
( |
unsigned |
itemSize | ) |
|
|
inlineexplicitprotected |
◆ StringMapImpl() [2/3]
◆ StringMapImpl() [3/3]
wpi::StringMapImpl::StringMapImpl |
( |
unsigned |
InitSize, |
|
|
unsigned |
ItemSize |
|
) |
| |
|
protected |
◆ empty()
bool wpi::StringMapImpl::empty |
( |
| ) |
const |
|
inline |
◆ FindKey()
FindKey - Look up the bucket that contains the specified key.
If it exists in the map, return the bucket number of the key. Otherwise return -1. This does not modify the map.
◆ getNumBuckets()
unsigned wpi::StringMapImpl::getNumBuckets |
( |
| ) |
const |
|
inline |
◆ getNumItems()
unsigned wpi::StringMapImpl::getNumItems |
( |
| ) |
const |
|
inline |
◆ getTombstoneVal()
◆ init()
void wpi::StringMapImpl::init |
( |
unsigned |
Size | ) |
|
|
protected |
Allocate the table with the specified number of buckets and otherwise setup the map as empty.
◆ LookupBucketFor()
LookupBucketFor - Look up the bucket that the specified string should end up in.
If it already exists as a key in the map, the Item pointer for the specified bucket will be non-null. Otherwise, it will be null. In either case, the FullHashValue field of the bucket will be set to the hash value of the string.
◆ RehashTable()
unsigned wpi::StringMapImpl::RehashTable |
( |
unsigned |
BucketNo = 0 | ) |
|
|
protected |
◆ RemoveKey() [1/2]
RemoveKey - Remove the StringMapEntry for the specified key from the table, returning it.
If the key is not in the table, this returns null.
◆ RemoveKey() [2/2]
RemoveKey - Remove the specified StringMapEntry from the table, but do not delete it.
This aborts if the value isn't in the table.
◆ size()
unsigned wpi::StringMapImpl::size |
( |
| ) |
const |
|
inline |
◆ swap()
◆ ItemSize
unsigned wpi::StringMapImpl::ItemSize |
|
protected |
◆ NumBuckets
unsigned wpi::StringMapImpl::NumBuckets = 0 |
|
protected |
◆ NumItems
unsigned wpi::StringMapImpl::NumItems = 0 |
|
protected |
◆ NumTombstones
unsigned wpi::StringMapImpl::NumTombstones = 0 |
|
protected |
◆ TheTable
◆ TombstoneIntVal
constexpr uintptr_t wpi::StringMapImpl::TombstoneIntVal |
|
staticconstexpr |
Initial value:=
<< PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable
uint128_t uintptr_t
Definition: format.h:432
The documentation for this class was generated from the following file:
- /home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/StringMap.h