- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 267 for 0x41 (0.17 seconds)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@DisplayName("Test buffer management") void testBufferManagement() { byte[] buffer = new byte[1024]; buffer[0] = 0x42; transaction.setBuffer(buffer); byte[] released = transaction.releaseBuffer(); assertSame(buffer, released); assertEquals(0x42, released[0]); // After release, getting buffer again should return null assertNull(transaction.releaseBuffer());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt8(500, buffer1, 48); SMBUtil.writeInt4(0x01, buffer1, 56); response.readBytesWireFormat(buffer1, 0); assertEquals(1, response.getCloseFlags()); assertEquals(1000, response.getAllocationSize()); assertEquals(500, response.getEndOfFile()); assertEquals(0x01, response.getFileAttributes()); // Second read with different values
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
/** * Server supports DFS */ public static final int SMB2_GLOBAL_CAP_DFS = 0x1; /** * Server supports leasing */ public static final int SMB2_GLOBAL_CAP_LEASING = 0x2; /** * Server supports multi-credit operations */ public static final int SMB2_GLOBAL_CAP_LARGE_MTU = 0x4; /** * Server supports multi-channel connections */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertEquals(expectedFlags, queryPolicy.getFlags()); // Binary check for individual flags assertEquals(0x03, queryPolicy.getFlags()); // 0x01 | 0x02 = 0x03 } @Test void getOpnum_shouldReturnCorrectValue() { // Arrange short level = 1;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test successful reading of 6 bytes from the input stream. // The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data); SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
abstract class NameServicePacket { // opcode static final int QUERY = 0; static final int WACK = 7; // rcode static final int FMT_ERR = 0x1; static final int SRV_ERR = 0x2; static final int IMP_ERR = 0x4; static final int RFS_ERR = 0x5; static final int ACT_ERR = 0x6; static final int CFT_ERR = 0x7; // type/class static final int NB_IN = 0x00200001;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
abstract class NameServicePacket { // opcode static final int QUERY = 0; static final int WACK = 7; // rcode static final int FMT_ERR = 0x1; static final int SRV_ERR = 0x2; static final int IMP_ERR = 0x4; static final int RFS_ERR = 0x5; static final int ACT_ERR = 0x6; static final int CFT_ERR = 0x7; // type/class static final int NB_IN = 0x00200001;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
void testBufferManagement() { byte[] buffer = new byte[1024]; buffer[0] = 0x42; buffer[1] = 0x43; response.setBuffer(buffer); byte[] released = response.releaseBuffer(); assertSame(buffer, released); assertEquals(0x42, released[0]); assertEquals(0x43, released[1]); // After release, getting buffer again should return null
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/Smb2ChannelCapabilities.java
*/ public static final int FSCTL_QUERY_NETWORK_INTERFACE_INFO = 0x001401FC; /** * SMB2 session flag indicating channel binding */ public static final int SMB2_SESSION_FLAG_BINDING = 0x01; /** * Size of network interface info structure in bytes */ public static final int NETWORK_INTERFACE_INFO_SIZE = 152;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
} } @Test @DisplayName("Test setInfoType method") void testSetInfoType() { request = new Smb2SetInfoRequest(mockConfig); byte testInfoType = (byte) 0x01; request.setInfoType(testInfoType); // Verify info type was set Field infoTypeField; try { infoTypeField = Smb2SetInfoRequest.class.getDeclaredField("infoType");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0)