Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for APPLICATION (0.21 sec)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      }
    
      /**
       * A {@code CycleDetectingLockFactory.WithExplicitOrdering} provides the additional enforcement of
       * an application-specified ordering of lock acquisitions. The application defines the allowed
       * ordering with an {@code Enum} whose values each correspond to a lock type. The order in which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          ExecutorService service, long terminationTimeout, TimeUnit timeUnit) {
        new Application().addDelayedShutdownHook(service, terminationTimeout, timeUnit);
      }
    
      /** Represents the current application to register shutdown hooks. */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      @VisibleForTesting
      static class Application {
    
        final ExecutorService getExitingExecutorService(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      public void testAddDelayedShutdownHook_success() throws InterruptedException {
        TestApplication application = new TestApplication();
        ExecutorService service = mock(ExecutorService.class);
        application.addDelayedShutdownHook(service, 2, TimeUnit.SECONDS);
        verify(service, Mockito.never()).shutdown();
        application.shutdown();
        InOrder shutdownFirst = Mockito.inOrder(service);
        shutdownFirst.verify(service).shutdown();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

       * registry suffixes, since domain name registries collectively control all internet domain names.
       *
       * <p>For considerations on whether the public suffix or registry suffix designation is more
       * suitable for your application, see <a
       * href="https://github.com/google/guava/wiki/InternetDomainNameExplained">this article</a>.
       *
       * @return {@code true} if this domain name appears exactly on the public suffix list
       * @since 6.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/MediaType.java

       */
      public static final MediaType WASM_APPLICATION = createConstant(APPLICATION_TYPE, "wasm");
    
      /**
       * NaCl applications. For more information see <a
       * href="https://developer.chrome.com/native-client/devguide/coding/application-structure">the
       * Developer Guide for Native Client Application Structure</a>.
       *
       * @since 20.0
       */
      public static final MediaType NACL_APPLICATION = createConstant(APPLICATION_TYPE, "x-nacl");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

       * can therefore be converted safely to integers (for whatever purpose) this function can be used
       * to handle IPv6 addresses as well until the application is suitably fixed.
       *
       * <p>NOTE: an IPv6 address coerced to an IPv4 address can only be used for such purposes as
       * rudimentary identification or indexing into a collection of real {@link InetAddress}es. They
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/math/BigIntegerMath.java

         *
         * Using DoubleUtils.bigToDouble, getting a double approximation of x is extremely fast, and
         * then we can get a double approximation of the square root. Then, we iteratively improve this
         * guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2.
         * This iteration has the following two properties:
         *
         * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      public void testAddDelayedShutdownHook_success() throws InterruptedException {
        TestApplication application = new TestApplication();
        ExecutorService service = mock(ExecutorService.class);
        application.addDelayedShutdownHook(service, 2, TimeUnit.SECONDS);
        verify(service, Mockito.never()).shutdown();
        application.shutdown();
        InOrder shutdownFirst = Mockito.inOrder(service);
        shutdownFirst.verify(service).shutdown();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * thread keeps an indirect strong reference to the queue in ReferenceMap, which keeps the
       * Finalizer running, and as a result, the application class loader can never be reclaimed.
       *
       * This means that dynamically loaded web applications and OSGi bundles can't be unloaded.
       *
    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)
  10. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * thread keeps an indirect strong reference to the queue in ReferenceMap, which keeps the
       * Finalizer running, and as a result, the application class loader can never be reclaimed.
       *
       * This means that dynamically loaded web applications and OSGi bundles can't be unloaded.
       *
    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)
Back to top