xapian-core
1.4.27
|
#include <glass_table.h>
Public Member Functions | |
BItem_wr (uint8_t *p_, int c) | |
BItem_wr (uint8_t *p_) | |
void | set_component_of (int i) |
void | set_key_and_block (Key newkey, uint4 n) |
void | set_truncated_key_and_block (Key newkey, int new_comp, int truncate_size, uint4 n) |
void | set_block_given_by (uint4 n) |
Set this item's tag to point to block n (this block should not be at level 0). More... | |
void | form_null_key (uint4 n) |
Form an item with a null key and with block number n in the tag. More... | |
operator const BItem () const | |
Public Member Functions inherited from Glass::BItem_base< uint8_t *> | |
BItem_base (uint8_t * p_, int c) | |
BItem_base (uint8_t * p_) | |
uint8_t * | get_address () const |
int | size () const |
SIZE in diagram above. More... | |
Key | key () const |
uint4 | block_given_by () const |
Get this item's tag as a block number (this block should not be at level 0). More... | |
int | component_of () const |
Static Public Member Functions | |
static void | setD (uint8_t *q, int c, int x) |
Private Member Functions | |
void | set_key_len (int x) |
Static Private Member Functions | |
static void | setX (uint8_t *q, int c, int x) |
Additional Inherited Members | |
Protected Member Functions inherited from Glass::BItem_base< uint8_t *> | |
int | get_key_len () const |
Static Protected Member Functions inherited from Glass::BItem_base< uint8_t *> | |
static int | getD (const uint8_t *q, int c) |
static int | getX (const uint8_t *q, int c) |
Protected Attributes inherited from Glass::BItem_base< uint8_t *> | |
uint8_t * | p |
Definition at line 341 of file glass_table.h.
|
inline |
Definition at line 350 of file glass_table.h.
|
inlineexplicit |
Definition at line 351 of file glass_table.h.
|
inline |
Form an item with a null key and with block number n in the tag.
Definition at line 385 of file glass_table.h.
Referenced by GlassTable::add_branch_item(), and GlassTable::split_root().
|
inline |
Definition at line 390 of file glass_table.h.
References Glass::Key::p.
|
inline |
Set this item's tag to point to block n (this block should not be at level 0).
Definition at line 380 of file glass_table.h.
References Glass::Key::p, and unaligned_write4().
Referenced by GlassTable::alter().
|
inline |
Definition at line 352 of file glass_table.h.
References Glass::Key::p.
Definition at line 355 of file glass_table.h.
References Glass::Key::get_address(), Glass::Key::length(), Glass::Key::p, and Glass::X2.
Referenced by GlassTable::enter_key_above_branch().
|
inlineprivate |
Definition at line 342 of file glass_table.h.
References AssertRel, Glass::BYTES_PER_BLOCK_NUMBER, GLASS_BTREE_MAX_KEY_LEN, and Glass::Key::p.
|
inline |
Definition at line 363 of file glass_table.h.
References AssertRel, Glass::Key::get_address(), Glass::K1, Glass::Key::length(), and Glass::Key::p.
Referenced by GlassTable::enter_key_above_leaf().
|
inlinestatic |
Definition at line 391 of file glass_table.h.
References Assert, AssertRel, and unaligned_write2().
Referenced by GlassTable::add_item_to_branch(), and GlassTable::compact().
|
inlinestaticprivate |
Definition at line 347 of file glass_table.h.
References unaligned_write2().