mir-ion ~master (2023-11-12T13:12:48Z)
Dub
Repo
IonSymbolTable
mir
ion
symbol_table
struct
IonSymbolTable (
bool
gc
) {
enum
double
maxLoadFactor
;
enum
uint
initialMaxProbe
;
enum
uint
initialLength
;
Entry
*
entries
;
uint
nextKeyPosition
;
uint
lengthMinusOne
;
uint
maxProbe
;
uint
elementCount
;
uint
startId
;
ubyte
[]
keySpace
;
static if
(
!gc
)
Entry
[
initialLength
+
initialMaxProbe
]
initialStackSpace
;
static if
(
!gc
)
ubyte
[
8192
]
initialKeysSpace
;
enum
IonTypeCode
via
import
mir
.
ion
.
type_code
:
IonTypeCode
;
;
size_t
ionPut
(ubyte* ptr, T value) via
import
mir
.
ion
.
tape
:
ionPut
,
ionPutEnd
,
ionPutVarUInt
,
ionPutAnnotationsListEnd
,
ionPutStartLength
,
ionPutAnnotationsListStartLength
;
;
size_t
ionPutEnd
(ubyte* startPtr, IonTypeCode tc, size_t totalElementLength) via
import
mir
.
ion
.
tape
:
ionPut
,
ionPutEnd
,
ionPutVarUInt
,
ionPutAnnotationsListEnd
,
ionPutStartLength
,
ionPutAnnotationsListStartLength
;
;
size_t
ionPutVarUInt
(ubyte* ptr, T num) via
import
mir
.
ion
.
tape
:
ionPut
,
ionPutEnd
,
ionPutVarUInt
,
ionPutAnnotationsListEnd
,
ionPutStartLength
,
ionPutAnnotationsListStartLength
;
;
size_t
ionPutAnnotationsListEnd
(ubyte* startPtr, size_t totalElementLength) via
import
mir
.
ion
.
tape
:
ionPut
,
ionPutEnd
,
ionPutVarUInt
,
ionPutAnnotationsListEnd
,
ionPutStartLength
,
ionPutAnnotationsListStartLength
;
;
size_t
ionPutStartLength
() via
import
mir
.
ion
.
tape
:
ionPut
,
ionPutEnd
,
ionPutVarUInt
,
ionPutAnnotationsListEnd
,
ionPutStartLength
,
ionPutAnnotationsListStartLength
;
;
size_t
ionPutAnnotationsListStartLength
() via
import
mir
.
ion
.
tape
:
ionPut
,
ionPutEnd
,
ionPutVarUInt
,
ionPutAnnotationsListEnd
,
ionPutStartLength
,
ionPutAnnotationsListStartLength
;
;
this(this)
;
~this
();
bool
initialized
();
void
initializeNull
();
void
initialize
();
const
(
ubyte
)[]
unfinilizedKeysData
();
void
finalize
();
inout
(
ubyte
)[]
data
();
uint
insert
(const(char)[] key);
uint
insert
(const(char)[] key, uint hash);
}
Destructor
~this
~this
()
Undocumented in source.
Postblit
this(this)
this(this)
Undocumented in source.
Members
Functions
data
inout
(
ubyte
)[]
data
()
Undocumented in source. Be warned that the author may not have intended to support it.
finalize
void
finalize
()
Prepare the table for writing. The table shouldn't be used after that.
initialize
void
initialize
()
initializeNull
void
initializeNull
()
initialized
bool
initialized
()
insert
uint
insert
(const(char)[] key)
insert
uint
insert
(const(char)[] key, uint hash)
unfinilizedKeysData
const
(
ubyte
)[]
unfinilizedKeysData
()
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
unfinilizedFirstKeyPosition
enum
unfinilizedFirstKeyPosition
;
Undocumented in source.
Variables
elementCount
uint
elementCount
;
Undocumented in source.
entries
Entry
*
entries
;
Undocumented in source.
initialKeysSpace
ubyte
[
8192
]
initialKeysSpace
;
Undocumented in source.
initialLength
enum
uint
initialLength
;
Undocumented in source.
initialMaxProbe
enum
uint
initialMaxProbe
;
Undocumented in source.
initialStackSpace
Entry
[
initialLength
+
initialMaxProbe
]
initialStackSpace
;
Undocumented in source.
keySpace
ubyte
[]
keySpace
;
Undocumented in source.
lengthMinusOne
uint
lengthMinusOne
;
Undocumented in source.
maxLoadFactor
enum
double
maxLoadFactor
;
Undocumented in source.
maxProbe
uint
maxProbe
;
Undocumented in source.
nextKeyPosition
uint
nextKeyPosition
;
Undocumented in source.
startId
uint
startId
;
Undocumented in source.
Meta
Source
See Implementation
mir
ion
symbol_table
enums
IonSystemSymbol
functions
findKey
removeSystemSymbols
static variables
IonSystemSymbolTable_v1
structs
IonSymbolTable
IonSymbolTableSequental