Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,153 for executors (0.54 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

            DefaultThreadFactory                  | ThreadFactory                  | "java.util.concurrent.Executors.defaultThreadFactory()"
            executorServiceTypeOnCurrentJvm()     | Executor                       | "java.util.concurrent.Executors.newSingleThreadExecutor().tap { shutdown() }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

        def textOutputFactory = new TestStyledTextOutputFactory()
        def executorService = Executors.newCachedThreadPool()
        def fileSystemIsWatchingAnyLocations = true
        def virtualFileSystem = Stub(BuildLifecycleAwareVirtualFileSystem) {
            isWatchingAnyLocations() >> {
                fileSystemIsWatchingAnyLocations
            }
        }
    
        def executer = executer()
    
        private File file = new File('file').absoluteFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import java.util.concurrent.Callable
    import java.util.concurrent.Executors
    import java.util.concurrent.Future
    
    /**
     * See https://github.com/gradle/gradle-private/issues/3919
     *
     * When merging `releaseX` branch into `master`, we should only use the release note from the `master` branch,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          assertEquals(Service.State.STOPPING, state());
          shutdownCalled++;
        }
    
        @Override
        protected Executor executor() {
          return executor;
        }
    
        @Override
        public void tearDown() throws Exception {
          executor.shutdown();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testCompletionFinishesWithDone() {
        ExecutorService executor = Executors.newFixedThreadPool(10);
        for (int i = 0; i < 50000; i++) {
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          final AtomicReference<String> errorMessage = Atomics.newReference();
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          assertEquals(Service.State.STOPPING, state());
          shutdownCalled++;
        }
    
        @Override
        protected Executor executor() {
          return executor;
        }
    
        @Override
        public void tearDown() throws Exception {
          executor.shutdown();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        executor.shutdown();
        assertTrue(executor.isShutdown());
        assertThrows(RejectedExecutionException.class, () -> executor.submit(doNothingRunnable));
        assertFalse(executor.isTerminated());
    
        // WAIT #2
        barrier.await(1, TimeUnit.SECONDS);
        assertFalse(executor.awaitTermination(20, TimeUnit.MILLISECONDS));
    
        // WAIT #3
        barrier.await(1, TimeUnit.SECONDS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import java.util.concurrent.ExecutorService;
    
    /**
     * Tests for {@link ClosingFuture} that exercise {@link
     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)}.
     */
    public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/NoDaemonGradleExecuter.java

                            + "The test is most likely not written in a way that it can run with the embedded executer.");
                    }
    
                    NativeServicesTestFixture.initialize();
                    DefaultExecHandleBuilder builder = new DefaultExecHandleBuilder(TestFiles.pathToFileResolver(), Executors.newCachedThreadPool()) {
                        @Override
                        public File getWorkingDir() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 05:38:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/operations/BuildOperationCategory.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.operations;
    
    /**
     * Classifies a build operation such that executors and event listeners can
     * react differently depending on this type.
     *
     * @since 4.0
     */
    public enum BuildOperationCategory implements BuildOperationMetadata {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top