Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VexDB-THU/VexDB-Lite
/ functions
Functions
3,466 in github.com/VexDB-THU/VexDB-Lite
⨍
Functions
3,466
◇
Types & classes
1,249
↓ 2 callers
Function
try_float
(s: str)
tests/spec/_lib/docker/compare.py:32
↓ 2 callers
Method
try_promote_entry
模拟 get_entry 路径
vexdb_duckdb/test/cpp/test_duck_pg_shim.cpp:36
↓ 2 callers
Function
tuple_apply_impl
thirdparties/boost/mp11/tuple.hpp:36
↓ 2 callers
Function
tuple_rotate_right
thirdparties/boost/unordered/detail/foa/tuple_rotate_right.hpp:38
↓ 2 callers
Function
turn_off
common/distance/core/distance_utils_core.h:137
↓ 2 callers
Function
unchecked_rehash
thirdparties/boost/unordered/detail/foa/core.hpp:2281
↓ 2 callers
Function
unlink_bucket
thirdparties/boost/unordered/detail/fca.hpp:884
↓ 2 callers
Method
unlock
thirdparties/boost/unordered/detail/foa/reentrancy_check.hpp:77
↓ 2 callers
Method
unlock_page_data
common/vtl/disk_container/blockmgr.hpp:85
↓ 2 callers
Method
unlock_shared
thirdparties/boost/unordered/detail/foa/rw_spinlock.hpp:104
↓ 2 callers
Function
unsynchronized_push_impl
thirdparties/boost/lockfree/queue.hpp:410
↓ 2 callers
Function
upgrade_one_hash_arr
common/vtl/disk_container/disk_hashtable.hpp:1470
↓ 2 callers
Method
use_cluster
common/include/graph_index/graph_index_struct.h:47
↓ 2 callers
Function
vacuum_delay_point
vexdb_duckdb/include/vex_graph_index_depend_duck.hpp:260
↓ 2 callers
Method
valid_buf_offset
vexdb_pg/include/vector_buffer/vector_buffer_manager.h:145
↓ 2 callers
Function
vec_getseg
* Get the segment containing the specified block. * This is a simplified version of _mdfd_getseg() from md.c. * * For reads: use VEC_EXTENSION_RET
vexdb_pg/src/vector_buffer/vector_smgr.cpp:140
↓ 2 callers
Function
vec_read
* vec_read - read vector data directly from file * Returns SMGR_RD_OK on success, SMGR_RD_NO_BLOCK if file not found, * SMGR_RD_CRC_ERROR on read er
vexdb_pg/src/vector_buffer/vector_smgr.cpp:1037
↓ 2 callers
Function
vexdb_lite_get_enable_vec_buffer_manager
vexdb_pg/src/guc_config.cpp:27
↓ 2 callers
Function
vexdb_lite_get_vector_buffer_workers
vexdb_pg/src/guc_config.cpp:29
↓ 2 callers
Function
vexdb_lite_is_preloaded
vexdb_pg/src/pg_init.cpp:166
↓ 2 callers
Method
wlock
common/vtl/disk_container/diskvector.hpp:243
↓ 2 callers
Method
write
Writes `value` to the \ref boost::lockfree::spsc_value "spsc_value" * * \pre only one thread is allowed to write data to the \ref boost::lo
thirdparties/boost/lockfree/spsc_value.hpp:112
↓ 2 callers
Method
wunlock
common/vtl/disk_container/diskvector.hpp:249
↓ 1 callers
Function
AllocFloatArray
common/quantizer/annkmeans.cpp:32
↓ 1 callers
Method
AllocHugeZero
common/quantizer/pq_alloc.h:69
↓ 1 callers
Function
ArchToName
vexdb_duckdb/functions/distance_functions.cpp:129
↓ 1 callers
Method
BuildBulk
vexdb_duckdb/index/graph_index.cpp:313
↓ 1 callers
Function
CheckCenters
common/quantizer/annkmeans.cpp:356
↓ 1 callers
Function
ComputeScanK
Decide how many rows VEXDB_INDEX_SCAN should produce so that, after the post-filter trims, the outer TOPN still has at least k rows. When cardinality
vexdb_duckdb/optimizer/vex_optimizer.cpp:259
↓ 1 callers
Method
CreateAllocators
vexdb_duckdb/include/vex_graph_index_depend_duck.hpp:709
↓ 1 callers
Method
DeserializeFromStorage
vexdb_duckdb/index/graph_index.cpp:1136
↓ 1 callers
Function
DeserializeManifest
vexdb_duckdb/index/vex_disk_block_store.cpp:53
↓ 1 callers
Function
DistanceFunctionMatchesMetric
vexdb_duckdb/optimizer/vex_optimizer.cpp:71
↓ 1 callers
Function
ElkanKmeans
Elkan's accelerated K-means. Uses triangle inequality to skip distance computations. See ICML 2003 paper.
common/quantizer/annkmeans.cpp:160
↓ 1 callers
Function
ExtractFloatVector
vexdb_duckdb/optimizer/vex_physical_index_scan.cpp:146
↓ 1 callers
Function
FetchRowsByRowIds
vexdb_duckdb/include/vex_fetch_utils.hpp:49
↓ 1 callers
Function
FreeFloatArray
common/quantizer/annkmeans.cpp:41
↓ 1 callers
Method
GetDimension
vexdb_duckdb/include/vex_graph_index.hpp:61
↓ 1 callers
Method
GetEfConstruction
vexdb_duckdb/include/vex_graph_index.hpp:67
↓ 1 callers
Method
GetM
vexdb_duckdb/include/vex_graph_index.hpp:64
↓ 1 callers
Method
GetMaxLevel
vexdb_duckdb/index/graph_index.cpp:1023
↓ 1 callers
Function
GetOutputTypes
vexdb_duckdb/optimizer/vex_optimizer.cpp:237
↓ 1 callers
Method
GetPQCodebookBytes
vexdb_duckdb/include/vex_graph_index.hpp:81
↓ 1 callers
Method
GetPQCodesBytes
vexdb_duckdb/include/vex_graph_index.hpp:80
↓ 1 callers
Method
GetPQM
vexdb_duckdb/include/vex_graph_index.hpp:79
↓ 1 callers
Method
GetRowIdCount
vexdb_duckdb/index/graph_index.cpp:1070
↓ 1 callers
Function
HasColumnRefFromTable
vexdb_duckdb/optimizer/vex_optimizer.cpp:97
↓ 1 callers
Function
InitCenters
Initialize centers with k-means++. Arthur & Vassilvitskii, SODA 2007 `lower_bound` is sized num_samples * num_centers and pre-allocated by caller.
common/quantizer/annkmeans.cpp:66
↓ 1 callers
Function
IsAscDistanceFunction
vexdb_duckdb/optimizer/vex_optimizer.cpp:76
↓ 1 callers
Function
IsColumnRefFromTable
vexdb_duckdb/optimizer/vex_optimizer.cpp:81
↓ 1 callers
Function
IsDistanceFunction
vexdb_duckdb/optimizer/vex_optimizer.cpp:67
↓ 1 callers
Function
LoadIntBin
vexdb_duckdb/test/benchmark/vex_sift_sql_benchmark.cpp:59
↓ 1 callers
Function
MakeArrayValue
vexdb_duckdb/test/stress_parallel_build.cpp:36
↓ 1 callers
Function
MakeArrayValue
vexdb_duckdb/test/benchmark/vex_sift_sql_benchmark.cpp:75
↓ 1 callers
Function
MetricToString
vexdb_duckdb/functions/index_info_function.cpp:47
↓ 1 callers
Function
ParseMetric
vexdb_duckdb/index/graph_index.cpp:66
↓ 1 callers
Function
PgPQAllocator
vexdb_pg/include/pq_pg_adapter.h:27
↓ 1 callers
Function
PgQuantizerCall
vexdb_pg/include/pq_pg_adapter.h:40
↓ 1 callers
Function
QuerySingleInt
vexdb_duckdb/test/smoke_create_index.cpp:50
↓ 1 callers
Function
QuerySingleInt
vexdb_duckdb/test/stress_parallel_build.cpp:51
↓ 1 callers
Function
QueryToString
vexdb_duckdb/test/smoke_create_index.cpp:31
↓ 1 callers
Function
QuickCenters
Fast path when samples.length <= centers.maxlen: copy unique samples and fill the rest with random vectors (normalized for cosine).
common/quantizer/annkmeans.cpp:123
↓ 1 callers
Function
RandomDouble
Random number generator for level assignment */
common/distance/core/distance.h:430
↓ 1 callers
Method
RandomInt
common/quantizer/pq_alloc.cpp:20
↓ 1 callers
Function
ReadBlobFromBlocks
vexdb_duckdb/index/vex_disk_block_store.cpp:100
↓ 1 callers
Function
ReadExplain
vexdb_duckdb/test/benchmark/vex_sift_sql_benchmark.cpp:110
↓ 1 callers
Function
ReadTopIds
vexdb_duckdb/test/benchmark/vex_sift_sql_benchmark.cpp:98
↓ 1 callers
Function
RegisterIndexTypes
vexdb_duckdb/vex_extension.cpp:29
↓ 1 callers
Function
ReplaceGetWithVexScan
vexdb_duckdb/optimizer/vex_optimizer.cpp:226
↓ 1 callers
Method
ReserveCapacity
并行 build 启动前 caller 应调一次。两件事: 1. 预留 outer vector 容量避免并行阶段 realloc 让 raw ptr 失效 2. 预 New() 所有节点的 FixedSizeAllocator 槽位(FixedSizeAllocator 内 部 buffers m
vexdb_duckdb/include/vex_graph_index_depend_duck.hpp:405
↓ 1 callers
Method
ResizeForReload
vexdb_duckdb/include/vex_graph_index_depend_duck.hpp:700
↓ 1 callers
Function
RunOneIteration
Build a table, insert N random vectors, CREATE INDEX with threads=K, run a few queries, return number of distinct row_ids seen across queries.
vexdb_duckdb/test/stress_parallel_build.cpp:63
↓ 1 callers
Method
SearchANN
vexdb_duckdb/index/graph_index.cpp:737
↓ 1 callers
Method
SearchPQ
vexdb_duckdb/index/graph_index.cpp:573
↓ 1 callers
Function
SharedAllocSetCreate
Create a new SharedAllocSet */
vexdb_pg/src/vector_buffer/shared_alloc_set.cpp:114
↓ 1 callers
Function
SharedAllocSetFreeInternal
Free memory — internal implementation that returns chunk to the per-size * freelist. Called by both the MemoryContext methods table (which PG kernel
vexdb_pg/src/vector_buffer/shared_alloc_set.cpp:216
↓ 1 callers
Function
SharedAllocSetReset
Reset */
vexdb_pg/src/vector_buffer/shared_alloc_set.cpp:267
↓ 1 callers
Function
ToDuckMetric
vexdb_duckdb/index/graph_index.cpp:40
↓ 1 callers
Function
TryFindMatchingIndex
vexdb_duckdb/optimizer/vex_optimizer.cpp:273
↓ 1 callers
Function
_betai
Regularized incomplete beta I_x(a, b).
scripts/validate_arm_perf.py:97
↓ 1 callers
Function
_coerce
(s: str)
tests/spec/_lib/migrate_test_to_yaml.py:359
↓ 1 callers
Function
_find_paren_end
从 ( 之后位置开始, 找匹配的 ). 支持嵌套 () [] 和 ${...}.
tests/spec/_lib/render.py:174
↓ 1 callers
Function
_has_real_sql
body 是否含非注释非空白行 (sqllogictest 视空行 + # 为分隔/注释).
tests/spec/_lib/render.py:216
↓ 1 callers
Function
_parse_expected_rows
解析 expected 区. 跳过空行和 # 注释行. 遇到第一个非数据行后停止.
tests/spec/_lib/migrate_test_to_yaml.py:337
↓ 1 callers
Function
_pg_format_value
Python 值 → PG psql 默认输出规范字符串. None/bool/float 先按 Python 类型 处理 (保精度), 字符串走 _normalize.normalize_cell_str 兜底.
tests/spec/_lib/render.py:297
↓ 1 callers
Function
_query_header
sqllogictest query header: 'query I' / 'query I rowsort' / ...
tests/spec/_lib/render.py:221
↓ 1 callers
Function
_render_one_pass
(text: str, vars_map: dict, funcs_map: dict)
tests/spec/_lib/render.py:112
↓ 1 callers
Function
_split_kv
(body: str)
tests/spec/_lib/migrate_test_to_yaml.py:105
↓ 1 callers
Function
_t_cdf_two_sided
Two-sided p-value of Student's t with `df` degrees of freedom. p = I_x(df/2, 1/2) where x = df / (df + t**2). At df=18, t=2.0 returns ~0.0608
scripts/validate_arm_perf.py:112
↓ 1 callers
Function
_t_critical_95
Rough 95% two-sided t critical. For df >= 30 use 1.96; small-sample table for 1..29; pure stdlib (no scipy).
scripts/validate_arm_perf.py:124
↓ 1 callers
Function
_templatize_create_index
(sql: str)
tests/spec/_lib/migrate_test_to_yaml.py:69
↓ 1 callers
Function
_templatize_vec_literals
`[1.0, 2.0, 3.0]::FLOAT[3]` → `${VEC_LITERAL([1.0, 2.0, 3.0], 3)}`. 只匹配不含嵌套 [] 的字面量, 避免误伤 list_transform 等表达式.
tests/spec/_lib/migrate_test_to_yaml.py:211
↓ 1 callers
Method
active
vexdb_pg/include/vector_buffer/local_vec_cache.h:64
↓ 1 callers
Function
add_basepoint
common/include/graph_index/graph_index_algorithm.h:963
↓ 1 callers
Function
add_first_basepoint
common/include/graph_index/graph_index_algorithm.h:980
↓ 1 callers
Function
add_first_upperpoint
common/include/graph_index/graph_index_algorithm.h:987
↓ 1 callers
Function
add_upperpoint
common/include/graph_index/graph_index_algorithm.h:943
↓ 1 callers
Function
add_vector
common/include/graph_index/graph_index_storage.h:441
↓ 1 callers
Function
adjust_m
vexdb_pg/src/graph_index/graph_index_build.cpp:109
↓ 1 callers
Function
allocator_destroy_n
thirdparties/boost/core/allocator_access.hpp:704
← previous
next →
701–800 of 3,466, ranked by callers