- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 644 for seed (0.15 sec)
-
android/guava/src/com/google/common/hash/Hashing.java
hashFunctions[0] = Murmur3_128HashFunction.GOOD_FAST_HASH_128; int seed = GOOD_FAST_HASH_SEED; for (int i = 1; i < hashFunctionsNeeded; i++) { seed += 1500450271; // a prime; shouldn't matter hashFunctions[i] = murmur3_128(seed); } return new ConcatenatedHashFunction(hashFunctions); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
new Murmur3_32HashFunction(Hashing.GOOD_FAST_HASH_SEED, /* supplementaryPlaneFix= */ true); private static final int CHUNK_SIZE = 4; private static final int C1 = 0xcc9e2d51; private static final int C2 = 0x1b873593; private final int seed; private final boolean supplementaryPlaneFix; Murmur3_32HashFunction(int seed, boolean supplementaryPlaneFix) { this.seed = seed;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 11.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java
MavenSession oldSession = legacySupport.getSession(); scope.enter(); try { scope.seed(MavenProject.class, project); scope.seed(MojoExecution.class, mojoExecution); scope.seed( org.apache.maven.api.plugin.Log.class, new DefaultLog(LoggerFactory.getLogger(
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
long seed = insertRandomly(elements, q); while (!q.isEmpty()) { elements.add(0, q.pollLast()); } assertEqualsUsingSeed(seed, expected, elements); } } public void testCorrectOrdering_randomAccess() { long seed = new Random().nextLong(); Random random = new Random(seed); PriorityQueue<Integer> control = new PriorityQueue<>();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
long seed = insertRandomly(elements, q); while (!q.isEmpty()) { elements.add(0, q.pollLast()); } assertEqualsUsingSeed(seed, expected, elements); } } public void testCorrectOrdering_randomAccess() { long seed = new Random().nextLong(); Random random = new Random(seed); PriorityQueue<Integer> control = new PriorityQueue<>();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
SessionScope sessionScope = getContainer().lookup(SessionScope.class); sessionScope.enter(); sessionScope.seed(MavenSession.class, session); sessionScope.seed(Session.class, session.getSession()); sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession())); return session; }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 11.7K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
assertEquals(22152, Hashing.consistentHash(2201, 100001)); assertEquals(15018, Hashing.consistentHash(2202, 100001)); } private static final double MAX_PERCENT_SPREAD = 0.5; private static final long RANDOM_SEED = 177L; public void testCombineOrdered_empty() { assertThrows( IllegalArgumentException.class, () -> Hashing.combineOrdered(Collections.<HashCode>emptySet())); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
assertEquals(22152, Hashing.consistentHash(2201, 100001)); assertEquals(15018, Hashing.consistentHash(2202, 100001)); } private static final double MAX_PERCENT_SPREAD = 0.5; private static final long RANDOM_SEED = 177L; public void testCombineOrdered_empty() { assertThrows( IllegalArgumentException.class, () -> Hashing.combineOrdered(Collections.<HashCode>emptySet())); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
notification.getValue()); } // All of the seed values should have been visible, so we should have gotten removal // notifications for all of them. for (int i = 0; i < nSeededEntries; i++) { assertEquals("b" + i, removalNotifications.get("b" + i)); } // Each of the values added to the map should either still be there, or have seen a removal // notification.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13.2K bytes - Viewed (0)