Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 157 for modifications (0.26 sec)

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

         * removed in one segment while checking another, in which case the table was never actually
         * empty at any point. (The sum ensures accuracy up through at least 1<<31 per-segment
         * modifications before recheck.)  Method containsValue() uses similar constructions for
         * stability checks.
         */
        long sum = 0L;
        Segment<K, V, E, S>[] segments = this.segments;
    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)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

     * an {@code ArrayTable} concurrently and one of the threads modifies its value, there is no
     * guarantee that the new value will be fully visible to the other threads. To guarantee that
     * modifications are visible, synchronize access to the table. Unlike other {@code Table}
     * implementations, synchronization is unnecessary between a thread that writes to one cell and a
     * thread that reads from another.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

         * removed in one segment while checking another, in which case the table was never actually
         * empty at any point. (The sum ensures accuracy up through at least 1<<31 per-segment
         * modifications before recheck.) Method containsValue() uses similar constructions for
         * stability checks.
         */
        long sum = 0L;
        Segment<K, V>[] segments = this.segments;
    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)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * will never throw {@link ConcurrentModificationException}, and guarantees to traverse elements
       * as they existed upon construction of the iterator, and may (but is not guaranteed to) reflect
       * any modifications subsequent to construction.
       *
       * @return an iterator over the elements in this queue
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public Iterator<E> iterator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals("Map must be empty by now", 0, cache.size());
        assertEquals("Eviction notifications must be received", 10, removalListener.getCount());
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
        // ensure that no new notifications are sent
        assertEquals("Eviction notifications must be received", 10, removalListener.getCount());
      }
    
      public void testExpiringGet_expireAfterWrite() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.CollectionFeature.RESTRICTS_ELEMENTS;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

        List<Feature<?>> allFeatures =
            Arrays.<Feature<?>>asList(
                CollectionSize.ANY,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ADD,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Ascii.java

      /**
       * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII
       * characters} have been converted to lowercase. All other characters are copied without
       * modification.
       */
      public static String toLowerCase(String string) {
        int length = string.length();
        for (int i = 0; i < length; i++) {
          if (isUpperCase(string.charAt(i))) {
    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)
Back to top