Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 436 for capi (0.76 sec)

  1. pkg/controller/certificates/cleaner/cleaner.go

    // expiration of the certificate (the NotAfter value) has passed.
    func isIssuedExpired(logger klog.Logger, csr *capi.CertificateSigningRequest) bool {
    	for _, c := range csr.Status.Conditions {
    		if c.Type == capi.CertificateApproved && isIssued(csr) && isExpired(csr) {
    			logger.Info("Cleaning CSR as the associated certificate is expired.", "csr", csr.Name)
    			return true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_reader_test.cc

                           int64_t delta = 1);
    
    TEST(CAPI, MonitoringCellReader0) {
      auto counter_name = "test/counter0";
      auto* counter = CreateCounter0(counter_name);
      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
      IncrementCounter0(counter);
    
      int64_t actual = TFE_MonitoringReadCounter0(reader);
    
      CHECK_EQ(actual, 1);
    }
    
    TEST(CAPI, MonitoringCellReader1) {
      auto counter_name = "test/counter1";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. pkg/test/csrctrl/signer/signer.go

    // limitations under the License.
    
    // Package signer implements a CA signer that uses keys stored on local disk.
    package signer
    
    import (
    	"bytes"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    	capi "k8s.io/api/certificates/v1"
    
    	"istio.io/istio/pkg/test/csrctrl/authority"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    type Signer struct {
    	caProvider *caProvider
    	CertTTL    time.Duration
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 03 18:57:19 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_EQ(22, product[3]);
      TF_DeleteStatus(status);
    }
    TEST(CAPI, Executor_MatMul_CPU) { Executor_MatMul_CPU(false); }
    TEST(CAPI, Executor_MatMul_CPUAsync) { Executor_MatMul_CPU(true); }
    
    void Deleter(void* data, size_t unused, void* tensor_handle) {
      TFE_DeleteTensorHandle(static_cast<TFE_TensorHandle*>(tensor_handle));
    }
    
    TEST(CAPI, TensorHandleOnDeviceMemory) {
      TF_Status* status = TF_NewStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    TEST(CAPI, Session_Min_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/false); }
    
    TEST(CAPI, Session_Min_XLA_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/true); }
    
    TEST(CAPI, Session_Min_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_DeleteContext(ctx);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server.release();
    }
    
    TEST(CAPI, RemoteExecuteChangeServerDef) {
      TestRemoteExecuteChangeServerDef(false);
    }
    TEST(CAPI, RemoteExecuteChangeServerDefAsync) {
      TestRemoteExecuteChangeServerDef(true);
    }
    
    void TestRemoteExecuteUpdateServerDef(bool async) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_distributed_test.cc

      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server1.release();
      worker_server2.release();
    }
    
    TEST(CAPI, TestLocalFunctionWithPackedInput) {
      TestFunctionWithPackedInput(/*remote=*/false);
    }
    
    TEST(CAPI, TestRemoteFunctionWithPackedInput) {
      TestFunctionWithPackedInput(/*remote=*/true);
    }
    
    string VariableAddFunctionSignature() {
      return "    signature {"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    			rbacv1helpers.NewRule("approve").Groups(certificatesGroup).Resources("signers").Names(capi.KubeAPIServerClientKubeletSignerName).RuleOrDie(),
    			rbacv1helpers.NewRule("sign").Groups(certificatesGroup).Resources("signers").Names(
    				capi.LegacyUnknownSignerName,
    				capi.KubeAPIServerClientSignerName,
    				capi.KubeAPIServerClientKubeletSignerName,
    				capi.KubeletServingSignerName,
    			).RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package bootstrappolicy
    
    import (
    	capi "k8s.io/api/certificates/v1beta1"
    	rbacv1 "k8s.io/api/rbac/v1"
    	"k8s.io/apimachinery/pkg/api/meta"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/authentication/serviceaccount"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

                        attribute('custom', 'c1')
                        capability('cap1')
                    }
                    variant('api2') {
                        attribute('custom', 'c2')
                        capability('cap1')
                    }
                    variant('runtime1') {
                        attribute('custom2', 'c1')
                        capability('cap2')
                    }
                    variant('runtime2') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top