- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 291 for marshaled (0.49 sec)
-
src/crypto/tls/handshake_messages_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 15.7K bytes - Viewed (0) -
src/internal/fuzz/encoding_test.go
b := marshalCorpusFile(x1) t.Logf("marshaled math.Float64frombits(0x%x):\n%s", u1, b) xs, err := unmarshalCorpusFile(b) if err != nil { t.Fatal(err) } if len(xs) != 1 { t.Fatalf("unmarshaled %d values", len(xs)) } x2 := xs[0].(float64) u2 := math.Float64bits(x2) if u2 != u1 { t.Errorf("unmarshaled %v (bits 0x%x)", x2, u2) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:20:34 UTC 2024 - 8.2K bytes - Viewed (0) -
src/encoding/asn1/marshal.go
return t, nil } // Marshal returns the ASN.1 encoding of val. // // In addition to the struct tags recognized by Unmarshal, the following can be // used: // // ia5: causes strings to be marshaled as ASN.1, IA5String values // omitempty: causes empty slices to be skipped // printable: causes strings to be marshaled as ASN.1, PrintableString values
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 17.1K bytes - Viewed (0) -
src/math/big/floatmarsh.go
const floatGobVersion byte = 1 // GobEncode implements the [encoding/gob.GobEncoder] interface. // The [Float] value and all its attributes (precision, // rounding mode, accuracy) are marshaled. func (x *Float) GobEncode() ([]byte, error) { if x == nil { return nil, nil } // determine max. space (bytes) required for encoding sz := 1 + 1 + 4 // version + mode|acc|form|neg (3+2+2+1bit) + prec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_unix.go
kubeletconfig "k8s.io/kubelet/config/v1beta1" "k8s.io/utils/ptr" "k8s.io/kubernetes/cmd/kubeadm/app/util/initsystem" ) // Mutate allows applying pre-defined modifications to the config before it's marshaled. func (kc *kubeletConfig) Mutate() error { if err := mutateResolverConfig(&kc.config, isServiceActive); err != nil { return err } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/bucket-listobjects-handlers.go
return } listObjectVersions := objectAPI.ListObjectVersions // Initiate a list object versions operation based on the input params. // On success would return back ListObjectsInfo object to be // marshaled into S3 compatible XML header. listObjectVersionsInfo, err := listObjectVersions(ctx, bucket, prefix, marker, versionIDMarker, delimiter, maxkeys) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 11.4K bytes - Viewed (0) -
src/hash/crc32/crc32_test.go
ieee.Write([]byte("hello")) } type test struct { ieee, castagnoli uint32 in string halfStateIEEE string // IEEE marshaled hash state after first half of in written, used by TestGoldenMarshal halfStateCastagnoli string // Castagnoli marshaled hash state after first half of in written, used by TestGoldenMarshal } var golden = []test{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
} s, err := json.Marshal(p) if err != nil { panic(err) // This should be impossible because scanner.Error contains only strings and ints. } return string(s) } // parseErrorFromString converts a string produced by parseErrorToString back // to an error. An empty string is converted to a nil error, and all // other strings are expected to be JSON-marshaled parseError structs.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/encoding/json/encode_test.go
s := renamedByteSlice("abc") got, err := Marshal(s) if err != nil { t.Fatalf("Marshal error: %v", err) } want := `"YWJj"` if string(got) != want { t.Errorf("Marshal:\n\tgot: %s\n\twant: %s", got, want) } r := renamedRenamedByteSlice("abc") got, err = Marshal(r) if err != nil { t.Fatalf("Marshal error: %v", err) } if string(got) != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
pilot/pkg/xds/xdsgen.go
util.ByteCount(ResourceSize(res)), info, debug) } return nil } func ResourceSize(r model.Resources) int { // Approximate size by looking at the Any marshaled size. This avoids high cost // proto.Size, at the expense of slightly under counting. size := 0 for _, r := range r { size += len(r.Resource.Value) } return size
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 6.3K bytes - Viewed (0)