Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for init (0.34 sec)

  1. docs/bucket/versioning/DESIGN.md

    | xlHeaderVersion | msgp uint                   | header version identifier
    | xlMetaVersion   | msgp uint                   | metadata version identifier
    | versions        | msgp int                    | Number of versions following
    | header_1        | msgp bin array              | Header of version 1
    | metadata_1      | msgp bin array              | Metadata of version 1
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 5.8K bytes
    - Viewed (1)
  2. docs/distributed/DESIGN.md

    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top