repo.or.cz
/
pgbouncer.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use AC_PROG_INSTALL & ./install-sh
[pgbouncer.git]
/
include
/
hash.h
blob
a676f87f2a40ca833c804511ed5dabfcd4b08533
1
/* The contents of this file are public domain. */
2
3
uint32_t
lookup3_hash
(
const void
*
data
,
size_t
len
);
4
5
uint32_t
hash32
(
uint32_t
v
);
6
7
static
inline
uint32_t
ptr_hash32
(
const void
*
ptr
)
8
{
9
return
hash32
((
uint32_t
)(
long
)
ptr
);
10
}
11