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
↓ 1 callers
Method
left_roots
leftmost branches of the tree as separate trees
banyan/src/tree.rs:250
↓ 1 callers
Method
left_roots0
leftmost branches of the tree as separate trees
banyan/src/tree.rs:262
↓ 1 callers
Function
links
Extract all links from a tree
banyan/tests/common.rs:287
↓ 1 callers
Method
load_leaf
load a leaf given a leaf index
banyan/src/forest/read.rs:364
↓ 1 callers
Function
map_to_index_set
Lookup all tags in a TagSet `tags` in a TagSet `table`. If all lookups are successful, translate into a set of indices into the `table` If any lookup
banyan-utils/src/tag_index.rs:98
↓ 1 callers
Method
new_observer
One way of creating a new observer. The other is to clone an existing observer.
banyan/tests/mini_store.rs:206
↓ 1 callers
Method
new_observer_id
Allocate a new receiver and return its id
banyan/tests/mini_store.rs:269
↓ 1 callers
Method
next_fallible
(&mut self)
banyan/src/forest/read.rs:222
↓ 1 callers
Function
no_range_overlap
check that for the given blocks, ranges do not overlap
banyan/tests/common.rs:339
↓ 1 callers
Method
notify
(&mut self)
banyan/tests/mini_store.rs:258
↓ 1 callers
Function
poll_next_impl
( mut inner: parking_lot::MutexGuard<'a, VariableInner<T>>, id: usize, cx: &mut Context<'_>, f
banyan/tests/mini_store.rs:135
↓ 1 callers
Function
pubsub_pub
(topic: &str, data: &[u8])
banyan-utils/src/ipfs.rs:97
↓ 1 callers
Function
pubsub_sub
(topic: &str)
banyan-utils/src/ipfs.rs:74
↓ 1 callers
Method
put
(&mut self, data: Vec<u8>)
banyan/src/store/mem_cache.rs:112
↓ 1 callers
Method
put0
(&self, data: Vec<u8>)
banyan/src/store/mem_store.rs:46
↓ 1 callers
Method
repair
repair a tree by purging parts of the tree that can not be resolved. produces a report of links that could not be resolved. Note that this is an eme
banyan/src/tree.rs:632
↓ 1 callers
Method
repair0
( &mut self, index: &Index<T>, report: &mut Vec<String>, level: &mut i32,
banyan/src/forest/write.rs:432
↓ 1 callers
Method
reserve
(&mut self, n: usize)
banyan/src/stream_builder.rs:27
↓ 1 callers
Method
retain0
( &mut self, offset: u64, query: &Q, index: &Index<T>, level: &mut i32
banyan/src/forest/write.rs:365
↓ 1 callers
Method
roots
sealed roots of the tree
banyan/src/tree.rs:242
↓ 1 callers
Method
roots0
( &self, secrets: &Secrets, index: &Index<T>, level: &mut i32, res: &m
banyan/src/forest/read.rs:672
↓ 1 callers
Method
roots_impl
(&self, stream: &Secrets, index: &Index<T>)
banyan/src/forest/read.rs:665
↓ 1 callers
Method
secrets
(&self)
banyan/src/stream_builder.rs:67
↓ 1 callers
Method
select
utility function to select some items for a compactseq.
banyan/src/index.rs:91
↓ 1 callers
Method
select
select the items marked by the bool slice and deserialize them into a vec. Other items will be skipped when deserializing, saving some unnecessary wo
banyan/src/store/zstd_dag_cbor_seq.rs:372
↓ 1 callers
Method
select_keys
(&self, bits: &[bool])
banyan/src/index.rs:140
↓ 1 callers
Function
serialize_compressed
( key: &chacha20::Key, nonce: &chacha20::XNonce, state: &mut CipherOffset, items: &[Index<T>],
banyan/src/index.rs:431
↓ 1 callers
Method
set
Send a value and notify all current receivers. This will not fail even if all receivers are dropped. It will just go into nirvana.
banyan/tests/mini_store.rs:201
↓ 1 callers
Function
shrink_to_fit
shrink a bool slice so that the last true bool is at the end
banyan/src/store/zstd_dag_cbor_seq.rs:465
↓ 1 callers
Method
simplify_roots
Performs a single step of simplification on a sequence of sealed roots of descending level
banyan/src/forest/write.rs:330
↓ 1 callers
Method
stream_filtered0
Convenience method to stream filtered. Implemented in terms of stream_filtered_chunked
banyan/src/forest/read.rs:560
↓ 1 callers
Method
tag
(&mut self, name: &'static str)
banyan-utils/src/bin/cli.rs:213
↓ 1 callers
Function
test_ops_count
( name: &str, forest: &Forest<TT, OpsCountingStore<MemStore<Sha256Digest>>>, tree: &Tree<TT, u64>,
banyan-utils/examples/filter_tiny.rs:57
↓ 1 callers
Method
tree_from_roots
( &mut self, mut roots: Vec<Index<T>>, stream: &mut StreamBuilder<T, V>, )
banyan/src/tree.rs:511
↓ 1 callers
Function
try_init_logging
()
banyan/tests/build_check.rs:855
↓ 1 callers
Function
txn
(store: MemStore<Sha256Digest>)
banyan/tests/link_scraping.rs:87
↓ 1 callers
Function
zip_with_offset_ref
Utility method to zip a number of indices with an offset that is increased by each index value
banyan/src/index.rs:453
Method
and
(e: Vec<Expression>)
banyan-utils/src/tag_index.rs:236
Method
and_expr
(v: TagSet)
banyan-utils/src/tag_index.rs:337
Method
arbitrary
(g: &mut Gen)
banyan-utils/src/tag_index.rs:514
Method
arbitrary
(g: &mut Gen)
banyan/tests/common.rs:118
Method
arbitrary
(g: &mut Gen)
banyan/tests/link_scraping.rs:19
Method
as_elements
(&self)
banyan-utils/src/tag_index.rs:135
Method
as_index_ref
(&self)
banyan/src/stream_builder.rs:152
Method
bitand
(self, that: Self)
banyan-utils/src/tag_index.rs:315
Method
bitor
(self, that: Self)
banyan-utils/src/tag_index.rs:308
Method
boxed
(self)
banyan/src/util.rs:75
Function
branch_index_wire_format
()
banyan/tests/build_check.rs:587
Function
build1
()
banyan/tests/build_check.rs:844
Function
build_get
(t: TestTree)
banyan/tests/build_check.rs:212
Function
build_iter_index
(t: TestTree)
banyan/tests/build_check.rs:171
Function
build_pack
(xss: Vec<Vec<(Key, u64)>>)
banyan/tests/build_check.rs:255
Function
build_pack_1
()
banyan/tests/build_check.rs:260
Function
build_pack_2
()
banyan/tests/build_check.rs:266
Function
build_stream
(t: TestTree)
banyan/tests/build_check.rs:20
Function
build_stream_filtered
(t: TestTree, filter: TestFilter)
banyan/tests/build_check.rs:176
Function
build_stream_filtered_chunked
(t: TestTree, filter: TestFilter)
banyan/tests/build_check.rs:181
Function
build_stream_filtered_chunked_forward_and_reverse
( t: TestTree, filter: TestFilter, )
banyan/tests/build_check.rs:186
Function
build_stream_filtered_chunked_no_holes
(t: TestTree, filter: TestFilter)
banyan/tests/build_check.rs:199
Function
build_stream_filtered_chunked_reverse
(t: TestTree, filter: TestFilter)
banyan/tests/build_check.rs:194
Function
build_stream_filtered_chunked_reverse_no_holes
( t: TestTree, filter: TestFilter, )
banyan/tests/build_check.rs:204
Method
child_at
(&self, offset: u64)
banyan/src/index.rs:311
Method
child_to_string
(x: &Expression)
banyan-utils/src/tag_index.rs:187
Method
combine
(&mut self, b: &Self)
banyan-utils/src/tags.rs:130
Method
combine
(&mut self, rhs: &Key)
banyan/tests/common.rs:112
Method
containing
(&self, matching: &mut [bool])
banyan-utils/src/tags.rs:253
Method
containing
(&self, _: u64, index: &banyan::index::LeafIndex<TT>, res: &mut [bool])
banyan/tests/common.rs:52
Method
containing
(&self, _: u64, index: &LeafIndex<TT>, res: &mut [bool])
banyan/tests/mini_store.rs:63
Method
count
number of elements as an u64, for convenience
banyan/src/index.rs:97
Function
create_chacha_key
(text: String)
banyan-utils/src/lib.rs:8
Method
debug
Creates a stream builder with debug settings. The tree config will be the debug config that produces "interesting" trees even with a small number of
banyan/src/stream_builder.rs:130
Method
debug
config that will produce complex tree structures with few values keys are hardcoded to 0
banyan/src/forest/mod.rs:200
Method
debug_fast
config that will produce efficient trees
banyan/src/forest/mod.rs:212
Method
decode
( c: DagCborCodec, r: &mut R, )
banyan-utils/src/tag_index.rs:48
Method
decode
(c: DagCborCodec, r: &mut R)
banyan-utils/src/tags.rs:27
Method
decrypt
decrypt using the given key
banyan/src/store/zstd_dag_cbor_seq.rs:429
Function
deep_tree_traversal_no_stack_overflow
()
banyan/tests/build_check.rs:512
Method
default
()
banyan/src/tree.rs:72
Method
default
()
banyan/src/store/branch_cache.rs:33
Method
default
()
banyan/src/forest/mod.rs:167
Method
default
()
banyan/tests/mini_store.rs:229
Method
deref
(&self)
banyan/src/stream_builder.rs:229
Method
deref
(&self)
banyan/src/forest/mod.rs:91
Method
deref_mut
(&mut self)
banyan/src/stream_builder.rs:235
Method
deserialize
(deserializer: D)
banyan-utils/src/tag_index.rs:81
Method
deserialize
(deserializer: D)
banyan-utils/src/ipfs.rs:34
Method
drop
(&mut self)
banyan/src/stream_builder.rs:241
Method
drop
(&mut self)
banyan/tests/mini_store.rs:221
Method
edges
(&'a self)
banyan-utils/src/dump.rs:91
Method
encode
(&self, c: DagCborCodec, w: &mut W)
banyan-utils/src/tag_index.rs:31
Method
estimated_size
(&self)
banyan-utils/src/tags.rs:330
Method
estimated_size
Provide a size estimation, which is used to calculate the overall size of the node for caching purposes. This function should be overridden, if the us
banyan/src/index.rs:107
Method
expecting
(&self, formatter: &mut fmt::Formatter)
banyan-utils/src/ipfs.rs:43
Method
fill
create a ZStdArray by filling from an iterator Takes the compressed data `compressed`, and extends it by pulling from the peekable iterator `from`. U
banyan/src/store/zstd_dag_cbor_seq.rs:148
Method
fill_ipld
create a ZStdArray by filling from an iterator Takes the compressed data `compressed`, and extends it by pulling from the peekable iterator `from`. U
banyan/src/store/zstd_dag_cbor_seq.rs:236
Method
filter_tags
(tags: TagSet)
banyan-utils/src/tags.rs:150
Function
filter_test_simple
()
banyan/tests/build_check.rs:313
Function
filter_test_simple_2
()
banyan/tests/build_check.rs:324
Method
fmt
(&self, f: &mut std::fmt::Formatter)
banyan-utils/src/tag_index.rs:186
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
banyan-utils/src/tags.rs:77
← previous
next →
201–300 of 464, ranked by callers