Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkError (0.38 sec)

  1. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/LinePerThreadBufferingOutputStream.java

        @Override
        public PrintStream append(CharSequence csq, int start, int end) {
            getStream().append(csq, start, end);
            return this;
        }
    
        @Override
        public boolean checkError() {
            return getStream().checkError();
        }
    
        @Override
        public void close() {
            PrintStream currentStream = maybeGetStream();
            if (currentStream != null) {
                stream.remove();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go

    		if len(stmts) < 2 {
    			// The call to the http function is the last statement of the block.
    			return true
    		}
    
    		// Skip cases in which the call is wrapped by another (#52661).
    		// Example:  resp, err := checkError(http.Get(url))
    		if ncalls > 1 {
    			return true
    		}
    
    		asg, ok := stmts[0].(*ast.AssignStmt)
    		if !ok {
    			return true // the first statement is not assignment.
    		}
    
    		resp := rootIdent(asg.Lhs[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top