Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 389 for capi (1.07 sec)

  1. 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)
  2. pkg/controller/certificates/authority/authority_test.go

    			want: x509.Certificate{
    				NotBefore:             now,
    				NotAfter:              now.Add(1 * time.Hour),
    				BasicConstraintsValid: true,
    				KeyUsage:              x509.KeyUsageDigitalSignature,
    			},
    		},
    		{
    			name:   "ext key usage",
    			policy: PermissiveSigningPolicy{TTL: time.Hour, Usages: []capi.KeyUsage{"client auth"}, Now: nowFunc},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  3. 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)
  4. pkg/registry/rbac/helpers_test.go

    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	kapi "k8s.io/kubernetes/pkg/apis/core"
    	kapihelper "k8s.io/kubernetes/pkg/apis/core/helper"
    
    	fuzz "github.com/google/gofuzz"
    )
    
    func newPod() *kapi.Pod {
    	return &kapi.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Annotations:     map[string]string{},
    			Name:            "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/custom_device_testutil.h

    #define TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    
    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/tf_status.h"
    
    void RegisterLoggingDevice(TFE_Context* context, const char* name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/mime/type_test.go

    	const caps = "test/test; WAS=ALLCAPS"
    
    	cleanup := setMimeInit(func() {
    		clearMimeTypes()
    		setType(".TEST", caps)
    		setType(".tesT", custom)
    	})
    	defer cleanup()
    
    	// case-sensitive lookup
    	if got := TypeByExtension(".tesT"); got != custom {
    		t.Fatalf("for .tesT, got %q; want %q", got, custom)
    	}
    	if got := TypeByExtension(".TEST"); got != caps {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 21:09:03 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_debug.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <vector>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/tfe_tensor_debug_info_internal.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_status_internal.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top