Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Leifer (0.14 sec)

  1. doc/go1.17_spec.html

    It may be used only as the final non-empty statement in such a clause.
    </p>
    
    <pre class="ebnf">
    FallthroughStmt = "fallthrough" .
    </pre>
    
    
    <h3 id="Defer_statements">Defer statements</h3>
    
    <p>
    A "defer" statement invokes a function whose execution is deferred
    to the moment the surrounding function returns, either because the
    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

    	for i := 0; i < 100000; i++ {
    		testCallbackPanic(t)
    	}
    }
    
    func testCallbackPanicLocked(t *testing.T) {
    	runtime.LockOSThread()
    	defer runtime.UnlockOSThread()
    
    	if !lockedOSThread() {
    		t.Fatal("runtime.LockOSThread didn't")
    	}
    	defer func() {
    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    		if s.(string) != "callback panic" {
    			t.Fatal("wrong panic:", s)
    		}
    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