Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 482 for callableId (0.38 sec)

  1. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/GradleWorkerMain.java

            }
    
            @SuppressWarnings("unchecked")
            Class<? extends Callable<Void>> workerClass = (Class<? extends Callable<Void>>) implementationClassLoader.loadClass("org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker").asSubclass(Callable.class);
            Callable<Void> main = workerClass.getConstructor(DataInputStream.class).newInstance(instr);
            main.call();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java

      }
    
      @Override
      public <T extends @Nullable Object> List<Future<T>> invokeAll(
          Collection<? extends Callable<T>> tasks) throws InterruptedException {
        return delegate().invokeAll(tasks);
      }
    
      @Override
      public <T extends @Nullable Object> List<Future<T>> invokeAll(
          Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
          throws InterruptedException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/functional/src/main/java/org/gradle/internal/serialization/Cached.java

    import org.gradle.internal.Try;
    
    import java.util.concurrent.Callable;
    
    /**
     * Represents a computation that must execute only once and
     * whose result must be cached even (or specially) at serialization time.
     *
     * @param <T> the resulting type
     */
    public abstract class Cached<T> {
    
        public static <T> Cached<T> of(Callable<T> computation) {
            return new Deferred<>(computation);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

      @ParametricNullness
      private <T extends @Nullable Object> T callWithTimeout(
          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit, boolean amInterruptible)
          throws Exception {
        checkNotNull(callable);
        checkNotNull(timeoutUnit);
        checkPositiveTimeout(timeoutDuration);
    
        Future<T> future = executor.submit(callable);
    
        try {
          return amInterruptible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 27 14:21:11 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFileCollectionFactoryTest.groovy

            Callable<File> callable = Mock()
    
            when:
            def collection = factory.resolving('test files', callable)
    
            then:
            0 * callable._
            collection.toString() == 'test files'
    
            when:
            def files = collection.files
    
            then:
            1 * callable.call() >> { [tmpDir.file('abc')] as Set }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipseWtpPlugin.java

                        @Override
                        public String call() throws Exception {
                            return "../";
                        }
                    });
                    ((IConventionAware) component).getConventionMapping().map("sourceDirs", new Callable<Set<File>>() {
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/libtf/tests/runtime_test.cc

      // Import the module and grab the callable
      const std::string module_path =
          tensorflow::GetDataDependencyFilepath(kSimpleModel);
    
      TF_ASSERT_OK_AND_ASSIGN(Object module,
                              runtime.Load(String(module_path.c_str())));
      std::cout << "Module imported." << std::endl;
    
      TF_ASSERT_OK_AND_ASSIGN(Callable fn,
                              module.Get<Callable>(String("test_float")));
      TF_ASSERT_OK_AND_ASSIGN(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 09 12:27:54 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/IdeaPlugin.java

                conventionMapping.map("jdkName", new Callable<String>() {
                    @Override
                    public String call() {
                        return JavaVersion.current().toString();
                    }
                });
                conventionMapping.map("languageLevel", new Callable<IdeaLanguageLevel>() {
                    @Override
                    public IdeaLanguageLevel call() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/PathNotationConverter.java

                    || notation instanceof Number
                    || notation instanceof Boolean) {
                result.converted(notation.toString());
            } else if (notation instanceof Callable) {
                final Callable<?> callableNotation = (Callable<?>) notation;
                final Object called = uncheckedCall(callableNotation);
                convert(called, result);
            } else if (notation instanceof Provider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/GroovyClassGeneratorUtils.java

                        .orElseThrow(() -> new IllegalStateException("Interception type name is not set for " + request.getInterceptedCallable().getOwner().getType()));
                    CallableInfo callable = request.getInterceptedCallable();
                    CallableKindInfo kind = callable.getKind();
                    if (kind == CallableKindInfo.AFTER_CONSTRUCTOR) {
                        Type constructedType = request.getInterceptedCallable().getOwner().getType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 13:39:36 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top