Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for outputs (0.15 sec)

  1. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         *
         * Rough instructions to regenerate the test outputs and verify correctness:
         * - Temporarily change this test:
         * --- Comment out assertEquals.
         * --- System.out.println(input + " " + simplifyPath(input));
         * --- fail(). (If the test were to pass, its output would be hidden.)
         * - Run the test.
         * - Pull the relevant lines of output from the test into a testcases file.
         * - Test the output:
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 11K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         *
         * Rough instructions to regenerate the test outputs and verify correctness:
         * - Temporarily change this test:
         * --- Comment out assertEquals.
         * --- System.out.println(input + " " + simplifyPath(input));
         * --- fail(). (If the test were to pass, its output would be hidden.)
         * - Run the test.
         * - Pull the relevant lines of output from the test into a testcases file.
         * - Test the output:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 11K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
       * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element.
       *
       * @since 22.0
       */
      public static <T extends @Nullable Object, E>
          Collector<T, ?, ImmutableMultiset<E>> toImmutableMultiset(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsTesting.java

    import com.google.common.primitives.Doubles;
    import com.google.common.primitives.Ints;
    import java.math.BigInteger;
    import java.util.List;
    import java.util.stream.DoubleStream;
    
    /**
     * Inputs, expected outputs, and helper methods for tests of {@link StatsAccumulator}, {@link
     * Stats}, {@link PairedStatsAccumulator}, and {@link PairedStats}.
     *
     * @author Pete Gillin
     */
    class StatsTesting {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsTesting.java

    import com.google.common.collect.Lists;
    import com.google.common.primitives.Doubles;
    import com.google.common.primitives.Ints;
    import java.math.BigInteger;
    import java.util.List;
    
    /**
     * Inputs, expected outputs, and helper methods for tests of {@link StatsAccumulator}, {@link
     * Stats}, {@link PairedStatsAccumulator}, and {@link PairedStats}.
     *
     * @author Pete Gillin
     */
    class StatsTesting {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
       * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element.
       *
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        outputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testAsyncToString() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        assertThat(resultFuture.toString()).contains(outputFuture.toString());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AsyncFunction.java

     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface AsyncFunction<I extends @Nullable Object, O extends @Nullable Object> {
      /**
       * Returns an output {@code Future} to use in place of the given {@code input}. The output {@code
       * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for
       * asynchronous derivations.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 10:45:35 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBiMap.java

          // requireNonNull is safe because of the hasNext check.
          BiEntry<K, V> entry = requireNonNull(next);
          next = entry.nextInKeyInsertionOrder;
          toRemove = entry;
          remaining--;
          return output(entry);
        }
    
        @Override
        public void remove() {
          if (modCount != expectedModCount) {
            throw new ConcurrentModificationException();
          }
          if (toRemove == null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hasher.java

       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
       * running the same hash function on the equivalent input. For cross-language compatibility, use
       * {@link #putString}, usually with a charset of UTF-8. For other use cases, use {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
Back to top