st_table Struct Reference

#include <st.h>


Data Fields

st_hash_typetype
st_index_t num_bins
unsigned int entries_packed: 1
st_index_t num_entries: ST_INDEX_BITS - 1
union {
   struct {
      st_table_entry **   bins
      st_table_entry *   head
      st_table_entry *   tail
   }   big
   struct {
      st_packed_entry *   entries
      st_index_t   real_entries
   }   packed
as


Detailed Description

Definition at line 69 of file st.h.


Field Documentation

union { ... } st_table::as

Referenced by rb_ivar_set().

struct { ... } st_table::big

struct st_table_entry** st_table::bins

Definition at line 88 of file st.h.

Referenced by find_entry(), new_entry(), st_cleanup_safe(), st_clear(), st_copy(), st_foreach(), st_foreach_check(), st_free_table(), st_init_table_with_size(), st_update(), and unpack_entries().

struct st_packed_entry* st_table::entries

Definition at line 92 of file st.h.

unsigned int st_table::entries_packed

Definition at line 72 of file st.h.

Referenced by get_keys(), get_values(), st_add_direct(), st_cleanup_safe(), st_clear(), st_copy(), st_foreach(), st_foreach_check(), st_get_key(), st_init_table_with_size(), st_lookup(), st_memsize(), st_update(), and unpack_entries().

struct st_table_entry* st_table::head

Definition at line 89 of file st.h.

Referenced by add_direct(), get_keys(), get_values(), remove_entry(), st_clear(), st_copy(), st_foreach(), st_foreach_check(), st_init_table_with_size(), and unpack_entries().

st_index_t st_table::num_bins

Definition at line 71 of file st.h.

Referenced by add_direct(), add_packed_direct(), st_add_direct(), st_cleanup_safe(), st_clear(), st_copy(), st_foreach(), st_foreach_check(), st_free_table(), st_get_key(), st_init_table_with_size(), st_lookup(), st_memsize(), st_update(), and unpack_entries().

st_index_t st_table::num_entries

Definition at line 85 of file st.h.

Referenced by add_direct(), add_packed_direct(), autoload_delete(), cvar_list(), generic_ivar_remove(), has_extra_methods(), mark_tbl(), onig_number_of_names(), r_prepare(), r_symreal(), rb_check_deadlock(), rb_const_list(), rb_copy_generic_ivar(), rb_econv_asciicompat_encoding(), rb_ivar_count(), rb_ivar_set(), rb_local_constants(), rb_sym_all_symbols(), remove_entry(), remove_packed_entry(), remove_safe_packed_entry(), st_cleanup_safe(), st_clear(), st_init_table_with_size(), st_memsize(), vm_living_thread_num(), w_ivar(), w_object(), w_symbol(), and wmap_size().

struct { ... } st_table::packed

st_index_t st_table::real_entries

Definition at line 93 of file st.h.

Referenced by add_packed_direct(), get_keys(), get_values(), remove_packed_entry(), st_cleanup_safe(), st_clear(), st_foreach(), and st_foreach_check().

struct st_table_entry * st_table::tail

Definition at line 89 of file st.h.

Referenced by add_direct(), remove_entry(), st_clear(), st_copy(), st_init_table_with_size(), and unpack_entries().

struct st_hash_type* st_table::type

Definition at line 70 of file st.h.

Referenced by ident_hash_new(), iseq_compile_each(), rb_hash_aset(), rb_hash_assoc(), rb_hash_replace(), and st_init_table_with_size().


The documentation for this struct was generated from the following file:
Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7