Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,151 for seed (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top