- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 952 for crear (0.02 seconds)
-
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
} @Override public boolean addAll(Collection<? extends E> c) { assertTrue(Thread.holdsLock(mutex)); return super.addAll(c); } @Override public void clear() { assertTrue(Thread.holdsLock(mutex)); super.clear(); } @Override public boolean contains(@Nullable Object o) { assertTrue(Thread.holdsLock(mutex)); return super.contains(o); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
public boolean containsValue(@Nullable Object value) { assertTrue(Thread.holdsLock(mutex)); return delegate.containsValue(value); } @Override public void clear() { assertTrue(Thread.holdsLock(mutex)); delegate.clear(); } @Override public Collection<V> values() { assertTrue(Thread.holdsLock(mutex)); /* TODO: verify that the Collection is also synchronized? */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
removeMap(e.key); e.clear(); return value; } @Override public void putAll(final Map<? extends K, ? extends V> map) { for (final Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { put(entry.getKey(), entry.getValue()); } } @Override public void clear() { for (int i = 0; i < mapTable.length; i++) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 20.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
this.fromCollection = checkNotNull(fromCollection); this.function = checkNotNull(function); } @Override public void clear() { fromCollection.clear(); } @Override public boolean isEmpty() { return fromCollection.isEmpty(); } @Override public Iterator<T> iterator() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
assertThat(list.remove("1"), is(true)); assertThat(list.remove(null), is(true)); list.clear(); list.addLast("1"); list.addLast("2"); list.addLast("3"); list.remove(1); assertThat(list.get(0), is("1")); assertThat(list.get(1), is("3")); list.clear(); list.addLast("1"); list.addLast("2"); list.addLast("3");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 8.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
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(); } public void testSegmentReplace() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
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(); } public void testSegmentReplace() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java
if (activeProfiles != null) { this.activeExternalProfiles = new ArrayList<>(activeProfiles); } else { this.activeExternalProfiles.clear(); } return this; } @Override public List<ModelProblem> getProblems() { return problems; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.2K bytes - Click Count (0) -
docs_src/events/tutorial003_py310.py
@asynccontextmanager async def lifespan(app: FastAPI): # Load the ML model ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model yield # Clean up the ML models and release the resources ml_models.clear() app = FastAPI(lifespan=lifespan) @app.get("/predict") async def predict(x: float): result = ml_models["answer_to_everything"](x)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 569 bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
} @CanIgnoreReturnValue final @Nullable V remove(Object key) { checkNotNull(key); clearCache(); return backingMap.remove(key); } final void clear() { clearCache(); backingMap.clear(); } @Nullable V get(Object key) { checkNotNull(key); V value = getIfCached(key); // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.6K bytes - Click Count (0)