- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 177 for unmarshaler (0.51 sec)
-
istioctl/pkg/writer/envoy/configdump/endpoint.go
}) return endpoints, nil } func retrieveEndpoint(epConfig *anypb.Any, filter EndpointFilter) (*endpoint.ClusterLoadAssignment, int) { cla := &endpoint.ClusterLoadAssignment{} if err := epConfig.UnmarshalTo(cla); err != nil { return nil, 0 } filteredCount := 0 for _, llb := range cla.Endpoints { filtered := make([]*endpoint.LbEndpoint, 0, len(llb.LbEndpoints)) for _, ep := range llb.LbEndpoints {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 5.6K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver.go
} var oldJWKs map[string]any var newJWKs map[string]any if err := json.Unmarshal([]byte(newKeyString), &newJWKs); err != nil { // If the new key is not parseable as JSON return an error since we will not want to use this key log.Warnf("New JWKs public key JSON is not parseable: %s", newKeyString) return false, err } if err := json.Unmarshal([]byte(oldKeyString), &oldJWKs); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 20.3K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} // Tests the correctness of constructing XLMetaV1 using jsoniter lib. // The result will be compared with the result obtained from json.unMarshal of the byte data. func TestGetXLMetaV1Jsoniter1(t *testing.T) { xlMetaJSON := getXLMetaBytes(1) var unMarshalXLMeta xlMetaV1Object if err := json.Unmarshal(xlMetaJSON, &unMarshalXLMeta); err != nil { t.Errorf("Unmarshalling failed: %v", err) } var jsoniterXLMeta xlMetaV1Object
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
src/crypto/md5/md5.go
return b[4:], byteorder.BeUint32(b[0:4]) } // New returns a new hash.Hash computing the MD5 checksum. The Hash also // implements [encoding.BinaryMarshaler] and [encoding.BinaryUnmarshaler] to // marshal and unmarshal the internal state of the hash. func New() hash.Hash { d := new(digest) d.Reset() return d } func (d *digest) Size() int { return Size } func (d *digest) BlockSize() int { return BlockSize }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.3K bytes - Viewed (0) -
internal/config/crypto.go
metadata encryptedObject ) if _, err := io.ReadFull(ciphertext, metadataBuffer); err != nil { return nil, err } json := jsoniter.ConfigCompatibleWithStandardLibrary if err := json.Unmarshal(metadataBuffer, &metadata); err != nil { return nil, err } if fips.Enabled && metadata.Algorithm != sio.AES_256_GCM {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 5K 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) -
cmd/kubeadm/app/componentconfigs/fakeconfig_test.go
return result } func (cc *clusterConfig) Marshal() ([]byte, error) { return cc.configBase.Marshal(&cc.config) } func (cc *clusterConfig) Unmarshal(docmap kubeadmapi.DocumentMap) error { return cc.configBase.Unmarshal(docmap, &cc.config) } func (cc *clusterConfig) Get() interface{} { return &cc.config } func (cc *clusterConfig) Set(cfg interface{}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 04 15:36:00 UTC 2024 - 16.3K bytes - Viewed (0) -
src/hash/crc64/crc64.go
// polynomial represented by the [Table]. Its Sum method will lay the // value out in big-endian byte order. The returned Hash64 also // implements [encoding.BinaryMarshaler] and [encoding.BinaryUnmarshaler] to // marshal and unmarshal the internal state of the hash. func New(tab *Table) hash.Hash64 { return &digest{0, tab} } func (d *digest) Size() int { return Size } func (d *digest) BlockSize() int { return 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 22:36:41 UTC 2024 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
if test.into == nil { var i interface{} dst = reflect.ValueOf(&i) } else { dst = reflect.New(reflect.TypeOf(test.into)) } err := decMode.Unmarshal(test.in, dst.Interface()) test.assertOnError(t, err) if err == nil { if diff := cmp.Diff(test.want, dst.Elem().Interface()); diff != "" { t.Errorf("unexpected output:\n%s", diff) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0) -
src/cmd/vendor/modules.txt
golang.org/x/tools/go/analysis/passes/structtag golang.org/x/tools/go/analysis/passes/testinggoroutine golang.org/x/tools/go/analysis/passes/tests golang.org/x/tools/go/analysis/passes/timeformat golang.org/x/tools/go/analysis/passes/unmarshal golang.org/x/tools/go/analysis/passes/unreachable golang.org/x/tools/go/analysis/passes/unsafeptr golang.org/x/tools/go/analysis/passes/unusedresult golang.org/x/tools/go/analysis/unitchecker
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 4.8K bytes - Viewed (0)