| 
| 
  | THMapAllocator (const char *filename, int flags, size_t size) | 
|   | 
| 
  | THMapAllocator (WithFd, const char *filename, int fd, int flags, size_t size) | 
|   | 
| 
  | THMapAllocator (const THMapAllocator &)=delete | 
|   | 
| 
THMapAllocator &  | operator= (const THMapAllocator &)=delete | 
|   | 
| 
  | THMapAllocator (THMapAllocator &&)=delete | 
|   | 
| 
THMapAllocator &  | operator= (THMapAllocator &&)=delete | 
|   | 
| 
const char *  | filename () const  | 
|   | 
| 
int  | fd () const  | 
|   | 
| 
ptrdiff_t  | size () const  | 
|   | 
| 
virtual void *  | data () const  | 
|   | 
| 
virtual void  | close () | 
|   | 
 | 
| 
static THMapAllocator *  | fromDataPtr (const at::DataPtr &) | 
|   | 
| 
static at::DataPtr  | makeDataPtr (const char *filename, int flags, size_t size, size_t *actual_size_out) | 
|   | 
| 
static at::DataPtr  | makeDataPtr (WithFd, const char *filename, int fd, int flags, size_t size, size_t *actual_size_out) | 
|   | 
 | 
| 
bool  | closed_ = false | 
|   | 
| 
std::string  | filename_ | 
|   | 
| 
int  | flags_ = 0 | 
|   | 
| 
ptrdiff_t  | size_ | 
|   | 
| 
int  | fd_ = -1 | 
|   | 
| 
void *  | base_ptr_ = nullptr | 
|   | 
Definition at line 24 of file THAllocator.h.
 
The documentation for this class was generated from the following files: