Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for coordinates (0.17 sec)

  1. src/cmd/cgo/doc.go

    needed to link programs that import package net.
    
    Runtime
    
    When using cgo, Go must not assume that it owns all details of the
    process. In particular it needs to coordinate with C in the use of
    threads and thread-local storage. The runtime package declares a few
    variables:
    
    	var (
    		iscgo             bool
    		_cgo_init         unsafe.Pointer
    		_cgo_thread_start unsafe.Pointer
    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. doc/go1.17_spec.html

    f := func() int { return 7 }
    ch := make(chan int)
    r, w, _ := os.Pipe()  // os.Pipe() returns a connected pair of Files and an error, if any
    _, y, _ := coord(p)   // coord() returns three values; only interested in y coordinate
    </pre>
    
    <p>
    Unlike regular variable declarations, a short variable declaration may <i>redeclare</i>
    variables provided they were originally declared earlier in the same block
    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)
  3. doc/go_spec.html

    f := func() int { return 7 }
    ch := make(chan int)
    r, w, _ := os.Pipe()  // os.Pipe() returns a connected pair of Files and an error, if any
    _, y, _ := coord(p)   // coord() returns three values; only interested in y coordinate
    </pre>
    
    <p>
    Unlike regular variable declarations, a short variable declaration may <i>redeclare</i>
    variables provided they were originally declared earlier in the same block
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. doc/go_mem.html

    the semaphore.
    This is a common idiom for limiting concurrency.
    </p>
    
    <p>
    This program starts a goroutine for every entry in the work list, but the
    goroutines coordinate using the <code>limit</code> channel to ensure
    that at most three are running work functions at a time.
    </p>
    
    <pre>
    var limit = make(chan int, 3)
    
    func main() {
    	for _, w := range work {
    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