pintos/src/tests/internal/stdlib.c File Reference
#include <debug.h>
#include <limits.h>
#include <random.h>
#include <stdlib.h>
#include <stdio.h>
#include "threads/test.h"
Go to the source code of this file.
Define Documentation
Function Documentation
static int compare_ints |
( |
const void * |
a_, |
|
|
const void * |
b_ | |
|
) |
| | [static] |
static void shuffle |
( |
int * |
array, |
|
|
size_t |
cnt | |
|
) |
| | [static] |
static void shuffle |
( |
int |
[], |
|
|
size_t |
| |
|
) |
| | [static] |
static void verify_bsearch |
( |
const int * |
array, |
|
|
size_t |
cnt | |
|
) |
| | [static] |
static void verify_bsearch |
( |
const |
int[], |
|
|
size_t |
| |
|
) |
| | [static] |
static void verify_order |
( |
const int * |
array, |
|
|
size_t |
cnt | |
|
) |
| | [static] |
static void verify_order |
( |
const |
int[], |
|
|
size_t |
| |
|
) |
| | [static] |