- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 964 for Chan (0.1 sec)
-
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
return false; } @Override public Integer getResult() { return seen; } }; assertEquals( "processLine was called more than once", 1, CharStreams.readLines(r, alwaysFalse).intValue()); // Test a LineProcessor that always returns true. r = new StringReader(text); LineProcessor<Integer> alwaysTrue =Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
return false; } @Override public Integer getResult() { return seen; } }; assertEquals( "processLine was called more than once", 1, CharStreams.readLines(r, alwaysFalse).intValue()); // Test a LineProcessor that always returns true. r = new StringReader(text); LineProcessor<Integer> alwaysTrue =Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/namespace-lock.go
// Decrement ref count since we failed to get the lock n.lockMapMutex.Lock() n.lockMap[resource].ref-- if n.lockMap[resource].ref < 0 { logger.CriticalIf(GlobalContext, errors.New("resource reference count was lower than 0")) } if n.lockMap[resource].ref == 0 { // Remove from the map if there are no more references. delete(n.lockMap, resource) } n.lockMapMutex.Unlock() } return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
new Function<AnEnum, AnEnum>() { boolean used = false; @Override public AnEnum apply(AnEnum ae) { checkState(!used, "should not be applied more than once"); used = true; return ae; } }); ImmutableMap<AnEnum, AnEnum> copy = Maps.immutableEnumMap(map);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
import java.util.Map; import java.util.Set; import org.jspecify.annotations.Nullable; /** * This class provides a skeletal implementation of {@link ValueGraph}. It is recommended to extend * this class rather than implement {@link ValueGraph} directly. * * <p>The methods implemented in this class should not be overridden unless the subclass admits a * more efficient implementation. * * @author James SextonRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/header-params.md
You can define those cases using a list in the type declaration. You will receive all the values from the duplicate header as a Python `list`. For example, to declare a header of `X-Token` that can appear more than once, you can write: {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *} If you communicate with that *path operation* sending two HTTP headers like: ``` X-Token: foo X-Token: bar ```Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Monitor.java
/** * A synchronization abstraction supporting waiting on arbitrary boolean conditions. * * <p>This class is intended as a replacement for {@link ReentrantLock}. Code using {@code Monitor} * is less error-prone and more readable than code using {@code ReentrantLock}, without significant * performance loss. {@code Monitor} even has the potential for performance gain by optimizing the * evaluation and signaling of conditions. Signaling is entirely <aRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
EntryComparator(@Nullable Comparator<? super K> keyComparator) { this.keyComparator = keyComparator; } @Override @SuppressWarnings("unchecked") // no less safe than putting it in the map! public int compare(Entry<K, V> a, Entry<K, V> b) { return (keyComparator == null) ? ((Comparable) a.getKey()).compareTo(b.getKey())Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
import java.util.Map; /** * An implementation-specific parameter class suitable for initializing {@link * ArrayBasedCharEscaper} or {@link ArrayBasedUnicodeEscaper} instances. This class should be used * when more than one escaper is created using the same character replacement mapping to allow the * underlying (implementation specific) data structures to be shared. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingInputStream.java
throw new IOException("reset not supported"); } /** * Returns the {@link HashCode} based on the data read from this stream. The result is unspecified * if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0)