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

Go to the source code of this file.

Macros

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

Typedefs

typedef int_hash< 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
}
 

Functions

int functional_return (int to_pass)
 

Variables

const double TEST_DURATION = 0.5 * SECOND_ms
 
const int MAX_DEFAULT_BITS = 2
 
int_hash< data_shuttle > * _hang_on = NULL_POINTER
 

Macro Definition Documentation

◆ EXTREME_CHECKING

#define EXTREME_CHECKING

Definition at line 40 of file test_int_hash.cpp.

◆ UNIT_BASE_THIS_OBJECT [1/2]

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

Definition at line 306 of file test_int_hash.cpp.

◆ UNIT_BASE_THIS_OBJECT [2/2]

#define UNIT_BASE_THIS_OBJECT   (*this)

Definition at line 306 of file test_int_hash.cpp.

Typedef Documentation

◆ our_hash

typedef int_hash<data_shuttle> our_hash

Definition at line 158 of file test_int_hash.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_int_hash.cpp.

Function Documentation

◆ functional_return()

int functional_return ( int  to_pass)

Definition at line 444 of file test_int_hash.cpp.

Variable Documentation

◆ _hang_on

int_hash<data_shuttle>* _hang_on = NULL_POINTER

Definition at line 281 of file test_int_hash.cpp.

◆ MAX_DEFAULT_BITS

const int MAX_DEFAULT_BITS = 2

Definition at line 45 of file test_int_hash.cpp.

◆ TEST_DURATION

const double TEST_DURATION = 0.5 * SECOND_ms

Definition at line 43 of file test_int_hash.cpp.