- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 966 for buffer2 (0.15 sec)
-
src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java
package jcifs.internal.dfs; import java.nio.charset.StandardCharsets; import jcifs.Encodable; import jcifs.internal.util.SMBUtil; /** * DFS (Distributed File System) referral request buffer encoder. * Creates encoded request buffers for DFS referral requests, specifying the maximum * referral level and target path for which DFS resolution is requested. * * @author mbechler */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
int initialBufferSize = min(BUFFER_SIZE, max(128, Integer.highestOneBit(totalLen) * 2)); // Starting with an 8k buffer, double the size of each successive buffer. Smaller buffers // quadruple in size until they reach 8k, to minimize the number of small reads for longer // streams. Buffers are retained in a deque so that there's no copying between buffers while
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
* limitations under the License. */ package okhttp3.tls.internal.der import java.math.BigInteger import okio.Buffer import okio.BufferedSink import okio.ByteString internal class DerWriter( sink: BufferedSink, ) { /** A stack of buffers that will be concatenated once we know the length of each. */ private val stack = mutableListOf(sink)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
val buffer = Buffer() buffer.write(byteString) deflate(buffer) return buffer.readByteString() } private fun MessageInflater.inflate(byteString: ByteString): ByteString { val buffer = Buffer() buffer.write(byteString) inflate(buffer) return buffer.readByteString() }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Arrange byte[] buffer = new byte[100]; // Act & Assert assertEquals(0, response.readSetupWireFormat(buffer, 0, 100)); assertEquals(0, response.readParametersWireFormat(buffer, 0, 100)); assertEquals(0, response.readDataWireFormat(buffer, 0, 100)); } @Test @DisplayName("Methods should handle null buffer without validation")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
void testReadSetupWireFormat() { netShareEnum = new NetShareEnum(realConfig); byte[] buffer = new byte[100]; int result = netShareEnum.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = netShareEnum.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); // Test with zero length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/BufferCache.java
/** * Internal API for managing reusable buffers * * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface BufferCache { /** * Gets a buffer from the cache or creates a new one if the cache is empty. * * @return a buffer from the cache, or a new one */ byte[] getBuffer(); /** * Return a buffer to the cache *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
} /** * Runs the thread to continuously read lines from the input stream. * Each line is processed by the output callback (if provided) and added to the buffer. * The buffer is maintained as a circular buffer with the specified size. */ @Override public void run() { boolean running = true; while (running) { try {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
assertTrue(e.getMessage().contains("PAC")); } // Test exception for missing buffers @Test void testConstructorMissingBuffers() throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); // Write header with no buffers dos.writeInt(Integer.reverseBytes(0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
docs/contribute/concurrency.md
#### Do-stuff-later pool
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0)