|
Post Scarcity
A prototype for a post scarcity programming environment
|
#include <stdio.h>#include <time.h>#include <stdint.h>#include <sys/param.h>Go to the source code of this file.
Macros | |
| #define | final(a, b, c) |
| #define | HASH_BIG_ENDIAN 0 |
| #define | HASH_LITTLE_ENDIAN 0 |
| #define | hashmask(n) (hashsize(n)-1) |
| #define | hashsize(n) ((uint32_t)1<<(n)) |
| #define | mix(a, b, c) |
| #define | rot(x, k) (((x)<<(k)) | ((x)>>(32-(k)))) |
Functions | |
| uint32_t | hashbig (const void *key, size_t length, uint32_t initval) |
| uint32_t | hashlittle (const void *key, size_t length, uint32_t initval) |
| void | hashlittle2 (const void *key, size_t length, uint32_t *pc, uint32_t *pb) |
| uint32_t | hashword (const uint32_t *k, size_t length, uint32_t initval) |
| lookup3.h | |
| void | hashword2 (const uint32_t *k, size_t length, uint32_t *pc, uint32_t *pb) |
| #define final | ( | a, | |
| b, | |||
| c | |||
| ) |
| #define mix | ( | a, | |
| b, | |||
| c | |||
| ) |
| uint32_t hashbig | ( | const void * | key, |
| size_t | length, | ||
| uint32_t | initval | ||
| ) |
Definition at line 807 of file lookup3.c.
References HASH_BIG_ENDIAN, and mix.
| uint32_t hashlittle | ( | const void * | key, |
| size_t | length, | ||
| uint32_t | initval | ||
| ) |
Definition at line 281 of file lookup3.c.
References HASH_LITTLE_ENDIAN, and mix.
| void hashlittle2 | ( | const void * | key, |
| size_t | length, | ||
| uint32_t * | pc, | ||
| uint32_t * | pb | ||
| ) |
Definition at line 539 of file lookup3.c.
References HASH_LITTLE_ENDIAN, and mix.
| uint32_t hashword | ( | const uint32_t * | k, |
| size_t | length, | ||
| uint32_t | initval | ||
| ) |