Home
last modified time | relevance | path

Searched refs:windowSize (Results 1 – 25 of 38) 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/angle/src/libANGLE/renderer/d3d/d3d11/winrt/
DCoreWindowNativeWindow.h42 HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) override;
78 ABI::Windows::Foundation::Size windowSize; in IFACEMETHOD() local
79 if (SUCCEEDED(sizeChangedEventArgs->get_Size(&windowSize))) in IFACEMETHOD()
81 Size windowSizeInPixels = {ConvertDipsToPixels(windowSize.Width), in IFACEMETHOD()
82 ConvertDipsToPixels(windowSize.Height)}; in IFACEMETHOD()
95 Size *windowSize);
DSwapChainPanelNativeWindow.cpp326 HRESULT SwapChainPanelNativeWindow::scaleSwapChain(const Size &windowSize, const RECT &clientRect) in scaleSwapChain() argument
328 Size renderScale = {windowSize.Width / (float)clientRect.right, in scaleSwapChain()
329 windowSize.Height / (float)clientRect.bottom}; in scaleSwapChain()
348 Size *windowSize) in GetSwapChainPanelSize() argument
355 [uiElement, windowSize] { return uiElement->get_RenderSize(windowSize); }, dispatcher); in GetSwapChainPanelSize()
DCoreWindowNativeWindow.cpp193 inline HRESULT CoreWindowNativeWindow::scaleSwapChain(const Size &windowSize, in scaleSwapChain() argument
202 Size *windowSize) in GetCoreWindowSizeInPixels() argument
208 *windowSize = {ConvertDipsToPixels(bounds.Width), ConvertDipsToPixels(bounds.Height)}; in GetCoreWindowSizeInPixels()
DSwapChainPanelNativeWindow.h34 HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) override;
94 Size *windowSize);
DInspectableNativeWindow.h105 virtual HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) = 0;
/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/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DAccelerometerFragment.java152 static List<Entry> smoothEntries(List<Entry> entries, int windowSize) { in smoothEntries() argument
154 for (int i = windowSize; i < entries.size() - windowSize; i++) { in smoothEntries()
157 for (int j = i - windowSize; j <= i + windowSize; j++) { in smoothEntries()
158 avg += entries.get(j).getY() / (2 * windowSize + 1); in smoothEntries()
/external/u-boot/lib/zstd/
Ddecompress.c209 fparamsPtr->windowSize = 0; /* windowSize==0 means a frame is skippable */ in ZSTD_getFrameParams()
230 U32 windowSize = 0; in ZSTD_getFrameParams() local
240 windowSize = (1U << windowLog); in ZSTD_getFrameParams()
241 windowSize += (windowSize >> 3) * (wlByte & 7); in ZSTD_getFrameParams()
270 if (!windowSize) in ZSTD_getFrameParams()
271 windowSize = (U32)frameContentSize; in ZSTD_getFrameParams()
272 if (windowSize > windowSizeMax) in ZSTD_getFrameParams()
275 fparamsPtr->windowSize = windowSize; in ZSTD_getFrameParams()
293 if (fParams.windowSize == 0) { in ZSTD_getFrameContentSize()
1243 static seq_t ZSTD_decodeSequenceLong(seqState_t *seqState, unsigned const windowSize) in ZSTD_decodeSequenceLong() argument
[all …]
/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.cpp514 int windowSize = SkScalarCeilToInt(sigma*6); in BlurGroundTruth() local
516 windowSize |= 1; in BlurGroundTruth()
518 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()
520 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/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/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/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DAbstractNettyHandler.java97 int currentSize = connection().local().flowController().windowSize(connectionStream); in sendInitialConnectionWindow()
/external/angle/util/osx/
DOSXWindow.mm134 NSSize windowSize = [[mWindow->getNSWindow() contentView] frame].size;
137 event.Size.Width = (int)windowSize.width;
138 event.Size.Height = (int)windowSize.height;

12