- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 584 for unity (0.1 sec)
-
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) { TimeoutFuture<V> result = new TimeoutFuture<>(delegate); Fire<V> fire = new Fire<>(result); result.timer = scheduledExecutor.schedule(fire, time, unit); delegate.addListener(fire, directExecutor()); return result; } /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
/** * Collection of main phases for this lifecycle used with the Maven 3 builders. * Those builders do not operate on a graph, but on the list and expect a slightly * different ordering (mainly unit test being executed before packaging). * * @return the collection of phases in Maven 3 compatible ordering */ default Collection<Phase> v3phases() { return phases(); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt
import okio.ForwardingSink import okio.Sink /** A sink that never throws IOExceptions, even if the underlying sink does. */ internal open class FaultHidingSink( delegate: Sink, val onException: (IOException) -> Unit, ) : ForwardingSink(delegate) { private var hasErrors = false override fun write( source: Buffer, byteCount: Long, ) { if (hasErrors) { source.skip(byteCount) return }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt
hasMessage("Unable to load PublicSuffixDatabase.list resource.") cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Possibly running Android unit test without Robolectric. " + "Android tests should run with Robolectric " + "and call OkHttp.initialize before test", ) hasClass<IOException>() } } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-testlib/README.md
# Guava Testlib: Google Testing Libraries for Java Guava testlib is a set of Java classes for more convenient unit testing. ## Adding Guava Testlib to your build Guava testlib's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`. To add a dependency on Guava testlib using Maven, use the following: ```xml <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for the {@link SmbComReadAndXResponse} class. */ public class SmbComReadAndXResponseTest { private SmbComReadAndXResponse response; @BeforeEach public void setUp() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt
} return source.buffer().asResponseBody(null, -1) } private fun newResponse( responseBody: ResponseBody, code: Int = 200, fn: Response.Builder.() -> Unit = {}, ): Response = Response .Builder() .request( Request .Builder() .url("https://example.com/") .build(), ).protocol(Protocol.HTTP_1_1)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 2.8K bytes - Viewed (0) -
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) -
android/guava-tests/test/com/google/common/cache/LongAdderTest.java
* the License. */ package com.google.common.cache; import static com.google.common.truth.Truth.assertThat; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link LongAdder}. */ @NullUnmarked public class LongAdderTest extends TestCase { /** * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
import static com.google.common.util.concurrent.Service.State.TERMINATED; import java.util.Locale; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link Service} */ @NullUnmarked public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2K bytes - Viewed (0)