- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 400 for marshaling (0.58 sec)
-
src/crypto/x509/pkix/pkix.go
// Names contains all parsed attributes. When parsing distinguished names, // this can be used to extract non-standard attributes that are not parsed // by this package. When marshaling to RDNSequences, the Names field is // ignored, see ExtraNames. Names []AttributeTypeAndValue // ExtraNames contains attributes to be copied, raw, into any marshaled
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/adsc/adsc.go
Message proto.Message } func (p jsonMarshalProtoWithName) MarshalJSON() ([]byte, error) { strSer, serr := protomarshal.ToJSONWithIndent(p.Message, " ") if serr != nil { adscLog.Warnf("Error for marshaling [%s]: %v", p.Name, serr) return []byte(""), serr } serialItem := []byte("{\"" + p.Name + "\":" + strSer + "}") return serialItem, nil } var adscLog = log.RegisterScope("adsc", "adsc debugging")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0) -
src/encoding/gob/decoder.go
buf, dec.err = saferio.ReadData(dec.r, uint64(nbytes)) dec.buf.SetBytes(buf) if dec.err == io.EOF { dec.err = io.ErrUnexpectedEOF } } // toInt turns an encoded uint64 into an int, according to the marshaling rules. func toInt(x uint64) int64 { i := int64(x >> 1) if x&1 != 0 { i = ^i } return i } func (dec *Decoder) nextInt() int64 { n, _, err := decodeUintReader(&dec.buf, dec.countBuf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 7.2K bytes - Viewed (0) -
pilot/pkg/xds/filters/filters.go
// EnvoyJwtFilterPayload is the struct field for the payload in dynamic metadata in Envoy JWT filter. EnvoyJwtFilterPayload = "payload" ) // Define static filters to be reused across the codebase. This avoids duplicate marshaling/unmarshaling // This should not be used for filters that will be mutated var ( RetryPreviousHosts = &route.RetryPolicy_RetryHostPredicate{ Name: "envoy.retry_host_predicates.previous_hosts",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 09 09:24:25 UTC 2024 - 15.5K bytes - Viewed (0) -
pkg/test/util/structpath/instance.go
) type Instance struct { structure any isJSON bool constraints []constraint creationError error } type constraint func() error // ForProto creates a structpath Instance by marshaling the proto to JSON and then evaluating over that // structure. This is the most generally useful form as serialization to JSON also automatically
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 9.4K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/cryptobyte/builder.go
type MarshalingValue interface { // Marshal is called by Builder.AddValue. It receives a pointer to a builder // to marshal itself into. It may return an error that occurred during // marshaling, such as unset or invalid values. Marshal(b *Builder) error } // AddValue calls Marshal on v, passing a pointer to the builder to append to. // If Marshal returns an error, it is set on the Builder so that subsequent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 9.9K bytes - Viewed (0) -
pkg/test/kube/dump.go
pods = podsOrFetch(c, pods, namespace) for _, pod := range pods { out, err := yaml.Marshal(&pod) if err != nil { scopes.Framework.Warnf("Error marshaling pod state for output: %v", err) continue } outPath := podOutputPath(workDir, c, pod, "pod-state.yaml") if err := os.WriteFile(outPath, out, os.ModePerm); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go
} if id, ok := identifiersMap.Load(result); ok { return id.(runtime.Identifier) } identifier, err := json.Marshal(result) if err != nil { klog.Fatalf("Failed marshaling identifier for codec: %v", err) } identifiersMap.Store(result, runtime.Identifier(identifier)) return runtime.Identifier(identifier) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 9.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
ir.ODEREF, ir.ODOTPTR, ir.ODOTTYPE, ir.ODYNAMICDOTTYPE, ir.ODIV, ir.OMOD, ir.OSLICE2ARR, ir.OSLICE2ARRPTR: // These ops might panic, make sure they are done // before we start marshaling args for a call. See issue 16760. return true case ir.OANDAND, ir.OOROR: n := n.(*ir.LogicalExpr) // The RHS expression may have init statements that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
tree[id] = m } m[name] = v } } func (tree JSONTree) Print() { data, err := json.MarshalIndent(tree, "", "\t") if err != nil { log.Panicf("internal error: JSON marshaling failed: %v", err) } fmt.Printf("%s\n", data)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0)