- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 203 for marshal (0.07 sec)
-
internal/event/config_test.go
{[]byte(`<FilterRule><Name>suffix</Name><Value>foo/bar</Value></FilterRule>`), &FilterRule{"suffix", "foo/bar"}, false}, } for i, testCase := range testCases { result := &FilterRule{} err := xml.Unmarshal(testCase.data, result) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 28.9K bytes - Viewed (0) -
internal/bucket/lifecycle/transition_test.go
input: `<Transition> <Days>1</Days> </Transition>`, err: errXMLNotWellFormed, }, } for i, tc := range trTests { var tr Transition err := xml.Unmarshal([]byte(tc.input), &tr) if err != nil { t.Fatalf("%d: xml unmarshal failed with %v", i+1, err) } if err = tr.Validate(); err != tc.err { t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err) } } ntrTests := []struct {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 01 18:58:17 UTC 2021 - 2.3K bytes - Viewed (0) -
cmd/batch-job-common-types.go
type BatchJobSize int64 // UnmarshalYAML to parse humanized byte values func (s *BatchJobSize) UnmarshalYAML(unmarshal func(any) error) error { var batchExpireSz string err := unmarshal(&batchExpireSz) if err != nil { return err } sz, err := humanize.ParseBytes(batchExpireSz) if err != nil { return err } *s = BatchJobSize(sz)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
scStr := string(b) if scStr == "" { return nil } s, err := parseStorageClass(scStr) if err != nil { return err } sc.Parity = s.Parity return nil } // MarshalText - marshals storage class string. func (sc *StorageClass) MarshalText() ([]byte, error) { if sc.Parity != 0 { return fmt.Appendf(nil, "%s:%d", schemePrefix, sc.Parity), nil } return []byte{}, nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
.mailmap
Anand Babu (AB) Periasamy <******@****.***> <******@****.***> Anis Elleuch <******@****.***> Frederick F. Kautz IV <******@****.***> <******@****.***> Harshavardhana <harsha@min.io> <harsha@harshavardhana.net> Harshavardhana <harsha@min.io> <******@****.***> Harshavardhana <harsha@min.io> Krishna Srinivas <******@****.***> <******@****.***> Matthew Farrellee <******@****.***>
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 09 18:39:42 UTC 2019 - 835 bytes - Viewed (0) -
docs/es/llm-prompt.md
* cookie (as in HTTP cookie): cookie * header (as in HTTP header): header * form (as in HTML form): formulario * type checks: chequeo de tipos * parse: parse * parsing: parsing * marshall: marshall * library: paquete (do not translate to "biblioteca" or "librería") * instance: instance (do not translate to "instancia") * scratch the surface: tocar los conceptos básicos * string: string * bug: bug
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 5.4K bytes - Viewed (0) -
internal/bucket/replication/datatypes_gen.go
func (z StatusType) EncodeMsg(en *msgp.Writer) (err error) { err = en.WriteString(string(z)) if err != nil { err = msgp.WrapError(err) return } return } // MarshalMsg implements msgp.Marshaler func (z StatusType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendString(o, string(z)) return } // UnmarshalMsg implements msgp.Unmarshaler
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.4K bytes - Viewed (0) -
cmd/metrics-v2_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package cmd import ( "github.com/tinylib/msgp/msgp" ) // MarshalMsg implements msgp.Marshaler func (z *MetricDescription) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 5 // string "Namespace" o = append(o, 0x85, 0xa9, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65) o = msgp.AppendString(o, string(z.Namespace))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 19K bytes - Viewed (0) -
cmd/object-api-interface_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package cmd import ( "github.com/tinylib/msgp/msgp" ) // MarshalMsg implements msgp.Marshaler func (z BucketOptions) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 3 // string "Deleted" o = append(o, 0x83, 0xa7, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64) o = msgp.AppendBool(o, z.Deleted) // string "Cached"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.7K bytes - Viewed (0) -
internal/config/identity/openid/jwks_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 9.8K bytes - Viewed (0)