Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 482 for callableId (1.92 sec)

  1. fastapi/background.py

    from typing import Any, Callable
    
    from starlette.background import BackgroundTasks as StarletteBackgroundTasks
    from typing_extensions import Annotated, Doc, ParamSpec
    
    P = ParamSpec("P")
    
    
    class BackgroundTasks(StarletteBackgroundTasks):
        """
        A collection of background tasks that will be called after a response has been
        sent to the client.
    
        Read more about it in the
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/tasks/WriteProperties.java

    import java.io.IOException;
    import java.io.OutputStream;
    import java.nio.charset.Charset;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Properties;
    import java.util.concurrent.Callable;
    
    /**
     * Writes a {@link java.util.Properties} in a way that the results can be expected to be reproducible.
     *
     * <p>There are a number of differences compared to how properties are stored:</p>
     * <ul>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        Callable<@Nullable Void> cancelRunnable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() {
                cancellationSuccess.set(currentFuture.get().cancel(true));
                awaitUnchecked(barrier);
                return null;
              }
            };
        Callable<@Nullable Void> setFutureCompleteSuccessfullyRunnable =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

          Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
          throws InterruptedException;
    
      /**
       * Duration-based overload of {@link #invokeAll(Collection, long, TimeUnit)}.
       *
       * @since 32.1.0
       */
      @J2ktIncompatible
      default <T extends @Nullable Object> List<Future<T>> invokeAll(
          Collection<? extends Callable<T>> tasks, Duration timeout) throws InterruptedException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 20:33:25 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipsePlugin.java

                        @Override
                        public JavaVersion call() {
                            return project.getExtensions().getByType(JavaPluginExtension.class).getSourceCompatibility();
                        }
    
                    });
                    conventionMapping.map("targetCompatibility", new Callable<JavaVersion>() {
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/ConventionTask.java

    import org.gradle.work.DisableCachingByDefault;
    
    import java.util.concurrent.Callable;
    
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    public abstract class ConventionTask extends DefaultTask implements IConventionAware {
        private ConventionMapping conventionMapping;
    
        public Task conventionMapping(String property, Callable<?> mapping) {
            getConventionMapping().map(property, mapping);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 12 12:01:34 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskOutputs.java

    import org.gradle.internal.properties.bean.PropertyWalker;
    
    import javax.annotation.Nullable;
    import java.io.File;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.function.Consumer;
    
    @NonNullApi
    public class DefaultTaskOutputs implements TaskOutputsEnterpriseInternal {
        private final FileCollection allOutputFiles;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 04 09:46:14 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  8. fastapi/types.py

    import types
    from enum import Enum
    from typing import Any, Callable, Dict, Set, Type, TypeVar, Union
    
    from pydantic import BaseModel
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 12 00:29:03 UTC 2023
    - 383 bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/tasks/AbstractCopyTask.java

                getInputs().property(specPropertyName + ".includeEmptyDirs", (Callable<Boolean>) spec::getIncludeEmptyDirs);
                getInputs().property(specPropertyName + ".duplicatesStrategy", (Callable<DuplicatesStrategy>) spec::getDuplicatesStrategy);
                getInputs().property(specPropertyName + ".dirPermissions", spec.getDirPermissions().map(FilePermissions::toUnixNumeric))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/resolver/FirIdeNormalAnalysisLibrarySourceModuleResolveCallTestGenerated.java

          @TestDataPath("$PROJECT_ROOT")
          public class Callables {
            @Test
            public void testAllFilesPresentInCallables() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 19:03:00 UTC 2024
    - 175.8K bytes
    - Viewed (0)
Back to top