Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 263 for 1035 (0.04 sec)

  1. pkg/apis/apiserverinternal/validation/validation_test.go

    			DecodableVersions: []string{"v1", "mygroup.com/v2_"},
    			ServedVersions:    []string{"v1", "mygroup.com/v2_"},
    		},
    		expectedErr: `[].decodableVersions[1]: Invalid value: "mygroup.com/v2_": version part: a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name',  or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')`,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 21:43:49 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    		},
    		{
    			name:        "dns1035Label",
    			expr:        `format.dns1035Label().validate("contains a space")`,
    			expectValue: types.OptionalOf(types.NewStringList(types.DefaultTypeAdapter, []string{`a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name',  or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')`})),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/math/erf.go

    		if sign {
    			return -erx - P/Q
    		}
    		return erx + P/Q
    	}
    	if x >= 6 { // inf > |x| >= 6
    		if sign {
    			return -1
    		}
    		return 1
    	}
    	s := 1 / (x * x)
    	var R, S float64
    	if x < 1/0.35 { // |x| < 1 / 0.35  ~ 2.857143
    		R = ra0 + s*(ra1+s*(ra2+s*(ra3+s*(ra4+s*(ra5+s*(ra6+s*ra7))))))
    		S = 1 + s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(sa5+s*(sa6+s*(sa7+s*sa8)))))))
    	} else { // |x| >= 1 / 0.35  ~ 2.857143
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go

    	return errs
    }
    
    const dns1035LabelFmt string = "[a-z]([-a-z0-9]*[a-z0-9])?"
    const dns1035LabelErrMsg string = "a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character"
    
    // DNS1035LabelMaxLength is a label's max length in DNS (RFC 1035)
    const DNS1035LabelMaxLength int = 63
    
    var dns1035LabelRegexp = regexp.MustCompile("^" + dns1035LabelFmt + "$")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 16:08:43 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/net/dnsclient.go

    // See go.dev/issue/67401.
    //
    //go:linkname isDomainName
    func isDomainName(s string) bool {
    	// The root domain name is valid. See golang.org/issue/45715.
    	if s == "." {
    		return true
    	}
    
    	// See RFC 1035, RFC 3696.
    	// Presentation format has dots before every label except the first, and the
    	// terminal empty label is optional here because we assume fully-qualified
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

       * validation against <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>
       * ("Internationalizing Domain Names in Applications") is skipped, while validation against <a
       * href="http://www.ietf.org/rfc/rfc1035.txt">RFC 1035</a> is relaxed in the following ways:
       *
       * <ul>
       *   <li>Any part containing non-ASCII characters is considered valid.
       *   <li>Underscores ('_') are permitted wherever dashes ('-') are permitted.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InternetDomainName.java

       * validation against <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>
       * ("Internationalizing Domain Names in Applications") is skipped, while validation against <a
       * href="http://www.ietf.org/rfc/rfc1035.txt">RFC 1035</a> is relaxed in the following ways:
       *
       * <ul>
       *   <li>Any part containing non-ASCII characters is considered valid.
       *   <li>Underscores ('_') are permitted wherever dashes ('-') are permitted.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. pkg/apis/apiserverinternal/validation/validation.go

    		}
    	}
    	return allErrs
    }
    
    const dns1035LabelFmt string = "[a-z]([-a-z0-9]*[a-z0-9])?"
    const dns1035LabelErrMsg string = "a DNS-1035 label, which must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character"
    
    // isValidAPIVersion tests whether the value passed is a valid apiVersion. A
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 21:43:49 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	compressionOff := len(b)
    	msg := h.pack(b)
    
    	// RFC 1035 allows (but does not require) compression for packing. RFC
    	// 1035 requires unpacking implementations to support compression, so
    	// unconditionally enabling it is fine.
    	//
    	// DNS lookups are typically done over UDP, and RFC 1035 states that UDP
    	// DNS messages can be a maximum of 512 bytes long. Without compression,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  10. src/net/dnsclient_unix.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // DNS client: see RFC 1035.
    // Has to be linked into package net for Dial.
    
    // TODO(rsc):
    //	Could potentially handle many outstanding lookups faster.
    //	Random UDP source port (net.Dial should do that for us).
    //	Random request IDs.
    
    package net
    
    import (
    	"context"
    	"errors"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top