Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for maxswap (0.21 sec)

  1. src/sort/zsortfunc.go

    // [shortestNinther,∞): uses the Tukey ninther method.
    func choosePivot_func(data lessSwap, a, b int) (pivot int, hint sortedHint) {
    	const (
    		shortestNinther = 50
    		maxSwaps        = 4 * 3
    	)
    
    	l := b - a
    
    	var (
    		swaps int
    		i     = a + l/4*1
    		j     = a + l/4*2
    		k     = a + l/4*3
    	)
    
    	if l >= 8 {
    		if l >= shortestNinther {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  2. src/slices/zsortanyfunc.go

    // [shortestNinther,∞): uses the Tukey ninther method.
    func choosePivotCmpFunc[E any](data []E, a, b int, cmp func(a, b E) int) (pivot int, hint sortedHint) {
    	const (
    		shortestNinther = 50
    		maxSwaps        = 4 * 3
    	)
    
    	l := b - a
    
    	var (
    		swaps int
    		i     = a + l/4*1
    		j     = a + l/4*2
    		k     = a + l/4*3
    	)
    
    	if l >= 8 {
    		if l >= shortestNinther {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

     * declared in the POM.
     *
     */
    public class ProjectModelResolver implements ModelResolver {
    
        private static final int MAX_CAP = 0x7fff;
    
        private final RepositorySystemSession session;
    
        private final RequestTrace trace;
    
        private final String context = "project";
    
        private List<RemoteRepository> repositories;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

        new File(projectDirectory, "gradle.properties") << "\norg.gradle.workers.max=${maxWorkers}\n"
    
    }
    
    private void setMaxHeap(File projectDirectory, String maxHeap) {
        new File(projectDirectory, "gradle.properties") << "\norg.gradle.jvmargs=-Xmx${maxHeap}\n"
    
    }
    
    private void setParallel(File projectDirectory, boolean parallel) {
        new File(projectDirectory, "gradle.properties") << "\norg.gradle.parallel=${parallel}\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

        def "interesting worker daemon fork options are honored"() {
            OptionsVerifier optionsVerifier = new OptionsVerifier(file('process.json'))
            optionsVerifier.with {
                minHeap("128m")
                maxHeap("128m")
                systemProperty("foo", "bar")
                jvmArgs("-Dbar=baz")
                defaultCharacterEncoding("UTF-8")
                enableAssertions()
                environmentVariable("foo", "bar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. src/slices/zsortordered.go

    // [shortestNinther,∞): uses the Tukey ninther method.
    func choosePivotOrdered[E cmp.Ordered](data []E, a, b int) (pivot int, hint sortedHint) {
    	const (
    		shortestNinther = 50
    		maxSwaps        = 4 * 3
    	)
    
    	l := b - a
    
    	var (
    		swaps int
    		i     = a + l/4*1
    		j     = a + l/4*2
    		k     = a + l/4*3
    	)
    
    	if l >= 8 {
    		if l >= shortestNinther {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. src/slices/slices_test.go

    			}
    		})
    	}
    
    }
    
    func TestInsertGrowthRate(t *testing.T) {
    	b := make([]byte, 1)
    	maxCap := cap(b)
    	nGrow := 0
    	const N = 1e6
    	for i := 0; i < N; i++ {
    		b = Insert(b, len(b)-1, 0)
    		if cap(b) > maxCap {
    			maxCap = cap(b)
    			nGrow++
    		}
    	}
    	want := int(math.Log(N) / math.Log(1.25)) // 1.25 == growth rate for large slices
    	if nGrow > want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. src/sort/gen_sort_variants.go

    // [shortestNinther,∞): uses the Tukey ninther method.
    func choosePivot{{.FuncSuffix}}{{.TypeParam}}(data {{.DataType}}, a, b int {{.ExtraParam}}) (pivot int, hint sortedHint) {
    	const (
    		shortestNinther = 50
    		maxSwaps        = 4 * 3
    	)
    
    	l := b - a
    
    	var (
    		swaps int
    		i     = a + l/4*1
    		j     = a + l/4*2
    		k     = a + l/4*3
    	)
    
    	if l >= 8 {
    		if l >= shortestNinther {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. common/config/.golangci.yml

          - stringXbytes
          - switchTrue
          - typeAssertChain
          - typeSwitchVar
          - typeUnparen
          - underef
          - unlambda
          - unnecessaryBlock
          - unslice
          - valSwap
          - weakCond
      depguard:
        rules:
          DenyGogoProtobuf:
            files:
              - $all
            deny:
              - pkg: github.com/gogo/protobuf
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go

    	{"net.pflow.stats", []_C_int{4, 34, 1}},
    	{"net.pipex.enable", []_C_int{4, 35, 1}},
    	{"vm.anonmin", []_C_int{2, 7}},
    	{"vm.loadavg", []_C_int{2, 2}},
    	{"vm.malloc_conf", []_C_int{2, 12}},
    	{"vm.maxslp", []_C_int{2, 10}},
    	{"vm.nkmempages", []_C_int{2, 6}},
    	{"vm.psstrings", []_C_int{2, 3}},
    	{"vm.swapencrypt.enable", []_C_int{2, 5, 0}},
    	{"vm.swapencrypt.keyscreated", []_C_int{2, 5, 1}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top