- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,428 for seed (0.27 sec)
-
guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
} private static void assertHash(int seed, long expected1, long expected2, String stringInput) { HashCode expected = toHashCode(expected1, expected2); byte[] input = HashTestUtils.ascii(stringInput); assertEquals(expected, murmur3_128(seed).hashBytes(input)); assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 08 13:56:22 GMT 2021 - 8.6K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
println("CACHE_MISS in task $taskPath") cacheMiss.set(true) } } } /** * We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS". */ fun isCacheMissMonitoredTask(task: Task) = task.isCompileCacheMissMonitoredTask() || task.project.isAsciidoctorCacheMissTask()
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Mar 07 05:49:29 GMT 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
} private static void assertHash(int seed, long expected1, long expected2, String stringInput) { HashCode expected = toHashCode(expected1, expected2); byte[] input = HashTestUtils.ascii(stringInput); assertEquals(expected, murmur3_128(seed).hashBytes(input)); assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
return hashFn; } } // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; new Random(RANDOM_SEED).nextBytes(testBytes); } @Benchmark byte hashing(int reps) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
} public List<String> getWordList(final SearchRequestType searchRequestType, final String seed, final String[] tags, final String[] roles, final String[] fields, final String[] excludes) { final String baseSeed = seed != null ? seed : fessConfig.getSuggestPopularWordSeed(); final String[] baseTags = tags != null ? tags : fessConfig.getSuggestPopularWordTagsAsArray();
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
throw new IllegalStateException(); } values.remove(0); } public <T> void seed(Class<T> clazz, Provider<T> value) { getScopeState().seed(clazz, value); } public <T> void seed(Class<T> clazz, final T value) { seed(clazz, (Provider<T>) () -> value); } public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 6.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
public class ChecksumBenchmark { // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); @Param({"10", "1000", "100000", "1000000"}) private int size; private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; new Random(RANDOM_SEED).nextBytes(testBytes); } // CRC32
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jun 13 16:19:15 GMT 2023 - 2.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
public class ChecksumBenchmark { // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); @Param({"10", "1000", "100000", "1000000"}) private int size; private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; new Random(RANDOM_SEED).nextBytes(testBytes); } // CRC32
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 13 16:19:15 GMT 2023 - 2.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java
MojoExecutionScope scope = new MojoExecutionScope(); scope.enter(); Object o1 = new Object(); scope.seed(Object.class, o1); assertSame(o1, scope.scope(Key.get(Object.class), null).get()); scope.enter(); Object o2 = new Object(); scope.seed(Object.class, o2); assertSame(o2, scope.scope(Key.get(Object.class), null).get()); scope.exit();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 3.6K bytes - Viewed (0)