- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 103 for Bell (0.16 sec)
-
guava-testlib/src/com/google/common/testing/GcFinalization.java
* hint, so this technique may fail at the whim of the JDK implementation, for example if a user * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for * ordinary tests. * * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time * period or an interrupt while waiting for the expected event will result in a {@link
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
HashCode that = (HashCode) object; return bits() == that.bits() && equalsSameBits(that); } return false; } /** * Returns a "Java hash code" for this {@code HashCode} instance; this is well-defined (so, for * example, you can safely put {@code HashCode} instances into a {@code HashSet}) but is otherwise * probably not what you want to use. */ @Override public final int hashCode() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
* to the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should * override {@code putAll} as well, either providing your own implementation, or delegating to the * provided {@code standardPutAll} method. * * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jun 15 18:11:44 GMT 2023 - 14.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
fail(); } catch (IllegalArgumentException expected) { } } /** * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell * out of it for a while and see what happens. */ public void testBuilder_bruteForce() { for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
InputStream in = newTestStream(0); byte[] b = ByteStreams.toByteArray(in); assertThat(b).isEqualTo(new byte[0]); } public void testToByteArray_largeStream() throws IOException { // well, large enough to require multiple buffers byte[] expected = newPreFilledByteArray(10000000); InputStream in = new ByteArrayInputStream(expected); byte[] b = ByteStreams.toByteArray(in);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Striped64.java
boolean collide = false; // True if last slot nonempty for (; ; ) { Cell[] as; Cell a; int n; long v; if ((as = cells) != null && (n = as.length) > 0) { if ((a = as[(n - 1) & h]) == null) { if (busy == 0) { // Try to attach new Cell Cell r = new Cell(x); // Optimistically create if (busy == 0 && casBusy()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* </ul> * * <h3>Warning about performance</h3> * * <p>Remember that parameter values for message construction must all be computed eagerly, and * autoboxing and varargs array creation may happen as well, even when the verification succeeds and * the message ends up unneeded. Performance-sensitive verification checks should continue to use * usual form: * * <pre>{@code * Bill bill = remoteService.getLastUnpaidBill();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* or resource constraints) accept without blocking. This is always equal to the initial capacity * of this queue less the current {@code size} of this queue. * * <p>Note that you cannot always tell if an attempt to insert an element will succeed by * inspecting {@code remainingCapacity} because it may be the case that another thread is about to * insert or remove an element. */ @CanIgnoreReturnValue
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 22.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
return; } assertSplitterIterableIsLazy(Splitter.onPattern(",")); } /** * This test really pushes the boundaries of what we support. In general the splitter's behaviour * is not well defined if the char sequence it's splitting is mutated during iteration. */ private void assertSplitterIterableIsLazy(Splitter splitter) { StringBuilder builder = new StringBuilder();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 29.8K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
import com.google.thirdparty.publicsuffix.PublicSuffixPatterns; import com.google.thirdparty.publicsuffix.PublicSuffixType; import java.util.List; import javax.annotation.CheckForNull; /** * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only * syntactic analysis is performed; no DNS lookups or other network interactions take place. Thus
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 05 20:47:23 GMT 2024 - 28K bytes - Viewed (0)