Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 614 for task0 (0.29 seconds)

  1. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task = () -> taskDone = true;
        ScheduledFuture<?> future =
            TestingExecutors.noOpScheduledExecutor().schedule(task, 10, MILLISECONDS);
        Thread.sleep(20);
        assertFalse(taskDone);
        assertFalse(future.isDone());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task = () -> taskDone = true;
        ScheduledFuture<?> future =
            TestingExecutors.noOpScheduledExecutor().schedule(task, 10, MILLISECONDS);
        Thread.sleep(20);
        assertFalse(taskDone);
        assertFalse(future.isDone());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            } finally {
                if (task != null) {
                    task.cancel();
                }
                if (p != null && p.isAlive()) {
                    logger.warn("Process {} is still alive in finally block. Forcing destruction.", p);
                    if (task == null) {
                        task = new ProcessDestroyer(p, ist, commandDestroyTimeout);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/configurations/Gradleception.kt

                        tasks = "clean :distributions-full:install"
                        gradleParams =
                            "-Pgradle_installPath=dogfood-first -PignoreIncomingBuildReceipt=true -PbuildTimestamp=$dogfoodTimestamp1 $defaultParameters"
                    }
    
                    localGradle {
                        name = "BUILD_WITH_BUILT_GRADLE"
                        tasks = "clean :distributions-full:install"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. docs/en/docs/reference/background.md

    # Background Tasks - `BackgroundTasks`
    
    You can declare a parameter in a *path operation function* or dependency function with the type `BackgroundTasks`, and then you can use it to schedule the execution of background tasks after the response is sent.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import BackgroundTasks
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 377 bytes
    - Click Count (0)
  6. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

        id("gradlebuild.module-identity")
        `maven-publish`
        signing
        `java-gradle-plugin`
        id("com.gradle.plugin-publish")
    }
    
    extensions.create<PluginPublishExtension>("pluginPublish", gradlePlugin)
    
    tasks.validatePlugins {
        enableStricterValidation = true
    }
    
    // Remove gradleApi() and gradleTestKit() as we want to compile/run against Gradle modules
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 11:01:20 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

    import org.gradle.api.logging.Logging
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import org.gradle.api.tasks.testing.TestDescriptor
    import org.gradle.api.tasks.testing.TestListener
    import org.gradle.api.tasks.testing.TestResult
    import org.gradle.process.ExecOperations
    import org.slf4j.LoggerFactory
    import java.util.concurrent.ConcurrentHashMap
    import javax.inject.Inject
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    ): List<String> =
        listOf(
            // We pass the 'maxParallelForks' setting as 'workers.max' to limit the maximum number of executers even
            // if multiple test tasks run in parallel. We also pass it to the Gradle build as a maximum (maxParallelForks)
            // for each test task, such that we are independent of whatever default value is defined in the build itself.
            "-Dorg.gradle.workers.max=$maxParallelForks",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/resources/inheritance-repo/t09/p0/p1/pom.xml

        </dependency>
    
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <configuration>
              <tasks><echo>${project.parent.basedir}</echo></tasks>
            </configuration>
          </plugin>
        </plugins>
      </build>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 739 bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/promotion/SanityCheck.kt

        description = "Sanity check for promotion project"
    
        vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().gradlePromoteVcsRootId())
    
        steps {
            gradleWrapper {
                tasks = "tasks"
                gradleParams = ""
            }
        }
    
        triggers {
            vcs {
                branchFilter = ""
                enabled = VersionedSettingsBranch.fromDslContext().isMainBranch
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 18 14:06:58 GMT 2026
    - 866 bytes
    - Click Count (0)
Back to Top