- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 63 for marshalling (0.09 sec)
-
internal/config/api/api.go
SyncEvents bool `json:"sync_events"` ObjectMaxVersions int64 `json:"object_max_versions"` } // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON. func (sCfg *Config) UnmarshalJSON(data []byte) error { type Alias Config aux := &struct { *Alias }{ Alias: (*Alias)(sCfg), } return json.Unmarshal(data, &aux) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
RRS StorageClass `json:"rrs"` Optimize string `json:"optimize"` inlineBlock int64 initialized bool } // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON. func (sCfg *Config) UnmarshalJSON(data []byte) error { type Alias Config aux := &struct { *Alias }{ Alias: (*Alias)(sCfg), } return json.Unmarshal(data, &aux) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 12:24:04 UTC 2024 - 12.3K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
if len(newKeys) == 0 { *x = nil return true } // Reserialize... x.serialize(plSize, newKeys, newVals) return true } // xlMetaV2TrimData will trim any data from the metadata without unmarshalling it. // If any error occurs the unmodified data is returned. func xlMetaV2TrimData(buf []byte) []byte { metaBuf, min, maj, err := checkXL2V1(buf) if err != nil { return buf } if maj == 1 && min < 1 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
ExcludeNamespaces []string `json:"exclude_namespaces"` } // K8sArgs is the valid CNI_ARGS used for Kubernetes // The field names need to match exact keys in containerd args for unmarshalling // https://github.com/containerd/containerd/blob/ced9b18c231a28990617bc0a4b8ce2e81ee2ffa1/pkg/cri/server/sandbox_run.go#L526-L532 type K8sArgs struct { types.CommonArgs
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 10.5K bytes - Viewed (0) -
doc/godebug.md
certificate policy OIDs with components larger than 31 bits. By default this field is only used during parsing, when it is populated with policy OIDs, but not used during marshaling. It can be used to marshal these larger OIDs, instead of the existing PolicyIdentifiers field, by using the [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate). ### Go 1.21
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 28 14:46:33 UTC 2024 - 17.2K bytes - Viewed (0) -
cmd/batch-handlers.go
lookup = miniogo.BucketLookupAuto } return lookup } // BatchJobPrefix - to support prefix field yaml unmarshalling with string or slice of strings type BatchJobPrefix []string var _ yaml.Unmarshaler = &BatchJobPrefix{} // UnmarshalYAML - to support prefix field yaml unmarshalling with string or slice of strings func (b *BatchJobPrefix) UnmarshalYAML(value *yaml.Node) error { // try slice first
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
internal/s3select/sql/value.go
// used. type Value struct { value interface{} } // Missing is used to indicate a non-existing value. type Missing struct{} // MarshalJSON provides json marshaling of values. func (v Value) MarshalJSON() ([]byte, error) { if b, ok := v.ToBytes(); ok { return b, nil } return json.Marshal(v.value) } // GetTypeString returns a string representation for vType
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
src/bytes/buffer.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bytes // Simple byte buffer for marshaling data. import ( "errors" "io" "unicode/utf8" ) // smallBufferSize is an initial allocation minimal capacity. const smallBufferSize = 64
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
cmd/api-response.go
// Owner of the object. Owner Owner IsLatest bool VersionID string `xml:"VersionId"` } // Metadata metadata items implemented to ensure XML marshaling works. type Metadata struct { Items []struct { Key string Value string } } // Set add items, duplicate items get replaced. func (s *Metadata) Set(k, v string) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/server_test.go
// The reason to duplicate this structure here is to verify if the // unmarshalling works from a client perspective, specifically // while unmarshalling time.Time type for 'Initiated' field. // time.Time does not honor xml marshaller, it means that we need // to encode/format it before giving it to xml marshaling. // This below check adds client side verification to see if its // truly parsable.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)