Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for deterministic (0.18 sec)

  1. 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();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            projects = new ProjectSorter(projects).getSortedProjects();
    
            assertEquals(parentProject, projects.get(0));
    
            // the order of these two is non-deterministic, based on when they're added to the reactor.
            assertThat(projects, hasItem(pluginProject));
            assertThat(projects, hasItem(pluginLevelDepProject));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

     * point before or during the second request. It may be closed after client has started sending the
     * request body. If a request body is not retryable then the client may fail the request, making
     * client behavior non-deterministic. Add delays in the client to improve the chances that the
     * server has closed the socket before follow up requests are made.
     */
    @ExperimentalOkHttpApi
    sealed interface SocketPolicy {
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       * container. This method may return the original list unchanged, the original list modified in
       * place, or a different list.
       *
       * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return
       * its input unmodified. Provided that the test suite is built without {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       * container. This method may return the original list unchanged, the original list modified in
       * place, or a different list.
       *
       * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return
       * its input unmodified. Provided that the test suite is built without {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

     * <p>
     * A note to the reader;
     * </p>
     * <p>
     * There are several issues/discussions regarding how "aggregator" plugins should be handled.
     * Read for instance http://docs.codehaus.org/display/MAVEN/Deterministic+Lifecycle+Planning
     * </p>
     * <p>
     * In their current implementation they are "bolted" onto the lifecycle by separating them
     * into TaskSegments. This class represents the execution context of one such task segment.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        assertSame(copy, copy.iterator().next().member);
      }
    
      /*
       * The behavior of toString() and iteration is tested by LinkedHashMultiset,
       * which shares a lot of code with HashMultiset and has deterministic
       * iteration order.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Queues.java

       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }</pre>
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned queue will be serializable if the specified queue is serializable.
       *
       * @param queue the queue to be wrapped in a synchronized view
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

        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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 18 16:17:46 GMT 2017
    - 4.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         */
        boolean isIncludesDependencies();
    
        /**
         * Types of path (class-path, module-path, …) where the dependency can be placed.
         * For most deterministic builds, the array length should be 1. In such case,
         * the dependency will be unconditionally placed on the specified type of path
         * and no heuristic rule will be involved.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top