- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 121 for 0x2d (0.01 sec)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test transaction command constants") void testTransactionCommandConstants() { assertEquals((byte) 0x25, SmbComTransaction.SMB_COM_TRANSACTION); assertEquals((byte) 0xA0, SmbComTransaction.SMB_COM_NT_TRANSACT); assertEquals((byte) 0x26, SmbComTransaction.SMB_COM_TRANSACTION_SECONDARY); assertEquals((byte) 0xA1, SmbComTransaction.SMB_COM_NT_TRANSACT_SECONDARY); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
when(nsc.getAllByName(eq("server"), eq(true))).thenReturn(new Address[] { addr }); assertTrue(workgroupLike.isWorkgroup()); // Server: return a NetBIOS type not 0x1d/0x1b when(nb.getNameType()).thenReturn(0x20); SmbResourceLocatorImpl server = locator("smb://server"); when(nsc.getAllByName(eq("server"), eq(true))).thenReturn(new Address[] { addr });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
final Sem sem = new Sem(2); final int type = NbtAddress.isWINS(svr) ? 0x1b : 0x1d; final QueryThread q1x = new QueryThread(sem, name, type, null, svr); final QueryThread q20 = new QueryThread(sem, name, 0x20, null, svr); q1x.setDaemon(true); q20.setDaemon(true); try { synchronized (sem) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
byte[] testContext = new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 }; message.setContext(testContext); byte[] testTargetInfo = new byte[] { 0x10, 0x20, 0x30 }; message.setTargetInformation(testTargetInfo); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertEquals(0x20, nbtAddress.getNameType()); } @Test void testHashCode() { // Test hashCode consistency mockName = new Name(mockConfig, "TEST1", 0x20, null); Name mockName2 = new Name(mockConfig, "TEST2", 0x20, null); NbtAddress nbtAddress1 = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
/** * File information class for both names with file IDs. */ public static final byte FILE_ID_BOTH_DIRECTORY_INFO = 0x24; /** * File information class for full directory information with file IDs. */ public static final byte FILE_ID_FULL_DIRECTORY_INFO = 0x26; /** * Flag to restart the directory enumeration from the beginning. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
Name name1 = new Name(mockConfig, "TEST", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST", 0x20, "scope"); assertTrue(name1.equals(name2)); } @Test void equals_withDifferentName_shouldReturnFalse() { Name name1 = new Name(mockConfig, "TEST1", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST2", 0x20, "scope"); assertFalse(name1.equals(name2));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
// Should match with same values assertTrue(fileInfo.matches(1024L, 1000L, 0x20)); // Should not match with different size assertFalse(fileInfo.matches(2048L, 1000L, 0x20)); // Should not match with different last modified assertFalse(fileInfo.matches(1024L, 2000L, 0x20));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
assertNull(testBlock.getAndx()); assertNull(testBlock.getNext()); assertNull(testBlock.getNextResponse()); } @Test @DisplayName("Test constructor with null andx command") void testConstructorWithNullAndx() { testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, (ServerMessageBlock) null);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
} @Test void testGetNbtAllByAddress_StringIntString() throws UnknownHostException { // Arrange String host = "testHost"; int type = 0x20; String scope = "testScope"; NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) }; when(nameServiceClient.getNbtAllByAddress(host, type, scope)).thenReturn(expectedAddresses);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0)