Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for capi (0.12 sec)

  1. pkg/controller/certificates/approver/sarapprove.go

    }
    
    func appendApprovalCondition(csr *capi.CertificateSigningRequest, message string) {
    	csr.Status.Conditions = append(csr.Status.Conditions, capi.CertificateSigningRequestCondition{
    		Type:    capi.CertificateApproved,
    		Status:  corev1.ConditionTrue,
    		Reason:  "AutoApproved",
    		Message: message,
    	})
    }
    
    func isNodeClientCert(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 16:03:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyCapabilitiesResolveIntegrationTest.groovy

                        compositeSubstitute()
                        variant(expectedVariant, ['org.gradle.usage': 'java-api'])
                        artifact(name: expectedVariant)
                    }
                }
            }
    
            where:
            capability | expectedVariant
            'cap1'     | 'first'
            'cap2'     | 'second'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 01 20:36:42 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. ci/official/wheel_test/test_import_api_packages.py

    """Import API packages test.
    
    This is a Python test that verifies whether API v2 packages can be imported
    from the current build or not.
    
    It uses the `_api/v2/api_packages.txt` file from the local wheel file.
    The `_api/v2/api_packages.txt` file is created during the process of generating
    TensorFlow API v2 init files and is stored in the wheel file after the build.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 13 15:52:07 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/next_pluggable_device/BUILD

    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        licenses = ["notice"],
    )
    
    cc_library(
        name = "c_api",
        srcs = ["c_api.cc"],
        hdrs = ["c_api.h"],
        visibility = ["//visibility:public"],
        deps = [
            ":tensor_pjrt_buffer_util",
            "//tensorflow/c:c_api_macros_hdrs",
            "//tensorflow/c:kernels_experimental_hdrs",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. tensorflow/c/safe_ptr.h

    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_SAFE_PTR_H_
    #define TENSORFLOW_C_SAFE_PTR_H_
    
    #include <memory>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    
    namespace tensorflow {
    namespace detail {
    
    struct TFTensorDeleter {
      void operator()(TF_Tensor* p) const { TF_DeleteTensor(p); }
    };
    
    struct TFETensorHandleDeleter {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 22 19:17:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. operator/pkg/helm/helm.go

    		return "", fmt.Errorf("failed to unmarshal values: %v", err)
    	}
    
    	caps := *chartutil.DefaultCapabilities
    
    	// overwrite helm default capabilities
    	operatorVersion, _ := chartutil.ParseKubeVersion("1." + strconv.Itoa(k8sversion.MinK8SVersion) + ".0")
    	caps.KubeVersion = *operatorVersion
    
    	if version != nil {
    		caps.KubeVersion = chartutil.KubeVersion{
    			Version: version.GitVersion,
    			Major:   version.Major,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.h

    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_status.h"
    #include "xla/pjrt/c/pjrt_c_api.h"
    
    // --------------------------------------------------------------------------
    // C API for device. The API is under active development and eventually
    // should allow registering a plugin device with TensorFlow.
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 20:01:06 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. ci/official/wheel_test/README.md

    description will be provided once it's integrated into presubmit.
    
    ### test_import_api_packages
    
    This Python test verifies whether the API v2 packages can be imported from the
    current build. It utilizes the `_api/v2/api_packages.txt` list of packages from
    the local wheel file specified in the `requirements_lock_<python_version>.txt`.
    
    Packages are imported one by one in alphabetical order during runtime.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 18:17:57 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top