- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 138 for oldest (0.15 seconds)
-
cmd/metacache-bucket.go
// If above limit, remove the caches with the oldest handout time. if len(caches)-len(remove) > metacacheMaxEntries { remainCaches := make([]metacache, 0, len(caches)-len(remove)) for id, cache := range caches { if _, ok := remove[id]; ok { continue } remainCaches = append(remainCaches, cache) } if len(remainCaches) > metacacheMaxEntries { // Sort oldest last...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.6K bytes - Click Count (0) -
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 {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.2K bytes - Click Count (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.0Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (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 accessCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
helper.offer(new LogNotificationEvent(i, "ERROR", "org.test", "msg" + i, null)); } List<LogNotificationEvent> events = helper.drainAll(); // The newest events should be retained; oldest dropped // Last event should be msg1099 LogNotificationEvent last = events.get(events.size() - 1); assertEquals("msg1099", last.getMessage()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 6.3K bytes - Click Count (0) -
ci/official/utilities/rename_and_verify_wheels.sh
# Move extra wheel files somewhere out of the way. This script # expects just one wheel file to exist. if [[ "$(ls *.whl | wc -l | tr -d ' ')" != "1" ]]; then echo "More than one wheel file is present: moving the oldest to" echo "$TFCI_OUTPUT_DIR/extra_wheels." # List all .whl files by their modification time (ls -t) and move anything # other than the most recently-modified one (the newest one). mkdir -p $TFCI_OUTPUT_DIR/extra_wheels
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Sep 22 21:39:32 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
} if (logNotificationTarget != null) { logNotificationTarget.flush(); } } /** * Offers an event to the buffer. If the buffer exceeds the maximum size, the oldest event is dropped. * * @param event the log notification event to add */ public void offer(final LogNotificationEvent event) { int maxBufferSize; try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
internal/store/queuestore.go
}) for i := range entries { keys = append(keys, parseKey(entries[i])) } return keys } // list will read all entries from disk. // Entries are returned sorted by modtime, oldest first. // Underlying entry list in store is *not* updated. func (store *QueueStore[_]) list() ([]os.DirEntry, error) { files, err := os.ReadDir(store.directory) if err != nil { return nil, err }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
return nextOrNull != null; } @Override public final T next() { if (nextOrNull == null) { throw new NoSuchElementException(); } T oldNext = nextOrNull; nextOrNull = computeNext(oldNext); return oldNext; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
.github/workflows/test.yml
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 6.4K bytes - Click Count (0)