Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 572 for next (0.12 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

        LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input);
        int candidate = 0;
        int next;
    
        // Jump from bucket to bucket until we go out of range
        while (true) {
          next = (int) ((candidate + 1) / generator.nextDouble());
          if (next >= 0 && next < buckets) {
            candidate = next;
          } else {
            return candidate;
          }
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/ReferenceEntry.java

      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
      /** Sets the next entry in the access queue. */
      void setNextInAccessQueue(ReferenceEntry<K, V> next);
    
      /** Returns the previous entry in the access queue. */
      ReferenceEntry<K, V> getPreviousInAccessQueue();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

       * }</pre>
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
       * with arbitrary Unicode text. It is mostly intended for use with text that is known to be safe
       * for use with it (such as all-ASCII text) and for simple debugging text. When using this method,
       * consider the following:
       *
       * <ul>
       *   <li>it may split surrogate pairs
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        final Runnable runnable;
        final Executor executor;
        @CheckForNull RunnableExecutorPair next;
    
        RunnableExecutorPair(
            Runnable runnable, Executor executor, @CheckForNull RunnableExecutorPair next) {
          this.runnable = runnable;
          this.executor = executor;
          this.next = next;
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      // TODO: Test interrupts with both interruptible and uninterruptible monitor.
      // TODO: Test multiple waiters: If guard is still satisfied, signal next waiter.
      // TODO: Test multiple waiters: If guard is no longer satisfied, do not signal next waiter.
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * stack so that it is returned by the next call to {@link Iterator#next()}. If the element is
         * not in {@link #nextElements}, this method throws an {@link UnknownElementException}.
         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        return new UnmodifiableIterator<K>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public K next() {
            return entryIterator.next().getKey();
          }
        };
      }
    
      Spliterator<K> keySpliterator() {
        return CollectSpliterators.map(entrySet().spliterator(), Entry::getKey);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (supportsRemove) {
          int initialSize = map.size();
          boolean didRemove = entrySet.remove(entrySet.iterator().next());
          assertTrue(didRemove);
          assertEquals(initialSize - 1, map.size());
        } else {
          try {
            entrySet.remove(entrySet.iterator().next());
            fail("Expected UnsupportedOperationException.");
          } catch (UnsupportedOperationException expected) {
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

       * prev}. {@code ENDPOINT} represents either the first or last entry in the entire map (as
       * appropriate).
       */
      private void setSucceeds(int prev, int next) {
        if (prev == ENDPOINT) {
          firstInInsertionOrder = next;
        } else {
          nextInInsertionOrder[prev] = next;
        }
        if (next == ENDPOINT) {
          lastInInsertionOrder = prev;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        assertEquals(
            "multiset.entrySet() iterator.next() returned incorrect entry",
            Multisets.immutableEntry(e0(), 1),
            iterator.next());
        assertFalse(
            "size 1 multiset.entrySet() iterator.hasNext() returned true after next()",
            iterator.hasNext());
        iterator.remove();
        assertTrue(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 9.6K bytes
    - Viewed (0)
Back to top