DynamoRIO
_hashtable_config_t Struct Reference

#include <hashtable.h>

Data Fields

size_t size
 
bool resizable
 
uint resize_threshold
 
void(* free_key_func )(void *)
 

Detailed Description

Configuration parameters for a hashtable.

Field Documentation

◆ free_key_func

void(* _hashtable_config_t::free_key_func) (void *)

Called whenever an entry is removed, with the key passed in. If "str_dup" is set to true in hashtable_init() or hashtable_init_ex(), this field is ignored.

◆ resizable

bool _hashtable_config_t::resizable

Whether the table should be resized

◆ resize_threshold

uint _hashtable_config_t::resize_threshold

Resize the table at this % full

◆ size

size_t _hashtable_config_t::size

The size of the hashtable_config_t struct used


The documentation for this struct was generated from the following file:
  • /home/runner/work/dynamorio/dynamorio/ext/drcontainers/hashtable.h