- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 219 for strategy (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
// Mock all strategies as applicable for (UpgradeStrategy strategy : mockStrategies) { when(strategy.isApplicable(context)).thenReturn(true); when(strategy.apply(Mockito.eq(context), Mockito.any())).thenReturn(UpgradeResult.empty()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
.github/workflows/tests.yml
on: push: branches-ignore: - 'gh-pages' pull_request: branches-ignore: - 'gh-pages' permissions: contents: read jobs: # Label of the container job sqlite: strategy: matrix: go: ['stable', 'oldstable'] platform: [ubuntu-latest] # can not run in windows OS runs-on: ${{ matrix.platform }} steps: - name: Set up Go 1.xCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Mar 23 10:05:06 GMT 2026 - 9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
private final boolean omitEmptyStrings; private final Strategy strategy; private final int limit; private Splitter(Strategy strategy) { this(strategy, false, CharMatcher.none(), Integer.MAX_VALUE); } private Splitter(Strategy strategy, boolean omitEmptyStrings, CharMatcher trimmer, int limit) { this.strategy = strategy; this.omitEmptyStrings = omitEmptyStrings; this.trimmer = trimmer;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
UpgradeResult result = strategy.doApply(context, pomMap); // Strategy should handle malformed POMs gracefully assertNotNull(result, "Result should not be null"); assertTrue(result.processedPoms().contains(Paths.get("pom.xml")), "POM should be marked as processed"); } } @Nested @DisplayName("Strategy Description") class StrategyDescriptionTests {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
/** * Get current load balancing strategy * * @return current strategy */ public LoadBalancingStrategy getStrategy() { return strategy; } /** * Set load balancing strategy * * @param strategy new strategy */ public void setStrategy(LoadBalancingStrategy strategy) { this.strategy = strategy; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
* Tests Maven 4.1.0+ inference optimizations including dependency and parent inference. */ @DisplayName("InferenceStrategy") class InferenceStrategyTest { private InferenceStrategy strategy; @BeforeEach void setUp() { strategy = new InferenceStrategy(); } 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 - 35.2K bytes - Click Count (0) -
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) -
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) -
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) -
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)