Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,476 for Sort (0.07 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

        }
    
    
        /**
         * Returns a sorted copy of the provided collection of things. Uses the provided comparator to sort.
         */
        public static <T> List<T> sort(Iterable<? extends T> things, Comparator<? super T> comparator) {
            List<T> copy = toMutableList(things);
            Collections.sort(copy, comparator);
            return copy;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

    /**
     * ProjectSorter
     */
    public class ProjectSorter {
        private Graph graph;
    
        private List<MavenProject> sortedProjects;
    
        private Map<String, MavenProject> projectMap;
    
        /**
         * Sort a list of projects.
         * <ul>
         * <li>collect all the vertices for the projects that we want to build.</li>
         * <li>iterate through the deps of each project and if that dep is within
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/trace/tasks.go

    		for _, task := range tasks {
    			stats, ok := summary[task.Name]
    			if !ok {
    				stats.Type = task.Name
    			}
    			stats.add(task)
    			summary[task.Name] = stats
    		}
    
    		// Sort tasks by type.
    		userTasks := make([]taskStats, 0, len(summary))
    		for _, stats := range summary {
    			userTasks = append(userTasks, stats)
    		}
    		slices.SortFunc(userTasks, func(a, b taskStats) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. cmd/signature-v4.go

    // types.
    // - Based on Authorization header.
    // - Based on Query parameters.
    // - Based on Form POST policy.
    package cmd
    
    import (
    	"bytes"
    	"crypto/subtle"
    	"encoding/hex"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_test.go

    		t.Error(err)
    	}
    	pods, err = om.podsLister.Pods(set.Namespace).List(selector)
    	if err != nil {
    		t.Error(err)
    	}
    	if len(pods) != 5 {
    		t.Error("StatefulSet does not respect termination")
    	}
    	sort.Sort(ascendingOrdinal(pods))
    	spc.DeleteStatefulPod(set, pods[3])
    	spc.DeleteStatefulPod(set, pods[4])
    	*set.Spec.Replicas = 0
    	if err := scaleDownStatefulSetController(logger, set, ssc, spc, om); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/UnsupportedConfigurationMutationTest.groovy

                        doLast {
                            def files = configurations.compile.files
                            assert files*.name.sort() == ["api.jar", "extra-1.5.jar"]
                            assert files*.exists() == [ true, true ]
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 17.6K bytes
    - Viewed (2)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

            assert projectFile.headerFiles == resourceApp.headerFiles*.withPath("src/main").sort()
            assert projectFile.sourceFiles == ['build.gradle'] + sources*.withPath("src/main").sort()
            assert projectFile.resourceFiles == resources*.withPath("src/main").sort()
    
            projectFile.projectConfigurations.keySet() == projectConfigurations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/endtoend_test.go

    // license that can be found in the LICENSE file.
    
    package asm
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"internal/buildcfg"
    	"os"
    	"path/filepath"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

            if (const auto max_savings = MaxSavings(begin, end, peak.op_index);
                max_savings >= min_savings) {
              pre_screen.emplace_back(max_savings, begin, end);
            }
          }
        }
        std::sort(pre_screen.begin(), pre_screen.end());
    
        for (; !pre_screen.empty(); pre_screen.pop_back()) {
          const auto& [max_savings, begin, end] = pre_screen.back();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. src/sort/gen_sort_variants.go

    //go:build ignore
    
    // This program is run via "go generate" (via a directive in sort.go)
    // to generate implementation variants of the underlying sorting algorithm.
    // When passed the -generic flag it generates generic variants of sorting;
    // otherwise it generates the non-generic variants used by the sort package.
    
    package main
    
    import (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/format"
    	"log"
    	"os"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top