Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for NetBSD (0.13 sec)

  1. src/os/fifo_test.go

    // Copyright 2015 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
    
    package os_test
    
    import (
    	"errors"
    	"internal/syscall/unix"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"strconv"
    	"sync"
    	"syscall"
    	"testing"
    	"time"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:47:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/lock_sema.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 aix || darwin || netbsd || openbsd || plan9 || solaris || windows
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // This implementation depends on OS-specific implementations of
    //
    //	func semacreate(mp *m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/internal/platform/supported.go

    	switch goos {
    	case "linux":
    		return goarch == "amd64" || goarch == "ppc64le" || goarch == "arm64" || goarch == "s390x"
    	case "darwin":
    		return goarch == "amd64" || goarch == "arm64"
    	case "freebsd", "netbsd", "windows":
    		return goarch == "amd64"
    	default:
    		return false
    	}
    }
    
    // MSanSupported reports whether goos/goarch supports the memory
    // sanitizer option.
    func MSanSupported(goos, goarch string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/net/interface.go

    import (
    	"errors"
    	"internal/itoa"
    	"sync"
    	"time"
    	_ "unsafe"
    )
    
    // BUG(mikio): On JS, methods and functions related to
    // Interface are not implemented.
    
    // BUG(mikio): On AIX, DragonFly BSD, NetBSD, OpenBSD, Plan 9 and
    // Solaris, the MulticastAddrs method of Interface is not implemented.
    
    // errNoSuchInterface should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top