Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for triggered (0.18 sec)

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

    	// We do not do any explicit checks, just ensure that it does not crash.
    	for _, f := range splitTests {
    		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(){
    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

    In an expression switch,
    the switch expression is evaluated and
    the case expressions, which need not be constants,
    are evaluated left-to-right and top-to-bottom; the first one that equals the
    switch expression
    triggers execution of the statements of the associated case;
    the other cases are skipped.
    If no case matches and there is a "default" case,
    its statements are executed.
    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