- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Nash (0.16 sec)
-
docs/debugging/hash-set/main.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bufio" "bytes" "encoding/binary" "flag" "fmt" "hash/crc32" "log" "os" "strings" "github.com/dchest/siphash" "github.com/google/uuid" ) // hashes the key returning an integer based on the input algorithm. // This function currently supports
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Viewed (0) -
docs/debugging/s3-verify/main.go
continue } fmt.Printf("only in target: %s\n", tgtCtnt.Key) tgtCtnt, tgtOk = nextObject(tgtCh) } } func verifyChecksum(sclnt *minio.Client, srcSha256, tgtSha256 hash.Hash, srcCtnt, tgtCtnt minio.ObjectInfo) (allgood bool) { opts := minio.GetObjectOptions{} if srcCtnt.Size != tgtCtnt.Size { fmt.Printf("differ in size sourceSize: %d, targetSize: %d\n", srcCtnt.Size, tgtCtnt.Size)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
versions bool insecure bool ) // getMD5Sum returns MD5 sum of given data. func getMD5Sum(data []byte) []byte { hash := md5.New() hash.Write(data) return hash.Sum(nil) } func main() { flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL") flag.StringVar(&accessKey, "access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Feb 17 01:15:57 GMT 2024 - 6.3K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
return fmt.Errorf("size mismatch. Meta size: %d", ei.V2Obj.Size) } } else { return err } if len(b) < 32 { return fmt.Errorf("file %s too short", file) } // Trim hash. Fine for inline data, since only one block. b = b[32:] set := parityData[data] if set == nil { set = make(map[int][]byte) } set[idx] = b parityData[data] = set // Combine
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:56:22 GMT 2024 - 20.2K bytes - Viewed (1)