Home
last modified time | relevance | path

Searched refs:maxDistance (Results 1 – 13 of 13) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DSphereCollisionVolume.java118 final float maxDistance = mRadius + otherRadius; in intersects() local
120 final float maxDistance2 = (maxDistance * maxDistance); in intersects()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java283 double maxDistance = Double.NEGATIVE_INFINITY; in getFarthestPoint() local
293 if (distance > maxDistance) { in getFarthestPoint()
294 maxDistance = distance; in getFarthestPoint()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckLogicalGroupings.java119 int maxDistance = getMaxDistance(path, value, sorted, values); in handleCheck() local
120 if (maxDistance >= LIMIT_DISTANCE) { in handleCheck()
121 maxDistance = getMaxDistance(path, value, paths, values); in handleCheck()
124 ….setMessage("{0} different characters within {1}; {2}", maxDistance, showInvisibles(values), pathT… in handleCheck()
/external/brotli/java/org/brotli/dec/
DDecode.java157 private static int calculateDistanceAlphabetLimit(int maxDistance, int npostfix, int ndirect) { in calculateDistanceAlphabetLimit() argument
158 if (maxDistance < ndirect + (2 << npostfix)) { in calculateDistanceAlphabetLimit()
161 int offset = ((maxDistance - ndirect) >> npostfix) + 4; in calculateDistanceAlphabetLimit()
961 int address = s.distance - s.maxDistance - 1 - s.cdTotalSize; in doUseDictionary()
1226 if (s.maxDistance != s.maxBackwardDistance in decompress()
1228 s.maxDistance = s.pos; in decompress()
1230 s.maxDistance = s.maxBackwardDistance; in decompress()
1233 if (s.distance > s.maxDistance) { in decompress()
1327 s.maxDistance = s.maxBackwardDistance; in decompress()
DState.java50 int maxDistance; field in State
/external/brotli/js/
Ddecode.js71 function calculateDistanceAlphabetLimit(maxDistance, npostfix, ndirect) { argument
72 if (maxDistance < ndirect + (2 << npostfix)) {
75 var /** number */ offset = ((maxDistance - ndirect) >> npostfix) + 4;
1099 if (s.maxDistance != s.maxBackwardDistance && s.pos < s.maxBackwardDistance) {
1100 s.maxDistance = s.pos;
1102 s.maxDistance = s.maxBackwardDistance;
1104 if (s.distance > s.maxDistance) {
1160 var /** number */ wordId = s.distance - s.maxDistance - 1;
1208 s.maxDistance = s.maxBackwardDistance;
1838 this.maxDistance = 0;
/external/zstd/lib/compress/
Dzstd_compress_internal.h1050 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() local
1052 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestMatchIndex()
1067 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex() local
1069 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestPrefixIndex()
Dzstd_fast.c240 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic() local
242 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
243 … (void)maxDistance; (void)endIndex; /* these variables are not used when assert() is disabled */ in ZSTD_compressBlock_fast_dictMatchState_generic()
Dzstd_lazy.c87 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1() local
88 U32 const windowLow = (curr - windowValid > maxDistance) ? curr - maxDistance : windowValid; in ZSTD_insertDUBT1()
613 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch_generic() local
615 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_HcFindBestMatch_generic()
/external/brotli/research/
Dbrotlidump.py1825 if offset<=maxDistance:
1826 return 'Absolute value: {} (pos {})'.format(offset, maxDistance-offset)
1828 action, word = divmod(offset-maxDistance, 1<<wordList.NDBITS[copyLen])
1830 offset, maxDistance, copyLen, word, action)
1855 maxDistance = min(len(self.output), self.windowSize)
1869 if distance<=maxDistance:
1872 maxDistance-distance,
1873 maxDistance-distance+copyLen):
1879 newWord = wordList.word(copyLen, distance-maxDistance-1)
/external/brotli/csharp/org/brotli/dec/
DDecode.cs823 if (state.maxDistance != state.maxBackwardDistance && state.pos < state.maxBackwardDistance) in Decompress()
825 state.maxDistance = state.pos; in Decompress()
829 state.maxDistance = state.maxBackwardDistance; in Decompress()
832 if (state.distance > state.maxDistance) in Decompress()
897 int wordId = state.distance - state.maxDistance - 1; in Decompress()
968 state.maxDistance = state.maxBackwardDistance; in Decompress()
DState.cs46 internal int maxDistance = 0; field in Org.Brotli.Dec.State
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp130 const float maxDistance = tcu::length(p1 - p0) + maxPixelDistance; in pixelNearLineSegment() local
132 if (tcu::length(pixelCenterPosition - p0) > maxDistance) in pixelNearLineSegment()
134 if (tcu::length(pixelCenterPosition - p1) > maxDistance) in pixelNearLineSegment()