Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 120 for compiler (0.22 sec)

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

      public void testListenInPoolThreadRunsListenerAfterRuntimeException() throws Exception {
        RuntimeExceptionThrowingFuture<String> input = new RuntimeExceptionThrowingFuture<>();
        /*
         * The compiler recognizes that "input instanceof ListenableFuture" is
         * impossible. We want the test, though, in case that changes in the future,
         * so we use isInstance instead.
         */
        assertFalse(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
    
      // This reference is used both by the custom field serializer, and by the
      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      //
      // Although this reference is non-final, it doesn't change after set creation.
      E element;
    
      SingletonImmutableSet(E element) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. guava/pom.xml

                </Import-Package>
                <Bundle-DocURL>https://github.com/google/guava/</Bundle-DocURL>
              </instructions>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableList<E> extends ForwardingImmutableList<E> {
    
      final transient List<E> delegate;
      // This reference is used both by the custom field serializer, and by the
      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      E element;
    
      SingletonImmutableList(E element) {
        this.delegate = singletonList(checkNotNull(element));
        this.element = element;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Platform.java

        return patternCompiler.compile(pattern);
      }
    
      static boolean patternCompilerIsPcreLike() {
        return patternCompiler.isPcreLike();
      }
    
      private static PatternCompiler loadPatternCompiler() {
        /*
         * We'd normally use ServiceLoader here, but it hurts Android startup performance. To avoid
         * that, we hardcode the JDK Pattern compiler on Android (and, inadvertently, on App Engine and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * {@code SerializableTester} calls with other, GWT-compatible tests.
       *
       * <p>Note that the specified object may not be known by the compiler to be a {@link
       * java.io.Serializable} instance, and is thus declared an {@code Object}. For example, it might
       * be declared as a {@code List}.
       *
       * @return the re-serialized object
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Closer.java

       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

           * BYTE_ARRAY_BASE_OFFSET doesn't get constant-folded.
           *
           * The compiler can treat static final fields as compile-time constants and can constant-fold
           * them while (final or not) local variables are run time values.
           */
    
          static final Unsafe theUnsafe = getUnsafe();
    
          /** The offset to the first element in a byte array. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Interners.java

            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
              if (canonical != null) { // only matters if weak/soft keys are used
                // The compiler would know this is safe if not for our use of raw types (see above).
                @SuppressWarnings("unchecked")
                E result = (E) canonical;
                return result;
              }
            }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          if (!GUAVA_PACKAGES.contains(info.getPackageName())) {
            continue;
          }
          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:
    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)
Back to top