Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 816 for carlet (0.16 sec)

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

       * bytes encoded with the given {@link Charset charset}.
       */
      public CharSink asCharSink(Charset charset) {
        return new AsCharSink(charset);
      }
    
      /**
       * Opens a new {@link OutputStream} for writing to this sink. This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

       */
      class AsCharSource extends CharSource {
    
        final Charset charset;
    
        AsCharSource(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public ByteSource asByteSource(Charset charset) {
          if (charset.equals(this.charset)) {
            return ByteSource.this;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharSource.java

      private final class AsByteSource extends ByteSource {
    
        final Charset charset;
    
        AsByteSource(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (charset.equals(this.charset)) {
            return CharSource.this;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ReaderInputStream.java

    import java.nio.ByteBuffer;
    import java.nio.CharBuffer;
    import java.nio.charset.Charset;
    import java.nio.charset.CharsetEncoder;
    import java.nio.charset.CoderResult;
    import java.nio.charset.CodingErrorAction;
    import java.util.Arrays;
    
    /**
     * An {@link InputStream} that converts characters from a {@link Reader} into bytes using an
     * arbitrary Charset.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSink.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.BufferedWriter;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.Writer;
    import java.nio.charset.Charset;
    
    /**
     * A destination to which characters can be written, such as a text file. Unlike a {@link Writer}, a
     * {@code CharSink} is not an open, stateful stream that can be written to and closed. Instead, it
    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)
  6. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java

         * existing values in the execution request that are controlled by the toolchains. Hence, it is expected that this
         * method is called on a new/empty execution request before the caller mutates it to fit its needs.
         *
         * @param request The execution request to populate, must not be {@code null}.
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static void copy(File from, Charset charset, Appendable to) throws IOException {
        asCharSource(from, charset).copyTo(to);
      }
    
      /**
       * Appends a character sequence (such as a string) to a file using the given character set.
       *
       * @param from the character sequence to append
       * @param to the destination file
    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. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // before `StartExecute` is called again. Using `StartExecute` with `Join`
      // allows the caller to schedule computation on multiple ParallelDevices
      // without sequencing those operations (first call `StartExecute` on each
      // parallel device, then call `Join` on each; even if some of the `Join`s
      // return a bad status the caller must run all of the `Join`s or any future
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. internal/grid/stream.go

    	"errors"
    )
    
    // A Stream is a two-way stream.
    // All responses *must* be read by the caller.
    // If the call is canceled through the context,
    // the appropriate error will be returned.
    type Stream struct {
    	// responses from the remote server.
    	// Channel will be closed after error or when remote closes.
    	// All responses *must* be read by the caller until either an error is returned or the channel is closed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/AbstractCache.java

        /**
         * Records cache hits. This should be called when a cache request returns a cached value.
         *
         * @param count the number of hits to record
         * @since 11.0
         */
        void recordHits(int count);
    
        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
Back to top