ESP-IDF
nvs::HashList
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
nvs::HashList
nvs::HashList class
Syntax
Show:
Summary
Declaration
from
nvs_item_hash_list.hpp:18
class
HashList
{
public
:
HashList
(
)
;
~
HashList
(
)
;
esp_err_t
insert
(
const
Item
&
item
,
size_t
index
)
;
bool
erase
(
const
size_t
index
)
;
size_t
find
(
size_t
start
,
const
Item
&
item
)
;
void
clear
(
)
;
private
:
HashList
(
const
HashList
&
other
)
;
const
HashList
&
operator
=
(
const
HashList
&
rhs
)
;
protected
:
struct
HashListNode
{
HashListNode
(
)
:
mIndex
(
0xff
)
,
mHash
(
0
)
{
}
HashListNode
(
uint32_t
hash
,
size_t
index
)
:
mIndex
(
(
uint32_t
)
index
)
,
mHash
(
hash
)
{
}
uint32_t
mIndex
:
8
;
uint32_t
mHash
:
24
;
}
;
struct
HashListBlock
:
public
intrusive_list_node
<
HashList
::
HashListBlock
>
,
public
ExceptionlessAllocatable
{
HashListBlock
(
)
;
static
const
size_t
BYTE_SIZE
=
128
;
static
const
size_t
ENTRY_COUNT
=
(
BYTE_SIZE
-
sizeof
(
intrusive_list_node
<
HashListBlock
>
)
-
sizeof
(
size_t
)
)
/
4
;
size_t
mCount
=
0
;
HashListNode
mNodes
[
ENTRY_COUNT
]
;
}
;
typedef
intrusive_list
<
HashListBlock
>
TBlockList
;
TBlockList
mBlockList
;
}
;
Fields
Field
Declared as
nvs::HashList::mBlockList
TBlockList
Methods
insert()
erase()
find()
clear()
operator=()
erase()
Examples
References
from
examples
Code
Location
Scope
Referrer
class
HashList
nvs_item_hash_list.hpp:18
HashList
::
HashList
(
)
nvs_item_hash_list.cpp:20
nvs::HashList::HashList()
void
HashList
::
clear
(
)
nvs_item_hash_list.cpp:24
nvs::HashList::clear()
HashList
::
~
HashList
(
)
nvs_item_hash_list.cpp:34
nvs::HashList::~HashList()
HashList
::
HashListBlock
::
HashListBlock
(
)
nvs_item_hash_list.cpp:39
nvs::HashList::HashListBlock::HashListBlock()
esp_err_t
HashList
::
insert
(
const
Item
&
item
,
size_t
index
)
nvs_item_hash_list.cpp:45
nvs::HashList::insert()
bool
HashList
::
erase
(
size_t
index
)
nvs_item_hash_list.cpp:68
nvs::HashList::erase()
size_t
HashList
::
find
(
size_t
start
,
const
Item
&
item
)
nvs_item_hash_list.cpp:106
nvs::HashList::find()
HashList
(
const
HashList
&
other
)
;
nvs_item_hash_list.hpp:30
nvs::HashList::HashList()
const
HashList
&
operator
=
(
const
HashList
&
rhs
)
;
nvs_item_hash_list.hpp:31
nvs::HashList
nvs::HashList::operator=()
HashList
mHashList
;
nvs_page.hpp:225
nvs::Page
nvs::Page::mHashList
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
return
nvs::HashList::operator=()
nvs_item_hash_list.hpp:31
nvs::HashList::operator=()::rhs
nvs::HashList::operator=()
nvs_item_hash_list.hpp:31
nvs::Page::mHashList
nvs::Page
nvs_page.hpp:225
Lifecycle
from
examples
All items filtered out
All items filtered out