- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 182 for oldest (0.03 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java
/** * Resolves conflicting artifacts by always selecting the oldest declaration. Oldest is defined as the * declaration whose version is less according to <code>ArtifactVersion.compareTo</code>. * * @see ArtifactVersion#compareTo * @since 3.0 */ @Named("oldest") @Singleton @Deprecated public class OldestConflictResolver implements ConflictResolver {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
// key3 should definitely exist (just created) assertNotNull(limitedManager.getLease(key3)); // key1 should have been evicted (oldest) assertNull(limitedManager.getLease(key1)); // key2 should still exist (not the oldest) assertNotNull(limitedManager.getLease(key2)); } finally { limitedManager.shutdown(); } } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
val toEvictIdleAtNs: Long when { // We had at least one OLD connection. Close the oldest one. earliestOldConnection != null -> { toEvict = earliestOldConnection toEvictIdleAtNs = earliestOldIdleAtNs } // We have too many EVICTABLE connections. Close the oldest one. evictableConnectionCount > maxIdleConnections -> { toEvict = earliestEvictableConnectionRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 11.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java
@Deprecated class OldestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- OldestConflictResolverTest() throws Exception { super("oldest"); } // tests ------------------------------------------------------------------ /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * b:1.0 -> a:2.0Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashMap.java
package org.codelibs.core.collection; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; /** * {@link HashMap} with an upper limit on the number of entries. When a new entry is added, the oldest entry is discarded using LRU if the limit is exceeded. * <p> * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>. * It extends {@link LinkedHashMap} without synchronization. If multiple threads accessRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
} } /** * Evict oldest leases based on LRU * * @param count number of leases to evict */ private void evictOldestLeases(int count) { if (count <= 0 || leases.isEmpty()) { return; } // Find oldest leases by last access time leases.entrySet() .stream()Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
assertThat(hpackReader!!.headerCount).isEqualTo(0) assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo( headerEntries("custom-key", "custom-header"), ) } /** Oldest entries are evicted to support newer ones. */ @Test fun writerEviction() { val headerBlock = headerEntries( "custom-foo", "custom-header", "custom-bar",
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * <p>Be careful when targeting an older SDK than you are building against (most commonly when * building for Android): Ensure that any object you pass implements the interface not just in * your current SDK version but also at the oldest version you support. For example, <aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 13:51:27 UTC 2025 - 96.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
`You are,' said the King. `Nearly two miles high,' added the Queen. `Well, I shan't go, at any rate,' said Alice: `besides, that's not a regular rule: you invented it just now.' `It's the oldest rule in the book,' said the King. `Then it ought to be Number One,' said Alice. The King turned pale, and shut his note-book hastily. `Consider your verdict,' he said to the jury, in a low, trembling
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 145.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
final String path = dest.getLocator().getUNCPath(); if (path.length() > 1) { try { dest.mkdir(); if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) { dest.setPathInformation(src.getAttributes(), src.createTime(), src.lastModified(), src.lastAccess()); } else {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0)