Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 517 for seed (0.01 sec)

  1. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/service/FessUrlQueueService.java

                                new FunctionScoreQueryBuilder.FilterFunctionBuilder[] { new FunctionScoreQueryBuilder.FilterFunctionBuilder(
                                        new RandomScoreFunctionBuilder().seed(sessionId.hashCode())) }),
                        0, pollingFetchSize, SortBuilders.scoreSort().order(SortOrder.DESC));
            } else if (!ORDER_SEQUENTIAL.equals(crawlOrder)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableNetwork<Integer, Object> network =
              networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/GraphMutationTest.java

      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
          assertThat(graph.nodes()).isEmpty();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

            .Builder()
            .body("seed connection")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .code(421)
            .body("misdirected!")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .body("after misdirect")
            .build(),
        )
    
        // Seed the connection pool.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

      @Param boolean noWorkToDo;
    
      Random random;
      String testString;
    
      @BeforeExperiment
      void setUp() {
        random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs
    
        int nonAlpha = size / nonAlphaRatio;
        int alpha = size - nonAlpha;
    
        List<Character> chars = Lists.newArrayListWithCapacity(size);
        for (int i = 0; i < alpha; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/main/config/openapi/openapi-user.yaml

          tags:
            - popularword
          summary: List popular words
          description: Returns available labels
          operationId: listPopularWords
          parameters:
            - name: seed
              in: query
              description: Random seed to return popular words
              required: false
              schema:
                type: string
                example: 123
            - name: label
              in: query
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Unsupported operation."));
                return;
            }
    
            final String seed = request.getParameter("seed");
            String[] tags = SearchRequestParams.getParamValueArray(request, "label");
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isNotBlank(key)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(request.headers["If-Modified-Since"]).isNull()
      }
    
      private fun assertClientSuppliedCondition(
        seed: MockResponse,
        conditionName: String,
        conditionValue: String,
      ): RecordedRequest {
        server.enqueue(
          seed
            .newBuilder()
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top