/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/ |
D | Parameters.java | 46 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 …]
|
D | AbstractLZ77CompressorInputStream.java | 81 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/ |
D | DescriptiveStatistics.java | 74 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 …]
|
D | SynchronizedDescriptiveStatistics.java | 129 public synchronized void setWindowSize(int windowSize) { in setWindowSize() argument 130 super.setWindowSize(windowSize); in setWindowSize()
|
/external/adhd/scripts/mic_testing/frontend/ |
D | recorder.js | 124 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/ |
D | OutWindow.java | 15 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/ |
D | LzOutWindow.cs | 15 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/ |
D | ParametersTest.java | 122 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()
|
D | LZ77CompressorTest.java | 338 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/ |
D | SnappyRoundtripTest.java | 176 …private static Parameters newParameters(int windowSize, int minBackReferenceLength, int maxBackRef… in newParameters() argument 178 return Parameters.builder(windowSize) in newParameters()
|
/external/skqp/src/core/ |
D | SkBlurMask.cpp | 520 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/ |
D | SkBlurMask.cpp | 520 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/ |
D | AbstractBenchmark.java | 191 FlowWindowSize windowSize, in setup() argument 225 serverBuilder.flowControlWindow(windowSize.bytes()); in setup() 226 channelBuilder.flowControlWindow(windowSize.bytes()); in setup()
|
/external/brotli/go/cbrotli/ |
D | cbrotli_test.go | 95 windowSize := int(math.Pow(2, lgWin)) 96 input := make([]byte, 8*windowSize)
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedConnection.java | 516 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/ |
D | FramedConnection.java | 518 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/ |
D | AbstractNettyHandler.java | 97 int currentSize = connection().local().flowController().windowSize(connectionStream); in sendInitialConnectionWindow()
|
D | NettyClientHandler.java | 193 local.windowSize(connection.connectionStream()), in newHandler() 194 remote.windowSize(connection.connectionStream())); in newHandler()
|
D | NettyServerHandler.java | 357 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/ |
D | Http2ConnectionTest.java | 231 int windowSize = 100; 250 connection.okHttpSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, windowSize);
|
D | Spdy3ConnectionTest.java | 1108 int windowSize = 100; 1127 connection.okHttpSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, windowSize);
|
/external/deqp-deps/glslang/SPIRV/ |
D | SPVRemapper.cpp | 741 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/ |
D | NettyHandlerTestBase.java | 497 connection().local().flowController().windowSize(connection().connectionStream())); in transportTracer_windowUpdate_local()
|
D | NettyClientHandlerTest.java | 501 int actualWindowSize = localFlowController.windowSize(connectionStream); in connectionWindowShouldBeOverridden()
|
/external/brotli/research/ |
D | brotlidump.py | 1584 self.windowSize = self.verboseRead(WindowSizeAlphabet()) 1855 maxDistance = min(len(self.output), self.windowSize)
|