Skip to main content

Crate ezlib

Crate ezlib 

Source

Structs§

BPlusTreeMap
BPlusTreeNode
BlockAllocator
EzError
FixedList
FreeListIter
FreeListVec
Hallocator
KeyString
Pointer
Slice

Enums§

ErrorTag

Constants§

DATA_BUFFER
INSTRUCTION_BUFFER
MAX_DATA_LEN
NULLPTR
ORDER

Traits§

Null

Functions§

bytes_from_strings
bytes_to_str
Removes the trailing 0 bytes from a str created from a byte buffer
check_pointer_safety
cut
decode_hex
Decodes a hexadecimal String as a byte slice.
encode_hex
Encodes a byte slice as a hexadecimal String
extend_zeroes
f32_from_le_slice
Creates a u32 from a &u8 of length 4. Panics if len is different than 4.
get_current_time
Gets the current time as seconds since UNIX_EPOCH. Used for logging, mostly.
get_precise_time
Gets the current time as seconds since UNIX_EPOCH. Used for logging, mostly.
i32_from_le_slice
Creates a i32 from a &u8 of length 4. Panics if len is different than 4.
ksf
mean_f32_slice
mean_i32_slice
median_f32_slice
median_i32_slice
mode_i32_slice
mode_string_slice
pointer_add
pop_from_hashset
print_sep_list
ptr
raw_sum_f32_slice
rdtsc
Count cycles for benchmarking
read_f32
read_i32
read_keystring
read_u64
stdev_f32_slice
stdev_i32_slice
sum_f32_slice
sum_i32_slice
time_print
Incredibly convoluted way to print the current date. Copied from StackOverflow
u32_from_le_slice
Creates a u32 from a &u8 of length 4. Panics if len is different than 4.
u64_from_le_slice
Creates a u64 from a &u8 of length 8. Panics if len is different than 8.
usize_from_le_slice
Creates a usize from a &u8 of length 8. Panics if len is different than 8.
write_f32
write_i32
write_keystring
write_u64