MCPcopy Create free account

hub / github.com/That3Percent/tree-buf / functions

Functions262 in github.com/That3Percent/tree-buf

↓ 62 callersMethodlen
(&self)
tree-buf/src/internal/types/tuple.rs:189
↓ 56 callersFunctionround_trip
(value: &T, root_size: impl Into<Option<i32>>, array_size: impl Into<Option<i32>>)
tree-buf/tests/common/mod.rs:13
↓ 27 callersMethoda
(&self, name: &impl fmt::Display, type_id: &impl fmt::Display)
tree-buf/src/experimental/stats.rs:29
↓ 23 callersMethodencode_with_id
(&mut self, f: impl FnOnce(&mut Self) -> T)
tree-buf/src/internal/encoder_decoder.rs:18
↓ 12 callersMethodadd
(&mut self, path: &Path, type_id: &'static str, bytes: &Bytes<'_>)
tree-buf/src/experimental/stats.rs:83
↓ 11 callersFunctionencode
TODO: Take Borrow or AsRef
tree-buf/src/lib.rs:43
↓ 10 callersFunctiondecode_obj
See also 47a1482f-5ce3-4b78-b356-30c66dc60cda
tree-buf/src/internal/branch/array_branch.rs:135
↓ 10 callersFunctiondecode_obj
See also 47a1482f-5ce3-4b78-b356-30c66dc60cda
tree-buf/src/internal/branch/root_branch.rs:73
↓ 10 callersFunctiondecode_prefix_varint
(bytes: &[u8], offset: &mut usize)
tree-buf/src/internal/encodings/varint.rs:167
↓ 10 callersMethodlen
(&self)
tree-buf/src/internal/buffer.rs:87
↓ 9 callersFunctiondecode_bytes_from_len
(bytes: &'a [u8], offset: &'_ mut usize, lens: &'_ mut usize)
tree-buf/src/internal/branch/array_branch.rs:119
↓ 9 callersFunctionparallel
(a: impl FnOnce() -> A + Send, b: impl FnOnce() -> B + Send, options: &impl DecodeOptions)
tree-buf/src/internal/parallel.rs:6
↓ 8 callersFunctiondecode
(bytes: &[u8])
tree-buf/src/lib.rs:49
↓ 8 callersFunctiondecode_tuple
See also e25db64d-8424-46b9-bdc1-cdb618807513
tree-buf/src/internal/branch/array_branch.rs:125
↓ 8 callersFunctiondecode_tuple
See also e25db64d-8424-46b9-bdc1-cdb618807513
tree-buf/src/internal/branch/root_branch.rs:58
↓ 7 callersFunctionowned_vec
(strs: Vec<&'static str>)
tree-buf/tests/round_trip.rs:413
↓ 7 callersFunctionserialize_eq
(i: &I, o: &O, size: impl Into<Option<i32>>)
tree-buf/tests/common/mod.rs:24
↓ 6 callersFunctiondecode_bytes
(len: usize, bytes: &'a [u8], offset: &'_ mut usize)
tree-buf/src/internal/types/bytes.rs:4
↓ 6 callersFunctiondecode_str
(len: usize, bytes: &'a [u8], offset: &'_ mut usize)
tree-buf/src/internal/branch/root_branch.rs:83
↓ 6 callersFunctionencode_prefix_varint
(value: u64, into: &mut Vec<u8>)
tree-buf/src/internal/encodings/varint.rs:39
↓ 6 callersMethodencode_with_len
(&mut self, f: impl FnOnce(&mut Self) -> T)
tree-buf/src/internal/encoder_decoder.rs:26
↓ 6 callersFunctionwithin_rle
(f: impl FnOnce() -> Result<T, ()>)
tree-buf/src/internal/encodings/rle.rs:14
↓ 5 callersMethodcapacity
(&self)
tree-buf/src/internal/buffer.rs:70
↓ 5 callersFunctiondecode_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 callersMethodnext
(&mut self)
tree-buf/src/internal/types/array.rs:77
↓ 5 callersFunctionsize_for_varint
(value: u64)
tree-buf/src/internal/encodings/varint.rs:4
↓ 4 callersMethodclone
(&self)
tree-buf/src/internal/markers.rs:8
↓ 4 callersFunctioncompress
(data: &[T], bytes: &mut Vec<u8>, tolerance: Option<i32>)
tree-buf/src/internal/encodings/zfp.rs:104
↓ 4 callersFunctiondecode_ident
(bytes: &'a [u8], offset: &mut usize)
tree-buf/src/internal/branch/mod.rs:81
↓ 4 callersFunctiondecode_ints
(bytes: &'a [u8], offset: &'_ mut usize, lens: &'_ mut usize, encoding: ArrayIntegerEncoding)
tree-buf/src/internal/branch/array_branch.rs:114
↓ 4 callersFunctionencode_usize
(value: usize, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/rust_std/usize_.rs:25
↓ 4 callersMethodflush
(self, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/types/array.rs:98
↓ 3 callersMethodbase
(&self)
tree-buf/src/internal/buffer.rs:123
↓ 3 callersFunctioncanonical_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 callersFunctiondecode_all
Decodes all items from some byte aligned encoding
tree-buf/src/internal/encodings/mod.rs:25
↓ 3 callersMethoddecode_next_infallible
(&mut self)
tree-buf/src/internal/types/string.rs:169
↓ 3 callersFunctiondecode_next_root
(bytes: &'a [u8], offset: &'_ mut usize, lens: &'_ mut usize)
tree-buf/src/internal/branch/root_branch.rs:54
↓ 3 callersFunctiondecode_usize
(bytes: &[u8], offset: &mut usize)
tree-buf/src/internal/rust_std/usize_.rs:20
↓ 3 callersFunctionencode_with_options
(value: &T, options: &impl EncodeOptions)
tree-buf/src/experimental/options.rs:20
↓ 3 callersFunctionfast_size_for
(data: &[T], compressors: &impl CompressorSet<T>, options: &O)
tree-buf/src/internal/encodings/compress.rs:50
↓ 3 callersFunctionget_deltas
TODO: Use second-stack
tree-buf/src/internal/types/integer.rs:412
↓ 3 callersFunctionvisit_array
TODO: (Security) Re-write without recursion
tree-buf/src/experimental/stats.rs:102
↓ 2 callersFunctionbool_runs_and_id
(items: &[bool])
tree-buf/src/internal/encodings/rle_bool.rs:23
↓ 2 callersMethodbuffer_one
(&'a mut self, value: &'b HashMap<K, V, S>)
tree-buf/src/internal/types/hashmap.rs:96
↓ 2 callersMethodcheck_range
(&self)
tree-buf/src/internal/types/integer.rs:511
↓ 2 callersMethodclear
(&mut self)
tree-buf/src/internal/buffer.rs:82
↓ 2 callersMethodcompress
(&self, data: &[T], stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/encodings/rle.rs:128
↓ 2 callersMethoddecode_next
(&mut self)
tree-buf/src/internal/types/hashmap.rs:161
↓ 2 callersFunctiondecode_packed_bool
(bytes: &[u8])
tree-buf/src/internal/encodings/packed_bool.rs:31
↓ 2 callersFunctiondecode_root
(bytes: &[u8])
tree-buf/src/internal/branch/mod.rs:118
↓ 2 callersFunctiondecode_suffix_varint
(bytes: &[u8], offset: &mut usize)
tree-buf/src/internal/encodings/varint.rs:238
↓ 2 callersMethodderef
(&self)
tree-buf/src/internal/branch/array_branch.rs:27
↓ 2 callersFunctionencode_packed_bool
(items: &[bool], bytes: &mut Vec<u8>)
tree-buf/src/internal/encodings/packed_bool.rs:4
↓ 2 callersFunctionencode_suffix_varint
(value: u64, into: &mut Vec<u8>)
tree-buf/src/internal/encodings/varint.rs:104
↓ 2 callersMethodfast_size_for
(&self, data: &[T], options: &O)
tree-buf/src/internal/encodings/rle.rs:141
↓ 2 callersFunctionfield_1d
(data: &[T])
tree-buf/src/internal/encodings/zfp.rs:33
↓ 2 callersFunctionfill_decode_skeleton
( ast: &DeriveInput, decode: impl ToTokens, array_fields: impl Iterator<Item = A>, new: impl T
tree-buf-macros/src/decode.rs:128
↓ 2 callersFunctionfill_encode_skeleton
( ast: &DeriveInput, array_fields: impl Iterator<Item = A>, buffer: impl ToTokens, flush: impl
tree-buf-macros/src/encode.rs:78
↓ 2 callersMethodflush
(self, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/types/hashmap.rs:105
↓ 2 callersFunctionget_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 callersFunctionget_named_fields
(data_struct: &DataStruct)
tree-buf-macros/src/utils.rs:27
↓ 2 callersFunctionget_runs
See also 2a3a69eb-eba1-4c95-9399-f1b9daf48733
tree-buf/src/internal/encodings/rle.rs:89
↓ 2 callersFunctionmake_item
()
tree-buf/tests/round_trip.rs:31
↓ 2 callersMethodnext
(&mut self)
tree-buf/src/internal/encodings/rle.rs:36
↓ 2 callersFunctionopen_stream
(buffer: &[u8], zfp: *mut zfp_stream)
tree-buf/src/internal/encodings/zfp.rs:51
↓ 2 callersFunctionopen_zfp_stream
()
tree-buf/src/internal/encodings/zfp.rs:43
↓ 2 callersFunctionround_trip_prefix
(values: &[u64])
tree-buf/src/internal/encodings/varint.rs:308
↓ 2 callersFunctionround_trip_suffix
(values: &[u64])
tree-buf/src/internal/encodings/varint.rs:313
↓ 2 callersFunctionset_accuracy
(zfp: *mut zfp_stream, tolerance: Option<i32>)
tree-buf/src/internal/encodings/zfp.rs:62
↓ 2 callersMethodtake
Returns an empty Buffer<T>.
tree-buf/src/internal/buffer.rs:139
↓ 2 callersMethodtop
(&self)
tree-buf/src/internal/buffer.rs:118
↓ 2 callersMethodtransmute_empty
Panics: If len != 0
tree-buf/src/internal/buffer.rs:75
↓ 1 callersMethodbuffer_many
(&'a mut self, values: &'b [T])
tree-buf/src/internal/encoder_decoder.rs:59
↓ 1 callersMethodbuffer_many
(&'a mut self, _values: &'b [Ignore])
tree-buf/src/internal/types/ignore.rs:25
↓ 1 callersMethodbuffer_one
(&'a mut self, value: &'b Vec<T>)
tree-buf/src/internal/types/array.rs:93
↓ 1 callersFunctiondecode_array
(len: usize, bytes: &'a [u8], offset: &'_ mut usize, lens: &'_ mut usize)
tree-buf/src/internal/branch/root_branch.rs:67
↓ 1 callersMethoddecode_next
(&mut self)
tree-buf/src/internal/types/array.rs:148
↓ 1 callersFunctiondecode_rle_bool
(runs: IntoIter<u64>, first: bool)
tree-buf/src/internal/encodings/rle_bool.rs:5
↓ 1 callersFunctiondecode_str
(bytes: &'a [u8], offset: &'_ mut usize)
tree-buf/src/internal/types/string.rs:29
↓ 1 callersFunctiondecode_str_len
(len: usize, bytes: &'a [u8], offset: &'_ mut usize)
tree-buf/src/internal/types/string.rs:23
↓ 1 callersFunctiondecode_with_options
(bytes: &[u8], options: &impl DecodeOptions)
tree-buf/src/experimental/options.rs:37
↓ 1 callersFunctionencode_rle_bool
(items: &[bool], stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/encodings/rle_bool.rs:54
↓ 1 callersFunctionencode_root_uint
(value: u64, bytes: &mut Vec<u8>)
tree-buf/src/internal/types/integer.rs:315
↓ 1 callersFunctionencode_str
(value: &str, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/types/string.rs:17
↓ 1 callersMethodflush
(self, stream: &mut EncoderStream<'_, O>)
tree-buf/src/internal/types/string.rs:78
↓ 1 callersFunctionimpl_decode_macro
(ast: &DeriveInput)
tree-buf-macros/src/decode.rs:8
↓ 1 callersFunctionimpl_encode_macro
(ast: &DeriveInput)
tree-buf-macros/src/encode.rs:8
↓ 1 callersFunctionimpl_enum_decode
(ast: &DeriveInput, data_enum: &DataEnum)
tree-buf-macros/src/decode.rs:172
↓ 1 callersFunctionimpl_enum_encode
(ast: &DeriveInput, data_enum: &DataEnum)
tree-buf-macros/src/encode.rs:118
↓ 1 callersFunctionimpl_struct_decode
(ast: &DeriveInput, data_struct: &DataStruct)
tree-buf-macros/src/decode.rs:16
↓ 1 callersFunctionimpl_struct_encode
(ast: &DeriveInput, data_struct: &DataStruct)
tree-buf-macros/src/encode.rs:16
↓ 1 callersMethodparallel
(&self)
tree-buf/src/internal/options.rs:58
↓ 1 callersMethodput
Puts a Buffer<T> into the pool for later.
tree-buf/src/internal/buffer.rs:143
↓ 1 callersFunctionround_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 callersFunctionsize_of_rle_bool
(items: &[bool], options: &O)
tree-buf/src/internal/encodings/rle_bool.rs:64
↓ 1 callersMethodtry_extend
Extends the slice as much as possible, returning any remainder
tree-buf/src/internal/buffer.rs:104
↓ 1 callersMethodtry_push
(&mut self, elem: T)
tree-buf/src/internal/buffer.rs:92
↓ 1 callersFunctionvisit
(path: Path, branch: &DynRootBranch<'_>, breakdown: &mut SizeBreakdown)
tree-buf/src/experimental/stats.rs:168
↓ 1 callersMethodvisit_root
(&mut self, root: &DynRootBranch<'_>)
tree-buf/src/internal/branch/visitor.rs:4
Functionadd_option_defaults_to_none
()
tree-buf/tests/schema_migrations.rs:10
next →1–100 of 262, ranked by callers