repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go | vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go | // cgo -godefs types_netbsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,netbsd
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int int... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_bsd_test.go | vendor/golang.org/x/sys/unix/syscall_bsd_test.go | // Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd openbsd
package unix_test
import (
"os/exec"
"runtime"
"testing"
"time"
"golang.org/x/sys/unix"
)
const MNT_WAIT = 1... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go | vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go | // mksyscall.pl -l32 -tags freebsd,386 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build freebsd,386
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go | vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go | // mksysnum_freebsd.pl
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,freebsd
package unix
const (
// SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
SYS_FORK = 2 // { int ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go | vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go | // +build sparc64,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go | go run mkpost.go
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
PathMax = 0x1000
)
type (
_C_short int16
_C_int int32... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go | vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go | // mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build darwin,arm64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
f... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go | vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go | // mksyscall.pl -tags darwin,amd64 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build darwin,amd64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
f... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall.go | vendor/golang.org/x/sys/unix/syscall.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
// Package unix contains an interface to the low-level operating system
// primitives. OS detai... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go | vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go | // mksysnum_openbsd.pl
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
// +build arm,openbsd
package unix
const (
SYS_EXIT = 1 // { void sys_exit(int rval); }
SYS_FORK = 2 // { int sys_fork(void); }
SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go | vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go | // cgo -godefs types_dragonfly.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,dragonfly
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_darwin.go | vendor/golang.org/x/sys/unix/syscall_darwin.go | // Copyright 2009,2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Darwin system calls.
// This file is compiled as ordinary Go code,
// but it is also input to mksyscall,
// which parses the //sys lines and generates s... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_freebsd.go | vendor/golang.org/x/sys/unix/dev_freebsd.go | // Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Functions to access/create device major and minor numbers matching the
// encoding used in FreeBSD's sys/types.h header.
//
// The information below is extra... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go | vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build amd64,linux
// +build !gccgo
package unix
import "syscall"
//go:noescape
func gettimeofday(tv *Timeval) (err syscall.Errno)
| go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go | vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,openbsd
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_BLUETOOTH = 0x20
AF_CCIT... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_solaris.go | vendor/golang.org/x/sys/unix/syscall_solaris.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Solaris system calls.
// This file is compiled as ordinary Go code,
// but it is also input to mksyscall,
// which parses the //sys lines and generates syste... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go | vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go | // NOTE: cgo can't generate struct Stat_t and struct Statfs_t yet
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_darwin.go
// +build arm,darwin
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
)
type (
_C_short int1... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go | vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips64le,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
package unix
import "syscall"
const (
AF_ALG ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_gccgo.go | vendor/golang.org/x/sys/unix/syscall_linux_gccgo.go | // Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux
// +build gccgo
// +build 386 arm
package unix
import (
"syscall"
"unsafe"
)
func seek(fd int, offset int64, whence int) (newoffset int64, ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go | vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build ppc64,linux
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
PathMa... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go | vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go | // mksyscall.pl -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,mips64le
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmoda... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go | vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go | // mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,darwin
package unix
const (
SYS_SYSCALL = 0
SYS_EXIT ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/export_test.go | vendor/golang.org/x/sys/unix/export_test.go | // Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package unix
var Itoa = itoa
| go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go | vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,darwin
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_CCITT = 0xa
AF_CHAOS ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go | vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go | // mkerrors.sh -m32
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,openbsd
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m32 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_BLUETOOTH = 0x20
AF_CCITT ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zptrace386_linux.go | vendor/golang.org/x/sys/unix/zptrace386_linux.go | // Code generated by linux/mkall.go generatePtracePair(386, amd64). DO NOT EDIT.
// +build linux
// +build 386 amd64
package unix
import "unsafe"
// PtraceRegs386 is the registers used by 386 binaries.
type PtraceRegs386 struct {
Ebx int32
Ecx int32
Edx int32
Esi int32
Edi int32
Ebp ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go | vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mipsle,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
package unix
import "syscall"
const (
AF_ALG ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go | vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go | // mksyscall.pl -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,amd64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmodat(dirfd ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_arm.go | vendor/golang.org/x/sys/unix/syscall_linux_arm.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build arm,linux
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: int32(sec), Nsec: int32(n... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/endian_big.go | vendor/golang.org/x/sys/unix/endian_big.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// +build ppc64 s390x mips mips64
package unix
const isBigEndian = true
| go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/openbsd_pledge.go | vendor/golang.org/x/sys/unix/openbsd_pledge.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build openbsd
// +build 386 amd64 arm
package unix
import (
"syscall"
"unsafe"
)
const (
SYS_PLEDGE = 108
)
// Pledge implements the pledge syscall. ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go | vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm64,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go
package unix
import "syscall"
const (
A... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go | vendor/golang.org/x/sys/unix/zerrors_linux_mips.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
package unix
import "syscall"
const (
AF_ALG ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go | vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,linux
package unix
const (
SYS_READ = 0
SYS_WRITE = 1
SYS_OPEN = 2
SYS_CLOSE ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/race.go | vendor/golang.org/x/sys/unix/race.go | // Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin,race linux,race freebsd,race
package unix
import (
"runtime"
"unsafe"
)
const raceenabled = true
func raceAcquire(addr unsafe.Pointer) {
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/env_unix.go | vendor/golang.org/x/sys/unix/env_unix.go | // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
// Unix environment variables.
package unix
import "syscall"
func Getenv(key string) (value ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go | vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips64,linux
package unix
const (
SYS_READ = 5000
SYS_WRITE = 5001
SYS_OPEN = 5002
SYS_CLOSE ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_freebsd.go | vendor/golang.org/x/sys/unix/syscall_freebsd.go | // Copyright 2009,2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// FreeBSD system calls.
// This file is compiled as ordinary Go code,
// but it is also input to mksyscall,
// which parses the //sys lines and generates ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go | vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build amd64,openbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
func setTimeval(sec, usec int64) T... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go | vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips64,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
package unix
import "syscall"
const (
AF_ALG ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_linux.go | vendor/golang.org/x/sys/unix/dev_linux.go | // Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Functions to access/create device major and minor numbers matching the
// encoding used by the Linux kernel and glibc.
//
// The information below is extract... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_openbsd_test.go | vendor/golang.org/x/sys/unix/dev_openbsd_test.go | // Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build go1.7
package unix_test
import (
"fmt"
"testing"
"golang.org/x/sys/unix"
)
func TestDevices(t *testing.T) {
testCases := []struct {
path st... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go | vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mipsle,linux
package unix
const (
SYS_SYSCALL = 4000
SYS_EXIT = 4001
SYS_FORK = 4002
SYS_READ ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go | vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go | // Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build arm64,darwin
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
fu... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go | vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build s390x,linux
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go | vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build amd64,netbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
func setTimeval(sec, usec int64) Ti... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go | vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go | // mksysnum_openbsd.pl
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
// +build amd64,openbsd
package unix
const (
SYS_EXIT = 1 // { void sys_exit(int rval); }
SYS_FORK = 2 // { int sys_fork(void); }
SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_unix_gc.go | vendor/golang.org/x/sys/unix/syscall_unix_gc.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
// +build !gccgo
package unix
import "syscall"
func Syscall(trap, a1, a2, a3 uintptr) (r1, r2... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go | vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go | // mksyscall.pl -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build netbsd,amd64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go | vendor/golang.org/x/sys/unix/ztypes_linux_arm.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,linux
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
PathMax ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go | vendor/golang.org/x/sys/unix/ztypes_linux_mips.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips,linux
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
PathMax... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/str.go | vendor/golang.org/x/sys/unix/str.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package unix
func itoa(val int) string { // do it here rather than with fmt to avoid dependenc... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_linux_test.go | vendor/golang.org/x/sys/unix/dev_linux_test.go | // Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build go1.7
package unix_test
import (
"fmt"
"testing"
"golang.org/x/sys/unix"
)
func TestDevices(t *testing.T) {
testCases := []struct {
path st... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/mmap_unix_test.go | vendor/golang.org/x/sys/unix/mmap_unix_test.go | // Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package unix_test
import (
"testing"
"golang.org/x/sys/unix"
)
func TestMmap(t *testing.T)... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zptracearm_linux.go | vendor/golang.org/x/sys/unix/zptracearm_linux.go | // Code generated by linux/mkall.go generatePtracePair(arm, arm64). DO NOT EDIT.
// +build linux
// +build arm arm64
package unix
import "unsafe"
// PtraceRegsArm is the registers used by arm binaries.
type PtraceRegsArm struct {
Uregs [18]uint32
}
// PtraceGetRegsArm fetches the registers used by arm binaries.
f... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go | vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go | // Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build gccgo,linux,amd64
package unix
import "syscall"
//extern gettimeofday
func realGettimeofday(*Timeval, *byte) int32
func gettimeofday(tv *Timeval) ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go | vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go | // mksyscall.pl -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build openbsd,386
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/sockcmsg_linux.go | vendor/golang.org/x/sys/unix/sockcmsg_linux.go | // Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Socket control messages
package unix
import "unsafe"
// UnixCredentials encodes credentials into a socket control message
// for sending to another proces... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/endian_little.go | vendor/golang.org/x/sys/unix/endian_little.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le
package unix
const isBigEndian = false
| go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_386.go | vendor/golang.org/x/sys/unix/zerrors_linux_386.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include -m32
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 _const.go
package unix
import "syscall"
const (
AF_ALG ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go | vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go | // cgo -godefs types_openbsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,openbsd
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int i... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go | vendor/golang.org/x/sys/unix/zsysnum_linux_386.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,linux
package unix
const (
SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1
SYS_FORK = 2
SYS_READ ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go | vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go | // mksyscall.pl -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,mips
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmoda... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go | vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build amd64,dragonfly
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/timestruct_test.go | vendor/golang.org/x/sys/unix/timestruct_test.go | // Copyright 2017 The Go Authors. All right reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package unix_test
import (
"testing"
"time"
"unsafe"
"golang.org/x/sys/unix"
)
func TestT... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go | vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go | // mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build freebsd,amd64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDI... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go | vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go | // mkerrors.sh -m64
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// +build sparc64,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_ALG = 0x26
AF_APPLETALK = 0x5
AF_ASH ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_unix_test.go | vendor/golang.org/x/sys/unix/syscall_unix_test.go | // Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package unix_test
import (
"flag"
"fmt"
"io/ioutil"
"net"
"os"
"os/exec"
"path/filepath... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go | vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go | // mksyscall.pl -l32 -netbsd -tags netbsd,386 syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build netbsd,386
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/zsyscall_windows.go | vendor/golang.org/x/sys/windows/zsyscall_windows.go | // MACHINE GENERATED BY 'go generate' COMMAND; DO NOT EDIT
package windows
import (
"syscall"
"unsafe"
)
var _ unsafe.Pointer
// Do the interface allocations only once for common
// Errno values.
const (
errnoERROR_IO_PENDING = 997
)
var (
errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING)
)
// ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/syscall_test.go | vendor/golang.org/x/sys/windows/syscall_test.go | // Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows
package windows_test
import (
"syscall"
"testing"
"golang.org/x/sys/windows"
)
func testSetGetenv(t *testing.T, key, value string) {
e... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/race0.go | vendor/golang.org/x/sys/windows/race0.go | // Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows,!race
package windows
import (
"unsafe"
)
const raceenabled = false
func raceAcquire(addr unsafe.Pointer) {
}
func raceReleaseMerge(addr... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/security_windows.go | vendor/golang.org/x/sys/windows/security_windows.go | // Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows
import (
"syscall"
"unsafe"
)
const (
STANDARD_RIGHTS_REQUIRED = 0xf0000
STANDARD_RIGHTS_READ = 0x20000
STANDARD_RIGHTS_WRITE = 0x... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/dll_windows.go | vendor/golang.org/x/sys/windows/dll_windows.go | // Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows
import (
"sync"
"sync/atomic"
"syscall"
"unsafe"
)
// DLLError describes reasons for DLL load failures.
type DLLError struct {
Err er... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/service.go | vendor/golang.org/x/sys/windows/service.go | // Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows
package windows
const (
SC_MANAGER_CONNECT = 1
SC_MANAGER_CREATE_SERVICE = 2
SC_MANAGER_ENUMERATE_SERVICE = 4
SC_MANAGER... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/eventlog.go | vendor/golang.org/x/sys/windows/eventlog.go | // Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows
package windows
const (
EVENTLOG_SUCCESS = 0
EVENTLOG_ERROR_TYPE = 1
EVENTLOG_WARNING_TYPE = 2
EVENTLOG_INFORMATION_T... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/mksyscall.go | vendor/golang.org/x/sys/windows/mksyscall.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows
//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_wi... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/types_windows_386.go | vendor/golang.org/x/sys/windows/types_windows_386.go | // Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows
type WSAData struct {
Version uint16
HighVersion uint16
Description [WSADESCRIPTION_LEN + 1]byte
SystemStatus [WSASYS_STATUS_LEN + 1... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/exec_windows.go | vendor/golang.org/x/sys/windows/exec_windows.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Fork, exec, wait, etc.
package windows
// EscapeArg rewrites command line argument s as prescribed
// in http://msdn.microsoft.com/en-us/library/ms880421.
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/syscall.go | vendor/golang.org/x/sys/windows/syscall.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows
// Package windows contains an interface to the low-level operating system
// primitives. OS details vary depending on the underlying system,... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/syscall_windows.go | vendor/golang.org/x/sys/windows/syscall_windows.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Windows system calls.
package windows
import (
errorspkg "errors"
"sync"
"syscall"
"unicode/utf16"
"unsafe"
)
type Handle uintptr
const (
InvalidHa... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/memory_windows.go | vendor/golang.org/x/sys/windows/memory_windows.go | // Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows
const (
MEM_COMMIT = 0x00001000
MEM_RESERVE = 0x00002000
MEM_DECOMMIT = 0x00004000
MEM_RELEASE = 0x00008000
MEM_RESET ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/syscall_windows_test.go | vendor/golang.org/x/sys/windows/syscall_windows_test.go | // Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows_test
import (
"io/ioutil"
"os"
"path/filepath"
"syscall"
"testing"
"unsafe"
"golang.org/x/sys/windows"
)
func TestWin32finddata(t *tes... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/types_windows.go | vendor/golang.org/x/sys/windows/types_windows.go | // Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows
import "syscall"
const (
// Windows errors.
ERROR_FILE_NOT_FOUND syscall.Errno = 2
ERROR_PATH_NOT_FOUND syscall.Errno = 3
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/env_windows.go | vendor/golang.org/x/sys/windows/env_windows.go | // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Windows environment variables.
package windows
import "syscall"
func Getenv(key string) (value string, found bool) {
return syscall.Getenv(key)
}
func S... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/types_windows_amd64.go | vendor/golang.org/x/sys/windows/types_windows_amd64.go | // Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows
type WSAData struct {
Version uint16
HighVersion uint16
MaxSockets uint16
MaxUdpDg uint16
VendorInfo *byte
Description [WS... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/race.go | vendor/golang.org/x/sys/windows/race.go | // Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows,race
package windows
import (
"runtime"
"unsafe"
)
const raceenabled = true
func raceAcquire(addr unsafe.Pointer) {
runtime.RaceAcquire... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/windows/str.go | vendor/golang.org/x/sys/windows/str.go | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows
package windows
func itoa(val int) string { // do it here rather than with fmt to avoid dependency
if val < 0 {
return "-" + itoa(-val)
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sync/errgroup/errgroup_test.go | vendor/golang.org/x/sync/errgroup/errgroup_test.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package errgroup_test
import (
"errors"
"fmt"
"net/http"
"os"
"testing"
"golang.org/x/net/context"
"golang.org/x/sync/errgroup"
)
var (
Web = fakeS... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sync/errgroup/errgroup.go | vendor/golang.org/x/sync/errgroup/errgroup.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package errgroup provides synchronization, error propagation, and Context
// cancelation for groups of goroutines working on subtasks of a common task.
packa... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sync/errgroup/errgroup_example_md5all_test.go | vendor/golang.org/x/sync/errgroup/errgroup_example_md5all_test.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package errgroup_test
import (
"crypto/md5"
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
"golang.org/x/net/context"
"golang.org/x/sync/errgroup"
)
//... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/models/Module.go | models/Module.go | package models
type Module struct {
Namespace string `json:"namespace"`
Name string `json:"name"`
Provider string `json:"provider"`
Version string `json:"version"`
}
| go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/api/v1/module_test.go | api/v1/module_test.go | package v1_test
import (
"github.com/gavv/httpexpect"
"net/http"
"net/http/httptest"
"testing"
)
var errorNotFound = "not found"
func TestListModule(t *testing.T) {
dataset := []testModule{
{"namespace1", "module1", "aws", "1.0.0", nil},
{"namespace1", "module1", "azure", "1.0.0", nil},
{"namespace1", "mo... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/api/v1/api_test.go | api/v1/api_test.go | package v1_test
import (
"net/http/httptest"
"testing"
"bytes"
"github.com/erikvanbrakel/anthology/api/v1"
"github.com/erikvanbrakel/anthology/app"
"github.com/erikvanbrakel/anthology/registry"
"github.com/erikvanbrakel/anthology/services"
"github.com/gavv/httpexpect"
"github.com/go-ozzo/ozzo-routing"
"gith... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/api/v1/module.go | api/v1/module.go | package v1
import (
"fmt"
"github.com/blang/semver"
"github.com/erikvanbrakel/anthology/app"
"github.com/erikvanbrakel/anthology/models"
"github.com/go-ozzo/ozzo-routing"
"io"
"net/http"
"strconv"
)
type (
moduleService interface {
Query(rs app.RequestScope, namespace, name, provider string, verified bool,... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/registry/fakeRegistry.go | registry/fakeRegistry.go | package registry
import (
"bytes"
"errors"
"github.com/erikvanbrakel/anthology/models"
"io"
"strings"
)
type InMemoryRegistry struct {
modules []models.Module
data map[string][]byte
}
func (r *InMemoryRegistry) ListModules(namespace, name, provider string, offset, limit int) (modules []models.Module, total... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/registry/registry.go | registry/registry.go | package registry
import (
"bytes"
"github.com/erikvanbrakel/anthology/models"
"io"
)
type Registry interface {
/* ListModules(namespace, name, provider string, offset, limit int) (modules []Module, total int, err error)
ListVersions(namespace, name, provider string) (versions []ModuleVersions, err error)
GetM... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/registry/s3registry.go | registry/s3registry.go | package registry
import (
"bytes"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3"
"github.com/erikvanbrakel/anthology/app"
"github.com/erikvanbrakel/anthology/models"
"github.com/sirupsen/logrus"
"io"
"strin... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/registry/filesystemregistry.go | registry/filesystemregistry.go | package registry
import (
"bytes"
"errors"
"github.com/erikvanbrakel/anthology/app"
"github.com/erikvanbrakel/anthology/models"
"github.com/sirupsen/logrus"
"io"
"os"
"path"
"path/filepath"
"strings"
)
type FilesystemRegistry struct {
basePath string
}
func (r *FilesystemRegistry) ListModules(namespace, n... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
henson/Answer | https://github.com/henson/Answer/blob/329d92cfcbe893047eb105470fce483881e2e040/screenshot.go | screenshot.go | package Answer
import (
"image"
"github.com/henson/Answer/device"
"github.com/henson/Answer/util"
)
//Screenshot 获取屏幕截图
type Screenshot interface {
GetImage() (image.Image, error)
}
//NewScreenshot 根据手机系统区分
func NewScreenshot(cfg *util.Config) Screenshot {
if cfg.Device == util.DeviceiOS {
return device.NewI... | go | Apache-2.0 | 329d92cfcbe893047eb105470fce483881e2e040 | 2026-01-07T09:45:58.063399Z | false |
henson/Answer | https://github.com/henson/Answer/blob/329d92cfcbe893047eb105470fce483881e2e040/image.go | image.go | package Answer
import (
"fmt"
"image"
"image/draw"
"sync"
"github.com/henson/Answer/util"
"github.com/ngaut/log"
)
func saveImage(png image.Image, cfg *util.Config, c1 chan<- string, c2 chan<- string) error {
/* go func() {
screenshotPath := fmt.Sprintf("%sscreenshot.png", util.ImagePath)
err := util.Sav... | go | Apache-2.0 | 329d92cfcbe893047eb105470fce483881e2e040 | 2026-01-07T09:45:58.063399Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.