Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Ginnish (0.2 sec)

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

        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Finish the task by unblocking the task latch.  Then wait for the
        // listener to be called by blocking on the listener latch.
        taskLatch.countDown();
        assertEquals(25, task.get().intValue());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DefaultGenerationListener.java

        }
    
        @Override
        public void start(String context) {
            contextStack.addFirst(context);
        }
    
        @Override
        public void finish() {
            contextStack.removeFirst();
        }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/CollectorTester.java

          A finalAccum = scheme.result(collector, inputs);
          if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
            @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH`
            R result = (R) finalAccum;
            assertEquivalent(expectedResult, result);
          }
          assertEquivalent(expectedResult, collector.finisher().apply(finalAccum));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

     *
     */
    @Deprecated
    public interface ResolutionListener {
        String ROLE = ResolutionListener.class.getName();
    
        int TEST_ARTIFACT = 1;
    
        int PROCESS_CHILDREN = 2;
    
        int FINISH_PROCESSING_CHILDREN = 3;
    
        int INCLUDE_ARTIFACT = 4;
    
        int OMIT_FOR_NEARER = 5;
    
        int UPDATE_SCOPE = 6;
    
        @Deprecated
        int MANAGE_ARTIFACT = 7;
    
        int OMIT_FOR_CYCLE = 8;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LoadingCache.java

       *
       * <p>If another call to {@link #get} or {@link #getUnchecked} is currently loading the value for
       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        int off = 0;
        while (off < chars.length) {
          int len = Math.min(chars.length, off + chunk) - off;
          lineBuf.add(chars, off, len);
          off += len;
        }
        lineBuf.finish();
        return lines;
      }
    
      private static List<String> readUsingJava(String input, int chunk) throws IOException {
        BufferedReader r = new BufferedReader(getChunkedReader(input, chunk));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

         */
        RecordingRunnable earlyListener = new RecordingRunnable();
        listenable.addListener(earlyListener, directExecutor());
    
        input.allowGetToComplete.countDown();
        // Now give the get() thread time to finish:
        assertTrue(earlyListener.wasRun.await(1, SECONDS));
    
        // Now test an additional addListener call, which will be run in-thread:
        RecordingRunnable lateListener = new RecordingRunnable();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

      }
    
      /**
       * Returns a future that delegates to this future but will finish early (via a {@link
       * TimeoutException} wrapped in an {@link ExecutionException}) if the specified timeout expires.
       * If the timeout expires, not only will the output future finish, but also the input future
       * ({@code this}) will be cancelled and interrupted.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // give the third get a chance to run; it is okay for this to be racy
        // as the end result should be the same either way
        fourthSignal.await();
        Thread.yield();
    
        // let computation finish
        computeSignal.countDown();
        doneSignal.await();
    
        assertTrue(callCount.get() == 1);
        assertEquals("barfoo", result.get(0));
        assertEquals("barfoo", result.get(1));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/GenerationListener.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook;
    
    public interface GenerationListener {
        void warning(String message);
    
        void start(String context);
    
        void finish();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 782 bytes
    - Viewed (0)
Back to top