- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 250 for marshal (0.05 sec)
-
internal/bucket/lifecycle/delmarker-expiration_test.go
err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) { var dexp DelMarkerExpiration var fail bool err := xml.Unmarshal([]byte(test.xml), &dexp) if test.err == nil { if err != nil { fail = true } } else { if err == nil { fail = true } if test.err.Error() != err.Error() { fail = true
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/local-locker_gen.go
for zb0008 := range zb0007 { err = zb0007[zb0008].EncodeMsg(en) if err != nil { err = msgp.WrapError(err, zb0006, zb0008) return } } } return } // MarshalMsg implements msgp.Marshaler func (z localLockMap) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendMapHeader(o, uint32(len(z))) for zb0006, zb0007 := range z { o = msgp.AppendString(o, zb0006)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 13.9K bytes - Viewed (0) -
cmd/batch-replicate_test.go
# # retry: # attempts: 10 # number of retries for the job before giving up # delay: "500ms" # least amount of delay between each retry ` var job BatchJobRequest err := yaml.Unmarshal([]byte(replicateYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-replicate yaml", err) } if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
internal/grid/grid_types_msgp_test.go
if err != nil { return } err = en.WriteString(z.String) if err != nil { err = msgp.WrapError(err, "String") return } return } // MarshalMsg implements msgp.Marshaler func (z testRequest) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 2 // string "Num" o = append(o, 0x82, 0xa3, 0x4e, 0x75, 0x6d) o = msgp.AppendInt(o, z.Num)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 8.1K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen.go
func (z BucketBandwidthReport) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 0 _ = z err = en.Append(0x80) if err != nil { return } return } // MarshalMsg implements msgp.Marshaler func (z BucketBandwidthReport) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 0 _ = z o = append(o, 0x80) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 5.4K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
data, err := io.ReadAll(file) if err != nil { return nil, err } envoyConfig := &configdump.Wrapper{} if err := envoyConfig.UnmarshalJSON(data); err != nil { return nil, fmt.Errorf("failed to unmarshal proxy config: %s", err) } return envoyConfig, nil } func getConfigDumpFromPod(kubeClient kube.CLIClient, podName, podNamespace string) (*configdump.Wrapper, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/location.js
","kenya","kiribati","north korea","south korea","kuwait","kyrgyzstan","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macao","macedonia","madagascar","malawi","malaysia","maldives","mali","malta","marshall islands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","new caledonia","new zealand","nicara...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 5.2K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
if err != nil { return } err = en.WriteInt64(z.BytesFailed) if err != nil { err = msgp.WrapError(err, "BytesFailed") return } return } // MarshalMsg implements msgp.Marshaler func (z *PoolDecommissionInfo) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 16 // string "st" o = append(o, 0xde, 0x0, 0x10, 0xa2, 0x73, 0x74)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 04 21:02:54 UTC 2022 - 26.7K bytes - Viewed (0) -
cmd/batch-handlers_test.go
args: args{ yamlStr: ` prefix: - "foo" - "bar" `, }, want: []string{"foo", "bar"}, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if err := yaml.Unmarshal([]byte(tt.args.yamlStr), &tt.b); (err != nil) != tt.wantErr { t.Errorf("UnmarshalYAML() error = %v, wantErr %v", err, tt.wantErr) } if !slices.Equal(tt.b.Prefix.F(), tt.want) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/batch-expire_test.go
retry: attempts: 10 # number of retries for the job before giving up delay: 500ms # least amount of delay between each retry ` var job BatchJobRequest err := yaml.Unmarshal([]byte(expireYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-expire yaml", err) } if !slices.Equal(job.Expire.Prefix.F(), []string{"myprefix"}) { t.Fatal("Failed to parse batch-job-expire yaml") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 5.5K bytes - Viewed (0)