Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,510 for nvalid (0.21 sec)

  1. pkg/util/net/ip_test.go

    			remoteAddr: "192.168.1.100:8080",
    			expected:   false,
    		},
    		{
    			name:       "Public IPv4",
    			remoteAddr: "8.8.8.8:8080",
    			expected:   false,
    		},
    		{
    			name:       "Invalid Remote Address",
    			remoteAddr: "invalid",
    			expected:   false,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			req := httptest.NewRequest("GET", "/", nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/resources/valid-precondition-combinations.csv

    Justin Van Dort <******@****.***> 1717185987 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/ipset_test.go

    		name    string
    		vstring string
    		valid   bool
    	}{
    		{"4.0 < 6.0 is invalid", "4.0", false},
    		{"5.1 < 6.0 is invalid", "5.1", false},
    		{"5.2 < 6.0 is invalid", "5.1.2", false},
    		{"7 is not a valid version", "7", false},
    		{"6.0 is valid since >= 6.0", "6.0", true},
    		{"6.1 is valid since >= 6.0", "6.1", true},
    		{"6.19 is valid since >= 6.0", "6.19", true},
    		{"7.0 is valid since >= 6.0", "7.0", true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/misannotated.yaml

        # no such Istio annotation
        networking.istio.io/exportThree: bar
        # Valid Istio annotation
        networking.istio.io/exportTo: baz
    spec:
      ports:
      - name: http
        port: 8000
        targetPort: 80
      selector:
        app: httpbin
    ---
    # K8s object with invalid Istio annotations
    apiVersion: v1
    kind: Pod
    metadata:
      name: invalid-annotations
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 21:10:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. internal/arn/arn_test.go

    			wantErr: false,
    		},
    		{
    			name: "invalid ARN length must fail",
    			args: args{
    				arnStr: "arn:minio:",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN partition must fail",
    			args: args{
    				arnStr: "arn:invalid:iam:us-east-1::role/my-role",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN service must fail",
    			args: args{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/externalcontrolplane-valid-urls.yaml

    Michael Weiner <******@****.***> 1697542898 -0500
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 11:41:38 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. pkg/registry/storage/csinode/strategy_test.go

    			emptyAllocatable,
    			emptyAllocatable,
    			emptyAllocatable,
    		},
    		{
    			"allow valid allocatable when it's already set",
    			valid,
    			differentAllocatable,
    			differentAllocatable,
    		},
    		{
    			"allow valid allocatable when it's not set",
    			emptyAllocatable,
    			valid,
    			valid,
    		},
    	}
    
    	for _, test := range volumeLimitsCases {
    		t.Run(test.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 09:24:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. src/runtime/cgo/handle.go

    	}
    
    	handles.Store(h, v)
    	return Handle(h)
    }
    
    // Value returns the associated Go value for a valid handle.
    //
    // The method panics if the handle is invalid.
    func (h Handle) Value() any {
    	v, ok := handles.Load(uintptr(h))
    	if !ok {
    		panic("runtime/cgo: misuse of an invalid Handle")
    	}
    	return v
    }
    
    // Delete invalidates a handle. This method should only be called once
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/DefaultRuleActionValidatorTest.groovy

        }
    
        def "accepts valid type"() {
            def ruleValidator = new DefaultRuleActionValidator(String)
            def ruleAction = Stub(RuleAction) {
                getInputTypes() >> { [String] }
            }
    
            expect:
            ruleValidator.validate(ruleAction) == ruleAction
        }
    
        def "accepts valid type with multiple valid types"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionStatsTest.groovy

            nonHeapStats.maxSizeInBytes == 1000
            nonHeapStats.usedPercent == 70
        }
    
        def "reports invalid when maximum memory cannot be determined"() {
            expect:
            !stats.valid
            stats.maxSizeInBytes == -1
    
            where:
            stats << [
                    GarbageCollectionStats.forHeap(withoutMaxMemory(heapEvents)),
                    GarbageCollectionStats.forNonHeap(withoutMaxMemory(nonHeapEvents))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top