Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 490 for callableId (0.43 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

         * - A [org.gradle.api.provider.Provider] of any supported type.
         *   The provider's value is resolved recursively.
         * - A [java.util.concurrent.Callable] that returns any supported type.
         *   The callable's return value is resolved recursively.
         *
         * @param path The object to resolve as a `File`.
         * @return The resolved file.
         */
        @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @throws ExecutionException if {@code callable} throws a checked exception
       * @throws UncheckedExecutionException if {@code callable} throws a {@code RuntimeException}
       * @throws ExecutionError if {@code callable} throws an {@code Error}
       * @since 22.0
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      <T extends @Nullable Object> T callUninterruptiblyWithTimeout(
          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt

         * - A [org.gradle.api.provider.Provider] of any supported type.
         *   The provider's value is resolved recursively.
         * - A [java.util.concurrent.Callable] that returns any supported type.
         *   The callable's return value is resolved recursively.
         *
         * @param path The object to resolve as a `File`.
         * @return The resolved file.
         */
        fun file(path: Any): File
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

      @Override
      @ParametricNullness
      public <T extends @Nullable Object> T callWithTimeout(
          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException {
        checkNotNull(callable);
        checkNotNull(timeoutUnit);
        try {
          return callable.call();
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @throws ExecutionError if {@code callable} throws an {@code Error}
       * @since 28.0
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      default <T extends @Nullable Object> T callWithTimeout(Callable<T> callable, Duration timeout)
          throws TimeoutException, InterruptedException, ExecutionException {
        return callWithTimeout(callable, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitSpockIntegrationTest.groovy

            """
    
            file("src/main/groovy/Caller.groovy") << """
                class Caller {
                    private MockIt callable
    
                    Caller(MockIt callable) {
                        this.callable = callable
                    }
    
                    void call() {
                       callable.call()
                    }
                }
            """
            file("src/test/groovy/TestSpec.groovy") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/UnpackingVisitorTest.groovy

        def "recursively resolves return value of a Callable"() {
            def fileCollection = Mock(FileCollectionInternal)
            def callable = Mock(Callable)
    
            when:
            visitor.add(callable)
    
            then:
            1 * callable.call() >> fileCollection
            1 * context.accept(fileCollection)
            0 * context._
        }
    
        def "resolves a Callable which returns null"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolProviderByJavaPsi.kt

        override fun getCallableSymbol(callable: PsiMember): KaCallableSymbol? {
            if (callable !is PsiMethod && callable !is PsiField) return null
            val name = callable.name?.let(Name::identifier) ?: return null
            val containingClass = callable.containingClass ?: return null
            val classSymbol = getNamedClassSymbol(containingClass) ?: return null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
       * Callable}.
       *
       * @param callable the callable task
       * @since 10.0
       */
      public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) {
        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/internal/lambdas/SerializableLambdas.java

        }
    
        public static <OUT, IN> Transformer<OUT, IN> transformer(SerializableTransformer<OUT, IN> transformer) {
            return transformer;
        }
    
        public static <T> Callable<T> callable(SerializableCallable<T> callable) {
            return callable;
        }
    
        public static <T, U, R> BiFunction<T, U, R> bifunction(SerializableBiFunction<T, U, R> f) {
            return f;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 13:52:13 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top