- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,272 for unixOS (0.12 sec)
-
pkg/kubelet/eviction/threshold_notifier_linux.go
var err error watchfd, err = unix.Open(fmt.Sprintf("%s/%s", path, attribute), unix.O_RDONLY|unix.O_CLOEXEC, 0) if err != nil { return nil, err } defer unix.Close(watchfd) controlfd, err = unix.Open(fmt.Sprintf("%s/cgroup.event_control", path), unix.O_WRONLY|unix.O_CLOEXEC, 0) if err != nil { return nil, err } defer unix.Close(controlfd) eventfd, err = unix.Eventfd(0, unix.EFD_CLOEXEC) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 01 21:59:54 UTC 2022 - 5.8K bytes - Viewed (0) -
src/cmd/internal/osinfo/os_unix.go
//go:build unix package osinfo import "golang.org/x/sys/unix" // Version returns the OS version name/number. func Version() (string, error) { var uts unix.Utsname if err := unix.Uname(&uts); err != nil { return "", err } sysname := unix.ByteSliceToString(uts.Sysname[:]) release := unix.ByteSliceToString(uts.Release[:]) version := unix.ByteSliceToString(uts.Version[:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 23:58:34 UTC 2022 - 666 bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultConfigurableFilePermissionsTest.java
assertInvalidUnixPermission("rwxrwx|wx", "'rwxrwx|wx' isn't a proper Unix permission. '|' is not a valid Unix permission READ flag, must be 'r' or '-'."); assertInvalidUnixPermission("r|xrwxrwx", "'r|xrwxrwx' isn't a proper Unix permission. '|' is not a valid Unix permission WRITE flag, must be 'w' or '-'.");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.8K bytes - Viewed (0) -
src/path/filepath/example_unix_test.go
import ( "fmt" "path/filepath" ) func ExampleSplitList() { fmt.Println("On Unix:", filepath.SplitList("/a/b/c:/usr/bin")) // Output: // On Unix: [/a/b/c /usr/bin] } func ExampleRel() { paths := []string{ "/a/b/c", "/b/c", "./b/c", } base := "/a" fmt.Println("On Unix:") for _, p := range paths { rel, err := filepath.Rel(base, p) fmt.Printf("%q: %q %v\n", p, rel, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 3.4K bytes - Viewed (0) -
internal/http/dial_linux.go
// Enable custom socket send/recv buffers. if opts.SendBufSize > 0 { _ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_SNDBUF, opts.SendBufSize) } if opts.RecvBufSize > 0 { _ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_RCVBUF, opts.RecvBufSize) } // Enable TCP open // https://lwn.net/Articles/508865/ - 32k queue size.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 4.8K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{"-1", time.Unix(-1, -0e0+0e0), true}, {"-1.999000", time.Unix(-1, -1e9+1e6), true}, {"-1.999999", time.Unix(-1, -1e9+1e3), true}, {"-1.999999999", time.Unix(-1, -1e9+1e0), true}, {"0.000000001", time.Unix(0, 1e0+0e0), true}, {"0.000001", time.Unix(0, 1e3+0e0), true}, {"0.001000", time.Unix(0, 1e6+0e0), true}, {"0", time.Unix(0, 0e0), true}, {"0.999000", time.Unix(0, 1e9-1e6), true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
src/os/user/cgo_lookup_syscall.go
var result *_C_struct_group errno = unix.Getgrgid(gid, &grp, buf, size, &result) return grp, result != nil, errno } const ( _C__SC_GETPW_R_SIZE_MAX = unix.SC_GETPW_R_SIZE_MAX _C__SC_GETGR_R_SIZE_MAX = unix.SC_GETGR_R_SIZE_MAX )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs_linux_test.go
} } } func Test_stringToProtocol(t *testing.T) { tests := []string{ "TCP", "UDP", "ICMP", "SCTP", } expected := []uint16{ uint16(unix.IPPROTO_TCP), uint16(unix.IPPROTO_UDP), uint16(0), uint16(unix.IPPROTO_SCTP), } for i := range tests { got := stringToProtocol(tests[i]) if got != expected[i] { t.Errorf("stringToProtocol() failed - got %#v, want %#v",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 27 16:37:50 UTC 2023 - 9.9K bytes - Viewed (0) -
src/net/cgo_unix_syscall.go
package net import ( "internal/syscall/unix" "runtime" "syscall" "unsafe" ) const ( _C_AF_INET = syscall.AF_INET _C_AF_INET6 = syscall.AF_INET6 _C_AF_UNSPEC = syscall.AF_UNSPEC _C_EAI_AGAIN = unix.EAI_AGAIN _C_EAI_NONAME = unix.EAI_NONAME _C_EAI_SERVICE = unix.EAI_SERVICE _C_EAI_NODATA = unix.EAI_NODATA _C_EAI_OVERFLOW = unix.EAI_OVERFLOW _C_EAI_SYSTEM = unix.EAI_SYSTEM
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 23:50:56 UTC 2024 - 3K bytes - Viewed (0) -
src/net/cgo_darwin.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net import "internal/syscall/unix"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 07 21:05:53 UTC 2022 - 298 bytes - Viewed (0)