Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for invalide (0.25 sec)

  1. pkg/apis/admissionregistration/validation/validation_test.go

    		expectedError: ``,
    	}, {
    		name: "should pass on invalid AdmissionReviewVersion with invalid previous versions",
    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    			Name:                    "webhook.k8s.io",
    			ClientConfig:            validClientConfig,
    			SideEffects:             &unknownSideEffect,
    			AdmissionReviewVersions: []string{"invalid-v1", "invalid-v2"},
    		},
    		}, true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  2. pkg/apis/apps/validation/validation_test.go

    		oldHistory apps.ControllerRevision
    		isValid    bool
    	}{{
    		name:       "valid",
    		newHistory: valid,
    		oldHistory: valid,
    		isValid:    true,
    	}, {
    		name:       "invalid",
    		newHistory: noVersion,
    		oldHistory: valid,
    		isValid:    false,
    	}, {
    		name:       "changed data",
    		newHistory: changedData,
    		oldHistory: valid,
    		isValid:    false,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy_test.go

    					CompletionMode: completionModePtr(batch.IndexedCompletion),
    				},
    				Status: batch.JobStatus{
    					CompletedIndexes: "invalid format",
    				},
    			},
    			wantErrs: field.ErrorList{
    				{Type: field.ErrorTypeInvalid, Field: "status.completedIndexes"},
    			},
    		},
    		"invalid format for CompletedIndexes, but allowed": {
    			enableJobManagedBy: true,
    			job: &batch.Job{
    				ObjectMeta: validObjectMeta,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  4. pkg/config/validation/validation_test.go

    	type durationCheck struct {
    		duration time.Duration
    		isValid  bool
    	}
    	durMin, _ := time.ParseDuration("-30m")
    	durHr, _ := time.ParseDuration("-1.5h")
    	checks := []durationCheck{
    		{
    			duration: 30 * time.Minute,
    			isValid:  true,
    		},
    		{
    			duration: durMin,
    			isValid:  false,
    		},
    		{
    			duration: durHr,
    			isValid:  false,
    		},
    	}
    
    	for _, check := range checks {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"has(self.intorstring)":   "invalid data, expected XIntOrString value to be either a string or integer",
    				"self.nullable[0] == 'x'": "invalid data, got null for schema with nullable=false",
    				// TODO: also find a way to test the errors returned for: array with no items, object with no properties or additionalProperties, invalid listType and invalid type.
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/asm7.go

    		n = 4 // four registers
    	default:
    		c.ctxt.Diag("invalid register numbers in ARM64 register list: %v", p)
    	}
    
    	switch as {
    	case AVLD1R, AVLD2R, AVLD3R, AVLD4R:
    		if offset != n*(1<<uint(size)) {
    			c.ctxt.Diag("invalid post-increment offset: %v", p)
    		}
    	default:
    		if !(q == 0 && offset == n*8) && !(q == 1 && offset == n*16) {
    			c.ctxt.Diag("invalid post-increment offset: %v", p)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    }
    
    // -----
    
    // Test invalid tf.Fill
    func.func @testFill(tensor<i32>, tensor<f32>) -> tensor<?x?xf32> {
    ^bb0(%arg0: tensor<i32>, %arg1: tensor<f32>):
      // expected-error @+1 {{requires dims to be a 1D tensor}}
      %0 = "tf.Fill"(%arg0, %arg1) : (tensor<i32>, tensor<f32>) -> (tensor<?x?xf32>)
      func.return %0 : tensor<?x?xf32>
    }
    
    // -----
    
    // Test invalid tf.Fill
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    	if err != nil {
    		t.Fatalf("Invalid UploadID: <ERROR> %s", err)
    	}
    
    	// Testing the response for Invalid AccessID.
    	// Forcing the signature check to fail.
    	rec = httptest.NewRecorder()
    	// construct HTTP request for NewMultipart upload.
    	// Setting an invalid accessID.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  9. pkg/config/validation/validation.go

    	if name == "" {
    		return fmt.Errorf("header name cannot be empty")
    	}
    	if strings.EqualFold(name, "host") {
    		return fmt.Errorf(`invalid header %q: cannot set Host header`, name)
    	}
    	if isInternalHeader(name) {
    		return fmt.Errorf(`invalid header %q: header cannot have ":" prefix`, name)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(response2.message).isEqualTo("A-OK")
        val invalid = server.url("/invalid")
        val response3 = get(invalid)
        assertThat(response3.body.string()).isEqualTo("B")
        assertThat(response3.code).isEqualTo(HttpURLConnection.HTTP_OK)
        assertThat(response3.message).isEqualTo("B-OK")
        val response4 = get(invalid)
        assertThat(response4.body.string()).isEqualTo("C")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top