Home
last modified time | relevance | path

Searched refs:windowSize (Results 1 – 25 of 27) sorted by relevance

12

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DParameters.java46 public static Builder builder(int windowSize) { in builder() argument
47 return new Builder(windowSize); in builder()
54 private final int windowSize; field in Parameters.Builder
59 private Builder(int windowSize) { in Builder() argument
60 if (windowSize < 2 || !isPowerOfTwo(windowSize)) { in Builder()
63 this.windowSize = windowSize; in Builder()
65 maxBackReferenceLength = windowSize - 1; in Builder()
66 maxOffset = windowSize - 1; in Builder()
67 maxLiteralLength = windowSize; in Builder()
90 if (windowSize < this.minBackReferenceLength) { in withMinBackReferenceLength()
[all …]
DAbstractLZ77CompressorInputStream.java81 private final int windowSize; field in AbstractLZ77CompressorInputStream
134 …public AbstractLZ77CompressorInputStream(final InputStream is, int windowSize) throws IOException { in AbstractLZ77CompressorInputStream() argument
136 this.windowSize = windowSize; in AbstractLZ77CompressorInputStream()
137 buf = new byte[3 * windowSize]; in AbstractLZ77CompressorInputStream()
185 int len = Math.min(windowSize, data.length); in prefill()
256 if (readIndex > 2 * windowSize) { in readFromBuffer()
265 System.arraycopy(buf, windowSize, buf, 0, windowSize * 2); in slideBuffer()
266 writeIndex -= windowSize; in slideBuffer()
267 readIndex -= windowSize; in slideBuffer()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DDescriptiveStatistics.java74 protected int windowSize = INFINITE_WINDOW; field in DescriptiveStatistics
159 if (windowSize != INFINITE_WINDOW) { in addValue()
160 if (getN() == windowSize) { in addValue()
162 } else if (getN() < windowSize) { in addValue()
309 return windowSize; in getWindowSize()
321 public void setWindowSize(int windowSize) { in setWindowSize() argument
322 if (windowSize < 1) { in setWindowSize()
323 if (windowSize != INFINITE_WINDOW) { in setWindowSize()
325 LocalizedFormats.NOT_POSITIVE_WINDOW_SIZE, windowSize); in setWindowSize()
329 this.windowSize = windowSize; in setWindowSize()
[all …]
DSynchronizedDescriptiveStatistics.java129 public synchronized void setWindowSize(int windowSize) { in setWindowSize() argument
130 super.setWindowSize(windowSize); in setWindowSize()
/external/adhd/scripts/mic_testing/frontend/
Drecorder.js124 var windowSize = 10, windowSum = 0, i;
126 for (i = 0; i < freqList.length && i < windowSize; i++) {
129 if (checkFreq(windowSum / Math.min(windowSize, freqList.length))) {
134 windowSum = windowSum + freqList[i][0] - freqList[i - windowSize][0];
135 if (checkFreq(windowSum / windowSize)) {
167 var windowSize = 10, windowSum;
176 for (j = scanRange[i][0], k = 0; k < windowSize && j != scanRange[i][1];
182 freqList[j - scanRange[i][2] * windowSize][0];
183 var avg = windowSum / windowSize;
/external/lzma/Java/SevenZip/Compression/LZ/
DOutWindow.java15 public void Create(int windowSize) in Create() argument
17 if (_buffer == null || _windowSize != windowSize) in Create()
18 _buffer = new byte[windowSize]; in Create()
19 _windowSize = windowSize; in Create()
/external/lzma/CS/7zip/Compress/LZ/
DLzOutWindow.cs15 public void Create(uint windowSize) in Create() argument
17 if (_windowSize != windowSize) in Create()
20 _buffer = new byte[windowSize]; in Create()
22 _windowSize = windowSize; in Create()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz77support/
DParametersTest.java122 private static Parameters newParameters(int windowSize) { in newParameters() argument
123 return Parameters.builder(windowSize).build(); in newParameters()
126 …private static Parameters newParameters(int windowSize, int minBackReferenceLength, int maxBackRef… in newParameters() argument
128 return Parameters.builder(windowSize) in newParameters()
DLZ77CompressorTest.java338 private static Parameters newParameters(int windowSize) { in newParameters() argument
339 return Parameters.builder(windowSize).build(); in newParameters()
342 …private static Parameters newParameters(int windowSize, int minBackReferenceLength, int maxBackRef… in newParameters() argument
344 return Parameters.builder(windowSize) in newParameters()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/snappy/
DSnappyRoundtripTest.java176 …private static Parameters newParameters(int windowSize, int minBackReferenceLength, int maxBackRef… in newParameters() argument
178 return Parameters.builder(windowSize) in newParameters()
/external/skqp/src/core/
DSkBlurMask.cpp520 int windowSize = SkScalarCeilToInt(sigma*6); in BlurGroundTruth() local
522 windowSize |= 1; in BlurGroundTruth()
524 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()
526 int halfWindow = windowSize >> 1; in BlurGroundTruth()
/external/skia/src/core/
DSkBlurMask.cpp520 int windowSize = SkScalarCeilToInt(sigma*6); in BlurGroundTruth() local
522 windowSize |= 1; in BlurGroundTruth()
524 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()
526 int halfWindow = windowSize >> 1; in BlurGroundTruth()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DAbstractBenchmark.java191 FlowWindowSize windowSize, in setup() argument
225 serverBuilder.flowControlWindow(windowSize.bytes()); in setup()
226 channelBuilder.flowControlWindow(windowSize.bytes()); in setup()
/external/brotli/go/cbrotli/
Dcbrotli_test.go95 windowSize := int(math.Pow(2, lgWin))
96 input := make([]byte, 8*windowSize)
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java516 int windowSize = okHttpSettings.getInitialWindowSize(Settings.DEFAULT_INITIAL_WINDOW_SIZE); in sendConnectionPreface() local
517 if (windowSize != Settings.DEFAULT_INITIAL_WINDOW_SIZE) { in sendConnectionPreface()
518 frameWriter.windowUpdate(0, windowSize - Settings.DEFAULT_INITIAL_WINDOW_SIZE); in sendConnectionPreface()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFramedConnection.java518 int windowSize = okHttpSettings.getInitialWindowSize(Settings.DEFAULT_INITIAL_WINDOW_SIZE); in sendConnectionPreface() local
519 if (windowSize != Settings.DEFAULT_INITIAL_WINDOW_SIZE) { in sendConnectionPreface()
520 frameWriter.windowUpdate(0, windowSize - Settings.DEFAULT_INITIAL_WINDOW_SIZE); in sendConnectionPreface()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DAbstractNettyHandler.java97 int currentSize = connection().local().flowController().windowSize(connectionStream); in sendInitialConnectionWindow()
DNettyClientHandler.java193 local.windowSize(connection.connectionStream()), in newHandler()
194 remote.windowSize(connection.connectionStream())); in newHandler()
DNettyServerHandler.java357 local.windowSize(connection.connectionStream()), in handlerAdded()
358 remote.windowSize(connection.connectionStream())); in handlerAdded()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2ConnectionTest.java231 int windowSize = 100;
250 connection.okHttpSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, windowSize);
DSpdy3ConnectionTest.java1108 int windowSize = 100;
1127 connection.okHttpSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, windowSize);
/external/deqp-deps/glslang/SPIRV/
DSPVRemapper.cpp741 static const unsigned windowSize = 2; in mapFnBodies() local
759 for (unsigned i = entry-1; i >= entry-windowSize; --i) { in mapFnBodies()
765 for (unsigned i = entry; i <= entry + windowSize; ++i) { in mapFnBodies()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyHandlerTestBase.java497 connection().local().flowController().windowSize(connection().connectionStream())); in transportTracer_windowUpdate_local()
DNettyClientHandlerTest.java501 int actualWindowSize = localFlowController.windowSize(connectionStream); in connectionWindowShouldBeOverridden()
/external/brotli/research/
Dbrotlidump.py1584 self.windowSize = self.verboseRead(WindowSizeAlphabet())
1855 maxDistance = min(len(self.output), self.windowSize)

12