- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for unmarshaler (0.19 sec)
-
cmd/object-api-datatypes_gen.go
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 func (z *BackendType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 int
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/xl-storage-format-v2_gen.go
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 func (z *ChecksumAlgo) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 uint8
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 53.8K bytes - Viewed (0) -
src/time/time.go
b, err := t.appendStrictRFC3339(b) b = append(b, '"') if err != nil { return nil, errors.New("Time.MarshalJSON: " + err.Error()) } return b, nil } // UnmarshalJSON implements the [json.Unmarshaler] interface. // The time must be a quoted string in the RFC 3339 format. func (t *Time) UnmarshalJSON(data []byte) error { if string(data) == "null" { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/net/netip/netip_test.go
} } // Cannot unmarshal from unexpected lengths. for _, n := range []int{3, 6} { var prefix2 Prefix if err := prefix2.UnmarshalBinary(bytes.Repeat([]byte{1}, n)); err == nil { t.Fatalf("unmarshaled from unexpected length %d", n) } } } func TestAddrMarshalUnmarshal(t *testing.T) { // This only tests the cases where Marshal/Unmarshal diverges from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/time/time_test.go
t.Errorf("%v JSON = %#q, want %#q", tt.time, string(jsonBytes), tt.json) } else if err = json.Unmarshal(jsonBytes, &jsonTime); err != nil { t.Errorf("%v json.Unmarshal error = %v, want nil", tt.time, err) } else if !equalTimeAndZone(jsonTime, tt.time) { t.Errorf("Unmarshaled time = %v, want %v", jsonTime, tt.time) } } } func TestUnmarshalInvalidTimes(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/crypto/tls/conn.go
default: return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) } // The handshake message unmarshalers // expect to be able to keep references to data, // so pass in a fresh copy that won't be overwritten. data = append([]byte(nil), data...) if !m.unmarshal(data) { return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) } if transcript != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
ts := filterChain.GetTransportSocket().GetTypedConfig() if ts == nil { return fmt.Errorf("expected transport socket for chain %v", filterChain.GetName()) } if err := ts.UnmarshalTo(tlsContext); err != nil { return err } commonTLSContext := tlsContext.CommonTlsContext if len(commonTLSContext.TlsCertificateSdsSecretConfigs) == 0 { return fmt.Errorf("expected tls certificates")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
return err } merged, err := jsonpatch.MergePatch(jsonSchema, patchJSON) if err != nil { return err } var parsed apiextensionsv1.JSONSchemaProps if err := json.Unmarshal(merged, &parsed); err != nil { return err } return updateMyCRDV1Beta1Schema{ newSchema: &parsed, }.Do(ctx) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
return oldestService } func getFilterConfig(filter *listener.Filter, out proto.Message) error { switch c := filter.ConfigType.(type) { case *listener.Filter_TypedConfig: if err := c.TypedConfig.UnmarshalTo(out); err != nil { return err } } return nil } func buildOutboundListeners(t *testing.T, proxy *model.Proxy, sidecarConfig *config.Config,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0)