Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lostCancelPath (0.14 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    		return x.Name == "context"
    	}
    	return false
    }
    
    // lostCancelPath finds a path through the CFG, from stmt (which defines
    // the 'cancel' variable v) to a return statement, that doesn't "use" v.
    // If it finds one, it returns the return statement (which may be synthetic).
    // sig is the function's type, if known.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top