Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 101 for infer (0.03 seconds)

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

        }
    
        /**
         * Creates upgrade options with only the --infer option set.
         *
         * @param infer the --infer option value
         * @return configured upgrade options
         */
        public static UpgradeOptions createOptionsWithInfer(boolean infer) {
            return createOptions(null, infer, null, null, null);
        }
    
        /**
         * Creates a simple POM XML string for testing.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (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()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (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());
    
    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)
  4. tensorflow/c/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
    
      // Infer shape when everything is known.
      CheckOutputShapes(matmul_op,
                        /*input_shapes*/ {make_shape({3, 2}), make_shape({2, 4})},
                        /*input_tensors*/ {},
                        /*expected_shape*/ make_shape({3, 4}));
    
      // Infer shape when second operand has unknown shape.
      CheckOutputShapes(matmul_op,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. 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>
    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)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     * mvnup check
     * }</pre>
     *
     * <h3>Apply All Upgrades</h3>
     * <pre>{@code
     * mvnup apply --all
     * }</pre>
     *
     * <h3>Upgrade to Maven 4.1.0 with Inference</h3>
     * <pre>{@code
     * mvnup apply --model 4.1.0 --infer
     * }</pre>
     *
     * <h2>Extension Points</h2>
     *
     * <p>To add new upgrade strategies:</p>
     * <ol>
     *   <li>Implement {@link org.apache.maven.cling.invoker.mvnup.goals.UpgradeStrategy}</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)
  7. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*  *##set ( $groupId = $project.artifact.groupId )
    #*  *##set ( $directory = 'lib' )
    #*  *##if ( !$apacheMavenGroupIds.contains( $groupId ) )
    #*    *### advertise about each non-Maven dependency
    #*    *###
    #*    *### infer SPDX license id
    #*    *##if ( $MITLicenseNames.contains( $license.name ) )
    #*      *##set ( $spdx = 'MIT' )
    #*    *##elseif ( $license.name == "Eclipse Public License, Version 1.0" )
    #*      *##set ( $spdx = 'EPL-1.0' )
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. 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
                        ));
    
    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)
  9. 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.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top