- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 4,121 for Void (0.02 sec)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@Mock private InputStream mockInputStream; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); packet = new TestSessionServicePacket(); } // Tests for static methods @Test @DisplayName("writeInt2 should correctly write 16-bit integer") void testWriteInt2() { byte[] dst = new byte[4];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
} public void testReentrancy_noDeadlock() { lockA.lock(); lockB.lock(); lockA.lock(); // Should not assert on lockB -> reentrant(lockA) } public void testExplicitOrdering_noViolations() { lock1.lock(); lock3.lock(); lock3.unlock(); lock2.lock(); lock3.lock(); } public void testExplicitOrdering_violations() { lock3.lock();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
@DisplayName("Should implement AutoCloseable interface") void shouldImplementAutoCloseable() { assertTrue(AutoCloseable.class.isAssignableFrom(SmbSession.class), "SmbSession should implement AutoCloseable interface"); } @Test @DisplayName("Should define close method that overrides AutoCloseable") void shouldDefineCloseMethod() throws Exception { assertDoesNotThrow(() -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
protected String[] targetUsers; @Override public void update(final User user) { final String username = user.getName(); final String password = user.getOriginalPassword(); changePassword(username, password); } @Override public void delete(final User user) { final String username = user.getName(); if (isTargetUser(username)) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
} @Test public void testAvailable() throws IOException { byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; PacDataInputStream pdis = createInputStream(data); assertEquals(4, pdis.available()); pdis.readByte(); assertEquals(3, pdis.available()); } @Test public void testReadFully() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception { assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS)); } public void testSetValue() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FileConfigPager.java
/** Description of the configuration */ public String description; /** * Clears all pagination and configuration data, resetting to default values. */ public void clear() { allRecordCount = 0; allPageCount = 0; existPrePage = false; existNextPage = false; pageSize = getDefaultPageSize();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/RelatedQueryPager.java
} /** * Clears all pager data and resets to default values. * Resets pagination state and clears all related query fields. */ public void clear() { allRecordCount = 0; allPageCount = 0; existPrePage = false; existNextPage = false; pageSize = getDefaultPageSize();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java
* @param selector The selector of the project. */ public void activateRequiredProject(String selector) { this.activations.add(new ProjectActivationSettings(selector, ActivationSettings.activated())); } /** * Mark a project as optional and activated. * @param selector The selector of the project. */ public void activateOptionalProject(String selector) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 16:38:19 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
@Test void constructorAcceptsNonNullObject() { // Arrange : create a dummy address InetAddress dummy = mock(InetAddress.class); // Act UniAddress ua = new UniAddress(dummy); // Assert assertSame(dummy, ua.getAddress(), "constructor should store the supplied address"); } @Test void constructorRejectsNull() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)