- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 998 for Unit (0.01 sec)
-
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
import static org.junit.Assert.assertThrows; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link FakeTimeLimiter}. * * @author Jens Nyman */ @NullUnmarked public class FakeTimeLimiterTest extends TestCase { private static final int DELAY_MS = 50;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
return false; } @Override public boolean isTerminated() { return false; } @Override public boolean awaitTermination(long timeout, TimeUnit unit) { return false; } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt
.map { idx -> (versions.item(idx) as Element).textContent } .reversed() } protected fun updateProperties(populateProperties: Properties.() -> Unit) = PropertiesUtils.store( Properties().apply(populateProperties), propertiesFile.get().asFile, comment.get(), Charsets.ISO_8859_1, "\n" )Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Oct 24 09:10:28 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} finally { lockStateChanged(this); } } @Override public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { aboutToAcquire(this); try { return super.tryLock(timeout, unit); } finally { lockStateChanged(this); } } @Override public void unlock() { try {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator bestGetCheckedTypeValidator().validateClass(exceptionClass); try { return future.get(timeout, unit); } catch (InterruptedException e) { currentThread().interrupt();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
) class StageTriggers( model: CIBuildModel, stage: Stage, prevStage: Stage?, stageProject: StageProject, ) { val triggers: List<BaseGradleBuildType> init { triggers = mutableListOf() val allDependencies = stageProject.specificBuildTypes + stageProject.performanceTests + stageProject.functionalTests + stageProject.docsTestTriggers +
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 12:17:39 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; /** * Unit tests for DirectoryLeaseState */ public class DirectoryLeaseStateTest { @Test public void testDirectoryLeaseConstants() { // Test that directory lease states use correct base valuesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import com.google.common.base.Predicate; import java.util.Map.Entry; import java.util.Objects; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Multimaps} filtering methods. * * @author Jared Levy */ @GwtIncompatible // nottested @NullUnmarked public class FilteredMultimapTest extends TestCase {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
val e = RuntimeException() clientListener.setNextEventDelegate( object : WebSocketListener() { override fun onOpen( webSocket: WebSocket, response: Response, ): Unit = throw e }, ) newWebSocket() serverListener.assertOpen() serverListener.assertFailure(EOFException::class.java) serverListener.assertExhausted() clientListener.assertFailure(e)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for {@link SmbFileFilter}. The filter interface is small; the * tests focus on the contract that implementations should honour and the * interaction with {@link SmbFile} instances. The tests make heavy use ofRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)