cdb_hashadd.c (131B)
1 /* ISC license. */ 2 3 #include "cdb-internal.h" 4 5 uint32_t cdb_hashadd (uint32_t h, uint8_t c) 6 { 7 h += (h << 5) ; 8 return h ^ c ; 9 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |