- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 730 for golang (0.07 sec)
-
internal/disk/stat_windows.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "errors" "fmt" "os" "syscall" "unsafe" "golang.org/x/sys/windows" ) var ( kernel32 = windows.NewLazySystemDLL("kernel32.dll") // GetDiskFreeSpaceEx - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.1K bytes - Viewed (0) -
common/config/license-lint.yml
# runc is Apache 2.0: https://github.com/opencontainers/runc/blob/master/LICENSE # but it contains BSD dep which our linter fails to understand: https://github.com/opencontainers/runc/blob/v0.1.1/Godeps/_workspace/src/github.com/golang/protobuf/LICENSE - github.com/opencontainers/runc # MIT: https://github.com/felixge/fgprof/blob/master/LICENSE.txt - github.com/felixge/fgprof # Apache 2.0 - github.com/google/pprof
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jan 25 19:26:20 UTC 2023 - 3.2K bytes - Viewed (0) -
misc/go_android_exec/main.go
exitCode, err := runMain() if err != nil { log.Fatal(err) } os.Exit(exitCode) } func runMain() (int, error) { // Concurrent use of adb is flaky, so serialize adb commands. // See https://github.com/golang/go/issues/23795 or // https://issuetracker.google.com/issues/73230216. lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock") lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666) if err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/archive/tar/writer.go
} func (tw *Writer) writePAXHeader(hdr *Header, paxHdrs map[string]string) error { realName, realSize := hdr.Name, hdr.Size // TODO(dsnet): Re-enable this when adding sparse support. // See https://golang.org/issue/22735 /* // Handle sparse files. var spd sparseDatas var spb []byte if len(hdr.SparseHoles) > 0 { sph := append([]sparseEntry{}, hdr.SparseHoles...) // Copy sparse map
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
// limitations under the License. package ipset import ( "errors" "fmt" "net" "net/netip" "strings" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" ) func RealNlDeps() NetlinkIpsetDeps { return &realDeps{} } type realDeps struct{} func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error { var family uint8 if v6 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/bitrot.go
package cmd import ( "bytes" "encoding/hex" "errors" "fmt" "hash" "io" "github.com/minio/highwayhash" "github.com/minio/minio/internal/hash/sha256" "golang.org/x/crypto/blake2b" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/logger" ) // magic HH-256 key as HH-256 hash of the first 100 decimals of π as utf-8 string with a zero key.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
common/scripts/setup_env.sh
TARGET_OUT_LINUX=${CONTAINER_TARGET_OUT_LINUX} REPO_ROOT=/work LOCAL_OUT="${TARGET_OUT_LINUX}" else LOCAL_OUT="${TARGET_OUT}" fi go_os_arch=${LOCAL_OUT##*/} # Golang OS/Arch format LOCAL_GO_OS=${go_os_arch%_*} LOCAL_GO_ARCH=${go_os_arch##*_} BUILD_WITH_CONTAINER=0 VARS=( CONTAINER_TARGET_OUT CONTAINER_TARGET_OUT_LINUX TARGET_OUT
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 06 04:52:54 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/http-stats.go
} apiStats[k] = v } return apiStats } // HTTPStats holds statistics information about // HTTP requests made by all clients type HTTPStats struct { s3RequestsInQueue int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG _ int32 // For 64 bits alignment s3RequestsIncoming uint64 rejectedRequestsAuth uint64 rejectedRequestsTime uint64 rejectedRequestsHeader uint64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 11.4K bytes - Viewed (0) -
src/cmd/api/main_test.go
// For example, on return: // // w.importMap["math"] = "math" // w.importDir["math"] = "<goroot>/src/math" // // w.importMap["golang.org/x/net/route"] = "vendor/golang.org/x/net/route" // w.importDir["vendor/golang.org/x/net/route"] = "<goroot>/src/vendor/golang.org/x/net/route" // // Since the set of packages that exist depends on context, the result of
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
// limitations under the License. package iptables import ( "errors" "fmt" "net" "os" "strings" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" "istio.io/istio/pkg/ptr" ) func AddInpodMarkIPRule(cfg *Config) error { err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd) if errors.Is(err, unix.EEXIST) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 06 09:44:28 UTC 2024 - 4K bytes - Viewed (0)