- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 23 for newReset (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
for (int i = 0; i < 1100; i++) { 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()); }
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) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
) private class ConcurrentMultiMap<K, V> { private val map = ConcurrentHashMap<K, MutableSet<V>>() fun add(key: K, value: V) = map.computeIfAbsent(key, { _ -> ConcurrentHashMap.newKeySet() }).add(value) fun getOrEmpty(key: K): Set<V> = map[key] ?: emptySet() } abstract class TestFilesCleanupService @Inject constructor( private val fileSystemOperations: FileSystemOperations,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
private var serverSocket: ServerSocket? = null private val connectionCount = AtomicInteger() private val openSockets: MutableSet<Socket> = ConcurrentHashMap.newKeySet() fun play() { serverSocket = ServerSocket(0) executor.execute { val threadName = "SocksProxy ${serverSocket!!.localPort}" Thread.currentThread().name = threadName try {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
} @Test @Disabled void testResolveCorrectDependenciesWhenDifferentDependenciesOnNewest() throws ArtifactResolutionException, InvalidVersionSpecificationException { // TODO use newest conflict resolver ArtifactSpec a = createArtifactSpec("a", "1.0"); ArtifactSpec b = a.addDependency("b", "1.0"); ArtifactSpec c2 = b.addDependency("c", "2.0");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 43K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
final LlmChatRequest request = new LlmChatRequest(); client.testAddIntentHistory(request, history); // Default: maxMessages=6, maxChars=3000 // From newest: A2(2), Q2(2+2=4), assistant(500+4=504), Short(5+504=509) => all fit assertEquals(4, request.getMessages().size()); } @Test public void test_addIntentHistory_maxMessages() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
docs/debugging/inspect/export.go
} return versions, buf, nil } // decodeVersions will decode a number of versions from a buffer // and perform a callback for each version in order, newest first. // Any non-nil error is returned. func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (e error) { var tHdr, tMeta []byte // Zero copy bytes for i := 0; i < versions; i++ {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (1) -
android/guava/src/com/google/common/cache/LocalCache.java
* newest entry exceeds the maximum weight all on its own. * * @param newest the most recently added entry */ @GuardedBy("this") void evictEntries(ReferenceEntry<K, V> newest) { if (!map.evictsBySize()) { return; } drainRecencyQueue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
* newest entry exceeds the maximum weight all on its own. * * @param newest the most recently added entry */ @GuardedBy("this") void evictEntries(ReferenceEntry<K, V> newest) { if (!map.evictsBySize()) { return; } drainRecencyQueue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertThat(request.header("d")).isEqualTo("f") val requestHeaders = request.headers assertThat(LinkedHashSet(requestHeaders.values("D"))).isEqualTo(newSet("e", "f")) assertThat(LinkedHashSet(requestHeaders.values("d"))).isEqualTo(newSet("e", "f")) val response = getResponse(request) response.close() val recordedRequest = server.takeRequest()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
// sortsBefore can be used as a tiebreaker for stable sorting/selecting. // Returns false on ties. func (x xlMetaV2VersionHeader) sortsBefore(o xlMetaV2VersionHeader) bool { if x == o { return false } // Prefer newest modtime. if x.ModTime != o.ModTime { return x.ModTime > o.ModTime } // The following doesn't make too much sense, but we want sort to be consistent nonetheless. // Prefer lower types
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1)