- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 900 for Seed (0.02 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); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java
request.addLanguage(lang); return this; } /** * Sets the seed for random function. * @param seed The seed. * @return This builder instance. */ public PopularWordsRequestBuilder setSeed(final String seed) { request.setSeed(seed); return this; } /** * Sets the window size for rescoring.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 3.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
} public void testParanoidHashBytes() { HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) { return murmur3_32(seed).hashBytes(input).asBytes(); } }; // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32) // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
SessionScope sessionScope = getContainer().lookup(SessionScope.class); sessionScope.enter(); sessionScope.seed(MavenSession.class, mSession); sessionScope.seed(Session.class, iSession); sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(iSession)); } protected MavenProject createStubMavenProject() { Model model = new Model();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java
protected String component() { return "installer"; } @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
* StringBuilders (in a CharSequence[] to make it a little harder for the JVM). */ @BeforeExperiment void setUp() { long seed = 99; Random rnd = new Random(seed); strings = new String[SAMPLES]; for (int i = 0; i < SAMPLES; i++) { StringBuilder sb = new StringBuilder(); for (int j = 0; j < charCount; j++) { int codePoint;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/dynamic-timeouts_test.go
timeout.LogFailure() } else { timeout.LogSuccess(duration) } } } func TestDynamicTimeoutAdjustExponential(t *testing.T) { timeout := newDynamicTimeout(time.Minute, time.Second) rand.Seed(0) initial := timeout.Timeout() for range 10 { testDynamicTimeoutAdjust(t, timeout, rand.ExpFloat64) } adjusted := timeout.Timeout() if initial <= adjusted {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
} interface HashFn { byte[] hash(byte[] input, int seed); } static void verifyHashFunction(HashFn hashFunction, int hashbits, int expected) { int hashBytes = hashbits / 8; byte[] key = new byte[256]; byte[] hashes = new byte[hashBytes * 256]; // Hash keys of the form {}, {0}, {0,1}, {0,1,2}... up to N=255,using 256-N as the seed for (int i = 0; i < 256; i++) { key[i] = (byte) i;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
LoadingCache<String, String> cache = CacheBuilder.newBuilder() .concurrencyLevel(1) .removalListener(listener) .build(computingFunction); // seed the map, so its segment's count > 0 cache.getUnchecked("a"); shouldWait.set(true); CountDownLatch computationStarted = new CountDownLatch(1); CountDownLatch computationComplete = new CountDownLatch(1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.1K bytes - Viewed (0)