Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,123 for valid (0.07 sec)

  1. pkg/kubelet/kubelet_pods_linux_test.go

    		container      v1.Container
    		podVolumes     kubecontainer.VolumeMap
    		supportsRRO    bool
    		expectErr      bool
    		expectedErrMsg string
    		expectedMounts []kubecontainer.Mount
    	}{
    		"valid mounts in unprivileged container": {
    			podVolumes: kubecontainer.VolumeMap{
    				"disk":  kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "/mnt/disk"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 18:00:59 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go

    		if len(errs) != 0 {
    			t.Logf("errors returned: %v", errs)
    		}
    		if len(errs) != 0 && valid {
    			t.Errorf("unexpected forbidden field validation errors for: %#v", s)
    		}
    		if len(errs) == 0 && !valid {
    			t.Errorf("expected forbidden field validation errors for: %#v", s)
    		}
    	}
    }
    
    func TestValidateStructuralCompleteness(t *testing.T) {
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    // VerifyOptions, and converts valid certificate chains into user.Info using the provided UserConversion
    func New(opts x509.VerifyOptions, user UserConversion) *Authenticator {
    	return NewDynamic(StaticVerifierFn(opts), user)
    }
    
    // NewDynamic returns a request.Authenticator that verifies client certificates using the provided
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. internal/http/listener_test.go

    			testCase.serverAddrs,
    			TCPOptions{},
    		)
    		for _, err := range errs {
    			if err != nil {
    				if strings.Contains(err.Error(), "The requested address is not valid in its context") {
    					// Ignore if IP is unbindable.
    					continue nextTest
    				}
    				if strings.Contains(err.Error(), "bind: address already in use") {
    					continue nextTest
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

      }
    
      companion object {
        /** Arbitrary code point that's 2 bytes in UTF-8 and valid in IdnaMappingTable.txt. */
        private const val UNICODE_2 = 0x1a5
    
        /** Arbitrary code point that's 3 bytes in UTF-8 and valid in IdnaMappingTable.txt. */
        private const val UNICODE_3 = 0x2202
    
        /** Arbitrary code point that's 4 bytes in UTF-8 and valid in IdnaMappingTable.txt. */
        private const val UNICODE_4 = 0x1d11e
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/dlpack.cc

                                          int ndim) {
      bool valid = true;
      int64_t expected_stride = 1;
      for (int i = ndim - 1; i >= 0; --i) {
        // Empty tensors are always compact regardless of strides.
        if (shape_arr[i] == 0) return true;
        // Note that dimensions with size=1 can have any stride.
        if (shape_arr[i] != 1 && stride_arr[i] != expected_stride) {
          valid = false;
        }
        expected_stride *= shape_arr[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/strategy.go

    	// Allow ID as "podname" or "podname:port" or "scheme:podname:port".
    	// If port is not specified, try to use the first defined port on the pod.
    	scheme, name, port, valid := utilnet.SplitSchemeNamePort(id)
    	if !valid {
    		return nil, nil, errors.NewBadRequest(fmt.Sprintf("invalid pod request %q", id))
    	}
    
    	pod, err := getPod(ctx, getter, name)
    	if err != nil {
    		return nil, nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. pkg/apis/resource/validation/validation_resourceclassparameters_test.go

    	name := "valid"
    	validResourceClassParameters := testResourceClassParameters(name, name, nil)
    
    	scenarios := map[string]struct {
    		oldResourceClassParameters *resource.ResourceClassParameters
    		update                     func(class *resource.ResourceClassParameters) *resource.ResourceClassParameters
    		wantFailures               field.ErrorList
    	}{
    		"valid-no-op-update": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/go/types/decl.go

    		check.funcDecl(obj, d)
    	default:
    		panic("unreachable")
    	}
    }
    
    // validCycle checks if the cycle starting with obj is valid and
    // reports an error if it is not.
    func (check *Checker) validCycle(obj Object) (valid bool) {
    	// The object map contains the package scope objects and the non-interface methods.
    	if debug {
    		info := check.objMap[obj]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/route-binding.yaml.golden

        internal.istio.io/route-semantics: gateway
      creationTimestamp: null
      name: same-namespace-valid-0-istio-autogenerated-k8s-gateway
      namespace: istio-system
    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-same-namespace
      hosts:
      - '*'
      http:
      - name: istio-system.same-namespace-valid.0
        route:
        - destination:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 16.1K bytes
    - Viewed (0)
Back to top