Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for rightLen (0.16 sec)

  1. src/regexp/onepass.go

    var (
    	noRune = []rune{}
    	noNext = []uint32{mergeFailed}
    )
    
    func mergeRuneSets(leftRunes, rightRunes *[]rune, leftPC, rightPC uint32) ([]rune, []uint32) {
    	leftLen := len(*leftRunes)
    	rightLen := len(*rightRunes)
    	if leftLen&0x1 != 0 || rightLen&0x1 != 0 {
    		panic("mergeRuneSets odd length []rune")
    	}
    	var (
    		lx, rx int
    	)
    	merged := make([]rune, 0)
    	next := make([]uint32, 0)
    	ok := true
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. src/sort/zsortinterface.go

    		mid, alreadyPartitioned := partition(data, a, b, pivot)
    		wasPartitioned = alreadyPartitioned
    
    		leftLen, rightLen := mid-a, b-mid
    		balanceThreshold := length / 8
    		if leftLen < rightLen {
    			wasBalanced = leftLen >= balanceThreshold
    			pdqsort(data, a, mid, limit)
    			a = mid + 1
    		} else {
    			wasBalanced = rightLen >= balanceThreshold
    			pdqsort(data, mid+1, b, limit)
    			b = mid
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  3. src/sort/zsortfunc.go

    		wasPartitioned = alreadyPartitioned
    
    		leftLen, rightLen := mid-a, b-mid
    		balanceThreshold := length / 8
    		if leftLen < rightLen {
    			wasBalanced = leftLen >= balanceThreshold
    			pdqsort_func(data, a, mid, limit)
    			a = mid + 1
    		} else {
    			wasBalanced = rightLen >= balanceThreshold
    			pdqsort_func(data, mid+1, b, limit)
    			b = mid
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  4. src/slices/zsortanyfunc.go

    		wasPartitioned = alreadyPartitioned
    
    		leftLen, rightLen := mid-a, b-mid
    		balanceThreshold := length / 8
    		if leftLen < rightLen {
    			wasBalanced = leftLen >= balanceThreshold
    			pdqsortCmpFunc(data, a, mid, limit, cmp)
    			a = mid + 1
    		} else {
    			wasBalanced = rightLen >= balanceThreshold
    			pdqsortCmpFunc(data, mid+1, b, limit, cmp)
    			b = mid
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  5. src/slices/zsortordered.go

    		wasPartitioned = alreadyPartitioned
    
    		leftLen, rightLen := mid-a, b-mid
    		balanceThreshold := length / 8
    		if leftLen < rightLen {
    			wasBalanced = leftLen >= balanceThreshold
    			pdqsortOrdered(data, a, mid, limit)
    			a = mid + 1
    		} else {
    			wasBalanced = rightLen >= balanceThreshold
    			pdqsortOrdered(data, mid+1, b, limit)
    			b = mid
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/sort/gen_sort_variants.go

    		wasPartitioned = alreadyPartitioned
    
    		leftLen, rightLen := mid-a, b-mid
    		balanceThreshold := length / 8
    		if leftLen < rightLen {
    			wasBalanced = leftLen >= balanceThreshold
    			pdqsort{{.FuncSuffix}}(data, a, mid, limit {{.ExtraArg}})
    			a = mid + 1
    		} else {
    			wasBalanced = rightLen >= balanceThreshold
    			pdqsort{{.FuncSuffix}}(data, mid+1, b, limit {{.ExtraArg}})
    			b = mid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  7. test/tighten.go

    // errorcheck -0 -d=ssa/tighten/debug=1
    
    //go:build arm64
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    var (
    	e  any
    	ts uint16
    )
    
    func moveValuesWithMemoryArg(len int) {
    	for n := 0; n < len; n++ {
    		// Load of e.data is lowed as a MOVDload op, which has a memory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 513 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/tighten.go

    package ssa
    
    import "cmd/compile/internal/base"
    
    // tighten moves Values closer to the Blocks in which they are used.
    // This can reduce the amount of register spilling required,
    // if it doesn't also create more live values.
    // A Value can be moved to any block that
    // dominates all blocks in which it is used.
    func tighten(f *Func) {
    	if base.Flag.N != 0 && len(f.Blocks) < 10000 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/util/MergeOptionsUtil.java

            for (String rightKey : right.keySet()) {
                if (!normalized(left.keySet()).contains(normalized(rightKey))) {
                    return false;
                } else {
                    for (String leftKey : left.keySet()) {
                        if (normalized(leftKey).equals(normalized(rightKey)) && !left.get(leftKey).equals(right.get(rightKey))) {
                            return false;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/compile.go

    	{name: "lowered cse", fn: cse},
    	{name: "elim unread autos", fn: elimUnreadAutos},
    	{name: "tighten tuple selectors", fn: tightenTupleSelectors, required: true},
    	{name: "lowered deadcode", fn: deadcode, required: true},
    	{name: "checkLower", fn: checkLower, required: true},
    	{name: "late phielim and copyelim", fn: copyelim},
    	{name: "tighten", fn: tighten, required: true}, // move values closer to their uses
    	{name: "late deadcode", fn: deadcode},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top