- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 128 for 0x108 (0.17 sec)
-
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
/** * Test that the constructor correctly initializes with a valid channel binding hash. */ @Test void testConstructorWithValidHash() { byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; AvChannelBindings avChannelBindings = new AvChannelBindings(testHash); assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
*/ public static final int SMB2_GLOBAL_CAP_MULTI_CHANNEL = 0x8; /** * Server supports persistent handles */ public static final int SMB2_GLOBAL_CAP_PERSISTENT_HANDLES = 0x10; /** * Server supports directory leasing */ public static final int SMB2_GLOBAL_CAP_DIRECTORY_LEASING = 0x20; /** * Server supports SMB3 encryption */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int FLAGS_RECEIVE_BUFFER_POSTED = 0x02; /** * Path names are case-insensitive flag. */ int FLAGS_PATH_NAMES_CASELESS = 0x08; /** * Path names are canonicalized flag. */ int FLAGS_PATH_NAMES_CANONICALIZED = 0x10; /** * Opportunistic lock requested or granted flag. */ int FLAGS_OPLOCK_REQUESTED_OR_GRANTED = 0x20; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
*/ @Test void testConstructor_CreateAndFailIfExists() { int flags = SmbFile.O_CREAT | SmbFile.O_EXCL; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS } /** * Test constructor with O_CREAT flag. */ @Test void testConstructor_CreateAndOpen() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("Various byte values are converted to uppercase hex") void testHexConversion() { byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("DC"); NtlmChallenge nc = new NtlmChallenge(challenge, dc);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
when(mockFile2.lastModified()).thenReturn(System.currentTimeMillis() - 1800000); when(mockFile2.isDirectory()).thenReturn(true); when(mockFile2.getAttributes()).thenReturn(0x10); // FILE_ATTRIBUTE_DIRECTORY when(mockFile2.createTime()).thenReturn(System.currentTimeMillis() - 7200000); when(mockFile2.lastAccess()).thenReturn(System.currentTimeMillis() - 900000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
// It can be downloaded here: https://131002.net/siphash/siphash.pdf public void test15ByteStringFromSipHashPaper() { byte[] message = new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e }; long k0 = 0x0706050403020100L; long k1 = 0x0f0e0d0c0b0a0908L; assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
// When String result = Hexdump.toHexString(data, offset, length); // Then assertNotNull(result); assertFalse(result.isEmpty()); // Check starts with byte at offset 16 (0x10) assertTrue(result.startsWith("10111213")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @Test @DisplayName("Should handle invalid offset and length parameters")
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/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt4(0x10, buffer, offset + 56); // When int bytesRead = response.readBytesWireFormat(buffer, offset); // Then assertEquals(60, bytesRead); assertEquals(8192, response.getAllocationSize()); assertEquals(2048, response.getEndOfFile()); assertEquals(0x10, response.getFileAttributes()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals(0x8, Smb2CreateRequest.FILE_NO_IMTERMEDIATE_BUFFERING); assertEquals(0x10, Smb2CreateRequest.FILE_SYNCHRONOUS_IO_ALERT); assertEquals(0x20, Smb2CreateRequest.FILE_SYNCHRONOUS_IO_NONALERT); assertEquals(0x40, Smb2CreateRequest.FILE_NON_DIRECTORY_FILE); assertEquals(0x100, Smb2CreateRequest.FILE_COMPLETE_IF_OPLOCKED); assertEquals(0x200, Smb2CreateRequest.FILE_NO_EA_KNOWLEDGE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0)