- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 2,635 for new1 (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
assertThat(cache.getIfPresent(key).split(delimiter)).hasLength(count + 1); } public void testComputeIfPresentRemove() { List<RemovalNotification<Integer, Integer>> notifications = new ArrayList<>(); Cache<Integer, Integer> cache = CacheBuilder.newBuilder() .removalListener((RemovalNotification<Integer, Integer> n) -> notifications.add(n)) .build(); cache.put(1, 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
* * @author Mike Bostock */ @NullUnmarked public class SynchronizedMapTest extends TestCase { public final Object mutex = new Object[0]; // something Serializable protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
super.setUp(testInfo); chatApiManager = new ChatApiManager(); } @Test public void test_defaultConstructor() { final ChatApiManager manager = new ChatApiManager(); assertNotNull(manager); } @Test public void test_matches_ragChatDisabled() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
pingSearchEngineJob = new PingSearchEngineJob(); } // Test normal operation with GREEN status and state change @Test public void test_execute_greenStatusNoChange() { // Setup mock components SearchEngineClient searchEngineClient = new SearchEngineClient() { @Override public PingResponse ping() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingDequeTest.java
*/ @NullUnmarked public class ForwardingDequeTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Deque.class, new Function<Deque, Deque<?>>() { @Override public Deque<?> apply(Deque delegate) { return wrap((Deque<?>) delegate); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java
*/ @NullUnmarked public class ForwardingListIteratorTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( ListIterator.class, new Function<ListIterator, ListIterator<?>>() { @Override public ListIterator<?> apply(ListIterator delegate) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} } private <T extends @Nullable Object> void actsLikeIteratorHelper(List<T> list) { // Check with modifiable copies of the list new PeekingIteratorTester<T>(list).test(); // Check with unmodifiable lists new IteratorTester<T>( list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<T> newTargetIterator() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
final StringBuilder sb = new StringBuilder(); if (StringUtil.isBlank(cause.getMessage())) { sb.append(cause.getClass().getName()); } else { sb.append(cause.getMessage()); } try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) { cause.printStackTrace(pw);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ListenableFuture<String> f = new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {}; verify(!(f instanceof FluentFuture)); assertThat(FluentFuture.from(f).get()).isEqualTo("a"); // TODO(cpovirk): Test forwarding more extensively. } public void testAddCallback() { FluentFuture<String> f = FluentFuture.from(immediateFuture("a")); boolean[] called = new boolean[1]; f.addCallback(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
*/ public static <K, V> CacheLoader<K, V> from(Function<K, V> function) { return new FunctionToCacheLoader<>(function); } /** * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and * implement {@link #load load} instead. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0)