Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for minhash (0.06 sec)

  1. cmd/erasure-sets.go

    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    	k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16])
    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    func crcHashMod(key string, cardinality int) int {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  2. api/go1.19.txt

    pkg go/doc/comment, type Text interface, unexported methods #51082
    pkg go/types, method (*Func) Origin() *Func #51682
    pkg go/types, method (*Var) Origin() *Var #51682
    pkg hash/maphash, func Bytes(Seed, []uint8) uint64 #42710
    pkg hash/maphash, func String(Seed, string) uint64 #42710
    pkg html/template, method (*Template) Funcs(template.FuncMap) *Template #46121
    pkg html/template, type FuncMap = template.FuncMap #46121
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  3. manifests/charts/base/files/crd-all.gen.yaml

                                        anyOf:
                                        - required:
                                          - ringHash
                                        - required:
                                          - maglev
                                    - required:
                                      - ringHash
                                    - required:
                                      - maglev
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  4. 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))
    }
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. finisher_api.go

    package gorm
    
    import (
    	"database/sql"
    	"errors"
    	"fmt"
    	"hash/maphash"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // Create inserts value, returning the inserted data's primary key in value's id
    func (db *DB) Create(value interface{}) (tx *DB) {
    	if db.CreateBatchSize > 0 {
    		return db.CreateInBatches(value, db.CreateBatchSize)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. go.mod

    	github.com/cespare/xxhash/v2 v2.3.0
    	github.com/cheggaaa/pb v1.0.29
    	github.com/coreos/go-oidc/v3 v3.11.0
    	github.com/coreos/go-systemd/v22 v22.5.0
    	github.com/cosnicolaou/pbzip2 v1.0.3
    	github.com/dchest/siphash v1.2.3
    	github.com/dustin/go-humanize v1.0.1
    	github.com/eclipse/paho.mqtt.golang v1.5.0
    	github.com/elastic/go-elasticsearch/v7 v7.17.10
    	github.com/fatih/color v1.17.0
    	github.com/felixge/fgprof v0.9.4
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/openapi-callbacks.md

    ## Documentando o callback
    
    O código real do callback dependerá muito do seu próprio aplicativo de API.
    
    E provavelmente variará muito de um aplicativo para o outro.
    
    Poderia ser apenas uma ou duas linhas de código, como:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:53:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/security/first-steps.md

    <img src="/img/tutorial/security/image03.png">
    
    Não estamos verificando a validade do token ainda, mas isso já é um começo
    
    ## Recapitulando
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. docs/pt/docs/features.md

    Ou, de outra forma, sem a necessidade deles, importe e use o código que precisar.
    
    Qualquer integração é projetada para ser tão simples de usar (com dependências) que você pode criar um "plug-in" para suas aplicações com 2 linhas de código usando a mesma estrutura e sintaxe para as suas *operações de caminho*.
    
    ### Testado
    
    * 100% <abbr title="A quantidade de código que é testada automaticamente">de cobertura de testes</abbr>.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/sql-databases.md

    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top