Skip to content

Commit

Permalink
Add comment about the origin of code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakjois committed Nov 30, 2017
1 parent 9f8b956 commit 5410a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions y/mmap_windows.go
Expand Up @@ -67,6 +67,7 @@ func Mmap(fd *os.File, write bool, size int64) ([]byte, error) {
}

// Slice memory layout
// Copied this snippet from golang/sys package
var sl = struct {
addr uintptr
len int
Expand Down

0 comments on commit 5410a46

Please sign in to comment.