- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 527 for existing (0.05 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals("the", item.getInput()); assertEquals("the", item.getNewInput()); } public void test_constructor_withNonZeroId() { // Test when id is not 0 (existing item) StopwordsItem item = new StopwordsItem(123, "and"); assertEquals(123, item.getId()); assertEquals("and", item.getInput()); assertNull(item.getNewInput()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/namespace-lock_test.go
}() runtime.Gosched() // unlock the manual lock nsLk.lockMapMutex.Unlock() // To trigger the race: // 1) lk3 or lk4 need to advance and increment the ref on the existing resource, // successfully acquiring the lock. // 2) lk2 then needs to advance and remove the resource from lockMap. // 3) lk3 or lk4 (whichever didn't execute in step 1) then executes and creates
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testComputeIfAbsent_supportedPresent() { assertEquals( "computeIfAbsent(present, function) should return existing value", v0(), getMap() .computeIfAbsent( k0(), k -> { throw new AssertionFailedError(); })); expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
/* * This is a public type so that the Android test runner can create an instance directly as it * insists upon doing. It then runs the test, which behaves exactly like this package's existing * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and * that would be a problem because it violates small-test rules. Note that we strip the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java
import org.jspecify.annotations.Nullable; /** * A {@link ScheduledExecutorService} that returns {@link ListenableFuture} instances from its * {@code ExecutorService} methods. To create an instance from an existing {@link * ScheduledExecutorService}, call {@link * MoreExecutors#listeningDecorator(ScheduledExecutorService)}. * * @author Chris Povirk * @since 10.0 */ @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 17:30:04 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
); // Set the session ID of the existing session request.setSessionId(getSessionId()); // CRITICAL: Set the binding flag per MS-SMB2 request.setSessionBinding(true); // The actual transport send would need proper integration // This would be sent on the NEW channel's transport, not the existing one
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java
form.crudMode = CrudMode.CREATE; }); }).renderWith(data -> { registerWebConfigItems(data); }); } /** * Displays the form for editing an existing request header item. * * @param form the edit form containing the ID of the item to edit * @return HTML response for the edit form */ @Execute @Secured({ ROLE })
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
} @Test @DisplayName("Should overwrite existing cache entry") void testReplaceCacheOverwrite() { String key = "existing-key"; DfsReferralDataInternal oldEntry = mock(DfsReferralDataInternal.class); // Add existing entry cacheMap.put(key, oldEntry); // Setup new entry
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertEquals(1, transport.getNumSessions()); s1.close(); // Act: request again with same context -> reuse existing SmbSessionImpl s2 = transport.getSmbSession(ctx); assertNotNull(s2); assertEquals(1, transport.getNumSessions(), "Should reuse existing session"); s2.close(); } @Test @DisplayName("DFS referrals: invalid double-slash prefix triggers exception")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals( "putIfAbsent(present, value) should return existing value", v0(), getMap().putIfAbsent(k0(), v3())); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutIfAbsent_unsupportedAbsent() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.9K bytes - Viewed (0)