Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 903 for executor (0.75 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.assertTrue;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          Assert.assertEquals(expectedData, future.get());
        } catch (ExecutionException e) {
          throw e.getCause();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

    package jcifs.internal.smb2.lease;
    
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeUnit;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ConcurrencyDependencyGraphTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.lifecycle.LifecycleNotFoundException;
    import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.ResolutionErrorHandler;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.DefaultMavenExecutionResult;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.impl.DefaultArtifact;
    import org.apache.maven.impl.DefaultArtifactCoordinatesFactory;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. compat/maven-toolchain-model/pom.xml

              <models>
                <model>src/main/mdo/toolchains.mdo</model>
              </models>
            </configuration>
            <executions>
              <execution>
                <id>velocity</id>
                <goals>
                  <goal>velocity</goal>
                </goals>
                <phase>generate-sources</phase>
                <configuration>
                  <templates>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. compat/maven-repository-metadata/pom.xml

              </params>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
            </configuration>
            <executions>
              <execution>
                <id>modello-v3</id>
                <goals>
                  <goal>velocity</goal>
                </goals>
                <configuration>
                  <version>1.1.0</version>
                  <models>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/debugging.md

    {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *}
    
    ### About `__name__ == "__main__"` { #about-name-main }
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    but is not called when another file imports it, like in:
    
    ```Python
    from myapp import app
    ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    import java.io.Serializable
    import java.util.concurrent.atomic.AtomicBoolean
    
    /**
     * Register a build service that monitors a list of tasks and reports CACHE_MISS if they're actually executed.
     */
    if (buildCacheEnabled()) {
        registerBuildScanInfoCollectingService(CacheMissMonitorBuildService::class.java, ::isCacheMissMonitoredTask) { gradleRootProject, cacheMissInBuildLogic, cacheMissInMainBuild ->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 20:57:49 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import org.apache.maven.exception.ExceptionSummary;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.ExecutionListener;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionRequestPopulationException;
    import org.apache.maven.execution.MavenExecutionRequestPopulator;
    import org.apache.maven.execution.MavenExecutionResult;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top