Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for buffer_end (0.66 sec)

  1. 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)
  2. src/net/textproto/reader.go

    	// Optimistically assume that we have started to buffer the next line
    	// and it starts with an ASCII letter (the next header key), or a blank
    	// line, so we can avoid copying that buffered data around in memory
    	// and skipping over non-existent whitespace.
    	if r.R.Buffered() > 1 {
    		peek, _ := r.R.Peek(2)
    		if len(peek) > 0 && (isASCIILetter(peek[0]) || peek[0] == '\n') ||
    			len(peek) == 2 && peek[0] == '\r' && peek[1] == '\n' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. 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)
  4. src/encoding/xml/marshal.go

    	return depth == 0 && inquote == 0 && !incomment
    }
    
    // Flush flushes any buffered XML to the underlying writer.
    // See the [Encoder.EncodeToken] documentation for details about when it is necessary.
    func (enc *Encoder) Flush() error {
    	return enc.p.w.Flush()
    }
    
    // Close the Encoder, indicating that no more data will be written. It flushes
    // any buffered XML to the underlying writer and returns an error if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/net/net_fake.go

    	writeClosed     bool    // true if the writer of the queue has stopped writing; the reader sees either io.EOF or syscall.ECONNRESET when they have read all buffered packets
    	noLinger        bool    // if true, the reader sees ECONNRESET instead of EOF
    }
    
    // A packetQueue is a set of 1-buffered channels implementing a FIFO queue
    // of packets.
    type packetQueue struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. android/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)
  7. src/compress/gzip/gzip.go

    }
    
    // NewWriter returns a new [Writer].
    // Writes to the returned writer are compressed and written to w.
    //
    // It is the caller's responsibility to call Close on the [Writer] when done.
    // Writes may be buffered and not flushed until Close.
    //
    // Callers that wish to set the fields in Writer.Header must do so before
    // the first call to Write, Flush, or Close.
    func NewWriter(w io.Writer) *Writer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. pkg/controlplane/apiserver/options/options_test.go

    	"k8s.io/apiserver/pkg/admission"
    	apiserveroptions "k8s.io/apiserver/pkg/server/options"
    	"k8s.io/apiserver/pkg/storage/etcd3"
    	"k8s.io/apiserver/pkg/storage/storagebackend"
    	auditbuffered "k8s.io/apiserver/plugin/pkg/audit/buffered"
    	audittruncate "k8s.io/apiserver/plugin/pkg/audit/truncate"
    	cliflag "k8s.io/component-base/cli/flag"
    	"k8s.io/component-base/logs"
    	"k8s.io/component-base/metrics"
    	netutils "k8s.io/utils/net"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/image/gif/reader.go

    // implements io.ByteReader and buffers blocks into the decoder's "tmp" buffer.
    type blockReader struct {
    	d    *decoder
    	i, j uint8 // d.tmp[i:j] contains the buffered bytes
    	err  error
    }
    
    func (b *blockReader) fill() {
    	if b.err != nil {
    		return
    	}
    	b.j, b.err = readByte(b.d.r)
    	if b.j == 0 && b.err == nil {
    		b.err = io.EOF
    	}
    	if b.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/runtime/mwbbuf.go

    // buffer corruption.
    //
    // This must be non-preemptible because it uses the P's workbuf.
    //
    //go:nowritebarrierrec
    //go:systemstack
    func wbBufFlush1(pp *p) {
    	// Get the buffered pointers.
    	start := uintptr(unsafe.Pointer(&pp.wbBuf.buf[0]))
    	n := (pp.wbBuf.next - start) / unsafe.Sizeof(pp.wbBuf.buf[0])
    	ptrs := pp.wbBuf.buf[:n]
    
    	// Poison the buffer to make extra sure nothing is enqueued
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top