Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

File.cpp File Reference

#include "File.hpp"
#include <vector>
#include <sstream>
#include <fstream>
#include <assert.h>
#include "lemur-platform.h"
#include "lemur-compat.hpp"
#include <iostream>

Defines

#define FILE_PAGE_SIZE   (8192)
#define FILE_1GB   (1024 * 1024 * 1024)
#define FILE_2GB_MINUS_1   (FILE_1GB + (FILE_1GB - 1))
#define FILE_MAXIMUM_SEGMENT_SIZE   (FILE_2GB_MINUS_1 - FILE_PAGE_SIZE + 1)

Define Documentation

#define FILE_1GB   (1024 * 1024 * 1024)
 

#define FILE_2GB_MINUS_1   (FILE_1GB + (FILE_1GB - 1))
 

#define FILE_MAXIMUM_SEGMENT_SIZE   (FILE_2GB_MINUS_1 - FILE_PAGE_SIZE + 1)
 

#define FILE_PAGE_SIZE   (8192)
 


Generated on Tue Jun 15 11:02:56 2010 for Lemur by doxygen 1.3.4