- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 3,671 for Sort (0.04 sec)
-
src/cmd/go/internal/gover/mod.go
if path == "toolchain" { return Compare(maybeToolchainVersion(x), maybeToolchainVersion(y)) } return semver.Compare(x, y) } // ModSort is like module.Sort but understands the "go" and "toolchain" // modules and their version ordering. func ModSort(list []module.Version) { sort.Slice(list, func(i, j int) bool { mi := list[i] mj := list[j] if mi.Path != mj.Path { return mi.Path < mj.Path }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:18:46 UTC 2023 - 3.4K bytes - Viewed (0) -
hack/update-vendor.sh
local require_json="${local_tmp_dir}/require.json" local replace_json="${local_tmp_dir}/replace.json" go mod edit -json \ | jq -r ".Require // [] | sort | .[] | select(${require_filter})" \ > "${require_json}" go mod edit -json \ | jq -r ".Replace // [] | sort | .[] | select(${replace_filter})" \ > "${replace_json}"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:08 UTC 2024 - 15.6K bytes - Viewed (0) -
operator/cmd/mesh/profile-list.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package mesh import ( "sort" "github.com/spf13/cobra" "istio.io/istio/operator/pkg/helm" ) type profileListArgs struct { // manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/ctrlz/topics/env.go
// See the License for the specific language governing permissions and // limitations under the License. package topics import ( "net/http" "os" "sort" "strings" "istio.io/istio/pkg/ctrlz/fw" "istio.io/istio/pkg/ctrlz/topics/assets" ) type envTopic struct{} // EnvTopic returns a ControlZ topic that allows visualization of process environment variables.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/credentialprovider/plugins.go
See the License for the specific language governing permissions and limitations under the License. */ package credentialprovider import ( "reflect" "sort" "sync" "k8s.io/klog/v2" ) // All registered credential providers. var providersMutex sync.Mutex var providers = make(map[string]DockerConfigProvider)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 22:01:25 UTC 2024 - 2K bytes - Viewed (0) -
cmd/os-readdir_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "os" "path" "path/filepath" "runtime" "sort" "testing" ) // Test to check for different input arguments. func TestReadDirFail(t *testing.T) { // Check non existent directory. if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/example_test.go
} var items []string for obj, uses := range usesByObj { sort.Strings(uses) item := fmt.Sprintf("%s:\n defined at %s\n used at %s", types2.ObjectString(obj, types2.RelativeTo(pkg)), obj.Pos(), strings.Join(uses, ", ")) items = append(items, item) } sort.Strings(items) // sort by line:col, in effect fmt.Println(strings.Join(items, "\n")) fmt.Println()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/inittask.go
continue // already found } q = append(q, s) m[s] = 0 // mark as found } m[x] = ndeps if ndeps == 0 { h.push(ldr, x) } } // Sort edges so we can look them up by edge destination. sort.Slice(edges, func(i, j int) bool { return edges[i].to < edges[j].to }) // Figure out the schedule. sched := ldr.MakeSymbolBuilder(symName)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/test/csrctrl/authority/policies.go
} else { unrecognized = append(unrecognized, usage) } } var sorted sortedExtKeyUsage for eku := range extKeyUsages { sorted = append(sorted, eku) } sort.Sort(sorted) if len(unrecognized) > 0 { return 0, nil, fmt.Errorf("unrecognized usage values: %q", unrecognized) } return keyUsage, []x509.ExtKeyUsage(sorted), nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 03 17:06:22 UTC 2022 - 4.5K bytes - Viewed (0) -
pkg/util/smallset/smallset.go
if len(items) == 1 { return Set[T]{items: items} } slices.Sort(items) items = slices.FilterDuplicatesPresorted(items) return Set[T]{items: items} } // CopyAndInsert builds a *new* with all the current items plus new items func (s Set[T]) CopyAndInsert(items ...T) Set[T] { slices.Sort(items) // This is basically the 'merge' part of merge sort. a := s.items b := items nl := make([]T, 0, len(a)+len(b))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 3.2K bytes - Viewed (0)