Data Fields | |
index_tree_node | node |
Every index_stream is a node in the tree of Sreams. | |
uint32_t | number |
Number of this Stream (first one is 1). | |
lzma_vli | block_number_base |
Total number of Blocks before this Stream. | |
index_tree | groups |
lzma_vli | record_count |
Number of Records in this Stream. | |
lzma_vli | index_list_size |
lzma_stream_flags | stream_flags |
lzma_vli | stream_padding |
Every index_stream is a node in the tree of Sreams.
Referenced by index_dup_stream(), index_stream_init(), lzma_index_append(), lzma_index_dup(), lzma_index_file_size(), lzma_index_init(), lzma_index_iter_locate(), and lzma_index_iter_next().
uint32_t index_stream::number |
Number of this Stream (first one is 1).
Referenced by index_dup_stream(), and index_stream_init().
Total number of Blocks before this Stream.
Referenced by index_dup_stream(), and index_stream_init().
Record groups of this Stream are stored in a tree. It's a T-tree with AVL-tree balancing. There are INDEX_GROUP_SIZE Records per node by default. This keeps the number of memory allocations reasonable and finding a Record is fast.
Referenced by index_dup_stream(), index_stream_end(), index_stream_init(), lzma_index_append(), lzma_index_file_size(), lzma_index_iter_locate(), and lzma_index_iter_next().
Number of Records in this Stream.
Referenced by index_dup_stream(), index_stream_init(), lzma_index_append(), and lzma_index_file_size().
Size of the List of Records field in this Stream. This is used together with record_count to calculate the size of the Index field and thus the total size of the Stream.
Referenced by index_dup_stream(), index_stream_init(), lzma_index_append(), and lzma_index_file_size().
Stream Flags of this Stream. This is meaningful only if the Stream Flags have been told us with lzma_index_stream_flags(). Initially stream_flags.version is set to UINT32_MAX to indicate that the Stream Flags are unknown.
Referenced by index_dup_stream(), index_stream_init(), lzma_index_checks(), and lzma_index_stream_flags().
Amount of Stream Padding after this Stream. This defaults to zero and can be set with lzma_index_stream_padding().
Referenced by index_dup_stream(), index_stream_init(), lzma_index_append(), lzma_index_file_size(), and lzma_index_stream_padding().