#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include "ekg_hash_benchmark.inc"
|
| #define | fix(s) ((s) ? (s) : "") |
| |
| #define | ROL(x) (((x>>25)&0x7f)|((x<<7)&0xffffff80)) |
| |
| #define | _(x) x |
| |
§ fix
| #define fix |
( |
|
s | ) |
((s) ? (s) : "") |
§ ROL
| #define ROL |
( |
|
x | ) |
(((x>>25)&0x7f)|((x<<7)&0xffffff80)) |
§ hash_t
§ list_t
§ ekg_hash()
| hash_t ekg_hash |
( |
const char * |
name | ) |
|
§ ekg_oom_handler()
§ format_add()
| void format_add |
( |
const char * |
name, |
|
|
const char * |
value, |
|
|
int |
replace |
|
) |
| |
§ format_find()
| const char* format_find |
( |
const char * |
name | ) |
|
§ list_add_beginning()
| void* list_add_beginning |
( |
list_t * |
list, |
|
|
void * |
data |
|
) |
| |
§ main()
§ xfree()
§ xmalloc()
| void* xmalloc |
( |
size_t |
size | ) |
|
§ xstrcmp()
| int xstrcmp |
( |
const char * |
s1, |
|
|
const char * |
s2 |
|
) |
| |
§ xstrdup()
| char* xstrdup |
( |
const char * |
s | ) |
|
§ formats
§ hashes
§ no_prompt_cache_hash
| hash_t no_prompt_cache_hash = 0x139dcbd6 |