Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Vong (0.32 sec)

  1. src/bytes/buffer_test.go

    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    			// Check no allocation occurs in write, as long as we're single-threaded.
    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    			if !Equal(buf.Bytes()[0:startLen-readBytes], xBytes[readBytes:]) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <p>
    Function literals are <i>closures</i>: they may refer to variables
    defined in a surrounding function. Those variables are then shared between
    the surrounding function and the function literal, and they survive as long
    as they are accessible.
    </p>
    
    
    <h3 id="Primary_expressions">Primary expressions</h3>
    
    <p>
    Primary expressions are the operands for unary and binary expressions.
    </p>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    <p>
    Function literals are <i>closures</i>: they may refer to variables
    defined in a surrounding function. Those variables are then shared between
    the surrounding function and the function literal, and they survive as long
    as they are accessible.
    </p>
    
    
    <h3 id="Primary_expressions">Primary expressions</h3>
    
    <p>
    Primary expressions are the operands for unary and binary expressions.
    </p>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    	"bufio"
    	"encoding/binary"
    	"errors"
    	"hash"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"strings"
    	"unicode/utf8"
    )
    
    var (
    	errLongName  = errors.New("zip: FileHeader.Name too long")
    	errLongExtra = errors.New("zip: FileHeader.Extra too long")
    )
    
    // Writer implements a zip file writer.
    type Writer struct {
    	cw          *countWriter
    	dir         []*header
    	last        *fileWriter
    	closed      bool
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top