- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,577 for inst (0.04 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
int[] expectedSizes = { 16, 24, 32, 40, 48 }; for (int i = 0; i < contexts.length; i++) { contexts[i] = new MockCreateContextRequest("CTX" + i, expectedSizes[i]); } // Calculate total size int totalSize = 0; for (int i = 0; i < contexts.length; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
void testSignThreadSafety() throws InterruptedException { int threadCount = 10; Thread[] threads = new Thread[threadCount]; byte[][] dataArrays = new byte[threadCount][128]; for (int i = 0; i < threadCount; i++) { final int index = i; dataArrays[i] = new byte[128]; Arrays.fill(dataArrays[i], (byte) i);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java
SmbAuthentication[] auths = new SmbAuthentication[] { auth1 }; params.put("smb1Authentications", auths); smbClient.setInitParameterMap(params); smbClient.init(); boolean connected = false; for (int i = 0; i < 30; i++) { try { smbClient.doGet(baseUrl); } catch (final ChildUrlsException e) { connected = true;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 500, 1024 }) void testReadDataWireFormatVariousSizes(int dataSize) throws SMBProtocolDecodingException { // Test with various data sizes within buffer limit byte[] testData = new byte[dataSize]; Arrays.fill(testData, (byte) 0xAB); byte[] buffer = new byte[dataSize + 100];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
"1000, 4096, 4096000" }) void testDecodeCombinations(int chunks, int chunkBytes, int totalBytes) throws SMBProtocolDecodingException { byte[] buffer = createValidCopyChunkResponse(chunks, chunkBytes, totalBytes); int bytesDecoded = response.decode(buffer, 0, buffer.length); assertEquals(12, bytesDecoded);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
@DisplayName("Test decode with aligned next entry offsets") @ValueSource(ints = { 0, 4, 8, 16, 32, 64, 128, 256, 1024 }) void testDecodeWithAlignedOffsets(int nextOffset) throws SMBProtocolDecodingException { byte[] buffer = createNotificationBufferWithNextOffset("aligned.txt", FileNotifyInformation.FILE_ACTION_ADDED, nextOffset); int bytesRead = notifyInfo.decode(buffer, 0, buffer.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
@ParameterizedTest @DisplayName("hasCapability returns expected values for various caps") @ValueSource(ints = { -1, 0, 1, 1024 }) void hasCapability_variousCaps(int cap) throws SmbException { when(transport.hasCapability(anyInt())).thenAnswer(inv -> ((int) inv.getArgument(0)) >= 0); boolean result = transport.hasCapability(cap); assertEquals(cap >= 0, result);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
// Add patterns before init newFilter.addInclude("https://example.com/.*"); newFilter.addExclude(".*\\.css$"); // Initialize with session String sessionId = "test-session-016"; newFilter.init(sessionId); // Patterns should be applied after init assertTrue(newFilter.match("https://example.com/page"));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0)