- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 77 for 0x00000004 (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // 0x00000000 (byte) 0xEF, (byte) 0xCD, (byte) 0xAB, (byte) 0x89 // 0x89ABCDEF }; assertEquals(0x12345678, SMBUtil.readInt4(src, 0)); assertEquals(0xFFFFFFFF, SMBUtil.readInt4(src, 4)); assertEquals(0x00000000, SMBUtil.readInt4(src, 8)); assertEquals(0x89ABCDEF, SMBUtil.readInt4(src, 12)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertThrows(IllegalArgumentException.class, () -> { HandleType.fromValue(99); }); } @Test public void testHandleCapabilities() { assertEquals(0x00000002, Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT); assertEquals(120000, Smb2HandleCapabilities.DEFAULT_DURABLE_TIMEOUT); assertEquals(300000, Smb2HandleCapabilities.MAX_DURABLE_TIMEOUT);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt
* ``` * * Where direction is `<<` for inbound and `>>` for outbound. * * For example, the following would indicate a HEAD request sent from the client. * ``` * `<< 0x0000000f 12 HEADERS END_HEADERS|END_STREAM * ``` */ fun frameLog( inbound: Boolean, streamId: Int, length: Int, type: Int, flags: Int, ): String {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
assertEquals(SmbFile.TYPE_SHARE, otherShare.getType()); // Test with hidden flag (0x80000000) which should be ignored by getType() SmbShareInfo hiddenPrinter = new SmbShareInfo("HIDDEN_PRINTER", 1 | 0x80000000, "hidden printer"); assertEquals(SmbFile.TYPE_PRINTER, hiddenPrinter.getType()); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getErrorCode() method. */ @Test void testGetErrorCode() { int errorCode = 0x00000005; // DCERPC_FAULT_ACCESS_DENIED DcerpcException exception = new DcerpcException(errorCode); assertEquals(errorCode, exception.getErrorCode(), "getErrorCode() should return the correct error code."); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
* value and the corresponding little-endian byte array. */ static java.util.stream.Stream<Arguments> int32Provider() { return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }), Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
testBlock.setErrorCode(0x00000001); String result = testBlock.toString(); assertTrue(result.contains("command=SMB_COM_TREE_CONNECT_ANDX")); assertTrue(result.contains("errorCode=")); // Should show non-zero error code assertTrue(result.contains("errorCode=0x00000001") || result.contains("errorCode=1")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
private int maxMpxCount; private int snd_buf_size; private int recv_buf_size; private int tx_buf_size; private int capabilities; private final int sessionKey = 0x00000000; private boolean useUnicode; /** * Creates a new SMB1 negotiate response. * * @param ctx the CIFS context */ public SmbComNegotiateResponse(final CIFSContext ctx) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtStatus.java
/** The requested operation is not implemented */ int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002; /** The specified information class is invalid */ int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003; /** Invalid access to memory location */ int NT_STATUS_ACCESS_VIOLATION = 0xC0000005; /** The handle is invalid */ int NT_STATUS_INVALID_HANDLE = 0xC0000008; /** The parameter is incorrect */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 14.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
// Write Command = SMB2_IOCTL (0x000B) at offset 12 SMBUtil.writeInt2(0x000B, hdr, 12); // Mark as server response to be realistic (optional) SMBUtil.writeInt4(0x00000001, hdr, 16); // Flags = SMB2_FLAGS_SERVER_TO_REDIR return hdr; } // Helper: build SMB2 IOCTL response body (without header) with structureSize=49
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0)