include/util/checksum.hpp File Reference

#include <cmath>
#include <string>

Go to the source code of this file.

Namespaces

namespace  aitools
namespace  aitools::util

Functions

bool aitools::util::is_prime (uint32_t number)
uint32_t aitools::util::next_prime (uint32_t number)
template<typename T >
aitools::util::hash (const char *key, size_t length)
template<>
uint16_t aitools::util::hash< uint16_t > (const char *key, size_t length)
template<>
uint32_t aitools::util::hash< uint32_t > (const char *key, size_t length)
template<>
uint64_t aitools::util::hash< uint64_t > (const char *key, size_t length)
template<typename T >
aitools::util::hash (const std::string &key)
uint16_t aitools::util::hash16 (const std::string &key)
uint32_t aitools::util::hash32 (const std::string &key)
uint64_t aitools::util::hash64 (const std::string &key)
Generated on Wed May 30 15:07:26 2012 by  doxygen 1.6.3