Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for goexit0 (0.19 sec)

  1. src/runtime/pprof/pprof.go

    	for {
    		frame, more := frames.Next()
    		name := frame.Function
    		if name == "" {
    			show = true
    			fmt.Fprintf(w, "#\t%#x\n", frame.PC)
    		} else if name != "runtime.goexit" && (show || !strings.HasPrefix(name, "runtime.")) {
    			// Hide runtime.goexit and any runtime functions at the beginning.
    			// This is useful mainly for allocation traces.
    			show = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  2. src/internal/trace/trace_test.go

    				if hogRegion != nil && ev.Goroutine() == hogRegion.Goroutine() {
    					traceSamples++
    					var fns []string
    					ev.Stack().Frames(func(frame trace.StackFrame) bool {
    						if frame.Func != "runtime.goexit" {
    							fns = append(fns, fmt.Sprintf("%s:%d", frame.Func, frame.Line))
    						}
    						return true
    					})
    					stack := strings.Join(fns, "|")
    					traceStacks[stack]++
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. src/runtime/asm_amd64.s

    	MOVQ	(g_stack+stack_hi)(AX), AX
    	RET
    
    // The top-most function running on a goroutine
    // returns to goexit+PCQuantum.
    TEXT runtime·goexit(SB),NOSPLIT|TOPFRAME|NOFRAME,$0-0
    	BYTE	$0x90	// NOP
    	CALL	runtime·goexit1(SB)	// does not return
    	// traceback from goexit1 must hit code range of goexit
    	BYTE	$0x90	// NOP
    
    // This is called from .init_array and follows the platform, not Go, ABI.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  4. doc/go_mem.html

    	go f()
    }
    </pre>
    
    <p>
    calling <code>hello</code> will print <code>"hello, world"</code>
    at some point in the future (perhaps after <code>hello</code> has returned).
    </p>
    
    <h3 id="goexit">Goroutine destruction</h3>
    
    <p>
    The exit of a goroutine is not guaranteed to be synchronized before
    any event in the program.
    For example, in this program:
    </p>
    
    <pre>
    var a string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

     natsConnection.Subscribe("bucketevents", func(msg *nats.Msg) {
    
      // Handle the message
      log.Printf("Received message '%s\n", string(msg.Data)+"'")
     })
    
     // Keep the connection alive
     runtime.Goexit()
    }
    ```
    
    ```
    go run nats.go
    2016/10/12 06:39:18 Connected
    2016/10/12 06:39:18 Subscribing to subject 'bucketevents'
    ```
    
    Open another terminal and upload a JPEG image into `images` bucket.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    	retpc uintptr
    
    	// Extra state for handling open-coded defers.
    	deferBitsPtr *uint8
    	slotsPtr     unsafe.Pointer
    
    	recovered   bool // whether this panic has been recovered
    	goexit      bool
    	deferreturn bool
    }
    
    // savedOpenDeferState tracks the extra state from _panic that's
    // necessary for deferreturn to pick up where gopanic left off,
    // without needing to unwind the stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  7. src/runtime/asm_arm64.s

    	MOVD	ZR, R0
    	MOVD	(R0), R0
    	UNDEF
    
    TEXT runtime·return0(SB), NOSPLIT, $0
    	MOVW	$0, R0
    	RET
    
    // The top-most function running on a goroutine
    // returns to goexit+PCQuantum.
    TEXT runtime·goexit(SB),NOSPLIT|NOFRAME|TOPFRAME,$0-0
    	MOVD	R0, R0	// NOP
    	BL	runtime·goexit1(SB)	// does not return
    
    // This is called from .init_array and follows the platform, not Go, ABI.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callback.go

    		"runtime.cgocall",
    		"test._Cfunc_callback",
    		"test.nestedCall.func1",
    		"test.nestedCall",
    		"test.testCallbackCallers",
    		"test.TestCallbackCallers",
    		"testing.tRunner",
    		"runtime.goexit",
    	}
    	nestedCall(func() {
    		n = runtime.Callers(4, pc)
    	})
    	if n != len(name) {
    		t.Errorf("expected %d frames, got %d", len(name), n)
    	}
    	for i := 0; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/zip_sum_test/testdata/zip_sums.csv

    github.com/russross/blackfriday/v2,v2.0.1,h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=,496079bbc8c4831cd0507213e059a925d2c22bd1ea9ada4dd85815d51b485228
    github.com/rwcarlsen/goexif,v0.0.0-20190401172101-9e8deecbddbd,h1:CmH9+J6ZSsIjUK3dcGsnCnO41eRBOnY12zwkn5qVwgc=,98e8ce7bf484716bdf272f31ee01354599f4ec4b4ece7c04156c15b264d8f6ec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 18 17:29:01 UTC 2020
    - 334.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Frames", Type, 7},
    		{"Func", Type, 0},
    		{"FuncForPC", Func, 0},
    		{"GC", Func, 0},
    		{"GOARCH", Const, 0},
    		{"GOMAXPROCS", Func, 0},
    		{"GOOS", Const, 0},
    		{"GOROOT", Func, 0},
    		{"Goexit", Func, 0},
    		{"GoroutineProfile", Func, 0},
    		{"Gosched", Func, 0},
    		{"KeepAlive", Func, 7},
    		{"LockOSThread", Func, 0},
    		{"MemProfile", Func, 0},
    		{"MemProfileRate", Var, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top