Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Write (0.17 sec)

  1. src/net/http/serve_test.go

    		w.WriteHeader(200)
    		if _, err := w.Write([]byte("x")); err == nil {
    			t.Errorf("Write to body after 101 Switching Protocols unexpectedly succeeded")
    		}
    
    		c, _, err := NewResponseController(w).Hijack()
    		if err != nil {
    			t.Errorf("Hijack: %v", err)
    			return
    		}
    		defer c.Close()
    		if _, err := c.Write([]byte(wantBody)); err != nil {
    			t.Errorf("Write to hijacked body: %v", err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    func (z *CheckPartsHandlerParams) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 4
    	// write "id"
    	err = en.Append(0x84, 0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.DiskID)
    	if err != nil {
    		err = msgp.WrapError(err, "DiskID")
    		return
    	}
    	// write "v"
    	err = en.Append(0xa1, 0x76)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Volume)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  3. src/net/http/server.go

    		w.Write(headerContentLength)
    		w.Write(h.contentLength)
    		w.Write(crlf)
    	}
    	for i, v := range []string{h.contentType, h.connection, h.transferEncoding} {
    		if v != "" {
    			w.Write(extraHeaderKeys[i])
    			w.Write(colonSpace)
    			w.WriteString(v)
    			w.Write(crlf)
    		}
    	}
    }
    
    // writeHeader finalizes the header sent to the client and writes it
    // to cw.res.conn.bufw.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    func (test *transport100ContinueTest) respond(lines ...string) {
    	for _, line := range lines {
    		if _, err := test.conn.Write([]byte(line + "\r\n")); err != nil {
    			test.t.Fatalf("Write: %v", err)
    		}
    	}
    	if _, err := test.conn.Write([]byte("\r\n")); err != nil {
    		test.t.Fatalf("Write: %v", err)
    	}
    }
    
    // wantBodySent ensures the transport has sent the request body to the server.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

      fi
    
      CA_CERT_BUNDLE_PATH="${pki_dir}/ca-certificates.crt"
      write-pki-data "${CA_CERT_BUNDLE}" "${CA_CERT_BUNDLE_PATH}"
    
      if [[ -n "${KUBELET_CERT:-}" && -n "${KUBELET_KEY:-}" ]]; then
        KUBELET_CERT_PATH="${pki_dir}/kubelet.crt"
        write-pki-data "${KUBELET_CERT}" "${KUBELET_CERT_PATH}"
    
        KUBELET_KEY_PATH="${pki_dir}/kubelet.key"
        write-pki-data "${KUBELET_KEY}" "${KUBELET_KEY_PATH}"
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/data.go

    				break
    			}
    		}
    
    		// If we didn't find any symbols to write, we're done here.
    		if idx < 0 {
    			break
    		}
    
    		// Compute the length to write, including padding.
    		// We need to write to the end address (lastAddr), or the next symbol's
    		// start address, whichever comes first. If there is no more symbols,
    		// just write to lastAddr. This ensures we don't leave holes between the
    		// blocks or at the end.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods.go

    	if err != nil {
    		return err
    	}
    
    	// Do a zero-byte write to stdout before handing off to the container runtime.
    	// This ensures at least one Write call is made to the writer when copying starts,
    	// even if we then block waiting for log output from the container.
    	if _, err := stdout.Write([]byte{}); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    	for i, a := range all {
    		a.priority = i
    	}
    
    	// Write action graph, without timing information, in case we fail and exit early.
    	writeActionGraph := func() {
    		if file := cfg.DebugActiongraph; file != "" {
    			if strings.HasSuffix(file, ".go") {
    				// Do not overwrite Go source code in:
    				//	go build -debug-actiongraph x.go
    				base.Fatalf("go: refusing to write action graph to %v\n", file)
    			}
    			js := actionGraphJSON(root)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary = "Marks device cluster inputs-output pairs that read/write to the same variable as aliases";
    
      let description = [{
        This pass analyzes the inputs and outputs to device cluster and marks those
        input-output pairs as aliases (using `tf.aliasing_output` attribute) which read
        and write to the same resource. This aliasing information can then be propagated
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    //
    //	-coverprofile cover.out
    //	    Write a coverage profile to the file after all tests have passed.
    //	    Sets -cover.
    //
    //	-cpuprofile cpu.out
    //	    Write a CPU profile to the specified file before exiting.
    //	    Writes test binary as -c would.
    //
    //	-memprofile mem.out
    //	    Write an allocation profile to the file after all tests have passed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top