Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. doc/go1.17_spec.html

    <i>bidirectional</i>.
    A channel may be constrained only to send or only to receive by
    <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>
    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

    			if j := <-c; j != i {
    				t.Errorf("out of sync %d != %d", j, i)
    			}
    		}
    	})
    }
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallers(t *testing.T) {
    	if runtime.Compiler != "gc" {
    		// The exact function names are not going to be the same.
    		t.Skip("skipping for non-gc toolchain")
    	}
    	pc := make([]uintptr, 100)
    	n := 0
    	name := []string{
    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