Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for application (0.19 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. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
       * public static void main(String[] args) {
       *   Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
       *   ...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  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/InetAddresses.java

       *
       * <p>As long as there are applications that assume that all IP addresses are IPv4 addresses and
       * 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  6. 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)
  7. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals("text", MediaType.parse("text/plain").type());
        assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
      }
    
      public void testGetSubtype() {
        assertEquals("plain", MediaType.parse("text/plain").subtype());
        assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals("text", MediaType.parse("text/plain").type());
        assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
      }
    
      public void testGetSubtype() {
        assertEquals("plain", MediaType.parse("text/plain").subtype());
        assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          // fired. To avoid this we substitute a placeholder service.
          logger
              .get()
              .log(
                  Level.WARNING,
                  "ServiceManager configured with no services.  Is your application configured"
                      + " properly?",
                  new EmptyServiceManagerWarning());
          copy = ImmutableList.<Service>of(new NoOpService());
        }
        this.state = new ServiceManagerState(copy);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        inverseFeatures.remove(CollectionFeature.KNOWN_ORDER);
        inverseFeatures.add(MapFeature.REJECTS_DUPLICATES_AT_CREATION);
    
        return inverseFeatures;
      }
    
      // TODO(lowasser): can we eliminate the duplication from MapTestSuiteBuilder here?
    
      private static Set<Feature<?>> computeValuesSetFeatures(Set<Feature<?>> mapFeatures) {
        Set<Feature<?>> valuesCollectionFeatures = computeCommonDerivedCollectionFeatures(mapFeatures);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top