Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 97 for Errorf (0.14 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedBytes.java

                && (BYTE_ARRAY_BASE_OFFSET % 8) == 0
                // sanity check - this should never fail
                && theUnsafe.arrayIndexScale(byte[].class) == 1)) {
              throw new Error(); // force fallback to PureJavaComparator
            }
          }
    
          /**
           * Returns a sun.misc.Unsafe. Suitable for use in a 3rd party package. Replace with a simple
    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)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Integer> d = numbers.compound(integers);
        Ordering<Integer> e = integers.compound(numbers);
    
        // This works with three levels too (IDEA falsely reports errors as noted
        // below. Both javac and eclipse handle these cases correctly.)
    
        Ordering<Number> f = numbers.compound(objects).compound(objects); // bad IDEA
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Integer> d = numbers.compound(integers);
        Ordering<Integer> e = integers.compound(numbers);
    
        // This works with three levels too (IDEA falsely reports errors as noted
        // below. Both javac and eclipse handle these cases correctly.)
    
        Ordering<Number> f = numbers.compound(objects).compound(objects); // bad IDEA
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

            return (Comparator) Ordering.natural().reverse();
          } else {
            return reverse(forwardComparator);
          }
        }
    
        // If we inline this, we get a javac error.
        private static <T extends @Nullable Object> Ordering<T> reverse(Comparator<T> forward) {
          return Ordering.from(forward).reverse();
        }
    
        @Override
        @ParametricNullness
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    
    /**
     * {@link Error} variant of {@link java.util.concurrent.ExecutionException}. As with {@code
     * ExecutionException}, the error's {@linkplain #getCause() cause} comes from a failed task,
     * possibly run in another thread. That cause should itself be an {@code Error}; if not, use {@code
     * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

          throw new AssertionError();
        }
      }
    
      private static void wrapAndThrowUnchecked(Throwable cause) {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        /*
         * It's an Exception. (Or it's a non-Error, non-Exception Throwable. From my survey of such
         * classes, I believe that most users intended to extend Exception, so we'll treat it like an
         * Exception.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       * @param to the output stream
       * @throws IOException if an I/O error occurs
       */
      public static void copy(File from, OutputStream to) throws IOException {
        asByteSource(from).copyTo(to);
      }
    
      /**
       * Copies all the bytes from one file to another.
       *
       * <p>Copying is not an atomic operation - in the case of an I/O error, power loss, process
    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)
  8. guava-tests/test/com/google/common/io/CloserTest.java

            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testErrors() throws IOException {
        Closer closer = new Closer(suppressor);
    
        Error c1Exception = new Error();
        Error c2Exception = new Error();
        Error c3Exception = new Error();
    
        TestCloseable c1 = closer.register(TestCloseable.throwsOnClose(c1Exception));
        TestCloseable c2 = closer.register(TestCloseable.throwsOnClose(c2Exception));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  9. android/pom.xml

              </plugin>
            </plugins>
          </build>
        </profile>
        <profile>
          <id>run-error-prone</id>
          <activation>
            <!--
            Error Prone requires 11+: https://errorprone.info/docs/installation
            We skip 12-15 because of https://github.com/google/error-prone/issues/3540.
            -->
            <jdk>[11,12),[16,)</jdk>
          </activation>
          <build>
            <plugins>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Preconditions.java

       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
       * creating a lot of compile errors that users would not find to be informative, we're giving in
       * and allowing callers to pass arguments that a nullness checker believes could be null.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top