- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,168 for cleared (0.04 seconds)
-
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertFalse(segment.replace(key, hash, oldValue, newValue)); assertEquals(1, segment.count); assertThat(segment.get(key, hash)).isEqualTo(newValue); // cleared segment.setWeakValueReferenceForTesting(entry, oldValueRef); oldValueRef.clear(); assertFalse(segment.replace(key, hash, oldValue, newValue)); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
final String clearUserId = getUserId(request); final boolean cleared = ComponentUtil.getChatSessionManager().clearSession(sessionId, clearUserId); if (cleared) { if (logger.isDebugEnabled()) { logger.debug("Session cleared. sessionId={}, userId={}", sessionId, clearUserId); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
/** * Injects the proxy information into the specified repositories. For each repository that is matched by a proxy, * its proxy data will be set accordingly. Repositories without a matching proxy will have their proxy cleared. * Note: This method must be called after {@link #injectMirror(List, List)} or the repositories will end up * with the wrong proxies. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* } * } * * <p>This class cannot currently be used to test soft references, since this class does not try to * create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. * * @author mike nonemacher * @author Martin Buchholz * @since 11.0 */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizablePhantomReference.java
* after the garbage collector reclaims the referent. This is a simpler alternative to using a * {@link ReferenceQueue}. * * <p>Unlike a normal phantom reference, this reference will be cleared automatically. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible public abstract class FinalizablePhantomReference<T> extends PhantomReference<T> implements FinalizableReference {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/pager/UserPagerTest.java
userPager.setAllPageCount(10); userPager.setExistPrePage(true); userPager.setExistNextPage(true); userPager.clear(); assertNull(userPager.id); // Note: name is not cleared by clear() method assertNull(userPager.roles); assertNull(userPager.groups); assertNull(userPager.versionNo); assertEquals(0, userPager.getAllRecordCount());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
* block, and reference field assignment is atomic, this may save reacquiring the lock when * another thread or the worker task has cleared the count and set the state. * * <p>When {@link #executor} is a directExecutor(), the value written to * {@code workerRunningState} will be available synchronously, and behaviour will be * deterministic.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test clearing a flag message.setFlag(0b0001, false); assertEquals(0b0100, message.getFlags(), "Flag 0b0001 should be cleared."); message.setFlag(0b0100, false); assertEquals(0, message.getFlags(), "Flag 0b0100 should be cleared."); // Test setting a flag that is already set message.setFlags(0b1000); message.setFlag(0b1000, true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Platform.java
* We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return * type. * * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 3.7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
} /** Builds a {@link TearDownStack} that makes sure it's clear by the end of this test. */ private TearDownStack buildTearDownStack() { TearDownStack result = new TearDownStack(); tearDownStack.addTearDown( () -> { synchronized (result.lock) { assertEquals( "The test should have cleared the stack (say, by virtue of running runTearDown)", 0,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0)