- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 91 for 0x0302 (0.05 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()), ), ), ).containsExactly( Mapping(0x0041, 0x0041, TYPE_MAPPED, "a".encodeUtf8()), Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()), ) } @Test fun simplifyCanonicalizesType() { assertThat( mergeAdjacentRanges( listOf(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104"); assertTrue(s.contains(",resumeKey=0x0304"), "toString should include lower 16-bit resumeKey hex"); assertTrue(s.contains(",flags=0x00"), "toString should include flags in hex"); assertTrue(s.endsWith("]"), "toString should end with closing bracket"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
System.arraycopy(dst, 2, writtenDescr, 0, descr.length); assertArrayEquals(descr, writtenDescr); int currentIndex = 2 + descr.length; // Verify level (0x0001) assertEquals(1, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8)); currentIndex += 2; // Verify maxDataCount
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
/** SMB2 create/open file command */ protected static final short SMB2_CREATE = 0x0005; /** SMB2 close file command */ protected static final short SMB2_CLOSE = 0x0006; /** SMB2 flush file command */ protected static final short SMB2_FLUSH = 0x0007; /** SMB2 read file command */ protected static final short SMB2_READ = 0x0008; /** SMB2 write file command */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0)