- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 1,096 for entropy (0.13 seconds)
-
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
// Should we pepper more of these calls throughout the above? Where? CacheTesting.checkValidState(cache); } /** * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately * evicted and nothing else. */ public void testEviction_maxWeight_entryTooBig() { CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
checkEmpty(cache); } } /* ---------------- Entry Set -------------- */ public void testEntrySet_nullToArray() { for (LoadingCache<Object, Object> cache : caches()) { Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); assertThrows( NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null)); checkEmpty(cache); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
import com.google.errorprone.annotations.DoNotMock; import java.util.Map; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * A map, each entry of which maps a {@link TypeToken} to an instance of that type. In addition to * implementing {@code Map}, the additional type-safe operations {@link #putInstance} and {@link * #getInstance} are available. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
downloads.put(resource, event.getTransferredBytes()); StringBuilder buffer = new StringBuilder(64); for (Map.Entry<TransferResource, Long> entry : downloads.entrySet()) { long total = entry.getKey().getContentLength(); long complete = entry.getValue(); buffer.append(getStatus(complete, total)).append(" "); } int pad = lastLength - buffer.length();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java
import com.google.common.collect.testing.features.Feature; import com.google.common.collect.testing.features.ListFeature; import java.util.Collections; import java.util.EnumSet; import java.util.List; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code * ListMultimap} implementation. * * @author Louis WassermanCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
static ImmutableSet<LocationInfo> locationsFrom(ClassLoader classloader) { ImmutableSet.Builder<LocationInfo> builder = ImmutableSet.builder(); for (Map.Entry<File, ClassLoader> entry : getClassPathEntries(classloader).entrySet()) { builder.add(new LocationInfo(entry.getKey(), entry.getValue())); } return builder.build(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; /** * Cache entry for directory contents with thread-safe operations */ public class DirectoryCacheEntry { private final String directoryPath; private final Smb2LeaseKey leaseKey; private final long createTime;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 11.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
return null // Give up because the cache cannot be read. } val entry: Entry = try { Entry(snapshot.getSource(ENTRY_METADATA)) } catch (_: IOException) { snapshot.closeQuietly() return null } val response = entry.response(snapshot) if (!entry.matches(request, response)) { response.body.closeQuietly() return null }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java
/** * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal * circumstances. */ public static void main(String[] args) throws IOException { int exitCode = new MavenUpCling().run(args, null, null, null, false); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java
/** * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal * circumstances. */ public static void main(String[] args) throws IOException { int exitCode = new MavenCling().run(args, null, null, null, false); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0)