Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stackDiff (0.17 sec)

  1. cmd/leak-detect_test.go

    func (initialSnapShot LeakDetect) CompareCurrentSnapshot() []string {
    	var stackDiff []string
    	for _, g := range pickRelevantGoroutines() {
    		// Identify the Go routines those were not present in the initial snapshot.
    		// In other words a stack diff.
    		if !initialSnapShot.relevantRoutines[g] {
    			stackDiff = append(stackDiff, g)
    		}
    	}
    	return stackDiff
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top