- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 134 for nameslice (0.15 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor.cc
#include "tensorflow/core/platform/stringpiece.h" #include "tsl/platform/status.h" using tensorflow::StatusFromTF_Status; namespace stream_executor { using tensorflow::StringPiece; // TODO(penporn): Remove OwnedTFStatus. using OwnedTFStatus = tensorflow::TF_StatusPtr; namespace { absl::Status ValidateSPPlatform(const SP_Platform& platform) { TF_VALIDATE_STRUCT_SIZE(SP_Platform, platform, SP_PLATFORM_STRUCT_SIZE);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/destinationrule/ca-certificates.go
return true }) } func (c *CaCertificateAnalyzer) analyzeDestinationRule(r *resource.Instance, ctx analysis.Context) { dr := r.Message.(*v1alpha3.DestinationRule) drNs := r.Metadata.FullName.Namespace drName := r.Metadata.FullName.String() mode := dr.GetTrafficPolicy().GetTls().GetMode() if mode == v1alpha3.ClientTLSSettings_SIMPLE || mode == v1alpha3.ClientTLSSettings_MUTUAL {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_builder_test.go
const strictMode = ` apiVersion: security.istio.io/v1beta1 kind: PeerAuthentication metadata: name: default namespace: istio-system spec: mtls: mode: STRICT ` const disableMode = ` apiVersion: security.istio.io/v1beta1 kind: PeerAuthentication metadata: name: default namespace: istio-system spec: mtls: mode: DISABLE ` func TestInboundListenerFilters(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
// add a few objects v := storage.APIObjectVersioner{} lastRV := uint64(0) for i := 0; i < 5; i++ { pod := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("foo-%d", i), Namespace: "test-ns"}} out := &example.Pod{} key := computePodKey(pod) if err := etcdStorage.Create(context.Background(), key, pod, out, 0); err != nil { t.Fatalf("Create failed: %v", err) } var err error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
} } return clone } // BuildConfigInfoMetadata builds core.Metadata struct containing the // name.namespace of the config, the type, etc. func BuildConfigInfoMetadata(config config.Meta) *core.Metadata { return AddConfigInfoMetadata(nil, config) } // AddConfigInfoMetadata adds name.namespace of the config, the type, etc // to the given core.Metadata struct, if metadata is not initialized, build a new metadata.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
} } func TestPrintNamespace(t *testing.T) { tests := []struct { namespace api.Namespace expected []metav1.TableRow }{ // Basic namespace with status and age. { namespace: api.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: "namespace1", CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
#include "tensorflow/lite/tools/optimize/test_util.h" // Note: branched from tensorflow/lite/tools/optimize/quantize_model_test.cc namespace { tensorflow::string* g_test_model_dir = nullptr; } // namespace namespace tflite { namespace optimize { namespace { using testing::Eq; using testing::FloatEq; using testing::FloatNear; using testing::IsEmpty; using testing::NotNull; using testing::SizeIs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
return pb } func (pb podBuilder) ns(n string) podBuilder { pb.Namespace = n return pb } func (pb podBuilder) uid(u string) podBuilder { pb.UID = types.UID(u) return pb } func (pb podBuilder) job(j *batch.Job) podBuilder { pb.Labels = j.Spec.Selector.MatchLabels pb.Namespace = j.Namespace pb.OwnerReferences = []metav1.OwnerReference{*metav1.NewControllerRef(j, controllerKind)}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
#include "tensorflow/core/framework/types.h" #include "tensorflow/core/protobuf/tpu/topology.pb.h" #include "tensorflow/core/util/device_name_utils.h" #include "tsl/platform/errors.h" #include "tsl/platform/statusor.h" namespace tensorflow { // Device coordinates are defined as (x, y, z, core), thus resulting in a rank 4 // topology. constexpr int kTPUTopologyRank = 4; constexpr char kDeviceTPUSystem[] = "TPU_SYSTEM";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
schema/schema.go
return fmt.Sprintf("%s(%s)", schema.Name, schema.Table) } return fmt.Sprintf("%s.%s", schema.ModelType.PkgPath(), schema.ModelType.Name()) } func (schema Schema) MakeSlice() reflect.Value { slice := reflect.MakeSlice(reflect.SliceOf(reflect.PointerTo(schema.ModelType)), 0, 20) results := reflect.New(slice.Type()) results.Elem().Set(slice) return results }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 13.7K bytes - Viewed (0)