Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,136 for writes (0.08 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/HtmlReportWriter.kt

    import java.io.Writer
    
    
    /**
     * Writes the configuration cache html report.
     *
     * The report is laid out in such a way as to allow extracting the pure JSON model
     * by looking for the `// begin-report-data` and `// end-report-data` markers.
     */
    internal
    class HtmlReportWriter(val writer: Writer) {
    
        private
        val jsonModelWriter = JsonModelWriter(writer)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/readdirent_getdents.go

    // license that can be found in the LICENSE file.
    
    //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd
    
    package unix
    
    // ReadDirent reads directory entries from fd and writes them into buf.
    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	return Getdents(fd, buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 401 bytes
    - Viewed (0)
  3. src/runtime/map_fast64.go

    				// Copy key.
    				if t.Key.Pointers() && writeBarrier.enabled {
    					if goarch.PtrSize == 8 {
    						// Write with a write barrier.
    						*(*unsafe.Pointer)(dst.k) = *(*unsafe.Pointer)(k)
    					} else {
    						// There are three ways to squeeze at least one 32 bit pointer into 64 bits.
    						// Give up and call typedmemmove.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. internal/grid/grid.go

    	ctx context.Context
    }
    
    func (w *writerWrapper) Write(p []byte) (n int, err error) {
    	buf := GetByteBufferCap(len(p))
    	buf = buf[:len(p)]
    	copy(buf, p)
    	select {
    	case w.ch <- buf:
    		return len(p), nil
    	case <-w.ctx.Done():
    		return 0, context.Cause(w.ctx)
    	}
    }
    
    // WriterToChannel will return an io.Writer that writes to the given channel.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 02 15:56:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/net/http/responsecontroller.go

    		default:
    			return errNotSupported()
    		}
    	}
    }
    
    // SetWriteDeadline sets the deadline for writing the response.
    // Writes to the response body after the deadline has been exceeded will not block,
    // but may succeed if the data has been buffered.
    // A zero value means no deadline.
    //
    // Setting the write deadline after it has been exceeded will not extend it.
    func (c *ResponseController) SetWriteDeadline(deadline time.Time) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/index/suffixarray/suffixarray.go

    	}
    	return nil
    }
    
    // Write writes the index x to w.
    func (x *Index) Write(w io.Writer) error {
    	// buffer for all writes
    	buf := make([]byte, bufSize)
    
    	// write length
    	if err := writeInt(w, buf, len(x.data)); err != nil {
    		return err
    	}
    
    	// write data
    	if _, err := w.Write(x.data); err != nil {
    		return err
    	}
    
    	// write index
    	sa := x.sa
    	for sa.len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/image/png/writer.go

    	}
    }
    
    // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks,
    // including an 8-byte header and 4-byte CRC checksum per Write call. Such calls
    // should be relatively infrequent, since writeIDATs uses a [bufio.Writer].
    //
    // This method should only be called from writeIDATs (via writeImage).
    // No other code should treat an encoder as an io.Writer.
    func (e *encoder) Write(b []byte) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/net/http/httputil/persist.go

    	sc.mu.Lock()
    	defer sc.mu.Unlock()
    	return sc.nread - sc.nwritten
    }
    
    // Write writes resp in response to req. To close the connection gracefully, set the
    // Response.Close field to true. Write should be considered operational until
    // it returns an error, regardless of any errors returned on the [ServerConn.Read] side.
    func (sc *ServerConn) Write(req *http.Request, resp *http.Response) error {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/providers/fileAndDirectoryProperty/groovy/build.gradle

    // A task that generates a source file and writes the result to an output directory
    abstract class GenerateSource extends DefaultTask {
        // The configuration file to use to generate the source file
        @InputFile
        abstract RegularFileProperty getConfigFile()
    
        // The directory to write source files to
        @OutputDirectory
        abstract DirectoryProperty getOutputDir()
    
        @TaskAction
        def compile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    // accepted and all subsequent writes, and [Writer.Flush], will return the error.
    // After all data has been written, the client should call the
    // [Writer.Flush] method to guarantee all data has been forwarded to
    // the underlying [io.Writer].
    type Writer struct {
    	err error
    	buf []byte
    	n   int
    	wr  io.Writer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
Back to top