Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,510 for nvalid (0.17 sec)

  1. src/cmd/compile/internal/types2/struct.go

    			check.recordDef(ident, fld)
    		}
    	}
    
    	// addInvalid adds an embedded field of invalid type to the struct for
    	// fields with errors; this keeps the number of struct fields in sync
    	// with the source as long as the fields are _ or have different names
    	// (go.dev/issue/25627).
    	addInvalid := func(ident *syntax.Name) {
    		typ = Typ[Invalid]
    		tag = ""
    		add(ident, true)
    	}
    
    	var prev syntax.Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation_resourceslice_test.go

    		},
    		"invalid-name-update": {
    			oldResourceSlice: validResourceSlice,
    			update: func(slice *resource.ResourceSlice) *resource.ResourceSlice {
    				slice.Name += "-update"
    				return slice
    			},
    			wantFailures: field.ErrorList{field.Invalid(field.NewPath("metadata", "name"), name+"-update", "field is immutable")},
    		},
    		"invalid-update-nodename": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ConnectionPropertiesTest.groovy

        }
    
        def "should report invalid uri"() {
            when:
            s3ConnectionProperties.configureEndpoint('httpdasd%:/ads')
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "System property [org.gradle.s3.endpoint=httpdasd%:/ads]  must be a valid URI"
        }
    
        def "should allow case insensitive schemes"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    			expr:         `isIP("192.168.0.1.0")`,
    			expectResult: falseVal,
    		},
    		{
    			name:         "ip.isCanonical valid ipv4",
    			expr:         `ip.isCanonical("127.0.0.1")`,
    			expectResult: trueVal,
    		},
    		{
    			name:             "ip.isCanonical invalid ipv4",
    			expr:             `ip.isCanonical("127.0.0.1.0")`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIdentifierValidationIntegTest.groovy

            failure.assertHasCause "Failed to publish publication 'maven' to repository 'maven'"
            failure.assertHasCause "Invalid publication 'maven': groupId cannot be empty"
        }
    
        def "fails with reasonable error message for invalid #invalidComponent name"() {
            settingsFile << "rootProject.name = 'invalid'"
            buildFile << """
                apply plugin: 'maven-publish'
                apply plugin: 'java'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/go/version/version.go

    // Invalid versions, including the empty string, compare less than
    // valid versions and equal to each other.
    // The language version "go1.21" compares less than the
    // release candidate and eventual releases "go1.21rc1" and "go1.21.0".
    func Compare(x, y string) int {
    	return gover.Compare(stripGo(x), stripGo(y))
    }
    
    // IsValid reports whether the version x is valid.
    func IsValid(x string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUpgradeIntegrationTest.groovy

        }
    
        def "prints helpful error message on invalid version argument format: #badVersion"() {
            given:
            prepareWrapper()
    
            expect:
            def failure = wrapperExecuter.withTasks("wrapper", "--gradle-version", badVersion).runWithFailure()
    
            and:
            failure.assertHasDescription("Invalid version specified for argument '--gradle-version'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dataclasses/test_tutorial001.py

        response = client.post("/items/", json={"name": "Foo", "price": "invalid price"})
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["body", "price"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

      if (func_.getNumArguments() != 2) {
        return func_.emitWarning()
               << "Invalid number of arguments to " << kMaxUnpooling << ": "
               << func_.getNumArguments();
      }
      if (func_.getFunctionType().getNumResults() != 1) {
        return func_.emitWarning()
               << "Invalid number of results from " << kMaxUnpooling << ": "
               << func_.getFunctionType().getNumResults();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration_test.go

                                        <Days>0</Days>
                                        </Expiration>`,
    			expectedErr: errLifecycleInvalidDays,
    		},
    		{ // Expiration with invalid date
    			inputXML: ` <Expiration>
                                        <Date>invalid date</Date>
                                        </Expiration>`,
    			expectedErr: errLifecycleInvalidDate,
    		},
    		{ // Expiration with both number of days nor a date
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top