- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for crc32c (0.08 sec)
-
src/archive/zip/zip_test.go
} } f, err := w.CreateHeader(&FileHeader{ Name: filename, Method: Store, }) if err != nil { t.Fatal(err) } f.(*fileWriter).crc32 = fakeHash32{} size := wantOff - fileHeaderLen - uint64(len(filename)) - dataDescriptorLen if _, err := io.CopyN(f, zeros{}, int64(size)); err != nil { t.Fatal(err) } if err := w.Close(); err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
func hashOrder(key string, cardinality int) []int { if cardinality <= 0 { // Returns an empty int slice for cardinality < 0. return nil } nums := make([]int, cardinality) keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) start := int(keyCrc % uint32(cardinality)) for i := 1; i <= cardinality; i++ { nums[i-1] = 1 + ((start + i) % cardinality) } return nums }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/archive/zip/reader_test.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
cmd/erasure-sets.go
sum64 := siphash.Hash(k0, k1, []byte(key)) return int(sum64 % uint64(cardinality)) } func crcHashMod(key string, cardinality int) int { if cardinality <= 0 { return -1 } keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) return int(keyCrc % uint32(cardinality)) } func hashKey(algo string, key string, cardinality int, id [16]byte) int { switch algo { case formatErasureVersionV2DistributionAlgoV1:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37K bytes - Viewed (1) -
cmd/object-api-putobject_test.go
32: {bucketName: bucket, objName: "emptydir/", inputData: []byte{}, expectedMd5: getMD5Hash([]byte{})}, // With invalid crc32. 33: { bucketName: bucket, objName: object, inputData: []byte("abcd"), inputMeta: map[string]string{"etag": "e2fc714c4727ee9395f324cd2e7f331f", "x-amz-checksum-crc32": "abcd"}, inputDataSize: int64(len("abcd")), }, } for i, testCase := range testCases {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 25.8K bytes - Viewed (0) -
src/archive/tar/reader_test.go
import ( "bytes" "compress/bzip2" "errors" "fmt" "hash/crc32" "io" "maps" "math" "os" "path" "reflect" "slices" "strconv" "strings" "testing" "time" ) func TestReader(t *testing.T) { vectors := []struct { file string // Test input file headers []*Header // Expected output headers chksums []string // CRC32 checksum of files, leave as nil if not checked
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
cmd/admin-handlers.go
package cmd import ( "bytes" "context" crand "crypto/rand" "crypto/rsa" "crypto/subtle" "crypto/x509" "encoding/base64" "encoding/json" "encoding/pem" "errors" "fmt" "hash/crc32" "io" "math" "net/http" "net/url" "os" "path" "path/filepath" "regexp" "runtime" "sort" "strconv" "strings" "sync/atomic" "time" "github.com/dustin/go-humanize"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
src/main/webapp/js/admin/bootstrap.min.js.map
,QAC7BJ,EAAK3B,gBACf2B,EAAKnC,YAAclG,EAAMuI,cAAcG,QAAQ,GAAGD,UAWhDE,EAAM,SAAA3I,GACNqI,EAAK3B,eAAiBlB,EAAYxF,EAAMuI,cAAcC,YAAY5J,iBACpEyJ,EAAKlC,YAAcnG,EAAMuI,cAAcE,QAAUJ,EAAKnC,aAGxDmC,EAAKN,eACsB,UAAvBM,EAAKjC,QAAQhB,QASfiD,EAAKjD,QACDiD,EAAKpC,cACP2C,aAAaP,EAAKpC,cAGpBoC,EAAKpC,aAAelG,YAAW,SAAAC,GAAK,OAAIqI,EAAKlB,MAAMnH,KA1R5B,IA0R6DqI,EAAKjC,QAAQnB,YAIrGvI,UAAEkD,KAAKkB,SAASwD,iBA5PM,uBA6PnB9B,GApQe,yBAoQM,SAAAqG,GAAC,OAAIA,EAAEtG,oBAE3B3C,KAAK8G,eACPhK,UAAEkD,KAAKkB,UAAU0B,GAzQA,2BAyQsB,SA...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 180.9K bytes - Viewed (0) -
api/go1.txt
pkg hash/adler32, func New() hash.Hash32 pkg hash/crc32, const Castagnoli ideal-int pkg hash/crc32, const IEEE ideal-int pkg hash/crc32, const Koopman ideal-int pkg hash/crc32, const Size ideal-int pkg hash/crc32, func Checksum([]uint8, *Table) uint32 pkg hash/crc32, func ChecksumIEEE([]uint8) uint32 pkg hash/crc32, func MakeTable(uint32) *Table pkg hash/crc32, func New(*Table) hash.Hash32
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
src/main/webapp/js/admin/adminlte.min.js.map
,SAhJqB,6BAoJjCgG,iBAAA,WACE,IAAMN,EAAQ5H,EAAAA,QAAE,QACV6I,EAAkB7I,EAAAA,QAAE0B,KAAKiG,QAAQF,QAEvC,GAAKG,EAAM1F,SAASmF,GAApB,CAIA,IAAMyB,EAAU,CACdJ,OAAQ1I,EAAAA,QAAE8D,UAAUkC,SACpBwC,OAAQxI,EAAAA,QAAEwI,QAAQxC,SAClB+C,OAAQ/I,EAAAA,QAAEgH,GAAiBgC,cAC3BC,OAAQjJ,EAAAA,QAAEiH,GAAiB+B,eAEvBE,EACIC,KAAKC,IAAKN,EAAQN,OAASxI,EAAAA,QAAEwI,QAAQa,YAAeP,EAAQJ,QADhEQ,EAEClJ,EAAAA,QAAEwI,QAAQa,YAGXC,EAAc5H,KAAKiH,kBAA2D,UAAvC3I,EAAAA,QAAEgH,GAAiBjB,IAAI,YAE9DwD,EAAc7H,KAAKkH,kBAA2D,UAAvC5I,EAAAA,QAAEiH,GAAiB...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 132.4K bytes - Viewed (0)