util::Rolling Class Reference

#include <mmap.hh>

Collaboration diagram for util::Rolling:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Rolling ()
 Rolling (void *data)
 Rolling (const Rolling &copy_from, uint64_t increase=0)
Rollingoperator= (const Rolling &copy_from)
 Rolling (int fd, bool for_write, std::size_t block, std::size_t read_bound, uint64_t offset, uint64_t amount)
void Init (void *data)
void IncreaseBase (uint64_t by)
void DecreaseBase (uint64_t by)
void * ExtractNonRolling (scoped_memory &out, uint64_t index, std::size_t size)
void * get () const
void * CheckedBase (uint64_t index)
void * CheckedIndex (uint64_t index)


Detailed Description

Definition at line 151 of file mmap.hh.


Constructor & Destructor Documentation

util::Rolling::Rolling (  )  [inline]

Definition at line 153 of file mmap.hh.

util::Rolling::Rolling ( void *  data  )  [inline, explicit]

Definition at line 155 of file mmap.hh.

References Init().

Here is the call graph for this function:

util::Rolling::Rolling ( const Rolling copy_from,
uint64_t  increase = 0 
)

Definition at line 342 of file mmap.cc.

References IncreaseBase().

Here is the call graph for this function:

util::Rolling::Rolling ( int  fd,
bool  for_write,
std::size_t  block,
std::size_t  read_bound,
uint64_t  offset,
uint64_t  amount 
) [explicit]

Definition at line 367 of file mmap.cc.


Member Function Documentation

void* util::Rolling::CheckedBase ( uint64_t  index  )  [inline]

Definition at line 190 of file mmap.hh.

Referenced by CheckedIndex().

Here is the caller graph for this function:

void* util::Rolling::CheckedIndex ( uint64_t  index  )  [inline]

Definition at line 198 of file mmap.hh.

References CheckedBase().

Here is the call graph for this function:

void util::Rolling::DecreaseBase ( uint64_t  by  )  [inline]

Definition at line 178 of file mmap.hh.

void * util::Rolling::ExtractNonRolling ( scoped_memory out,
uint64_t  index,
std::size_t  size 
)

Definition at line 378 of file mmap.cc.

References util::scoped_memory::get(), util::kFileFlags, util::MapOrThrow(), util::scoped_memory::MMAP_ALLOCATED, util::scoped_memory::reset(), and util::SizePage().

Here is the call graph for this function:

void* util::Rolling::get (  )  const [inline]

Definition at line 187 of file mmap.hh.

void util::Rolling::IncreaseBase ( uint64_t  by  )  [inline]

Definition at line 172 of file mmap.hh.

Referenced by Rolling().

Here is the caller graph for this function:

void util::Rolling::Init ( void *  data  )  [inline]

Definition at line 164 of file mmap.hh.

Referenced by Rolling().

Here is the caller graph for this function:

Rolling & util::Rolling::operator= ( const Rolling copy_from  ) 

Definition at line 347 of file mmap.cc.

References NULL.


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:34:50 2017 for Moses by  doxygen 1.5.9