
Go to the source code of this file.
Macros | |
| #define | NUM_NODES 50 |
Functions | |
| fail_unless (root==NULL, "tree not empty after removing all nodes") | |
| fail_unless (root==NULL, "tree not empty when it should be") | |
| for (i=0;i< NUM_NODES;i++) | |
| for (i=0;i<=1100;i+=100) | |
| puts ("Result:") | |
| splayprint (root, 0, 1) | |
| static void | splayprint (struct Curl_tree *t, int d, char output) |
| static CURLcode | unit_setup (void) |
| static void | unit_stop (void) |
Variables | |
| int | i |
| int | j |
| struct Curl_tree | nodes [NUM_NODES *3] |
| int | rc |
| struct Curl_tree * | removed = NULL |
| struct Curl_tree * | root = NULL |
| struct curltime | tv_now = {0, 0} |
| #define NUM_NODES 50 |
Definition at line 71 of file unit1309.c.
| fail_unless | ( | root | = =NULL, |
| "tree not empty when it should be" | |||
| ) |
| for | ( | ) |
Definition at line 81 of file unit1309.c.
Definition at line 128 of file unit1309.c.
| puts | ( | "Result:" | ) |
| splayprint | ( | root | , |
| 0 | , | ||
| 1 | |||
| ) |
|
static |
Definition at line 37 of file unit1309.c.
|
static |
Definition at line 27 of file unit1309.c.
|
static |
Definition at line 32 of file unit1309.c.
| int i |
Definition at line 76 of file unit1309.c.
| int j |
Definition at line 76 of file unit1309.c.
Definition at line 74 of file unit1309.c.
| int rc |
Definition at line 75 of file unit1309.c.
| removed = NULL |
Definition at line 73 of file unit1309.c.
| root = NULL |
Definition at line 73 of file unit1309.c.
| struct curltime tv_now = {0, 0} |
Definition at line 77 of file unit1309.c.