Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/disk/directio_unsupported.go

    	return os.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO is a no-op
    func DisableDirectIO(f *os.File) error {
    	return nil
    }
    
    // AlignedBlock simply returns an unaligned buffer
    // for systems that do not support DirectIO.
    func AlignedBlock(blockSize int) []byte {
    	return make([]byte, blockSize)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top