- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 338 for 0x01 (0.12 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
// Verify results is now set (even if empty) assertNotNull(response.getResults()); } @ParameterizedTest @CsvSource({ "0x01, FILE_DIRECTORY_INFO", "0x02, FILE_FULL_DIRECTORY_INFO", "0x03, FILE_BOTH_DIRECTORY_INFO" }) @DisplayName("Test constructor with different info class constants") void testConstructorWithDifferentInfoClasses(byte infoClass, String description) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int written = trans2SetFileInfo.writeSetupWireFormat(buffer, 0); // Should write 2 bytes: subcommand and 0x00 assertEquals(2, written); assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, buffer[0]); assertEquals(0x00, buffer[1]); } @Test @DisplayName("Test writeSetupWireFormat with offset") void testWriteSetupWireFormatWithOffset() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
static final byte[] header = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B', (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; static void writeInt2(final long val, final byte[] dst, int dstIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
* The header format is: * - Byte 0: Message type (0x00 for SESSION_MESSAGE) * - Byte 1: High bit of 17-bit length field * - Bytes 2-3: Lower 16 bits of length field */ private static byte[] messageHeader(int length) { byte[] h = new byte[4]; h[0] = (byte) SessionServicePacket.SESSION_MESSAGE; h[1] = (byte) ((length >> 16) & 0x01); h[2] = (byte) ((length >> 8) & 0xFF);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
public static final int SMB2_LEASE_NONE = 0x00; public static final int SMB2_LEASE_READ_CACHING = 0x01; // R - Read caching public static final int SMB2_LEASE_HANDLE_CACHING = 0x02; // H - Handle caching public static final int SMB2_LEASE_WRITE_CACHING = 0x04; // W - Write caching // Common combinations public static final int SMB2_LEASE_READ_HANDLE = 0x03; // RHCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/jcifs/SmbConstantsTest.java
void testSmbFlags() { assertEquals(0x00, SmbConstants.FLAGS_NONE); assertEquals(0x01, SmbConstants.FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK); assertEquals(0x02, SmbConstants.FLAGS_RECEIVE_BUFFER_POSTED); assertEquals(0x08, SmbConstants.FLAGS_PATH_NAMES_CASELESS); assertEquals(0x10, SmbConstants.FLAGS_PATH_NAMES_CANONICALIZED);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
*/ public void performChannelBinding(ChannelInfo channel) throws IOException { // MS-SMB2 3.2.4.1.6: Alternative Channel Creation // Channel binding requires SMB2_SESSION_FLAG_BINDING (0x01) in session setup // Calculate channel binding hash per MS-SMB2 3.2.5.3.1 byte[] bindingInfo = calculateBindingInfo(channel); byte[] bindingHash = calculateBindingHash(bindingInfo);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 20K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
* This operation releases resources associated with the handle. */ public static class SamrCloseHandle extends DcerpcMessage { @Override public int getOpnum() { return 0x01; } /** The return value of the operation */ public int retval; /** The handle to be closed */ public rpc.policy_handle handle; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} } else if (host.length() == 0) { try { final Address addr = this.ctx.getNameServiceClient().getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null); this.addresses = new UniAddress[1]; this.addresses[0] = this.ctx.getNameServiceClient().getByName(addr.getHostAddress());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
* This operation releases resources associated with the handle. */ public static class SamrCloseHandle extends DcerpcMessage { @Override public int getOpnum() { return 0x01; } /** The return value of the operation */ public int retval; /** The handle to be closed */ public rpc.policy_handle handle; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.1K bytes - Click Count (0)