Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 151 for x_data (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_DeleteContextOptions(opts);
    
      TFE_TensorHandle* m = TestMatrixTensorHandle(ctx);
      TF_Tensor* m_data = TFE_TensorHandleResolve(m, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      float* m_float = static_cast<float*>(TF_TensorData(m_data));
      TF_DeviceList* devices = TFE_ContextListDevices(ctx, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/authentication_info_resolver.go

    func NewAuthenticationInfoResolver(cacheMisses *int32) webhook.AuthenticationInfoResolver {
    	return &authenticationInfoResolver{
    		restConfig: &rest.Config{
    			TLSClientConfig: rest.TLSClientConfig{
    				CAData:   testcerts.CACert,
    				CertData: testcerts.ClientCert,
    				KeyData:  testcerts.ClientKey,
    			},
    		},
    		cacheMisses: cacheMisses,
    	}
    }
    
    type authenticationInfoResolver struct {
    	restConfig  *rest.Config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 18 18:49:55 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		cm := configmaps.Get(name, ns)
    		if cm == nil {
    			return fmt.Errorf("not found")
    		}
    		if !reflect.DeepEqual(cm.Data, data) {
    			return fmt.Errorf("data mismatch, expected %+v got %+v", data, cm.Data)
    		}
    		return nil
    	}, retry.Timeout(time.Second*10))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/kube/client_config.go

    		TLSServerName:            restConfig.ServerName,
    		InsecureSkipTLSVerify:    restConfig.Insecure,
    		CertificateAuthority:     restConfig.CAFile,
    		CertificateAuthorityData: restConfig.CAData,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 17 16:52:06 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  5. pkg/scheduler/extender.go

    		cfg.TLSClientConfig.CertData = config.TLSConfig.CertData
    		cfg.TLSClientConfig.KeyData = config.TLSConfig.KeyData
    		cfg.TLSClientConfig.CAData = config.TLSConfig.CAData
    	}
    	if config.EnableHTTPS {
    		hasCA := len(cfg.CAFile) > 0 || len(cfg.CAData) > 0
    		if !hasCA {
    			cfg.Insecure = true
    		}
    	}
    	tlsConfig, err := restclient.TLSConfigFor(&cfg)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/config_selfclient.go

    		return nil, err
    	}
    
    	return &restclient.Config{
    		// Do not limit loopback client QPS.
    		QPS:  -1,
    		Host: "https://" + net.JoinHostPort(host, port),
    		TLSClientConfig: restclient.TLSClientConfig{
    			CAData: caCert,
    		},
    	}, nil
    }
    
    func (s *SecureServingInfo) NewLoopbackClientConfig(token string, loopbackCert []byte) (*restclient.Config, error) {
    	c, err := s.NewClientConfig(loopbackCert)
    	if err != nil || c == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 23 00:06:34 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/zz_generated.deepcopy.go

    		*out = make([]byte, len(*in))
    		copy(*out, *in)
    	}
    	if in.KeyData != nil {
    		in, out := &in.KeyData, &out.KeyData
    		*out = make([]byte, len(*in))
    		copy(*out, *in)
    	}
    	if in.CAData != nil {
    		in, out := &in.CAData, &out.CAData
    		*out = make([]byte, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderTLSConfig.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 22:02:57 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  8. cmd/data-scanner_test.go

    Krishnan Parthasarathi <******@****.***> 1714735138 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. cmd/data-usage_test.go

    Harshavardhana <******@****.***> 1711552240 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/types.go

    	// KeyData takes precedence over KeyFile
    	KeyData []byte `datapolicy:"security-key"`
    	// CAData holds PEM-encoded bytes (typically read from a root certificates bundle).
    	// CAData takes precedence over CAFile
    	CAData []byte
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top