Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,133 for valid (0.05 sec)

  1. pkg/apis/networking/validation/validation.go

    // valid.
    func validateIngressClassSpecUpdate(newSpec, oldSpec *networking.IngressClassSpec, fldPath *field.Path) field.ErrorList {
    	return apivalidation.ValidateImmutableField(newSpec.Controller, oldSpec.Controller, fldPath.Child("controller"))
    }
    
    // validateIngressTypedLocalObjectReference ensures that Parameters fields are valid.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 14:48:01 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. src/net/mail/message_test.go

    			t.Errorf("Header(Date: %s).Date() did not return an error but %v", test.dateStr, date)
    		}
    
    		date, err = ParseDate(test.dateStr)
    		if err != nil && test.valid {
    			t.Errorf("ParseDate(%s): %v", test.dateStr, err)
    		} else if err == nil && test.exp.IsZero() {
    			// OK.  Used when exact result depends on the
    			// system's local zoneinfo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    		}
    		n := binary.PutUvarint(tmp[:], uint64(checksums))
    		b = append(b, tmp[:n]...)
    		if len(parts) > 0 {
    			b = append(b, parts...)
    		}
    	}
    	return b
    }
    
    // Valid returns whether checksum is valid.
    func (c Checksum) Valid() bool {
    	if c.Type == ChecksumInvalid {
    		return false
    	}
    	if len(c.Encoded) == 0 || c.Type.Trailing() {
    		return c.Type.Is(ChecksumNone) || c.Type.Trailing()
    	}
    	raw := c.Raw
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            result.output.count(YES_NO_PROMPT) == 1
            outputContains("result = <default>")
    
            where:
            richConsole << VALID_BOOLEAN_CHOICES
        }
    
        def "can ask yes/no and handle valid input '#input' in interactive build"() {
            when:
            runWithInput("askYesNo", YES_NO_PROMPT, stdin)
    
            then:
            outputContains("result = $accepted")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/config/common_test.go

    	tests := []struct {
    		name          string
    		address       string
    		expectedError bool
    	}{
    		{
    			name:    "valid address: IPV4",
    			address: "192.168.0.1",
    		},
    		{
    			name:    "valid address: IPV6",
    			address: "2001:db8:85a3::8a2e:370:7334",
    		},
    		{
    			name:          "valid address 127.0.0.1",
    			address:       "127.0.0.1",
    			expectedError: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pkg/apis/certificates/types.go

    	//   3. Signer whose configured minimum is longer than the requested duration
    	//
    	// The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.
    	//
    	// +optional
    	ExpirationSeconds *int32
    
    	// usages specifies a set of usage contexts the key will be
    	// valid for.
    	// See:
    	//	https://tools.ietf.org/html/rfc5280#section-4.2.1.3
    	//	https://tools.ietf.org/html/rfc5280#section-4.2.1.12
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InterfaceBackedManagedTypeIntegrationTest.groovy

            buildScript '''
                apply type: RulePlugin
            '''
    
            then:
            fails "tasks"
    
            and:
            failure.assertHasCause """Type Person is not a valid managed type:
    - Property 'name' is not valid: it must have either only abstract accessor methods or only implemented accessor methods"""
        }
    
        def "non-mutative non-abstract methods implemented as default interface methods are not allowed"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InternetDomainName.java

      /**
       * Validation method used by {@code from} to ensure that the domain name is syntactically valid
       * according to RFC 1035.
       *
       * @return Is the domain name syntactically valid?
       */
      private static boolean validateSyntax(List<String> parts) {
        int lastIndex = parts.size() - 1;
    
        // Validate the last part specially, as it has different syntax rules.
    
        if (!validatePart(parts.get(lastIndex), true)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    		if name[i] == '.' {
    			break
    		}
    	}
    	return name[:i]
    }
    
    func funcfile(f funcInfo, fileno int32) string {
    	datap := f.datap
    	if !f.valid() {
    		return "?"
    	}
    	// Make sure the cu index and file offset are valid
    	if fileoff := datap.cutab[f.cuOffset+uint32(fileno)]; fileoff != ^uint32(0) {
    		return gostringnocopy(&datap.filetab[fileoff])
    	}
    	// pcln section is corrupt.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

      /**
       * Validation method used by {@code from} to ensure that the domain name is syntactically valid
       * according to RFC 1035.
       *
       * @return Is the domain name syntactically valid?
       */
      private static boolean validateSyntax(List<String> parts) {
        int lastIndex = parts.size() - 1;
    
        // Validate the last part specially, as it has different syntax rules.
    
        if (!validatePart(parts.get(lastIndex), true)) {
    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