- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 320 for RES (0.03 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
w.CanonicalName, w.CanonicalRevision = kubelabels.CanonicalService(se.Labels, w.WorkloadName) setTunnelProtocol(se.Labels, se.Annotations, w) res = append(res, model.WorkloadInfo{Workload: w, Labels: se.Labels, Source: kind.WorkloadEntry, CreationTime: se.CreationTimestamp.Time}) } return res } } func setTunnelProtocol(labels, annotations map[string]string, w *workloadapi.Workload) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
src/go/types/alias.go
obj := NewTypeName(pos, orig.obj.pkg, orig.obj.name, nil) rhs := check.subst(pos, orig.fromRHS, makeSubstMap(orig.TypeParams().list(), targs), nil, ctxt) res := check.newAlias(obj, rhs) res.orig = orig res.tparams = orig.tparams res.targs = newTypeList(targs) return res } func (a *Alias) cleanup() { // Ensure a.actual is set before types are published, // so Unalias is a pure "getter", not a "setter".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5.1K bytes - Viewed (0) -
src/testing/benchmark_test.go
} }) }) } func TestReportMetric(t *testing.T) { res := testing.Benchmark(func(b *testing.B) { b.ReportMetric(12345, "ns/op") b.ReportMetric(0.2, "frobs/op") }) // Test built-in overriding. if res.NsPerOp() != 12345 { t.Errorf("NsPerOp: expected %v, actual %v", 12345, res.NsPerOp()) } // Test stringing. res.N = 1 // Make the output stable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/kube/kclient/client.go
var res []T err := cache.ListAllByNamespace(n.informer.GetIndexer(), namespace, selector, func(i any) { cast := i.(T) if n.applyFilter(cast) { res = append(res, cast) } }) // Should never happen if err != nil && features.EnableUnsafeAssertions { log.Fatalf("lister returned err for %v: %v", namespace, err) } return res }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 07:14:28 UTC 2024 - 13K bytes - Viewed (0) -
tools/istio-iptables/pkg/builder/iptables_builder_impl.go
} func replaceVersionSpecific(contents string, inputs ...string) []string { res := make([]string, 0, len(inputs)) for _, i := range inputs { if i == constants.IPVersionSpecific { res = append(res, contents) } else { res = append(res, i) } } return res
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 14:29:54 UTC 2024 - 8.3K bytes - Viewed (0) -
cni/pkg/repair/netns.go
} func runInHost[T any](f func() (T, error)) (T, error) { var res T ns := getPidNamespace(1) err := netns.WithNetNSPath(ns, func(_ netns.NetNS) error { var err error res, err = f() return err }) if err != nil { return res, fmt.Errorf("in network namespace %v: %v", ns, err) } return res, nil } func checkInterfacesForMatchingAddr(targetAddr net.IP) (match bool, err error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 04:07:10 UTC 2024 - 4.3K bytes - Viewed (0) -
internal/logger/targets.go
sys := SystemTargets() audit := AuditTargets() res := make(map[string]types.TargetStats, len(sys)+len(audit)) cnt := make(map[string]int, len(sys)+len(audit)) // Add system and audit. for _, t := range sys { key := strings.ToLower(t.Type().String()) n := cnt[key] cnt[key]++ key = fmt.Sprintf("sys_%s_%d", key, n) res[key] = t.Stats() } for _, t := range audit {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:44:50 UTC 2024 - 6K bytes - Viewed (0) -
tests/integration/telemetry/tracing/otelcollector/tracing_test.go
) //go:embed testdata/otel-tracing.yaml var otelTracingCfg string //go:embed testdata/otel-tracing-http.yaml var otelTracingHTTPCfg string //go:embed testdata/otel-tracing-res-detectors.yaml var otelTracingResDetectorsCfg string // TestProxyTracingOpenTelemetryProvider validates that Telemetry API configuration // referencing an OpenTelemetry provider will generate traces appropriately.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 22:56:30 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc
llvm::SmallVector<ReadVariableOp, 4>& reads) { for (ReadVariableOp read : reads) { Value res = read.getResource(); Operation* scope = res.getParentBlock()->getParentOp(); if (!scope->isProperAncestor(replicate)) continue; bool has_conflicting_write = false; for (OpOperand& use : res.getUses()) { Operation* using_op = use.getOwner(); if (using_op == read) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
); let results = (outs Res<TF_Float32Tensor, [{A 4D Tensor for output data.}]>:$y, Res<TF_Float32Tensor, [{A 1D Tensor for the computed batch mean, to be used by TensorFlow to compute the running mean.}]>:$batch_mean, Res<TF_Float32Tensor, [{A 1D Tensor for the computed batch variance, to be used by TensorFlow to compute the running variance.}]>:$batch_variance,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0)