Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for sunt (0.15 sec)

  1. guava/src/com/google/common/base/Throwables.java

      /**
       * Returns the JavaLangAccess class that is present in all Sun JDKs. It is not allowed in
       * AppEngine, and not present in non-Sun JDKs.
       */
      @SuppressWarnings("removal") // b/318391980
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Object getJLA() {
        try {
          /*
           * We load sun.misc.* classes using reflection since Android doesn't support these classes and
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

      /**
       * Returns the JavaLangAccess class that is present in all Sun JDKs. It is not allowed in
       * AppEngine, and not present in non-Sun JDKs.
       */
      @SuppressWarnings("removal") // b/318391980
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Object getJLA() {
        try {
          /*
           * We load sun.misc.* classes using reflection since Android doesn't support these classes and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             * the type parameter is <E>, since otherwise the
             * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is
             * safe, even though javac can't tell.
             *
             * Sun bug 6665356 is an additional complication. Until OpenJDK 7, javac
             * doesn't recognize this kind of cast as unchecked cast. Neither does
             * Eclipse 3.4. Right now, this suppression is mostly unnecessary.
             */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

       * <p><b>Warning:</b> a new random seed for these functions is chosen each time the {@code
       * Hashing} class is loaded. <b>Do not use this method</b> if hash codes may escape the current
       * process in any way, for example being sent over RPC, or saved to disk. For a general-purpose,
       * non-cryptographic hash function that will never change behavior, we suggest {@link
       * #murmur3_128}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

        long size = 0;
        for (Entry<?> entry : multiset.entrySet()) {
          size += entry.getCount();
        }
        return Ints.saturatedCast(size);
      }
    
      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T extends @Nullable Object> Multiset<T> cast(Iterable<T> iterable) {
        return (Multiset<T>) iterable;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      /**
       * {@link AtomicHelper} based on {@link sun.misc.Unsafe}.
       *
       * <p>Static initialization of this class will fail if the {@link sun.misc.Unsafe} object cannot
       * be accessed.
       */
      @SuppressWarnings({"sunapi", "removal"}) // b/318391980
      private static final class UnsafeAtomicHelper extends AtomicHelper {
        static final sun.misc.Unsafe UNSAFE;
        static final long LISTENERS_OFFSET;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             * the type parameter is <E>, since otherwise the
             * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is
             * safe, even though javac can't tell.
             *
             * Sun bug 6665356 is an additional complication. Until OpenJDK 7, javac
             * doesn't recognize this kind of cast as unchecked cast. Neither does
             * Eclipse 3.4. Right now, this suppression is mostly unnecessary.
             */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

          extends AbstractListWrapper<E> implements RandomAccess {
        RandomAccessListWrapper(List<E> backingList) {
          super(backingList);
        }
      }
    
      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T extends @Nullable Object> List<T> cast(Iterable<T> iterable) {
        return (List<T>) iterable;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // live
        table.set(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.removeLoadingValue(key, hash, valueRef));
        // no notification sent with removeLoadingValue
        assertTrue(map.removalNotificationQueue.isEmpty());
        assertEquals(0, segment.count);
        assertNull(table.get(0));
    
        // active
        Object value = new Object();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // live
        table.set(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.removeLoadingValue(key, hash, valueRef));
        // no notification sent with removeLoadingValue
        assertTrue(map.removalNotificationQueue.isEmpty());
        assertEquals(0, segment.count);
        assertNull(table.get(0));
    
        // active
        Object value = new Object();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
Back to top