Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 268 for marshaling (0.17 sec)

  1. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	"strconv"
    	"strings"
    
    	cbor "k8s.io/apimachinery/pkg/runtime/serializer/cbor/direct"
    
    	inf "gopkg.in/inf.v0"
    )
    
    // Quantity is a fixed-point representation of a number.
    // It provides convenient marshaling/unmarshaling in JSON and YAML,
    // in addition to String() and AsInt64() accessors.
    //
    // The serialization format is:
    //
    // ```
    // <quantity>        ::= <signedNumber><suffix>
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder.go

    		if cachedCluster == nil {
    			allFound = false
    		}
    		res = append(res, cachedCluster)
    	}
    	return res, allFound
    }
    
    // build does any final build operations needed, like marshaling etc.
    func (mc *clusterWrapper) build() *cluster.Cluster {
    	if mc == nil {
    		return nil
    	}
    	// Marshall Http Protocol options if they exist.
    	if mc.httpProtocolOptions != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. src/encoding/xml/marshal_test.go

    	empty        = ""
    )
    
    // Unless explicitly stated as such (or *Plain), all of the
    // tests below are two-way tests. When introducing new tests,
    // please try to make them two-way as well to ensure that
    // marshaling and unmarshaling are as symmetrical as feasible.
    var marshalTests = []struct {
    	Value          any
    	ExpectXML      string
    	MarshalOnly    bool
    	MarshalError   string
    	UnmarshalOnly  bool
    	UnmarshalError string
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  5. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // request. Valid values are:
      // - All: all dry run stages will be processed
      // +optional
      repeated string dryRun = 5;
    }
    
    // Duration is a wrapper around time.Duration which supports correct
    // marshaling to YAML and JSON. In particular, it marshals into strings, which
    // can be used as map keys in json.
    message Duration {
      optional int64 duration = 1;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // - All: all dry run stages will be processed
      // +optional
      // +listType=atomic
      repeated string dryRun = 5;
    }
    
    // Duration is a wrapper around time.Duration which supports correct
    // marshaling to YAML and JSON. In particular, it marshals into strings, which
    // can be used as map keys in json.
    message Duration {
      optional int64 duration = 1;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  7. pilot/cmd/pilot-agent/status/server.go

    		w.WriteHeader(http.StatusNotFound)
    		_, _ = w.Write([]byte(`{}`))
    		return
    	}
    	writeJSONProto(w, nametable)
    }
    
    // writeJSONProto writes a protobuf to a json payload, handling content type, marshaling, and errors
    func writeJSONProto(w http.ResponseWriter, obj proto.Message) {
    	w.Header().Set("Content-Type", "application/json")
    	b, err := protomarshal.Marshal(obj)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  8. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. src/crypto/x509/x509.go

    	KeyUsage            KeyUsage
    
    	// Extensions contains raw X.509 extensions. When parsing certificates,
    	// this can be used to extract non-critical extensions that are not
    	// parsed by this package. When marshaling certificates, the Extensions
    	// field is ignored, see ExtraExtensions.
    	Extensions []pkix.Extension
    
    	// ExtraExtensions contains extensions to be copied, raw, into any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    				t.Fatalf("%d: Expected %v during validation but got %v", i+1, tc.expectedValidationErr, err)
    			}
    		})
    	}
    }
    
    // TestMarshalLifecycleConfig checks if lifecycleconfig xml
    // marshaling/unmarshaling can handle output from each other
    func TestMarshalLifecycleConfig(t *testing.T) {
    	// Time at midnight UTC
    	midnightTS := ExpirationDate{time.Date(2019, time.April, 20, 0, 0, 0, 0, time.UTC)}
    	lc := Lifecycle{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top