Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for output (0.14 sec)

  1. android/guava/src/com/google/common/io/Resources.java

              public List<String> getResult() {
                return result;
              }
            });
      }
    
      /**
       * Copies all bytes from a URL to an output stream.
       *
       * @param from the URL to read from
       * @param to the output stream
       * @throws IOException if an I/O error occurs
       */
      public static void copy(URL from, OutputStream to) throws IOException {
        asByteSource(from).copyTo(to);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

          // pass
        }
      }
    
      /**
       * Asserts that an escaper escapes the given character into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param c the character to escape
       */
      public static void assertEscaping(CharEscaper escaper, String expected, char c) {
    
        String escaped = computeReplacement(escaper, c);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumMultiset.java

      @Override
      Iterator<E> elementIterator() {
        return new Itr<E>() {
          @Override
          E output(int index) {
            return enumConstants[index];
          }
        };
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        return new Itr<Entry<E>>() {
          @Override
          Entry<E> output(final int index) {
            return new Multisets.AbstractEntry<E>() {
              @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashingOutputStream.java

     * @author Nick Piepmeier
     * @since 16.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public final class HashingOutputStream extends FilterOutputStream {
      private final Hasher hasher;
    
      /**
       * Creates an output stream that hashes using the given {@link HashFunction}, and forwards all
       * data written to it to the underlying {@link OutputStream}.
       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

        assertHash(
            0, 0x658ca970ff85269aL, 0x43fee3eaa68e5c3eL, "The quick brown fox jumps over the lazy cog");
    
        // Known output from Python smhasher
        HashCode foxHash =
            murmur3_128(0).hashString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8);
        assertEquals("6c1b07bc7bbc4be347939ac4a93c437a", foxHash.toString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

        super.releaseResources(reason);
        /*
         * If the output future is done, then it won't need to interrupt the task later, so it can clear
         * its reference to it.
         *
         * If the output future is *not* done, then the task field will be cleared after the task runs
         * or after the output future is done, whichever comes first.
         */
        if (reason == OUTPUT_FUTURE_DONE) {
          this.task = null;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/PercentEscaper.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class PercentEscaper extends UnicodeEscaper {
    
      // In some escapers spaces are escaped to '+'
      private static final char[] PLUS_SIGN = {'+'};
    
      // Percent escapers output upper case hex digits (uri escapers require this).
      private static final char[] UPPER_HEX_DIGITS = "0123456789ABCDEF".toCharArray();
    
      /** If true we should convert space to the {@code +} character. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

          // pass
        }
      }
    
      /**
       * Asserts that an escaper escapes the given character into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param c the character to escape
       */
      public static void assertEscaping(CharEscaper escaper, String expected, char c) {
    
        String escaped = computeReplacement(escaper, c);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

        }
        this.functions = functions;
      }
    
      /**
       * Constructs a {@code HashCode} from the {@code Hasher} objects of the functions. Each of them
       * has consumed the entire input and they are ready to output a {@code HashCode}. The order of the
       * hashers are the same order as the functions given to the constructor.
       */
      // this could be cleaner if it passed HashCode[], but that would create yet another array...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 5.4K bytes
    - Viewed (0)
Back to top