- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 191 for 0102 (0.02 sec)
-
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
stubValidTree(1L, true, true); byte[] fidBytes = new byte[] { 0x01, 0x02 }; SmbFileHandleImpl h1 = new SmbFileHandleImpl(cfg, fidBytes, tree, "//u/one", 0x10, 0x20, 0x30, 0x40, 0L); String s1 = h1.toString(); assertTrue(s1.contains("//u/one")); assertTrue(s1.contains("0102"), "Expected hex fileId in string");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, 0x02, 0x02 }; byte[] salt = { 0x01, 0x02 }; PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); int encoded = originalContext.encode(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024); byte[] buffer = new byte[100]; int read = trans2FindFirst2.readSetupWireFormat(buffer, 0, 100); assertEquals(0, read); } @Test @DisplayName("Test readParametersWireFormat returns 0") void testReadParametersWireFormat() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
when(mockFileSystemInfo.decode(any(byte[].class), anyInt(), anyInt())).thenReturn(24); int result = mockFileSystemInfo.decode(buffer, 0, 100); assertEquals(24, result); verify(mockFileSystemInfo, times(1)).decode(buffer, 0, 100); } @Test @DisplayName("Should handle decode exception") void testDecodeException() throws SMBProtocolDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
void testReadSetupWireFormat() { // Test that readSetupWireFormat always returns 0 byte[] buffer = new byte[100]; int result = response.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = response.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); // Test with zero length
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
this.dialects = new String[] { "SMB 2.???", "SMB 2.002" }; } else if (config.getMaximumVersion().isSMB2()) { this.dialects = new String[] { "NT LM 0.12", "SMB 2.???", "SMB 2.002" }; } else { this.dialects = new String[] { "NT LM 0.12" }; } } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationRequest#isSigningEnforced() */ @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (3) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
* * @author mbechler */ public class Trans2FindFirst2 extends SmbComTransaction { // flags static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; static final int FLAGS_RETURN_RESUME_KEYS = 0x04; static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private final int searchAttributes;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; assertDoesNotThrow(() -> digest.update(data, 0, data.length)); } @Test @DisplayName("Test update method with zero length") void testUpdateWithZeroLength() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey); byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
assertNotNull(urlFilter); } /** * Test adding a single include pattern */ public void test_addInclude_singlePattern() { String sessionId = "test-session-002"; urlFilter.init(sessionId); urlFilter.addInclude("https://example.com/.*"); assertTrue(urlFilter.match("https://example.com/")); assertTrue(urlFilter.match("https://example.com/page1"));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test verify signature with error code") void testVerifySignatureWithErrorCode() { testBlock.setDigest(mockDigest); testBlock.setErrorCode(1); byte[] buffer = new byte[100]; assertTrue(testBlock.verifySignature(buffer, 0, 100));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0)