Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,154 for write1 (0.21 sec)

  1. src/net/http/header.go

    // [CanonicalHeaderKey].
    func (h Header) Del(key string) {
    	textproto.MIMEHeader(h).Del(key)
    }
    
    // Write writes a header in wire format.
    func (h Header) Write(w io.Writer) error {
    	return h.write(w, nil)
    }
    
    func (h Header) write(w io.Writer, trace *httptrace.ClientTrace) error {
    	return h.writeSubset(w, nil, trace)
    }
    
    // Clone returns a copy of h or nil if h is nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. internal/http/response-recorder.go

    		// Always logging error responses.
    		lrw.body.Write(p)
    	}
    	if err != nil {
    		return n, err
    	}
    	return n, err
    }
    
    // Write the headers into the given buffer
    func (lrw *ResponseRecorder) writeHeaders(w io.Writer, statusCode int, headers http.Header) {
    	n, _ := fmt.Fprintf(w, "%d %s\n", statusCode, http.StatusText(statusCode))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 00:13:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. src/net/http/fcgi/fcgi.go

    		return 4
    	}
    	b[0] = byte(size)
    	return 1
    }
    
    // bufWriter encapsulates bufio.Writer but also closes the underlying stream when
    // Closed.
    type bufWriter struct {
    	closer io.Closer
    	*bufio.Writer
    }
    
    func (w *bufWriter) Close() error {
    	if err := w.Writer.Flush(); err != nil {
    		w.closer.Close()
    		return err
    	}
    	return w.closer.Close()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/process/ArgWriter.java

        private static final Pattern WHITESPACE_OR_HASH = Pattern.compile("\\s|#");
    
        private final PrintWriter writer;
        private final boolean backslashEscape;
        private final Pattern quotablePattern;
    
        private ArgWriter(PrintWriter writer, boolean backslashEscape, Pattern quotablePattern) {
            this.writer = writer;
            this.backslashEscape = backslashEscape;
            this.quotablePattern = quotablePattern;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:14:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. pkg/bootstrap/instance.go

    // Instance of a configured Envoy bootstrap writer.
    type Instance interface {
    	// WriteTo writes the content of the Envoy bootstrap to the given writer.
    	WriteTo(templateFile string, w io.Writer) error
    
    	// CreateFile generates an Envoy bootstrap file.
    	CreateFile() (string, error)
    }
    
    // New creates a new Instance of an Envoy bootstrap writer.
    func New(cfg Config) Instance {
    	return &instance{
    		Config: cfg,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/GenerateGraphTask.groovy

                    }
    
                    artifactViewFiles.each {
                        writeFile("artifact-view-file", writer, it)
                    }
                    artifactViewArtifacts.each {
                        writeArtifact("artifact-view-artifact", writer, it)
                    }
                    artifactViewFiles.files.each {
                        writeFile("artifact-view-file-file", writer, it)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. src/log/slog/text_handler.go

    	"unicode/utf8"
    )
    
    // TextHandler is a [Handler] that writes Records to an [io.Writer] as a
    // sequence of key=value pairs separated by spaces and followed by a newline.
    type TextHandler struct {
    	*commonHandler
    }
    
    // NewTextHandler creates a [TextHandler] that writes to w,
    // using the given options.
    // If opts is nil, the default options are used.
    func NewTextHandler(w io.Writer, opts *HandlerOptions) *TextHandler {
    	if opts == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/archive/tar/testdata/writer-big-long.tar

    Joe Tsai <******@****.***> 1503105518 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 22:38:45 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  9. src/log/slog/internal/benchmarks/handlers.go

    	"strconv"
    	"time"
    )
    
    // A fastTextHandler writes a Record to an io.Writer in a format similar to
    // slog.TextHandler, but without quoting or locking. It has a few other
    // performance-motivated shortcuts, like writing times as seconds since the
    // epoch instead of strings.
    //
    // It is intended to represent a high-performance Handler that synchronously
    // writes text (as opposed to binary).
    type fastTextHandler struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 20:33:37 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. maven-core/src/test/resources-project-builder/execution-configuration/pom.xml

                            <id>nexus.xml</id>
                            <goals>
                                <goal>java</goal>
                                <goal>xpp3-reader</goal>
                                <goal>xpp3-writer</goal>
                            </goals>
                            <configuration>
                                <version>1.0.8</version>
                                <packagedVersions>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 29 05:20:38 UTC 2009
    - 2.2K bytes
    - Viewed (0)
Back to top