Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 189 for valid (0.06 sec)

  1. src/syscall/syscall_windows.go

    // are encoded using WTF-8.
    func UTF16FromString(s string) ([]uint16, error) {
    	if bytealg.IndexByteString(s, 0) != -1 {
    		return nil, EINVAL
    	}
    	// Valid UTF-8 characters between 1 and 3 bytes require one uint16.
    	// Valid UTF-8 characters of 4 bytes require two uint16.
    	// Bytes with invalid UTF-8 encoding require maximum one uint16 per byte.
    	// So the number of UTF-8 code units (len(s)) is always greater or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

      //
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 3;
    
      // `parameterNotFoundAction` controls the behavior of the binding when the resource
      // exists, and name or selector is valid, but there are no parameters
      // matched by the binding. If the value is set to `Allow`, then no
      // matched parameters will be treated as successful validation by the binding.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. src/fmt/fmt_test.go

    	// Runes that are not printable.
    	{"%q", "\U0010ffff", `"\U0010ffff"`},
    	{"%+q", "\U0010ffff", `"\U0010ffff"`},
    	{"%#q", "\U0010ffff", "`􏿿`"},
    	{"%#+q", "\U0010ffff", "`􏿿`"},
    	// Runes that are not valid.
    	{"%q", string(rune(0x110000)), `"�"`},
    	{"%+q", string(rune(0x110000)), `"\ufffd"`},
    	{"%#q", string(rune(0x110000)), "`�`"},
    	{"%#+q", string(rune(0x110000)), "`�`"},
    
    	// characters
    	{"%c", uint('x'), "x"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  4. src/time/format.go

    // a fractional second, printed to the given number of decimal places, with
    // trailing zeros removed.
    // For example "15:04:05,000" or "15:04:05.000" formats or parses with
    // millisecond precision.
    //
    // Some valid layouts are invalid time values for time.Parse, due to formats
    // such as _ for space padding and Z for zone information.
    const (
    	Layout      = "01/02 03:04:05PM '06 -0700" // The reference time, in numerical order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// newest ReplicaSet.
    	// +optional
    	CollisionCount *int32 `json:"collisionCount,omitempty" protobuf:"varint,8,opt,name=collisionCount"`
    }
    
    type DeploymentConditionType string
    
    // These are valid conditions of a deployment.
    const (
    	// Available means the deployment is available, ie. at least the minimum available
    	// replicas required are up and running for at least minReadySeconds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    			n:            27,
    			want:         26,
    			wantErr:      io.EOF,
    			wantBuffered: 0,
    		},
    		// Any error from filling shouldn't show up until we
    		// get past the valid bytes. Here we return 5 valid bytes at the same time
    		// as an error, but test that we don't see the error from Discard.
    		{
    			name: "fill error, discard less",
    			r: newScriptedReader(func(p []byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  7. src/encoding/xml/marshal_test.go

    		Err:   `xml: comments must not contain "--"`,
    	},
    	// Reject parent chain with attr, never worked; see golang.org/issue/5033.
    	{
    		Value: &AttrParent{},
    		Err:   `xml: X>Y chain not valid with attr flag`,
    	},
    	{
    		Value: BadAttr{map[string]string{"X": "Y"}},
    		Err:   `xml: unsupported type: map[string]string`,
    	},
    }
    
    var marshalIndentTests = []struct {
    	Value     any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  8. src/index/suffixarray/sais2.go

    	// 4-byte encoding will still be ≥ len(text).
    	// In particular, if the first byte is ASCII (<= 0x7E, so +1 <= 0x7F)
    	// then the high bit of the inversion will be set,
    	// making it clearly not a valid length (it would be a negative one).
    	//
    	// cx holds the pre-inverted encoding (the packed incremented bytes).
    	cx := uint64(0) // byte-only
    
    	// This stanza (until the blank line) is the "LMS-substring iterator",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/ppc64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This contains the majority of valid opcode combinations
    // available in cmd/internal/obj/ppc64/asm9.go with
    // their valid instruction encodings.
    
    #include "../../../../../runtime/textflag.h"
    
    // In case of index mode instructions, usage of
    // (Rx)(R0) is equivalent to (Rx+R0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  10. src/go/printer/nodes.go

    }
    
    // combinesWithName reports whether a name followed by the expression x
    // syntactically combines to another valid (value) expression. For instance
    // using *T for x, "name *T" syntactically appears as the expression x*T.
    // On the other hand, using  P|Q or *P|~Q for x, "name P|Q" or name *P|~Q"
    // cannot be combined into a valid (value) expression.
    func combinesWithName(x ast.Expr) bool {
    	switch x := x.(type) {
    	case *ast.StarExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top