Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/ioutil/ioutil.go

    )
    
    // aligned sync.Pool's
    var (
    	ODirectPoolLarge = sync.Pool{
    		New: func() interface{} {
    			b := disk.AlignedBlock(LargeBlock)
    			return &b
    		},
    	}
    	ODirectPoolSmall = sync.Pool{
    		New: func() interface{} {
    			b := disk.AlignedBlock(SmallBlock)
    			return &b
    		},
    	}
    )
    
    // WriteOnCloser implements io.WriteCloser and always
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top