Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 776 for entropy (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

      public void testForEachKnownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
        assertEquals(getOrderedElements(), entries);
      }
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

            Entry<?> entry = (Entry<?>) o;
            if (entry.getCount() <= 0) {
              return false;
            }
            int count = count(entry.getElement());
            return count == entry.getCount();
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return ImmutableMultiset.this.hashCode();
        }
    
        @GwtIncompatible
        @J2ktIncompatible
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. docs/smb3-features/01-smb3-lease-design.md

                entry.updateState(newState);
                // Flush any cached data if losing write cache
                if (!entry.hasWriteCache()) {
                    flushCachedWrites(entry.path);
                }
                // Invalidate cached data if losing read cache
                if (!entry.hasReadCache()) {
                    invalidateReadCache(entry.path);
                }
                entry.breaking = false;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return new StandardImplForwardingNavigableMap<>(map);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        private final OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator;
    
        ReserializedMapGenerator(OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator) {
          this.mapGenerator = mapGenerator;
        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
          return mapGenerator.samples();
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Serialization.java

          Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException {
        stream.writeInt(multimap.asMap().size());
        for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeInt(entry.getValue().size());
          for (V value : entry.getValue()) {
            stream.writeObject(value);
          }
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        Iterator<E> iterator = collection.iterator();
        Object element = iterator.next();
        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        K key = entry.getKey();
        V value = entry.getValue();
        multimap().removeAll(key);
        assertEquals(key, entry.getKey());
        assertEquals(value, entry.getValue());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return forwardMultiset().lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return forwardMultiset().firstEntry();
      }
    
      abstract Iterator<Entry<E>> entryIterator();
    
      @Nullable private transient Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
        Set<Entry<E>> result = entrySet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top