MCPcopy Create free account

hub / github.com/cosdata/cosdata / functions

Functions1,701 in github.com/cosdata/cosdata

↓ 7 callersFunctionread_len
Decode a 1–3 byte varint back to `u32`. Any bits beyond 22 are ignored.
src/models/wal.rs:59
↓ 7 callersMethodrun_upload
( &self, embeddings: Vec<RawVectorEmbedding>, transaction: &ExplicitTransaction, )
src/models/collection.rs:423
↓ 7 callersFunctionsetup_test
()
src/models/serializer/inverted/tests.rs:23
↓ 7 callersMethodweighted_dimensions
Return vector of weighted dimensions based on given input metadata fields The resulting dimensions are supposed to be used for creating replica nodes
src/metadata/schema.rs:270
↓ 6 callersMethodappend
(&mut self, op: VectorOp)
src/models/durable_wal.rs:69
↓ 6 callersMethodcalculate
( &self, x: &VectorData, y: &VectorData, is_indexing: bool, )
src/models/types.rs:474
↓ 6 callersMethodclear
(&self, idx: usize)
src/models/lru_cache.rs:48
↓ 6 callersFunctioncreate_prob_node
(id: u32, version: VersionNumber, prop_file: &RwLock<File>)
src/models/serializer/hnsw/tests.rs:121
↓ 6 callersMethodfile_size
(&self)
src/models/buffered_io.rs:441
↓ 6 callersMethodget_data
( &self, file_offset: FileOffset, )
src/models/cache_loader.rs:307
↓ 6 callersMethodget_lazy_data
(&self)
src/models/lazy_item.rs:112
↓ 6 callersMethodget_or_insert
Gets the value from the cache if it exists, else tries to insert the result of the fn `f` into the cache and returns the same
src/models/lru_cache.rs:236
↓ 6 callersFunctionget_random_versioned_vec
(rng: &mut impl Rng, version: VersionNumber)
src/models/serializer/inverted/tests.rs:51
↓ 6 callersMethodinput_field_combinations
Given the schema and metadata fields (name and value) associated with an input vector, find all relevant field combinations for which high weight dime
src/metadata/schema.rs:198
↓ 6 callersMethodlookup
(&self, k: &K)
src/models/common.rs:532
↓ 6 callersFunctionnested_lookup
(m, k1, k2)
tests/test_metadata_filters.py:189
↓ 6 callersMethodnext
(&mut self)
src/models/lru_cache.rs:403
↓ 6 callersMethodpre_commit
(self, collection: &Collection, config: &Config)
src/models/collection_transaction.rs:42
↓ 6 callersMethodread_i64_with_cursor
(&self, cursor_id: u64)
src/models/buffered_io.rs:209
↓ 6 callersFunctionread_len
Decode a 1–3 byte varint back to `u32`. Any bits beyond 22 are ignored.
src/models/serializer/mod.rs:43
↓ 6 callersMethodserialize
(&self)
src/models/tree_map.rs:555
↓ 6 callersFunctionsetup_test_in_dir
(dir: &Path)
src/models/serializer/tree_map/tests.rs:44
↓ 6 callersFunctionshift_and_accumulate
(value: u32)
org/src/main.rs:57
↓ 6 callersMethodto_internal
(&self)
src/models/rpc.rs:136
↓ 6 callersMethodupdate_f32_with_cursor
(&self, cursor_id: u64, value: f32)
src/models/buffered_io.rs:292
↓ 6 callersFunctionupdate_results
(results: &mut BinaryHeap<SearchResult>, result: SearchResult, k: usize)
org/src/cluster_hierarchy.rs:365
↓ 6 callersFunctionws_tag
Helper function to parse keywords with flexible whitespace, including newlines
org/src/cosql.rs:637
↓ 6 callersFunctionws_tag
(t: &'a str)
src/cosql/common.rs:11
↓ 5 callersMethodcmp
(&self, other: &Self)
src/models/sparse_ann_query.rs:41
↓ 5 callersFunctioncompute_vector_hash
Add this function somewhere with the other utility functions
org/src/cluster_hierarchy.rs:400
↓ 5 callersFunctioncosine_similarity_from_dot_product
Calculates cosine similarity given dot product of the two vectors and the individual maginitudes Returns `DistanceError` if either magnitude is 0, ca
src/distance/cosine.rs:223
↓ 5 callersMethodflush
(&self)
src/models/buffered_io.rs:61
↓ 5 callersMethodflush
(self)
src/models/durable_wal.rs:57
↓ 5 callersFunctiongen_combinations
(vs: &Vec<Vec<u16>>)
src/metadata/mod.rs:146
↓ 5 callersFunctiongenerate_initial_centroids
(x_vec: &[i8], k: usize)
org/src/k_means_clustering_i8_clusters.rs:10
↓ 5 callersFunctionget_data_path
()
src/models/paths.rs:3
↓ 5 callersMethodget_neighbors_raw
(&self)
src/models/prob_node.rs:347
↓ 5 callersMethodget_usv_index
(&self)
src/models/collection.rs:391
↓ 5 callersMethodget_value
gets the bare numerical value stored in the type
src/models/types.rs:418
↓ 5 callersMethodhash
(&self, state: &mut H)
src/models/types.rs:100
↓ 5 callersMethodmodify_or_insert
(&self, k: K, modify: M, insert: I)
src/models/common.rs:572
↓ 5 callersMethodnext_latest_version_link_offset
(&self)
src/indexes/hnsw/offset_counter.rs:94
↓ 5 callersMethodpartial_cmp
(&self, other: &Self)
org/src/cluster_hierarchy.rs:29
↓ 5 callersMethodpersist
persists the collection instance on disk (lmdb -> collections database)
src/models/collection.rs:342
↓ 5 callersMethodpseudo_root_dimensions
Computes dimensions for the pseudo root node
src/metadata/schema.rs:310
↓ 5 callersFunctionread_string
(bufman: &BufferManager, cursor: u64)
src/models/serializer/mod.rs:60
↓ 5 callersMethodreplica_node_kind
(&self)
src/models/types.rs:226
↓ 5 callersFunctionsafe_tokenize
Safely tokenize text without warnings.
tests/modal_remote_vllm/remote_cache_dense.py:91
↓ 5 callersMethodserialize
serializes the collection
src/models/collection.rs:337
↓ 5 callersMethodserialize
( &self, bufman: &BufferManager, latest_version_links_bufman: &FilelessBufferManager,
src/models/serializer/hnsw/node.rs:34
↓ 5 callersMethodupdate_u16_with_cursor
(&self, cursor_id: u64, value: u16)
src/models/buffered_io.rs:307
↓ 4 callersFunctionand_filter_json
Creates the JSON dictionary for a Filter::And variant.
tests/test_metadata_filters.py:227
↓ 4 callersMethodassert_eq
(&self, other: &Self, tester: &mut EqualityTester)
src/models/serializer/hnsw/tests.rs:35
↓ 4 callersMethodbatch_search
( &self, collection: &Collection, queries: Vec<Self::SearchInput>, options: &S
src/indexes/mod.rs:262
↓ 4 callersFunctioncalculate_weight
(iteration: u8)
org/src/project_and_partition.rs:98
↓ 4 callersFunctioncleanup
()
src/grpc/vectors/tests.rs:90
↓ 4 callersFunctioncosine_similarity
(a: &[f64], b: &[f64])
org/src/project_to_dim.rs:32
↓ 4 callersFunctioncosine_similarity_with_metadata
Calculates cosine similarity when vector data contains metadata
src/distance/cosine.rs:262
↓ 4 callersFunctioncount_ones_scalar
Scalar equivalent function
src/models/dot_product/x86_64.rs:651
↓ 4 callersFunctiondot_product_quaternary_scalar
(x_vec: &[Vec<u8>], y_vec: &[Vec<u8>], res: u8)
src/models/dot_product.rs:35
↓ 4 callersMethodfile_id
(&self)
src/indexes/hnsw/offset_counter.rs:79
↓ 4 callersFunctionfilter_encoded_dimensions
Returns vector of dimensions encoding query filter @NOTE(vineet): Here we're assuming that the `Filter` is valid, for the schema. Not sure if the che
src/metadata/query_filtering.rs:90
↓ 4 callersMethodfind_node
Finds the node at a given dimension Traverses the tree iteratively and returns a reference to the node.
src/models/usv_index.rs:323
↓ 4 callersMethodfreeze
(&self)
src/models/prob_node.rs:206
↓ 4 callersFunctiongenerate_level_probs
Returns inverse of probabilities for every HNSW level Note that the arg `num_levels` represents HNSW levels, hence level 0 gets implicitly added to t
src/models/common.rs:421
↓ 4 callersFunctionget_collection_by_name
gets a collection by its name
src/api/vectordb/collections/repo.rs:113
↓ 4 callersMethodget_versions
(&self)
src/models/versioning.rs:316
↓ 4 callersMethodhash_again
Computes double-pass SHA256 hash by hashing this single-pass SHA256 again
src/models/crypto.rs:45
↓ 4 callersFunctionifc_input
(kvs: Vec<(&str, i32)>)
src/metadata/schema.rs:593
↓ 4 callersMethodincrement_counter
(&self)
src/models/lru_cache.rs:346
↓ 4 callersMethodinsert
(&mut self, value: u32)
org/src/performant_fixed_set.rs:30
↓ 4 callersFunctionlmdb_init_db
(env: &Environment, name: &str)
src/models/meta_persist.rs:305
↓ 4 callersMethodnext_level_0_offset
(&self)
src/indexes/hnsw/offset_counter.rs:83
↓ 4 callersMethodnext_offset
(&self)
src/indexes/hnsw/offset_counter.rs:90
↓ 4 callersMethodnum_total_dims
(&self)
src/metadata/schema.rs:172
↓ 4 callersMethodon_cache_hit
(&self, old_counter: u32, new_counter: u32, key: u64)
src/models/lru_cache.rs:59
↓ 4 callersMethodon_cache_miss
(&self, counter: u32, key: u64)
src/models/lru_cache.rs:52
↓ 4 callersFunctionpre_process_vector
(id, values)
tests/test-dataset-streaming.py:449
↓ 4 callersFunctionpre_process_vector
(id, values)
tests/test-dataset.py:414
↓ 4 callersMethodpseudo_nonroot_dimensions
Computes dimensions for all non-root pseudo nodes In other words, the result will never include the dimensions for pseudo node (see `pseudo_root_dime
src/metadata/schema.rs:321
↓ 4 callersFunctionread_string
(bufman: &FilelessBufferManager, cursor: u64)
src/models/wal.rs:76
↓ 4 callersMethodrecords_upserted
(&self)
src/models/wal.rs:142
↓ 4 callersFunctionreopen_wal
(dir: &std::path::Path, txn_id: u32)
src/models/wal.rs:441
↓ 4 callersMethodserialize
(&self)
src/models/versioning.rs:98
↓ 4 callersMethodserialize
( &self, dim_bufman: &BufferManager, data_bufmans: &BufferManagerFactory<VersionNumber
src/models/serializer/usv/data.rs:19
↓ 4 callersFunctionsetup_test
( root_version_file_id: IndexFileId, )
src/models/serializer/hnsw/tests.rs:148
↓ 4 callersFunctionsetup_with_timeout
( )
src/grpc/vectors/tests.rs:52
↓ 4 callersFunctionshould_continue
(counts: &[usize], threshold: f64, min_clusters: usize)
org/src/k_means_clustering_i8_clusters.rs:100
↓ 4 callersMethodto_predicate
(&self, key: &str)
src/models/rpc.rs:100
↓ 4 callersMethodtotal_operations
(&self)
src/models/wal.rs:150
↓ 4 callersFunctiontraverse_find_nearest
( config: &Config, hnsw_index: &HNSWIndex, start_lazy_item_latest_ptr: SharedLatestNode, fvec:
src/vector_store.rs:1112
↓ 4 callersMethodunsafe_get_data
(&self)
src/models/lazy_item.rs:78
↓ 4 callersFunctionupdate_background_version
updates the current version of a collection
src/models/meta_persist.rs:36
↓ 4 callersFunctionvalidate_token_length
Validate that text doesn't exceed token limit when encoded.
tests/modal_remote_vllm/remote_cache_dense.py:120
↓ 4 callersFunctionvec_to_m256i
Helper function to create __m256i from Vec<u32>
src/models/dot_product/x86_64.rs:664
↓ 4 callersMethodwith_value_mut
(&self, k: &K, f: F)
src/models/common.rs:656
↓ 4 callersFunctionwrite_prop_metadata_to_file
( replica_id: InternalId, vec: Arc<Metadata>, file: &mut File, )
src/models/file_persist.rs:116
↓ 4 callersFunctionwrite_prop_value_to_file
( id: &InternalId, value: &Storage, file: &mut File, )
src/models/file_persist.rs:70
↓ 4 callersFunctionx_function
x_function remains the same
org/src/main.rs:35
↓ 4 callersFunctionx_function
x_function remains the same
tests/benches/lookup_table_benchmark.rs:14
← previousnext →101–200 of 1,701, ranked by callers