Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for Current (0.35 sec)

  1. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        @Override
        public void remove() {
          checkState(current != null, "no calls to next() since the last call to remove()");
          if (current != next) { // after call to next()
            previous = current.previousSibling;
            nextIndex--;
          } else { // after call to previous()
            next = current.nextSibling;
          }
          removeNode(current);
          current = null;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              double z = aa.getAndAdd(i, y);
              assertBitEquals(x, z);
              assertBitEquals(x + y, aa.get(i));
            }
          }
        }
      }
    
      /** addAndGet adds given value to current, and returns current value */
      public void testAddAndGet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

          for (AvlNode<E> current = header.succ(); current != header; ) {
            AvlNode<E> next = current.succ();
    
            current.elemCount = 0;
            // Also clear these fields so that one deleted Entry doesn't retain all elements.
            current.left = null;
            current.right = null;
            current.pred = null;
            current.succ = null;
    
            current = next;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Types.java

          if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) {
            builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.');
          }
          return builder
              .append(rawType.getName())
              .append('<')
              .append(COMMA_JOINER.join(transform(argumentsList, JavaVersion.CURRENT::typeName)))
              .append('>')
              .toString();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DiscreteDomain.java

       */
      C offset(C origin, long distance) {
        C current = origin;
        checkNonnegative(distance, "distance");
        for (long i = 0; i < distance; i++) {
          current = next(current);
          if (current == null) {
            throw new IllegalArgumentException(
                "overflowed computing offset(" + origin + ", " + distance + ")");
          }
        }
        return current;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @param timeoutUnit with timeoutDuration, the maximum length of time to wait
       * @return the result returned by the Callable
       * @throws TimeoutException if the time limit is reached
       * @throws InterruptedException if the current thread was interrupted during execution
       * @throws ExecutionException if {@code callable} throws a checked exception
       * @throws UncheckedExecutionException if {@code callable} throws a {@code RuntimeException}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

      }
    
      /**
       * Returns whether the current thread is occupying this monitor (has entered more times than it
       * has left).
       */
      public boolean isOccupiedByCurrentThread() {
        return lock.isHeldByCurrentThread();
      }
    
      /**
       * Returns the number of times the current thread has entered this monitor in excess of the number
       * of times it has left. Returns 0 if the current thread is not occupying this monitor.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          return false;
        }
    
        Object target = thatIterator.next();
        E current = thisIterator.next();
        try {
          while (true) {
            int cmp = unsafeCompare(current, target);
    
            if (cmp < 0) {
              if (!thisIterator.hasNext()) {
                return false;
              }
              current = thisIterator.next();
            } else if (cmp == 0) {
              if (!thatIterator.hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MultiReader.java

            long result = current.skip(n);
            if (result > 0) {
              return result;
            }
            advance();
          }
        }
        return 0;
      }
    
      @Override
      public boolean ready() throws IOException {
        return (current != null) && current.ready();
      }
    
      @Override
      public void close() throws IOException {
        if (current != null) {
          try {
            current.close();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2.4K bytes
    - Viewed (2)
  10. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              double z = aa.getAndAdd(i, y);
              assertBitEquals(x, z);
              assertBitEquals(x + y, aa.get(i));
            }
          }
        }
      }
    
      /** addAndGet adds given value to current, and returns current value */
      public void testAddAndGet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top