Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for leftLen (0.12 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
    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/zsortfunc.go

    			a = mid
    			continue
    		}
    
    		mid, alreadyPartitioned := partition_func(data, a, b, pivot)
    		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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  3. src/sort/zsortinterface.go

    			a = mid
    			continue
    		}
    
    		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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  4. src/slices/zsortanyfunc.go

    			a = mid
    			continue
    		}
    
    		mid, alreadyPartitioned := partitionCmpFunc(data, a, b, pivot, cmp)
    		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
    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

    			a = mid
    			continue
    		}
    
    		mid, alreadyPartitioned := partitionOrdered(data, a, b, pivot)
    		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
    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

    			continue
    		}
    
    		mid, alreadyPartitioned := partition{{.FuncSuffix}}(data, a, b, pivot {{.ExtraArg}})
    		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
    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. subprojects/core/src/main/java/org/gradle/process/internal/util/MergeOptionsUtil.java

                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;
                        }
                    }
                }
            }
            return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/EitherTest.groovy

        }
    
        def "apply() works"() {
            def signal = new RuntimeException()
    
            when:
            left.apply({ throw signal }, { assert false })
            then:
            def leftEx = thrown RuntimeException
            leftEx == signal
    
            when:
            right.apply({ assert false }, { throw signal })
            then:
            def rightEx = thrown RuntimeException
            rightEx == signal
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

      private static final String S0 = "3";
      private static final String S1 = "Ninety five";
      private static final String S2 = "44 one million";
      private static final String S3 = "Lowly laundry lefties";
      private static final String S4 = "89273487U#*&#";
      private static final Double D0 = 9.234d;
      private static final Double D1 = -1.2e55;
    
      @Benchmark
      int hashString_2(int reps) {
        int dummy = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

      private static final String S0 = "3";
      private static final String S1 = "Ninety five";
      private static final String S2 = "44 one million";
      private static final String S3 = "Lowly laundry lefties";
      private static final String S4 = "89273487U#*&#";
      private static final Double D0 = 9.234d;
      private static final Double D1 = -1.2e55;
    
      @Benchmark
      int hashString_2(int reps) {
        int dummy = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
Back to top