Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for callback_ (0.72 sec)

  1. src/cmd/go/alldocs.go

    //
    // For example,
    //
    //	import "example.org/pkg/foo"
    //
    // will result in the following requests:
    //
    //	https://example.org/pkg/foo?go-get=1 (preferred)
    //	http://example.org/pkg/foo?go-get=1  (fallback, only with use of correctly set GOINSECURE)
    //
    // If that page contains the meta tag
    //
    //	<meta name="go-import" content="example.org git https://code.org/r/p/exproj">
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback.go

    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    		if s.(string) != "callback panic" {
    			t.Fatal("wrong panic:", s)
    		}
    		if !lockedOSThread() {
    			t.Fatal("lost lock on OS thread after panic")
    		}
    	}()
    	nestedCall(func() { panic("callback panic") })
    	panic("nestedCall returned")
    }
    
    // Callback with zero arguments used to make the stack misaligned,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
Back to top