|
ekg2
GIT master
|
#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <errno.h>#include "ekg_hash_benchmark.inc"
Struktury danych | |
| struct | list |
| struct | format |
Definicje | |
| #define | fix(s) ((s) ? (s) : "") |
| #define | ROL(x) (((x>>25)&0x7f)|((x<<7)&0xffffff80)) |
| #define | _(x) x |
Definicje typów | |
| typedef int | hash_t |
| typedef struct list * | list_t |
Funkcje | |
| hash_t | ekg_hash (const char *name) |
| void | ekg_oom_handler () |
| void * | xmalloc (size_t size) |
| int | xstrcmp (const char *s1, const char *s2) |
| char * | xstrdup (const char *s) |
| void | xfree (void *ptr) |
| void * | list_add_beginning (list_t *list, void *data) |
| void | format_add (const char *name, const char *value, int replace) |
| const char * | format_find (const char *name) |
| int | main () |
Zmienne | |
| hash_t | no_prompt_cache_hash = 0x139dcbd6 |
| int | hashes [256] |
| list_t | formats = NULL |
| int | i = 0 |
| #define _ | ( | x | ) | x |
| #define ROL | ( | x | ) | (((x>>25)&0x7f)|((x<<7)&0xffffff80)) |
| typedef int hash_t |
| hash_t ekg_hash | ( | const char * | name | ) |
| void ekg_oom_handler | ( | ) |
| void format_add | ( | const char * | name, |
| const char * | value, | ||
| int | replace | ||
| ) |
| const char* format_find | ( | const char * | name | ) |
| void* list_add_beginning | ( | list_t * | list, |
| void * | data | ||
| ) |
| int main | ( | ) |
| void xfree | ( | void * | ptr | ) |
| void* xmalloc | ( | size_t | size | ) |
| int xstrcmp | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
| char* xstrdup | ( | const char * | s | ) |
| int hashes[256] |
| int i = 0 |
| hash_t no_prompt_cache_hash = 0x139dcbd6 |
1.8.11