Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for that (0.04 sec)

  1. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

            | ((source[offset + 3] & 0xFF) << 24);
      }
    
      /**
       * Indicates that the loading of Unsafe was successful and the load and store operations will be
       * very efficient. May be useful for calling code to fall back on an alternative implementation
       * that is slower than Unsafe.get/store but faster than the pure-Java mask-and-shift.
       */
      static boolean usingUnsafe() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/LittleEndianByteArray.java

            | ((source[offset + 3] & 0xFF) << 24);
      }
    
      /**
       * Indicates that the loading of Unsafe was successful and the load and store operations will be
       * very efficient. May be useful for calling code to fall back on an alternative implementation
       * that is slower than Unsafe.get/store but faster than the pure-Java mask-and-shift.
       */
      static boolean usingUnsafe() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MoreCollectors.java

                return (result == NULL_PLACEHOLDER) ? null : result;
              },
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that takes a stream containing exactly one element and returns that element. The
       * returned collector throws an {@code IllegalArgumentException} if the stream consists of two or
       * more elements, and a {@code NoSuchElementException} if the stream is empty.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              }
            });
        assertTrue(map.isEmpty());
      }
    
      // ----------------------------------------------------------------
      // Test that interrupts result in RuntimeException, not InterruptedException.
      // Trickier than it looks, because runFinalization swallows interrupts.
      // ----------------------------------------------------------------
    
      class Interruptenator extends Thread {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        // First ensure that our classloaders are initializing the correct helper versions
        checkHelperVersion(getClass().getClassLoader(), "UnsafeAtomicHelper");
        checkHelperVersion(NO_UNSAFE, "SafeAtomicHelper");
        checkHelperVersion(NO_ATOMIC_REFERENCE_FIELD_UPDATER, "SynchronizedHelper");
    
        // Run the corresponding AbstractFutureTest test method in a new classloader that disallows
        // certain core jdk classes.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      /** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */
      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        // First ensure that our classloaders are initializing the correct helper versions
        checkHelperVersion(getClass().getClassLoader(), "UnsafeAtomicHelper");
        checkHelperVersion(NO_UNSAFE, "SafeAtomicHelper");
        checkHelperVersion(NO_ATOMIC_REFERENCE_FIELD_UPDATER, "SynchronizedHelper");
    
        // Run the corresponding AbstractFutureTest test method in a new classloader that disallows
        // certain core jdk classes.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/IoTestCase.java

        return File.createTempFile("test", null, getTempDir());
      }
    
      /** Returns a byte array of length size that has values 0 .. size - 1. */
      static byte[] newPreFilledByteArray(int size) {
        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top