Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Nevett (0.16 sec)

  1. src/cmd/cgo/gcc.go

    	origX := *px
    	*px = ast.NewIdent(fmt.Sprintf("_cgoBase%d", i))
    	fmt.Fprintf(sb, "_cgo%d := %s; ", i, gofmtPos(arg, arg.Pos()))
    	*px = origX
    
    	// Use "0 == 0" to do the right thing in the unlikely event
    	// that "true" is shadowed.
    	fmt.Fprintf(sbCheck, "_cgoCheckPointer(_cgoBase%d, 0 == 0); ", i)
    
    	return true
    }
    
    // checkSlice checks whether arg has the form x[i:j], possibly inside
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/1-time.md

    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    When Go 1.23 builds older programs, the old behaviors remain in effect.
    The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer)
    can be used to revert back to asynchronous channel behaviors
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. doc/go_mem.html

    <p>
    The exit of a goroutine is not guaranteed to be synchronized before
    any event in the program.
    For example, in this program:
    </p>
    
    <pre>
    var a string
    
    func hello() {
    	go func() { a = "hello" }()
    	print(a)
    }
    </pre>
    
    <p>
    the assignment to <code>a</code> is not followed by
    any synchronization event, so it is not guaranteed to be
    observed by any other goroutine.
    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)
Back to top