Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for inline (9.52 sec)

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

        failLeave.countDown(); // release the background thread
      }
    
      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
       * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
       * the original error (which was not constructing ServiceManager correctly).
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

        }
    
        /**
         * Refreshes the value associated with {@code key}, unless another thread is already doing so.
         * Returns the newly refreshed value associated with {@code key} if it was refreshed inline, or
         * {@code null} if another thread is performing the refresh or if an error occurs during
         * refresh.
         */
        @CanIgnoreReturnValue
        @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/InvokableTest.java

            new LocalClassWithSeeminglyHiddenThisInStaticInitializer();
      }
    
      /**
       * This class demonstrates a bug in getParameters() when the local class is inside static
       * initializer.
       */
      private static class LocalClassWithSeeminglyHiddenThisInStaticInitializer {
        static {
          class Local {
            @SuppressWarnings("unused") // through reflection
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * @throws ParameterNotInstantiableException if the static methods cannot be invoked because the
       *     default value of a parameter cannot be determined.
       * @throws IllegalAccessException if the class isn't public or is nested inside a non-public
       *     class, preventing its methods from being accessible.
       * @throws InvocationTargetException if a static method threw exception.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          return new TypeToken<K>(getClass()) {};
        }
    
        TypeToken<V> valueType() {
          return new TypeToken<V>(getClass()) {};
        }
      }
    
      // The A and B type parameters are used inside the test to test type variable
      public <A, B> void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
                TypeToken.of(String.class),
                TypeToken.of(String.class),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        ReferenceQueue<V> getValueReferenceQueueForTesting() {
          throw new AssertionError();
        }
    
        /** Unsafely extracts the weak value reference inside of the given {@code entry}. */
        WeakValueReference<K, V, E> getWeakValueReferenceForTesting(InternalEntry<K, V, ?> entry) {
          throw new AssertionError();
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      // This test covers a bug where an Error thrown from a callback could cause the TimeoutFuture to
      // never complete when timing out.  Notably, nothing would get logged since the Error would get
      // stuck in the ScheduledFuture inside of TimeoutFuture and nothing ever calls get on it.
    
      // Simulate a timeout that fires before the call the SES.schedule returns but the future is
      // already completed.
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
       * does include other leading and trailing whitespace.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the first line, or null if the file is empty
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          if (info.getName().endsWith("GwtSerializationDependencies")) {
            continue; // These classes exist only for the GWT compiler, not to be used.
          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          if (info.getName().endsWith("GwtSerializationDependencies")) {
            continue; // These classes exist only for the GWT compiler, not to be used.
          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top