= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
On This Page
package git
-
git
-
-
git.top
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Parameters
Signature
Arrays of hashes
Similar to Cstruct.t
but where the unit of offsets and length is the number of hash values instead of the number of bytes.
Same as Cstruct.sub
but where offset
and length
as hash offsets.
val length : Cstruct.t -> int
length v
is the number of hashes store in t
.
linear_search buf h
iterates through the hashes stored in the buffer buf
. Return the indice of the first hash equals to h
. Can raise Ambiguous
if h
is short and more than one hash are similar.
On This Page