Function faiss_sys::faiss_IndexShards_shard_indexes [] [src]

pub unsafe extern "C" fn faiss_IndexShards_shard_indexes(
    index: *mut FaissIndexShards,
    p_shard_indexes: *mut *mut FaissIndex,
    p_size: *mut usize
)

get a pointer to the index' shards (the shard_indexes field). The outputs of this function become invalid after any operation that can modify the index.

@param index opaque pointer to index object @param p_shard_indexes output, the pointer to the beginning of shard_indexes. @param p_size output, the current length of shard_indexes.