Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 107 for Road (0.12 sec)

  1. guava/src/com/google/common/cache/CacheStats.java

       * in a single load operation.
       */
      public double missRate() {
        long requestCount = requestCount();
        return (requestCount == 0) ? 0.0 : (double) missCount / requestCount;
      }
    
      /**
       * Returns the total number of times that {@link Cache} lookup methods attempted to load new
       * values. This includes both successful load operations and those that threw exceptions. This is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

       * in a single load operation.
       */
      public double missRate() {
        long requestCount = requestCount();
        return (requestCount == 0) ? 0.0 : (double) missCount / requestCount;
      }
    
      /**
       * Returns the total number of times that {@link Cache} lookup methods attempted to load new
       * values. This includes both successful load operations and those that threw exceptions. This is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Reflection.java

       * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without
       * attempting to define the {@link Package} and hence load files.
       */
      public static String getPackageName(Class<?> clazz) {
        return getPackageName(clazz.getName());
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        assertNotSame(frqC, sepFrqC);
        // Check the assumptions above.
    
        // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways.
        // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader())
        // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/PackageSanityTests.java

      public PackageSanityTests() {
        setDefault(
            CacheLoader.class,
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return key;
              }
            });
        setDefault(LocalCache.class, new LocalCache<Object, Object>(CacheBuilder.newBuilder(), null));
        setDefault(CacheBuilder.class, CacheBuilder.newBuilder());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/PackageSanityTests.java

      public PackageSanityTests() {
        setDefault(
            CacheLoader.class,
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return key;
              }
            });
        setDefault(LocalCache.class, new LocalCache<Object, Object>(CacheBuilder.newBuilder(), null));
        setDefault(CacheBuilder.class, CacheBuilder.newBuilder());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        final CountDownLatch computingLatch = new CountDownLatch(1);
        CacheLoader<String, String> computingFunction =
            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws InterruptedException {
                if (shouldWait.get()) {
                  computingLatch.await();
                }
                return key;
              }
            };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

          super(urls);
        }
    
        @Override
        protected synchronized Class<?> loadClass(String name, boolean resolve)
            throws ClassNotFoundException {
          // Force Finalizer to load from this class loader, not its parent.
          if (name.equals(Finalizer.class.getName())) {
            Class<?> clazz = findClass(name);
            if (resolve) {
              resolveClass(clazz);
            }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

          super(urls);
        }
    
        @Override
        protected synchronized Class<?> loadClass(String name, boolean resolve)
            throws ClassNotFoundException {
          // Force Finalizer to load from this class loader, not its parent.
          if (name.equals(Finalizer.class.getName())) {
            Class<?> clazz = findClass(name);
            if (resolve) {
              resolveClass(clazz);
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    import static com.google.common.graph.Graphs.checkNonNegative;
    import static com.google.common.graph.Graphs.checkPositive;
    
    import com.google.common.base.Function;
    import com.google.common.collect.AbstractIterator;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top