|
xapian-core
1.4.30
|
#include <glass_table.h>
Inheritance diagram for Glass::BItem_wr:
Collaboration diagram for Glass::BItem_wr: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 345 of file glass_table.h.
|
inline |
Definition at line 354 of file glass_table.h.
|
inlineexplicit |
Definition at line 355 of file glass_table.h.
|
inline |
Form an item with a null key and with block number n in the tag.
Definition at line 389 of file glass_table.h.
References set_block_given_by(), set_component_of(), and set_key_len().
Referenced by GlassTable::add_branch_item(), and GlassTable::split_root().
|
inline |
Definition at line 394 of file glass_table.h.
References Glass::BItem_base< uint8_t * >::p.
|
inline |
Set this item's tag to point to block n (this block should not be at level 0).
Definition at line 384 of file glass_table.h.
References Glass::BItem_base< uint8_t * >::p, and unaligned_write4().
Referenced by GlassTable::alter(), form_null_key(), set_key_and_block(), and set_truncated_key_and_block().
|
inline |
Definition at line 356 of file glass_table.h.
References Glass::BYTES_PER_BLOCK_NUMBER, Glass::BItem_base< uint8_t * >::get_key_len(), Glass::K1, Glass::BItem_base< uint8_t * >::p, and setX().
Referenced by form_null_key().
Definition at line 359 of file glass_table.h.
References Glass::BYTES_PER_BLOCK_NUMBER, Glass::Key::get_address(), Glass::K1, Glass::Key::length(), Glass::BItem_base< uint8_t * >::p, set_block_given_by(), and Glass::X2.
Referenced by GlassTable::enter_key_above_branch().
|
inlineprivate |
Definition at line 346 of file glass_table.h.
References AssertRel, Glass::BYTES_PER_BLOCK_NUMBER, GLASS_BTREE_MAX_KEY_LEN, and Glass::BItem_base< uint8_t * >::p.
Referenced by form_null_key(), and set_truncated_key_and_block().
|
inline |
Definition at line 367 of file glass_table.h.
References AssertRel, Glass::BYTES_PER_BLOCK_NUMBER, Glass::Key::get_address(), Glass::K1, Glass::Key::length(), Glass::BItem_base< uint8_t * >::p, set_block_given_by(), set_key_len(), and setX().
Referenced by GlassTable::enter_key_above_leaf().
|
inlinestatic |
Definition at line 395 of file glass_table.h.
References Assert, AssertRel, Glass::DIR_START, and unaligned_write2().
Referenced by GlassTable::add_item_to_branch(), and GlassTable::compact().
|
inlinestaticprivate |
Definition at line 351 of file glass_table.h.
References unaligned_write2().
Referenced by set_component_of(), and set_truncated_key_and_block().