- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 75 for clearKey (0.06 seconds)
-
guava-tests/test/com/google/common/cache/LocalCacheTest.java
segment.count++; assertThat(map.get(key, loader)).isSameInstanceAs(value); assertThat(loader.getCount()).isEqualTo(0); assertThat(segment.count).isEqualTo(1); entry.clearKey(); assertThat(map.get(key, loader)).isNotSameInstanceAs(value); assertThat(loader.getCount()).isEqualTo(1); assertThat(segment.count).isEqualTo(2); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 117.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
segment.count++; assertThat(map.get(key, loader)).isSameInstanceAs(value); assertThat(loader.getCount()).isEqualTo(0); assertThat(segment.count).isEqualTo(1); entry.clearKey(); assertThat(map.get(key, loader)).isNotSameInstanceAs(value); assertThat(loader.getCount()).isEqualTo(1); assertThat(segment.count).isEqualTo(2); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 115.9K bytes - Click Count (0) -
tests/multi_primary_keys_test.go
t.Fatalf("ZH Blog's tags should not be cleared when clear EN Blog's tags") } if DB.Model(&blog2).Association("LocaleTags").Count() != 0 { t.Fatalf("EN Blog's tags should be cleared when clear EN Blog's tags") } DB.Model(&blog).Association("LocaleTags").Clear() if DB.Model(&blog).Association("LocaleTags").Count() != 0 { t.Fatalf("ZH Blog's tags should be cleared when clear ZH Blog's tags") }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 13.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. * * <p>Note that although your APIs should be liberal in what they accept, your methods which * <i>return</i> iterables should make every attempt to return ones of the robust variety. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
tests/named_polymorphic_test.go
t.Errorf("Hamster's preferred toy should be cleared with Clear") } if DB.Model(&hamster2).Association("OtherToy").Count() != 1 { t.Errorf("Hamster's other toy should be still available") } DB.Model(&hamster).Association("OtherToy").Clear() if DB.Model(&hamster).Association("OtherToy").Count() != 0 { t.Errorf("Hamster's other toy should be cleared with Clear") }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jul 08 09:59:40 GMT 2020 - 4.2K bytes - Click Count (0) -
guava/src/com/google/common/graph/MapIteratorCache.java
import java.util.Set; import org.jspecify.annotations.Nullable; /** * A map-like data structure that wraps a backing map and caches values while iterating through * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If * this structure is never mutated, it provides a thread-safe view of the backing map. * * <p>The {@link MapIteratorCache} assumes ownership of the backing map, and cannot guaranteeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.6K bytes - Click Count (0) -
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.5K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.5K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0)