Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 275 for callableId (0.22 sec)

  1. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java

         */
        void onExecute(Runnable command);
    
        /**
         * Special behavior when a task is executed.
         *
         * The Callable's call() needs to be called from this method.
         */
        <T> T onExecute(Callable<T> command) throws Exception;
    
        /**
         * Special behavior after an executor is stopped.
         *
         * This is called after the underlying Executor has been stopped.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt

     * non-static scopes.
     */
    internal class FirNonStaticMembersScope(
        private val delegate: FirContainingNamesAwareScope,
    ) : FirCallableFilteringScope(delegate) {
        override fun isTargetCallable(callable: FirCallableSymbol<*>): Boolean = !callable.fir.isStatic
    
        override fun processDeclaredConstructors(processor: (FirConstructorSymbol) -> Unit) {
            delegate.processDeclaredConstructors(processor)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Oct 10 13:38:00 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/AbstractCodeQualityPlugin.java

        private void configureExtensionRule() {
            final ConventionMapping extensionMapping = conventionMappingOf(extension);
            extensionMapping.map("sourceSets", Callables.returning(new ArrayList<>()));
            extensionMapping.map("reportsDir", new Callable<File>() {
                @Override
                public File call() {
                    return project.getExtensions().getByType(ReportingExtension.class).file(getReportName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDependencyTest.groovy

        }
    
        def "can depend on a callable"() {
            Callable callable = Mock(Callable)
    
            given:
            1 * callable.call() >> otherTask
    
            when:
            dependency.add(callable)
    
            then:
            dependency.getDependencies(task) == toSet(otherTask)
        }
    
        def "can depend on a callable that returns null"() {
            Callable callable = Mock(Callable)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Callables.returning;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Callables.returning;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/TestScopeRenderer.kt

    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

        private final Callable<V> callable;
    
        CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) {
          super(listenerExecutor);
          this.callable = checkNotNull(callable);
        }
    
        @Override
        @ParametricNullness
        V runInterruptibly() throws Exception {
          return callable.call();
        }
    
        @Override
        void setValue(@ParametricNullness V value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CombinedFuture.java

        private final Callable<V> callable;
    
        CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) {
          super(listenerExecutor);
          this.callable = checkNotNull(callable);
        }
    
        @Override
        @ParametricNullness
        V runInterruptibly() throws Exception {
          return callable.call();
        }
    
        @Override
        void setValue(@ParametricNullness V value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

        this.delegate = checkNotNull(delegate);
      }
    
      /**
       * Wraps a {@code Callable} for submission to the underlying executor. This method is also applied
       * to any {@code Runnable} passed to the default implementation of {@link #wrapTask(Runnable)}.
       */
      protected abstract <T extends @Nullable Object> Callable<T> wrapTask(Callable<T> callable);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top