Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for NetBSD (0.1 sec)

  1. src/runtime/os_netbsd.go

    // netbsdMstart0 is the function call that starts executing a newly
    // created thread. On NetBSD, a new thread inherits the signal stack
    // of the creating thread. That confuses minit, so we remove that
    // signal stack here before calling the regular mstart. It's a bit
    // baroque to remove a signal stack here only to add one in minit, but
    // it's a simple change that keeps NetBSD working like other OS's.
    // At this point all signals are blocked, so there is no race.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/syscall/mksyscall.pl

    if($ARGV[0] eq "-plan9") {
    	$plan9 = 1;
    	shift;
    }
    if($ARGV[0] eq "-darwin") {
    	$darwin = 1;
    	$libc = 1;
    	shift;
    }
    if($ARGV[0] eq "-openbsd") {
    	$openbsd = 1;
    	shift;
    }
    if($ARGV[0] eq "-netbsd") {
    	$netbsd = 1;
    	shift;
    }
    if($ARGV[0] eq "-dragonfly") {
    	$dragonfly = 1;
    	shift;
    }
    if($ARGV[0] eq "-arm") {
    	$arm = 1;
    	shift;
    }
    if($ARGV[0] eq "-libc") {
    	$libc = 1;
    	shift;
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. 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)
  4. src/os/file_unix.go

    		case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd":
    			var st syscall.Stat_t
    			err := ignoringEINTR(func() error {
    				return syscall.Fstat(fd, &st)
    			})
    			typ := st.Mode & syscall.S_IFMT
    			// Don't try to use kqueue with regular files on *BSDs.
    			// On FreeBSD a regular file is always
    			// reported as ready for writing.
    			// On Dragonfly, NetBSD and OpenBSD the fd is signaled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/net/http/cgi/host.go

    var trailingPort = regexp.MustCompile(`:([0-9]+)$`)
    
    var osDefaultInheritEnv = func() []string {
    	switch runtime.GOOS {
    	case "darwin", "ios":
    		return []string{"DYLD_LIBRARY_PATH"}
    	case "android", "linux", "freebsd", "netbsd", "openbsd":
    		return []string{"LD_LIBRARY_PATH"}
    	case "hpux":
    		return []string{"LD_LIBRARY_PATH", "SHLIB_PATH"}
    	case "irix":
    		return []string{"LD_LIBRARY_PATH", "LD_LIBRARYN32_PATH", "LD_LIBRARY64_PATH"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/os/signal/signal_cgo_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 && !android) || netbsd || openbsd) && cgo
    
    // Note that this test does not work on Solaris: issue #22849.
    // Don't run the test on Android because at least some versions of the
    // C library do not define the posix_openpt function.
    
    package signal_test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/syscall/syscall_unix.go

    	"sync"
    	"unsafe"
    )
    
    var (
    	Stdin  = 0
    	Stdout = 1
    	Stderr = 2
    )
    
    const (
    	darwin64Bit = (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && sizeofPtr == 8
    	netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4
    )
    
    // clen returns the index of the first NULL byte in n or len(n) if n contains no NULL byte.
    func clen(n []byte) int {
    	if i := bytealg.IndexByte(n, 0); i != -1 {
    		return i
    	}
    	return len(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/os/removeall_test.go

    		t.Fatalf("Lstat %q succeeded after RemoveAll", path)
    	}
    }
    
    func TestRemoveAllLongPath(t *testing.T) {
    	switch runtime.GOOS {
    	case "aix", "darwin", "ios", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "illumos", "solaris":
    		break
    	default:
    		t.Skip("skipping for not implemented platforms")
    	}
    
    	prevDir, err := Getwd()
    	if err != nil {
    		t.Fatalf("Could not get wd: %s", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/net/timeout_test.go

    // timeoutUpperBound returns the maximum time that we expect a timeout of
    // duration d to take to return the caller.
    func timeoutUpperBound(d time.Duration) time.Duration {
    	switch runtime.GOOS {
    	case "openbsd", "netbsd":
    		// NetBSD and OpenBSD seem to be unable to reliably hit deadlines even when
    		// the absolute durations are long.
    		// In https://build.golang.org/log/c34f8685d020b98377dd4988cd38f0c5bd72267e,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  10. src/runtime/pprof/proto_test.go

    // testPCs returns two PCs and two corresponding memory mappings
    // to use in test profiles.
    func testPCs(t *testing.T) (addr1, addr2 uint64, map1, map2 *profile.Mapping) {
    	switch runtime.GOOS {
    	case "linux", "android", "netbsd":
    		// Figure out two addresses from /proc/self/maps.
    		mmap, err := os.ReadFile("/proc/self/maps")
    		if err != nil {
    			t.Fatal(err)
    		}
    		var mappings []*profile.Mapping
    		id := uint64(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top