- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for Parkin (0.17 sec)
-
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* long xBits = Double.doubleToRawLongBits(x); * long yBits = Double.doubleToRawLongBits(y); * return xBits == yBits; * } * }</pre> * * @author Doug Lea * @author Martin Buchholz * @since 11.0 */ @GwtIncompatible @J2ktIncompatible @ElementTypesAreNonnullByDefault public class AtomicDoubleArray implements java.io.Serializable { private static final long serialVersionUID = 0L;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
if ((hash1 & (1 << k)) == (hash2 & (1 << k))) { same[k] += 1; } else { diff[k] += 1; } } } // measure probability and assert it's within margin of error for (int j = 0; j < hashBits; j++) { double prob = (double) diff[j] / (double) (diff[j] + same[j]); Assert.assertEquals(0.50d, prob, epsilon); } } } /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 25.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
* add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for * every element added, the garbage collector will have to traverse {@code 1.5} references on * average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}. * * <p>If there are no removals, then {@link #iterator iteration} order is the same as insertion * order. Any removal invalidates any ordering guarantees. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link FluentIterable}. * * @author Marcin Mikosik */ @GwtCompatible(emulated = true) public class FluentIterableTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 31.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* .stream() * .filter(Client::isActiveInLastMonth) * .map(Object::toString) * .limit(10) * .collect(Collectors.toList()); * }</pre> * * @author Marcin Mikosik * @since 12.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public abstract class FluentIterable<E extends @Nullable Object> implements Iterable<E> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
* href="http://www.unicode.org/versions/corrigendum1.html">"non-shortest form"</a> byte sequences, * even though the JDK decoder may accept them. * * @author Martin Buchholz * @author Clément Roux * @since 16.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Utf8 { /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 10 14:11:51 GMT 2023 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
/* * Written by Doug Lea and Martin Buchholz with assistance from * members of JCP JSR-166 Expert Group and released to the public * domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ */ /* * Source: * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck-jsr166e/AtomicDoubleArrayTest.java?revision=1.13 * (Modified to adapt to guava coding conventions) */ package com.google.common.util.concurrent;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
// Don't want to have two workers pulling from the queue. return; } else { // Increment the run counter to avoid the ABA problem of a submitter marking the // thread as QUEUED after it already ran and exhausted the queue before returning // from execute(). workerRunCount++; workerRunningState = RUNNING;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
/* * Written by Doug Lea and Martin Buchholz with assistance from * members of JCP JSR-166 Expert Group and released to the public * domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ */ /* * Source: * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck-jsr166e/AtomicDoubleArrayTest.java?revision=1.13 * (Modified to adapt to guava coding conventions) */ package com.google.common.util.concurrent;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 14.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
import java.util.Arrays; import java.util.HashMap; import java.util.Random; import junit.framework.TestCase; /** * Unit tests for {@link Utf8}. * * @author Jon Perlow * @author Martin Buchholz * @author Clément Roux */ @GwtCompatible(emulated = true) public class Utf8Test extends TestCase { private static final ImmutableList<String> ILL_FORMED_STRINGS; static {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0)