ekg2
Struktury danych | Definicje | Definicje typów | Funkcje | Zmienne
Dokumentacja pliku contrib/ekg_hash_benchmark.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>

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 listlist_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

Dokumentacja definicji

#define _ (   x)    x
#define fix (   s)    ((s) ? (s) : "")
#define ROL (   x)    (((x>>25)&0x7f)|((x<<7)&0xffffff80))

Dokumentacja definicji typów

typedef int hash_t
typedef struct list* list_t

Dokumentacja funkcji

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)

Dokumentacja zmiennych

list_t formats = NULL
int hashes[256]
int i = 0
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje