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 |
|---|---|---|---|---|---|---|---|---|
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/mattn/go-isatty/isatty_windows.go | vendor/github.com/mattn/go-isatty/isatty_windows.go | //go:build windows && !appengine
// +build windows,!appengine
package isatty
import (
"errors"
"strings"
"syscall"
"unicode/utf16"
"unsafe"
)
const (
objectNameInfo uintptr = 1
fileNameInfo = 2
fileTypePipe = 3
)
var (
kernel32 = syscall.NewLazyDLL("kernel32.dll"... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/mattn/go-isatty/isatty_solaris.go | vendor/github.com/mattn/go-isatty/isatty_solaris.go | //go:build solaris && !appengine
// +build solaris,!appengine
package isatty
import (
"golang.org/x/sys/unix"
)
// IsTerminal returns true if the given file descriptor is a terminal.
// see: https://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libc/port/gen/isatty.c
func IsTerminal(fd uintptr) bool {
_, er... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/mattn/go-isatty/isatty_plan9.go | vendor/github.com/mattn/go-isatty/isatty_plan9.go | //go:build plan9
// +build plan9
package isatty
import (
"syscall"
)
// IsTerminal returns true if the given file descriptor is a terminal.
func IsTerminal(fd uintptr) bool {
path, err := syscall.Fd2path(int(fd))
if err != nil {
return false
}
return path == "/dev/cons" || path == "/mnt/term/dev/cons"
}
// I... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/mattn/go-isatty/isatty_others.go | vendor/github.com/mattn/go-isatty/isatty_others.go | //go:build (appengine || js || nacl || tinygo || wasm) && !windows
// +build appengine js nacl tinygo wasm
// +build !windows
package isatty
// IsTerminal returns true if the file descriptor is terminal which
// is always false on js and appengine classic which is a sandboxed PaaS.
func IsTerminal(fd uintptr) bool {
... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/mattn/go-isatty/doc.go | vendor/github.com/mattn/go-isatty/doc.go | // Package isatty implements interface to isatty
package isatty
| go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/mattn/go-isatty/isatty_tcgets.go | vendor/github.com/mattn/go-isatty/isatty_tcgets.go | //go:build (linux || aix || zos) && !appengine && !tinygo
// +build linux aix zos
// +build !appengine
// +build !tinygo
package isatty
import "golang.org/x/sys/unix"
// IsTerminal return true if the file descriptor is terminal.
func IsTerminal(fd uintptr) bool {
_, err := unix.IoctlGetTermios(int(fd), unix.TCGETS)... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/level4.go | vendor/github.com/klauspost/compress/flate/level4.go | package flate
import "fmt"
type fastEncL4 struct {
fastGen
table [tableSize]tableEntry
bTable [tableSize]tableEntry
}
func (e *fastEncL4) Encode(dst *tokens, src []byte) {
const (
inputMargin = 12 - 1
minNonLiteralBlockSize = 1 + 1 + inputMargin
hashShortBytes = 4
)
if debugDeflate &&... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/inflate.go | vendor/github.com/klauspost/compress/flate/inflate.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 flate implements the DEFLATE compressed data format, described in
// RFC 1951. The gzip and zlib packages implement access to DEFLATE-based file
// ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/regmask_other.go | vendor/github.com/klauspost/compress/flate/regmask_other.go | //go:build !amd64
// +build !amd64
package flate
const (
// Masks for shifts with register sizes of the shift value.
// This can be used to work around the x86 design of shifting by mod register size.
// It can be used when a variable shift is always smaller than the register size.
// reg8SizeMaskX - shift value... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/matchlen_amd64.go | vendor/github.com/klauspost/compress/flate/matchlen_amd64.go | //go:build amd64 && !appengine && !noasm && gc
// +build amd64,!appengine,!noasm,gc
// Copyright 2019+ Klaus Post. All rights reserved.
// License information can be found in the LICENSE file.
package flate
// matchLen returns how many bytes match in a and b
//
// It assumes that:
//
// len(a) <= len(b) and len(a) >... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/level1.go | vendor/github.com/klauspost/compress/flate/level1.go | package flate
import (
"encoding/binary"
"fmt"
"math/bits"
)
// fastGen maintains the table for matches,
// and the previous byte block for level 2.
// This is the generic implementation.
type fastEncL1 struct {
fastGen
table [tableSize]tableEntry
}
// EncodeL1 uses a similar algorithm to level 1
func (e *fastE... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/huffman_bit_writer.go | vendor/github.com/klauspost/compress/flate/huffman_bit_writer.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 flate
import (
"encoding/binary"
"fmt"
"io"
"math"
)
const (
// The largest offset code.
offsetCodeCount = 30
// The special code used to mark... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/huffman_sortByLiteral.go | vendor/github.com/klauspost/compress/flate/huffman_sortByLiteral.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 flate
// Sort sorts data.
// It makes one call to data.Len to determine n, and O(n*log(n)) calls to
// data.Less and data.Swap. The sort is not guarant... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/level3.go | vendor/github.com/klauspost/compress/flate/level3.go | package flate
import "fmt"
// fastEncL3
type fastEncL3 struct {
fastGen
table [1 << 16]tableEntryPrev
}
// Encode uses a similar algorithm to level 2, will check up to two candidates.
func (e *fastEncL3) Encode(dst *tokens, src []byte) {
const (
inputMargin = 12 - 1
minNonLiteralBlockSize = 1 + 1 +... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/level5.go | vendor/github.com/klauspost/compress/flate/level5.go | package flate
import "fmt"
type fastEncL5 struct {
fastGen
table [tableSize]tableEntry
bTable [tableSize]tableEntryPrev
}
func (e *fastEncL5) Encode(dst *tokens, src []byte) {
const (
inputMargin = 12 - 1
minNonLiteralBlockSize = 1 + 1 + inputMargin
hashShortBytes = 4
)
if debugDeflat... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/token.go | vendor/github.com/klauspost/compress/flate/token.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 flate
import (
"bytes"
"encoding/binary"
"fmt"
"io"
"math"
)
const (
// bits 0-16 xoffset = offset - MIN_OFFSET_SIZE, or literal - 16 bits
//... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/matchlen_generic.go | vendor/github.com/klauspost/compress/flate/matchlen_generic.go | //go:build !amd64 || appengine || !gc || noasm
// +build !amd64 appengine !gc noasm
// Copyright 2019+ Klaus Post. All rights reserved.
// License information can be found in the LICENSE file.
package flate
import (
"encoding/binary"
"math/bits"
)
// matchLen returns the maximum common prefix length of a and b.
/... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/level6.go | vendor/github.com/klauspost/compress/flate/level6.go | package flate
import "fmt"
type fastEncL6 struct {
fastGen
table [tableSize]tableEntry
bTable [tableSize]tableEntryPrev
}
func (e *fastEncL6) Encode(dst *tokens, src []byte) {
const (
inputMargin = 12 - 1
minNonLiteralBlockSize = 1 + 1 + inputMargin
hashShortBytes = 4
)
if debugDeflat... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/deflate.go | vendor/github.com/klauspost/compress/flate/deflate.go | // Copyright 2009 The Go Authors. All rights reserved.
// Copyright (c) 2015 Klaus Post
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package flate
import (
"encoding/binary"
"errors"
"fmt"
"io"
"math"
)
const (
NoCompression = 0
BestSpeed ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/regmask_amd64.go | vendor/github.com/klauspost/compress/flate/regmask_amd64.go | package flate
const (
// Masks for shifts with register sizes of the shift value.
// This can be used to work around the x86 design of shifting by mod register size.
// It can be used when a variable shift is always smaller than the register size.
// reg8SizeMaskX - shift value is 8 bits, shifted is X
reg8SizeMa... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/stateless.go | vendor/github.com/klauspost/compress/flate/stateless.go | package flate
import (
"io"
"math"
"sync"
)
const (
maxStatelessBlock = math.MaxInt16
// dictionary will be taken from maxStatelessBlock, so limit it.
maxStatelessDict = 8 << 10
slTableBits = 13
slTableSize = 1 << slTableBits
slTableShift = 32 - slTableBits
)
type statelessWriter struct {
dst io.Writ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/level2.go | vendor/github.com/klauspost/compress/flate/level2.go | package flate
import "fmt"
// fastGen maintains the table for matches,
// and the previous byte block for level 2.
// This is the generic implementation.
type fastEncL2 struct {
fastGen
table [bTableSize]tableEntry
}
// EncodeL2 uses a similar algorithm to level 1, but is capable
// of matching across blocks givin... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/huffman_code.go | vendor/github.com/klauspost/compress/flate/huffman_code.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 flate
import (
"math"
"math/bits"
)
const (
maxBitsLimit = 16
// number of valid literals
literalCount = 286
)
// hcode is a huffman code with a... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/fast_encoder.go | vendor/github.com/klauspost/compress/flate/fast_encoder.go | // Copyright 2011 The Snappy-Go Authors. All rights reserved.
// Modified for deflate by Klaus Post (c) 2015.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package flate
import (
"encoding/binary"
"fmt"
)
type fastEnc interface {
Encode(dst *tokens, src []... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/dict_decoder.go | vendor/github.com/klauspost/compress/flate/dict_decoder.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 flate
// dictDecoder implements the LZ77 sliding dictionary as used in decompression.
// LZ77 decompresses data through sequences of two forms of comma... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/inflate_gen.go | vendor/github.com/klauspost/compress/flate/inflate_gen.go | // Code generated by go generate gen_inflate.go. DO NOT EDIT.
package flate
import (
"bufio"
"bytes"
"fmt"
"math/bits"
"strings"
)
// Decode a single Huffman block from f.
// hl and hd are the Huffman states for the lit/length values
// and the distance values, respectively. If hd == nil, using the
// fixed dis... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/compress/flate/huffman_sortByFreq.go | vendor/github.com/klauspost/compress/flate/huffman_sortByFreq.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 flate
// Sort sorts data.
// It makes one call to data.Len to determine n, and O(n*log(n)) calls to
// data.Less and data.Swap. The sort is not guarant... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/pgzip/gzip.go | vendor/github.com/klauspost/pgzip/gzip.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.
package pgzip
import (
"bytes"
"errors"
"fmt"
"hash"
"hash/crc32"
"io"
"runtime"
"sync"
"time"
"github.com/klauspost/compress/flate"
)
const (
def... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/klauspost/pgzip/gunzip.go | vendor/github.com/klauspost/pgzip/gunzip.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 pgzip implements reading and writing of gzip format compressed files,
// as specified in RFC 1952.
//
// This is a drop in replacement for "compress/... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/gosuri/uilive/writer_posix.go | vendor/github.com/gosuri/uilive/writer_posix.go | // +build !windows
package uilive
import (
"fmt"
"strings"
)
// clear the line and move the cursor up
var clear = fmt.Sprintf("%c[%dA%c[2K", ESC, 1, ESC)
func (w *Writer) clearLines() {
_, _ = fmt.Fprint(w.Out, strings.Repeat(clear, w.lineCount))
}
| go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/gosuri/uilive/terminal_size_windows.go | vendor/github.com/gosuri/uilive/terminal_size_windows.go | // +build windows
package uilive
import (
"os"
"unsafe"
)
func getTermSize() (int, int) {
out, err := os.Open("CONOUT$")
if err != nil {
return 0, 0
}
defer out.Close()
var csbi consoleScreenBufferInfo
ret, _, _ := procGetConsoleScreenBufferInfo.Call(out.Fd(), uintptr(unsafe.Pointer(&csbi)))
if ret == 0 ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/gosuri/uilive/writer.go | vendor/github.com/gosuri/uilive/writer.go | package uilive
import (
"bytes"
"errors"
"io"
"os"
"sync"
"time"
)
// ESC is the ASCII code for escape character
const ESC = 27
// RefreshInterval is the default refresh interval to update the ui
var RefreshInterval = time.Millisecond
var overFlowHandled bool
var termWidth int
// Out is the default output w... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/gosuri/uilive/terminal_size.go | vendor/github.com/gosuri/uilive/terminal_size.go | // +build !windows
package uilive
import (
"os"
"runtime"
"syscall"
"unsafe"
)
type windowSize struct {
rows uint16
cols uint16
}
var out *os.File
var err error
var sz windowSize
func getTermSize() (int, int) {
if runtime.GOOS == "openbsd" {
out, err = os.OpenFile("/dev/tty", os.O_RDWR, 0)
if err ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/gosuri/uilive/writer_windows.go | vendor/github.com/gosuri/uilive/writer_windows.go | // +build windows
package uilive
import (
"fmt"
"strings"
"syscall"
"unsafe"
"github.com/mattn/go-isatty"
)
var kernel32 = syscall.NewLazyDLL("kernel32.dll")
var (
procGetConsoleScreenBufferInfo = kernel32.NewProc("GetConsoleScreenBufferInfo")
procSetConsoleCursorPosition = kernel32.NewProc("SetConsoleCurs... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/gosuri/uilive/doc.go | vendor/github.com/gosuri/uilive/doc.go | // Package uilive provides a writer that live updates the terminal. It provides a buffered io.Writer that is flushed at a timed interval.
package uilive
| go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/gosuri/uiprogress/util/strutil/strutil.go | vendor/github.com/gosuri/uiprogress/util/strutil/strutil.go | // Package strutil provides various utilities for manipulating strings
package strutil
import (
"bytes"
"time"
)
// PadRight returns a new string of a specified length in which the end of the current string is padded with spaces or with a specified Unicode character.
func PadRight(str string, length int, pad byte) ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/remeh/sizedwaitgroup/sizedwaitgroup.go | vendor/github.com/remeh/sizedwaitgroup/sizedwaitgroup.go | // Based upon sync.WaitGroup, SizedWaitGroup allows to start multiple
// routines and to wait for their end using the simple API.
// SizedWaitGroup adds the feature of limiting the maximum number of
// concurrently started routines. It could for example be used to start
// multiples routines querying a database but wi... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/tidwall/match/match.go | vendor/github.com/tidwall/match/match.go | // Package match provides a simple pattern matcher with unicode support.
package match
import (
"unicode/utf8"
)
// Match returns true if str matches pattern. This is a very
// simple wildcard match where '*' matches on any number characters
// and '?' matches on any one character.
//
// pattern:
// { term }
// ter... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/tidwall/pretty/pretty.go | vendor/github.com/tidwall/pretty/pretty.go | package pretty
import (
"bytes"
"encoding/json"
"sort"
"strconv"
)
// Options is Pretty options
type Options struct {
// Width is an max column width for single line arrays
// Default is 80
Width int
// Prefix is a prefix for all lines
// Default is an empty string
Prefix string
// Indent is the nested ind... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/tidwall/gjson/gjson.go | vendor/github.com/tidwall/gjson/gjson.go | // Package gjson provides searching for json strings.
package gjson
import (
"strconv"
"strings"
"time"
"unicode/utf16"
"unicode/utf8"
"unsafe"
"github.com/tidwall/match"
"github.com/tidwall/pretty"
)
// Type is Result type
type Type int
const (
// Null is a null json value
Null Type = iota
// False is a... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/davecgh/go-spew/spew/config.go | vendor/github.com/davecgh/go-spew/spew/config.go | /*
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/davecgh/go-spew/spew/format.go | vendor/github.com/davecgh/go-spew/spew/format.go | /*
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/davecgh/go-spew/spew/bypass.go | vendor/github.com/davecgh/go-spew/spew/bypass.go | // Copyright (c) 2015-2016 Dave Collins <dave@davec.name>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go | vendor/github.com/davecgh/go-spew/spew/bypasssafe.go | // Copyright (c) 2015-2016 Dave Collins <dave@davec.name>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/davecgh/go-spew/spew/doc.go | vendor/github.com/davecgh/go-spew/spew/doc.go | /*
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/davecgh/go-spew/spew/dump.go | vendor/github.com/davecgh/go-spew/spew/dump.go | /*
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/davecgh/go-spew/spew/spew.go | vendor/github.com/davecgh/go-spew/spew/spew.go | /*
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/davecgh/go-spew/spew/common.go | vendor/github.com/davecgh/go-spew/spew/common.go | /*
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/fatih/color/color.go | vendor/github.com/fatih/color/color.go | package color
import (
"fmt"
"io"
"os"
"strconv"
"strings"
"sync"
"github.com/mattn/go-colorable"
"github.com/mattn/go-isatty"
)
var (
// NoColor defines if the output is colorized or not. It's dynamically set to
// false or true based on the stdout's file descriptor referring to a terminal
// or not. It'... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/fatih/color/doc.go | vendor/github.com/fatih/color/doc.go | /*
Package color is an ANSI color package to output colorized or SGR defined
output to the standard output. The API can be used in several way, pick one
that suits you.
Use simple and default helper functions with predefined foreground colors:
color.Cyan("Prints text in cyan.")
// a newline will be appended automa... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/github.com/fatih/color/color_windows.go | vendor/github.com/fatih/color/color_windows.go | package color
import (
"os"
"golang.org/x/sys/windows"
)
func init() {
// Opt-in for ansi color support for current process.
// https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#output-sequences
var outMode uint32
out := windows.Handle(os.Stdout.Fd())
if err := windows.GetCo... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/yaml.go | vendor/gopkg.in/yaml.v2/yaml.go | // Package yaml implements YAML support for the Go language.
//
// Source code and other details for the project are available at GitHub:
//
// https://github.com/go-yaml/yaml
//
package yaml
import (
"errors"
"fmt"
"io"
"reflect"
"strings"
"sync"
)
// MapSlice encodes and decodes as a YAML map.
// The order ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/emitterc.go | vendor/gopkg.in/yaml.v2/emitterc.go | package yaml
import (
"bytes"
"fmt"
)
// Flush the buffer if needed.
func flush(emitter *yaml_emitter_t) bool {
if emitter.buffer_pos+5 >= len(emitter.buffer) {
return yaml_emitter_flush(emitter)
}
return true
}
// Put a character to the output buffer.
func put(emitter *yaml_emitter_t, value byte) bool {
if ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/resolve.go | vendor/gopkg.in/yaml.v2/resolve.go | package yaml
import (
"encoding/base64"
"math"
"regexp"
"strconv"
"strings"
"time"
)
type resolveMapItem struct {
value interface{}
tag string
}
var resolveTable = make([]byte, 256)
var resolveMap = make(map[string]resolveMapItem)
func init() {
t := resolveTable
t[int('+')] = 'S' // Sign
t[int('-')] = ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/apic.go | vendor/gopkg.in/yaml.v2/apic.go | package yaml
import (
"io"
)
func yaml_insert_token(parser *yaml_parser_t, pos int, token *yaml_token_t) {
//fmt.Println("yaml_insert_token", "pos:", pos, "typ:", token.typ, "head:", parser.tokens_head, "len:", len(parser.tokens))
// Check if we can move the queue at the beginning of the buffer.
if parser.tokens... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/encode.go | vendor/gopkg.in/yaml.v2/encode.go | package yaml
import (
"encoding"
"fmt"
"io"
"reflect"
"regexp"
"sort"
"strconv"
"strings"
"time"
"unicode/utf8"
)
// jsonNumber is the interface of the encoding/json.Number datatype.
// Repeating the interface here avoids a dependency on encoding/json, and also
// supports other libraries like jsoniter, whi... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/sorter.go | vendor/gopkg.in/yaml.v2/sorter.go | package yaml
import (
"reflect"
"unicode"
)
type keyList []reflect.Value
func (l keyList) Len() int { return len(l) }
func (l keyList) Swap(i, j int) { l[i], l[j] = l[j], l[i] }
func (l keyList) Less(i, j int) bool {
a := l[i]
b := l[j]
ak := a.Kind()
bk := b.Kind()
for (ak == reflect.Interface || ak == ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/yamlprivateh.go | vendor/gopkg.in/yaml.v2/yamlprivateh.go | package yaml
const (
// The size of the input raw buffer.
input_raw_buffer_size = 512
// The size of the input buffer.
// It should be possible to decode the whole raw buffer.
input_buffer_size = input_raw_buffer_size * 3
// The size of the output buffer.
output_buffer_size = 128
// The size of the output r... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/readerc.go | vendor/gopkg.in/yaml.v2/readerc.go | package yaml
import (
"io"
)
// Set the reader error and return 0.
func yaml_parser_set_reader_error(parser *yaml_parser_t, problem string, offset int, value int) bool {
parser.error = yaml_READER_ERROR
parser.problem = problem
parser.problem_offset = offset
parser.problem_value = value
return false
}
// Byte ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/writerc.go | vendor/gopkg.in/yaml.v2/writerc.go | package yaml
// Set the writer error and return false.
func yaml_emitter_set_writer_error(emitter *yaml_emitter_t, problem string) bool {
emitter.error = yaml_WRITER_ERROR
emitter.problem = problem
return false
}
// Flush the output buffer.
func yaml_emitter_flush(emitter *yaml_emitter_t) bool {
if emitter.write_... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/yamlh.go | vendor/gopkg.in/yaml.v2/yamlh.go | package yaml
import (
"fmt"
"io"
)
// The version directive data.
type yaml_version_directive_t struct {
major int8 // The major version number.
minor int8 // The minor version number.
}
// The tag directive data.
type yaml_tag_directive_t struct {
handle []byte // The tag handle.
prefix []byte // The tag pref... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/scannerc.go | vendor/gopkg.in/yaml.v2/scannerc.go | package yaml
import (
"bytes"
"fmt"
)
// Introduction
// ************
//
// The following notes assume that you are familiar with the YAML specification
// (http://yaml.org/spec/1.2/spec.html). We mostly follow it, although in
// some cases we are less restrictive that it requires.
//
// The process of transformin... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/decode.go | vendor/gopkg.in/yaml.v2/decode.go | package yaml
import (
"encoding"
"encoding/base64"
"fmt"
"io"
"math"
"reflect"
"strconv"
"time"
)
const (
documentNode = 1 << iota
mappingNode
sequenceNode
scalarNode
aliasNode
)
type node struct {
kind int
line, column int
tag string
// For an alias node, alias holds the resolved a... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/gopkg.in/yaml.v2/parserc.go | vendor/gopkg.in/yaml.v2/parserc.go | package yaml
import (
"bytes"
)
// The parser implements the following grammar:
//
// stream ::= STREAM-START implicit_document? explicit_document* STREAM-END
// implicit_document ::= block_node DOCUMENT-END*
// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
// block_no... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/term/term_plan9.go | vendor/golang.org/x/term/term_plan9.go | // Copyright 2019 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 term
import (
"fmt"
"runtime"
"golang.org/x/sys/plan9"
)
type state struct{}
func isTerminal(fd int) bool {
path, err := plan9.Fd2path(fd)
if e... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/term/term_windows.go | vendor/golang.org/x/term/term_windows.go | // Copyright 2019 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 term
import (
"os"
"golang.org/x/sys/windows"
)
type state struct {
mode uint32
}
func isTerminal(fd int) bool {
var st uint32
err := windows.G... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/term/term_unix_other.go | vendor/golang.org/x/term/term_unix_other.go | // Copyright 2021 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.
//go:build aix || linux || solaris || zos
package term
import "golang.org/x/sys/unix"
const ioctlReadTermios = unix.TCGETS
const ioctlWriteTermios = unix.TCS... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/term/term_unsupported.go | vendor/golang.org/x/term/term_unsupported.go | // Copyright 2019 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.
//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !zos && !windows && !solaris && !plan9
package term
import (
"fmt"
... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/term/terminal.go | vendor/golang.org/x/term/terminal.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 term
import (
"bytes"
"io"
"runtime"
"strconv"
"sync"
"unicode/utf8"
)
// EscapeCodes contains escape sequences that can be written to the termi... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/term/term.go | vendor/golang.org/x/term/term.go | // Copyright 2019 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 term provides support functions for dealing with terminals, as
// commonly found on UNIX systems.
//
// Putting a terminal into raw mode is the most ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/term/term_unix_bsd.go | vendor/golang.org/x/term/term_unix_bsd.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.
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
package term
import "golang.org/x/sys/unix"
const ioctlReadTermios = unix.TIOCGETA
const ioctl... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/term/term_unix.go | vendor/golang.org/x/term/term_unix.go | // Copyright 2019 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.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
package term
import (
"golang.org/x/sys/unix"
)
type state ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go | vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go | // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build mips64 && openbsd
package unix
// Deprecated: Use libc wrappers instead of direct syscalls.
const (
SYS_EXIT = 1 // { voi... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go | vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go | // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/arm64/include -fsigned-char /tmp/arm64/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build arm64 && linux
package unix
const (
SYS_IO_SETUP = 0
SYS_IO_DESTROY = 1
SYS_IO_SUBMIT ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go | vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go | // go run mksyscall_aix_ppc.go -aix -tags aix,ppc syscall_aix.go syscall_aix_ppc.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build aix && ppc
package unix
/*
#include <stdint.h>
#include <stddef.h>
int utimes(uintptr_t, uintptr_t);
int utimensat(int, uintptr_t, uintptr_t, int);
int ge... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/dev_darwin.go | vendor/golang.org/x/sys/unix/dev_darwin.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 Darwin's sys/types.h header.
package unix
// Major returns the m... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go | vendor/golang.org/x/sys/unix/syscall_linux_riscv64.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.
//go:build riscv64 && linux
package unix
import "unsafe"
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
//sys ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go | vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go | // go run mksyscall.go -tags linux,loong64 syscall_linux.go syscall_linux_loong64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build linux && loong64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
fun... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go | vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go | // go run mksyscall.go -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go syscall_linux_alarm.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build linux && mips64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go | vendor/golang.org/x/sys/unix/syscall_freebsd_386.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.
//go:build 386 && freebsd
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: int32(sec), Nsec: i... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go | vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go | // go run mksyscall.go -b32 -tags linux,ppc syscall_linux.go syscall_linux_ppc.go syscall_linux_alarm.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build linux && ppc
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go | vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go | // go run mksyscall.go -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build netbsd && arm
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go | vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go | // go run mksyscall.go -l32 -openbsd -arm -libc -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build openbsd && arm
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go | vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go | // cgo -godefs types_freebsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build 386 && freebsd
package unix
const (
SizeofPtr = 0x4
SizeofShort = 0x2
SizeofInt = 0x4
SizeofLong = 0x4
SizeofLongLong = 0x8
)
type (
_C_short int16
_C_int ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go | vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build arm64 && darwin
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_CCITT ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go | vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build arm64 && openbsd
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_BLUETOOTH ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go | vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go | // Code generated by linux/mkall.go generatePtracePair("mipsle", "mips64le"). DO NOT EDIT.
//go:build linux && (mipsle || mips64le)
package unix
import "unsafe"
// PtraceRegsMipsle is the registers used by mipsle binaries.
type PtraceRegsMipsle struct {
Regs [32]uint64
Lo uint64
Hi uint64
Epc ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go | vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go | // cgo -godefs -objdir=/tmp/mips64/cgo -- -Wall -Werror -static -I/tmp/mips64/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build mips64 && linux
package unix
const (
SizeofPtr = 0x8
SizeofLong = 0x8
)
type (
_C_long int64
)
type Timespec str... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go | vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build amd64 && solaris
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_802 = 0x12
AF_APPLETALK = 0x10
... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go | vendor/golang.org/x/sys/unix/syscall_linux_s390x.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.
//go:build s390x && linux
package unix
import (
"unsafe"
)
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
//sys Fadvise(fd int,... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/dev_dragonfly.go | vendor/golang.org/x/sys/unix/dev_dragonfly.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 Dragonfly's sys/types.h header.
//
// The information below is ext... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go | vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go | // cgo -godefs types_netbsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build arm64 && netbsd
package unix
const (
SizeofPtr = 0x8
SizeofShort = 0x2
SizeofInt = 0x4
SizeofLong = 0x8
SizeofLongLong = 0x8
)
type (
_C_short int16
_C_int ... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go | vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go | // mkerrors.sh -Wall -Werror -static -I/tmp/ppc64le/include
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build ppc64le && linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -Wall -Werror -static -I/tmp/ppc64le/include _const.go
package unix
import "syscall"
const... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/syscall_netbsd.go | vendor/golang.org/x/sys/unix/syscall_netbsd.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.
// NetBSD 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 | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go | vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go | // Copyright 2019 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.
//go:build riscv64 && openbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
func setTimeval(sec, usec in... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go | vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.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.
//go:build linux && gccgo && 386
package unix
import (
"syscall"
"unsafe"
)
func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
var newof... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zerrors_linux.go | vendor/golang.org/x/sys/unix/zerrors_linux.go | // Code generated by mkmerge; DO NOT EDIT.
//go:build linux
package unix
import "syscall"
const (
AAFS_MAGIC = 0x5a3c69f0
ADFS_SUPER_MAGIC = 0xadf5
AFFS_SUPER_MAGIC = 0xadff
AFS_FS_MAGIC = 0x6b4... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go | vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go | // Copyright 2019 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.
//go:build arm64 && openbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
func setTimeval(sec, usec int6... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go | vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build arm64 && freebsd
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_ARP = 0x23... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | true |
xorpaul/g10k | https://github.com/xorpaul/g10k/blob/9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go | vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go | // Copyright 2019 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.
//go:build arm64 && netbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
func setTimeval(sec, usec int64... | go | Apache-2.0 | 9fa8bbc8ac9f0752fb27f92c4b657a78246ebd8c | 2026-01-07T09:45:46.191611Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.