- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 88 for marshalers (0.2 sec)
-
cmd/tier-last-day-stats_gen.go
return } err = en.WriteTime(zb0008.UpdatedAt) if err != nil { err = msgp.WrapError(err, zb0007, "UpdatedAt") return } } return } // MarshalMsg implements msgp.Marshaler func (z DailyAllTierStats) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendMapHeader(o, uint32(len(z))) for zb0007, zb0008 := range z { o = msgp.AppendString(o, zb0007)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/marshal.go
"k8s.io/kubernetes/cmd/kubeadm/app/constants" ) // MarshalToYaml marshals an object into yaml. func MarshalToYaml(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) { return MarshalToYamlForCodecs(obj, gv, clientsetscheme.Codecs) } // MarshalToYamlForCodecs marshals an object into yaml using the specified codec // TODO: Is specifying the gv really needed here?
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
func (z BitrotAlgorithm) EncodeMsg(en *msgp.Writer) (err error) { err = en.WriteUint(uint(z)) if err != nil { err = msgp.WrapError(err) return } return } // MarshalMsg implements msgp.Marshaler func (z BitrotAlgorithm) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendUint(o, uint(z)) return } // UnmarshalMsg implements msgp.Unmarshaler
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 40.2K bytes - Viewed (0) -
internal/grid/types.go
if *u != nil { for key := range *u { delete(*u, key) } val := map[string][]string(*u) urlValuesPool.Put(val) *u = nil } } // MarshalMsg implements msgp.Marshaler func (u URLValues) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, u.Msgsize()) o = msgp.AppendMapHeader(o, uint32(len(u))) for zb0006, zb0007 := range u { o = msgp.AppendString(o, zb0006)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 01 23:42:09 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
return } err = en.WriteInt(za0002.NumObjects) if err != nil { err = msgp.WrapError(err, "Tiers", za0001, "NumObjects") return } } return } // MarshalMsg implements msgp.Marshaler func (z *allTierStats) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 1 // string "ts" o = append(o, 0x81, 0xa2, 0x74, 0x73)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 100.8K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
ErrorString string } // parseErrorToString converts the error from parsing the file into a string // representation. A nil error is converted to an empty string, and all other // errors are converted to a JSON-marshaled parseError struct, with ErrorList // set for errors of type scanner.ErrorList, and ErrorString set to the error's // string representation for all other errors. func parseErrorToString(err error) string { if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time.go
return nil } pt, err := time.Parse(RFC3339Micro, str) if err != nil { return err } t.Time = pt.Local() return nil } // MarshalJSON implements the json.Marshaler interface. func (t MicroTime) MarshalJSON() ([]byte, error) { if t.IsZero() { // Encode unset/nil objects as JSON's "null". return []byte("null"), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/kube/apimirror/probe.go
if value[0] == '"' { intstr.Type = String return json.Unmarshal(value, &intstr.StrVal) } intstr.Type = Int return json.Unmarshal(value, &intstr.IntVal) } // MarshalJSON implements the json.Marshaller interface. func (intstr IntOrString) MarshalJSON() ([]byte, error) { switch intstr.Type { case Int: return json.Marshal(intstr.IntVal) case String: return json.Marshal(intstr.StrVal) default:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
return nil } pt, err := time.Parse(time.RFC3339, str) if err != nil { return err } t.Time = pt.Local() return nil } // MarshalJSON implements the json.Marshaler interface. func (t Time) MarshalJSON() ([]byte, error) { if t.IsZero() { // Encode unset/nil objects as JSON's "null". return []byte("null"), nil } buf := make([]byte, 0, len(time.RFC3339)+2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 5.2K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client.go
// Istio store interface, we need to take dynamic inputs. Using the dynamic informers results in poor // performance, as the cache will store unstructured objects which need to be marshaled on each Get/List call. // Using istio/client-go directly will cache objects marshaled, allowing us to have cheap Get/List calls, // at the expense of some code gen. package crdclient import ( "fmt" "sync" "time"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0)