- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 224 for marshall (0.12 sec)
-
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) -
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) -
docs/debugging/inspect/export.go
} for _, file := range zr.File { if !file.FileInfo().IsDir() && strings.HasSuffix(file.Name, "xl.meta") { r, e := file.Open() if e != nil { return e } // Quote string... b, _ := json.Marshal(file.Name) if hasWritten { fmt.Print(",\n") } fmt.Printf("\t%s: ", string(b)) b, e = decode(r, file.Name) if e != nil { return e } fmt.Print(string(b))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 08 15:58:02 UTC 2022 - 9.1K bytes - Viewed (0) -
internal/event/target/mysql.go
} key := eventData.S3.Bucket.Name + "/" + objectName if eventData.EventName == event.ObjectRemovedDelete { _, err = target.deleteStmt.Exec(key) } else { var data []byte if data, err = json.Marshal(struct{ Records []event.Event }{[]event.Event{eventData}}); err != nil { return err } _, err = target.updateStmt.Exec(key, data) } return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 11.6K bytes - Viewed (0) -
internal/dsync/lock-args_gen.go
return } } else { err = en.WriteInt(*z.Quorum) if err != nil { err = msgp.WrapError(err, "Quorum") return } } return } // MarshalMsg implements msgp.Marshaler func (z *LockArgs) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 5 // string "UID" o = append(o, 0x85, 0xa3, 0x55, 0x49, 0x44)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.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/config.go
if err != nil { return err } } return saveConfig(ctx, objAPI, historyFile, kv) } func saveServerConfig(ctx context.Context, objAPI ObjectLayer, cfg interface{}) error { data, err := json.Marshal(cfg) if err != nil { return err } configFile := path.Join(minioConfigPrefix, minioConfigFile) if GlobalKMS != nil { data, err = config.EncryptBytes(GlobalKMS, data, kms.Context{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 23 10:07:06 UTC 2023 - 6K bytes - Viewed (0) -
internal/config/policy/opa/config.go
func (o *Opa) IsAllowed(args policy.Args) (bool, error) { if o == nil { return false, nil } // OPA input body := make(map[string]interface{}) body["input"] = args inputBytes, err := json.Marshal(body) if err != nil { return false, err } req, err := http.NewRequest(http.MethodPost, o.args.URL.String(), bytes.NewReader(inputBytes)) if err != nil { return false, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/bucket-listobjects-handlers.go
return } listObjectVersions := objectAPI.ListObjectVersions // Initiate a list object versions operation based on the input params. // On success would return back ListObjectsInfo object to be // marshaled into S3 compatible XML header. listObjectVersionsInfo, err := listObjectVersions(ctx, bucket, prefix, marker, versionIDMarker, delimiter, maxkeys) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 11.4K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
if filter.Verify(workload) { filteredWorkloads = append(filteredWorkloads, workload) } } out, err := json.MarshalIndent(filteredWorkloads, "", " ") if err != nil { return fmt.Errorf("failed to marshal workloads: %v", err) } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err } } fmt.Fprintln(c.Stdout, string(out)) return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 24 09:07:30 UTC 2024 - 4.2K bytes - Viewed (0)