Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/That3Percent/tree-buf
/ functions
Functions
262 in github.com/That3Percent/tree-buf
⨍
Functions
262
◇
Types & classes
86
↓ 62 callers
Method
len
(&self)
tree-buf/src/internal/types/tuple.rs:189
↓ 56 callers
Function
round_trip
(value: &T, root_size: impl Into<Option<i32>>, array_size: impl Into<Option<i32>>)
tree-buf/tests/common/mod.rs:13
↓ 27 callers
Method
a
(&self, name: &impl fmt::Display, type_id: &impl fmt::Display)
tree-buf/src/experimental/stats.rs:29
↓ 23 callers
Method
encode_with_id
(&mut self, f: impl FnOnce(&mut Self) -> T)
tree-buf/src/internal/encoder_decoder.rs:18
↓ 12 callers
Method
add
(&mut self, path: &Path, type_id: &'static str, bytes: &Bytes<'_>)
tree-buf/src/experimental/stats.rs:83
↓ 11 callers
Function
encode
TODO: Take Borrow or AsRef
tree-buf/src/lib.rs:43
↓ 10 callers
Function
decode_obj
See also 47a1482f-5ce3-4b78-b356-30c66dc60cda
tree-buf/src/internal/branch/array_branch.rs:135
↓ 10 callers
Function
decode_obj
See also 47a1482f-5ce3-4b78-b356-30c66dc60cda
tree-buf/src/internal/branch/root_branch.rs:73
↓ 10 callers
Function
decode_prefix_varint
(bytes: &[u8], offset: &mut usize)
tree-buf/src/internal/encodings/varint.rs:167
↓ 10 callers
Method
len
(&self)
tree-buf/src/internal/buffer.rs:87
↓ 9 callers
Function
decode_bytes_from_len
(bytes: &'a [u8], offset: &'_ mut usize, lens: &'_ mut usize)
tree-buf/src/internal/branch/array_branch.rs:119
↓ 9 callers
Function
parallel
(a: impl FnOnce() -> A + Send, b: impl FnOnce() -> B + Send, options: &impl DecodeOptions)
tree-buf/src/internal/parallel.rs:6
↓ 8 callers
Function
decode
(bytes: &[u8])
tree-buf/src/lib.rs:49
↓ 8 callers
Function
decode_tuple
See also e25db64d-8424-46b9-bdc1-cdb618807513
tree-buf/src/internal/branch/array_branch.rs:125
↓ 8 callers
Function
decode_tuple
See also e25db64d-8424-46b9-bdc1-cdb618807513
tree-buf/src/internal/branch/root_branch.rs:58
↓ 7 callers
Function
owned_vec
(strs: Vec<&'static str>)
tree-buf/tests/round_trip.rs:413
↓ 7 callers
Function
serialize_eq
(i: &I, o: &O, size: impl Into<Option<i32>>)
tree-buf/tests/common/mod.rs:24
↓ 6 callers
Function
decode_bytes
(len: usize, bytes: &'a [u8], offset: &'_ mut usize)
tree-buf/src/internal/types/bytes.rs:4
↓ 6 callers
Function
decode_str
(len: usize, bytes: &'a [u8], offset: &'_ mut usize)
tree-buf/src/internal/branch/root_branch.rs:83
↓ 6 callers
Function
encode_prefix_varint
(value: u64, into: &mut Vec<u8>)
tree-buf/src/internal/encodings/varint.rs:39
↓ 6 callers
Method
encode_with_len
(&mut self, f: impl FnOnce(&mut Self) -> T)
tree-buf/src/internal/encoder_decoder.rs:26
↓ 6 callers
Function
within_rle
(f: impl FnOnce() -> Result<T, ()>)
tree-buf/src/internal/encodings/rle.rs:14
↓ 5 callers
Method
capacity
(&self)
tree-buf/src/internal/buffer.rs:70
↓ 5 callers
Function
decode_next_array
TODO: Make this stack based instead of recursion based to not crash on deep inputs
tree-buf/src/internal/branch/array_branch.rs:109
↓ 5 callers
Method
next
(&mut self)
tree-buf/src/internal/types/array.rs:77
↓ 5 callers
Function
size_for_varint
(value: u64)
tree-buf/src/internal/encodings/varint.rs:4
↓ 4 callers
Method
clone
(&self)
tree-buf/src/internal/markers.rs:8
↓ 4 callers
Function
compress
(data: &[T], bytes: &mut Vec<u8>, tolerance: Option<i32>)
tree-buf/src/internal/encodings/zfp.rs:104
↓ 4 callers
Function
decode_ident
(bytes: &'a [u8], offset: &mut usize)
tree-buf/src/internal/branch/mod.rs:81
↓ 4 callers
Function
decode_ints
(bytes: &'a [u8], offset: &'_ mut usize, lens: &'_ mut usize, encoding: ArrayIntegerEncoding)
tree-buf/src/internal/branch/array_branch.rs:114
↓ 4 callers
Function
encode_usize
(value: usize, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/rust_std/usize_.rs:25
↓ 4 callers
Method
flush
(self, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/types/array.rs:98
↓ 3 callers
Method
base
(&self)
tree-buf/src/internal/buffer.rs:123
↓ 3 callers
Function
canonical_ident
TODO: If we limit ourselves to ASCII characters, then it's possible to just do the same as prefix-varint and have a tag bit to save binary size TODO:
tree-buf-macros/src/utils.rs:15
↓ 3 callers
Function
decode_all
Decodes all items from some byte aligned encoding
tree-buf/src/internal/encodings/mod.rs:25
↓ 3 callers
Method
decode_next_infallible
(&mut self)
tree-buf/src/internal/types/string.rs:169
↓ 3 callers
Function
decode_next_root
(bytes: &'a [u8], offset: &'_ mut usize, lens: &'_ mut usize)
tree-buf/src/internal/branch/root_branch.rs:54
↓ 3 callers
Function
decode_usize
(bytes: &[u8], offset: &mut usize)
tree-buf/src/internal/rust_std/usize_.rs:20
↓ 3 callers
Function
encode_with_options
(value: &T, options: &impl EncodeOptions)
tree-buf/src/experimental/options.rs:20
↓ 3 callers
Function
fast_size_for
(data: &[T], compressors: &impl CompressorSet<T>, options: &O)
tree-buf/src/internal/encodings/compress.rs:50
↓ 3 callers
Function
get_deltas
TODO: Use second-stack
tree-buf/src/internal/types/integer.rs:412
↓ 3 callers
Function
visit_array
TODO: (Security) Re-write without recursion
tree-buf/src/experimental/stats.rs:102
↓ 2 callers
Function
bool_runs_and_id
(items: &[bool])
tree-buf/src/internal/encodings/rle_bool.rs:23
↓ 2 callers
Method
buffer_one
(&'a mut self, value: &'b HashMap<K, V, S>)
tree-buf/src/internal/types/hashmap.rs:96
↓ 2 callers
Method
check_range
(&self)
tree-buf/src/internal/types/integer.rs:511
↓ 2 callers
Method
clear
(&mut self)
tree-buf/src/internal/buffer.rs:82
↓ 2 callers
Method
compress
(&self, data: &[T], stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/encodings/rle.rs:128
↓ 2 callers
Method
decode_next
(&mut self)
tree-buf/src/internal/types/hashmap.rs:161
↓ 2 callers
Function
decode_packed_bool
(bytes: &[u8])
tree-buf/src/internal/encodings/packed_bool.rs:31
↓ 2 callers
Function
decode_root
(bytes: &[u8])
tree-buf/src/internal/branch/mod.rs:118
↓ 2 callers
Function
decode_suffix_varint
(bytes: &[u8], offset: &mut usize)
tree-buf/src/internal/encodings/varint.rs:238
↓ 2 callers
Method
deref
(&self)
tree-buf/src/internal/branch/array_branch.rs:27
↓ 2 callers
Function
encode_packed_bool
(items: &[bool], bytes: &mut Vec<u8>)
tree-buf/src/internal/encodings/packed_bool.rs:4
↓ 2 callers
Function
encode_suffix_varint
(value: u64, into: &mut Vec<u8>)
tree-buf/src/internal/encodings/varint.rs:104
↓ 2 callers
Method
fast_size_for
(&self, data: &[T], options: &O)
tree-buf/src/internal/encodings/rle.rs:141
↓ 2 callers
Function
field_1d
(data: &[T])
tree-buf/src/internal/encodings/zfp.rs:33
↓ 2 callers
Function
fill_decode_skeleton
( ast: &DeriveInput, decode: impl ToTokens, array_fields: impl Iterator<Item = A>, new: impl T
tree-buf-macros/src/decode.rs:128
↓ 2 callers
Function
fill_encode_skeleton
( ast: &DeriveInput, array_fields: impl Iterator<Item = A>, buffer: impl ToTokens, flush: impl
tree-buf-macros/src/encode.rs:78
↓ 2 callers
Method
flush
(self, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/types/hashmap.rs:105
↓ 2 callers
Function
get_lookup_table
TODO: (Performance) Drop to u32 or below when possible. This showed small but non-negligible improvement. That improvement would apply to other types
tree-buf/src/internal/encodings/dictionary.rs:69
↓ 2 callers
Function
get_named_fields
(data_struct: &DataStruct)
tree-buf-macros/src/utils.rs:27
↓ 2 callers
Function
get_runs
See also 2a3a69eb-eba1-4c95-9399-f1b9daf48733
tree-buf/src/internal/encodings/rle.rs:89
↓ 2 callers
Function
make_item
()
tree-buf/tests/round_trip.rs:31
↓ 2 callers
Method
next
(&mut self)
tree-buf/src/internal/encodings/rle.rs:36
↓ 2 callers
Function
open_stream
(buffer: &[u8], zfp: *mut zfp_stream)
tree-buf/src/internal/encodings/zfp.rs:51
↓ 2 callers
Function
open_zfp_stream
()
tree-buf/src/internal/encodings/zfp.rs:43
↓ 2 callers
Function
round_trip_prefix
(values: &[u64])
tree-buf/src/internal/encodings/varint.rs:308
↓ 2 callers
Function
round_trip_suffix
(values: &[u64])
tree-buf/src/internal/encodings/varint.rs:313
↓ 2 callers
Function
set_accuracy
(zfp: *mut zfp_stream, tolerance: Option<i32>)
tree-buf/src/internal/encodings/zfp.rs:62
↓ 2 callers
Method
take
Returns an empty Buffer<T>.
tree-buf/src/internal/buffer.rs:139
↓ 2 callers
Method
top
(&self)
tree-buf/src/internal/buffer.rs:118
↓ 2 callers
Method
transmute_empty
Panics: If len != 0
tree-buf/src/internal/buffer.rs:75
↓ 1 callers
Method
buffer_many
(&'a mut self, values: &'b [T])
tree-buf/src/internal/encoder_decoder.rs:59
↓ 1 callers
Method
buffer_many
(&'a mut self, _values: &'b [Ignore])
tree-buf/src/internal/types/ignore.rs:25
↓ 1 callers
Method
buffer_one
(&'a mut self, value: &'b Vec<T>)
tree-buf/src/internal/types/array.rs:93
↓ 1 callers
Function
decode_array
(len: usize, bytes: &'a [u8], offset: &'_ mut usize, lens: &'_ mut usize)
tree-buf/src/internal/branch/root_branch.rs:67
↓ 1 callers
Method
decode_next
(&mut self)
tree-buf/src/internal/types/array.rs:148
↓ 1 callers
Function
decode_rle_bool
(runs: IntoIter<u64>, first: bool)
tree-buf/src/internal/encodings/rle_bool.rs:5
↓ 1 callers
Function
decode_str
(bytes: &'a [u8], offset: &'_ mut usize)
tree-buf/src/internal/types/string.rs:29
↓ 1 callers
Function
decode_str_len
(len: usize, bytes: &'a [u8], offset: &'_ mut usize)
tree-buf/src/internal/types/string.rs:23
↓ 1 callers
Function
decode_with_options
(bytes: &[u8], options: &impl DecodeOptions)
tree-buf/src/experimental/options.rs:37
↓ 1 callers
Function
encode_rle_bool
(items: &[bool], stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/encodings/rle_bool.rs:54
↓ 1 callers
Function
encode_root_uint
(value: u64, bytes: &mut Vec<u8>)
tree-buf/src/internal/types/integer.rs:315
↓ 1 callers
Function
encode_str
(value: &str, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/types/string.rs:17
↓ 1 callers
Method
flush
(self, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/types/string.rs:78
↓ 1 callers
Function
impl_decode_macro
(ast: &DeriveInput)
tree-buf-macros/src/decode.rs:8
↓ 1 callers
Function
impl_encode_macro
(ast: &DeriveInput)
tree-buf-macros/src/encode.rs:8
↓ 1 callers
Function
impl_enum_decode
(ast: &DeriveInput, data_enum: &DataEnum)
tree-buf-macros/src/decode.rs:172
↓ 1 callers
Function
impl_enum_encode
(ast: &DeriveInput, data_enum: &DataEnum)
tree-buf-macros/src/encode.rs:118
↓ 1 callers
Function
impl_struct_decode
(ast: &DeriveInput, data_struct: &DataStruct)
tree-buf-macros/src/decode.rs:16
↓ 1 callers
Function
impl_struct_encode
(ast: &DeriveInput, data_struct: &DataStruct)
tree-buf-macros/src/encode.rs:16
↓ 1 callers
Method
parallel
(&self)
tree-buf/src/internal/options.rs:58
↓ 1 callers
Method
put
Puts a Buffer<T> into the pool for later.
tree-buf/src/internal/buffer.rs:143
↓ 1 callers
Function
round_trip
(data: &[T], encoder: impl Fn(T, &mut Vec<u8>), decoder: impl Fn(&[u8], &mut usize) -> DecodeResult<T>)
tree-buf/src/internal/encodings/mod.rs:43
↓ 1 callers
Function
size_of_rle_bool
(items: &[bool], options: &O)
tree-buf/src/internal/encodings/rle_bool.rs:64
↓ 1 callers
Method
try_extend
Extends the slice as much as possible, returning any remainder
tree-buf/src/internal/buffer.rs:104
↓ 1 callers
Method
try_push
(&mut self, elem: T)
tree-buf/src/internal/buffer.rs:92
↓ 1 callers
Function
visit
(path: Path, branch: &DynRootBranch<'_>, breakdown: &mut SizeBreakdown)
tree-buf/src/experimental/stats.rs:168
↓ 1 callers
Method
visit_root
(&mut self, root: &DynRootBranch<'_>)
tree-buf/src/internal/branch/visitor.rs:4
Function
add_option_defaults_to_none
()
tree-buf/tests/schema_migrations.rs:10
next →
1–100 of 262, ranked by callers