Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for seves (0.16 sec)

  1. android/guava/src/com/google/common/graph/Traverser.java

       * This is because the {@code forTree()}-based implementations don't keep track of visited nodes,
       * and therefore don't need to call `equals()` or `hashCode()` on the node objects; this saves
       * both time and space versus traversing the same graph using {@code forGraph()}.
       *
       * <p>Providing a graph to be traversed for which there is more than one path from the start
       * node(s) to any node may lead to:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Gets the key for this entry. */
        K getKey();
    
        /** Gets the value for the entry. */
        V getValue();
      }
    
      /*
       * Note: the following classes have a lot of duplicate code. It sucks, but it saves a lot of
       * memory. If only Java had mixins!
       */
    
      /** Base class for {@link InternalEntry} implementations for strong keys. */
      abstract static class AbstractStrongKeyEntry<K, V, E extends InternalEntry<K, V, E>>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
      public void testReverseOfReverseSameAsForward() {
        // Not guaranteed by spec, but it works, and saves us from testing
        // exhaustively
        assertSame(numberOrdering, numberOrdering.reverse().reverse());
      }
    
      private enum StringLengthFunction implements Function<String, Integer> {
        StringLength;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
      public void testReverseOfReverseSameAsForward() {
        // Not guaranteed by spec, but it works, and saves us from testing
        // exhaustively
        assertSame(numberOrdering, numberOrdering.reverse().reverse());
      }
    
      private enum StringLengthFunction implements Function<String, Integer> {
        StringLength;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

      }
    
      /** Implementation of {@link #whitespace()}. */
      @VisibleForTesting
      static final class Whitespace extends NamedFastMatcher {
    
        // TABLE is a precomputed hashset of whitespace characters. MULTIPLIER serves as a hash function
        // whose key property is that it maps 25 characters into the 32-slot table without collision.
        // Basically this is an opportunistic fast implementation as opposed to "good code". For most
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      // For example: (long) data[i++] | (long) data[i++] << 8 | ...
      // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80,
      // masking the remaining seven bytes.
      // To test this, we give an input where bit 7 is not cleared. For example:
      // (1) 00 01 02 03 04 05 06 07 80
      // (2) 00 01 02 03 04 05 06 07 81
      // (3) 00 01 02 03 04 05 06 07 ff (or anything in between)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Cut.java

      private static final class BelowAll extends Cut<Comparable<?>> {
        private static final BelowAll INSTANCE = new BelowAll();
    
        private BelowAll() {
          /*
           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
           * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

       */
      @J2ktIncompatible // serialization
      static class SerializedForm<K, V> implements Serializable {
        // This object retains references to collections returned by keySet() and value(). This saves
        // bytes when the both the map and its keySet or value collection are written to the same
        // instance of ObjectOutputStream.
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * AtomicInteger results in zero, we compareAndSet the value to zero; if that succeeds, we remove
       * the entry from the Map. If another operation sees a zero in the map, it knows that the entry is
       * about to be removed, so this operation may remove it (often by replacing it with a new
       * AtomicInteger).
       */
    
      /** The number of occurrences of each element. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

           * which we don't support anyway.
           */
          return nextIndex >= 0;
        }
    
        /**
         * Checks whether nextIndex is valid; if so setting nextItem. Stops iterator when either hits
         * putIndex or sees null item.
         */
        private void checkNext() {
          if (nextIndex == putIndex) {
            nextIndex = -1;
            nextItem = null;
          } else {
            nextItem = items[nextIndex];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top