SYMBOL INDEX (487 symbols across 58 files) FILE: annlite/container.py class CellContainer (line 22) | class CellContainer: method __init__ (line 23) | def __init__( method ivf_search (line 88) | def ivf_search( method filter_cells (line 146) | def filter_cells( method search_cells (line 201) | def search_cells( method _search_cells (line 237) | def _search_cells( method insert (line 262) | def insert( method _add_vecs (line 310) | def _add_vecs(self, data: 'np.ndarray', cells: 'np.ndarray', offsets: ... method update (line 323) | def update( method delete (line 388) | def delete( method _rebuild_database (line 416) | def _rebuild_database(self): method _get_doc_by_id (line 429) | def _get_doc_by_id(self, doc_id: str): method documents_generator (line 437) | def documents_generator(self, cell_id: int, batch_size: int = 1000): method cell_tables (line 442) | def cell_tables(self): method cell_indexes (line 446) | def cell_indexes(self): method cell_table (line 449) | def cell_table(self, cell_id: int): method doc_store (line 452) | def doc_store(self, cell_id: int): method vec_index (line 455) | def vec_index(self, cell_id: int): method meta_table (line 459) | def meta_table(self): method total_docs (line 463) | def total_docs(self): method index_size (line 467) | def index_size(self): FILE: annlite/core/codec/base.py class BaseCodec (line 9) | class BaseCodec(ABC): method __init__ (line 10) | def __init__(self, require_train: bool = True): method fit (line 15) | def fit(self, *args, **kwargs): method encode (line 19) | def encode(self): method decode (line 23) | def decode(self): method dump (line 26) | def dump(self, target_path: 'Path'): method load (line 30) | def load(from_path: 'Path'): method is_trained (line 34) | def is_trained(self): method _check_trained (line 37) | def _check_trained(self): FILE: annlite/core/codec/pq.py class PQCodec (line 16) | class PQCodec(BaseCodec): method __init__ (line 38) | def __init__( method __hash__ (line 77) | def __hash__(self): method fit (line 89) | def fit(self, x: 'np.ndarray', iter: int = 100): method partial_fit (line 117) | def partial_fit(self, x: 'np.ndarray'): method build_codebook (line 144) | def build_codebook(self): method encode (line 158) | def encode(self, x: 'np.ndarray'): method decode (line 179) | def decode(self, codes: 'np.ndarray'): method precompute_adc (line 200) | def precompute_adc(self, query: object) -> object: method codebooks (line 227) | def codebooks(self): method get_codebook (line 231) | def get_codebook(self) -> 'np.ndarray': method get_subspace_splitting (line 239) | def get_subspace_splitting(self): method get_dist_mat (line 293) | def get_dist_mat(self, x: np.ndarray): class DistanceTable (line 330) | class DistanceTable(object): method __init__ (line 345) | def __init__(self, dtable: 'np.ndarray'): method adist (line 350) | def adist(self, codes): FILE: annlite/core/codec/projector.py class ProjectorCodec (line 8) | class ProjectorCodec(BaseCodec): method __init__ (line 29) | def __init__( method __hash__ (line 49) | def __hash__(self): method fit (line 60) | def fit(self, x: 'np.ndarray'): method partial_fit (line 85) | def partial_fit(self, x: 'np.ndarray'): method encode (line 109) | def encode(self, x: 'np.ndarray'): method decode (line 120) | def decode(self, x: 'np.ndarray'): method components (line 133) | def components(self): method explained_variance_ratio (line 141) | def explained_variance_ratio(self): method mean (line 147) | def mean(self): method var (line 153) | def var(self): FILE: annlite/core/codec/vq.py class VQCodec (line 8) | class VQCodec(BaseCodec): method __init__ (line 9) | def __init__( method __hash__ (line 30) | def __hash__(self): method fit (line 33) | def fit(self, x: 'np.ndarray'): method partial_fit (line 51) | def partial_fit(self, x: 'np.ndarray'): method build_codebook (line 68) | def build_codebook(self): method encode (line 75) | def encode(self, x: 'np.ndarray'): method decode (line 84) | def decode(self, x: 'np.ndarray'): method codebook (line 88) | def codebook(self): FILE: annlite/core/index/base.py class BaseIndex (line 10) | class BaseIndex(abc.ABC): method __init__ (line 11) | def __init__( method capacity (line 36) | def capacity(self) -> int: method size (line 40) | def size(self): method add_with_ids (line 44) | def add_with_ids(self, x: np.ndarray, ids: List[int], **kwargs): method delete (line 48) | def delete(self, ids: List[int]): method update_with_ids (line 52) | def update_with_ids(self, x: np.ndarray, ids: List[int], **kwargs): method reset (line 55) | def reset(self, capacity: Optional[int] = None): FILE: annlite/core/index/flat_index.py class FlatIndex (line 10) | class FlatIndex(BaseIndex): method __init__ (line 11) | def __init__(self, *args, **kwargs): method search (line 15) | def search( method add_with_ids (line 41) | def add_with_ids(self, x: np.ndarray, ids: List[int]): method _expand_capacity (line 52) | def _expand_capacity(self): method reset (line 61) | def reset(self, capacity: Optional[int] = None): method delete (line 65) | def delete(self, ids: List[int]): method update_with_ids (line 70) | def update_with_ids(self, x: np.ndarray, ids: List[int], **kwargs): FILE: annlite/core/index/hnsw/index.py function pre_process (line 20) | def pre_process(f): class HnswIndex (line 51) | class HnswIndex(BaseIndex): method __init__ (line 52) | def __init__( method _init_hnsw_index (line 84) | def _init_hnsw_index(self): method load (line 116) | def load(self, index_file: Union[str, Path]): method dump (line 121) | def dump(self, index_file: Union[str, Path]): method add_with_ids (line 125) | def add_with_ids( method search (line 140) | def search( method delete (line 169) | def delete(self, ids: List[int]): method update_with_ids (line 173) | def update_with_ids(self, x: 'np.ndarray', ids: List[int], **kwargs): method _expand_capacity (line 178) | def _expand_capacity(self, new_capacity: int): method reset (line 185) | def reset(self, capacity: Optional[int] = None): method size (line 190) | def size(self): method space_name (line 194) | def space_name(self): method pq_enable (line 202) | def pq_enable(self): method normalization_enable (line 206) | def normalization_enable(self): FILE: annlite/core/index/pq_index.py class PQIndex (line 11) | class PQIndex(FlatIndex): # pragma: no cover method __init__ (line 12) | def __init__( method add_with_ids (line 25) | def add_with_ids(self, x: np.ndarray, ids: List[int]): method search (line 29) | def search( FILE: annlite/enums.py class BetterEnum (line 4) | class BetterEnum(IntEnum): method __str__ (line 7) | def __str__(self): method from_string (line 11) | def from_string(cls, s: str): class Metric (line 25) | class Metric(BetterEnum): class ExpandMode (line 31) | class ExpandMode(BetterEnum): FILE: annlite/executor.py class AnnLiteIndexer (line 15) | class AnnLiteIndexer(Executor): method __init__ (line 37) | def __init__( method index (line 116) | def index( method _start_index_loop (line 141) | def _start_index_loop(self): method update (line 178) | def update( method delete (line 220) | def delete(self, parameters: dict = {}, **kwargs): method search (line 241) | def search( method backup (line 283) | def backup(self, parameters: Optional[Dict] = {}, **kwargs): method restore (line 307) | def restore(self, parameters: Optional[Dict] = {}, **kwargs): method filter (line 321) | def filter(self, parameters: Dict, **kwargs): method fill_embedding (line 331) | def fill_embedding(self, docs: DocumentArray, **kwargs): method status (line 341) | def status(self, **kwargs) -> DocumentArray: method flush (line 357) | def flush(self): method clear (line 363) | def clear(self, **kwargs): method close (line 376) | def close(self, **kwargs): FILE: annlite/filter.py function _sql_parsing (line 17) | def _sql_parsing(data, default_logic: str = 'AND'): class Filter (line 93) | class Filter(object): method __init__ (line 96) | def __init__(self, tree_data: Dict = {}): method parse_where_clause (line 99) | def parse_where_clause(self): FILE: annlite/helper.py function setup_logging (line 7) | def setup_logging(debug: bool): function str2dtype (line 24) | def str2dtype(dtype_str: str): FILE: annlite/hubble_tools.py function get_size (line 15) | def get_size(input: Path) -> float: function make_archive (line 21) | def make_archive(input: Path, output_name: str) -> Path: class Uploader (line 35) | class Uploader: method __init__ (line 36) | def __init__(self, size_limit=1024, client=None): method upload_file (line 46) | def upload_file( method upload_directory (line 60) | def upload_directory( method archive_and_upload (line 121) | def archive_and_upload( method _check_exists (line 158) | def _check_exists(self, target_name: str, type: str, file_name: str) -... method _split_file (line 175) | def _split_file(self, input: Path) -> Path: method _upload_hubble (line 191) | def _upload_hubble( class Merger (line 240) | class Merger: method __init__ (line 241) | def __init__(self, restore_path, client): method merge_file (line 251) | def merge_file(self, inputdir: Path, outputdir: Path, outputfilename: ... method get_artifact_ids (line 258) | def get_artifact_ids(self, art_list, type: str, cell_id: Optional[int]... method download (line 274) | def download(self, ids, download_folder): FILE: annlite/index.py class AnnLite (line 26) | class AnnLite(CellContainer): method __init__ (line 59) | def __init__( method _sanity_check (line 189) | def _sanity_check(self, x: 'np.ndarray'): method train (line 197) | def train(self, x: 'np.ndarray', auto_save: bool = True, force_train: ... method partial_train (line 235) | def partial_train( method index (line 274) | def index(self, docs: 'DocumentArray', **kwargs): method update (line 297) | def update( method search (line 334) | def search( method search_by_vectors (line 361) | def search_by_vectors( method filter (line 389) | def filter( method get_doc_by_id (line 424) | def get_doc_by_id(self, doc_id: str): method get_docs (line 432) | def get_docs( method _cell_selection (line 458) | def _cell_selection(self, query_np, limit): method search_numpy (line 485) | def search_numpy( method _search_numpy (line 505) | def _search_numpy(self, query_np: 'np.ndarray', filter: Dict = {}, lim... method delete (line 524) | def delete( method clear (line 539) | def clear(self): method close (line 547) | def close(self): method encode (line 551) | def encode(self, x: 'np.ndarray'): method decode (line 562) | def decode(self, x: 'np.ndarray'): method params_hash (line 575) | def params_hash(self): method model_path (line 586) | def model_path(self): method _vq_codec_path (line 590) | def _vq_codec_path(self): method _pq_codec_path (line 594) | def _pq_codec_path(self): method _projector_codec_path (line 598) | def _projector_codec_path(self): method index_hash (line 602) | def index_hash(self): method index_path (line 619) | def index_path(self): method snapshot_path (line 629) | def snapshot_path(self): method remote_store_client (line 640) | def remote_store_client(self): method backup (line 652) | def backup(self, target_name: Optional[str] = None, token: Optional[st... method restore (line 666) | def restore(self, source_name: Optional[str] = None, token: Optional[s... method dump_model (line 679) | def dump_model(self): method dump_index (line 689) | def dump_index(self): method dump (line 712) | def dump(self): method _backup_index_to_remote (line 716) | def _backup_index_to_remote(self, target_name: str, token: str): method _rebuild_index_from_local (line 769) | def _rebuild_index_from_local(self): method _rebuild_index_from_remote (line 799) | def _rebuild_index_from_remote(self, source_name: str, token: str): method is_trained (line 926) | def is_trained(self): method _reload_models (line 935) | def _reload_models(self): method use_smart_probing (line 944) | def use_smart_probing(self): method use_smart_probing (line 948) | def use_smart_probing(self, value): method stat (line 953) | def stat(self): FILE: annlite/math.py function l2_normalize (line 6) | def l2_normalize(x: 'np.ndarray', eps: float = np.finfo(np.float32).eps): function cosine (line 21) | def cosine( function sqeuclidean (line 41) | def sqeuclidean(x_mat: 'np.ndarray', y_mat: 'np.ndarray') -> 'np.ndarray': function euclidean (line 54) | def euclidean(x_mat: 'np.ndarray', y_mat: 'np.ndarray') -> 'np.ndarray': function pdist (line 64) | def pdist( function cdist (line 77) | def cdist(x_mat: 'np.ndarray', y_mat: 'np.ndarray', metric: str) -> 'np.... function top_k (line 94) | def top_k( FILE: annlite/profile.py function profile (line 14) | def profile(func): function time_profile (line 20) | def time_profile( FILE: annlite/storage/base.py class Storage (line 10) | class Storage(abc.ABC): method __init__ (line 11) | def __init__( method capacity (line 28) | def capacity(self) -> int: method size (line 33) | def size(self): method clean (line 37) | def clean(self): method add (line 41) | def add( method delete (line 51) | def delete(self, ids: List[str]): method update (line 55) | def update( FILE: annlite/storage/kv.py class DocStorage (line 10) | class DocStorage: method __init__ (line 13) | def __init__( method _init_db (line 27) | def _init_db(self, create_if_missing: bool = True, **kwargs): method insert (line 53) | def insert(self, docs: 'DocumentArray'): method update (line 64) | def update(self, docs: 'DocumentArray'): method delete (line 76) | def delete(self, doc_ids: List[str]): method get (line 85) | def get(self, doc_ids: Union[str, list]) -> DocumentArray: method clear (line 96) | def clear(self): method close (line 108) | def close(self): method __len__ (line 123) | def __len__(self): method stat (line 127) | def stat(self): method size (line 131) | def size(self): method last_transaction_id (line 135) | def last_transaction_id(self): method batched_iterator (line 138) | def batched_iterator(self, batch_size: int = 1, **kwargs) -> 'Document... FILE: annlite/storage/table.py function _converting (line 57) | def _converting(value: Any) -> str: function time_now (line 67) | def time_now(): function _get_table_names (line 71) | def _get_table_names( class Table (line 84) | class Table: method __init__ (line 85) | def __init__( method execute (line 107) | def execute(self, sql: str, commit: bool = True): method execute_many (line 112) | def execute_many(self, sql: str, parameters: List[Tuple], commit: bool... method commit (line 117) | def commit(self): method create_table (line 120) | def create_table(self): method drop_table (line 123) | def drop_table(self): method clear (line 127) | def clear(self): method load (line 132) | def load(self, data_file: Union[str, Path]): method dump (line 137) | def dump(self, data_file: Union[str, Path]): method close (line 142) | def close(self): method name (line 146) | def name(self): method schema (line 150) | def schema(self): class CellTable (line 160) | class CellTable(Table): method __init__ (line 161) | def __init__( method columns (line 181) | def columns(self) -> List[str]: method existed (line 184) | def existed(self): method add_column (line 187) | def add_column(self, name: str, dtype: str, create_index: bool = True): method create_index (line 192) | def create_index(self, column: str, commit: bool = True): method create_table (line 200) | def create_table(self): method insert (line 213) | def insert( method query (line 259) | def query( method delete (line 320) | def delete(self, doc_ids: List[str]): method get_docid_by_offset (line 329) | def get_docid_by_offset(self, offset: int): method delete_by_offset (line 336) | def delete_by_offset(self, offset: int): method exist (line 345) | def exist(self, doc_id: str): method count (line 349) | def count(self, where_clause: str = '', where_params: Tuple = ()): method size (line 375) | def size(self): class MetaTable (line 379) | class MetaTable(Table): method __init__ (line 380) | def __init__( method create_table (line 394) | def create_table(self): method iter_addresses (line 409) | def iter_addresses( method get_latest_commit (line 418) | def get_latest_commit(self): method get_address (line 425) | def get_address(self, doc_id: str): method delete_address (line 431) | def delete_address(self, doc_id: str, commit: bool = True): method add_address (line 437) | def add_address(self, doc_id: str, cell_id: int, offset: int, commit: ... method bulk_add_address (line 446) | def bulk_add_address( FILE: annlite/utils.py function clean_workspace (line 8) | def clean_workspace(): function docs_with_tags (line 16) | def docs_with_tags(N, D, probs, categories): function _precision (line 40) | def _precision(predicted, relevant, eval_at): function _recall (line 52) | def _recall(predicted, relevant, eval_at): function evaluate (line 63) | def evaluate(predicts, relevants, top_k): FILE: benchmarks/filtering_bench.py function docs_with_tags (line 22) | def docs_with_tags(N, D, probs, categories): FILE: benchmarks/hnsw_bench.py function _precision (line 16) | def _precision(predicted, relevant, eval_at): function _recall (line 28) | def _recall(predicted, relevant, eval_at): function evaluate (line 39) | def evaluate(predicts, relevants, eval_at): function get_documents (line 67) | def get_documents(nr=10, index_start=0, embeddings=None): FILE: bindings/hnsw_bindings.cpp function ParallelFor (line 25) | inline void ParallelFor(size_t start, size_t end, size_t numThreads, function assert_true (line 79) | inline void assert_true(bool expr, const std::string &msg) { class Index (line 85) | class Index { method Index (line 87) | Index(const std::string &space_name, const int dim) method init_new_index (line 144) | void init_new_index(const size_t maxElements, const size_t M, method loadPQ (line 165) | void loadPQ(const py::object &pq_codec) { method set_ef (line 180) | void set_ef(size_t ef) { method set_num_threads (line 186) | void set_num_threads(int num_threads) { method saveIndex (line 190) | void saveIndex(const std::string &path_to_index) { method loadIndex (line 194) | void loadIndex(const std::string &path_to_index, size_t max_elements) { method normalize_vector (line 206) | void normalize_vector(float *data, float *norm_array) { method addRows_ (line 216) | void addRows_(int dim, int num_threads, const py::object &ids_, method addItems (line 286) | void addItems(const py::object &input, py::object ids_ = py::none(), method knnQuery_return_numpy_ (line 303) | py::object knnQuery_return_numpy_(size_t k, int num_threads, method knnQuery_return_numpy (line 376) | py::object knnQuery_return_numpy(const py::object &input, size_t k = 1, method knnQuery_with_filter_ (line 393) | py::object knnQuery_with_filter_(size_t k, int num_threads, method knnQuery_with_filter (line 496) | py::object knnQuery_with_filter(py::object input, method getDataReturnList (line 518) | std::vector> method getIdsList (line 539) | std::vector getIdsList() { method getAnnData (line 549) | py::dict getAnnData() const { /* WARNING: Index::getAnnData is not thr... method getIndexParams (line 674) | py::dict getIndexParams() const { /* WARNING: Index::getAnnData is not method setAnnData (line 734) | void setAnnData(const py::dict d) { /* WARNING: Index::setAnnData is not method markDeleted (line 843) | void markDeleted(size_t label) { appr_alg->markDelete(label); } method resizeIndex (line 845) | void resizeIndex(size_t new_size) { appr_alg->resizeIndex(new_size); } method getMaxElements (line 847) | size_t getMaxElements() const { return appr_alg->max_elements_; } method getCurrentCount (line 849) | size_t getCurrentCount() const { return appr_alg->cur_element_count; } method _loadPQ (line 851) | void _loadPQ(const py::object &pq_abstract) { function PYBIND11_PLUGIN (line 931) | PYBIND11_PLUGIN(hnsw_bind) { FILE: examples/annlite_vs_simpleindexer.py function _precision (line 26) | def _precision(predicted, relevant, eval_at): function _recall (line 38) | def _recall(predicted, relevant, eval_at): function evaluate (line 49) | def evaluate(predicts, relevants, eval_at): function create_data (line 60) | def create_data(n_examples, D): function create_data_online (line 69) | def create_data_online(n_examples, D, batch_size): function create_test_data (line 87) | def create_test_data(D, Nq): FILE: examples/filter_example.py function clean_workspace (line 24) | def clean_workspace(): function docs_with_tags (line 32) | def docs_with_tags(N, D, probs, categories): FILE: examples/pq_benchmark.py function get_documents (line 32) | def get_documents(nr=10, index_start=0, embeddings=None): FILE: examples/utils.py function clean_workspace (line 8) | def clean_workspace(): function docs_with_tags (line 16) | def docs_with_tags(N, D, probs, categories): function _precision (line 40) | def _precision(predicted, relevant, eval_at): function _recall (line 52) | def _recall(predicted, relevant, eval_at): function evaluate (line 63) | def evaluate(predicts, relevants, top_k): FILE: executor/executor.py class AnnLiteIndexer (line 15) | class AnnLiteIndexer(Executor): method __init__ (line 37) | def __init__( method index (line 114) | def index( method _start_index_loop (line 139) | def _start_index_loop(self): method update (line 176) | def update( method delete (line 218) | def delete(self, parameters: dict = {}, **kwargs): method search (line 239) | def search( method backup (line 281) | def backup(self, parameters: Optional[Dict] = {}, **kwargs): method restore (line 303) | def restore(self, parameters: Optional[Dict] = {}, **kwargs): method filter (line 315) | def filter(self, parameters: Dict, **kwargs): method fill_embedding (line 325) | def fill_embedding(self, docs: DocumentArray, **kwargs): method status (line 335) | def status(self, **kwargs) -> DocumentArray: method flush (line 351) | def flush(self): method clear (line 357) | def clear(self, **kwargs): method close (line 370) | def close(self, **kwargs): FILE: include/hnswlib/bruteforce.h function namespace (line 7) | namespace hnswlib { FILE: include/hnswlib/fusefilter.h function binary_fuse_murmur64 (line 23) | static inline uint64_t binary_fuse_murmur64(uint64_t h) { function binary_fuse_mix_split (line 31) | static inline uint64_t binary_fuse_mix_split(uint64_t key, uint64_t seed) { function binary_fuse_rotl64 (line 34) | static inline uint64_t binary_fuse_rotl64(uint64_t n, unsigned int c) { function binary_fuse_reduce (line 37) | static inline uint32_t binary_fuse_reduce(uint32_t hash, uint32_t n) { function binary_fuse8_fingerprint (line 41) | static inline uint64_t binary_fuse8_fingerprint(uint64_t hash) { function binary_fuse_rng_splitmix64 (line 50) | static inline uint64_t binary_fuse_rng_splitmix64(uint64_t *seed) { type binary_fuse8_t (line 57) | typedef struct binary_fuse8_s { function binary_fuse_mulhi (line 69) | static inline uint64_t binary_fuse_mulhi(uint64_t a, uint64_t b) { retur... function binary_fuse_mulhi (line 71) | static inline uint64_t binary_fuse_mulhi(uint64_t a, uint64_t b) { type binary_hashes_t (line 76) | typedef struct binary_hashes_s { function binary_hashes_t (line 82) | static inline binary_hashes_t binary_fuse8_hash_batch(uint64_t hash, function binary_fuse8_hash (line 93) | static inline uint32_t binary_fuse8_hash(int index, uint64_t hash, function binary_fuse8_contain (line 105) | static inline bool binary_fuse8_contain(uint64_t key, function binary_fuse_calculate_segment_length (line 115) | static inline uint32_t binary_fuse_calculate_segment_length(uint32_t arity, function binary_fuse8_max (line 128) | static inline double binary_fuse8_max(double a, double b) { function binary_fuse_calculate_size_factor (line 135) | static inline double binary_fuse_calculate_size_factor(uint32_t arity, function binary_fuse8_allocate (line 149) | static inline bool binary_fuse8_allocate(uint32_t size, function binary_fuse8_size_in_bytes (line 178) | static inline size_t binary_fuse8_size_in_bytes(const binary_fuse8_t *fi... function binary_fuse8_free (line 183) | static inline void binary_fuse8_free(binary_fuse8_t *filter) { function binary_fuse_mod3 (line 194) | static inline uint8_t binary_fuse_mod3(uint8_t x) { function binary_fuse8_populate (line 210) | bool binary_fuse8_populate(const uint64_t *keys, uint32_t size, type SegmentLengthMask (line 388) | typedef struct binary_fuse16_s { function binary_fuse16_fingerprint (line 438) | static inline uint64_t binary_fuse16_fingerprint(uint64_t hash) { function binary_hashes_t (line 442) | static inline binary_hashes_t binary_fuse16_hash_batch(uint64_t hash, function binary_fuse16_hash (line 453) | static inline uint32_t binary_fuse16_hash(int index, uint64_t hash, function binary_fuse16_contain (line 465) | static inline bool binary_fuse16_contain(uint64_t key, function binary_fuse16_allocate (line 478) | static inline bool binary_fuse16_allocate(uint32_t size, function binary_fuse16_size_in_bytes (line 507) | static inline size_t function binary_fuse16_free (line 513) | static inline void binary_fuse16_free(binary_fuse16_t *filter) { function binary_fuse16_populate (line 535) | inline bool binary_fuse16_populate(const uint64_t *keys, uint32_t size, FILE: include/hnswlib/hnswalg.h function namespace (line 12) | namespace hnswlib { FILE: include/hnswlib/hnswlib.h function cpuid (line 19) | void cpu_x86::cpuid(int32_t out[4], int32_t eax, int32_t ecx) { function __int64 (line 22) | __int64 xgetbv(unsigned int x) { function cpuid (line 29) | void cpuid(int32_t cpuInfo[4], int32_t eax, int32_t ecx) { function xgetbv (line 32) | uint64_t xgetbv(unsigned int index) { function AVXCapable (line 54) | bool AVXCapable() { function AVX512Capable (line 81) | bool AVX512Capable() { function namespace (line 116) | namespace hnswlib { FILE: include/hnswlib/space_ip.h function namespace (line 4) | namespace hnswlib { FILE: include/hnswlib/space_l2.h function namespace (line 4) | namespace hnswlib { function L2SqrI4x (line 260) | static int function L2SqrI (line 287) | static int L2SqrI(const void* __restrict pVect1, const void* __restrict ... function class (line 302) | class L2SpaceI : public SpaceInterface { FILE: include/hnswlib/space_pq.h function namespace (line 6) | namespace hnswlib { FILE: include/hnswlib/visited_list_pool.h function namespace (line 7) | namespace hnswlib { function class (line 38) | class VisitedListPool { function VisitedList (line 50) | VisitedList *getFreeVisitedList() { function releaseVisitedList (line 65) | void releaseVisitedList(VisitedList *vl) { FILE: setup.py function has_flag (line 93) | def has_flag(compiler, flagname): function cpp_flag (line 108) | def cpp_flag(compiler): class BuildExt (line 122) | class BuildExt(build_ext): method build_extensions (line 146) | def build_extensions(self): FILE: tests/conftest.py function docs (line 9) | def docs(): function update_docs (line 23) | def update_docs(): function tmpfile (line 32) | def tmpfile(tmpdir): function test_disable_telemetry (line 38) | def test_disable_telemetry(monkeypatch): FILE: tests/docarray/test_add.py function test_add (line 5) | def test_add(docs): function test_add_conflict_id (line 19) | def test_add_conflict_id(docs, update_docs): FILE: tests/docarray/test_del.py function test_delete_success (line 6) | def test_delete_success(deleted_elmnts): function test_delete_not_found (line 41) | def test_delete_not_found(expected_failed_deleted_elmnts): FILE: tests/docarray/test_find.py function test_find (line 5) | def test_find(): FILE: tests/docarray/test_get.py function test_success_get_bulk_data (line 7) | def test_success_get_bulk_data(nrof_docs): function test_error_get_bulk_data_id_not_exist (line 26) | def test_error_get_bulk_data_id_not_exist(): FILE: tests/docarray/test_save_load.py function test_save_load (line 6) | def test_save_load(tmpfile): FILE: tests/executor/test_executor.py function gen_docs (line 22) | def gen_docs(num): function docs_with_tags (line 31) | def docs_with_tags(N): function delete_artifact (line 51) | def delete_artifact(tmpname): function test_index (line 58) | def test_index(tmpfile): function test_update (line 72) | def test_update(tmpfile): function test_search (line 96) | def test_search(tmpfile): function test_search_with_filtering (line 125) | def test_search_with_filtering(tmpfile, columns): function test_delete (line 146) | def test_delete(tmpfile): function test_status (line 172) | def test_status(tmpfile): function test_clear (line 189) | def test_clear(tmpfile): function test_remote_storage (line 206) | def test_remote_storage(tmpfile): function test_local_storage (line 238) | def test_local_storage(tmpfile): function test_remote_storage_with_shards (line 268) | def test_remote_storage_with_shards(tmpfile): function test_local_storage_with_shards (line 326) | def test_local_storage_with_shards(tmpfile): function test_local_storage_with_delete (line 377) | def test_local_storage_with_delete(tmpfile): function test_local_storage_delete_update (line 408) | def test_local_storage_delete_update(tmpfile): FILE: tests/test_codec.py function build_data (line 17) | def build_data(): function build_pq_codec (line 23) | def build_pq_codec(build_data): function minibatch_generator (line 30) | def minibatch_generator(Xtr, batch_size): function build_pq_codec_online (line 47) | def build_pq_codec_online(build_data): function test_partial_and_total_fit_same_codebook_shape (line 65) | def test_partial_and_total_fit_same_codebook_shape( FILE: tests/test_crud.py function annlite_with_data (line 15) | def annlite_with_data(tmpfile): function test_get (line 33) | def test_get(annlite_with_data, filter, limit): function test_update_legal (line 47) | def test_update_legal(annlite_with_data): function test_update_illegal (line 66) | def test_update_illegal(annlite_with_data): function test_delete_legal (line 90) | def test_delete_legal(annlite_with_data): function test_delete_illegal (line 99) | def test_delete_illegal(annlite_with_data): FILE: tests/test_dump.py function index_data (line 14) | def index_data(): function test_dump_load (line 23) | def test_dump_load(tmpfile, index_data): FILE: tests/test_enums.py function test_metric (line 6) | def test_metric(): FILE: tests/test_filter.py function test_empty_filter (line 12) | def test_empty_filter(): function test_simple_filter (line 19) | def test_simple_filter(): function test_logic_operator (line 26) | def test_logic_operator(): function test_membership_operator (line 43) | def test_membership_operator(): function test_cases (line 55) | def test_cases(): function test_error_filter (line 104) | def test_error_filter(): function test_filter_with_columns (line 113) | def test_filter_with_columns(tmpfile, columns): function test_filter_with_dict (line 138) | def test_filter_with_dict(tmpfile, filterable_attrs): function test_filter_with_limit_offset (line 171) | def test_filter_with_limit_offset(tmpfile, limit, offset, order_by, asce... function test_filter_with_wrong_columns (line 215) | def test_filter_with_wrong_columns(tmpfile, limit): FILE: tests/test_hnsw_load_save.py function build_data (line 13) | def build_data(): function build_hnsw (line 19) | def build_hnsw(build_data): function test_save_and_load (line 26) | def test_save_and_load(tmpdir, build_hnsw): function test_loading_from_wrong_path (line 35) | def test_loading_from_wrong_path(tmpfile): FILE: tests/test_index.py function annlite_index (line 38) | def annlite_index(tmpfile): function annlite_with_data (line 48) | def annlite_with_data(tmpfile): function heterogenenous_da (line 67) | def heterogenenous_da(tmpfile): function annlite_with_heterogeneous_tags (line 94) | def annlite_with_heterogeneous_tags(tmpfile, heterogenenous_da): function test_index (line 101) | def test_index(annlite_index): function test_dtype (line 111) | def test_dtype(annlite_index, dtype): function test_delete (line 118) | def test_delete(annlite_with_data): function test_update (line 122) | def test_update(annlite_with_data): function test_query (line 128) | def test_query(annlite_with_data): function test_index_query_with_filtering_sorted_results (line 141) | def test_index_query_with_filtering_sorted_results(annlite_with_data): function test_query_search_filter_float_type (line 155) | def test_query_search_filter_float_type(annlite_with_heterogeneous_tags,... function test_query_search_numpy_filter_float_type (line 175) | def test_query_search_numpy_filter_float_type( function test_search_filter_str (line 199) | def test_search_filter_str(annlite_with_heterogeneous_tags, operator): function test_search_numpy_filter_str (line 218) | def test_search_numpy_filter_str( function test_search_numpy_membership_filter (line 241) | def test_search_numpy_membership_filter( function delete_artifact (line 277) | def delete_artifact(tmpname): function test_local_backup_restore (line 284) | def test_local_backup_restore(tmpdir): function test_remote_backup_restore (line 303) | def test_remote_backup_restore(tmpdir): FILE: tests/test_pq_bind.py function build_data (line 18) | def build_data(): function build_pq_codec (line 24) | def build_pq_codec(build_data): function test_pq_adc_table_shape (line 31) | def test_pq_adc_table_shape(build_pq_codec): function test_pq_adc_table_computation (line 36) | def test_pq_adc_table_computation(build_data): function test_pq_adc_table_computation_interface (line 62) | def test_pq_adc_table_computation_interface(build_pq_codec, build_data): FILE: tests/test_pq_index.py function random_docs (line 20) | def random_docs(): function test_pq_index_dist_mat (line 30) | def test_pq_index_dist_mat(random_docs): function test_hnsw_pq_load_empty (line 52) | def test_hnsw_pq_load_empty(tmpfile, random_docs): function test_hnsw_pq_load (line 68) | def test_hnsw_pq_load(tmpfile, random_docs): function test_hnsw_pq_search_multi_clusters (line 81) | def test_hnsw_pq_search_multi_clusters(tmpdir, n_clusters, random_docs): FILE: tests/test_projector.py function build_data (line 13) | def build_data(): function build_projector (line 19) | def build_projector(build_data): function test_encode_decode (line 38) | def test_encode_decode(build_data, build_projector): function test_save_and_load (line 51) | def test_save_and_load(tmpdir, build_data, build_projector): FILE: tests/test_projector_index.py function build_data (line 14) | def build_data(): function build_projector_annlite (line 20) | def build_projector_annlite(tmpfile): function projector_annlite_with_data (line 26) | def projector_annlite_with_data(build_data, build_projector_annlite): function test_delete (line 37) | def test_delete(projector_annlite_with_data): function test_update (line 42) | def test_update(projector_annlite_with_data): function test_query (line 49) | def test_query(projector_annlite_with_data): FILE: tests/test_store.py function test_get (line 6) | def test_get(tmpfile, docs): function test_update (line 19) | def test_update(tmpfile, docs, update_docs): function test_delete (line 29) | def test_delete(tmpfile, docs): function test_clear (line 37) | def test_clear(tmpfile, docs): function test_batched_iterator (line 46) | def test_batched_iterator(tmpfile, docs): function test_searalize (line 54) | def test_searalize(tmpfile, protocol, docs): FILE: tests/test_table.py function dummy_cell_table (line 8) | def dummy_cell_table(): function sample_docs (line 19) | def sample_docs(): function table_with_data (line 33) | def table_with_data(dummy_cell_table, sample_docs): function test_create_cell_table (line 38) | def test_create_cell_table(): function test_schema (line 45) | def test_schema(dummy_cell_table): function test_query (line 50) | def test_query(table_with_data): function test_get_docid_by_offset (line 59) | def test_get_docid_by_offset(table_with_data): function test_exist (line 67) | def test_exist(table_with_data): function test_delete (line 71) | def test_delete(table_with_data): function test_count (line 80) | def test_count(table_with_data): function test_create_meta_table (line 109) | def test_create_meta_table(tmpdir):