Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 345 for unmarshaler (1.47 sec)

  1. staging/src/k8s.io/api/rbac/v1beta1/generated.pb.go

    func (*AggregationRule) ProtoMessage() {}
    func (*AggregationRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c5bc2d145acd4e45, []int{0}
    }
    func (m *AggregationRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *AggregationRule) 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
    - 77.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/rbac/v1alpha1/generated.pb.go

    func (*AggregationRule) ProtoMessage() {}
    func (*AggregationRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_758889dfd9a88fa6, []int{0}
    }
    func (m *AggregationRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *AggregationRule) 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
    - 77.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/storage/v1alpha1/generated.pb.go

    func (*CSIStorageCapacity) ProtoMessage() {}
    func (*CSIStorageCapacity) Descriptor() ([]byte, []int) {
    	return fileDescriptor_02e7952e43280c27, []int{0}
    }
    func (m *CSIStorageCapacity) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *CSIStorageCapacity) 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
    - 76.5K bytes
    - Viewed (0)
  4. operator/pkg/metrics/monitoring.go

    	// OverlayError overlaying YAMLs to combine profile, user
    	// defined settings in CR, Hub-tag etc. fails.
    	OverlayError MergeErrorType = "overlay"
    
    	// IOPFormatError occurs when supplied CR cannot be marshaled
    	// or unmarshaled to/from YAML.
    	IOPFormatError MergeErrorType = "iop_format"
    
    	// TranslateValuesError occurs when translating from legacy API fails.
    	TranslateValuesError MergeErrorType = "translate_values"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/flowcontrol/v1beta2/generated.pb.go

    func (*ExemptPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
    	return fileDescriptor_2e620af2eea53237, []int{0}
    }
    func (m *ExemptPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ExemptPriorityLevelConfiguration) 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
    - 142K bytes
    - Viewed (0)
  6. src/encoding/json/stream_test.go

    	}
    	want := Data{A: "a", I: 1}
    	if err := enc.Encode(want); err != nil {
    		t.Errorf("Marshal error: %v", err)
    	}
    
    	var got Data
    	if err := Unmarshal(buf.Bytes(), &got); err != nil {
    		t.Errorf("Unmarshal error: %v", err)
    	}
    	if got != want {
    		t.Errorf("Marshal/Unmarshal roundtrip:\n\tgot:  %v\n\twant: %v", got, want)
    	}
    }
    
    var streamEncodedIndent = `0.1
    "hello"
    null
    true
    false
    [
    >."a",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. pkg/api/testing/serialization_proto_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    		encoded[i] = data
    		validate := &v1.Pod{}
    		if err := proto.Unmarshal(data, validate); err != nil {
    			b.Fatalf("Failed to unmarshal %d: %v\n%#v", i, err, items[i])
    		}
    	}
    
    	for i := 0; i < b.N; i++ {
    		obj := v1.Pod{}
    		if err := proto.Unmarshal(encoded[i%width], &obj); err != nil {
    			b.Fatal(err)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/policy/v1beta1/generated.pb.go

    func (*Eviction) ProtoMessage() {}
    func (*Eviction) Descriptor() ([]byte, []int) {
    	return fileDescriptor_68b366237812cc96, []int{0}
    }
    func (m *Eviction) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *Eviction) 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
    - 45.2K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    	JSONArgs        json.ReaderArgs    `xml:"JSON"`
    	ParquetArgs     parquet.ReaderArgs `xml:"Parquet"`
    	unmarshaled     bool
    	format          string
    }
    
    // IsEmpty - returns whether input serialization is empty or not.
    func (input *InputSerialization) IsEmpty() bool {
    	return !input.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    						"kind":       "Pod",
    						"name":       "podb",
    						"apiVersion": "v1",
    						"uid":        "2",
    						// though these fields are of type *bool, but when
    						// decoded from JSON, they are unmarshalled as bool.
    						"controller":         true,
    						"blockOwnerDeletion": true,
    					},
    				},
    				"finalizers": []interface{}{
    					"finalizer.1",
    					"finalizer.2",
    				},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
Back to top