FST  openfst-1.8.3
OpenFst Library
Classes | Namespaces | Typedefs | Functions | Variables
memory.h File Reference
#include <cstddef>
#include <list>
#include <memory>
#include <utility>
#include <vector>
#include <fst/log.h>
#include <fstream>
Include dependency graph for memory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fst::MemoryArenaBase
 
class  fst::internal::MemoryArenaImpl< object_size >
 
class  fst::MemoryPoolBase
 
class  fst::internal::MemoryPoolImpl< object_size >
 
struct  fst::internal::MemoryPoolImpl< object_size >::Link
 
class  fst::MemoryPool< T >
 
class  fst::MemoryArenaCollection
 
class  fst::MemoryPoolCollection
 
class  fst::BlockAllocator< T >
 
class  fst::PoolAllocator< T >
 

Namespaces

 fst
 
 fst::internal
 

Typedefs

template<typename T >
using fst::MemoryArena = internal::MemoryArenaImpl< sizeof(T)>
 

Functions

template<typename T , typename U >
bool fst::operator== (const BlockAllocator< T > &alloc1, const BlockAllocator< U > &alloc2)
 
template<typename T , typename U >
bool fst::operator!= (const BlockAllocator< T > &alloc1, const BlockAllocator< U > &alloc2)
 
template<typename T , typename U >
bool fst::operator== (const PoolAllocator< T > &alloc1, const PoolAllocator< U > &alloc2)
 
template<typename T , typename U >
bool fst::operator!= (const PoolAllocator< T > &alloc1, const PoolAllocator< U > &alloc2)
 

Variables

constexpr int fst::kAllocSize = 64
 
constexpr int fst::kAllocFit = 4