Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,344 for valid (0.21 sec)

  1. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    }
    
    // ValidateCertPeriod checks if the certificate is valid relative to the current time
    // (+/- offset)
    func ValidateCertPeriod(cert *x509.Certificate, offset time.Duration) error {
    	period := fmt.Sprintf("NotBefore: %v, NotAfter: %v", cert.NotBefore, cert.NotAfter)
    	now := time.Now().Add(offset).UTC()
    	if now.Before(cert.NotBefore) {
    		return errors.Errorf("the certificate is not valid yet: %s", period)
    	}
    	if now.After(cert.NotAfter) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

            failure.assertHasCause("Exception thrown while executing model rule: MyPlugin#rules")
            failure.assertHasCause('''Type BrokenRuleSource is not a valid rule source:
    - Method broken() is not a valid rule method: A rule method cannot be private
    - Method broken() is not a valid rule method: A method annotated with @Validate must have at least one parameter''')
        }
    
        def "reports unbound parameters for rules on applied RuleSource"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  3. operator/pkg/validate/common.go

    		domainComponentRegexp,
    		optional(repeated(literal(`.`), domainComponentRegexp)),
    		optional(literal(`:`), match(`[0-9]+`)))
    
    	// TagRegexp matches valid tag names. From docker/docker:graph/tags.go.
    	TagRegexp = match(`[\w][\w.-]{0,127}`)
    
    	// DigestRegexp matches valid digests.
    	DigestRegexp = match(`[A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}`)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("abc", Strings.commonPrefix(new StringBuffer("abcdef"), "abcxyz"));
    
        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCACxyz"));
        // One invalid pair.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common_test.go

    				nil, nil, nil, nil, nil, nil, nil, nil,
    			},
    			_tamperBackend: noTamper,
    		},
    		{
    			modTimes:     modTimesThreeNone,
    			expectedTime: threeNanoSecs,
    			errs: []error{
    				// Disks that have a valid xl.meta.
    				nil, nil, nil, nil, nil, nil, nil, nil,
    				nil, nil, nil, nil, nil,
    				// Some disks can't access xl.meta.
    				errFileNotFound, errDiskAccessDenied, errDiskNotFound,
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/encoding/gob/encode.go

    type encEngine struct {
    	instr []encInstr
    }
    
    const singletonField = 0
    
    // valid reports whether the value is valid and a non-nil pointer.
    // (Slices, maps, and chans take care of themselves.)
    func valid(v reflect.Value) bool {
    	switch v.Kind() {
    	case reflect.Invalid:
    		return false
    	case reflect.Pointer:
    		return !v.IsNil()
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    func TestIsValidBucketName(t *testing.T) {
    	testCases := []struct {
    		bucketName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    		{"ideas-are-more-powerful-than-guns", true},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedScalarCollectionsIntegrationTest.groovy

            failure.assertHasCause("""A model element of type: 'Container' can not be constructed.
    Its property 'java.util.$type<Thing> items' is not a valid scalar collection
    A scalar collection can not contain 'Thing's
    A valid scalar collection takes the form of List<T> or Set<T> where 'T' is one of (String, Boolean, Character, Byte, Short, Integer, Float, Long, Double, BigInteger, BigDecimal, File)""")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/ComponentTypeModelRuleExtractorTest.groovy

            when:
            extract(ruleMethod)
    
            then:
            def ex = thrown(InvalidModelRuleDeclarationException)
            ex.message == """Type ${fullyQualifiedNameOf(ruleClass)} is not a valid rule source:
    - Method ${ruleDescription} is not a valid rule method: ${expectedMessage}"""
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/branches.go

    // declared in block b or any of its enclosing blocks. The result is nil
    // if the label is not defined, or doesn't match a valid labeled statement.
    func (ls *labelScope) gotoTarget(b *block, name string) *LabeledStmt {
    	if l := ls.labels[name]; l != nil {
    		l.used = true // even if it's not a valid target
    		for ; b != nil; b = b.parent {
    			if l.parent == b {
    				return l.lstmt
    			}
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:21:29 UTC 2022
    - 9.8K bytes
    - Viewed (0)
Back to top