Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 776 for entropy (0.04 sec)

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

          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each key
          Collection<Entry<K, V>> entries = new ArrayList<>(elements.length);
          int i = 0;
          for (Entry<K, V> entry : originalEntries) {
            entries.add(mapEntry(keysArray[i++], entry.getValue()));
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                ImmutableMap.ofEntries(entry(1, 2), entry(2, 3), entry(3, 1)),
                map(1, 2, 2, 3, 3, 1))
            .addEqualityGroup(
                ImmutableMap.of(1, 1, 2, 2, 3, 3, 4, 4),
                ImmutableMap.builder().put(1, 1).put(2, 2).put(3, 3).put(4, 4).buildOrThrow(),
                ImmutableMap.ofEntries(entry(1, 1), entry(2, 2), entry(3, 3), entry(4, 4)),
                map(1, 1, 2, 2, 3, 3, 4, 4))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      private Entry<K, V> nullKeyEntry;
      private Entry<K, V> nullValueEntry;
      private Entry<K, V> nullKeyValueEntry;
      private Entry<K, V> presentKeyNullValueEntry;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        nullKeyEntry = entry(null, v3());
        nullValueEntry = entry(k3(), null);
        nullKeyValueEntry = entry(null, null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

      }
    
      private static <K, V> Map<K, V> newHashMap(
          Collection<? extends Entry<? extends K, ? extends V>> entries) {
        HashMap<K, V> map = new HashMap<>();
        for (Entry<? extends K, ? extends V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        return map;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureKeyManager.java

            // Wipe all raw keys
            for (Map.Entry<String, byte[]> entry : rawKeys.entrySet()) {
                Arrays.fill(entry.getValue(), (byte) 0);
            }
            rawKeys.clear();
    
            // Destroy all secret keys
            for (Map.Entry<String, SecretKey> entry : sessionKeys.entrySet()) {
                SecretKey key = entry.getValue();
                if (key instanceof Destroyable) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

              contents.add(entry.getElement());
            }
          }
          return ((Multiset<E>) gen.create(contents.toArray())).entrySet();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Multiset.Entry<E>[] createArray(int length) {
          return (Multiset.Entry<E>[]) new Multiset.Entry<?>[length];
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertNotNull(key);
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(requestedState, entry.getLeaseState());
            assertEquals(path, entry.getPath());
            assertEquals(1, entry.getEpoch());
            assertFalse(entry.isBreaking());
        }
    
        @Test
        @DisplayName("Should reuse existing lease for same path")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            // Create array with single entry
            netdfs.DfsEnumArray200 singleArray = new netdfs.DfsEnumArray200();
            singleArray.count = 1;
            singleArray.s = new netdfs.DfsInfo200[1];
    
            netdfs.DfsInfo200 entry = new netdfs.DfsInfo200();
            entry.dfs_name = "single_share";
            singleArray.s[0] = entry;
    
            // Replace the info.e field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

          BiMap<Country, String> result = EnumHashBiMap.create(Country.class);
          for (Object o : entries) {
            Entry<Country, String> entry = (Entry<Country, String>) o;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, String>> samples() {
          return new SampleElements<>(
              immutableEntry(Country.CANADA, "DOLLAR"),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top