C语言实现hash/sdbm算法(附完整源码)

实现hash/sdbm算法的完整源码(定义,实现,main函数测试)

#include <assert.h>
#include <inttypes.h>
#include <stdio.h>

/**
 * @brief SDBM algorithm implementation
 *
 * @param s NULL terminated string to hash
 * @return 64-bit hash result
 */
uint64_t sdbm

猜你喜欢

转载自blog.csdn.net/it_xiangqiang/article/details/114027401