- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,760 for labelA (0.32 sec)
-
src/cmd/compile/internal/types2/labels.go
// insert records a new label declaration for the current block. // The label must not have been declared before in any block. func (b *block) insert(s *syntax.LabeledStmt) { name := s.Label.Value if debug { assert(b.gotoTarget(name) == nil) } labels := b.labels if labels == nil { labels = make(map[string]*syntax.LabeledStmt) b.labels = labels } labels[name] = s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
src/internal/types/testdata/check/labels.go
// This file is a modified concatenation of the files // $GOROOT/test/label.go and $GOROOT/test/label1.go. package labels var x int func f0() { L1 /* ERROR "label L1 declared and not used" */ : for { } L2 /* ERROR "label L2 declared and not used" */ : select { } L3 /* ERROR "label L3 declared and not used" */ : switch { } L4 /* ERROR "label L4 declared and not used" */ : if true { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/labels.go
} // newPodLabels creates pod labels from v1.Pod. func newPodLabels(pod *v1.Pod) map[string]string { labels := map[string]string{} // Get labels from v1.Pod for k, v := range pod.Labels { labels[k] = v } labels[types.KubernetesPodNameLabel] = pod.Name labels[types.KubernetesPodNamespaceLabel] = pod.Namespace labels[types.KubernetesPodUIDLabel] = string(pod.UID) return labels }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 10.9K bytes - Viewed (0) -
src/runtime/pprof/label.go
for k, v := range parentLabels { childLabels[k] = v } for _, label := range labels.list { childLabels[label.key] = label.value } return context.WithValue(ctx, labelContextKey{}, &childLabels) } // Labels takes an even number of strings representing key-value pairs // and makes a [LabelSet] containing them. // A label overwrites a prior label with the same key.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/label/label.go
LabelTopologyRegion = "topology.kubernetes.io/region" ) // AugmentLabels adds additional labels to the those provided. func AugmentLabels(in labels.Instance, clusterID cluster.ID, locality, k8sNode string, networkID network.ID) labels.Instance { // Copy the original labels to a new map. out := make(labels.Instance, len(in)+6) for k, v := range in { out[k] = v }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 03:56:40 UTC 2023 - 2.2K bytes - Viewed (0) -
pkg/kube/labels/labels.go
if value, ok := labels[key]; ok { return value, true } } return "", false } func HasCanonicalServiceName(labels map[string]string) bool { _, ok := lookupLabelValue(labels, nameLabels...) return ok } func HasCanonicalServiceRevision(labels map[string]string) bool { _, ok := lookupLabelValue(labels, revisionLabels...) return ok } func canonicalServiceRevision(labels map[string]string) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodeaffinity/node_affinity_test.go
Annotations: map[string]string{}, }, }, nodes: []*v1.Node{ {ObjectMeta: metav1.ObjectMeta{Name: "node1", Labels: label1}}, {ObjectMeta: metav1.ObjectMeta{Name: "node2", Labels: label2}}, {ObjectMeta: metav1.ObjectMeta{Name: "node3", Labels: label3}}, }, expectedList: []framework.NodeScore{{Name: "node1", Score: 0}, {Name: "node2", Score: 0}, {Name: "node3", Score: 0}}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 12:00:10 UTC 2023 - 38.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
const char* label1, const char* label2); // APIs for String Gauge with 3 labels. typedef struct TFE_MonitoringStringGauge3 TFE_MonitoringStringGauge3; TF_CAPI_EXPORT extern TFE_MonitoringStringGauge3* TFE_MonitoringNewStringGauge3( const char* name, TF_Status* out_status, const char* description, const char* label1, const char* label2, const char* label3);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
src/go/types/labels.go
// insert records a new label declaration for the current block. // The label must not have been declared before in any block. func (b *block) insert(s *ast.LabeledStmt) { name := s.Label.Name if debug { assert(b.gotoTarget(name) == nil) } labels := b.labels if labels == nil { labels = make(map[string]*ast.LabeledStmt) b.labels = labels } labels[name] = s } // gotoTarget returns the labeled statement in the current
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Label.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.logging.console; public interface Label { void setText(String text);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 721 bytes - Viewed (0)