- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 85 for 0x0210 (0.62 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertEquals(0, bytesRead); assertEquals(0, response.getAttributes()); assertEquals(0, response.getSize()); } @ParameterizedTest @ValueSource(ints = { 0x0001, 0x0002, 0x0004, 0x0010, 0x0020, 0x0080, 0x0100 }) void testDifferentFileAttributes(int fileAttribute) { // Test various file attribute values response = new SmbComQueryInformationResponse(mockConfig, 0L);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
@DisplayName("File attribute constants are correct") void fileAttributesTest() { assertEquals(0x01, SmbConstants.ATTR_READONLY); assertEquals(0x02, SmbConstants.ATTR_HIDDEN); assertEquals(0x04, SmbConstants.ATTR_SYSTEM); assertEquals(0x08, SmbConstants.ATTR_VOLUME); assertEquals(0x10, SmbConstants.ATTR_DIRECTORY); } /** * Test FLAGS constants. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeResource.java
*/ int PIPE_TYPE_CALL = 0x0100; /** * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function. */ int PIPE_TYPE_TRANSACT = 0x0200; /** * Pipe is used for DCE */ int PIPE_TYPE_DCE_TRANSACT = 0x0200 | 0x0400; /** * Pipe should use it's own exclusive transport connection */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
// 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize byte[] buffer = new byte[20]; // File Attributes: 0x0010 (Directory) buffer[0] = 0x10; buffer[1] = 0x00; // Last Write Time (UTime): A sample timestamp in milliseconds long sampleTimeMillis = 1672531200000L; // Represents a specific date in millisecondsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
dst[dstIndex + OPCODE_OFFSET] = (byte) ((this.isResponse ? 0x80 : 0x00) + (this.opCode << 3 & 0x78) + (this.isAuthAnswer ? 0x04 : 0x00) + (this.isTruncated ? 0x02 : 0x00) + (this.isRecurDesired ? 0x01 : 0x00)); dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((this.isRecurAvailable ? 0x80 : 0x00) + (this.isBroadcast ? 0x10 : 0x00) + (this.resultCode & 0x0F));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
dst[dstIndex + OPCODE_OFFSET] = (byte) ((isResponse ? 0x80 : 0x00) + (opCode << 3 & 0x78) + (isAuthAnswer ? 0x04 : 0x00) + (isTruncated ? 0x02 : 0x00) + (isRecurDesired ? 0x01 : 0x00)); dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((isRecurAvailable ? 0x80 : 0x00) + (isBroadcast ? 0x10 : 0x00) + (resultCode & 0x0F)); writeInt2(questionCount, dst, start + QUESTION_OFFSET);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("Test close flags with different values") void testCloseFlagsWithDifferentValues() { // Test with different flag values int[] testFlagValues = { 0x0000, 0x0001, 0xFFFF }; for (int flagValue : testFlagValues) { request.setCloseFlags(flagValue); byte[] buffer = new byte[256]; request.writeBytesWireFormat(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
public static final int PIPE_TYPE_CALL = 0x0100; /** * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function. */ public static final int PIPE_TYPE_TRANSACT = 0x0200; /** * Named pipe type flag for DCE RPC transact operations. */ public static final int PIPE_TYPE_DCE_TRANSACT = 0x0200 | 0x0400; InputStream pipeIn;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
assertEquals("Unknown dialect", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0x0000, 0x0100, 0x0201, 0x0303, 0x0400, 0xFFFF }) @DisplayName("Should throw exception for invalid dialects") void testConstructorInvalidDialects(int dialect) { IllegalArgumentException exception =
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
assertEquals(8, bytesWritten); // Verify watchTree flag is set to 0x01 assertEquals(0x01, dst[dstIndex + 6]); } @ParameterizedTest @DisplayName("Test writeSetupWireFormat with various FID values") @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD }) void testWriteSetupWireFormatWithVariousFids(int fid) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0)