Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,423 for qsort (0.04 sec)

  1. src/cmd/compile/internal/test/inst_test.go

    	// the executable.
    	cmd = testenv.Command(t, gotool, "tool", "nm", dest)
    	if output, err = cmd.CombinedOutput(); err != nil {
    		t.Fatalf("Failed: %v:\nOut: %s\n", err, output)
    	}
    	// Look for shape-based instantiation of Sort, but ignore any extra wrapper
    	// ending in "-tramp" (which are created on riscv).
    	re := regexp.MustCompile(`\bSort\[.*shape.*\][^-]`)
    	r := re.FindAllIndex(output, -1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. hack/update-vendor.sh

          echo "${dep} ${repo}" >> "${TMP_DIR}/tidy_deps.txt"
          # switch the required version to an explicit v0.0.0 (rather than an unknown v0.0.0-00010101000000-000000000000)
          go mod edit -require "${dep}@v0.0.0"
        done
      )
    done < "${tidy_unordered}"
    
    kube::log::status "go.mod: tidying" >&11
    for repo in $(tsort "${TMP_DIR}/tidy_deps.txt"); do
      (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. src/sort/sort_slices_benchmark_test.go

    	for i := 0; i < b.N; i++ {
    		Sort(StringSlice(ss))
    	}
    }
    
    func BenchmarkSlicesSortStrings_Sorted(b *testing.B) {
    	ss := makeSortedStrings(N)
    	b.ResetTimer()
    
    	for i := 0; i < b.N; i++ {
    		slices.Sort(ss)
    	}
    }
    
    // These benchmarks compare sorting a slice of structs with sort.Sort vs.
    // slices.SortFunc.
    type myStruct struct {
    	a, b, c, d string
    	n          int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 22:59:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/orig/view/search.jsp

    				data-toggle="control-options"> <c:if test="${empty sort}">
    						<la:message key="labels.searchoptions_score" />
    					</c:if> <c:if test="${sort=='score.desc'}">
    						<la:message key="labels.searchoptions_score" />
    					</c:if> <c:if test="${sort=='filename.asc'}">
    						<la:message key="labels.search_result_sort_filename_asc" />
    					</c:if> <c:if test="${sort=='filename.desc'}">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/search.jsp

    				data-toggle="control-options"> <c:if test="${empty sort}">
    						<la:message key="labels.searchoptions_score" />
    					</c:if> <c:if test="${sort=='score.desc'}">
    						<la:message key="labels.searchoptions_score" />
    					</c:if> <c:if test="${sort=='filename.asc'}">
    						<la:message key="labels.search_result_sort_filename_asc" />
    					</c:if> <c:if test="${sort=='filename.desc'}">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. src/cmd/nm/nm.go

    	"bufio"
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"sort"
    
    	"cmd/internal/objfile"
    	"cmd/internal/telemetry"
    )
    
    const helpText = `usage: go tool nm [options] file...
      -n
          an alias for -sort address (numeric),
          for compatibility with other nm commands
      -size
          print symbol size in decimal between address and type
      -sort {address,name,none,size}
          sort output in the given order (default name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. pkg/config/host/names_test.go

    		t.Run(fmt.Sprintf("%d", idx), func(t *testing.T) {
    			// Save a copy to report errors with
    			tmp := make(host.Names, len(tt.in))
    			copy(tmp, tt.in)
    
    			sort.Sort(tt.in)
    			if !reflect.DeepEqual(tt.in, tt.want) {
    				t.Fatalf("sort.Sort(%v) = %v, want %v", tmp, tt.in, tt.want)
    			}
    		})
    	}
    }
    
    func BenchmarkNamesSort(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 10:35:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/go/scanner/errors.go

    	}
    	return p[i].Msg < p[j].Msg
    }
    
    // Sort sorts an [ErrorList]. *[Error] entries are sorted by position,
    // other errors are sorted by error message, and before any *[Error]
    // entry.
    func (p ErrorList) Sort() {
    	sort.Sort(p)
    }
    
    // RemoveMultiples sorts an [ErrorList] and removes all but the first error per line.
    func (p *ErrorList) RemoveMultiples() {
    	sort.Sort(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/sort/sort_impl_go121.go

    // slices package to implement some `sort` functions faster. However, until
    // the bootstrap compiler uses Go 1.21 or later, we keep a fallback version
    // in sort_impl_120.go that retains the old implementation.
    
    package sort
    
    import "slices"
    
    func intsImpl(x []int)         { slices.Sort(x) }
    func float64sImpl(x []float64) { slices.Sort(x) }
    func stringsImpl(x []string)   { slices.Sort(x) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 13:00:18 UTC 2023
    - 876 bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestScenarioDefinition.groovy

        void writeTo(File file) {
            sort()
            new ObjectMapper().writerWithDefaultPrettyPrinter().writeValue(file, this)
            file.append('\n')
        }
    
        PerformanceTestScenarioDefinition sort() {
            // Sort all fields before writing to get a deterministic result
            Collections.sort(performanceTests, { a, b -> a.testId <=> b.testId })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top