#include <sys/types.h>
#include "../include/db.h"
#include "hash.h"
#include "page.h"
#include "extern.h"
Go to the source code of this file.
◆ HASH4
◆ HASH4_TOREK
◆ HASH4a
#define HASH4a h = (h << 5) - h + *key++; |
◆ HASH4b
#define HASH4b h = (h << 5) + h + *key++; |
◆ __P()
◆ hashfunc()
static u_int32_t hashfunc |
( |
void * |
keyarg, |
|
|
size_t |
len |
|
) |
| const |
|
static |
Definition at line 178 of file hash_func.c.
References HASH4.
182 register const u_char *key;
183 register size_t loop;
186 #define HASH4a h = (h << 5) - h + *key++; 187 #define HASH4b h = (h << 5) + h + *key++; 193 loop = (
len + 8 - 1) >> 3;
195 switch (
len & (8 - 1)) {
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)