Struct faiss::AlignedTable

template<class T, int A = 32>
struct faiss::AlignedTable

Public Functions

inline AlignedTable()
inline explicit AlignedTable(size_t n)
inline size_t itemsize() const
inline void resize(size_t n)
inline void clear()
inline size_t size() const
inline size_t nbytes() const
inline T *get()
inline const T *get() const
inline T *data()
inline const T *data() const
inline T &operator[](size_t i)
inline T operator[](size_t i) const

Public Members

AlignedTableTightAlloc<T, A> tab
size_t numel = 0

Public Static Functions

static inline size_t round_capacity(size_t n)