Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for Lyding (0.16 sec)

  1. android/guava-tests/test/com/google/common/collect/MapsTest.java

        }
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/MoreObjects.java

          }
          return false;
        }
    
        /**
         * Returns a string in the format specified by {@link MoreObjects#toStringHelper(Object)}.
         *
         * <p>After calling this method, you can keep adding more properties to later call toString()
         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

                return 0;
              }
            } else {
              checkArgument(
                  occurrences <= Integer.MAX_VALUE - current,
                  "Overflow adding %s occurrences to a count of %s",
                  occurrences,
                  current);
              int next = current + occurrences;
              if (countMap.replace(element, current, next)) {
                return current;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * replace an existing pair with the same key and value, if such a pair is present. With collections
     * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs
     * while adding a new pair.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap, even if the
     * underlying map and {@link #createCollection()} method return threadsafe classes. Concurrent read
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

       * the segment.
       */
      final int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
       * from also ending up in the same bucket.
       */
      final int segmentShift;
    
      /** The segments, each of which is a specialized hash table. */
      final Segment<K, V>[] segments;
    
      /** The concurrency level. */
    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)
  6. android/guava/src/com/google/common/collect/Synchronized.java

     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    /*
     * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                  return oldValue;
                }
              } catch (ArithmeticException overflow) {
                throw new IllegalArgumentException(
                    "Overflow adding " + occurrences + " occurrences to a count of " + oldValue);
              }
            } else {
              // In the case of a concurrent remove, we might observe a zero value, which means another
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

      }
    
      // LinkedList
    
      /**
       * Creates a <i>mutable</i>, empty {@code LinkedList} instance (for Java 6 and earlier).
       *
       * <p><b>Note:</b> if you won't be adding any elements to the list, use {@link ImmutableList#of()}
       * instead.
       *
       * <p><b>Performance note:</b> {@link ArrayList} and {@link java.util.ArrayDeque} consistently
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeSet.java

      public static class Builder<C extends Comparable<?>> {
        private final List<Range<C>> ranges;
    
        public Builder() {
          this.ranges = Lists.newArrayList();
        }
    
        // TODO(lowasser): consider adding union, in addition to add, that does allow overlap
    
        /**
         * Add the specified range to this builder. Adjacent ranges are permitted and will be merged,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      public static class Builder<C extends Comparable<?>> {
        private final List<Range<C>> ranges;
    
        public Builder() {
          this.ranges = Lists.newArrayList();
        }
    
        // TODO(lowasser): consider adding union, in addition to add, that does allow overlap
    
        /**
         * Add the specified range to this builder. Adjacent ranges are permitted and will be merged,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top