Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for emotion (0.25 sec)

  1. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

    @ElementTypesAreNonnullByDefault
    public class AtomicDoubleArray implements java.io.Serializable {
      private static final long serialVersionUID = 0L;
    
      // Making this non-final is the lesser evil according to Effective
      // Java 2nd Edition Item 76: Write readObject methods defensively.
      private transient AtomicLongArray longs;
    
      /**
       * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero.
       *
    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. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      private static final int CRC32C_GENERATOR_FLIPPED = Integer.reverse(CRC32C_GENERATOR);
    
      public void testCrc32cByteTable() {
        // See Hacker's Delight 2nd Edition, Figure 14-7.
        int[] expected = new int[256];
        for (int i = 0; i < expected.length; i++) {
          int crc = i;
          for (int j = 7; j >= 0; j--) {
            int mask = -(crc & 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
       * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception
       * message must mention two values that were associated with the duplicate key in two different
       * calls to Builder.put (though we don't really care *which* two values if there were more than
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDoubleArray */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDoubleArray */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
    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)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     *
     * <p>Advantages compared to {@code int[]}:
     *
     * <ul>
     *   <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third
     *       edition, Item 17).
     *   <li>Has the value-based (not identity-based) {@link #equals}, {@link #hashCode}, and {@link
     *       #toString} behavior you expect
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *
     * <p>Advantages compared to {@code double[]}:
     *
     * <ul>
     *   <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third
     *       edition, Item 17).
     *   <li>Has the value-based (not identity-based) {@link #equals}, {@link #hashCode}, and {@link
     *       #toString} behavior you expect.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    eyes, but it said nothing.
    
      `Perhaps it doesn't understand English,' thought Alice; `I
    daresay it's a French mouse, come over with William the
    Conqueror.'  (For, with all her knowledge of history, Alice had
    no very clear notion how long ago anything had happened.)  So she
    began again:  `Ou est ma chatte?' which was the first sentence in
    her French lesson-book.  The Mouse gave a sudden leap out of the
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Funnel.java

     * serialization of funnels. When possible, it is recommended that funnels be implemented as a
     * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item
     * 3: "Enforce the singleton property with a private constructor or an enum type". For example:
     *
     * <pre>{@code
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Reflection.java

        return (lastDot < 0) ? "" : classFullName.substring(0, lastDot);
      }
    
      /**
       * Ensures that the given classes are initialized, as described in <a
       * href="http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.4.2">JLS Section
       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
Back to top