Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 5,714 for nvalid (0.13 sec)

  1. src/net/testdata/invalid-ndots-resolv.conf

    Dan Peterson <******@****.***> 1468427735 -0600
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 15:20:24 UTC 2016
    - 21 bytes
    - Viewed (0)
  2. src/net/netip/netip.go

    // Bits returns p's prefix length.
    //
    // It reports -1 if invalid.
    func (p Prefix) Bits() int { return int(p.bitsPlusOne) - 1 }
    
    // IsValid reports whether p.Bits() has a valid range for p.Addr().
    // If p.Addr() is the zero [Addr], IsValid returns false.
    // Note that if p is the zero [Prefix], then p.IsValid() == false.
    func (p Prefix) IsValid() bool { return p.bitsPlusOne > 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go

    			header:  "  299 agent\u0000name \"text\"",
    			wantErr: "invalid agent",
    		},
    		{
    			name:    "agent non-utf8 character",
    			header:  "  299 agent\xc5name \"text\"",
    			wantErr: "invalid agent",
    		},
    		{
    			name:    "text control character",
    			header:  "  299 - \"text\u0000\"content",
    			wantErr: "invalid text",
    		},
    		{
    			name:    "text non-utf8 character",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:21:56 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  4. pkg/util/net/ip_test.go

    			remoteAddr: "192.168.1.100:8080",
    			expected:   false,
    		},
    		{
    			name:       "Public IPv4",
    			remoteAddr: "8.8.8.8:8080",
    			expected:   false,
    		},
    		{
    			name:       "Invalid Remote Address",
    			remoteAddr: "invalid",
    			expected:   false,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			req := httptest.NewRequest("GET", "/", nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/rand/rand_test.go

    	testStringLength  = 32
    )
    
    func TestString(t *testing.T) {
    	valid := "bcdfghjklmnpqrstvwxz2456789"
    	for _, l := range []int{0, 1, 2, 10, 123} {
    		s := String(l)
    		if len(s) != l {
    			t.Errorf("expected string of size %d, got %q", l, s)
    		}
    		for _, c := range s {
    			if !strings.ContainsRune(valid, c) {
    				t.Errorf("expected valid characters, got %v", c)
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 07 13:45:36 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. src/go/types/expr.go

    	var y operand
    
    	check.expr(nil, x, lhs)
    	check.expr(nil, &y, rhs)
    
    	if x.mode == invalid {
    		return
    	}
    	if y.mode == invalid {
    		x.mode = invalid
    		x.expr = y.expr
    		return
    	}
    
    	if isShift(op) {
    		check.shift(x, &y, e, op)
    		return
    	}
    
    	check.matchTypes(x, &y)
    	if x.mode == invalid {
    		return
    	}
    
    	if isComparison(op) {
    		check.comparison(x, &y, op, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/resources/valid-precondition-combinations.csv

    Justin Van Dort <******@****.***> 1717185987 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/go/types/operand.go

    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr ast.Expr
    	typ  Type
    	val  constant.Value
    	id   builtinId
    }
    
    // Pos returns the position of the expression corresponding to x.
    // If x is invalid the position is nopos.
    func (x *operand) Pos() token.Pos {
    	// x.expr may not be set if x is invalid
    	if x.expr == nil {
    		return nopos
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. pkg/apis/networking/validation/validation.go

    					allErrs = append(allErrs, field.Invalid(portPath.Child("endPort"), *port.EndPort, msg))
    				}
    			}
    		} else {
    			if port.EndPort != nil {
    				allErrs = append(allErrs, field.Invalid(portPath.Child("endPort"), *port.EndPort, "may not be specified when `port` is non-numeric"))
    			}
    			for _, msg := range validation.IsValidPortName(port.Port.StrVal) {
    				allErrs = append(allErrs, field.Invalid(portPath.Child("port"), port.Port.StrVal, msg))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 14:48:01 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

       * including if it is a public suffix itself. For example, returns {@code true} for {@code
       * www.google.com}, {@code foo.co.uk} and {@code com}, but not for {@code invalid} or {@code
       * google.invalid}. This is the recommended method for determining whether a domain is potentially
       * an addressable host.
       *
       * <p>Note that this method is equivalent to {@link #hasRegistrySuffix()} because all registry
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top