- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 292 for seconden (0.19 sec)
-
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
smbInfoAllocation.decode(buffer1, 0, buffer1.length); long firstCapacity = smbInfoAllocation.getCapacity(); long firstFree = smbInfoAllocation.getFree(); // Second decode with different values byte[] buffer2 = new byte[22]; offset = 0; SMBUtil.writeInt4(0, buffer2, offset); // idFileSystem offset += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
// Remove one instance assertTrue(ruleManager.removeRule(rule)); assertEquals(1, ruleManager.getRuleCount()); assertTrue(ruleManager.hasRule(rule)); // Remove second instance assertTrue(ruleManager.removeRule(rule)); assertEquals(0, ruleManager.getRuleCount()); assertFalse(ruleManager.hasRule(rule)); } /** * Test empty RuleManagerRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
fail("Should be locked out"); } catch (SmbException e) { // Expected } // Wait for lockout to expire Thread.sleep(2100); // Lockout is 2 seconds in test setup // Should be allowed again assertTrue(rateLimiter.checkAttempt(username, ip), "Should be allowed after lockout expiry"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
NtlmUtil.E(key7, data8, out7); // Assert: first block identical to single-chunk encryption assertArrayEquals(Arrays.copyOfRange(out14, 0, 8), out7); // And second block is present and not all zeros assertFalse(Arrays.equals(new byte[8], Arrays.copyOfRange(out14, 8, 16))); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/main/java/jcifs/SmbResource.java
/** * Retrieve the last time the file represented by this * <code>SmbResource</code> was modified. The value returned is suitable for * constructing a {@link java.util.Date} object (i.e. seconds since Epoch * 1970). Times should be the same as those reported using the properties * dialog of the Windows Explorer program. * * @return The number of milliseconds since the 00:00:00 GMT, January 1,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
System.arraycopy(name1.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16); src[srcIndex + 16] = 0x00; // hex code src[srcIndex + 17] = 0x04; // flags: active // Second name entry (18 bytes) String name2 = "DOMAIN "; System.arraycopy(name2.getBytes("US-ASCII"), 0, src, srcIndex + 19, 16); src[srcIndex + 34] = 0x00; // hex code
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
assertTrue(actual.contains("192.168.1.1"), "toString should contain the first NbtAddress string representation"); assertTrue(actual.contains("10.0.0.5"), "toString should contain the second NbtAddress string representation"); } /** * Helper method to set common superclass fields for successful parsing scenarios. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
verify(tree, never()).send(isA(Smb2CloseRequest.class), any()); verify(tree, never()).send(any(CommonServerMessageBlockRequest.class), any(SmbComBlankResponse.class), any(RequestParam[].class)); // Second release: should close now via SMB2 path h.release(); verify(tree, times(1)).send(isA(Smb2CloseRequest.class), eq(RequestParam.NO_RETRY)); verify(tree, times(1)).release(); } @Test
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/smb/SmbTreeHandleImplTest.java
// First close -> usage 1 -> 0, triggers treeConnection.release() handle.close(); verify(treeConnection, times(1)).release(); // Second release -> usage 0 -> -1 triggers RuntimeCIFSException RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, () -> handle.release()); assertTrue(ex.getMessage().contains("below zero"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
SocketInputStream sis = new SocketInputStream(in); // Read first message assertEquals(1, sis.read()); assertEquals(2, sis.read()); // Read second message assertEquals(3, sis.read()); assertEquals(4, sis.read()); assertEquals(5, sis.read()); // After all data is consumed, next read throws IOException
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)