Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for Chen (0.13 sec)

  1. src/cmd/asm/internal/asm/parse.go

    		dataAddr:    make(map[string]int64),
    		errorWriter: os.Stderr,
    		allowABI:    ctxt != nil && objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI,
    		pkgPrefix:   pkgPrefix,
    	}
    }
    
    // panicOnError is enabled when testing to abort execution on the first error
    // and turn it into a recoverable panic.
    var panicOnError bool
    
    func (p *Parser) errorf(format string, args ...interface{}) {
    	if panicOnError {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    			Method: Store, // Deflate is too slow when it is compiled with -race flag
    		})
    		if err != nil {
    			t.Fatalf("creating file %d: %v", i, err)
    		}
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("Writer.Close: %v", err)
    	}
    	s := buf.String()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    			// an ASCII string, then we fallback on the pre-Go1.8 behavior
    			// of treating these fields as the USTAR prefix field.
    			//
    			// Note that this will not use the fallback logic for all possible
    			// files generated by a pre-Go1.8 toolchain. If the generated file
    			// happened to have a prefix field that parses as valid
    			// atime and ctime fields (e.g., when they are valid octal strings),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. doc/go_mem.html

    </p>
    
    <pre>
    f()
    i := *p
    *q = 1
    </pre>
    
    <p>
    If the call never returned, then once again the original program
    would never access <code>*p</code> or <code>*q</code>, but the rewritten program would.
    And if the call contained synchronizing operations, then the original program
    could establish happens before edges preceding the accesses
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    func NewWriter(w io.Writer) *Writer {
    	return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}}
    }
    
    // SetOffset sets the offset of the beginning of the zip data within the
    // underlying writer. It should be used when the zip data is appended to an
    // existing file, such as a binary executable.
    // It must be called before any data is written.
    func (w *Writer) SetOffset(n int64) {
    	if w.cw.count != 0 {
    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)
  6. src/bufio/bufio.go

    //
    // ReadLine tries to return a single line, not including the end-of-line bytes.
    // If the line was too long for the buffer then isPrefix is set and the
    // beginning of the line is returned. The rest of the line will be returned
    // from future calls. isPrefix will be false when returning the last fragment
    // of the line. The returned buffer is only valid until the next call to
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    	MOVQ R15, AX // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a8(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	ADDQ AX, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a9(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 15 20:45:41 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/buildall.bash

    #
    # Options:
    #   -e: stop at first failure
    
    if [ ! -f run.bash ]; then
    	echo 'buildall.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    sete=false
    if [ "$1" = "-e" ]; then
    	sete=true
    	shift
    fi
    
    if [ "$sete" = true ]; then
    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/bufio/scan_test.go

    		"",
    	}
    	testNoNewline(text, lines, t)
    }
    
    var testError = errors.New("testError")
    
    // Test the correct error is returned when the split function errors out.
    func TestSplitError(t *testing.T) {
    	// Create a split function that delivers a little data, then a predictable error.
    	numSplits := 0
    	const okCount = 7
    	errorSplit := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		if atEOF {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. SECURITY.md

    # Security Policy
    
    ## Supported Versions
    
    We support the past two Go releases (for example, Go 1.17.x and Go 1.18.x when Go 1.18.x is the latest stable release).
    
    See https://go.dev/wiki/Go-Release-Cycle and in particular the
    [Release Maintenance](https://go.dev/wiki/Go-Release-Cycle#release-maintenance)
    part of that page.
    
    ## Reporting a Vulnerability
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Sep 22 21:17:24 GMT 2023
    - 426 bytes
    - Viewed (0)
Back to top