- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 90 for 0x0202 (0.96 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals((byte) 0x00, dst[1], "The second byte should be 0."); } /** * Tests the writeParametersWireFormat method. */ @Test void testWriteParametersWireFormat() { // Given String filename = "a\\test\\path.txt"; int informationLevel = 0x0102;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
} @Test public void testToStringContainsCount() { // Little-endian: count = 512 (0x0200) byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x02; // count = 512 in little-endian resp.readParameterWordsWireFormat(buf, 0); String str = resp.toString();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
// When DcerpcException result = bind.getResult(); // Then assertNotNull(result, "Should return exception for unknown error result"); assertEquals("0x0005", result.getMessage(), "Should return hex representation for unknown error code"); } @Test @DisplayName("getResult should handle large error codes")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Should not throw any exception int bytesRead = response.readBytesWireFormat(validBuffer, 0); assertTrue(bytesRead > 0); assertEquals(0x0302, response.getDialectRevision()); // SMB 3.0.2 assertTrue(response.getMaxTransactSize() > 0); assertTrue(response.getMaxTransactSize() <= 16777216); // Within validated limits } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
static long mapInformationLevel(final int il) { switch (il) { case FileInformation.FILE_BASIC_INFO: return 0x0101; case FileInformation.FILE_STANDARD_INFO: return 0x0102; case FileInformation.FILE_ENDOFFILE_INFO: return 0x0104; } throw new IllegalArgumentException("Unsupported information level " + il); } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java
*/ package jcifs.smb1.smb1; import java.util.Date; import jcifs.smb1.util.Hexdump; class SmbComQueryInformationResponse extends ServerMessageBlock implements Info { private int fileAttributes = 0x0000; private long lastWriteTime = 0L; private final long serverTimeZoneOffset; private int fileSize = 0; SmbComQueryInformationResponse(final long serverTimeZoneOffset) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
} SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex); dstIndex += 2; return dstIndex - start; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
* for the requested file or directory. */ public class SmbComQueryInformationResponse extends ServerMessageBlock implements SmbBasicFileInfo { private int fileAttributes = 0x0000; private long lastWriteTime = 0L; private final long serverTimeZoneOffset; private int fileSize = 0; /** * Constructs a query information response. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Check information level (FS_SIZE_INFO maps to 0x0103) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0103, actualInfoLevel); } @DisplayName("Test writeParametersWireFormat with different information levels") @ParameterizedTest @CsvSource({ "-1, 1", // SMB_INFO_ALLOCATION -> 0x0001 "3, 259" // FS_SIZE_INFO -> 0x0103 })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java
*/ public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200; /** * DFS storage state indicating offline status */ public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001; /** * DFS storage state indicating online status */ public static final int DFS_STORAGE_STATE_ONLINE = 0x0002; /** * DFS storage state indicating active status */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.2K bytes - Viewed (0)