- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 171 for NetBSD (0.15 sec)
-
src/runtime/testdata/testprogcgo/stackswitch.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix && !android && !openbsd // Required for darwin ucontext. #define _XOPEN_SOURCE // Required for netbsd stack_t if _XOPEN_SOURCE is set. #define _XOPEN_SOURCE_EXTENDED 1 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include <assert.h> #include <pthread.h> #include <stddef.h> #include <stdio.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 15:17:33 UTC 2023 - 3.9K bytes - Viewed (0) -
src/net/tcpconn_keepalive_test.go
// Copyright 2023 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 || solaris || windows package net import ( "runtime" "testing" ) func TestTCPConnKeepAliveConfigDialer(t *testing.T) { maybeSkipKeepAliveTest(t) t.Cleanup(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 4.2K bytes - Viewed (0) -
src/syscall/dirent_test.go
// Note: the size of the buffer is small enough that the loop // below will need to execute multiple times. See issue #31368. size := N * unsafe.Offsetof(syscall.Dirent{}.Name) / 4 if runtime.GOOS == "freebsd" || runtime.GOOS == "netbsd" { if size < 1024 { size = 1024 // DIRBLKSIZ, see issue 31403. } } // Make a directory containing N files d := t.TempDir() var files []string for i := 0; i < N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/crash_unix_test.go
t.Errorf("close()=%d, want -1", c) } } func TestCrashDumpsAllThreads(t *testing.T) { if *flagQuick { t.Skip("-quick") } switch runtime.GOOS { case "darwin", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "illumos", "solaris": default: t.Skipf("skipping; not supported on %v", runtime.GOOS) } if runtime.GOOS == "openbsd" && (runtime.GOARCH == "arm" || runtime.GOARCH == "mips64" || runtime.GOARCH == "ppc64") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0) -
src/net/interface_unix_test.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 || linux || netbsd || openbsd package net import ( "fmt" "os" "os/exec" "runtime" "strings" "testing" "time" ) type testInterface struct { name string local string remote string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 23:51:35 UTC 2023 - 4.9K bytes - Viewed (0) -
src/syscall/bpf_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 darwin || dragonfly || freebsd || netbsd || openbsd // Berkeley packet filter for BSD variants package syscall import ( "unsafe" ) // Deprecated: Use golang.org/x/net/bpf instead. func BpfStmt(code, k int) *BpfInsn {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 4K bytes - Viewed (0) -
src/net/writev_test.go
var gotSum int for _, v := range writeLog.log { gotSum += v } var wantSum int switch runtime.GOOS { case "aix", "android", "darwin", "ios", "dragonfly", "freebsd", "illumos", "linux", "netbsd", "openbsd", "solaris": var wantMinCalls int wantSum = want.Len() v := chunks for v > 0 { wantMinCalls++ v -= 1024 } if len(writeLog.log) < wantMinCalls {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 5K bytes - Viewed (0) -
src/runtime/runtime-gdb_test.go
func checkGdbEnvironment(t *testing.T) { testenv.MustHaveGoBuild(t) switch runtime.GOOS { case "darwin": t.Skip("gdb does not work on darwin") case "netbsd": t.Skip("gdb does not work with threads on NetBSD; see https://golang.org/issue/22893 and https://gnats.netbsd.org/52548") case "linux": if runtime.GOARCH == "ppc64" { t.Skip("skipping gdb tests on linux/ppc64; see https://golang.org/issue/17366") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 23.2K bytes - Viewed (0) -
src/cmd/link/elf_test.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 dragonfly || freebsd || linux || netbsd || openbsd package main import ( "bytes" "cmd/internal/buildid" "cmd/internal/notsha256" "cmd/link/internal/ld" "debug/elf" "fmt" "internal/platform" "internal/testenv" "os" "os/exec" "path/filepath"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:34:01 UTC 2023 - 13.7K bytes - Viewed (0) -
src/runtime/netpoll_kqueue.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 runtime // Integrated network poller (kqueue-based implementation). import ( "internal/goarch" "internal/runtime/atomic" "unsafe" ) var ( kq int32 = -1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.6K bytes - Viewed (0)