Documentation
¶
Overview ¶
Package datamove provides functions which leverages DSA hardware abilities to copy memory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context represents a context for a memory copy operation. It should be reset before each use. It must be created by NewContext.
func NewContext ¶
func NewContext() *Context
NewContext creates a new context. The context should be reused if possible.
func (*Context) Copy ¶
Copy copies the content of the source byte slice to the destination byte slice. It returns true if the copy operation is successful, and false otherwise.
func (*Context) CopyCheckError ¶
CopyCheckError copies the content of the source byte slice to the destination byte slice. It returns nil if the copy operation is successful, and error otherwise.
Click to show internal directories.
Click to hide internal directories.