51 void remove(
int val
TM_ARG);
82 while (curr != NULL) {
97 while (curr != NULL) {
115 while (curr != NULL) {
124 Node* insert_point =
const_cast<Node*
>(prev);
142 while (curr != NULL) {
148 found = ((curr != NULL) && (
TM_READ(curr->
m_val) == val));
158 while (curr != NULL) {
184 while (curr != NULL) {
187 Node* mod_point =
const_cast<Node*
>(prev);
191 TM_FREE(const_cast<Node*>(curr));
210 while (curr != NULL) {
213 Node* wcurr =
const_cast<Node*
>(curr);
Node(int val, Node *next)
Definition: List.hpp:32
#define TM_CALLABLE
Definition: cxxtm.hpp:32
#define TM_ARG_ALONE
Definition: cxxtm.hpp:41
#define TM_WRITE(x, y)
Definition: cxxtm.hpp:46
TM_CALLABLE int findmax(TM_ARG_ALONE) const
Definition: List.hpp:154
TM_CALLABLE void remove(int val TM_ARG)
Definition: List.hpp:179
#define TM_ARG
Definition: cxxtm.hpp:40
bool extendedSanityCheck(verifier v, uint32_t param) const
Definition: List.hpp:93
TM_CALLABLE bool lookup(int val TM_ARG) const
Definition: List.hpp:136
int m_val
Definition: List.hpp:26
Node * sentinel
Definition: List.hpp:37
#define TM_READ(x)
Definition: cxxtm.hpp:45
TM_CALLABLE int findmin(TM_ARG_ALONE) const
Definition: List.hpp:167
Node * m_next
Definition: List.hpp:27
List()
Definition: List.hpp:74
bool isSane() const
Definition: List.hpp:77
TM_CALLABLE void overwrite(int val TM_ARG)
Definition: List.hpp:205
Node(int val=-1)
Definition: List.hpp:30
bool(* verifier)(uint32_t, uint32_t)
Definition: List.hpp:17
#define TM_ALLOC
Definition: library.hpp:294
#define TM_FREE
Definition: library.hpp:295
TM_CALLABLE void insert(int val TM_ARG)
Definition: List.hpp:109