- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 2,009 for unit (0.03 seconds)
-
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
*/ package com.google.common.hash; import static java.nio.charset.StandardCharsets.UTF_8; import java.util.Arrays; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4. * * @author Patrick Costello * @author Kurt Alfred Kluever */ @NullUnmarkedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 6.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
import com.google.common.collect.ImmutableSortedMap; import com.google.common.collect.Ordering; import com.google.common.primitives.UnsignedLong; import java.util.Arrays; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for Fingerprint2011. * * @author ******@****.*** (Kyle Maddison) */ @NullUnmarked public class Fingerprint2011Test extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link CaseFormat}. * * @author Mike Bostock */ @GwtCompatible @NullUnmarked public class CaseFormatTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeoutException; import java.util.concurrent.atomic.AtomicReference; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 37.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
*/ package com.google.common.reflect; import static org.junit.Assert.assertThrows; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests of {@link TypeResolver}. * * @author Ben Yu */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for IteratorTester. * * @author Mick Killianey */ @GwtCompatible @SuppressWarnings("serial") // No serialization is used in this test public class IteratorTesterTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link CaseFormat}. * * @author Mike Bostock */ @GwtCompatible @NullUnmarked public class CaseFormatTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for IteratorTester. * * @author Mick Killianey */ @GwtCompatible @SuppressWarnings("serial") // No serialization is used in this test public class IteratorTesterTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link PeekingIterator}. * * @author Mick Killianey */ @SuppressWarnings("serial") // No serialization is used in this test @GwtCompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
* * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466 */ fun execute( name: String, delayNanos: Long = 0L, cancelable: Boolean = true, block: () -> Unit, ) { schedule( object : Task(name, cancelable) { override fun runOnce(): Long { block() return -1L } }, delayNanos, ) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 7.3K bytes - Click Count (0)