prealloc

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package prealloc 初始化分配文件包

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreAlloc

func PreAlloc(fd uintptr, length int64) error

PreAlloc 预分配文件空间

Types

type PreAllocError

type PreAllocError struct {
	ProcName string
	Err      error
}

func (*PreAllocError) Error

func (pe *PreAllocError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL