- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 238 for unmarshalV1 (0.17 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 20.3K bytes - Viewed (0) -
pkg/wasm/convert_test.go
} for i, output := range resources { ec := &core.TypedExtensionConfig{} if err := output.UnmarshalTo(ec); err != nil { t.Errorf("wasm config conversion output %v failed to unmarshal", output) continue } if !proto.Equal(ec, c.wantOutput[i]) { t.Errorf("wasm config conversion output index %d got %v want %v", i, ec, c.wantOutput[i])
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.6K bytes - Viewed (0) -
internal/s3select/select.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 21K bytes - Viewed (0) -
pkg/kubelet/container/container_hash_test.go
"requests": { "foo": "500M" } } } ` sampleV131HashValue = uint64(0x8e45cbd0) ) func TestConsistentHashContainer(t *testing.T) { container := &v1.Container{} if err := json.Unmarshal([]byte(sampleContainer), container); err != nil { t.Error(err) } currentHash := HashContainer(container) if currentHash != sampleV131HashValue { t.Errorf("mismatched hash value with v1.31") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/kube/apimirror/probe.go
// UnmarshalJSON implements the json.Unmarshaller interface. func (intstr *IntOrString) UnmarshalJSON(value []byte) error { 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 {
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/runtime/serializer/cbor/cbor_test.go
// runtime.Serializer. The specific behavior of marshaling Go values to CBOR bytes and back is // tested in the ./internal/modes package, which is used both by the Serializer implementation and // the package-scoped Marshal/Unmarshal functions in the ./direct package. package cbor import ( "bytes" "encoding/hex" "errors" "io" "reflect" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
} return decodeVersions(buf, versions, func(i int, hdr, meta []byte) error { ver := &x.versions[i] _, err = ver.header.unmarshalV(headerV, hdr) if err != nil { return err } ver.meta = meta // Fix inconsistent x-minio-internal-replication-timestamp by loading and reindexing. if metaV < 2 && ver.header.Type == DeleteType {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go
listKey: - k1: v1 - k2: null - v3 `) func TestKeepOrDeleteNullInObj(t *testing.T) { tc := FilterNullTestCases{} err := yaml.Unmarshal(filterNullTestCaseData, &tc) if err != nil { t.Fatalf("can't unmarshal test cases: %s\n", err) } for _, test := range tc.TestCases { resultWithNull, err := keepOrDeleteNullInObj(test.OriginalObj, true) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 14.8K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) { var dexp DelMarkerExpiration var fail bool err := xml.Unmarshal([]byte(test.xml), &dexp) if test.err == nil { if err != nil { fail = true } } else { if err == nil { fail = true } if test.err.Error() != err.Error() { fail = true
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/go/internal/test/flagdefs.go
"stdmethods": true, "stdversion": true, "stringintconv": true, "structtag": true, "testinggoroutine": true, "tests": true, "timeformat": true, "unmarshal": true, "unreachable": true, "unsafeptr": true, "unusedresult": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 2.2K bytes - Viewed (0)