Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 804 for unmarshalV1 (0.45 sec)

  1. staging/src/k8s.io/api/apps/v1/generated.pb.go

    func (*ControllerRevision) ProtoMessage() {}
    func (*ControllerRevision) Descriptor() ([]byte, []int) {
    	return fileDescriptor_5b781835628d5338, []int{0}
    }
    func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1beta2/generated.pb.go

    func (*ControllerRevision) ProtoMessage() {}
    func (*ControllerRevision) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c423c016abf485d4, []int{0}
    }
    func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. src/crypto/x509/pkcs1.go

    	var priv pkcs1PrivateKey
    	rest, err := asn1.Unmarshal(der, &priv)
    	if len(rest) > 0 {
    		return nil, asn1.SyntaxError{Msg: "trailing data"}
    	}
    	if err != nil {
    		if _, err := asn1.Unmarshal(der, &ecPrivateKey{}); err == nil {
    			return nil, errors.New("x509: failed to parse private key (use ParseECPrivateKey instead for this key format)")
    		}
    		if _, err := asn1.Unmarshal(der, &pkcs8{}); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/group_version.go

    	if strings.Count(s, "/") > 1 {
    		return []byte{}, fmt.Errorf("illegal GroupVersion %v: contains more than one /", s)
    	}
    	return json.Marshal(s)
    }
    
    func (gv *GroupVersion) unmarshal(value []byte) error {
    	var s string
    	if err := json.Unmarshal(value, &s); err != nil {
    		return err
    	}
    	parsed, err := schema.ParseGroupVersion(s)
    	if err != nil {
    		return err
    	}
    	gv.Group, gv.Version = parsed.Group, parsed.Version
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 04 09:55:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go

    func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) {
    	return fileDescriptor_1076ab1fac987148, []int{0}
    }
    func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ContainerResourceMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 163K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/networking/v1alpha1/generated.pb.go

    func (*IPAddress) ProtoMessage() {}
    func (*IPAddress) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c1cb39e7b48ce50d, []int{0}
    }
    func (m *IPAddress) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *IPAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v1/generated.pb.go

    func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) {
    	return fileDescriptor_1972394c0c7aac8b, []int{0}
    }
    func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ContainerResourceMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 153K bytes
    - Viewed (0)
  8. tools/bug-report/pkg/filter/filter_test.go

    		Annotations: make(map[string]map[string]string),
    	}
    )
    
    func init() {
    	if err := yaml.Unmarshal([]byte(testClusterResourcesTree), &testClusterResources.Root); err != nil {
    		panic(err)
    	}
    	if err := yaml.Unmarshal([]byte(testClusterResourcesLabels), &testClusterResources.Labels); err != nil {
    		panic(err)
    	}
    	if err := yaml.Unmarshal([]byte(testClusterResourcesAnnotations), &testClusterResources.Annotations); err != nil {
    		panic(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

    func (*ControllerRevision) ProtoMessage() {}
    func (*ControllerRevision) Descriptor() ([]byte, []int) {
    	return fileDescriptor_2747f709ac7c95e7, []int{0}
    }
    func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  10. src/encoding/asn1/marshal_test.go

    	}
    
    	expectedOrder := []string{"a", "b", "c", "aa", "bb", "cc"}
    	var resultStruct struct {
    		Strings []string `asn1:"set"`
    	}
    	rest, err := Unmarshal(output, &resultStruct)
    	if err != nil {
    		t.Errorf("%v", err)
    	}
    	if len(rest) != 0 {
    		t.Error("Unmarshal returned extra garbage")
    	}
    	if !reflect.DeepEqual(expectedOrder, resultStruct.Strings) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 10K bytes
    - Viewed (0)
Back to top