xapian-core  1.4.26
Macros | Functions | Variables
chert_table.cc File Reference
#include <config.h>
#include "chert_table.h"
#include <xapian/error.h>
#include <cerrno>
#include "errno_to_string.h"
#include "omassert.h"
#include "stringutils.h"
#include <sys/types.h>
#include <cstring>
#include <climits>
#include "chert_btreebase.h"
#include "chert_cursor.h"
#include "filetests.h"
#include "io_utils.h"
#include "debuglog.h"
#include "pack.h"
#include "str.h"
#include "wordaccess.h"
#include <algorithm>
#include <string>
+ Include dependency graph for chert_table.cc:

Go to the source code of this file.

Macros

#define SEQ_START_POINT   (-10)
 Flip to sequential addition block-splitting after this number of observed sequential additions (in negated form). More...
 
#define BYTE_PAIR_RANGE   (1 << 2 * CHAR_BIT)
 

Functions

static uint8_t * zeroed_new (size_t size)
 

Variables

const size_t COMPRESS_MIN = 4
 

Macro Definition Documentation

◆ BYTE_PAIR_RANGE

#define BYTE_PAIR_RANGE   (1 << 2 * CHAR_BIT)

Definition at line 166 of file chert_table.cc.

Referenced by ChertTable::add(), and ChertTable::set_block_size().

◆ SEQ_START_POINT

#define SEQ_START_POINT   (-10)

Flip to sequential addition block-splitting after this number of observed sequential additions (in negated form).

Definition at line 151 of file chert_table.cc.

Referenced by ChertTable::add_kt(), ChertTable::cancel(), ChertTable::commit(), ChertTable::delete_kt(), and ChertTable::do_open_to_write().

Function Documentation

◆ zeroed_new()

static uint8_t* zeroed_new ( size_t  size)
inlinestatic

Variable Documentation

◆ COMPRESS_MIN

const size_t COMPRESS_MIN = 4

Definition at line 71 of file chert_table.cc.

Referenced by ChertTable::add().