Home
last modified time | relevance | path

Searched refs:upperBound (Results 1 – 25 of 54) sorted by relevance

123

/external/guava/guava/src/com/google/common/collect/
DRange.java132 return range.upperBound;
146 .compare(left.upperBound, right.upperBound)
152 Cut<C> lowerBound, Cut<C> upperBound) { in create() argument
153 return new Range<C>(lowerBound, upperBound); in create()
223 Cut<C> upperBound = (upperType == BoundType.OPEN) in range() local
226 return create(lowerBound, upperBound); in range()
358 final Cut<C> upperBound; field in Range
360 private Range(Cut<C> lowerBound, Cut<C> upperBound) { in Range() argument
361 if (lowerBound.compareTo(upperBound) > 0 || lowerBound == Cut.<C>aboveAll() in Range()
362 || upperBound == Cut.<C>belowAll()) { in Range()
[all …]
DTreeRangeSet.java131 return Range.create(firstEntry.getValue().lowerBound, lastEntry.getValue().upperBound); in span()
145 Cut<C> ubToAdd = rangeToAdd.upperBound; in add()
151 if (rangeBelowLB.upperBound.compareTo(lbToAdd) >= 0) { in add()
153 if (rangeBelowLB.upperBound.compareTo(ubToAdd) >= 0) { in add()
155 ubToAdd = rangeBelowLB.upperBound; in add()
169 if (rangeBelowUB.upperBound.compareTo(ubToAdd) >= 0) { in add()
171 ubToAdd = rangeBelowUB.upperBound; in add()
196 if (rangeBelowLB.upperBound.compareTo(rangeToRemove.lowerBound) >= 0) { in remove()
199 && rangeBelowLB.upperBound.compareTo(rangeToRemove.upperBound) >= 0) { in remove()
202 Range.create(rangeToRemove.upperBound, rangeBelowLB.upperBound)); in remove()
[all …]
DTreeRangeMap.java73 RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { in RangeMapEntry() argument
74 this(Range.create(lowerBound, upperBound), value); in RangeMapEntry()
101 return range.upperBound; in getUpperBound()
154 lastEntry.getValue().getKey().upperBound); in span()
157 private void putRangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { in putRangeMapEntry() argument
158 entriesByLowerBound.put(lowerBound, new RangeMapEntry<K, V>(lowerBound, upperBound, value)); in putRangeMapEntry()
178 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { in remove()
181 putRangeMapEntry(rangeToRemove.upperBound, rangeMapEntry.getUpperBound(), in remove()
191 entriesByLowerBound.lowerEntry(rangeToRemove.upperBound); in remove()
195 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { in remove()
[all …]
DTreeBasedTable.java182 @Nullable final C upperBound; field in TreeBasedTable.TreeRow
188 TreeRow(R rowKey, @Nullable C lowerBound, @Nullable C upperBound) { in TreeRow() argument
191 this.upperBound = upperBound; in TreeRow()
192 checkArgument(lowerBound == null || upperBound == null in TreeRow()
193 || compare(lowerBound, upperBound) <= 0); in TreeRow()
213 && (upperBound == null || compare(upperBound, o) > 0); in rangeContains()
229 return new TreeRow(rowKey, fromKey, upperBound); in tailMap()
274 if (upperBound != null) { in computeBackingRowMap()
275 map = map.headMap(upperBound); in computeBackingRowMap()
DForwardingSortedMultiset.java197 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
198 return delegate().headMultiset(upperBound, boundType); in headMultiset()
203 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
204 return delegate().subMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); in subMultiset()
216 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in standardSubMultiset() argument
217 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in standardSubMultiset()
DUnmodifiableSortedMultiset.java94 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
96 delegate().headMultiset(upperBound, boundType)); in headMultiset()
102 E upperBound, BoundType upperBoundType) { in subMultiset() argument
104 lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
DImmutableRangeSet.java147 ranges.get(ranges.size() - 1).upperBound); in span()
219 lowerBound = (index == 0) ? Cut.<C>belowAll() : ranges.get(index - 1).upperBound; in get()
221 lowerBound = ranges.get(index).upperBound; in get()
224 Cut<C> upperBound; in get() local
226 upperBound = Cut.<C>aboveAll(); in get()
228 upperBound = ranges.get(index + (positiveBoundedBelow ? 0 : 1)).lowerBound; in get()
231 return Range.create(lowerBound, upperBound); in get()
279 ranges, Range.<C>lowerBoundFn(), range.upperBound, KeyPresentBehavior.FIRST_PRESENT, in intersectRanges()
DSortedMultiset.java121 SortedMultiset<E> headMultiset(E upperBound, BoundType boundType); in headMultiset() argument
137 E upperBound, BoundType upperBoundType); in subMultiset() argument
DImmutableSortedMultiset.java368 public abstract ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType); in headMultiset() argument
372 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
373 checkArgument(comparator().compare(lowerBound, upperBound) <= 0, in subMultiset()
374 "Expected lowerBound <= upperBound but %s > %s", lowerBound, upperBound); in subMultiset() local
375 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in subMultiset()
DDescendingImmutableSortedMultiset.java68 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
69 return forward.tailMultiset(upperBound, boundType).descendingMultiset(); in headMultiset()
DEmptyImmutableSortedMultiset.java73 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
74 checkNotNull(upperBound); in headMultiset()
/external/apache-http/src/org/apache/http/message/
DParserCursor.java53 private final int upperBound; field in ParserCursor
56 public ParserCursor(int lowerBound, int upperBound) { in ParserCursor() argument
61 if (lowerBound > upperBound) { in ParserCursor()
65 this.upperBound = upperBound; in ParserCursor()
74 return this.upperBound; in getUpperBound()
85 if (pos > this.upperBound) { in updatePos()
92 return this.pos >= this.upperBound; in atEnd()
102 buffer.append(Integer.toString(this.upperBound)); in toString()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DUnivariateRealSolverUtils.java126 double initial, double lowerBound, double upperBound) in bracket() argument
128 return bracket( function, initial, lowerBound, upperBound, in bracket()
166 double initial, double lowerBound, double upperBound, in bracket() argument
177 if (initial < lowerBound || initial > upperBound || lowerBound >= upperBound) { in bracket()
180 lowerBound, initial, upperBound); in bracket()
190 b = FastMath.min(b + 1.0, upperBound); in bracket()
196 ((a > lowerBound) || (b < upperBound))); in bracket()
202 lowerBound, upperBound, a, b, fa, fb); in bracket()
/external/javapoet/src/main/java/com/squareup/javapoet/
DWildcardTypeName.java46 for (TypeName upperBound : this.upperBounds) { in WildcardTypeName()
47 checkArgument(!upperBound.isPrimitive() && upperBound != VOID, in WildcardTypeName()
48 "invalid upper bound: %s", upperBound); in WildcardTypeName()
79 public static WildcardTypeName subtypeOf(TypeName upperBound) { in subtypeOf() argument
80 return new WildcardTypeName(Collections.singletonList(upperBound), Collections.emptyList()); in subtypeOf()
83 public static WildcardTypeName subtypeOf(Type upperBound) { in subtypeOf() argument
84 return subtypeOf(TypeName.get(upperBound)); in subtypeOf()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DUnmodifiableSortedMultiset.java92 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
94 delegate().headMultiset(upperBound, boundType)); in headMultiset()
100 E upperBound, BoundType upperBoundType) { in subMultiset() argument
102 lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
DSortedMultiset.java51 SortedMultiset<E> headMultiset(E upperBound, BoundType boundType); in headMultiset() argument
54 E upperBound, BoundType upperBoundType); in subMultiset() argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DAbstractContinuousDistribution.java115 double upperBound = getDomainUpperBound(p); in inverseCumulativeProbability() local
120 lowerBound, upperBound); in inverseCumulativeProbability()
130 if (FastMath.abs(rootFindingFunction.value(upperBound)) < getSolverAbsoluteAccuracy()) { in inverseCumulativeProbability()
131 return upperBound; in inverseCumulativeProbability()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java428 … double upperBound, boolean lenientParse, int nonNumericalExecutedRuleMask) { in doParse() argument
437 upperBound = calcUpperBound(upperBound); in doParse()
446 … tempResult = ruleSet.parse(text, parsePosition, upperBound, nonNumericalExecutedRuleMask); in doParse()
998 double upperBound, boolean lenientParse, int nonNumericalExecutedRuleMask) { in doParse() argument
1002 …return super.doParse(text, parsePosition, baseValue, upperBound, lenientParse, nonNumericalExecute… in doParse()
1008 …Number tempResult = ruleToUse.doParse(text, parsePosition, false, upperBound, nonNumericalExecuted… in doParse()
1303 double upperBound, boolean lenientParse, int nonNumericalExecutedRuleMask) { in doParse() argument
1626 double upperBound, boolean lenientParse, int nonNumericalExecutedRuleMask) { in doParse() argument
1662 …Number result = super.doParse(text, parsePosition, withZeros ? 1 : baseValue, upperBound, false, … in doParse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java429 … double upperBound, boolean lenientParse, int nonNumericalExecutedRuleMask) { in doParse() argument
438 upperBound = calcUpperBound(upperBound); in doParse()
447 … tempResult = ruleSet.parse(text, parsePosition, upperBound, nonNumericalExecutedRuleMask); in doParse()
999 double upperBound, boolean lenientParse, int nonNumericalExecutedRuleMask) { in doParse() argument
1003 …return super.doParse(text, parsePosition, baseValue, upperBound, lenientParse, nonNumericalExecute… in doParse()
1009 …Number tempResult = ruleToUse.doParse(text, parsePosition, false, upperBound, nonNumericalExecuted… in doParse()
1304 double upperBound, boolean lenientParse, int nonNumericalExecutedRuleMask) { in doParse() argument
1627 double upperBound, boolean lenientParse, int nonNumericalExecutedRuleMask) { in doParse() argument
1663 …Number result = super.doParse(text, parsePosition, withZeros ? 1 : baseValue, upperBound, false, … in doParse()
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp159 double upperBound,
226 double upperBound,
298 double upperBound,
696 double upperBound, in doParse() argument
702 fprintf(stderr, "<nfsubs> %x bv: %g ub: %g\n", this, baseValue, upperBound); in doParse()
710 upperBound = calcUpperBound(upperBound); in doParse()
719 ruleSet->parse(text, parsePosition, upperBound, nonNumericalExecutedRuleMask, result); in doParse()
939 double upperBound, in doParse() argument
947 …return NFSubstitution::doParse(text, parsePosition, baseValue, upperBound, lenientParse, nonNumeri… in doParse()
953 … ruleToUse->doParse(text, parsePosition, FALSE, upperBound, nonNumericalExecutedRuleMask, result); in doParse()
[all …]
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java491 private final Type upperBound; field in MoreTypes.WildcardTypeImpl
503 this.upperBound = Object.class; in WildcardTypeImpl()
509 this.upperBound = canonicalize(upperBounds[0]); in WildcardTypeImpl()
515 return new Type[] {upperBound}; in getUpperBounds()
525 return MoreTypes.isFullySpecified(upperBound) in isFullySpecified()
537 return (lowerBound != null ? 31 + lowerBound.hashCode() : 1) ^ (31 + upperBound.hashCode()); in hashCode()
544 } else if (upperBound == Object.class) { in toString()
547 return "? extends " + typeToString(upperBound); in toString()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypesTest.java233 WildcardType upperBound = in testNewWildcardType() local
240 assertEqualWildcardType(upperBoundJvmType, upperBound); in testNewWildcardType()
246 .addEqualityGroup(upperBoundJvmType, upperBound) in testNewWildcardType()
306 TypeVariable<?> upperBound = withBounds( in testNewTypeVariable() local
313 assertEqualTypeVariable(upperBoundJvmType, upperBound); in testNewTypeVariable()
318 .addEqualityGroup(upperBoundJvmType, upperBound) in testNewTypeVariable()
/external/skqp/tests/
DIncrTopoSortTest.cpp226 void dfs(Node* node, int upperBound) { in dfs() argument
232 SkASSERT(dependent->indexInSort() != upperBound); // this would be a cycle in dfs()
234 if (!dependent->visited() && dependent->indexInSort() < upperBound) { in dfs()
235 this->dfs(dependent, upperBound); in dfs()
239 fStack.push_back({ sk_ref_sp(node), fNodes[upperBound].get() }); in dfs()
/external/skia/tests/
DIncrTopoSortTest.cpp226 void dfs(Node* node, int upperBound) { in dfs() argument
232 SkASSERT(dependent->indexInSort() != upperBound); // this would be a cycle in dfs()
234 if (!dependent->visited() && dependent->indexInSort() < upperBound) { in dfs()
235 this->dfs(dependent, upperBound); in dfs()
239 fStack.push_back({ sk_ref_sp(node), fNodes[upperBound].get() }); in dfs()
/external/syzkaller/vendor/golang.org/x/net/trace/
Dhistogram.go298 var upperBound int64
300 upperBound = bucketBoundary(uint8(i + 1))
302 upperBound = math.MaxInt64
306 Upper: upperBound,

123