Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,817 for gwrite (0.11 sec)

  1. src/net/textproto/writer.go

    package textproto
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    )
    
    // A Writer implements convenience methods for writing
    // requests or responses to a text protocol network connection.
    type Writer struct {
    	W   *bufio.Writer
    	dot *dotWriter
    }
    
    // NewWriter returns a new [Writer] writing to w.
    func NewWriter(w *bufio.Writer) *Writer {
    	return &Writer{W: w}
    }
    
    var crnl = []byte{'\r', '\n'}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/mime/multipart/writer.go

    	"errors"
    	"fmt"
    	"io"
    	"net/textproto"
    	"slices"
    	"strings"
    )
    
    // A Writer generates multipart messages.
    type Writer struct {
    	w        io.Writer
    	boundary string
    	lastpart *part
    }
    
    // NewWriter returns a new multipart [Writer] with a random boundary,
    // writing to w.
    func NewWriter(w io.Writer) *Writer {
    	return &Writer{
    		w:        w,
    		boundary: randomBoundary(),
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. 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)
  4. src/mdo/writer-stax.vm

        } //-- void setStringFormatter(InputLocation.StringFormatter)
    
    #end
        /**
         * Method write.
         *
         * @param writer a writer object
         * @param ${rootLcapName} a ${root.name} object
         * @throws IOException IOException if any
         */
        public void write(Writer writer, ${root.name} ${rootLcapName}) throws IOException, XMLStreamException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  5. releasenotes/notes/concurrent-map-write.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 13 15:23:12 UTC 2024
    - 171 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    		return b2i(fc.uge())
    	}
    	return 0
    }
    
    // logRule logs the use of the rule s. This will only be enabled if
    // rewrite rules were generated with the -log option, see _gen/rulegen.go.
    func logRule(s string) {
    	if ruleFile == nil {
    		// Open a log file to write log to. We open in append
    		// mode because all.bash runs the compiler lots of times,
    		// and we want the concatenation of all of those logs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/rangefunc/rewrite.go

    Rewriting the construct in the front end, before noder, means the functions generated during
    the rewrite are available in a noder-generated representation for inlining by the back end.
    
    # Theory of Operation
    
    The basic idea is to rewrite
    
    	for x := range f {
    		...
    	}
    
    into
    
    	f(func(x T) bool {
    		...
    	})
    
    But it's not usually that easy.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    Tim King <******@****.***> 1702929703 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/gofmt/rewrite.go

    )
    
    func initRewrite() {
    	if *rewriteRule == "" {
    		rewrite = nil // disable any previous rewrite
    		return
    	}
    	f := strings.Split(*rewriteRule, "->")
    	if len(f) != 2 {
    		fmt.Fprintf(os.Stderr, "rewrite rule must be of the form 'pattern -> replacement'\n")
    		os.Exit(2)
    	}
    	pattern := parseExpr(f[0], "pattern")
    	replace := parseExpr(f[1], "replacement")
    	rewrite = func(fset *token.FileSet, p *ast.File) *ast.File {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

      // CHECK-SAME: _replication_info = "write", _xla_compile_device_type = "TPU"
      %0:2 = "tf_device.cluster_func"(%arg0, %arg1) {_replication_info = "write", _xla_compile_device_type = "TPU", func = @write_func} : (tensor<i32>, tensor<f32>) -> (tensor<f32>, tensor<i32>)
      // CHECK-NEXT: "tf.AssignVariableOp"([[ARG2]], [[CLUSTER]]#1)
      "tf.AssignVariableOp"(%arg2, %0#1) : (tensor<*x!tf_type.resource<tensor<i32>>>, tensor<i32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top