Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 267 for Errorf (0.14 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> graphAsMutableGraph.putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isTrue();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Strings.java

       * full range of <a
       * href="https://docs.oracle.com/javase/9/docs/api/java/util/Formatter.html#syntax">format
       * specifiers</a>, and alert you to usage errors by throwing {@link
       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

       * Function<A, B> or who call convertAll (and for any checkers that apply @PolyNull-like semantics
       * to Converter.convert). So maybe we don't want to think too hard about how to prevent our
       * checkers from issuing errors related to LegacyConverter, since it turns out that
       * LegacyConverter does violate the assumptions we make elsewhere.
       */
    
      @CheckForNull
      private B unsafeDoForward(@CheckForNull A a) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

      }
    
      /**
       * Returns an {@code InputStream} that decodes base-encoded input from the specified {@code
       * Reader}. The returned stream throws a {@link DecodingException} upon decoding-specific errors.
       */
      @J2ktIncompatible
      @GwtIncompatible // Reader,InputStream
      public abstract InputStream decodingStream(Reader reader);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/PairedStats.java

       * data, and vertical if there is variance in the {@code y} data but not the {@code x} data.
       *
       * <p>This fit minimizes the root-mean-square error in {@code y} as a function of {@code x}. This
       * error is defined as the square root of the mean of the squares of the differences between the
       * actual {@code y} values of the data and the values predicted by the fit for the {@code x}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * handleException() at all.
         */
        if (throwable instanceof Error) {
          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
           * returned true? This was intentional (CL 46470009), but it seems odd compared to how we
           * normally handle Error.
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
      }
    
      public void testTransformAsync_asyncFunction_error() throws InterruptedException {
        final Error error = new Error("deliberate");
        AsyncFunction<String, Integer> function =
            new AsyncFunction<String, Integer>() {
              @Override
              public ListenableFuture<Integer> apply(String input) {
                throw error;
              }
            };
    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)
  9. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThat(verticalValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(0.0);
        assertThat(constantValuesAccumulator.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
        assertThat(constantValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(0.0);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThat(verticalValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(0.0);
        assertThat(constantValuesAccumulator.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
        assertThat(constantValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(0.0);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
Back to top