Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 5,965 for nameslice (0.28 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/rest/meta.go

    		// unset, default to request namespace
    		obj.SetNamespace(requestNamespace)
    		return nil
    
    	case requestNamespace == metav1.NamespaceNone:
    		// cluster-scoped, clear namespace
    		obj.SetNamespace(metav1.NamespaceNone)
    		return nil
    
    	default:
    		// mismatch, error
    		return errors.NewBadRequest("the namespace of the provided object does not match the namespace sent on the request")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 19 01:47:23 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/tests/value_test.cc

    #include "tensorflow/cc/experimental/libtf/value.h"
    
    #include <cstdint>
    
    #include "tensorflow/cc/experimental/libtf/value_iostream.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tf {
    namespace libtf {
    namespace impl {
    
    TEST(ValueTest, TestBasic) {
      TaggedValue valuef(3.f);
      TaggedValue valuei(int64_t(3));
      TaggedValue list = TaggedValue::List();
      TaggedValue tuple = TaggedValue::Tuple();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. pilot/test/mock/config.go

    func CheckCacheFreshness(cache model.ConfigStoreController, namespace string, t *testing.T) {
    	stop := make(chan struct{})
    	done := make(chan bool)
    	o := Make(namespace, 0)
    
    	// validate cache consistency
    	cache.RegisterEventHandler(mockGvk, func(_, config config2.Config, ev model.Event) {
    		elts := cache.List(mockGvk, namespace)
    		elt := cache.Get(o.GroupVersionKind, o.Name, o.Namespace)
    		switch ev {
    		case model.EventAdd:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  4. operator/pkg/compare/compare_test.go

    		},
    		{
    			desc: "two additional",
    			a: `apiVersion: autoscaling/v2
    kind: HorizontalPodAutoscaler
    metadata:
      namespace: istio-system
      labels:
        release: istio`,
    			b: `apiVersion: autoscaling/v2
    kind: HorizontalPodAutoscaler
    metadata:
      name: istio-ingressgateway
      namespace: istio-system
      labels:
        app: istio-ingressgateway
        release: istio`,
    			want: `metadata:
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 33K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/table/writer_test.go

    )
    
    type testObject struct {
    	name      string
    	namespace string
    	version   string
    }
    
    var newTestObject = func(name, namespace, version string) testObject {
    	return testObject{
    		name:      name,
    		namespace: namespace,
    		version:   version,
    	}
    }
    
    func TestWriter(t *testing.T) {
    	got := &bytes.Buffer{}
    	w := NewStyleWriter(got)
    	w.AddHeader("NAME", "NAMESPACE", "VERSION")
    	w.SetAddRowFunc(func(obj interface{}) Row {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Oct 08 04:41:42 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. pkg/api/testing/backward_compatibility_test.go

    	"metadata":{"name":"my-pod-name", "namespace":"my-pod-namespace"},
    	"spec": {
    		"hostIPC": true,
    		"containers":[{
    			"name":"a",
    			"image":"my-container-image"
    		}]
    	}
    }
    `,
    			expectedKeys: map[string]string{
    				"spec.hostIPC": "true",
    			},
    		},
    		{
    			name: "hostIPC = false",
    			input: `
    {
    	"kind":"Pod",
    	"apiVersion":"v1",
    	"metadata":{"name":"my-pod-name", "namespace":"my-pod-namespace"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 01 18:45:58 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/testdata/route-binding.status.yaml.golden

        parentRef:
          kind: Gateway
          name: gateway
          namespace: istio-system
          sectionName: same-namespace
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      creationTimestamp: null
      name: section-name-cross-namespace
      namespace: default
    spec: null
    status:
      parents:
      - conditions:
        - lastTransitionTime: fake
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables_test_pass.cc

    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/fake_session.h"
    
    namespace mlir {
    namespace tf_saved_model {
    namespace {
    using ::tensorflow::Session;
    
    #define GEN_PASS_DEF_LIFTVARIABLESTESTPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/test_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libexport/load_test.cc

    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace libexport {
    namespace {
    
    TEST(LoadTest, TestDiskSavedModelLoad) {
      StatusOr<TFPackage> result = TFPackage::Load("test");
      EXPECT_FALSE(result.status().ok());
    }
    
    }  // namespace
    }  // namespace libexport
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 07 15:53:47 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/cpp/renderers/cpp_config.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    struct CppConfig {
      string category;
      string unit;
      std::vector<string> namespaces;
    
      explicit CppConfig() = default;
      explicit CppConfig(const string &category,
                         const string &name_space = "tensorflow::ops");
    };
    
    }  // namespace cpp
    }  // namespace generator
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 00:34:05 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top