- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for marshaled (0.18 sec)
-
src/hash/crc64/crc64.go
// polynomial represented by the [Table]. Its Sum method will lay the // value out in big-endian byte order. The returned Hash64 also // implements [encoding.BinaryMarshaler] and [encoding.BinaryUnmarshaler] to // marshal and unmarshal the internal state of the hash. func New(tab *Table) hash.Hash64 { return &digest{0, tab} } func (d *digest) Size() int { return Size } func (d *digest) BlockSize() int { return 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 22:36:41 UTC 2024 - 5.2K bytes - Viewed (0) -
src/crypto/tls/ech.go
outer.encryptedClientHello, err = generateOuterECHExt(ech.config.ConfigID, ech.kdfID, ech.aeadID, encapKey, make([]byte, encryptedLen)) if err != nil { return err } serializedOuter, err := outer.marshal() if err != nil { return err } serializedOuter = serializedOuter[4:] // strip the four byte prefix encryptedInner, err := ech.hpkeContext.Seal(serializedOuter, encodedInner) if err != nil { return err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 7.4K bytes - Viewed (0) -
internal/event/target/nsq.go
objectName, err := url.QueryUnescape(eventData.S3.Object.Key) if err != nil { return err } key := eventData.S3.Bucket.Name + "/" + objectName data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}}) if err != nil { return err } return target.producer.Publish(target.args.Topic, data) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.1K bytes - Viewed (0) -
src/crypto/sha256/sha256.go
d.h[7] = init7_224 } d.nx = 0 d.len = 0 } // New returns a new hash.Hash computing the SHA256 checksum. The Hash // also implements [encoding.BinaryMarshaler] and // [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal // state of the hash. func New() hash.Hash { if boring.Enabled { return boring.NewSHA256() } d := new(digest) d.Reset() return d }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go
if example == nil { return nil, fmt.Errorf("example provided to Apply must not be nil") } patchOpts := opts.ToPatchOptions() data, err := json.Marshal(example) if err != nil { return nil, err } name := example.Name if name == nil { return nil, fmt.Errorf("example.Name must be provided to Apply") } result = &v1.Example{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 10:52:54 UTC 2024 - 8.6K bytes - Viewed (0) -
src/net/lookup_windows_test.go
"strings" "syscall" "testing" ) var nslookupTestServers = []string{"mail.golang.com", "gmail.com"} var lookupTestIPs = []string{"8.8.8.8", "1.1.1.1"} func toJson(v any) string { data, _ := json.Marshal(v) return string(data) } func testLookup(t *testing.T, fn func(*testing.T, *Resolver, string)) { for _, def := range []bool{true, false} { def := def for _, server := range nslookupTestServers {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.7K bytes - Viewed (0)