- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for inference (1.21 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
import static eu.maveniverse.domtrip.maven.MavenPomElements.ModelVersions.MODEL_VERSION_4_1_0; /** * Strategy for applying Maven inference optimizations. * For 4.0.0 models: applies limited inference (parent-related only). * For 4.1.0+ models: applies full inference optimizations. * Removes redundant information that can be inferred by Maven during model building. */ @Named @Singleton @Priority(30)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
* If a plugin version is defined via a property, the property value is updated instead. * * <h3>Inference Optimizations (Optional)</h3> * When {@code --infer} option is enabled, applies inference optimizations to remove redundant information: * * <h4>Limited Inference for 4.0.0 Models (Maven 3.x POMs)</h4> * <ul>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** * Unit tests for the {@link InferenceStrategy} class. * Tests Maven 4.1.0+ inference optimizations including dependency and parent inference. */ @DisplayName("InferenceStrategy") class InferenceStrategyTest { private InferenceStrategy strategy; @BeforeEach void setUp() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 35.2K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
} } @Nested @DisplayName("Inference Eligibility") class InferenceEligibilityTests { @ParameterizedTest(name = "for model version {0}") @ValueSource(strings = {"4.0.0", "4.1.0"}) @DisplayName("should determine inference eligibility correctly") void shouldDetermineInferenceEligibilityCorrectly(String modelVersion) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 19.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java
public static Set<Coordinates> computeAllArtifactCoordinates(UpgradeContext context, Map<Path, Document> pomMap) { Set<Coordinates> coordinates = new HashSet<>(); context.info("Computing artifacts for inference from " + pomMap.size() + " POM(s)..."); // Extract artifact from all POMs in the project for (Map.Entry<Path, Document> entry : pomMap.entrySet()) { Path pomPath = entry.getKey();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 7.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
} return false; } /** * Checks if a model version is eligible for inference optimizations. * Models 4.0.0+ are eligible (4.0.0 has limited inference, 4.1.0+ has full inference). * * @param modelVersion the model version to check * @return true if eligible for inference */ public static boolean isEligibleForInference(String modelVersion) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 9.5K bytes - Viewed (0) -
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.PluginUpgradeStrategy} - Upgrades plugin versions for Maven 4 compatibility</li> * <li>{@link org.apache.maven.cling.invoker.mvnup.goals.InferenceStrategy} - Applies Maven 4.1.0+ inference optimizations</li> * <li>{@link org.apache.maven.cling.invoker.mvnup.goals.CompatibilityFixStrategy} - Fixes Maven 4 compatibility issues</li> * </ul> * * <h3>Utility Classes</h3> * <ul>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 3.3K bytes - Viewed (0) -
doc/go_spec.html
inferred type arguments. Otherwise, type inference fails and the program is invalid. </p> <p> Type inference uses the type relationships between pairs of types for inference: For instance, a function argument must be <a href="#Assignability">assignable</a> to its respective function parameter; this establishes a relationship between the type of the argument and the type of the parameter.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 02 23:07:19 UTC 2025 - 286.5K bytes - Viewed (1) -
guava/src/com/google/common/collect/Maps.java
SortedMap<K, ? extends V> sortedLeft = (SortedMap<K, ? extends V>) left; return difference(sortedLeft, right); } return difference(left, right, Equivalence.equals()); } /** * Computes the difference between two maps. This difference is an immutable snapshot of the state * of the maps at the time this method is called. It will never change, even if the maps change at * a later time. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.35.md
- Introduced the Node Declared Features capability (alpha), which includes: - A new `Node.Status.DeclaredFeatures` field for publishing node-specific features. - A `component-helpers` library for feature registration and inference. - A `NodeDeclaredFeatures` scheduler plugin to match pods with nodes that provide required features.
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Dec 17 13:01:55 UTC 2025 - 228.5K bytes - Viewed (0)