Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 79 for Views (0.06 sec)

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

     * not consistent with equals, some of the standard implementations may violate the {@code Map}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingNavigableMap.java

     * not consistent with equals, some of the standard implementations may violate the {@code Map}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

                ModelView<?> view = element.asImmutable(binding.getPredicate().getType(), descriptor);
                array[i++] = view;
            }
            @SuppressWarnings("unchecked") List<ModelView<?>> views = Arrays.asList(array);
            return views;
        }
    
        @Override
        public MutableModelNode getRoot() {
            return modelGraph.getRoot();
        }
    
        @Nullable
        public MutableModelNode node(ModelPath path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // wait for entries to expire, but don't call expireEntries
        ticker.advance(EXPIRING_TIME * 10, MILLISECONDS);
    
        // add a single unexpired entry
        cache.getUnchecked(KEY_PREFIX + 11);
    
        // collections views shouldn't expose expired entries
        assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
        assertEquals(1, Iterators.size(cache.asMap().keySet().iterator()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 18.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                countMap.remove(element, existingCounter);
              }
              return true;
            }
          }
        }
        return false;
      }
    
      // Views
    
      @Override
      Set<E> createElementSet() {
        Set<E> delegate = countMap.keySet();
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return delegate;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableListMultimap.java

          }
        }
    
        return new ImmutableListMultimap<>(builder.buildOrThrow(), size);
      }
    
      ImmutableListMultimap(ImmutableMap<K, ImmutableList<V>> map, int size) {
        super(map, size);
      }
    
      // views
    
      /**
       * Returns an immutable list of the values for the given key. If no mappings in the multimap have
       * the provided key, an empty immutable list is returned. The values are in the same order as the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableMap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link ImmutableMap} used for 0 entries and for 2+ entries. Additional
     * implementations exist for particular cases, like {@link ImmutableTable} views and hash flooding.
     * (This doc discusses {@link ImmutableMap} subclasses only for the JRE flavor; the Android flavor
     * differs.)
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @author Gregory Kick
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/runtime/metrics_test.go

    			}
    
    			const timerSlop = 1.5 * samplingSlop // account for nanotime vs cputicks, plus the two views' independent sampling
    			if profileGrowth > timerSlop*metricGrowth || metricGrowth > timerSlop*profileGrowth {
    				t.Errorf("views differ by more than %fx", timerSlop)
    			}
    		})
    	})
    
    	t.Run("runtime.semrelease", func(t *testing.T) {
    		testenv.SkipFlaky(t, 64253)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                countMap.remove(element, existingCounter);
              }
              return true;
            }
          }
        }
        return false;
      }
    
      // Views
    
      @Override
      Set<E> createElementSet() {
        Set<E> delegate = countMap.keySet();
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return delegate;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
          new ThreadLocal<Random>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top