Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 327 for asArguments (0.07 seconds)

  1. docs/en/docs/advanced/templates.md

    ```Python
    {"id": id}
    ```
    
    For example, with an ID of `42`, this would render:
    
    ```html
    Item ID: 42
    ```
    
    ### Template `url_for` Arguments { #template-url-for-arguments }
    
    You can also use `url_for()` inside of the template, it takes as arguments the same arguments that would be used by your *path operation function*.
    
    So, the section with:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt

    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.jupiter.params.provider.Arguments
    import org.junit.jupiter.params.provider.ArgumentsProvider
    
    abstract class SimpleProvider : ArgumentsProvider {
      override fun provideArguments(context: ExtensionContext) = arguments().map { Arguments.of(it) }.stream()
    
      @Throws(Exception::class)
      abstract fun arguments(): List<Any>
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            }
    
            private static Stream<Arguments> providePluginOptionScenarios() {
                return Stream.of(
                        Arguments.of(null, true, null, true, "Should enable plugins when --plugins=true"),
                        Arguments.of(true, null, null, true, "Should enable plugins when --all=true"),
                        Arguments.of(
                                true,
                                false,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                    // Incomparable due to cross-assignable arguments (i.e.
                    // foo(String, Object) vs. foo(Object, String))
                    return INCOMPARABLE;
                }
    
                return MORE_SPECIFIC;
            }
    
            if (c2MoreSpecific) {
                return LESS_SPECIFIC;
            }
    
            // Incomparable due to non-related arguments (i.e.
            // foo(Runnable) vs. foo(Serializable))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. src/builtin/builtin.go

    // The max built-in function returns the largest value of a fixed number of
    // arguments of [cmp.Ordered] types. There must be at least one argument.
    // If T is a floating-point type and any of the arguments are NaNs,
    // max will return NaN.
    func max[T cmp.Ordered](x T, y ...T) T
    
    // The min built-in function returns the smallest value of a fixed number of
    // arguments of [cmp.Ordered] types. There must be at least one argument.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 30 23:59:23 GMT 2024
    - 12.8K bytes
    - Click Count (0)
  6. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                }
                result.append('"').append(arg).append('"');
            }
        }
    
        /**
         * Parse a line into individual arguments, respecting quoted strings.
         * Quotes are stripped from the arguments.
         */
        private static List<String> parseArguments(String line) {
            List<String> args = new ArrayList<>();
            StringBuilder current = new StringBuilder();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                        Arguments.of(null, null, false, "Should not be applicable by default"),
                        Arguments.of(false, null, false, "Should not be applicable when --all=false"),
                        Arguments.of(null, "4.0.0", false, "Should not be applicable for same version (4.0.0)"),
                        Arguments.of(false, "4.1.0", true, "Should be applicable for model upgrade even when --all=false"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  8. cmd/sftp-server.go

    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s (%v)", arg, err), "unable to start SFTP server")
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

            try {
                return parseArgs(Options.SOURCE_CLI, args);
            } catch (ParseException e) {
                throw new IllegalArgumentException("Failed to parse CLI arguments: " + e.getMessage(), e.getCause());
            }
        }
    
        protected MavenOptions parseMavenAtFileOptions(Path atFile) {
            try (Stream<String> lines = Files.lines(atFile, StandardCharsets.UTF_8)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 14 12:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                return createTestArguments(expectedResult);
            }
    
            private Arguments createTestArguments(ExpectedResult expectedResult) {
                return Arguments.arguments(
                        description,
                        activeRequiredProjects,
                        activeOptionalProjects,
                        inactiveRequiredProjects,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
Back to Top