Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for comment (0.14 sec)

  1. src/archive/zip/reader_test.go

    	// Information describing expected zip file content.
    	// First, reading the entire content should produce the error ContentErr.
    	// Second, if ContentErr==nil, the content should match Content.
    	// If content is large, an alternative to setting Content is to set File,
    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    // with a comment setting the position before the node.
    func gofmtPos(n ast.Expr, pos token.Pos) string {
    	s := gofmtLine(n)
    	p := fset.Position(pos)
    	if p.Column == 0 {
    		return s
    	}
    	return fmt.Sprintf("/*line :%d:%d*/%s", p.Line, p.Column, s)
    }
    
    // checkGCCBaseCmd returns the start of the compiler command line.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    	sr := scriptedReader(steps)
    	return &sr
    }
    
    // eofReader returns the number of bytes read and io.EOF for the read that consumes the last of the content.
    type eofReader struct {
    	buf []byte
    }
    
    func (r *eofReader) Read(p []byte) (int, error) {
    	read := copy(p, r.buf)
    	r.buf = r.buf[read:]
    
    	switch read {
    	case 0, len(r.buf):
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top