Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,067 for write1 (0.87 sec)

  1. src/encoding/binary/binary.go

    // with blank (_) field names.
    func Write(w io.Writer, order ByteOrder, data any) error {
    	// Fast path for basic types and slices.
    	if n, bs := intDataSize(data); n != 0 {
    		if bs == nil {
    			bs = make([]byte, n)
    			encodeFast(bs, order, data)
    		}
    
    		_, err := w.Write(bs)
    		return err
    	}
    
    	// Fallback to reflect-based encoding.
    	v := reflect.Indirect(reflect.ValueOf(data))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          writerToClose = this.writer
          this.writer = null
    
          streamsToClose =
            when {
              writerToClose != null && reader == null -> this.streams
              else -> null
            }
    
          if (!isWriter && writerToClose != null) {
            // If the caller isn't the writer thread, get that thread to close the writer.
            taskQueue.execute("$name writer close", cancelable = false) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/cmd/distpack/pack.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Distpack creates the tgz and zip files for a Go distribution.
    // It writes into GOROOT/pkg/distpack:
    //
    //   - a binary distribution (tgz or zip) for the current GOOS and GOARCH
    //   - a source distribution that is independent of GOOS/GOARCH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. docs/en/docs/img/logo-margin/logo-white-bg.png

    logo-white-bg.png...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 04 20:56:59 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. internal/grid/msg_gen.go

    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *connectReq) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "ID"
    	err = en.Append(0x82, 0xa2, 0x49, 0x44)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes((z.ID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	// write "Host"
    	err = en.Append(0xa4, 0x48, 0x6f, 0x73, 0x74)
    	if err != nil {
    		return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 18.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel.go

    // Only non-upgrade responses can be written using WriteHeader() and Write().
    // Once Write or WriteHeader is called, Hijack returns an error.
    // Once Hijack is called, Write, WriteHeader, and Hijack return errors.
    type tunnelingResponseWriter struct {
    	// w is used to delegate Header(), WriteHeader(), and Write() calls
    	w http.ResponseWriter
    	// conn is returned from Hijack()
    	conn net.Conn
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/net/http/fcgi/child.go

    		r.header.Set("Date", time.Now().UTC().Format(http.TimeFormat))
    	}
    }
    
    // writeCGIHeader finalizes the header sent to the client and writes it to the output.
    // p is not written by writeHeader, but is the first chunk of the body
    // that will be written. It is sniffed for a Content-Type if none is
    // set explicitly.
    func (r *response) writeCGIHeader(p []byte) {
    	if r.wroteCGIHeader {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlWriter.java

            writer.startElement(VERIFY_SIGNATURES);
            writer.write(String.valueOf(configuration.isVerifySignatures()));
            writer.endElement();
        }
    
        private void writeVerifyMetadata(DependencyVerificationConfiguration configuration) throws IOException {
            writer.startElement(VERIFY_METADATA);
            writer.write(String.valueOf(configuration.isVerifyMetadata()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 13:40:00 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. doc/go_mem.html

    <p>
    Note that if there are no read-write or write-write data races on memory location <i>x</i>,
    then any read <i>r</i> on <i>x</i> has only one possible <i>W</i>(<i>r</i>):
    the single <i>w</i> that immediately precedes it in the happens before order.
    </p>
    
    <p>
    More generally, it can be shown that any Go program that is data-race-free,
    meaning it has no program executions with read-write or write-write data races,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriter.java

                    writer.endElement();
                }
    
                if (options.includeSystemErrLog && outputProvider.has(TestOutputEvent.Destination.StdErr)) {
                    writer.startElement("system-err");
                    writer.startCDATA();
                    outputProvider.write(TestOutputEvent.Destination.StdErr, writer);
                    writer.endCDATA();
                    writer.endElement();
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:57 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top