Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for surname (0.14 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        ThreadFactory backingThreadFactory =
            new ThreadFactory() {
              @Override
              public Thread newThread(Runnable r) {
                Thread thread = new Thread(r);
                thread.setName(THREAD_NAME);
                thread.setPriority(THREAD_PRIORITY);
                thread.setDaemon(THREAD_DAEMON);
                thread.setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER);
                return thread;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/EnumsTest.java

        URLClassLoader shadowLoader = new URLClassLoader(getClassPathUrls(), null);
        @SuppressWarnings("unchecked")
        Class<TestEnum> shadowTestEnum =
            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertNotSame(shadowTestEnum, TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <pre>{@code
     * FluentFuture<UserName> userName =
     *     ClosingFuture.submit(
     *             closer -> closer.eventuallyClose(database.newTransaction(), closingExecutor),
     *             executor)
     *         .transformAsync((closer, transaction) -> transaction.queryClosingFuture("..."), executor)
     *         .transform((closer, result) -> result.get("userName"), directExecutor())
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Charsets.java

      public static final Charset US_ASCII = Charset.forName("US-ASCII");
    
      /**
       * ISO-8859-1: ISO Latin Alphabet Number 1 (ISO-LATIN-1).
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#ISO_8859_1} instead.
       *
       */
      public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

        String prefix =
            (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent.");
        String className = prefix + queueType + "BlockingQueue";
        Constructor<?> constructor = Class.forName(className).getConstructor(int.class);
        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2K bytes
    - Viewed (0)
  6. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * this class loader, but at least the world doesn't end.
       */
      static class DirectLoader implements FinalizerLoader {
        @Override
        public Class<?> loadFinalizer() {
          try {
            return Class.forName(FINALIZER_CLASS_NAME);
          } catch (ClassNotFoundException e) {
            throw new AssertionError(e);
          }
        }
      }
    
      /** Looks up Finalizer.startFinalizer(). */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * this class loader, but at least the world doesn't end.
       */
      static class DirectLoader implements FinalizerLoader {
        @Override
        public Class<?> loadFinalizer() {
          try {
            return Class.forName(FINALIZER_CLASS_NAME);
          } catch (ClassNotFoundException e) {
            throw new AssertionError(e);
          }
        }
      }
    
      /** Looks up Finalizer.startFinalizer(). */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

          }
        }
      }
    
      private static final boolean ANNOTATED_TYPE_EXISTS = initAnnotatedTypeExists();
    
      private static boolean initAnnotatedTypeExists() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException e) {
          return false;
        }
        return true;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @BeforeExperiment
      void setUp() throws ClassNotFoundException {
        Preconditions.checkArgument(hitRate >= 0 && hitRate <= 1, "hitRate must be in the range [0,1]");
    
        enumType =
            Class.forName(EnumsBenchmark.class.getCanonicalName() + "$" + enumSize + "Enum")
                .asSubclass(Enum.class);
    
        Enum<?>[] allConstants = enumType.getEnumConstants();
        List<String> hits = new ArrayList<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top