Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 189 for buffer_end (0.17 sec)

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

       *     helpful predefined constants
       * @return the buffered reader
       */
      public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException {
        checkNotNull(file);
        checkNotNull(charset);
        return new BufferedReader(new InputStreamReader(new FileInputStream(file), charset));
      }
    
      /**
       * Returns a buffered writer that writes to a file using the given character set.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandle.java

            requireStdinPipeFor("cancelWithEOT()");
    
            try {
                stdinPipe.write(4);
                if (isDaemon) {
                    // When running a test in a daemon executer, the input is buffered until a
                    // newline char is received
                    stdinPipe.write(getPlatformLineSeparator().getBytes());
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/image/gif/writer.go

    )
    
    var log2Lookup = [8]int{2, 4, 8, 16, 32, 64, 128, 256}
    
    func log2(x int) int {
    	for i, v := range log2Lookup {
    		if x <= v {
    			return i
    		}
    	}
    	return -1
    }
    
    // writer is a buffered writer.
    type writer interface {
    	Flush() error
    	io.Writer
    	io.ByteWriter
    }
    
    // encoder encodes an image to the GIF format.
    type encoder struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/runtime/chan.go

    //  blocked on it for both sending and receiving using a select statement,
    //  in which case the length of c.sendq and c.recvq is limited only by the
    //  size of the select statement.
    //
    // For buffered channels, also:
    //  c.qcount > 0 implies that c.recvq is empty.
    //  c.qcount < c.dataqsiz implies that c.sendq is empty.
    
    import (
    	"internal/abi"
    	"internal/runtime/atomic"
    	"runtime/internal/math"
    	"unsafe"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/finisher/finisher.go

    }
    
    func finishRequest(ctx context.Context, fn ResultFunc, postTimeoutWait time.Duration, postTimeoutLogger PostTimeoutLoggerFunc) (runtime.Object, error) {
    	// the channel needs to be buffered since the post-timeout receiver goroutine
    	// waits up to 5 minutes for the child goroutine to return.
    	resultCh := make(chan *result, 1)
    
    	go func() {
    		result := &result{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 14:20:33 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            // that happens, then we will have buffered bytes that are needed by the SSLSocket!
            // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
            // that it will almost certainly fail because the proxy has sent unexpected data.
            if (source?.buffer?.exhausted() == false || sink?.buffer?.exhausted() == false) {
              throw IOException("TLS tunnel buffered too many bytes!")
            }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/mime/multipart/multipart.go

    	// or we find a reason to stop (boundary or read error).
    	for p.n == 0 && p.err == nil {
    		peek, _ := br.Peek(br.Buffered())
    		p.n, p.err = scanUntilBoundary(peek, p.mr.dashBoundary, p.mr.nlDashBoundary, p.total, p.readErr)
    		if p.n == 0 && p.err == nil {
    			// Force buffered I/O to read more into buffer.
    			_, p.readErr = br.Peek(len(peek) + 1)
    			if p.readErr == io.EOF {
    				p.readErr = io.ErrUnexpectedEOF
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/FileBackedOutputStream.java

        }
      }
    
      /**
       * Calls {@link #close} if not already closed, and then resets this object back to its initial
       * state, for reuse. If data was buffered to a file, it will be deleted.
       *
       * @throws IOException if an I/O error occurred while deleting the file buffer
       */
      public synchronized void reset() throws IOException {
        try {
          close();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                val decorate: (PropertyProblem, ProblemSeverity) -> DecoratedPropertyProblem
            ) : State() {
    
                private
                val hashingStream = HashingOutputStream(Hashing.md5(), spoolFile.outputStream().buffered())
    
                private
                val writer = HtmlReportWriter(hashingStream.writer())
    
                init {
                    executor.submit {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * doesn't include framing overhead. If compression is enabled, uncompressed messages size
       * is used to calculate this value. It also doesn't include any bytes buffered by the operating
       * system or network intermediaries. This method returns 0 if no messages are waiting in the
       * queue. If may return a nonzero value after the web socket has been canceled; this indicates
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top