Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for doen (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

      /**
       * Start the service.
       *
       * <p>By default this method does nothing.
       */
      protected void startUp() throws Exception {}
    
      /**
       * Stop the service. This is guaranteed not to run concurrently with {@link #runOneIteration}.
       *
       * <p>By default this method does nothing.
       */
      protected void shutDown() throws Exception {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

      /**
       * Start the service.
       *
       * <p>By default this method does nothing.
       */
      protected void startUp() throws Exception {}
    
      /**
       * Stop the service. This is guaranteed not to run concurrently with {@link #runOneIteration}.
       *
       * <p>By default this method does nothing.
       */
      protected void shutDown() throws Exception {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.addAll(Lists.newArrayList(1, 1, 2));
        assertEquals(3, mmHeap.size());
        assertFalse("Heap does not contain null", mmHeap.contains(null));
        assertFalse("Heap does not contain 3", mmHeap.contains(3));
        assertFalse("Heap does not contain 3", mmHeap.remove(3));
        assertEquals(3, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                  if (remainingNanos < SPIN_THRESHOLD_NANOS) {
                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waitersField; // re-read and loop.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    to the listener.
      //
      // 2. In done() where we may propagate cancellation to the input. In this case it is _not_ fine.
      //    There is currently nothing that enforces that the write to inputFuture in the constructor is
      //    visible to done(). This is because there is no happens before edge between the write and a
      //    (hypothetical) unsafe read by our caller. Note: adding 'volatile' does not fix this issue,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

      public static int log2(long x, RoundingMode mode) {
        checkPositive("x", x);
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(isPowerOfTwo(x));
          // fall through
          case DOWN:
          case FLOOR:
            return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x);
    
          case UP:
          case CEILING:
            return Long.SIZE - Long.numberOfLeadingZeros(x - 1);
    
          case HALF_DOWN:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                  if (remainingNanos < SPIN_THRESHOLD_NANOS) {
                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waitersField; // re-read and loop.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

       * Asserts that the given object is non-null, with a better failure message than {@link
       * TestCase#assertNull(String, Object)}.
       *
       * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does
       * not include the value of the object.
       *
       * @since 33.4.0
       */
      public static void assertNull(String message, Object object) {
        assertEquals(message, null, object);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

        private final T value;
        private boolean done;
    
        SingletonIterator(T value) {
          this.value = value;
        }
    
        @Override
        public boolean hasNext() {
          return !done;
        }
    
        @Override
        @ParametricNullness
        public T next() {
          if (done) {
            throw new NoSuchElementException();
          }
          done = true;
          return value;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
          @Override public void update(long bytesWritten, long contentLength, boolean done) {
            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
                if (contentLength == -1) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
Back to top