Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for Sun (0.15 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

      }
    
      private static Method getJdkNextDown() throws Exception {
        try {
          return Math.class.getMethod("nextDown", double.class);
        } catch (NoSuchMethodException expectedBeforeJava8) {
          return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class);
        }
      }
    
      @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue().
      public void testBigToDouble() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code
     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
     *   <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even
     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
     *       that we could probably work around. Or we could manually strip the test from open-source
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (NullPointerException tolerated) {
          }
        } else {
          try {
            entrySet.retainAll(null);
            // We have to tolerate a successful return (Sun bug 4802647)
          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
      public void testEntrySetClear() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (NullPointerException tolerated) {
          }
        } else {
          try {
            entrySet.retainAll(null);
            // We have to tolerate a successful return (Sun bug 4802647)
          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
      public void testEntrySetClear() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
  5. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/extra/AtomicDouble.java?revision=1.13
     * (Modified to adapt to guava coding conventions and
     * to use AtomicLong instead of sun.misc.Unsafe)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.lang.Double.doubleToRawLongBits;
    import static java.lang.Double.longBitsToDouble;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 28 21:00:54 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

             *
             * So this is probably just the "Windows Java 8" case. In that case, if we wanted *another*
             * layer of fallback before consulting the system property, we could try
             * com.sun.security.auth.module.NTSystem.
             *
             * But for now, we use the value from the system property as our best guess.
             */
            return fromSystemProperty;
          } catch (InvocationTargetException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            // Lasta Di does not need private access to the classes
            final String fqcn = field.getDeclaringClass().getName();
            return fqcn.startsWith("java.") || fqcn.startsWith("jdk.") || fqcn.startsWith("com.sun.") || fqcn.startsWith("sun.");
        }
    
        /**
         * {@link Type}を表現する{@link ParameterizedClassDesc}を作成して返します。
         *
         * @param type
         *            型
         * @param map
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/extra/AtomicDoubleArray.java?revision=1.5
     * (Modified to adapt to guava coding conventions and
     * to use AtomicLongArray instead of sun.misc.Unsafe)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.lang.Double.doubleToRawLongBits;
    import static java.lang.Double.longBitsToDouble;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * reverse of their natural ordering.
       *
       * <p>Note: the type parameter {@code E} extends {@code Comparable<?>} rather than {@code
       * Comparable<? super E>} as a workaround for javac <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6468354">bug 6468354</a>.
       */
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<>(Ordering.<E>natural().reverse());
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/StringUtil.java

        static {
            try {
                final Class<?> sharedSecretsClass = Class.forName("sun.misc.SharedSecrets");
                javaLangAccess = sharedSecretsClass.getDeclaredMethod("getJavaLangAccess").invoke(null);
                final Class<?> javaLangAccessClass = Class.forName("sun.misc.JavaLangAccess");
                newStringUnsafeMethod = javaLangAccessClass.getMethod("newStringUnsafe", char[].class);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top