Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Mack (0.17 sec)

  1. src/cmd/cgo/internal/test/callback.go

    	"unsafe"
    )
    
    // Pass a func value from nestedCall to goCallback using an integer token.
    var callbackMutex sync.Mutex
    var callbackToken int
    var callbackFuncs = make(map[int]func())
    
    // nestedCall calls into C, back into Go, and finally to f.
    func nestedCall(f func()) {
    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    	callbackFuncs[i] = f
    	callbackMutex.Unlock()
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    raw string literals and interpreted string literals.
    </p>
    
    <p>
    Raw string literals are character sequences between back quotes, as in
    <code>`foo`</code>.  Within the quotes, any character may appear except
    back quote. The value of a raw string literal is the
    string composed of the uninterpreted (implicitly UTF-8-encoded) characters
    between the quotes;
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top