- Sort Score
- Result 10 results
- Languages All
Results 691 - 700 of 979 for buffer (0.06 sec)
-
src/test/java/jcifs/smb/MIENameTest.java
import org.junit.jupiter.params.provider.MethodSource; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class MIENameTest { // Helper to build a valid buffer according to the expected layout. private static byte[] buildBuffer(byte[] oidDer, byte[] nameBytes) { byte[] tokId = new byte[] { 0x04, 0x01 }; int oidLen = oidDer.length;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
NdrShort ndrShort = new NdrShort(50); NdrBuffer buffer1 = mock(NdrBuffer.class); NdrBuffer buffer2 = mock(NdrBuffer.class); when(buffer2.dec_ndr_short()).thenReturn(75); // When: Performing multiple operations ndrShort.encode(buffer1); ndrShort.decode(buffer2); // Then: Should handle both operations correctly
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoRequest.java
* * @return size in bytes */ public int size() { return 0; } /** * Encode this request (no-op since there's no data) * * @param dst destination buffer * @param dstIndex starting offset * @return number of bytes written (always 0) */ public int encode(byte[] dst, int dstIndex) { // No data to encode return 0; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 1.6K bytes - Viewed (0) -
src/archive/tar/example_test.go
package tar_test import ( "archive/tar" "bytes" "fmt" "io" "log" "os" ) func Example_minimal() { // Create and add some files to the archive. var buf bytes.Buffer tw := tar.NewWriter(&buf) var files = []struct { Name, Body string }{ {"readme.txt", "This archive contains some text files."}, {"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Nov 16 16:54:08 UTC 2017 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
@Override public Integer getOverrideTimeout() { return null; } // Methods from CommonServerMessageBlock interface @Override public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { return 0; } @Override public int encode(byte[] dst, int dstIndex) { return 0; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
} @Test @DisplayName("getBufferCache should return initialized buffer cache") void testGetBufferCache() { // When BufferCache bufferCache = context.getBufferCache(); // Then assertNotNull(bufferCache, "Buffer cache should not be null"); assertSame(bufferCache, context.getBufferCache(), "Should return same instance on multiple calls");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} /** * Appends a filter path pattern to a string buffer with appropriate wildcards. * Handles various pattern formats including anchored patterns and quoted patterns. * * @param buf the string buffer to append to * @param v the pattern value to append * @return the complete pattern string from the buffer */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
webSocket = slackApi.rtm(rtmStartResponse.url, this); } // TODO(jwilson): can I read the response body? Do I have to? // the body from slack is a 0-byte-buffer @Override public synchronized void onOpen(WebSocket webSocket, Response response) { System.out.println("onOpen: " + response); } // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Nov 19 20:16:58 UTC 2016 - 2.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
import okhttp3.Cookie import okhttp3.CookieJar import okhttp3.Interceptor import okhttp3.Response import okhttp3.internal.USER_AGENT import okhttp3.internal.toHostHeader import okio.GzipSource import okio.buffer /** * Bridges from application code to network code. First it builds a network request from a user * request. Then it proceeds to call the network. Finally it builds a user response from the network * response. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
this.fileId = fileId; } /** * Constructs an SMB2 IOCTL request with output buffer * @param config the client configuration * @param controlCode the IOCTL control code * @param fileId the file identifier * @param outputBuffer the output buffer for the IOCTL operation */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0)