Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Bruns (0.27 sec)

  1. src/cmd/cgo/doc.go

    but instead calls a Go helper function that wraps the C library malloc
    but guarantees never to return nil. If C's malloc indicates out of memory,
    the helper function crashes the program, like when Go itself runs out
    of memory. Because C.malloc cannot fail, it has no two-result form
    that returns errno.
    
    # C references to Go
    
    Go functions can be exported for use by C code in the following way:
    
    	//export MyFunction
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. misc/ios/go_ios_exec.go

    	"time"
    )
    
    const debug = false
    
    var tmpdir string
    
    var (
    	devID    string
    	appID    string
    	teamID   string
    	bundleID string
    	deviceID string
    )
    
    // lock is a file lock to serialize iOS runs. It is global to avoid the
    // garbage collector finalizing it, closing the file and releasing the
    // lock prematurely.
    var lock *os.File
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("go_ios_exec: ")
    	if debug {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    //
    // Since the set of packages that exist depends on context, the result of
    // loadImports also depends on context. However, to improve test running time
    // the configuration for each environment is cached across runs.
    func (w *Walker) loadImports() {
    	if w.context == nil {
    		return // test-only Walker; does not use the import map
    	}
    
    	name := contextName(w.context)
    
    	imports, ok := listCache.Load(name)
    	if !ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. doc/go_mem.html

    “Incorrect compilation” section below.
    </p>
    
    <h2 id="synchronization">Synchronization</h2>
    
    <h3 id="init">Initialization</h3>
    
    <p>
    Program initialization runs in a single goroutine,
    but that goroutine may create other goroutines,
    which run concurrently.
    </p>
    
    <p class="rule">
    If a package <code>p</code> imports package <code>q</code>, the completion of
    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