- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 217 for NetBSD (0.2 sec)
-
src/syscall/exec_bsd.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. //go:build dragonfly || netbsd || (openbsd && mips64) package syscall import ( "runtime" "unsafe" ) type SysProcAttr struct { Chroot string // Chroot. Credential *Credential // Credential. Ptrace bool // Enable tracing.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 7.9K bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_posix_test.go
// Copyright 2024 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 || illumos || linux || netbsd || windows package net import "time" var testConfigs = []KeepAliveConfig{ { Enable: true, Idle: 5 * time.Second, Interval: 3 * time.Second, Count: 10, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:21 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf_test.go
// TestMMap ensures that we can actually mmap on every supported platform. func TestMMap(t *testing.T) { switch runtime.GOOS { default: t.Skip("unsupported OS") case "aix", "darwin", "ios", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "windows": } dir := t.TempDir() filename := filepath.Join(dir, "foo.out") ob := NewOutBuf(nil) if err := ob.Open(filename); err != nil { t.Fatalf("error opening file: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 08 20:03:01 UTC 2021 - 2.2K bytes - Viewed (0) -
src/net/write_unix_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. //go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris package net import ( "bytes" "syscall" "testing" "time" ) // Test that a client can't trigger an endless loop of write system
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.6K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/message.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 darwin || dragonfly || freebsd || netbsd || openbsd package route // A Message represents a routing message. type Message interface { // Sys returns operating system-specific information. Sys() []Sys } // A Sys reprensents operating system-specific information.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/signal_386.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 dragonfly || freebsd || linux || netbsd || openbsd package runtime import ( "internal/abi" "internal/goarch" "unsafe" ) func dumpregs(c *sigctxt) { print("eax ", hex(c.eax()), "\n") print("ebx ", hex(c.ebx()), "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.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 freebsd || netbsd package unix import ( "strings" "unsafe" ) // Derive extattr namespace and attribute name func xattrnamespace(fullattr string) (ns int, attr string, err error) { s := strings.IndexByte(fullattr, '.') if s == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.7K bytes - Viewed (0) -
src/os/user/cgo_listgroups_unix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build (cgo || darwin) && !osusergo && (darwin || dragonfly || freebsd || (linux && !android) || netbsd || openbsd || (solaris && !illumos)) package user import ( "fmt" "strconv" "unsafe" ) const maxGroups = 2048 func listGroups(u *User) ([]string, error) { ug, err := strconv.Atoi(u.Gid)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 1.7K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/route_classic.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 darwin || dragonfly || freebsd || netbsd package route import ( "runtime" "syscall" ) func (m *RouteMessage) marshal() ([]byte, error) { w, ok := wireFormats[m.Type] if !ok { return nil, errUnsupportedMessage } l := w.bodyOff + addrsSpace(m.Addrs)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/internal/bio/buf_mmap.go
// // Darwin unlimited // DragonFly 1000000 (vm.max_proc_mmap) // FreeBSD unlimited // Linux 65530 (vm.max_map_count) // TODO: query /proc/sys/vm/max_map_count? // NetBSD unlimited // OpenBSD unlimited var mmapLimit int32 = 1<<31 - 1 func init() { // Linux is the only practically concerning OS. if runtime.GOOS == "linux" { mmapLimit = 30000 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:20:31 UTC 2024 - 1.6K bytes - Viewed (0)