- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 268 for strategy (0.06 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
Path pomFile = projectDir.resolve("pom.xml"); Files.writeString(pomFile, pomXml); UpgradeContext context = createMockContext(projectDir); // Mock successful strategy execution when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any())) .thenReturn(UpgradeResult.empty());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java
while (clusterState.getRoutingNodes().hasUnassignedShards()) { clusterState = strategy.applyStartedShards( clusterState, clusterState.getRoutingNodes().shardsWithState(ShardRoutingState.INITIALIZING) ); clusterState = strategy.reroute(clusterState, "reroute"); } return clusterState; }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 13 08:33:41 GMT 2021 - 6.7K bytes - Click Count (0) -
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 - 7.4K bytes - Click Count (0) -
.github/workflows/maven.yml
name: Java CI with Maven on: push: branches: - master - "*.x" pull_request: branches: - master - "*.x" jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v4 - name: Set up JDK 17 uses: actions/setup-java@v4 with: java-version: '17'Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 677 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
import okhttp3.internal.http.toHttpDateOrNull import okhttp3.internal.toNonNegativeInt /** * Given a request and cached response, this figures out whether to use the network, the cache, or * both. * * Selecting a cache strategy may add conditions to the request (like the "If-Modified-Since" header * for conditional GETs) or warnings to the cached response (if the cached data is potentially * stale). */ class CacheStrategy internal constructor(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java
import org.apache.maven.lifecycle.internal.ReactorContext; import org.apache.maven.lifecycle.internal.TaskSegment; /** * <p> * A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects. * </p>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
.github/workflows/build.yml
run: ./gradlew check -PgraalBuild=true -x jvmTest -x test -x allTests -x java9Test jvm: permissions: checks: write # for mikepenz/action-junit-report runs-on: ubuntu-latest strategy: fail-fast: false matrix: java-version: - 8 - 11 - 17 - 21 steps: - name: Checkout uses: actions/checkout@v6Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 16:19:02 GMT 2026 - 11.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java
import org.apache.maven.lifecycle.internal.TaskSegment; import org.apache.maven.lifecycle.internal.builder.Builder; /** * <p> * A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects. */ @Named("singlethreaded") @SingletonCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
saveModifications(context, pomMap); } return result; } /** * Performs the upgrade logic using the strategy pattern. * Delegates to StrategyOrchestrator for coordinated strategy execution. */ protected int doUpgrade(UpgradeContext context, String targetModel, Map<Path, Document> pomMap) { // Execute strategies using the orchestrator
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0)