- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 2,083 for instance1 (0.09 sec)
-
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
} public void testFromNonFluentFuture() throws Exception { 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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
} catch (NullPointerException e) { // Expected exception assertNotNull(e); } } public void test_multipleJobExecutors() { // Test multiple JobExecutor instances JobExecutor executor1 = new TestJobExecutor(); JobExecutor executor2 = new TestJobExecutor(); AtomicInteger counter1 = new AtomicInteger(0);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebConfigBhv.java
return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } } protected <RESULT extends WebConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0) -
docs/features/events.md
the preceding example we used a field, `callStartNanos`, to track the elapsed time of each event. This is handy, but it won’t work if multiple calls are executing concurrently. To accommodate this, use a `Factory` to create a new `EventListener` instance for each `Call`. This allows each listener to keep call-specific state. This [sample factory](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java) creates a unique ID for each call...
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
} } } private fun readAndWriteFrames() { check(socket == null) val socket = serverSocket!!.accept()!! this.socket = socket // Bail out now if this instance was closed while waiting for the socket to accept. synchronized(this) { if (executor.isShutdown) { socket.close() return } } val outputStream = socket.getOutputStream()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* delegates each of its operations to the appropriate methods of this {@code * ForwardingSortedMultiset}. * * <p>In many cases, you may wish to override {@link #descendingMultiset()} to return an instance * of a subclass of {@code StandardDescendingMultiset}. * * @since 15.0 */ protected abstract class StandardDescendingMultiset extends DescendingMultiset<E> { /** Constructor for use by subclasses. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaper.java
* resulting XML document is parsed, the parser API will return this text as the original literal * string {@code "Foo<Bar>"}. * * <p>A {@code CharEscaper} instance is required to be stateless, and safe when used concurrently by * multiple threads. * * <p>Popular escapers are defined as constants in classes like {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
} /** * Returns a filter for directories that may contain paths accepted by the given matcher. * The given path matcher should be an instance created by this service. * The path matcher returned by this method expects directory paths. * If that matcher returns {@code false}, then the directory will definitively not contain
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 21 19:37:56 UTC 2025 - 7.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java
* */ /** * This class is an implementation of {@link UrlQueueService}. */ public class UrlQueueServiceImpl implements UrlQueueService<UrlQueueImpl<Long>> { /** * Creates a new UrlQueueServiceImpl instance. */ public UrlQueueServiceImpl() { // NOP } private static final Logger logger = LogManager.getLogger(UrlQueueServiceImpl.class); /** * The memory data helper. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
void testValueConsistency() { // Given: Same input value int inputValue = 1000; int expectedMasked = inputValue & 0xFF; // 232 // When: Creating multiple NdrShort instances NdrShort ndrShort1 = new NdrShort(inputValue); NdrShort ndrShort2 = new NdrShort(inputValue); // Then: All should have same masked value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0)