- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 776 for entropy (0.04 sec)
-
android/guava/src/com/google/common/collect/TreeRangeMap.java
/** Returns the range that spans the given range and entry, if the entry can be coalesced. */ private static <K extends Comparable, V> Range<K> coalesce( Range<K> range, V value, @Nullable Entry<Cut<K>, RangeMapEntry<K, V>> entry) { if (entry != null && entry.getValue().getKey().isConnected(range) && entry.getValue().getValue().equals(value)) { return range.span(entry.getValue().getKey()); } return range;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 22.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
private final Map<E, Integer> delegateMap; private final ImmutableList<Entry<E>> entries; private final long size; static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) { @SuppressWarnings("unchecked") Entry<E>[] entriesArray = entries.toArray((Entry<E>[]) new Entry<?>[0]); Map<E, Integer> delegateMap = Maps.newHashMapWithExpectedSize(entriesArray.length);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 08 13:05:15 UTC 2025 - 3.2K bytes - Viewed (0) -
internal/lru/lru.go
} // insertValue is a convenience wrapper for insert(&Entry{Value: v, ExpiresAt: ExpiresAt}, at). func (l *LruList[K, V]) insertValue(k K, v V, expiresAt time.Time, at *Entry[K, V]) *Entry[K, V] { return l.insert(&Entry[K, V]{Value: v, Key: k, ExpiresAt: expiresAt}, at) } // Remove removes e from its list, decrements l.len func (l *LruList[K, V]) Remove(e *Entry[K, V]) V { e.prev.next = e.next e.next.prev = e.prev
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
assertEquals("null", entry(NE, 1).toString()); assertEquals("null x 2", entry(NE, 2).toString()); } public void testEquals() { assertEquals(control("foo", 1), entry("foo", 1)); assertEquals(control("bar", 2), entry("bar", 2)); assertFalse(control("foo", 1).equals(entry("foo", 2))); assertFalse(entry("foo", 1).equals(control("bar", 1))); assertFalse(entry("foo", 1).equals(new Object()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
DirectoryCacheScope.IMMEDIATE_CHILDREN); // Now cache entry should exist DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); assertNotNull(entry); assertEquals(directoryPath, entry.getDirectoryPath()); } @Test public void testGetCacheEntryWithExpiredLease() { String directoryPath = "/test/dir";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
/** * Returns an input stream to read the contents of the specified JAR file entry. * * @param file the JAR file (must not be {@literal null}) * @param entry the JAR file entry (must not be {@literal null}) * @return the input stream to read the entry */ public static InputStream getInputStream(final JarFile file, final ZipEntry entry) { assertArgumentNotNull("file", file);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
for (Entry<AnEnum, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return ImmutableMap.copyOf(map); } @Override public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) { return new Ordering<Entry<AnEnum, String>>() { @Override public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
private static Map<String, String> toHashMap(Entry<String, String>[] entries) { return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map @CanIgnoreReturnValue private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) { for (Entry<T, String> entry : entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 21.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
static <K extends @Nullable Object, V extends @Nullable Object> Entry<V, K> reverseEntry( Entry<K, V> entry) { return mapEntry(entry.getValue(), entry.getKey()); } @Override protected void expectContents(Collection<Entry<K, V>> expected) { super.expectContents(expected); List<Entry<V, K>> reversedEntries = new ArrayList<>(); for (Entry<K, V> entry : expected) { reversedEntries.add(reverseEntry(entry));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0)