- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 82 for cSrc (0.22 sec)
-
cmd/xl-storage-format-v2.go
} if minor >= 2 { if crc, nbuf, err := msgp.ReadUint32Bytes(buf); err == nil { // Read metadata CRC (added in v2) buf = nbuf if got := uint32(xxhash.Sum64(v)); got != crc { return fmt.Errorf("xlMetaV2.Load version(%d), CRC mismatch, want 0x%x, got 0x%x", minor, crc, got) } } else { return fmt.Errorf("xlMetaV2.Load version(%d), loading CRC: %w", minor, err) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0) -
src/hash/crc32/example_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package crc32_test import ( "fmt" "hash/crc32" ) func ExampleMakeTable() { // In this package, the CRC polynomial is represented in reversed notation, // or LSB-first representation. // // LSB-first representation is a hexadecimal number with n bits, in which the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 04 00:19:22 UTC 2015 - 1K bytes - Viewed (0) -
src/image/png/writer.go
return } binary.BigEndian.PutUint32(e.header[:4], n) e.header[4] = name[0] e.header[5] = name[1] e.header[6] = name[2] e.header[7] = name[3] crc := crc32.NewIEEE() crc.Write(e.header[4:8]) crc.Write(b) binary.BigEndian.PutUint32(e.footer[:4], crc.Sum32()) _, e.err = e.w.Write(e.header[:8]) if e.err != nil { return } _, e.err = e.w.Write(b) if e.err != nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 15.4K bytes - Viewed (0) -
internal/s3select/message.go
0, 0, 0, 41, // headers byte-length. 139, 161, 157, 242, // prelude crc. 13, ':', 'm', 'e', 's', 's', 'a', 'g', 'e', '-', 't', 'y', 'p', 'e', 7, 0, 5, 'e', 'v', 'e', 'n', 't', // headers. 11, ':', 'e', 'v', 'e', 'n', 't', '-', 't', 'y', 'p', 'e', 7, 0, 4, 'C', 'o', 'n', 't', // headers. 156, 134, 74, 13, // message crc. } // Refer genProgressHeader(). var progressHeader = []byte{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 15.2K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v1.go
id, err := hex.DecodeString(keyHex[:8]) 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)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 1.6K bytes - Viewed (0) -
fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml
<!-- LL = Layer description; 01 = L3, 10 = L2, 11 = L1 --> <!-- C = Protection bit; 0 = CRC, 1 = no CRC --> <match value="0xfff2" type="string" offset="0"/> <!-- V2, L3, CRC --> <match value="0xfff3" type="string" offset="0"/> <!-- V2, L3 --> <match value="0xfff4" type="string" offset="0"/> <!-- V2, L2, CRC --> <match value="0xfff5" type="string" offset="0"/> <!-- V2, L2 -->
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Sep 21 06:46:43 UTC 2023 - 298.5K bytes - Viewed (0) -
internal/hash/checksum.go
if c == nil { return nil } var tmp [binary.MaxVarintLen32]byte n := binary.PutUvarint(tmp[:], uint64(c.Type)) crc := c.Raw if len(crc) != c.Type.RawByteLen() { return b } b = append(b, tmp[:n]...) b = append(b, crc...) if c.Type.Is(ChecksumMultipart) { var checksums int if c.WantParts > 0 && !c.Type.Is(ChecksumIncludesMultipart) { checksums = c.WantParts }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 08 16:18:34 UTC 2024 - 12.6K bytes - Viewed (0) -
docs/bucket/versioning/DESIGN.md
| xlVersionMajor | uint16 | Major xl-meta version. | xlVersionMinor | uint16 | Minor xl-meta version. | xlMetaV2 | msgp bin array | Bin array with serialized metadata | crc | msgp uint | Lower 32 bits of 64 bit xxhash of previous array contents (v1.2+ only) | inline data | binary | Inline data if any, see Inline Data section for encoding. | [EOF] | | ## v1.0-v1.2 Versions
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 5.8K bytes - Viewed (0) -
docs/debugging/inspect/export.go
// Read metadata CRC (added in v2, ignore if not found) b = nbuf } _, e = msgp.CopyToJSON(buf, bytes.NewReader(v)) if e != nil { return nil, e } data = b case 3: v, b, e := msgp.ReadBytesZC(b) if e != nil { return nil, e } if _, nbuf, e := msgp.ReadUint32Bytes(b); e == nil { // Read metadata CRC (added in v2, ignore if not found) b = nbuf
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 08 15:58:02 UTC 2022 - 9.1K bytes - Viewed (0) -
internal/crypto/metadata.go
// the KMS. MetaDataEncryptionKey = "X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key" // MetaSsecCRC is the encrypted checksum of the SSE-C encrypted object. MetaSsecCRC = "X-Minio-Replication-Ssec-Crc" // MetaContext is the KMS context provided by a client when encrypting an // object with SSE-KMS. A client may not send a context in which case the // MetaContext will not be present.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 6.4K bytes - Viewed (0)