Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for used (0.12 sec)

  1. doc/go1.17_spec.html

    <a href="#Assignments">assignment</a> or
    explicit <a href="#Conversions">conversion</a>.
    </p>
    
    <pre>
    chan T          // can be used to send and receive values of type T
    chan&lt;- float64  // can only be used to send float64s
    &lt;-chan int      // can only be used to receive ints
    </pre>
    
    <p>
    The <code>&lt;-</code> operator associates with the leftmost <code>chan</code>
    possible:
    </p>
    
    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)
  2. src/cmd/cgo/internal/test/callback.go

    		f()
    	}
    }
    
    //export goStackCheck
    func goStackCheck() {
    	// use some stack memory to trigger split stack check
    	var buf [256]byte
    	use(buf[:])
    }
    
    var Used byte
    
    func use(buf []byte) {
    	for _, c := range buf {
    		Used += c
    	}
    }
    
    var splitTests = []func(){
    	// Edit .+1,/^}/-1|seq 4 4 5000 | sed 's/.*/	stack&,/' | fmt
    	stack4, stack8, stack12, stack16, stack20, stack24, stack28,
    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)
Back to top