Handbook
Glossary
farm64 ( bytes -- hash )
Vocabulary
checksums
.
farmhash
.
private
Inputs
bytes
an
object
Outputs
hash
an
object
Definition
USING:
checksums.cityhash.private
combinators
kernel
math
sequences
;
IN:
checksums.farmhash.private
:
farm64
( bytes -- hash )
dup
length
{
{
[
dup
16
<=
]
[
drop
hash64-0to16
]
}
{
[
dup
32
<=
]
[
drop
hash64-17to32
]
}
{
[
dup
64
<=
]
[
drop
farm64-33to64
]
}
[
drop
farm64-long
]
}
cond
;