- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createBuffer (0.04 sec)
-
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
} @Test public void testBufferCreation() throws UnsupportedEncodingException { byte[] dataBytes = { 1, 2, 3, 4 }; String params = "test"; byte[] buffer = createBuffer(10, dataBytes, params); // Verify buffer structure assertTrue(buffer.length >= 14, "Buffer should contain header, params and data"); } @Test public void testByteOperations() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
@GwtIncompatible public final class CharStreams { // 2K chars (4K bytes) private static final int DEFAULT_BUF_SIZE = 0x800; /** Creates a new {@code CharBuffer} for buffering reads or writes. */ static CharBuffer createBuffer() { return CharBuffer.allocate(DEFAULT_BUF_SIZE); } private CharStreams() {} /** * Copies all characters between the {@link Readable} and {@link Appendable} objects. Does not
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0)