- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 497 for iterations (0.1 sec)
-
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
* 800 bytes long as the C++ reference implementation. */ public void testMultipleLengths() { int iterations = 800; byte[] buf = new byte[iterations * 4]; int bufLen = 0; long h = 0; for (int i = 0; i < iterations; ++i) { h ^= fingerprint(buf, i); h = remix(h); buf[bufLen++] = getChar(h); h ^= fingerprint(buf, i * i % bufLen);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
* 800 bytes long as the C++ reference implementation. */ public void testMultipleLengths() { int iterations = 800; byte[] buf = new byte[iterations * 4]; int bufLen = 0; long h = 0; for (int i = 0; i < iterations; ++i) { h ^= fingerprint(buf, i); h = remix(h); buf[bufLen++] = getChar(h); h ^= fingerprint(buf, i * i % bufLen);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
* bytes long as the original implementation in C++. See http://cl/106539598 */ public void testMultipleLengths() { int iterations = 800; byte[] buf = new byte[iterations * 4]; int bufLen = 0; long h = 0; for (int i = 0; i < iterations; ++i) { h ^= fingerprint(buf, i); h = remix(h); buf[bufLen++] = getChar(h); h ^= fingerprint(buf, i * i % bufLen);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.6K bytes - Viewed (0) -
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) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
E e) /*-{ return ******@****.***::getDeclaringClass()(); }-*/; static int reduceIterationsIfGwt(int iterations) { return iterations / 10; } static int reduceExponentIfGwt(int exponent) { return exponent / 2; } private Platform() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return mapMaker.weakKeys(); } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) { return e.getDeclaringClass(); } static int reduceIterationsIfGwt(int iterations) { return iterations; } static int reduceExponentIfGwt(int exponent) { return exponent; } private Platform() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
return mapMaker.weakKeys(); } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) { return e.getDeclaringClass(); } static int reduceIterationsIfGwt(int iterations) { return iterations; } static int reduceExponentIfGwt(int exponent) { return exponent; } private Platform() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5.5K 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)