- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for tool (0.15 sec)
-
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
int tasksPerThread = 10; int nTasks = nThreads * tasksPerThread; ExecutorService pool = Executors.newFixedThreadPool(nThreads); ImmutableList<String> keys = ImmutableList.of("a", "b", "c"); try { List<Future<int[]>> futures = Lists.newArrayListWithExpectedSize(nTasks); for (int i = 0; i < nTasks; i++) { futures.add(pool.submit(new MutateTask(multiset, keys))); } int[] deltas = new int[3];
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
// pool ID but a thread ID of 2. Thread thread2 = threadFactory.newThread(monitoredRunnable); checkThreadPoolName(thread2, 2); assertEquals( thread.getName().substring(0, thread.getName().lastIndexOf('-')), thread2.getName().substring(0, thread.getName().lastIndexOf('-'))); // Building again should give us a different pool ID.
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/NetworkMutationTest.java
@RunWith(JUnit4.class) public final class NetworkMutationTest { private static final int NUM_TRIALS = 5; private static final int NUM_NODES = 20; private static final int NUM_EDGES = 100; private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES @Test public void directedNetwork() { testNetworkMutation(NetworkBuilder.directed()); } @Test public void undirectedNetwork() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 10 19:42:18 GMT 2024 - 4.5K bytes - Viewed (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
*/ package com.google.common; import com.google.common.reflect.ClassPath; import com.google.common.reflect.ClassPath.ClassInfo; import com.google.gwt.junit.client.GWTTestCase; import com.google.gwt.junit.tools.GWTTestSuite; import junit.framework.Test; import junit.framework.TestCase; import java.io.IOException; /** * Runs all _gwt tests. Grouping them into a suite is much faster than running each as a one-test
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 23 13:24:59 GMT 2016 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
.suppressing(parentBuilder.getSuppressedTests()) .suppressing(SetCreationTester.class.getMethods()) // BiMap.entrySet() duplicate-handling behavior is too confusing for SetCreationTester .withSetUp(parentBuilder.getSetUp()) .withTearDown(parentBuilder.getTearDown()) .createTestSuite()); /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
assertThat(unsignedValue.toString()).isEqualTo(unsignedValue.bigIntegerValue().toString()); } } @J2ktIncompatible @GwtIncompatible // too slow public void testToStringRadix() { for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { for (int l : TEST_INTS) { UnsignedInteger value = UnsignedInteger.fromIntBits(l);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ParametricNullness.java
* href="https://jspecify.dev/">JSpecify</a> nullness annotations and <a * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need * it</a>. */ @GwtCompatible @Retention(RUNTIME) @Target({FIELD, METHOD, PARAMETER}) @javax.annotation.meta.TypeQualifierNickname @javax.annotation.Nonnull(when = javax.annotation.meta.When.UNKNOWN)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/ParametricNullness.java
* href="https://jspecify.dev/">JSpecify</a> nullness annotations and <a * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need * it</a>. */ @GwtCompatible @Retention(RUNTIME) @Target({FIELD, METHOD, PARAMETER}) @javax.annotation.meta.TypeQualifierNickname @javax.annotation.Nonnull(when = javax.annotation.meta.When.UNKNOWN)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0) -
cycle_suppress_list.txt
FIELD com.google.common.util.concurrent.AbstractFuture.Listener.executor com.google.common.util.concurrent.ExecutionSequencer.TaskNonReentrantExecutor # ***** FALSE POSITIVES ***** # The Runnable type is so generic that it produces too many false positives. TYPE java.lang.Runnable FIELD com.google.common.base.Converter.reverse
Plain Text - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 3.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
Map<Element, Element> map = mapToTest; Element[] queries = this.queries; // Allows us to use & instead of %, acting on hearsay that division // operators (/%) are disproportionately expensive; should test this too! int mask = queries.length - 1; boolean dummy = false; for (int i = 0; i < reps; i++) { dummy ^= map.get(queries[i & mask]) != null; } return dummy; } @Benchmark
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0)