- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ChecksumIEEE (0.11 sec)
-
internal/s3select/genmessage.go
binary.Write(buf, binary.BigEndian, uint32(headerLength)) prelude := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude)) buf.Write(header) message := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message)) fmt.Println(buf.Bytes()) } func genProgressHeader() { buf := new(bytes.Buffer) buf.WriteByte(13)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 4.4K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v1.go
if err != nil { return err } key, err := hex.DecodeString(keyHex[8:]) if err != nil { return err } // Verify that CRC is ok. want := binary.LittleEndian.Uint32(id) got := crc32.ChecksumIEEE(key) if want != got { return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got) } stream, err := sio.AES_256_GCM.Stream(key) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 1.6K bytes - Viewed (0) -
lib/time/mkzip.go
w, err := zw.CreateRaw(&zip.FileHeader{ Name: name, Method: zip.Store, CompressedSize64: uint64(len(data)), UncompressedSize64: uint64(len(data)), CRC32: crc32.ChecksumIEEE(data), }) if err != nil { log.Fatal(err) } if _, err := w.Write(data); err != nil { log.Fatal(err) } seen[name] = true return nil }) if err != nil { log.Fatal(err) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/s3select/message.go
binary.Write(buf, binary.BigEndian, uint32(headerLength)) prelude := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude)) buf.Write(header) if payload != nil { buf.Write(payload) } message := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message)) return buf.Bytes() } // Refer genRecordsHeader(). var recordsHeader = []byte{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 15.2K bytes - Viewed (0) -
src/archive/zip/writer_test.go
method: Deflate, }, } // write a zip file archive := new(bytes.Buffer) w := NewWriter(archive) for i := range files { f := &files[i] f.crc32 = crc32.ChecksumIEEE(f.content) size := uint64(len(f.content)) f.uncompressedSize = size f.compressedSize = size var compressedContent []byte if f.method == Deflate { var buf bytes.Buffer
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
cmd/admin-handlers.go
// Replace the server prefix/suffix with anonymized ones for idx, lbl := range idxMap { if len(poolsMatch[idx]) > 0 { poolsMatch[idx] = fmt.Sprintf("%s%d", lbl, crc32.ChecksumIEEE([]byte(poolsMatch[idx]))) } } // Remove the original pools args present at index 0 anonPools[pi] = strings.Join(poolsMatch[1:], "") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
api/go1.txt
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 pkg hash/crc32, func NewIEEE() hash.Hash32 pkg hash/crc32, func Update(uint32, *Table, []uint8) uint32
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)