Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for completed (0.45 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/TransformBackedProviderTest.groovy

            given:
            def property = propertyWithProducer()
            def provider = property.map { Integer.parseInt(it) }
    
            when:
            provider.isPresent()
    
            then:
            def ex = thrown(InvalidUserCodeException)
            ex.message == "Querying the mapped value of <prop> before <task> has completed is not supported"
            0 * progressEventEmitter._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:06:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
        assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/FilteringProviderTest.groovy

            given:
            def property = propertyWithProducer()
            def provider = property.filter { it.contains("1") }
    
            when:
            provider.isPresent()
    
            then:
            def ex = thrown(InvalidUserCodeException)
            ex.message == "Querying the filtered value of <prop> before <task> has completed is not supported"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
        assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/UnitOfWorkParticipant.java

        /**
         * Called when the cache is due to be unlocked. Call after other threads have completed work. This method may access the cache files.
         */
        void finishWork();
    
        /**
         * Called just before the cache is to be unlocked. Called after all work has been completed, and after {@link #finishWork()} has completed.
         * This method should not modify the cache files.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

        assertFalse(sleeper.completed);
        assertTrue(getUninterruptibly(delayedFuture));
    
        assertTrue(Thread.interrupted()); // clears the interrupt state, too
        assertTrue(sleeper.completed);
      }
    
      private static class SleepingRunnable implements Runnable {
        final int millis;
        volatile boolean completed;
    
        public SleepingRunnable(int millis) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

        assertFalse(sleeper.completed);
        assertTrue(getUninterruptibly(delayedFuture));
    
        assertTrue(Thread.interrupted()); // clears the interrupt state, too
        assertTrue(sleeper.completed);
      }
    
      private static class SleepingRunnable implements Runnable {
        final int millis;
        volatile boolean completed;
    
        public SleepingRunnable(int millis) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ExclusiveCacheAccessingWorker.java

                    latch.await();
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
    
            public void completed() {
                latch.countDown();
            }
        }
    
        @Override
        public void run() {
            try {
                while (!Thread.currentThread().isInterrupted() && !stopSeen) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       *     sequential order as produced by the iterator for the given task list. If the operation did
       *     not time out, each task will have completed. If it did time out, some of these tasks will
       *     not have completed.
       * @throws RejectedExecutionException {@inheritDoc}
       * @throws NullPointerException if any task is null
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/InMemoryDecoratedCacheTest.groovy

        def cache = new InMemoryDecoratedCache(target, CacheBuilder.newBuilder().build(), "id", new AtomicReference<FileLock.State>())
    
        def "does not produce value when present in memory and marks completed"() {
            def producer = Mock(Function)
            def completion = Mock(Runnable)
    
            given:
            cache.putLater("key", "value", Stub(Runnable))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top