Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 5,714 for nvalid (0.26 sec)

  1. subprojects/core/src/test/resources/org/gradle/api/internal/catalog/parser/invalid1.toml

    Louis Jacomet <******@****.***> 1615370565 +0100
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 16 14:58:26 UTC 2021
    - 27 bytes
    - Viewed (0)
  2. src/go/types/errors.go

    		msg := err.desc[0].msg
    		if strings.Index(msg, "invalid operand") > 0 || strings.Index(msg, "invalid type") > 0 {
    			return
    		}
    	}
    
    	if check.conf._Trace {
    		check.trace(err.posn().Pos(), "ERROR: %s (code = %d)", err.desc[0].msg, err.code)
    	}
    
    	// In go/types, if there is a sub-error with a valid position,
    	// call the typechecker error handler for each sub-error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/unicode/utf8/example_test.go

    	// false
    }
    
    func ExampleValid() {
    	valid := []byte("Hello, 世界")
    	invalid := []byte{0xff, 0xfe, 0xfd}
    
    	fmt.Println(utf8.Valid(valid))
    	fmt.Println(utf8.Valid(invalid))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleValidRune() {
    	valid := 'a'
    	invalid := rune(0xfffffff)
    
    	fmt.Println(utf8.ValidRune(valid))
    	fmt.Println(utf8.ValidRune(invalid))
    	// Output:
    	// true
    	// false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 05 21:29:18 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  4. pkg/config/validation/agent/extensionprovider_test.go

    			err := validateExtensionProviderService(tt.service)
    			valid := err == nil
    			if valid != tt.valid {
    				t.Errorf("Expected valid=%v, got valid=%v for %v", tt.valid, valid, tt.service)
    			}
    		})
    	}
    }
    
    func TestValidateExtensionProviderTracingZipkin(t *testing.T) {
    	cases := []struct {
    		name   string
    		config *meshconfig.MeshConfig_ExtensionProvider_ZipkinTracingProvider
    		valid  bool
    	}{
    		{
    			name: "zipkin normal",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/listtype_test.go

    	}
    
    	t.Logf("Checking that valid fields DO NOT show in error")
    	for _, valid := range validListTypeFields {
    		if strings.Contains(createErr.Error(), valid) {
    			t.Errorf("unexpected error about %q: %v", valid, err)
    		}
    	}
    
    	t.Logf("Checking that invalid fields DO show in error")
    	for _, invalid := range invalidListTypeFields {
    		if !strings.Contains(createErr.Error(), invalid) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/endpoint_test.go

    		{
    			name:          "invalid dns",
    			hostport:      "bad!!cp.k8s.io",
    			expectedError: true,
    		},
    		{
    			name:          "invalid valid dns:port",
    			hostport:      "bad!!cp.k8s.io:1234",
    			expectedError: true,
    		},
    		{
    			name:         "invalid ip4, but valid DNS",
    			hostport:     "259.2.3.4",
    			expectedHost: "259.2.3.4",
    		},
    		{
    			name:          "invalid ip4",
    			hostport:      "1..3.4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 03:19:26 UTC 2019
    - 10K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/diff_test.go

    		},
    		{
    			name:          "invalid: missing config file",
    			cfgPath:       "missing-path-to-a-config",
    			expectedError: true,
    		},
    		{
    			name:            "invalid: valid config but empty manifest path",
    			cfgPath:         testUpgradeDiffConfig,
    			setManifestPath: true,
    			manifestPath:    "",
    			expectedError:   true,
    		},
    		{
    			name:            "invalid: valid config but bad manifest path",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 04:08:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. internal/auth/credentials_test.go

    func TestCreateCredentials(t *testing.T) {
    	testCases := []struct {
    		accessKey   string
    		secretKey   string
    		valid       bool
    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil},
    		// Valid access and/or secret keys are longer than minimum length.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/module/module.go

    	for _, r := range path[:i] {
    		if !firstPathOK(r) {
    			return fmt.Errorf("invalid char %q in first path element", r)
    		}
    	}
    	if _, _, ok := SplitPathVersion(path); !ok {
    		return fmt.Errorf("invalid version")
    	}
    	return nil
    }
    
    // CheckImportPath checks that an import path is valid.
    //
    // A valid import path consists of one or more valid path elements
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/runtime/runtime_test.go

    		prepare     func(*fakeImpl)
    		shouldError bool
    	}{
    		{
    			name:        "valid",
    			shouldError: false,
    		},
    		{
    			name: "invalid: new runtime service fails",
    			prepare: func(mock *fakeImpl) {
    				mock.NewRemoteRuntimeServiceReturns(nil, errTest)
    			},
    			shouldError: true,
    		},
    		{
    			name: "invalid: new image service fails",
    			prepare: func(mock *fakeImpl) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top