Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CheckValid (0.11 sec)

  1. src/os/zero_copy_linux.go

    		return 0, true, nil
    	}
    
    	var src *File
    	switch v := r.(type) {
    	case *File:
    		src = v
    	case fileWithoutWriteTo:
    		src = v.File
    	default:
    		return 0, false, nil
    	}
    
    	if src.checkValid("ReadFrom") != nil {
    		// Avoid returning the error as we report handled as false,
    		// leave further error handling as the responsibility of the caller.
    		return 0, false, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top