- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 919 for unixOS (0.15 sec)
-
src/net/cgo_stub.go
// This file holds stub versions of the cgo functions called on Unix systems. // We build this file: // - if using the netgo build tag on a Unix system // - on a Unix system without the cgo resolver functions // (Darwin always provides the cgo functions, in cgo_unix_syscall.go) // - on wasip1, where cgo is never available //go:build (netgo && unix) || (unix && !cgo && !darwin) || js || wasip1 package net import "context"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.3K bytes - Viewed (0) -
src/os/exec/lp_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. //go:build unix package exec import ( "errors" "internal/syscall/unix" "io/fs" "os" "path/filepath" "strings" "syscall" ) // ErrNotFound is the error resulting if a path search failed to find an executable file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/timestruct.go
if usec < 0 { usec += 1e6 sec-- } return setTimeval(sec, usec) } // Unix returns the time stored in ts as seconds plus nanoseconds. func (ts *Timespec) Unix() (sec int64, nsec int64) { return int64(ts.Sec), int64(ts.Nsec) } // Unix returns the time stored in tv as seconds plus nanoseconds. func (tv *Timeval) Unix() (sec int64, nsec int64) { return int64(tv.Sec), int64(tv.Usec) * 1000 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go
}, }, { desc: "invalid url", in: &apiserver.KMSConfiguration{Endpoint: "unix:///foo\n.socket"}, want: field.ErrorList{ field.Invalid(endpointField, "unix:///foo\n.socket", fmt.Sprintf(invalidURLErrFmt, `parse "unix:///foo\n.socket": net/url: invalid control character in URL`)), }, }} for _, tt := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 33.7K bytes - Viewed (0) -
pkg/util/filesystem/util_windows.go
"k8s.io/klog/v2" ) const ( // Amount of time to wait between attempting to use a Unix domain socket. // As detailed in https://github.com/kubernetes/kubernetes/issues/104584 // the first attempt will most likely fail, hence the need to retry socketDialRetryPeriod = 1 * time.Second // Overall timeout value to dial a Unix domain socket, including retries socketDialTimeout = 4 * time.Second )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/term/term_unix_other.go
// 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 324 bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go
"github.com/pkg/errors" "golang.org/x/sys/unix" "k8s.io/klog/v2" utilerrors "k8s.io/apimachinery/pkg/util/errors" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" ) var flagMap = map[string]int{ kubeadmapi.UnmountFlagMNTForce: unix.MNT_FORCE, kubeadmapi.UnmountFlagMNTDetach: unix.MNT_DETACH, kubeadmapi.UnmountFlagMNTExpire: unix.MNT_EXPIRE,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 10:58:44 UTC 2024 - 2.2K bytes - Viewed (0) -
src/os/stat_freebsd.go
package os import ( "internal/filepathlite" "syscall" "time" ) func fillFileStatFromSys(fs *fileStat, name string) { fs.name = filepathlite.Base(name) fs.size = fs.sys.Size fs.modTime = time.Unix(fs.sys.Mtimespec.Unix()) fs.mode = FileMode(fs.sys.Mode & 0777) switch fs.sys.Mode & syscall.S_IFMT { case syscall.S_IFBLK: fs.mode |= ModeDevice case syscall.S_IFCHR: fs.mode |= ModeDevice | ModeCharDevice
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.1K bytes - Viewed (0) -
src/os/stat_linux.go
package os import ( "internal/filepathlite" "syscall" "time" ) func fillFileStatFromSys(fs *fileStat, name string) { fs.name = filepathlite.Base(name) fs.size = fs.sys.Size fs.modTime = time.Unix(fs.sys.Mtim.Unix()) fs.mode = FileMode(fs.sys.Mode & 0777) switch fs.sys.Mode & syscall.S_IFMT { case syscall.S_IFBLK: fs.mode |= ModeDevice case syscall.S_IFCHR: fs.mode |= ModeDevice | ModeCharDevice
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.1K bytes - Viewed (0) -
src/os/stat_netbsd.go
package os import ( "internal/filepathlite" "syscall" "time" ) func fillFileStatFromSys(fs *fileStat, name string) { fs.name = filepathlite.Base(name) fs.size = fs.sys.Size fs.modTime = time.Unix(fs.sys.Mtimespec.Unix()) fs.mode = FileMode(fs.sys.Mode & 0777) switch fs.sys.Mode & syscall.S_IFMT { case syscall.S_IFBLK: fs.mode |= ModeDevice case syscall.S_IFCHR: fs.mode |= ModeDevice | ModeCharDevice
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.1K bytes - Viewed (0)