Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for byte (0.14 sec)

  1. docs/bucket/versioning/DESIGN.md

    Inline data is optional. If no inline data is present, it is encoded as 0 bytes.
    
    | Entry               | Encoding                    | Content
    | --------------------|-----------------------------|----------------------------------------
    | xlMetaInlineDataVer | byte                        | version identifier
    | id -> data          | msgp `map[string][]byte`      | Map of string id -> byte content
    
    Currently only xlMetaInlineDataVer == 1 exists.
    
    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