Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Actyx/banyan
/ functions
Functions
464 in github.com/Actyx/banyan
⨍
Functions
464
◇
Types & classes
110
↓ 60 callers
Method
len
(&self)
banyan/src/index.rs:499
↓ 52 callers
Method
clone
(&self)
banyan/src/index.rs:126
↓ 49 callers
Method
as_ref
(&self)
banyan/src/index.rs:319
↓ 45 callers
Method
clone
(&self)
banyan/src/forest/mod.rs:63
↓ 34 callers
Method
collect
(&self, tree: &Tree<T, V>)
banyan/src/tree.rs:491
↓ 30 callers
Method
snapshot
(&self)
banyan/src/stream_builder.rs:135
↓ 29 callers
Method
count
Computes the number of cbor items in the cbor seq
banyan/src/store/zstd_dag_cbor_seq.rs:314
↓ 27 callers
Function
l
(x: &str)
banyan-utils/src/tag_index.rs:411
↓ 25 callers
Method
push
append a single element. This is just a shortcut for extend.
banyan/src/tree.rs:546
↓ 21 callers
Method
level
(&self)
banyan/src/tree.rs:36
↓ 20 callers
Method
extend
extend the node with the given iterator of key/value pairs 
banyan/tests/mini_store.rs:212
↓ 14 callers
Method
tags
(&mut self, names: &[&'static str])
banyan-utils/src/bin/cli.rs:217
↓ 11 callers
Method
any
(self)
banyan/src/util.rs:42
↓ 11 callers
Method
compressed
Get the compressed data
banyan/src/store/zstd_dag_cbor_seq.rs:309
↓ 11 callers
Method
len
(&self)
banyan/tests/common.rs:76
↓ 11 callers
Method
node_info
(&self, secrets: &Secrets, index: &Index<T>)
banyan/src/forest/read.rs:452
↓ 11 callers
Function
txn
(store: MemStore<Sha256Digest>, cache_cap: usize)
banyan/tests/common.rs:124
↓ 10 callers
Method
config
(&self)
banyan/src/stream_builder.rs:63
↓ 10 callers
Method
len
(&self)
banyan-utils/src/tags.rs:326
↓ 10 callers
Method
load
(&self)
banyan/src/index.rs:345
↓ 9 callers
Method
assert_invariants
(&self, tree: &StreamBuilder<T, V>)
banyan/src/tree.rs:300
↓ 9 callers
Method
boxed
(self)
banyan/src/query.rs:30
↓ 9 callers
Method
boxed
(self)
banyan/tests/common.rs:441
↓ 9 callers
Method
extend_unpacked
extend the node with the given iterator of key/value pairs This variant will not pack the tree, but just create a new tree from the new values and jo
banyan/src/tree.rs:589
↓ 9 callers
Method
left_iter
(self)
banyan/src/util.rs:79
↓ 9 callers
Method
load_cached
(&self)
banyan/src/index.rs:340
↓ 9 callers
Method
right_iter
(self)
banyan/src/util.rs:83
↓ 9 callers
Method
tree
(self)
banyan/tests/common.rs:196
↓ 8 callers
Method
clear
(self)
banyan/src/util.rs:58
↓ 8 callers
Method
count
number of elements in the tree
banyan/src/tree.rs:49
↓ 8 callers
Function
decompress_and_transform
decompress some data into an internal thread-local buffer, and, on success, applies a transform to the buffer returns the result of the function call
banyan/src/store/thread_local_zstd.rs:61
↓ 8 callers
Method
dump
dumps the tree structure
banyan/src/tree.rs:131
↓ 8 callers
Method
link
(&self)
banyan/src/tree.rs:32
↓ 8 callers
Method
secrets
(&self)
banyan/src/tree.rs:66
↓ 7 callers
Method
iter_filtered
( &self, tree: &Tree<T, V>, query: impl Query<T> + Clone + 'static, )
banyan/src/tree.rs:355
↓ 7 callers
Method
next
(&mut self)
banyan/src/util.rs:136
↓ 7 callers
Method
query
(&self)
banyan/tests/common.rs:154
↓ 7 callers
Method
sealed
(&self)
banyan/src/index.rs:235
↓ 6 callers
Method
contains
(&self, triple: &(u64, Key, u64))
banyan/tests/common.rs:161
↓ 6 callers
Method
dnf
convert the expression into disjunctive normal form careful, for some expressions this can have exponential runtime. E.g. the disjunctive normal form
banyan-utils/src/tag_index.rs:293
↓ 6 callers
Method
expression
converts the disjunctive normal form back to an expression
banyan-utils/src/tag_index.rs:333
↓ 6 callers
Method
index_key
(&self)
banyan/src/forest/mod.rs:157
↓ 6 callers
Function
scrape_links
scrape references from a dag cbor seq using cbor-data
banyan/src/store/zstd_dag_cbor_seq.rs:494
↓ 6 callers
Method
set_index
(&mut self, index: Option<Index<T>>)
banyan/src/stream_builder.rs:203
↓ 5 callers
Method
builder
(self)
banyan/tests/common.rs:201
↓ 5 callers
Method
get
(&self, index: usize)
banyan/src/index.rs:492
↓ 5 callers
Method
get_block
(&self, link: &T::Link)
banyan/src/forest/read.rs:425
↓ 5 callers
Method
push
(&self, xs: Vec<(Key, u64)>)
banyan/tests/mini_store.rs:43
↓ 5 callers
Method
skip
(&self, range: Range<u64>, index: &NodeInfo<T, R>)
banyan/src/forest/read.rs:65
↓ 5 callers
Method
state_mut
(&mut self)
banyan/src/stream_builder.rs:191
↓ 5 callers
Method
store
(&self)
banyan/src/forest/read.rs:355
↓ 5 callers
Method
summarize
(&self)
banyan/src/index.rs:216
↓ 4 callers
Method
extend_branch
given some children and some additional elements, creates a node with the given children and new children from `from` until it is full
banyan/src/forest/write.rs:102
↓ 4 callers
Method
index
root of a non-empty tree
banyan/src/tree.rs:62
↓ 4 callers
Method
iter_filtered_chunked
( &self, tree: &Tree<T, V>, query: Q, mk_extra: &'static F, )
banyan/src/tree.rs:393
↓ 4 callers
Method
key_bytes
(&self)
banyan/src/index.rs:253
↓ 4 callers
Method
next
(&mut self)
banyan/src/forest/read.rs:337
↓ 4 callers
Method
next_pos
(&mut self, mode: &Mode)
banyan/src/forest/read.rs:146
↓ 4 callers
Method
next_pos
(&mut self, mode: &Mode)
banyan/src/forest/index_iter.rs:51
↓ 4 callers
Method
pack
Packs the tree to the left. For an already packed tree, this is a noop. Otherwise, all packed subtrees will be reused without touching them. Likewise
banyan/src/tree.rs:532
↓ 4 callers
Method
reads
(&self)
banyan-utils/tests/ops_counting.rs:35
↓ 4 callers
Method
stream_trees_chunked
Given a sequence of roots, will stream chunks in ascending order until it arrives at `range.end()`. - query: the query - roots: the stream of roots. I
banyan/src/forest/stream.rs:41
↓ 4 callers
Method
traverse0
( &self, secrets: Secrets, query: Q, index: Index<T>, mk_extra: &'stat
banyan/src/tree.rs:150
↓ 4 callers
Method
value_bytes
(&self)
banyan/src/index.rs:247
↓ 4 callers
Method
value_key
(&self)
banyan/src/forest/mod.rs:161
↓ 3 callers
Method
as_ref
(&self)
banyan/tests/common.rs:406
↓ 3 callers
Method
branch_sealed
predicate to determine if a branch is sealed, based on the config
banyan/src/forest/mod.rs:224
↓ 3 callers
Function
compare_filtered
checks that stream_filtered returns the same elements as filtering each element manually
banyan/tests/build_check.rs:30
↓ 3 callers
Method
count
number of elements in the tree
banyan/src/stream_builder.rs:166
↓ 3 callers
Method
digest
(data: &[u8])
banyan-utils/src/tags.rs:43
↓ 3 callers
Function
do_retain
(t: TestTree)
banyan/tests/build_check.rs:274
↓ 3 callers
Method
encode
(&self, c: DagCborCodec, w: &mut W)
banyan/src/index.rs:478
↓ 3 callers
Method
encode
(&self, c: DagCborCodec, w: &mut W)
banyan/tests/common.rs:388
↓ 3 callers
Method
extend_above
extends an existing node with some values The result will have the max level `level`. `from` will contain all elements that did not fit.
banyan/src/forest/write.rs:218
↓ 3 callers
Function
from_cbor_me
parses hex from cbor.me format
banyan/tests/build_check.rs:502
↓ 3 callers
Method
get
(&'a self, link: &'a T::Link)
banyan/src/store/branch_cache.rs:49
↓ 3 callers
Method
intersecting
(&self, offset: u64, x: &BranchIndex<T>, res: &mut [bool])
banyan/src/query.rs:40
↓ 3 callers
Method
into_encrypted
convert into an encrypted blob, using the given key and nonce
banyan/src/store/zstd_dag_cbor_seq.rs:411
↓ 3 callers
Method
into_inner
(self)
banyan/src/store/mem_cache.rs:104
↓ 3 callers
Method
iter_filtered_chunked_reverse
( &self, tree: &Tree<T, V>, query: Q, mk_extra: &'static F, )
banyan/src/tree.rs:413
↓ 3 callers
Method
keys
(values: impl IntoIterator<Item = u64>)
banyan/tests/common.rs:143
↓ 3 callers
Method
load_branch_from_link
load a branch given a branch index
banyan/src/forest/read.rs:437
↓ 3 callers
Method
persist_branch
( &mut self, items: &[Index<T>], stream: &mut StreamBuilderState, )
banyan/src/forest/write.rs:351
↓ 3 callers
Method
put_block
(&mut self, data: Vec<u8>)
banyan/src/forest/write.rs:45
↓ 3 callers
Method
retain
Retain just data matching the query this is done as best effort and will not be precise. E.g. if a chunk of data contains just a tiny bit that needs
banyan/src/tree.rs:611
↓ 3 callers
Method
state
(&self)
banyan/src/stream_builder.rs:187
↓ 3 callers
Method
stream_filtered_chunked0
( &self, secrets: Secrets, query: Q, index: Index<T>, mk_extra: &'stat
banyan/src/forest/read.rs:573
↓ 3 callers
Method
stream_trees
Given a sequence of roots, will stream matching events in ascending order indefinitely. This is implemented by calling stream_trees_chunked and just
banyan/src/forest/stream.rs:20
↓ 3 callers
Function
test_ops_count
( name: &str, forest: &Forest<TT, OpsCountingStore<MemStore<Sha256Digest>>>, tree: &Tree<TT, u64>,
banyan-utils/tests/ops_counting.rs:55
↓ 3 callers
Method
transaction
( &self, f: impl FnOnce(R) -> (R, W), )
banyan/src/forest/mod.rs:76
↓ 3 callers
Method
traverse_rev0
( &self, secrets: Secrets, query: Q, index: Index<T>, mk_extra: &'stat
banyan/src/tree.rs:171
↓ 2 callers
Method
as_index_ref
(&self)
banyan/src/tree.rs:28
↓ 2 callers
Method
branch_cache
(&self)
banyan/src/forest/read.rs:359
↓ 2 callers
Method
collect_from
( &self, tree: &Tree<T, V>, offset: u64, )
banyan/src/tree.rs:497
↓ 2 callers
Method
containing
(&self, offset: u64, x: &LeafIndex<T>, res: &mut [bool])
banyan/src/query.rs:36
↓ 2 callers
Method
count
(&self)
banyan/src/index.rs:229
↓ 2 callers
Method
create_index_from_link
( &self, secrets: &Secrets, sealed: impl Fn(&[Index<T>], u32) -> bool, link: T
banyan/src/forest/read.rs:381
next →
1–100 of 464, ranked by callers