This is the cl-libfarmhash Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon May 15 04:03:29 2023 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-libfarmhash
Common Lisp Binding for Google’s Farmhash.
David Gu
MIT
# cl-libfarmhash - Common Lisp Binding for Google’s [Farmhash](https://github.com/google/farmhash).
<a href="http://quickdocs.org/cl-libfarmhash"><img src="http://quickdocs.org/badge/cl-libfarmhash.svg" /></a>
## Usage
**note:** _all results shown below are from a 64bit Mac OS platform._
### farmhash
“‘common-lisp
FARM> (farmhash "test")
2929758365
“‘
### farmhash32
“‘common-lisp
FARM> (farmhash32 "test")
168770635
“‘
### farmhash32-with-seed
“‘common-lisp
FARM> (farmhash32-with-seed "test" 12345)
687740529
“‘
### farmhash64
“‘common-lisp
FARM> (farmhash64 "test")
656818571139125405
“‘
### farmhash64-with-seed
“‘common-lisp
FARM> (farmhash64-with-seed "test" 12345)
1329645378812687902
“‘
### farmhash64-with-seeds
“‘common-lisp
FARM> (farmhash64-with-seeds "test" 12345 54321)
2807312541950536949
“‘
### farmhash128
“‘common-lisp
FARM> (farmhash128 "test")
278051559519782271719215074689603618262
“‘
### farmhash128-with-seed
“‘common-lisp
FARM> (farmhash128-with-seed "test" 1234554321)
8373479877626909324346027983011427843
“‘
### farmhash-fingerprint32
“‘common-lisp
FARM> (farmhash-fingerprint32 "test")
1633095781
“‘
### farmhash-fingerprint64
“‘common-lisp
FARM> (farmhash-fingerprint64 "test")
8581389452482819506
“‘
### farmhash-fingerprint128
“‘common-lisp
FARM> (farmhash-fingerprint128 "test")
334882099032867325754781607143811124132
“‘
## Installation
Just ‘(ql:quickload :cl-libfarmhash)‘. All exported functions has been simply tested on ‘SBCL‘, ‘CCL‘, ‘Allegro CL‘ and ‘LispWorks‘.
## Author
* David Gu (macdavid313@gmail.com)
## Copyright
Copyright (c) 2016 David Gu (macdavid313@gmail.com)
0.1
cffi
(system).
cffi-libffi
(system).
src
(module).
Modules are listed depth-first from the system components tree.
cl-libfarmhash/src
cl-libfarmhash
(system).
cl-libfarmhash.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-libfarmhash/cl-libfarmhash.asd
cl-libfarmhash
(system).
cl-libfarmhash/src/cl-libfarmhash.lisp
src
(module).
farmhash
(function).
farmhash-fingerprint128
(function).
farmhash-fingerprint32
(function).
farmhash-fingerprint64
(function).
farmhash128
(function).
farmhash128-with-seed
(function).
farmhash32
(function).
farmhash32-with-seed
(function).
farmhash64
(function).
farmhash64-with-seed
(function).
farmhash64-with-seeds
(function).
translate-from-foreign
(method).
*cc*
(special variable).
*ext-path*
(special variable).
*root-path*
(special variable).
define-farmhash-function
(macro).
split-128bit-number-to-64bit
(function).
uint128-tclass
(class).
Packages are listed by definition order.
cl-libfarmhash
farm
farmhash
libfarmhash
common-lisp
.
farmhash
(function).
farmhash-fingerprint128
(function).
farmhash-fingerprint32
(function).
farmhash-fingerprint64
(function).
farmhash128
(function).
farmhash128-with-seed
(function).
farmhash32
(function).
farmhash32-with-seed
(function).
farmhash64
(function).
farmhash64-with-seed
(function).
farmhash64-with-seeds
(function).
*cc*
(special variable).
*ext-path*
(special variable).
*root-path*
(special variable).
define-farmhash-function
(macro).
split-128bit-number-to-64bit
(function).
uint128-tclass
(class).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Hash function for a byte array.
May change from time to time, may differ on different platforms, may differ depending on NDEBUG.
Fingerprint function for a byte array.
Fingerprint function for a byte array. Most useful in 32-bit binaries.
Fingerprint function for a byte array.
Hash function for a byte array.
May change from time to time, may differ on different platforms, may differ depending on NDEBUG.
Hash function for a byte array. For convenience, a 128-bit seed is also hashed into the result. May change from time to time, may differ on different platforms, may differ depending on NDEBUG.
Hash function for a byte array. Most useful in 32-bit binaries.
May change from time to time, may differ on different platforms, may differ depending on NDEBUG.
Hash function for a byte array. For convenience, a 32-bit seed is also hashed into the result. May change from time to time, may differ on different platforms, may differ depending on NDEBUG.
Hash 128 input bits down to 64 bits of output.
Hash function for a byte array.
May change from time to time, may differ on different platforms, may differ depending on NDEBUG.
Hash function for a byte array. For convenience, a 64-bit seed is also hashed into the result. May change from time to time, may differ on different platforms, may differ depending on NDEBUG.
Hash function for a byte array. For convenience, two seeds are also hashed into the result. May change from time to time, may differ on different platforms, may differ depending on NDEBUG.
uint128-tclass
)) ¶Translate a c struct, ‘uint128‘, to a Lisp integer.
cffi
.
A macro that helps define Farmhash API functions.
Given a number, retruns its low 64bit and high 64bit.
foreign-struct-type
.
translatable-foreign-type
.
Jump to: | D F M S T |
---|
Jump to: | D F M S T |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | C F M P S U |
---|
Jump to: | C F M P S U |
---|