- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for mustSelect (0.09 sec)
-
src/cmd/go/internal/workcmd/sync.go
var ( mustSelect []module.Version inMustSelect = map[module.Version]bool{} ) for _, pkg := range pkgs { if r := modload.PackageModule(pkg); r.Version != "" && !inMustSelect[r] { // r has a known version, so force that version. mustSelect = append(mustSelect, r) inMustSelect[r] = true } } gover.ModSort(mustSelect) // ensure determinism mustSelectFor[m] = mustSelect
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 4.6K bytes - Viewed (0) -
src/cmd/go/internal/modload/edit.go
// some version in mustSelect. It may be incomplete, but we want to report // as many conflicts as we can so that the user can solve more of them at once. var conflicts []Conflict // mustSelectVersion is an index of the versions in mustSelect. mustSelectVersion := make(map[string]string, len(mustSelect)) for _, r := range mustSelect { if v, ok := mustSelectVersion[r.Path]; ok && v != r.Version {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 21:46:32 UTC 2024 - 34.1K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
// requirements as needed) until every module in mustSelect is selected at the // given version. // // (Note that the newly-added modules might not be selected in the resulting // build list: they could be lower than existing requirements or conflict with // versions in mustSelect.) // // If the versions listed in mustSelect are mutually incompatible (due to one of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
podLabels := mustGetLabels(t, deployment, "spec.template.metadata.labels") // Check all selectors align mustSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabels) mustSelect(t, mustGetLabels(t, service, "spec.selector"), podLabels) mustSelect(t, mustGetLabels(t, deployment, "spec.selector.matchLabels"), podLabels) if hpaName := mustGetPath(t, hpa, "spec.scaleTargetRef.name"); cname != hpaName {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
pv := m.expected.(PathValue) node := actual.(map[string]any) return fmt.Sprintf("Expected path %s with value \n\n%v\nto NOT be a subset of \n\n%v", pv.path, pv.value, util.ToYAML(node)) } func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) { t.Helper() kselector := labels2.Set(selector).AsSelectorPreValidated() if !kselector.Matches(labels2.Set(labels)) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K bytes - Viewed (0)