Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antgroup/vsag
/ functions
Functions
5,241 in github.com/antgroup/vsag
⨍
Functions
5,241
◇
Types & classes
804
↓ 2 callers
Function
l2_and_filtering
src/distances.cpp:38
↓ 2 callers
Function
l2sqr
mockimpl/vsag/factory.cpp:112
↓ 2 callers
Function
l2sqr
src/distances.cpp:22
↓ 2 callers
Method
link_data
extern/diskann/DiskANN/src/in_mem_data_store.cpp:196
↓ 2 callers
Function
lloyds_iter
( data: &[f32], num_points: usize, dim: usize, centers: &mut [f32], num_centers: usize,
extern/diskann/DiskANN/rust/diskann/src/utils/kmeans.rs:23
↓ 2 callers
Method
load
(&mut self, filename: &str, expected_num_points: usize)
extern/diskann/DiskANN/rust/diskann/src/index/inmem_index/inmem_index.rs:721
↓ 2 callers
Function
loadTags
extern/diskann/DiskANN/include/filter_utils.h:187
↓ 2 callers
Function
load_128bit_to_256bit
extern/diskann/DiskANN/rust/vector/distance.c:4
↓ 2 callers
Function
load_4_char
src/simd/avx.cpp:732
↓ 2 callers
Function
load_4_char
src/simd/avx2.cpp:775
↓ 2 callers
Function
load_aligned_bin_impl
extern/diskann/DiskANN/include/utils.h:773
↓ 2 callers
Function
load_aligned_bin_part
extern/diskann/DiskANN/apps/test_streaming_scenario.cpp:31
↓ 2 callers
Method
load_pivot_data
( &self, num_pq_chunks: &usize, num_centers: &usize, dim: &usize, )
extern/diskann/DiskANN/rust/diskann/src/storage/pq_storage.rs:127
↓ 2 callers
Method
load_pq_pivots_bin
Load pre-trained pivot table
extern/diskann/DiskANN/rust/diskann/src/storage/disk_index_storage.rs:230
↓ 2 callers
Method
max_load_factor
extern/diskann/DiskANN/include/diskann_tsl/robin_set.h:469
↓ 2 callers
Method
mem_index_file
(&self)
extern/diskann/DiskANN/rust/diskann/src/storage/disk_index_storage.rs:280
↓ 2 callers
Function
merge_shards
extern/diskann/DiskANN/src/disk_utils.cpp:241
↓ 2 callers
Function
no_vector_compare
(a: &[Half], b: &[Half])
extern/diskann/DiskANN/rust/vector/src/distance_test.rs:30
↓ 2 callers
Function
no_vector_compare_f32
(a: &[f32], b: &[f32])
extern/diskann/DiskANN/rust/vector/src/distance_test.rs:19
↓ 2 callers
Method
node_disk_buf
(&self, node_index: usize)
extern/diskann/DiskANN/rust/diskann/src/model/graph/disk_graph.rs:127
↓ 2 callers
Method
num_threads_io
* @brief Gets the number of threads for IO operations. * * This function retrieves the number of threads to use for disk index IO during the
include/vsag/options.h:71
↓ 2 callers
Method
numeric
extern/antlr4/fc/FCParser.cpp:697
↓ 2 callers
Function
optimize_beamwidth
extern/diskann/DiskANN/src/disk_utils.cpp:769
↓ 2 callers
Function
parse_label_file_into_vec
extern/diskann/DiskANN/apps/utils/compute_groundtruth_for_filters.cpp:396
↓ 2 callers
Function
parse_sparse_vectors
tools/eval/eval_dataset.cpp:21
↓ 2 callers
Method
pivot_data_exist
(&self)
extern/diskann/DiskANN/rust/diskann/src/storage/pq_storage.rs:118
↓ 2 callers
Function
popcount
extern/diskann/DiskANN/include/diskann_tsl/sparse_hash.h:121
↓ 2 callers
Function
prefetch_vector
NOTE :: good efficiency when total_vec_size is integral multiple of 64
extern/diskann/DiskANN/include/utils.h:1056
↓ 2 callers
Function
print_error_and_terminate
extern/diskann/DiskANN/include/utils.h:217
↓ 2 callers
Method
push_internal
push back
extern/diskann/DiskANN/rust/diskann/src/model/scratch/concurrent_queue.rs:68
↓ 2 callers
Method
query
src/datacell/flatten_datacell.h:306
↓ 2 callers
Function
query_index
examples/cpp/315_feature_hgraph_merge.cpp:20
↓ 2 callers
Function
query_knn
tests/test_multi_thread.cpp:28
↓ 2 callers
Method
range_search
src/index/hnsw.cpp:408
↓ 2 callers
Method
raw_handle
(&self)
extern/diskann/DiskANN/rust/platform/src/io_completion_port.rs:66
↓ 2 callers
Method
raw_handle
(&self)
extern/diskann/DiskANN/rust/platform/src/file_handle.rs:142
↓ 2 callers
Method
read
Read disk graph data
extern/diskann/DiskANN/rust/diskann/src/storage/disk_graph_storage.rs:34
↓ 2 callers
Function
read_file_to_slice
Asynchronously queue a read request from a file into a buffer slice. Wraps the unsafe Windows API function `ReadFile`, making it safe to call only wh
extern/diskann/DiskANN/rust/platform/src/file_io.rs:39
↓ 2 callers
Function
read_json
tools/check_compatibility/check_compatibility.cpp:34
↓ 2 callers
Method
read_pivot_metadata
(&self)
extern/diskann/DiskANN/rust/diskann/src/storage/pq_storage.rs:122
↓ 2 callers
Method
read_pq_data_metadata
(&mut self)
extern/diskann/DiskANN/rust/diskann/src/storage/pq_storage.rs:166
↓ 2 callers
Function
realloc_aligned
extern/diskann/DiskANN/include/utils.h:251
↓ 2 callers
Method
register_thread
Register the io context for a thread if it hasn't been registered.
extern/diskann/DiskANN/rust/diskann/src/model/windows_aligned_file_reader/windows_aligned_file_reader.rs:96
↓ 2 callers
Function
report_memory_allocation_failure
extern/diskann/DiskANN/include/utils.h:223
↓ 2 callers
Function
report_misalignment_of_requested_size
extern/diskann/DiskANN/include/utils.h:230
↓ 2 callers
Method
reserve
Reserve capacity
extern/diskann/DiskANN/rust/diskann/src/model/neighbor/neighbor_priority_queue.rs:122
↓ 2 callers
Method
reset
(&mut self)
extern/diskann/DiskANN/rust/diskann/src/utils/timer.rs:32
↓ 2 callers
Method
reset
extern/diskann/DiskANN/include/timer.h:18
↓ 2 callers
Function
run_bruteforce_test
Run Bruteforce index tests
tests/python/test_bruteforce.py:85
↓ 2 callers
Function
run_hgraph_test
Run HNSW index tests
tests/python/test_hgraph.py:91
↓ 2 callers
Function
run_hnsw_test
Run HNSW index tests
tests/python/test_hnsw.py:78
↓ 2 callers
Function
run_ivf_test
Run HNSW index tests
tests/python/test_ivf.py:90
↓ 2 callers
Function
run_lloyds
Run Lloyds until max_reps or stopping criterion If you pass NULL for closest_docs and closest_center, it will NOT return the results, else it will ass
extern/diskann/DiskANN/rust/diskann/src/utils/kmeans.rs:104
↓ 2 callers
Method
sample_train_data
src/quantization/scalar_quantization/scalar_quantization_trainer.cpp:124
↓ 2 callers
Method
save
extern/diskann/DiskANN/python/src/dynamic_memory_index.cpp:112
↓ 2 callers
Method
saveIndex
src/algorithm/hnswlib/hnswalg.cpp:985
↓ 2 callers
Method
save_data
Save the data on a file.
extern/diskann/DiskANN/rust/diskann/src/index/inmem_index/inmem_index_storage.rs:159
↓ 2 callers
Function
save_data_in_base_dimensions
Save data to file # Arguments `filename` - filename where the data is `data` - information data `npts` - number of points `ndims` - point dimension `a
extern/diskann/DiskANN/rust/diskann/src/utils/file_util.rs:121
↓ 2 callers
Method
save_graph
Save the graph index on a file as an adjacency list. For each point, first store the number of neighbors, and then the neighbor list (each as 4 byte u
extern/diskann/DiskANN/rust/diskann/src/index/inmem_index/inmem_index_storage.rs:115
↓ 2 callers
Function
save_groundtruth_as_one_file
extern/diskann/DiskANN/apps/utils/compute_groundtruth_for_filters.cpp:378
↓ 2 callers
Method
search_impl
src/algorithm/pyramid.cpp:317
↓ 2 callers
Method
search_node
src/algorithm/pyramid.cpp:810
↓ 2 callers
Method
search_with_optimized_layout
extern/diskann/DiskANN/src/index.cpp:3710
↓ 2 callers
Function
select_dims
tests/fixtures/fixtures.cpp:34
↓ 2 callers
Function
selecting_pivots
Assume memory allocated for pivot_data as new float[num_centers * dim] and select randomly num_centers points as pivots
extern/diskann/DiskANN/rust/diskann/src/utils/kmeans.rs:150
↓ 2 callers
Function
serialize_sparse_vectors
tools/eval/eval_dataset.cpp:329
↓ 2 callers
Method
set
extern/diskann/DiskANN/include/diskann_tsl/sparse_hash.h:531
↓ 2 callers
Method
set_as_last
extern/diskann/DiskANN/include/diskann_tsl/sparse_hash.h:505
↓ 2 callers
Method
set_capacity
src/impl/bitset/fast_bitset.h:106
↓ 2 callers
Function
set_dataset
src/utils/util_functions.cpp:243
↓ 2 callers
Method
set_hash
extern/diskann/DiskANN/include/diskann_tsl/robin_hash.h:89
↓ 2 callers
Method
set_neighbors
(&self, vertex_id: u32, new_out_neighbors: AdjacencyList)
extern/diskann/DiskANN/rust/diskann/src/algorithm/prune/prune.rs:280
↓ 2 callers
Function
set_rayon_num_threads
(num_threads: u32)
extern/diskann/DiskANN/rust/diskann/src/utils/rayon_util.rs:27
↓ 2 callers
Method
set_vector
extern/diskann/DiskANN/src/in_mem_data_store.cpp:278
↓ 2 callers
Function
shuffle_16_char
src/simd/neon.cpp:2104
↓ 2 callers
Method
size
extern/diskann/DiskANN/include/diskann_tsl/robin_hash.h:635
↓ 2 callers
Method
swap
extern/diskann/DiskANN/include/diskann_tsl/robin_hash.h:842
↓ 2 callers
Method
swap
extern/diskann/DiskANN/include/diskann_tsl/sparse_hash.h:1541
↓ 2 callers
Function
trans_string_to_comparison_operator
src/attr/expression_visitor.cpp:20
↓ 2 callers
Method
transpose_codebooks
src/quantization/product_quantization/product_quantizer.cpp:311
↓ 2 callers
Method
trunc_bound_train
src/quantization/scalar_quantization/scalar_quantization_trainer.cpp:88
↓ 2 callers
Method
try_emplace_hint
extern/diskann/DiskANN/include/diskann_tsl/sparse_hash.h:1476
↓ 2 callers
Method
updateLabel
src/algorithm/hnswlib/hnswalg.cpp:1409
↓ 2 callers
Function
valid_dtype
Utility method to determine whether the provided dtype is supported by `diskannpy`, and if so, the canonical dtype we will use internally (e.
extern/diskann/DiskANN/python/src/_common.py:26
↓ 2 callers
Method
vector
(&self)
extern/diskann/DiskANN/rust/diskann/src/model/vertex/vertex.rs:46
↓ 2 callers
Function
vsag_serialize_file
src/vsag_c_api.cpp:493
↓ 2 callers
Method
wait_for_push_notify
register for notifications
extern/diskann/DiskANN/include/concurrent_queue.h:100
↓ 2 callers
Method
write_compressed_pivot_data
( &self, compressed_base: &[usize], num_centers: usize, block_size: usize,
extern/diskann/DiskANN/rust/diskann/src/storage/pq_storage.rs:56
↓ 2 callers
Method
write_compressed_pivot_metadata
(&self, npts: i32, pq_chunk: i32)
extern/diskann/DiskANN/rust/diskann/src/storage/pq_storage.rs:49
↓ 1 callers
Method
Add
src/algorithm/hgraph.cpp:736
↓ 1 callers
Method
Add
src/algorithm/brute_force.cpp:66
↓ 1 callers
Method
Add
src/algorithm/pyramid.cpp:459
↓ 1 callers
Method
AnalyzeQuery
tools/analyze_index/analyze_index.cpp:137
↓ 1 callers
Method
AsyncRead
src/factory/factory.cpp:71
↓ 1 callers
Method
BasicTest
src/datacell/bucket_datacell_test.cpp:50
↓ 1 callers
Function
BitNot
src/simd/sve.cpp:1172
↓ 1 callers
Method
Build
python_bindings/binding.cpp:152
↓ 1 callers
Method
Build
src/algorithm/pyramid.cpp:78
↓ 1 callers
Method
CalDistanceById
src/algorithm/inner_index_interface.cpp:298
↓ 1 callers
Method
CalDistanceByIdUnsafe
src/algorithm/sparse_index.cpp:223
← previous
next →
1,201–1,300 of 5,241, ranked by callers