- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for arshalers (0.24 sec)
-
cmd/object-api-datatypes_gen.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "github.com/minio/minio/internal/bucket/replication" "github.com/tinylib/msgp/msgp" ) // MarshalMsg implements msgp.Marshaler func (z BackendType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendInt(o, int(z)) return } // UnmarshalMsg implements msgp.Unmarshaler
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen.go
if err != nil { return } err = en.WriteTime(z.LastUpdate) if err != nil { err = msgp.WrapError(err, "LastUpdate") return } return } // MarshalMsg implements msgp.Marshaler func (z *BucketReplicationResyncStatus) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 4 // string "v" o = append(o, 0x84, 0xa1, 0x76)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 61.1K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) { err = en.WriteUint8(uint8(z)) if err != nil { err = msgp.WrapError(err) return } return } // MarshalMsg implements msgp.Marshaler func (z ChecksumAlgo) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendUint8(o, uint8(z)) return } // UnmarshalMsg implements msgp.Unmarshaler
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 53.8K bytes - Viewed (0) -
cmd/bucket-stats_gen.go
if err != nil { return } err = en.WriteInt64(z.FailedCount) if err != nil { err = msgp.WrapError(err, "FailedCount") return } return } // MarshalMsg implements msgp.Marshaler func (z *BucketReplicationStat) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 14 // string "ReplicatedSize"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 57.5K bytes - Viewed (0) -
src/encoding/xml/marshal_test.go
}, }, // Test omitempty with parent chain; see golang.org/issue/4168. { ExpectXML: `<Strings><A></A></Strings>`, Value: &Strings{}, }, // Custom marshalers. { ExpectXML: `<MyMarshalerTest>hello world</MyMarshalerTest>`, Value: &MyMarshalerTest{}, }, { ExpectXML: `<MarshalerStruct Foo="hello world"></MarshalerStruct>`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 66K bytes - Viewed (0) -
src/encoding/json/decode_test.go
// either the old base64 string encoding or the new per-element encoding can be // successfully unmarshaled. The custom unmarshalers were accessible in earlier // versions of Go, even though the custom marshaler was not. { CaseName: Name(""), in: `"AQID"`, ptr: new([]byteWithMarshalJSON), out: []byteWithMarshalJSON{1, 2, 3}, }, { CaseName: Name(""),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
src/html/template/escape_test.go
return []byte(`{ "<foo>": "O'Reilly" }`), nil } func TestEscape(t *testing.T) { data := struct { F, T bool C, G, H, I string A, E []string B, M json.Marshaler N int U any // untyped nil Z *int // typed nil W HTML }{ F: false, T: true, C: "<Cincinnati>", G: "<Goodbye>", H: "<Hello>",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 16 03:29:27 UTC 2023 - 56.2K bytes - Viewed (0) -
src/time/time.go
} // GobDecode implements the gob.GobDecoder interface. func (t *Time) GobDecode(data []byte) error { return t.UnmarshalBinary(data) } // MarshalJSON implements the [json.Marshaler] interface. // The time is a quoted string in the RFC 3339 format with sub-second precision. // If the timestamp cannot be represented as valid RFC 3339 // (e.g., the year is out of range), then an error is reported.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0)