Search Toolkit Book for bm::byte_buffer_ptr
Byte buffer pointer. More...
#include <util/bitset/bmbuffer.h>
Byte buffer pointer.
Definition at line 34 of file bmbuffer.h.
◆ byte_buffer_ptr() [1/2] bm::byte_buffer_ptr::byte_buffer_ptr ( ) inlinenoexceptDefinition at line 37 of file bmbuffer.h.
◆ byte_buffer_ptr() [2/2] bm::byte_buffer_ptr::byte_buffer_ptr ( unsigned char * in_buf, size_t in_size ) inlinenoexceptconstruct byte buffer pointer
Definition at line 43 of file bmbuffer.h.
◆ buf() const unsigned char* bm::byte_buffer_ptr::buf ( ) const inlinenoexceptGet read access to buffer memory.
Definition at line 57 of file bmbuffer.h.
References byte_buf_.
Referenced by bm::heap_vector< const bm::word_t *, allocator_type, true >::begin(), Check_V3DR_Serializations(), DesrializationTest2(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::get(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::get_remap_buffer(), MutationOperationsTest(), bm::byte_buffer< bv_allocator_type >::operator=(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::row(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::row(), bm::SaveBVector(), SerializationBufferTest(), SerializationCompressionLevelsTest(), SerializationTest(), SparseSerializationTest(), StressTest(), and TestCompressedCollection().
◆ data() [1/2] const unsigned char* bm::byte_buffer_ptr::data ( void ) const inlinenoexcept ◆ data() [2/2] unsigned char* bm::byte_buffer_ptr::data ( void ) inlinenoexceptGet write access to buffer memory.
Definition at line 60 of file bmbuffer.h.
References byte_buf_.
Referenced by bm::heap_vector< const bm::word_t *, allocator_type, true >::add(), bm::heap_vector< const bm::word_t *, allocator_type, true >::at(), bm::heap_vector< const bm::word_t *, allocator_type, true >::data(), bm::heap_vector< const bm::word_t *, allocator_type, true >::heap_vector(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::init_remap_buffer(), bm::sparse_vector< unsigned, bm::bvector<> >::back_insert_iterator::operator=(), bm::heap_vector< const bm::word_t *, allocator_type, true >::operator=(), bm::heap_vector< const bm::word_t *, allocator_type, true >::operator[](), bm::heap_vector< const bm::word_t *, allocator_type, true >::push_back(), bm::heap_vector< const bm::word_t *, allocator_type, true >::push_back_no_check(), bm::byte_buffer< bv_allocator_type >::resize(), bm::heap_vector< const bm::word_t *, allocator_type, true >::resize(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::row(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::row(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::set_zero(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::set_zero(), bm::byte_buffer< bv_allocator_type >::shrink(), and bm::heap_vector< const bm::word_t *, allocator_type, true >::~heap_vector().
◆ equal() ◆ operator==() ◆ set_buf() void bm::byte_buffer_ptr::set_buf ( unsigned char * in_buf, size_t in_size ) inlinenoexcept ◆ size() size_t bm::byte_buffer_ptr::size ( void ) const inlinenoexceptGet buffer size.
Definition at line 54 of file bmbuffer.h.
References size_.
Referenced by Check_V3DR_Serializations(), bm::heap_vector< const bm::word_t *, allocator_type, true >::empty(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::get(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::is_init(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::is_init(), MutationOperationsTest(), bm::byte_buffer< bv_allocator_type >::operator=(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::remap_size(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::row(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::row(), bm::SaveBVector(), SerializationBufferTest(), SerializationCompressionLevelsTest(), SerializationTest(), bm::heap_vector< const bm::word_t *, allocator_type, true >::size(), StressTest(), and TestCompressedCollection().
◆ byte_buf_ unsigned char* bm::byte_buffer_ptr::byte_buf_ protectedbyte buffer pointer to hold data
Definition at line 80 of file bmbuffer.h.
Referenced by bm::byte_buffer< bv_allocator_type >::allocate(), buf(), bm::byte_buffer< bv_allocator_type >::byte_buffer(), bm::byte_buffer< bv_allocator_type >::copy_from(), data(), equal(), bm::byte_buffer< bv_allocator_type >::free_buffer(), bm::byte_buffer< bv_allocator_type >::move_from(), bm::byte_buffer< bv_allocator_type >::optimize(), set_buf(), and bm::byte_buffer< bv_allocator_type >::swap().
◆ size_ size_t bm::byte_buffer_ptr::size_ protectedcurrent buffer size
Definition at line 81 of file bmbuffer.h.
Referenced by bm::byte_buffer< bv_allocator_type >::allocate(), bm::byte_buffer< bv_allocator_type >::byte_buffer(), bm::byte_buffer< bv_allocator_type >::copy_from(), equal(), bm::byte_buffer< bv_allocator_type >::move_from(), bm::byte_buffer< bv_allocator_type >::optimize(), bm::byte_buffer< bv_allocator_type >::reinit(), bm::byte_buffer< bv_allocator_type >::release(), bm::byte_buffer< bv_allocator_type >::resize(), bm::byte_buffer< bv_allocator_type >::resize_no_check(), set_buf(), bm::byte_buffer< bv_allocator_type >::shrink(), size(), and bm::byte_buffer< bv_allocator_type >::swap().
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4