Struct faiss::AlignedTableTightAlloc

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

Public Functions

inline AlignedTableTightAlloc()
inline explicit AlignedTableTightAlloc(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
inline ~AlignedTableTightAlloc()
inline AlignedTableTightAlloc<T, A> &operator=(const AlignedTableTightAlloc<T, A> &other)
inline AlignedTableTightAlloc(const AlignedTableTightAlloc<T, A> &other)

Public Members

T *ptr
size_t numel