- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 326 for iterations (0.07 sec)
-
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
public int[] call() throws Exception { int iterations = 100000; int nKeys = keys.size(); int[] deltas = new int[nKeys]; Operation[] operations = Operation.values(); for (int i = 0; i < iterations; i++) { int keyIndex = random.nextInt(nKeys); String key = keys.get(keyIndex); Operation op = operations[random.nextInt(operations.length)]; switch (op) { case ADD:
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
} }; final int numThreads = 10; final int iterations = 1000; Thread[] threads = new Thread[numThreads]; for (int i = 0; i < numThreads; i++) { threads[i] = new Thread() { @Override public void run() { for (int j = 0; j < iterations; j++) { Object unused = Suppliers.synchronizedSupplier(nonThreadSafe).get();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
} }; final int numThreads = 10; final int iterations = 1000; Thread[] threads = new Thread[numThreads]; for (int i = 0; i < numThreads; i++) { threads[i] = new Thread() { @Override public void run() { for (int j = 0; j < iterations; j++) { Object unused = Suppliers.synchronizedSupplier(nonThreadSafe).get();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
/** * <p>Xpp3DomPerfTest class.</p> */ @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.MILLISECONDS) @Warmup(iterations = 3) @Measurement(time = 10) public class Xpp3DomPerfTest { @State(Scope.Benchmark) public static class AdditionState { List<Path> poms; @Setup(Level.Iteration) public void setUp() throws IOException { Path userHome = Paths.get(System.getProperty("user.home"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
*/ @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. public void testDirectoryDeletion_directorySymlinkRace() throws IOException { int iterations = isAndroid() ? 100 : 5000; for (DirectoryDeleteMethod method : EnumSet.allOf(DirectoryDeleteMethod.class)) { try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
public static <S> ElementOrder<S> unordered() { return new ElementOrder<>(Type.UNORDERED, null); } /** * Returns an instance which specifies that ordering is guaranteed to be always be the same across * iterations, and across releases. Some methods may have stronger guarantees. * * <p>This instance is only useful in combination with {@code incidentEdgeOrder}, e.g. {@code * graphBuilder.incidentEdgeOrder(ElementOrder.stable())}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/ElementOrder.java
public static <S> ElementOrder<S> unordered() { return new ElementOrder<>(Type.UNORDERED, null); } /** * Returns an instance which specifies that ordering is guaranteed to be always be the same across * iterations, and across releases. Some methods may have stronger guarantees. * * <p>This instance is only useful in combination with {@code incidentEdgeOrder}, e.g. {@code * graphBuilder.incidentEdgeOrder(ElementOrder.stable())}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
*/ @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. public void testDirectoryDeletion_directorySymlinkRace() throws IOException { int iterations = isAndroid() ? 100 : 5000; for (DirectoryDeleteMethod method : EnumSet.allOf(DirectoryDeleteMethod.class)) { try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0)