Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for recurseThenCallGo (0.37 sec)

  1. src/runtime/testdata/testprog/traceback_ancestors.go

    		if !main {
    			ignoreGoroutines[goroutineID()] = true
    		}
    
    		// Start the next goroutine now that there are no more recursions left
    		// for this current goroutine.
    		go recurseThenCallGo(w, frames-1, numFrames, false)
    		return
    	}
    	recurseThenCallGo(w, frames, goroutines-1, main)
    }
    
    func goroutineID() string {
    	buf := make([]byte, 128)
    	runtime.Stack(buf, false)
    	prefix := []byte("goroutine ")
    	var found bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 17:14:59 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. src/runtime/stack_test.go

    		}
    
    		if want, count := "main.recurseThenCallGo(...)", ancestorsExpected*(numFrames+1); strings.Count(output, want) != count {
    			t.Errorf("output does not contain %d instances of %q:\n%s", count, want, output)
    		}
    
    		if want, count := "main.recurseThenCallGo(0x", 1; strings.Count(output, want) != count {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
Back to top