Ruby: set_table Struct Reference

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

Data Fields
set_table Struct Reference

## Data Fields
unsigned char | entry_power
unsigned char | bin_power
unsigned char | size_ind
unsigned int | rebuilds_num
const struct st_hash_type * | type
st_index_t | num_entries
st_index_t | entries_start
st_index_t | entries_bound
set_table_entry * | entries
| Array of size 2^entry_power.

## Detailed Description

Definition at line 10 of file set_table.h.

## Field Documentation

## ◆ bin_power

unsigned char set_table::bin_power

Definition at line 12 of file set_table.h.

## ◆ entries

set_table_entry* set_table::entries

Array of size 2^entry_power.

Followed by st_index_t *bins, Array of bins used for access by keys.

Definition at line 28 of file set_table.h.

## ◆ entries_bound

st_index_t set_table::entries_bound

Definition at line 22 of file set_table.h.

## ◆ entries_start

st_index_t set_table::entries_start

Definition at line 22 of file set_table.h.

## ◆ entry_power

unsigned char set_table::entry_power

Definition at line 12 of file set_table.h.

## ◆ num_entries

st_index_t set_table::num_entries

Definition at line 17 of file set_table.h.

## ◆ rebuilds_num

unsigned int set_table::rebuilds_num

Definition at line 14 of file set_table.h.

## ◆ size_ind

unsigned char set_table::size_ind

Definition at line 12 of file set_table.h.

## ◆ type

const struct st_hash_type* set_table::type

Definition at line 15 of file set_table.h.

The documentation for this struct was generated from the following file:

- internal/set_table.h