Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getUnsafe (0.21 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

      }
    
      /**
       * Returns a sun.misc.Unsafe. Suitable for use in a 3rd party package. Replace with a simple call
       * to Unsafe.getUnsafe when integrating into a jdk.
       *
       * @return a sun.misc.Unsafe
       */
      private static Unsafe getUnsafe() {
        try {
          return Unsafe.getUnsafe();
        } catch (SecurityException tryReflectionInstead) {
        }
        try {
          return AccessController.doPrivileged(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/LittleEndianByteArray.java

        /**
         * Returns an Unsafe. Suitable for use in a 3rd party package. Replace with a simple call to
         * Unsafe.getUnsafe when integrating into a JDK.
         *
         * @return an Unsafe instance if successful
         */
        private static Unsafe getUnsafe() {
          try {
            return Unsafe.getUnsafe();
          } catch (SecurityException tryReflectionInstead) {
            // We'll try reflection instead.
          }
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        static final long VALUE_OFFSET;
        static final long WAITER_THREAD_OFFSET;
        static final long WAITER_NEXT_OFFSET;
    
        static {
          Unsafe unsafe = null;
          try {
            unsafe = Unsafe.getUnsafe();
          } catch (SecurityException tryReflectionInstead) {
            try {
              unsafe =
                  doPrivileged(
                      (PrivilegedExceptionAction<Unsafe>)
                          () -> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        static final long VALUE_OFFSET;
        static final long WAITER_THREAD_OFFSET;
        static final long WAITER_NEXT_OFFSET;
    
        static {
          Unsafe unsafe = null;
          try {
            unsafe = Unsafe.getUnsafe();
          } catch (SecurityException tryReflectionInstead) {
            try {
              unsafe =
                  doPrivileged(
                      (PrivilegedExceptionAction<Unsafe>)
                          () -> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
Back to top