- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for bufferSize (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
final int chunkSize; final int bufferSize; final ByteArrayOutputStream out = new ByteArrayOutputStream(); int processCalled = 0; boolean remainingCalled = false; Sink(int chunkSize, int bufferSize) { super(chunkSize, bufferSize); this.chunkSize = chunkSize; this.bufferSize = bufferSize; } Sink(int chunkSize) { super(chunkSize);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/BufferCacheTest.java
private final List<byte[]> cache; private final int bufferSize; private final int maxBuffers; public TestBufferCacheImpl(int maxBuffers, int bufferSize) { this.maxBuffers = maxBuffers; this.bufferSize = bufferSize; this.cache = new ArrayList<>(maxBuffers); } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/TopKSelector.java
T[] castBuffer = (T[]) buffer; sort(castBuffer, 0, bufferSize, comparator); if (bufferSize > k) { Arrays.fill(buffer, k, buffer.length, null); bufferSize = k; threshold = buffer[k - 1]; } // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null) T[] topK = Arrays.copyOf(castBuffer, bufferSize); // we have to support null elements, so no ImmutableList for usCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
// Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); int[] bufferSizes = { 0, 10, 50, 100, 1024 }; for (int bufferSize : bufferSizes) { byte[] dst = new byte[bufferSize]; // When int result = smbComTreeDisconnect.writeParameterWordsWireFormat(dst, 0); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@DisplayName("Should handle various buffer configurations") void testVariousBufferConfigurations(int bufferSize, int offset, int length) { byte[] buffer = new byte[bufferSize]; FileFsSizeInformation info = new FileFsSizeInformation(); if (offset + length <= bufferSize && length >= 24) { assertDoesNotThrow(() -> { info.decode(buffer, offset, length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/JobProcess.java
* * @param process the system process to wrap * @param bufferSize the buffer size for reading process output * @param outputCallback the callback function to handle process output lines */ public JobProcess(final Process process, final int bufferSize, final Consumer<String> outputCallback) { this.process = process;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt
* [WindowCounter] generally carries the client view of total and acked bytes. */ fun receivingStreamWindowChanged( streamId: Int, windowCounter: WindowCounter, bufferSize: Long, ) /** * Notification that the receiving connection flow control window has changed. * [WindowCounter] generally carries the client view of total and acked bytes. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
String testPath = "\\server\\share"; byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE); int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminator byte[] buffer = new byte[bufferSize]; // Path consumed (2 bytes) - value: 10 * 2 = 20 SMBUtil.writeInt2(20, buffer, 0); // Number of referrals (2 bytes) - value: 1Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
} OPCODE_CONTROL_CLOSE -> { var code = CLOSE_NO_STATUS_CODE var reason = "" val bufferSize = controlFrameBuffer.size if (bufferSize == 1L) { throw ProtocolException("Malformed close payload length of 1.") } else if (bufferSize != 0L) { code = controlFrameBuffer.readShort().toInt() reason = controlFrameBuffer.readUtf8()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10K bytes - Click Count (0)