- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 446 for bhash (0.04 sec)
-
cmd/erasure-coding.go
encoded, err := e.EncodeData(GlobalContext, testData[:]) failOnErr(err) hash := xxhash.New() for i, data := range encoded { // Write index to keep track of sizes of each. _, err = hash.Write([]byte{byte(i)}) failOnErr(err) _, err = hash.Write(data) failOnErr(err) got[conf] = map[ErasureAlgo]uint64{algo: hash.Sum64()} } if a, b := want[conf], got[conf]; !reflect.DeepEqual(a, b) {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/buildid/buildid.go
} if !*wflag { fmt.Printf("%s\n", id) return } // Keep in sync with src/cmd/go/internal/work/buildid.go:updateBuildID f, err := os.Open(file) if err != nil { log.Fatal(err) } matches, hash, err := buildid.FindAndHash(f, id, 0) f.Close() if err != nil { log.Fatal(err) } // <= go 1.7 doesn't embed the contentID or actionID, so no slash is present if !strings.Contains(id, "/") {
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/bitrot-streaming.go
import ( "bytes" "context" "hash" "io" "sync" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/ringbuffer" ) // Calculates bitrot in chunks and writes the hash into the stream. type streamingBitrotWriter struct { iow io.WriteCloser closeWithErr func(err error) h hash.Hash shardSize int64
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 21 12:20:54 UTC 2024 - 6K bytes - Viewed (0) -
ci/official/utilities/setup_docker.sh
#!/bin/bash # Copyright 2023 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS,
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Fri Aug 09 16:05:18 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/xl-storage-format-utils.go
return crc } // hashDeterministicBytes will return a deterministic (weak) hash for the map values. // Trivial collisions are avoided, but this is by no means a strong hash. func hashDeterministicBytes(m map[string][]byte) uint64 { crc := uint64(0x1bbc7e1dde654743) for k, v := range m { crc ^= (xxh3.HashString(k) ^ 0x4ee3bbaf7ab2506b) + (xxh3.Hash(v) ^ 0x8da4c8da66194257) } return crc
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/fr/docs/contributing.md
``` </div> //// //// tab | Windows Bash Ou si vous utilisez Bash pour Windows (par exemple <a href="https://gitforwindows.org/" class="external-link" target="_blank">Git Bash</a>): <div class="termy"> ```console $ source ./env/Scripts/activate ``` </div> //// Pour vérifier que cela a fonctionné, utilisez : //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 16.2K bytes - Viewed (0) -
internal/hash/sha256/sh256.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package sha256 import ( "crypto/sha256" "hash" ) // New initializes a new sha256.New() func New() hash.Hash { return sha256.New() } // Sum256 returns the SHA256 checksum of the data. func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Apr 26 06:31:35 UTC 2024 - 1.1K bytes - Viewed (0) -
ci/official/utilities/cleanup_docker.sh
#!/bin/bash # Copyright 2023 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS,
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Thu Aug 10 20:26:29 UTC 2023 - 998 bytes - Viewed (0) -
cmd/signature-v4-utils.go
owner = false } return cred, owner, ErrNone } // sumHMAC calculate hmac between two input byte array. func sumHMAC(key []byte, data []byte) []byte { hash := hmac.New(sha256.New, key) hash.Write(data) return hash.Sum(nil) } // extractSignedHeaders extract signed headers from Authorization header func extractSignedHeaders(signedHeaders []string, r *http.Request) (http.Header, APIErrorCode) {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (1) -
docs/ru/docs/contributing.md
``` </div> //// //// tab | Windows Bash Если Вы пользуетесь Bash для Windows (например: <a href="https://gitforwindows.org/" class="external-link" target="_blank">Git Bash</a>): <div class="termy"> ```console $ source ./env/Scripts/activate ``` </div> //// Проверьте, что всё сработало: //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console $ which pip
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 22.5K bytes - Viewed (0)