Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | List of all members
PageImage Class Reference

Public Member Functions

 PageImage (INodeUint32 nitems, INodeUint32 take_nitems=0)
 
bool is_empty () const
 
bool is_full () const
 
INodeUint32 get_size () const
 
INodeUint32 get_free_size () const
 
INodeUint32 get_used_size () const
 
INodeUint32 get_free_waiting () const
 
INodeUint64 get_memory_usage () const
 
float get_percentage_used ()
 
INodeUint32 find_span_check_all_buckets (INodeUint32 sz, INodeUint32 &best_span_size)
 
INodeUint32 find_span (INodeUint32 bucket, INodeUint32 sz, INodeUint32 &best_span_size)
 
INodeUint32 take_span (int span_idx, INodeUint32 sz)
 
void release_span_lazy (INodeUint32 at, INodeUint32 sz)
 
void release_span (INodeUint32 at, INodeUint32 sz)
 
void update ()
 
void force_update ()
 
bool is_dirty () const
 
void set_clean ()
 
LogBucketsMinMaxget_buckets ()
 
void print_bits ()
 
void print_buckets (const char *msg="")
 
void print_bucket (int i, const char *msg="")
 
void print_spans ()
 
void check ()
 
void lock ()
 
void unlock ()