- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 994 for calc (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
protected final ListenableFutureTask<Integer> task = ListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Assert - fields preserved assertSame(cause, ex.getCause()); assertEquals(message, ex.getMessage()); // Since message is explicitly provided, constructor should not need to call methods on cause Mockito.verifyNoInteractions(cause); // toString should include provided message assertEquals(SMBProtocolDowngradeException.class.getName() + ": " + message, ex.toString()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} } @Test @DisplayName("customizeCreate sets required flags and extended mode") void customizeCreateSetsFlagsAndExtended() throws Exception { // Arrange: real instance to call protected method; collaborators mocked for interaction verification SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java
return new QueueTestSuiteBuilder<E>().usingGenerator(generator); } private boolean runCollectionTests = true; /** * Specify whether to skip the general collection tests. Call this method when testing a * collection that's both a queue and a list, to avoid running the common collection tests twice. * By default, collection tests do run. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/metacache-server-pool.go
// listObjects calls, versioned based listing cannot // filter out between versions 'obj' cannot be truncated // in such a manner, so look for skipping an object only // for regular ListObjects() call only. if !o.Versioned && !o.V1 { fi, err := obj.fileInfo(o.Bucket) if err != nil { return } objInfo := fi.ToObjectInfo(o.Bucket, obj.name, versioned) if o.Lifecycle != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
} } /** Returns once all stream actions complete successfully. */ fun awaitSuccess() { val futureTask = results.poll(5, TimeUnit.SECONDS) ?: throw AssertionError("no onRequest call received") futureTask.get(5, TimeUnit.SECONDS) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
+ "a null element counting as having a hash of zero).", expectedHashCode, getSet().hashCode()); } /** * Returns the {@link Method} instances for the test methods in this class which call {@code * hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflectionRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
// Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { future.get(); Assert.fail("This call was supposed to throw an ExecutionException"); } catch (ExecutionException expected) { Assert.assertSame(expectedCause, expected.getCause()); } } public void assertTimeout() throws Exception {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java
/** * 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 public interface ListeningScheduledExecutorServiceRegistered: 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/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java
protected void registerModifiedProperty(String propertyName) { __modifiedProperties.addPropertyName(propertyName); registerSpecifiedProperty(propertyName); // synchronize if exists, basically for user's manual call } public void modifiedToSpecified() { if (__modifiedProperties.isEmpty()) { return; // basically no way when called in Framework (because called when SpecifyColumn exists) }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11K bytes - Viewed (0)