Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for leftLen (0.64 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

            !replace(l, { false }, transformer { it })
        }
    
        def "diffing sets"() {
            given:
            def leftSet = left as Set
            def rightSet = right as Set
            def leftOnlySet = leftOnly as Set
            def rightOnlySet = rightOnly as Set
    
            when:
            def diff = diffSetsBy(leftSet, rightSet, transformer { it + 10 })
    
            then:
            diff.leftOnly == leftOnlySet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

             */
            V rightValue = uncheckedCastNullableTToT(onlyOnRight.remove(leftKey));
            if (valueEquivalence.equivalent(leftValue, rightValue)) {
              onBoth.put(leftKey, leftValue);
            } else {
              differences.put(leftKey, ValueDifferenceImpl.create(leftValue, rightValue));
            }
          } else {
            onlyOnLeft.put(leftKey, leftValue);
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

             */
            V rightValue = uncheckedCastNullableTToT(onlyOnRight.remove(leftKey));
            if (valueEquivalence.equivalent(leftValue, rightValue)) {
              onBoth.put(leftKey, leftValue);
            } else {
              differences.put(leftKey, ValueDifferenceImpl.create(leftValue, rightValue));
            }
          } else {
            onlyOnLeft.put(leftKey, leftValue);
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/entity.go

    	"&LeftDownVectorBar;":               "\u2959",
    	"&LeftFloor;":                       "\u230a",
    	"&LeftRightArrow;":                  "\u2194",
    	"&LeftRightVector;":                 "\u294e",
    	"&LeftTee;":                         "\u22a3",
    	"&LeftTeeArrow;":                    "\u21a4",
    	"&LeftTeeVector;":                   "\u295a",
    	"&LeftTriangle;":                    "\u22b2",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 101K bytes
    - Viewed (0)
Back to top