Home
last modified time | relevance | path

Searched refs:maxDistance (Results 1 - 11 of 11) sorted by relevance

/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/
H A DsuggestSimilar.js1 const maxDistance = 3;
9 if (Math.abs(a.length - b.length) > maxDistance) return Math.max(a.length, b.length);
67 let bestDistance = maxDistance;
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DDecode.java157 private static int calculateDistanceAlphabetLimit(int maxDistance, int npostfix, int ndirect) { in calculateDistanceAlphabetLimit() argument
158 if (maxDistance < ndirect + (2 << npostfix)) { in calculateDistanceAlphabetLimit()
159 throw new IllegalArgumentException("maxDistance is too small"); 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 in decompress()
[all...]
H A DState.java50 int maxDistance; field in State
/third_party/skia/third_party/externals/brotli/js/
H A Ddecode.js66 * @param {number} maxDistance
71 function calculateDistanceAlphabetLimit(maxDistance, npostfix, ndirect) {
72 if (maxDistance < ndirect + (2 << npostfix)) {
73 throw "maxDistance is too small";
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
[all...]
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/
H A 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()
H A DState.cs46 internal int maxDistance = 0; field in Org.Brotli.Dec.State
/third_party/skia/third_party/externals/brotli/research/
H A 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)
/third_party/vk-gl-cts/framework/common/
H A 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()
/third_party/openSLES/api/1.1/
H A DOpenSLES.h2021 SLmillimeter maxDistance
/third_party/openSLES/api/1.0.1/
H A DOpenSLES.h1821 SLmillimeter maxDistance
/third_party/openSLES/api/1.0/
H A DOpenSLES.h1815 SLmillimeter maxDistance

Completed in 27 milliseconds