Home
last modified time | relevance | path

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

1234

/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
DDescendingImmutableSortedMultiset.java68 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
69 return forward.tailMultiset(upperBound, boundType).descendingMultiset(); in headMultiset()
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()
DEmptyImmutableSortedMultiset.java73 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
74 checkNotNull(upperBound); in headMultiset()
DRegularImmutableSortedMultiset.java86 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() argument
87 return getSubMultiset(0, elementSet.headIndex(upperBound, checkNotNull(boundType) == CLOSED)); 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/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/opencv/cv/src/
Dcvcondens.cpp232 cvConDensInitSampleSet( CvConDensation * conDens, CvMat * lowerBound, CvMat * upperBound ) in cvConDensInitSampleSet() argument
242 if( !conDens || !lowerBound || !upperBound ) in cvConDensInitSampleSet()
246 !CV_ARE_TYPES_EQ(lowerBound,upperBound) ) in cvConDensInitSampleSet()
249 if( (lowerBound->cols != 1) || (upperBound->cols != 1) ) in cvConDensInitSampleSet()
252 if( (lowerBound->rows != conDens->DP) || (upperBound->rows != conDens->DP) ) in cvConDensInitSampleSet()
256 UBound = upperBound->data.fl; in cvConDensInitSampleSet()
/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.java400 double upperBound, boolean lenientParse) { in doParse() argument
409 upperBound = calcUpperBound(upperBound); in doParse()
418 tempResult = ruleSet.parse(text, parsePosition, upperBound); in doParse()
951 double upperBound, boolean lenientParse) { in doParse() argument
955 return super.doParse(text, parsePosition, baseValue, upperBound, lenientParse); in doParse()
961 Number tempResult = ruleToUse.doParse(text, parsePosition, false, upperBound); in doParse()
1252 double upperBound, boolean lenientParse) { in doParse() argument
1559 double upperBound, boolean lenientParse) { in doParse() argument
1595 … 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.java399 double upperBound, boolean lenientParse) { in doParse() argument
408 upperBound = calcUpperBound(upperBound); in doParse()
417 tempResult = ruleSet.parse(text, parsePosition, upperBound); in doParse()
950 double upperBound, boolean lenientParse) { in doParse() argument
954 return super.doParse(text, parsePosition, baseValue, upperBound, lenientParse); in doParse()
960 Number tempResult = ruleToUse.doParse(text, parsePosition, false, upperBound); in doParse()
1251 double upperBound, boolean lenientParse) { in doParse() argument
1558 double upperBound, boolean lenientParse) { in doParse() argument
1594 … Number result = super.doParse(text, parsePosition, withZeros ? 1 : baseValue, upperBound, false); in doParse()
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java482 private final Type upperBound; field in MoreTypes.WildcardTypeImpl
494 this.upperBound = Object.class; in WildcardTypeImpl()
500 this.upperBound = canonicalize(upperBounds[0]); in WildcardTypeImpl()
505 return new Type[] { upperBound }; in getUpperBounds()
513 return MoreTypes.isFullySpecified(upperBound) in isFullySpecified()
525 ^ (31 + upperBound.hashCode()); in hashCode()
531 } else if (upperBound == Object.class) { in toString()
534 return "? extends " + typeToString(upperBound); in toString()
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp160 double upperBound,
226 double upperBound,
297 double upperBound,
679 double upperBound, in doParse() argument
684 fprintf(stderr, "<nfsubs> %x bv: %g ub: %g\n", this, baseValue, upperBound); in doParse()
692 upperBound = calcUpperBound(upperBound); in doParse()
701 ruleSet->parse(text, parsePosition, upperBound, result); in doParse()
923 double upperBound, in doParse() argument
930 … return NFSubstitution::doParse(text, parsePosition, baseValue, upperBound, lenientParse, result); in doParse()
936 ruleToUse->doParse(text, parsePosition, FALSE, upperBound, result); in doParse()
[all …]
Dnfrule.h77 double upperBound,
98 double upperBound) const;
/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/guice/core/src/com/google/inject/
DTypeLiteral.java235 Type upperBound = resolveType(originalUpperBound[0]); in resolveType() local
236 if (upperBound != originalUpperBound[0]) { in resolveType()
237 return Types.subtypeOf(upperBound); in resolveType()

1234