Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 267 for Errorf (0.2 sec)

  1. android/guava/src/com/google/common/math/PairedStatsAccumulator.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
    - 10.3K bytes
    - Viewed (0)
  2. guava-gwt/pom.xml

                the module description of only the prod module. And the prod module doesn't inherit all
                the modules that the test module classes use, so we get errors.
    
                The good news is that, despite ignoring errors here, GWT does fail if any errors affect
                classes that are actually used in the module under test.
    
                One way to eliminate the warnings is to make base.testModule include the not really
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          Helpers.assertContentsInOrder(list, "a", "c", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          Helpers.assertContentsInOrder(list, "a", "B", "c");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

          fail();
        } catch (RuntimeException expected) {
          assertEquals(RUNTIME_EXCEPTION, expected);
        }
      }
    
      public void testGetUnchecked_Error() {
        try {
          getUnchecked(ERROR_FUTURE);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(f, callback, directExecutor());
        f.cancel(true);
      }
    
      public void testThrowErrorFromGet() {
        Error error = new AssertionError("ASSERT!");
        ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
        MockCallback callback = new MockCallback(error);
        addCallback(f, callback, directExecutor());
      }
    
      public void testRuntimeExceptionFromGet() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Nov 15 16:33:21 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/GraphsTest.java

      private static final int EDGE_COUNT = 20;
      // TODO(user): Consider adding both error messages from here and {@link AbstractNetworkTest}
      // in one class (may be a utility class for error messages).
      private static final String ERROR_PARALLEL_EDGE = "connected by a different edge";
      private static final String ERROR_NEGATIVE_COUNT = "is non-negative";
      private static final String ERROR_ADDED_PARALLEL_EDGE =
          "Should not be allowed to add a parallel edge.";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void longEqualUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void diffLastJava(int reps) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSink.java

       * writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
       * @throws IOException if an I/O error occurs while opening the writer
       */
      public abstract Writer openStream() throws IOException;
    
      /**
       * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE);
        e =
            assertThrows(
                IllegalArgumentException.class,
                () -> networkAsMutableNetwork.addEdge(N2, N1, EDGE_NOT_IN_GRAPH));
        assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE);
      }
    
      @Test
      public void addEdge_parallelEdge_allowsParallelEdges() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

                IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N4, N5, E12));
        assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE);
        e = assertThrows(IllegalArgumentException.class, () -> addEdge(N2, N1, E12));
        assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE);
      }
    
      @Test
      public void addEdge_parallelEdge_notAllowed() {
        assume().that(graphIsMutable()).isTrue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top