Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 268 for strategy (0.06 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

     */
    @DisplayName("CompatibilityFixStrategy")
    class CompatibilityFixStrategyTest {
    
        private CompatibilityFixStrategy strategy;
    
        @BeforeEach
        void setUp() {
            strategy = new CompatibilityFixStrategy();
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/resources/org/apache/maven/artifact/resolver/ArtifactUpdatePolicyTest.xml

        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>testfile</role-hint>
          <implementation>org.apache.maven.artifact.resolver.TestFileWagon</implementation>
          <instantiation-strategy>per-lookup</instantiation-strategy>
        </component>
      </components>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            for (String strategy : strategies) {
                props.setProperty("jcifs.smb.client.loadBalancingStrategy", strategy);
                PropertyConfiguration config = new PropertyConfiguration(props);
                assertEquals(strategy, config.getLoadBalancingStrategy());
            }
    
            // Test case insensitivity
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests our AtomicHelper fallback strategy in AggregateFutureState.
     *
     * <p>On different platforms AggregateFutureState uses different strategies for its core
     * synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and
     * the strategy is selected in the static initializer of AggregateFutureState. This is convenient
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java

         * The artifact ID of the extension.
         */
        private String artifactId;
    
        /**
         * The version of the extension.
         */
        private String version;
    
        /**
         * The class loading strategy: 'self-first' (the default),
         * 'parent-first' (loads classes from the parent, then from the
         * extension) or 'plugin' (follows the rules from extensions
         * defined as plugins).
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

       * selecting the {@code VarHandleAtomicHelper} strategy.
       */
      private static final ClassLoader NO_VAR_HANDLE =
          getClassLoader(ImmutableSet.of("java.lang.invoke.VarHandle"));
    
      /**
       * This classloader disallows {@link java.lang.invoke.VarHandle} and {@link sun.misc.Unsafe},
       * which will prevent us from selecting the {@code UnsafeAtomicHelper} strategy.
       */
      private static final ClassLoader NO_UNSAFE =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          serialTaskQueue.remove(yieldCompleteTask)
        }
    
        // If we're yielding until we're exhausted and a task run, keep going until a task doesn't run.
        if (strategy == ResumePriority.AfterOtherTasks && otherTasksStarted) {
          return yieldUntil(strategy, condition)
        }
      }
    
      private enum class ResumePriority {
        /** Resumes as soon as the condition is satisfied. */
        BeforeOtherTasks,
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

        },
        STRING_BUILDER {
          @Override
          Appendable get(int sz) {
            return new StringBuilder(sz);
          }
        };
    
        abstract Appendable get(int sz);
      }
    
      @Param CopyStrategy strategy;
      @Param TargetSupplier target;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      String data;
    
      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.Help} - Displays usage information</li>
     * </ul>
     *
     * <h3>Upgrade Strategies</h3>
     * <p>The tool uses a strategy pattern to handle different types of upgrades:</p>
     * <ul>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.ModelUpgradeStrategy} - Upgrades POM model versions (4.0.0 → 4.1.0)</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/Graphs.java

      /**
       * Returns the nodes reachable from {@code node} in {@code graph}, according to the given {@code
       * strategy}.
       */
      private static <N> Iterable<N> getReachableNodes(
          Graph<N> graph, N node, TransitiveClosureSelfLoopStrategy strategy) {
        Traverser<N> traverser = Traverser.forGraph(graph);
        switch (strategy) {
          case ADD_SELF_LOOPS_ALWAYS: // always include 'node'
            return traverser.breadthFirst(node);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
Back to Top