Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for infer (0.03 sec)

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

            CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args);
    
            assertTrue(options.modelVersion().isPresent(), "--model-version option should be present");
            assertEquals("4.1.0", options.modelVersion().get(), "--model-version should be 4.1.0");
    
            assertTrue(options.infer().isPresent(), "--infer option should be present");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            if (useAll) {
                return true;
            }
    
            // Check if --infer is explicitly set
            if (options.infer().isPresent()) {
                return options.infer().get();
            }
    
            // Apply default behavior: if no specific options are provided, enable --infer
            if (options.infer().isEmpty()
                    && options.model().isEmpty()
                    && options.plugins().isEmpty()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

        @DisplayName("Applicability")
        class ApplicabilityTests {
    
            @Test
            @DisplayName("should be applicable when --infer option is true")
            void shouldBeApplicableWhenInferOptionTrue() {
                UpgradeOptions options = mock(UpgradeOptions.class);
                when(options.infer()).thenReturn(Optional.of(true));
                when(options.all()).thenReturn(Optional.empty());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *
     * <h3>All-in-One Option</h3>
     * The {@code --all} option is a convenience flag equivalent to {@code --model 4.1.0 --infer --fix-model --plugins}.
     * It performs a complete upgrade to Maven 4.1.0 with all optimizations, compatibility fixes, and plugin upgrades.
     *
     * <h3>Maven 4 Compatibility Fixes</h3>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            boolean noOptionsSpecified = options.all().isEmpty()
                    && options.infer().isEmpty()
                    && options.model().isEmpty()
                    && options.plugins().isEmpty()
                    && options.modelVersion().isEmpty();
    
            boolean allOptionsDisabled = options.all().map(v -> !v).orElse(false)
                    && options.infer().map(v -> !v).orElse(false)
                    && options.model().map(v -> !v).orElse(false)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

            void shouldHandleAllOptionsDisabled() {
                UpgradeContext context = TestUtils.createMockContext(TestUtils.createOptions(
                        false, // --all
                        false, // --infer
                        false, // --fix-model
                        false, // --plugins
                        null // --model
                        ));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                    return option.get();
                }
    
                // Apply default behavior: if no specific options are provided, use default
                if (options.all().isEmpty()
                        && options.infer().isEmpty()
                        && options.model().isEmpty()
                        && options.plugins().isEmpty()
                        && options.modelVersion().isEmpty()) {
                    return defaultValue;
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    * `path` - The file path to the file to stream.
    * `headers` - Any custom headers to include, as a dictionary.
    * `media_type` - A string giving the media type. If unset, the filename or path will be used to infer a media type.
    * `filename` - If set, this will be included in the response `Content-Disposition`.
    
    File responses will include appropriate `Content-Length`, `Last-Modified` and `ETag` headers.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      private static boolean addCausalChain(Set<Throwable> seen, Throwable param) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        Throwable t = param;
    
        for (; t != null; t = t.getCause()) {
          boolean firstTimeSeen = seen.add(t);
          if (!firstTimeSeen) {
            /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return newView(sortedDelegate.tailMap(fromKey));
      }
    
      public ImmutableSortedMap<K, V> tailMap(K fromKeyParam, boolean inclusive) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        K fromKey = fromKeyParam;
        checkNotNull(fromKey);
        if (!inclusive) {
          fromKey = higher(fromKey);
          if (fromKey == null) {
            return new Builder<K, V>(this.comparator).build();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top