Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 263 for pead (0.41 sec)

  1. guava/src/com/google/common/collect/Collections2.java

     * Provides static methods for working with {@code Collection} instances.
     *
     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
     * for comparisons. These methods are not being deprecated, but we gently encourage you to migrate
     * to streams.
     *
     * @author Chris Povirk
     * @author Mike Bostock
     * @author Jared Levy
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedSetMultimap}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          @Override
          public String toString() {
            return string;
          }
        };
      }
    
      @Generates
      Ticker generateTicker() {
        return new Ticker() {
          @Override
          public long read() {
            return 0;
          }
    
          final String string = paramString(Ticker.class, generateInt());
    
          @Override
          public String toString() {
            return string;
          }
        };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            segment.newEntryForTesting(keyThree, hashThree, entryTwo);
        segment.setValueForTesting(entryThree, valueThree);
    
        // alone
        assertNull(segment.removeFromChainForTesting(entryOne, entryOne));
    
        // head
        assertSame(entryOne, segment.removeFromChainForTesting(entryTwo, entryTwo));
    
        // middle
        InternalEntry<Object, Object, ?> newFirst =
            segment.removeFromChainForTesting(entryThree, entryTwo);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            segment.newEntryForTesting(keyThree, hashThree, entryTwo);
        segment.setValueForTesting(entryThree, valueThree);
    
        // alone
        assertNull(segment.removeFromChainForTesting(entryOne, entryOne));
    
        // head
        assertSame(entryOne, segment.removeFromChainForTesting(entryTwo, entryTwo));
    
        // middle
        InternalEntry<Object, Object, ?> newFirst =
            segment.removeFromChainForTesting(entryThree, entryTwo);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * optimization for the case that guardToSkip.isSatisfied() may be expensive.
       *
       * <p>We decided against using this method, since in practice, isSatisfied() is likely to be very
       * cheap (typically one field read). Resurrect this method if you find that not to be true.
       */
      //   @GuardedBy("lock")
      //   private void signalNextWaiterSkipping(Guard guardToSkip) {
    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)
  7. android/guava/src/com/google/common/math/LongMath.java

        66,
        64,
        63,
        62,
        62,
        61,
        61,
        61
      };
      // These values were generated by using checkedMultiply to see when the simple multiply/divide
      // algorithm would lead to an overflow.
    
      static boolean fitsInInt(long x) {
        return (int) x == x;
      }
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

        public void clear() {
          ReferenceEntry<K, V> e = head.getNextInWriteQueue();
          while (e != head) {
            ReferenceEntry<K, V> next = e.getNextInWriteQueue();
            nullifyWriteOrder(e);
            e = next;
          }
    
          head.setNextInWriteQueue(head);
          head.setPreviousInWriteQueue(head);
        }
    
        @Override
        public Iterator<ReferenceEntry<K, V>> iterator() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        //    executing listeners in the order they were added
        // 3. push all the items onto 'onto' and return the new head of the stack
        Listener head = ATOMIC_HELPER.gasListeners(this, Listener.TOMBSTONE);
        Listener reversedList = onto;
        while (head != null) {
          Listener tmp = head;
          head = head.next;
          tmp.next = reversedList;
          reversedList = tmp;
        }
        return reversedList;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

          munch();
        }
      }
    
      private void munch() {
        Java8Compatibility.flip(buffer);
        while (buffer.remaining() >= chunkSize) {
          // we could limit the buffer to ensure process() does not read more than
          // chunkSize number of bytes, but we trust the implementations
          process(buffer);
        }
        buffer.compact(); // preserve any remaining data that do not make a full chunk
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
Back to top