Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for asArguments (1.07 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        @get:Input
        abstract val jvmVersion: Property<Int>
    
        @get:Input
        abstract val unitTest: Property<Boolean>
    
        @get:Input
        abstract val embedded: Property<Boolean>
    
        override fun asArguments(): Iterable<String> =
            JpmsConfiguration.forDaemonProcesses(jvmVersion.get(), true)
    }
    
    fun Test.addOsAsInputs() {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return response;
      }
    
      private Object invokeMethod(String methodName, Object... arguments) throws Exception {
        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return response;
      }
    
      private Object invokeMethod(String methodName, Object... arguments) throws Exception {
        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            List<Object> arguments = new ArrayList<>();
            arguments.add(guard);
            if (isDurationBased(method)) {
              arguments.add(Duration.ZERO);
            }
            if (isLongTimeUnitBased(method)) {
              arguments.add(0L);
              arguments.add(TimeUnit.MILLISECONDS);
            }
            try {
              method.invoke(monitor, arguments.toArray());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
    
            private static Stream<Arguments> provideInvalidVersions() {
                return Stream.of(
                        Arguments.of(null, "null version"),
                        Arguments.of("", "empty version"),
                        Arguments.of("   ", "whitespace-only version"),
                        Arguments.of("4", "incomplete version (major only)"),
                        Arguments.of("4.0", "incomplete version (major.minor only)"),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  6. 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) }}">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

            }
    
            private static Stream<Arguments> provideInvalidGAVScenarios() {
                return Stream.of(
                        Arguments.of(
                                null, "incomplete-project", null, "Should return null for missing groupId and version"),
                        Arguments.of("com.example", null, "1.0.0", "Should return null for missing artifactId"),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. 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,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. 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();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. 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"),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
Back to top