Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

hashkit_fnv1a_64 (3libmemcached)

Name

hashkit_fnv1a_64 - libhashkit Documentation Various hash functions to use for calculating values for keys

Synopsis

#include <libhashkit/hashkit.h>

uint32_t hashkit_default(const char *key, size_t key_length)

uint32_t hashkit_fnv1_64(const char *key, size_t key_length)

uint32_t hashkit_fnv1a_64(const char *key, size_t key_length)

uint32_t hashkit_fnv1_32(const char *key, size_t key_length)

uint32_t hashkit_fnv1a_32(const char *key, size_t key_length)

uint32_t hashkit_crc32(const char *key, size_t key_length)

uint32_t hashkit_hsieh(const char *key, size_t key_length)

uint32_t hashkit_murmur(const char *key, size_t key_length)

uint32_t hashkit_jenkins(const char *key, size_t key_length)

uint32_t hashkit_md5(const char *key, size_t key_length)

Compile and link with -lhashkit

Description

libmemcached                                   HASHKIT_FNV1A_64(3libmemcached)



NAME
       hashkit_fnv1a_64 - libhashkit Documentation

       Various hash functions to use for calculating values for keys

SYNOPSIS
       #include <libhashkit/hashkit.h>

       uint32_t hashkit_default(const char *key, size_t key_length)

       uint32_t hashkit_fnv1_64(const char *key, size_t key_length)

       uint32_t hashkit_fnv1a_64(const char *key, size_t key_length)

       uint32_t hashkit_fnv1_32(const char *key, size_t key_length)

       uint32_t hashkit_fnv1a_32(const char *key, size_t key_length)

       uint32_t hashkit_crc32(const char *key, size_t key_length)

       uint32_t hashkit_hsieh(const char *key, size_t key_length)

       uint32_t hashkit_murmur(const char *key, size_t key_length)

       uint32_t hashkit_jenkins(const char *key, size_t key_length)

       uint32_t hashkit_md5(const char *key, size_t key_length)

       Compile and link with -lhashkit

DESCRIPTION
       These  functions  generate  hash  values  from a key using a variety of
       algorithms. These functions can be used standalone, or as arguments  to
       hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).

       The  hashkit_hsieh  is  only available if the library is built with the
       appropriate flag enabled.

RETURN VALUE
       A 32-bit hash value.

HOME
       To find out more information please check: http://libmemcached.org/


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | library/libmemcached |
       +---------------+----------------------+
       |Stability      | Uncommitted          |
       +---------------+----------------------+
SEE ALSO
       hashkit_create(3)        hashkit_value(3)        hashkit_set_hash_fn(3)
       hashkit_set_continuum_hash_fn(3)

AUTHOR
       Brian Aker

COPYRIGHT
       2011-2013, Brian Aker DataDifferential, http://datadifferential.com/



NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source     was     downloaded    from     https://launchpad.net/libmem-
       cached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz

       Further information about this software can be found on the open source
       community website at http://libmemcached.org/libMemcached.html.



1.0.18                         February 09, 2014
                                               HASHKIT_FNV1A_64(3libmemcached)