feisty meow concerns codebase  2.140
test_hash_table.cpp File Reference
Include dependency graph for test_hash_table.cpp:

Go to the source code of this file.

Macros

#define UNIT_BASE_THIS_OBJECT   (*dynamic_cast<unit_base *>(application_shell::single_instance()))
 
#define UNIT_BASE_THIS_OBJECT   (*this)
 

Typedefs

typedef hash_table< int, data_shuttle > our_hash
 

Enumerations

enum  test_actions {
  FIRST_TEST = 38 , ADD = FIRST_TEST , ADD_ADD , ZAP ,
  ADD_ZAP , ZAP_ADD , FIND , ACQUIRE ,
  FIND_ZAP_ADD , ACQUIRE_ADD_ZAP , FIND_ADD_FIND , RESET ,
  CHECK_SANITY , REHASH , COPY , LAST_TEST = COPY ,
  FIRST_TEST = 38 , ADD = FIRST_TEST , ADD_ADD , ZAP ,
  ADD_ZAP , ZAP_ADD , FIND , ACQUIRE ,
  FIND_ZAP_ADD , ACQUIRE_ADD_ZAP , FIND_ADD_FIND , RESET ,
  CHECK_SANITY , REHASH , COPY , LAST_TEST = COPY
}
 

Variables

const double TEST_DURATION = 0.014 * MINUTE_ms
 
const int MAX_ELEMENTS = 8
 
hash_table< int, data_shuttle > * _hang_on = NULL_POINTER
 

Macro Definition Documentation

◆ UNIT_BASE_THIS_OBJECT [1/2]

#define UNIT_BASE_THIS_OBJECT   (*dynamic_cast<unit_base *>(application_shell::single_instance()))

Definition at line 290 of file test_hash_table.cpp.

◆ UNIT_BASE_THIS_OBJECT [2/2]

#define UNIT_BASE_THIS_OBJECT   (*this)

Definition at line 290 of file test_hash_table.cpp.

Typedef Documentation

◆ our_hash

typedef hash_table<int, data_shuttle> our_hash

Definition at line 140 of file test_hash_table.cpp.

Enumeration Type Documentation

◆ test_actions

Enumerator
FIRST_TEST 
ADD 
ADD_ADD 
ZAP 
ADD_ZAP 
ZAP_ADD 
FIND 
ACQUIRE 
FIND_ZAP_ADD 
ACQUIRE_ADD_ZAP 
FIND_ADD_FIND 
RESET 
CHECK_SANITY 
REHASH 
COPY 
LAST_TEST 
FIRST_TEST 
ADD 
ADD_ADD 
ZAP 
ADD_ZAP 
ZAP_ADD 
FIND 
ACQUIRE 
FIND_ZAP_ADD 
ACQUIRE_ADD_ZAP 
FIND_ADD_FIND 
RESET 
CHECK_SANITY 
REHASH 
COPY 
LAST_TEST 

Definition at line 50 of file test_hash_table.cpp.

Variable Documentation

◆ _hang_on

hash_table<int, data_shuttle>* _hang_on = NULL_POINTER

Definition at line 262 of file test_hash_table.cpp.

◆ MAX_ELEMENTS

const int MAX_ELEMENTS = 8

Definition at line 45 of file test_hash_table.cpp.

◆ TEST_DURATION

const double TEST_DURATION = 0.014 * MINUTE_ms

Definition at line 42 of file test_hash_table.cpp.