Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for emit (0.29 sec)

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

    	defer func() {
    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    		if s.(string) != "callback panic" {
    			t.Fatal("wrong panic:", s)
    		}
    		if lockedOSThread() {
    			t.Fatal("locked OS thread on exit from TestCallbackPanic")
    		}
    	}()
    	nestedCall(func() { panic("callback panic") })
    	panic("nestedCall returned")
    }
    
    func testCallbackPanicLoop(t *testing.T) {
    	// Make sure we don't blow out m->g0 stack.
    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

    valid token.
    </p>
    
    <h3 id="Semicolons">Semicolons</h3>
    
    <p>
    The formal grammar uses semicolons <code>";"</code> as terminators in
    a number of productions. Go programs may omit most of these semicolons
    using the following two rules:
    </p>
    
    <ol>
    <li>
    When the input is broken into tokens, a semicolon is automatically inserted
    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