Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkWrapErr (0.32 sec)

  1. src/os/export_test.go

    var Atime = atime
    var LstatP = &lstat
    var ErrWriteAtInAppendMode = errWriteAtInAppendMode
    var TestingForceReadDirLstat = &testingForceReadDirLstat
    var ErrPatternHasSeparator = errPatternHasSeparator
    
    func init() {
    	checkWrapErr = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 06:21:27 UTC 2023
    - 433 bytes
    - Viewed (0)
  2. src/os/file.go

    func fixCount(n int, err error) (int, error) {
    	if n < 0 {
    		n = 0
    	}
    	return n, err
    }
    
    // checkWrapErr is the test hook to enable checking unexpected wrapped errors of poll.ErrFileClosing.
    // It is set to true in the export_test.go for tests (including fuzz tests).
    var checkWrapErr = false
    
    // wrapErr wraps an error that occurred during an operation on an open file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top