Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Darwin (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  5. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  6. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  7. 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)
  8. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *     try {
     *       value = newValue;
     *     } finally {
     *       monitor.leave();
     *     }
     *   }
     * }
     * }</pre>
     *
     * @author Justin T. Sampson
     * @author Martin Buchholz
     * @since 10.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    @ElementTypesAreNonnullByDefault
    public final class Monitor {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.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/AtomicDoubleTest.java?revision=1.8
     * (Modified to adapt to guava coding conventions)
     */
    
    package com.google.common.util.concurrent;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top