- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for new_labels (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
std::string GenerateLabels(int count, const llvm::SetVector<char>& available_labels) { std::string new_labels(count, 0); for (int i = 0; i < count; ++i) { new_labels[count - 1 - i] = available_labels[i]; } return new_labels; } std::tuple<std::string, std::string, std::string> FlattenEllipsis( llvm::StringRef lhs, int lhs_named_label_count, llvm::StringRef rhs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world.go
} } if seLinuxFileLabel == "" { seLinuxFileLabel = newLabel continue } if seLinuxFileLabel != newLabel { accessMode := getVolumeAccessMode(volumeSpec) fullErr := fmt.Errorf("volume %s is used with two different SELinux contexts in the same pod: %q, %q", volumeSpec.Name(), seLinuxFileLabel, newLabel) err := handleSELinuxMetricError( fullErr, seLinuxSupported,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 27.1K bytes - Viewed (0) -
cmd/metrics-v3-types.go
continue } } labels := make([]string, 0, len(metric.VariableLabels)*2) for k, v := range metric.VariableLabels { if newLabel, ok := renameLabels[k]; ok { labels = append(labels, newLabel, v) } else { labels = append(labels, k, v) } } labels = append(labels, extraLabels...) // If valid non zero value set the metrics if metric.Value > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 07:41:18 UTC 2024 - 15.1K bytes - Viewed (0) -
src/go/types/object.go
// A Label represents a declared label. // Labels don't have a type. type Label struct { object used bool // set if the label was used } // NewLabel returns a new label. func NewLabel(pos token.Pos, pkg *Package, name string) *Label { return &Label{object{pos: pos, pkg: pkg, name: name, typ: Typ[Invalid], color_: black}, false} } // A Builtin represents a built-in function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
// A Label represents a declared label. // Labels don't have a type. type Label struct { object used bool // set if the label was used } // NewLabel returns a new label. func NewLabel(pos syntax.Pos, pkg *Package, name string) *Label { return &Label{object{pos: pos, pkg: pkg, name: name, typ: Typ[Invalid], color_: black}, false} } // A Builtin represents a built-in function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/cover/cover.go
if label, isLabel := stmt.(*ast.LabeledStmt); isLabel && !f.isControl(label.Stmt) { newLabel := *label newLabel.Stmt = &ast.EmptyStmt{ Semicolon: label.Stmt.Pos(), Implicit: true, } end = label.Pos() // Previous block ends before the label. list[last] = &newLabel // Open a gap and drop in the old statement, now without a label. list = append(list, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0)