MCPcopy Create free account

hub / github.com/Actyx/banyan / functions

Functions464 in github.com/Actyx/banyan

↓ 1 callersMethodleft_roots
leftmost branches of the tree as separate trees
banyan/src/tree.rs:250
↓ 1 callersMethodleft_roots0
leftmost branches of the tree as separate trees
banyan/src/tree.rs:262
↓ 1 callersFunctionlinks
Extract all links from a tree
banyan/tests/common.rs:287
↓ 1 callersMethodload_leaf
load a leaf given a leaf index
banyan/src/forest/read.rs:364
↓ 1 callersFunctionmap_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 callersMethodnew_observer
One way of creating a new observer. The other is to clone an existing observer.
banyan/tests/mini_store.rs:206
↓ 1 callersMethodnew_observer_id
Allocate a new receiver and return its id
banyan/tests/mini_store.rs:269
↓ 1 callersMethodnext_fallible
(&mut self)
banyan/src/forest/read.rs:222
↓ 1 callersFunctionno_range_overlap
check that for the given blocks, ranges do not overlap
banyan/tests/common.rs:339
↓ 1 callersMethodnotify
(&mut self)
banyan/tests/mini_store.rs:258
↓ 1 callersFunctionpoll_next_impl
( mut inner: parking_lot::MutexGuard<'a, VariableInner<T>>, id: usize, cx: &mut Context<'_>, f
banyan/tests/mini_store.rs:135
↓ 1 callersFunctionpubsub_pub
(topic: &str, data: &[u8])
banyan-utils/src/ipfs.rs:97
↓ 1 callersFunctionpubsub_sub
(topic: &str)
banyan-utils/src/ipfs.rs:74
↓ 1 callersMethodput
(&mut self, data: Vec<u8>)
banyan/src/store/mem_cache.rs:112
↓ 1 callersMethodput0
(&self, data: Vec<u8>)
banyan/src/store/mem_store.rs:46
↓ 1 callersMethodrepair
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 callersMethodrepair0
( &mut self, index: &Index<T>, report: &mut Vec<String>, level: &mut i32,
banyan/src/forest/write.rs:432
↓ 1 callersMethodreserve
(&mut self, n: usize)
banyan/src/stream_builder.rs:27
↓ 1 callersMethodretain0
( &mut self, offset: u64, query: &Q, index: &Index<T>, level: &mut i32
banyan/src/forest/write.rs:365
↓ 1 callersMethodroots
sealed roots of the tree
banyan/src/tree.rs:242
↓ 1 callersMethodroots0
( &self, secrets: &Secrets, index: &Index<T>, level: &mut i32, res: &m
banyan/src/forest/read.rs:672
↓ 1 callersMethodroots_impl
(&self, stream: &Secrets, index: &Index<T>)
banyan/src/forest/read.rs:665
↓ 1 callersMethodsecrets
(&self)
banyan/src/stream_builder.rs:67
↓ 1 callersMethodselect
utility function to select some items for a compactseq.
banyan/src/index.rs:91
↓ 1 callersMethodselect
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 callersMethodselect_keys
(&self, bits: &[bool])
banyan/src/index.rs:140
↓ 1 callersFunctionserialize_compressed
( key: &chacha20::Key, nonce: &chacha20::XNonce, state: &mut CipherOffset, items: &[Index<T>],
banyan/src/index.rs:431
↓ 1 callersMethodset
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 callersFunctionshrink_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 callersMethodsimplify_roots
Performs a single step of simplification on a sequence of sealed roots of descending level
banyan/src/forest/write.rs:330
↓ 1 callersMethodstream_filtered0
Convenience method to stream filtered. Implemented in terms of stream_filtered_chunked
banyan/src/forest/read.rs:560
↓ 1 callersMethodtag
(&mut self, name: &'static str)
banyan-utils/src/bin/cli.rs:213
↓ 1 callersFunctiontest_ops_count
( name: &str, forest: &Forest<TT, OpsCountingStore<MemStore<Sha256Digest>>>, tree: &Tree<TT, u64>,
banyan-utils/examples/filter_tiny.rs:57
↓ 1 callersMethodtree_from_roots
( &mut self, mut roots: Vec<Index<T>>, stream: &mut StreamBuilder<T, V>, )
banyan/src/tree.rs:511
↓ 1 callersFunctiontry_init_logging
()
banyan/tests/build_check.rs:855
↓ 1 callersFunctiontxn
(store: MemStore<Sha256Digest>)
banyan/tests/link_scraping.rs:87
↓ 1 callersFunctionzip_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
Methodand
(e: Vec<Expression>)
banyan-utils/src/tag_index.rs:236
Methodand_expr
(v: TagSet)
banyan-utils/src/tag_index.rs:337
Methodarbitrary
(g: &mut Gen)
banyan-utils/src/tag_index.rs:514
Methodarbitrary
(g: &mut Gen)
banyan/tests/common.rs:118
Methodarbitrary
(g: &mut Gen)
banyan/tests/link_scraping.rs:19
Methodas_elements
(&self)
banyan-utils/src/tag_index.rs:135
Methodas_index_ref
(&self)
banyan/src/stream_builder.rs:152
Methodbitand
(self, that: Self)
banyan-utils/src/tag_index.rs:315
Methodbitor
(self, that: Self)
banyan-utils/src/tag_index.rs:308
Methodboxed
(self)
banyan/src/util.rs:75
Functionbranch_index_wire_format
()
banyan/tests/build_check.rs:587
Functionbuild1
()
banyan/tests/build_check.rs:844
Functionbuild_get
(t: TestTree)
banyan/tests/build_check.rs:212
Functionbuild_iter_index
(t: TestTree)
banyan/tests/build_check.rs:171
Functionbuild_pack
(xss: Vec<Vec<(Key, u64)>>)
banyan/tests/build_check.rs:255
Functionbuild_pack_1
()
banyan/tests/build_check.rs:260
Functionbuild_pack_2
()
banyan/tests/build_check.rs:266
Functionbuild_stream
(t: TestTree)
banyan/tests/build_check.rs:20
Functionbuild_stream_filtered
(t: TestTree, filter: TestFilter)
banyan/tests/build_check.rs:176
Functionbuild_stream_filtered_chunked
(t: TestTree, filter: TestFilter)
banyan/tests/build_check.rs:181
Functionbuild_stream_filtered_chunked_forward_and_reverse
( t: TestTree, filter: TestFilter, )
banyan/tests/build_check.rs:186
Functionbuild_stream_filtered_chunked_no_holes
(t: TestTree, filter: TestFilter)
banyan/tests/build_check.rs:199
Functionbuild_stream_filtered_chunked_reverse
(t: TestTree, filter: TestFilter)
banyan/tests/build_check.rs:194
Functionbuild_stream_filtered_chunked_reverse_no_holes
( t: TestTree, filter: TestFilter, )
banyan/tests/build_check.rs:204
Methodchild_at
(&self, offset: u64)
banyan/src/index.rs:311
Methodchild_to_string
(x: &Expression)
banyan-utils/src/tag_index.rs:187
Methodcombine
(&mut self, b: &Self)
banyan-utils/src/tags.rs:130
Methodcombine
(&mut self, rhs: &Key)
banyan/tests/common.rs:112
Methodcontaining
(&self, matching: &mut [bool])
banyan-utils/src/tags.rs:253
Methodcontaining
(&self, _: u64, index: &banyan::index::LeafIndex<TT>, res: &mut [bool])
banyan/tests/common.rs:52
Methodcontaining
(&self, _: u64, index: &LeafIndex<TT>, res: &mut [bool])
banyan/tests/mini_store.rs:63
Methodcount
number of elements as an u64, for convenience
banyan/src/index.rs:97
Functioncreate_chacha_key
(text: String)
banyan-utils/src/lib.rs:8
Methoddebug
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
Methoddebug
config that will produce complex tree structures with few values keys are hardcoded to 0
banyan/src/forest/mod.rs:200
Methoddebug_fast
config that will produce efficient trees
banyan/src/forest/mod.rs:212
Methoddecode
( c: DagCborCodec, r: &mut R, )
banyan-utils/src/tag_index.rs:48
Methoddecode
(c: DagCborCodec, r: &mut R)
banyan-utils/src/tags.rs:27
Methoddecrypt
decrypt using the given key
banyan/src/store/zstd_dag_cbor_seq.rs:429
Functiondeep_tree_traversal_no_stack_overflow
()
banyan/tests/build_check.rs:512
Methoddefault
()
banyan/src/tree.rs:72
Methoddefault
()
banyan/src/store/branch_cache.rs:33
Methoddefault
()
banyan/src/forest/mod.rs:167
Methoddefault
()
banyan/tests/mini_store.rs:229
Methodderef
(&self)
banyan/src/stream_builder.rs:229
Methodderef
(&self)
banyan/src/forest/mod.rs:91
Methodderef_mut
(&mut self)
banyan/src/stream_builder.rs:235
Methoddeserialize
(deserializer: D)
banyan-utils/src/tag_index.rs:81
Methoddeserialize
(deserializer: D)
banyan-utils/src/ipfs.rs:34
Methoddrop
(&mut self)
banyan/src/stream_builder.rs:241
Methoddrop
(&mut self)
banyan/tests/mini_store.rs:221
Methodedges
(&'a self)
banyan-utils/src/dump.rs:91
Methodencode
(&self, c: DagCborCodec, w: &mut W)
banyan-utils/src/tag_index.rs:31
Methodestimated_size
(&self)
banyan-utils/src/tags.rs:330
Methodestimated_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
Methodexpecting
(&self, formatter: &mut fmt::Formatter)
banyan-utils/src/ipfs.rs:43
Methodfill
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
Methodfill_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
Methodfilter_tags
(tags: TagSet)
banyan-utils/src/tags.rs:150
Functionfilter_test_simple
()
banyan/tests/build_check.rs:313
Functionfilter_test_simple_2
()
banyan/tests/build_check.rs:324
Methodfmt
(&self, f: &mut std::fmt::Formatter)
banyan-utils/src/tag_index.rs:186
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
banyan-utils/src/tags.rs:77
← previousnext →201–300 of 464, ranked by callers