Home
last modified time | relevance | path

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

1234

/external/guava/android/guava/src/com/google/common/collect/
DRange.java136 return range.upperBound; in apply()
154 static <C extends Comparable<?>> Range<C> create(Cut<C> lowerBound, Cut<C> upperBound) { in create() argument
155 return new Range<C>(lowerBound, upperBound); in create()
222 Cut<C> upperBound = in range() local
224 return create(lowerBound, upperBound); in range()
349 final Cut<C> upperBound; field in Range
351 private Range(Cut<C> lowerBound, Cut<C> upperBound) { in Range() argument
353 this.upperBound = checkNotNull(upperBound); in Range()
354 if (lowerBound.compareTo(upperBound) > 0 in Range()
356 || upperBound == Cut.<C>belowAll()) { in Range()
[all …]
DTreeRangeSet.java172 return Range.create(firstEntry.getValue().lowerBound, lastEntry.getValue().upperBound); in span()
186 Cut<C> ubToAdd = rangeToAdd.upperBound; in add()
192 if (rangeBelowLB.upperBound.compareTo(lbToAdd) >= 0) { in add()
194 if (rangeBelowLB.upperBound.compareTo(ubToAdd) >= 0) { in add()
196 ubToAdd = rangeBelowLB.upperBound; in add()
210 if (rangeBelowUB.upperBound.compareTo(ubToAdd) >= 0) { in add()
212 ubToAdd = rangeBelowUB.upperBound; in add()
237 if (rangeBelowLB.upperBound.compareTo(rangeToRemove.lowerBound) >= 0) { in remove()
240 && rangeBelowLB.upperBound.compareTo(rangeToRemove.upperBound) >= 0) { in remove()
243 Range.create(rangeToRemove.upperBound, rangeBelowLB.upperBound)); in remove()
[all …]
DTreeRangeMap.java70 RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { in RangeMapEntry() argument
71 this(Range.create(lowerBound, upperBound), value); in RangeMapEntry()
98 return range.upperBound; in getUpperBound()
150 entriesByLowerBound.floorEntry(range.upperBound); in coalescedRange()
187 firstEntry.getValue().getKey().lowerBound, lastEntry.getValue().getKey().upperBound); in span()
190 private void putRangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { in putRangeMapEntry() argument
191 entriesByLowerBound.put(lowerBound, new RangeMapEntry<K, V>(lowerBound, upperBound, value)); in putRangeMapEntry()
211 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { in remove()
215 rangeToRemove.upperBound, in remove()
228 entriesByLowerBound.lowerEntry(rangeToRemove.upperBound); in remove()
[all …]
DTreeBasedTable.java173 @NullableDecl final C upperBound; field in TreeBasedTable.TreeRow
179 TreeRow(R rowKey, @NullableDecl C lowerBound, @NullableDecl C upperBound) { in TreeRow() argument
182 this.upperBound = upperBound; in TreeRow()
184 lowerBound == null || upperBound == null || compare(lowerBound, upperBound) <= 0); in TreeRow()
207 && (upperBound == null || compare(upperBound, o) > 0); in rangeContains()
225 return new TreeRow(rowKey, fromKey, upperBound); in tailMap()
271 if (upperBound != null) { in computeBackingRowMap()
272 map = map.headMap(upperBound); in computeBackingRowMap()
DForwardingSortedMultiset.java199 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
200 return delegate().headMultiset(upperBound, boundType); in headMultiset()
205 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
206 return delegate().subMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); in subMultiset()
218 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in standardSubMultiset() argument
219 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in standardSubMultiset()
DUnmodifiableSortedMultiset.java93 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
94 return Multisets.unmodifiableSortedMultiset(delegate().headMultiset(upperBound, boundType)); in headMultiset()
99 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
101 delegate().subMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
/external/guava/guava/src/com/google/common/collect/
DRange.java136 return range.upperBound; in apply()
154 static <C extends Comparable<?>> Range<C> create(Cut<C> lowerBound, Cut<C> upperBound) { in create() argument
155 return new Range<C>(lowerBound, upperBound); in create()
222 Cut<C> upperBound = in range() local
224 return create(lowerBound, upperBound); in range()
349 final Cut<C> upperBound; field in Range
351 private Range(Cut<C> lowerBound, Cut<C> upperBound) { in Range() argument
353 this.upperBound = checkNotNull(upperBound); in Range()
354 if (lowerBound.compareTo(upperBound) > 0 in Range()
356 || upperBound == Cut.<C>belowAll()) { in Range()
[all …]
DTreeRangeSet.java170 return Range.create(firstEntry.getValue().lowerBound, lastEntry.getValue().upperBound); in span()
184 Cut<C> ubToAdd = rangeToAdd.upperBound; in add()
190 if (rangeBelowLB.upperBound.compareTo(lbToAdd) >= 0) { in add()
192 if (rangeBelowLB.upperBound.compareTo(ubToAdd) >= 0) { in add()
194 ubToAdd = rangeBelowLB.upperBound; in add()
208 if (rangeBelowUB.upperBound.compareTo(ubToAdd) >= 0) { in add()
210 ubToAdd = rangeBelowUB.upperBound; in add()
235 if (rangeBelowLB.upperBound.compareTo(rangeToRemove.lowerBound) >= 0) { in remove()
238 && rangeBelowLB.upperBound.compareTo(rangeToRemove.upperBound) >= 0) { in remove()
241 Range.create(rangeToRemove.upperBound, rangeBelowLB.upperBound)); in remove()
[all …]
DTreeRangeMap.java70 RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { in RangeMapEntry() argument
71 this(Range.create(lowerBound, upperBound), value); in RangeMapEntry()
98 return range.upperBound; in getUpperBound()
148 entriesByLowerBound.floorEntry(range.upperBound); in coalescedRange()
185 firstEntry.getValue().getKey().lowerBound, lastEntry.getValue().getKey().upperBound); in span()
188 private void putRangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { in putRangeMapEntry() argument
189 entriesByLowerBound.put(lowerBound, new RangeMapEntry<K, V>(lowerBound, upperBound, value)); in putRangeMapEntry()
209 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { in remove()
213 rangeToRemove.upperBound, in remove()
226 entriesByLowerBound.lowerEntry(rangeToRemove.upperBound); in remove()
[all …]
DTreeBasedTable.java173 final @Nullable C upperBound; field in TreeBasedTable.TreeRow
179 TreeRow(R rowKey, @Nullable C lowerBound, @Nullable C upperBound) { in TreeRow() argument
182 this.upperBound = upperBound; in TreeRow()
184 lowerBound == null || upperBound == null || compare(lowerBound, upperBound) <= 0); in TreeRow()
207 && (upperBound == null || compare(upperBound, o) > 0); in rangeContains()
225 return new TreeRow(rowKey, fromKey, upperBound); in tailMap()
271 if (upperBound != null) { in computeBackingRowMap()
272 map = map.headMap(upperBound); in computeBackingRowMap()
DForwardingSortedMultiset.java199 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
200 return delegate().headMultiset(upperBound, boundType); in headMultiset()
205 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
206 return delegate().subMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); in subMultiset()
218 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in standardSubMultiset() argument
219 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in standardSubMultiset()
DUnmodifiableSortedMultiset.java93 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
94 return Multisets.unmodifiableSortedMultiset(delegate().headMultiset(upperBound, boundType)); in headMultiset()
99 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
101 delegate().subMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
/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/
DForwardingSortedMultiset.java186 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
187 return delegate().headMultiset(upperBound, boundType); in headMultiset()
192 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
193 return delegate().subMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); in subMultiset()
205 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in standardSubMultiset() argument
206 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in standardSubMultiset()
DUnmodifiableSortedMultiset.java89 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
90 return Multisets.unmodifiableSortedMultiset(delegate().headMultiset(upperBound, boundType)); in headMultiset()
95 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
97 delegate().subMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
DSortedMultiset.java51 SortedMultiset<E> headMultiset(E upperBound, BoundType boundType); in headMultiset() argument
54 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType); in subMultiset() argument
/external/guava/guava-gwt/src/com/google/common/collect/
DRange_CustomFieldSerializer.java46 Cut upperBound; in instantiate() local
52 upperBound = upperIsClosed ? Cut.aboveValue(upper) : Cut.belowValue(upper); in instantiate()
54 upperBound = Cut.aboveAll(); in instantiate()
57 return Range.create(lowerBound, upperBound); in instantiate()
/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/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/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/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/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dtessellator.cpp549 float lowerBound = 0.0, upperBound = 0.0; in QuadProcessTessFactors() local
555 upperBound = D3D11_TESSELLATOR_MAX_EVEN_TESSELLATION_FACTOR; in QuadProcessTessFactors()
560 upperBound = D3D11_TESSELLATOR_MAX_EVEN_TESSELLATION_FACTOR; in QuadProcessTessFactors()
565 upperBound = D3D11_TESSELLATOR_MAX_ODD_TESSELLATION_FACTOR; in QuadProcessTessFactors()
569 tessFactor_Ueq0 = tess_fmin( upperBound, tess_fmax( lowerBound, tessFactor_Ueq0 ) ); in QuadProcessTessFactors()
570 tessFactor_Veq0 = tess_fmin( upperBound, tess_fmax( lowerBound, tessFactor_Veq0 ) ); in QuadProcessTessFactors()
571 tessFactor_Ueq1 = tess_fmin( upperBound, tess_fmax( lowerBound, tessFactor_Ueq1 ) ); in QuadProcessTessFactors()
572 tessFactor_Veq1 = tess_fmin( upperBound, tess_fmax( lowerBound, tessFactor_Veq1 ) ); in QuadProcessTessFactors()
601 insideTessFactor_U = tess_fmin( upperBound, tess_fmax( lowerBound, insideTessFactor_U ) ); in QuadProcessTessFactors()
602 insideTessFactor_V = tess_fmin( upperBound, tess_fmax( lowerBound, insideTessFactor_V ) ); in QuadProcessTessFactors()
[all …]

1234