buffer_t.cc: more tests

This commit is contained in:
Heinz Mauelshagen
2013-01-23 13:28:00 +01:00
parent a762d34009
commit eed2dfdc38
3 changed files with 32 additions and 41 deletions

View File

@ -31,12 +31,14 @@
#include <boost/optional.hpp>
#include <boost/shared_ptr.hpp>
#include <string.h>
#include <malloc.h>
#include <string>
//----------------------------------------------------------------
namespace persistent_data {
uint32_t const MD_BLOCK_SIZE = 4096;
typedef uint64_t block_address;
template <uint32_t BlockSize = MD_BLOCK_SIZE>