Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 482 for callableId (1.02 sec)

  1. tensorflow/cc/client/client_session_test.cc

      ClientSession::CallableHandle callable;
      TF_CHECK_OK(session.MakeCallable(options, &callable));
      TF_EXPECT_OK(session.RunCallable(
          callable, {test::AsTensor<int>({1}, {}), test::AsTensor<int>({41}, {})},
          &outputs, nullptr));
      test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({42}, {}));
      TF_EXPECT_OK(session.ReleaseCallable(callable));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultConditionalExecutionQueueTest.groovy

            then:
            1 * executor.stop()
        }
    
        TestExecution testExecution(Callable<String> callable) {
            return new TestExecution(callable)
        }
    
        class TestExecution extends AbstractConditionalExecution {
            TestExecution(Callable callable) {
                super(callable)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/DefaultXcodeProject.java

        }
    
        public Groups getGroups() {
            return groups;
        }
    
        public List<XcodeTarget> getTargets() {
            return targets;
        }
    
        public Callable<List<TaskDependency>> getTaskDependencies() {
            return new Callable<List<TaskDependency>>() {
                @Override
                public List<TaskDependency> call() throws Exception {
                    List<TaskDependency> result = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

        assert callable(
            depends.dependency
        ), "A parameter-less dependency must have a callable dependency"
        return get_sub_dependant(depends=depends, dependency=depends.dependency, path=path)
    
    
    def get_sub_dependant(
        *,
        depends: params.Depends,
        dependency: Callable[..., Any],
        path: str,
        name: Optional[str] = None,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/util/internal/DeferredUtilTest.groovy

            where:
            description | value
            'Callable'  | { -> null }
            'null'      | null
        }
    
        def "unpackOrNull of #description is null"() {
            expect:
            DeferredUtil.unpackOrNull(value) == null
    
            where:
            description | value
            'Provider'  | Providers.notDefined()
            'Provider in Callable'      | { -> Providers.notDefined() }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. android/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)
  8. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/WorkerLogEventListener.java

        }
    
        public Object withWorkerLoggingProtocol(WorkerLoggingProtocol newLoggingProtocol, Callable<?> callable) throws Exception {
            WorkerLoggingProtocol defaultProtocol = workerLoggingProtocol.getAndSet(newLoggingProtocol);
            try {
                return callable.call();
            } finally {
                workerLoggingProtocol.getAndSet(defaultProtocol);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. fastapi/encoders.py

        set: list,
        UUID: str,
        Url: str,
        AnyUrl: str,
    }
    
    
    def generate_encoders_by_class_tuples(
        type_encoder_map: Dict[Any, Callable[[Any], Any]],
    ) -> Dict[Callable[[Any], Any], Tuple[Any, ...]]:
        encoders_by_class_tuples: Dict[Callable[[Any], Any], Tuple[Any, ...]] = defaultdict(
            tuple
        )
        for type_, encoder in type_encoder_map.items():
            encoders_by_class_tuples[encoder] += (type_,)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

      private static final Callable<String> GOOD_CALLABLE =
          new Callable<String>() {
            @Override
            public String call() throws InterruptedException {
              MILLISECONDS.sleep(DELAY_MS);
              return GOOD_CALLABLE_RESULT;
            }
          };
      private static final Callable<String> BAD_CALLABLE =
          new Callable<String>() {
            @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top