- Sort Score
- Result 10 results
- Languages All
Results 2571 - 2580 of 3,275 for Test (0.02 sec)
- 
				
				android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.javadatasets[i] = new double[datasetSize]; for (int j = 0; j < datasetSize; j++) { datasets[i][j] = rng.nextDouble(); } } } private double[] dataset(int i) { // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a // dataset which is already sorted or partially sorted is cheating. return datasets[i & 0xFF].clone(); } @Benchmark Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.2K bytes - Viewed (0)
- 
				
				android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.javaimport java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Basher test for {@link AtomicLongMap}. * * @author mike nonemacher */ @J2ktIncompatible // threads @GwtIncompatible // threads @NullUnmarked public class AtomicLongMapBasherTest extends TestCase {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.2K bytes - Viewed (0)
- 
				
				guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.javaimport java.util.Collections; import java.util.EnumSet; import java.util.List; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code * SortedSetMultimap} implementation. * * @author Louis Wasserman */ @GwtIncompatible public class SortedSetMultimapTestSuiteBuilder<K, V>Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0)
- 
				
				api/maven-api-plugin/pom.xml<artifactId>maven-api-xml</artifactId> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <executions> Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Jun 29 22:37:39 UTC 2025 - 3.8K bytes - Viewed (0)
- 
				
				cmd/api-errors_test.go} func TestAPIErrCode(t *testing.T) { ctx := t.Context() for i, testCase := range toAPIErrorTests { errCode := toAPIErrorCode(ctx, testCase.err) if errCode != testCase.errCode { t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode) } } } // Check if an API error is properly defined func TestAPIErrCodeDefinition(t *testing.T) { Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 3.4K bytes - Viewed (0)
- 
				
				guava-tests/test/com/google/common/primitives/LongsTest.java// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (long value : VALUES) { assertWithMessage("hashCode for " + value) .that(Longs.hashCode(value)) .isEqualTo(Long.hashCode(value)); } } // We need to test that our method behaves like the JDK method.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0)
- 
				
				guava-tests/test/com/google/common/primitives/ShortsTest.javaimport java.util.Comparator; import java.util.List; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Shorts}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class ShortsTest extends TestCase { private static final short[] EMPTY = {};Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0)
- 
				
				android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.javaimport com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Function; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Test cases for {@link Tables#transformValues}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class TablesTransformValuesTest extends AbstractTableTest<Character> {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0)
- 
				
				api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java* possibly using heuristic rules (Maven 3 behavior).</li> * <li>If a {@link #patchModule(String)} is also set and the main JAR file is placed on the module path, * then the test dependency will be placed on the Java {@code --patch-module} option instead of the * class path.</li> * </ul> */ CLASSES(StandardLocation.CLASS_PATH, "--class-path"), /** Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 15K bytes - Viewed (1)
- 
				
				android/guava/src/com/google/common/base/Strings.java* * @param string the string to test and possibly return * @return {@code string} itself if it is non-null; {@code ""} if it is null */ public static String nullToEmpty(@Nullable String string) { return Platform.nullToEmpty(string); } /** * Returns the given string if it is nonempty; {@code null} otherwise. * * @param string the string to test and possibly returnRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0)