Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for NetBSD (0.19 sec)

  1. src/syscall/getdirentries_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 darwin || freebsd || netbsd || openbsd
    
    package syscall_test
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    func TestGetdirentries(t *testing.T) {
    	for _, count := range []int{10, 1000} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/os/user/listgroups_unix_test.go

    // 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 || (js && wasm) || wasip1 || (!android && linux) || netbsd || openbsd || solaris) && ((!cgo && !darwin) || osusergo)) || aix || illumos
    
    package user
    
    import (
    	"fmt"
    	"slices"
    	"strings"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/cpu_arm64.go

    		{Name: "asimddp", Feature: &ARM64.HasASIMDDP},
    		{Name: "asimdfhm", Feature: &ARM64.HasASIMDFHM},
    	}
    }
    
    func archInit() {
    	switch runtime.GOOS {
    	case "freebsd":
    		readARM64Registers()
    	case "linux", "netbsd", "openbsd":
    		doinit()
    	default:
    		// Many platforms don't seem to allow reading these registers.
    		setMinimalFeatures()
    	}
    }
    
    // setMinimalFeatures fakes the minimal ARM64 features expected by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/os/dir_unix.go

    // Copyright 2009 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 || dragonfly || freebsd || (js && wasm) || wasip1 || linux || netbsd || openbsd || solaris
    
    package os
    
    import (
    	"internal/byteorder"
    	"internal/goarch"
    	"io"
    	"runtime"
    	"sync"
    	"syscall"
    	"unsafe"
    )
    
    // Auxiliary information if the File describes a directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/net/main_test.go

    			{"udp6", "[" + addr + "%" + ifi.Name + "]:0", false},
    		}...)
    		switch runtime.GOOS {
    		case "darwin", "ios", "dragonfly", "freebsd", "openbsd", "netbsd":
    			ipv6LinkLocalUnicastTCPTests = append(ipv6LinkLocalUnicastTCPTests, []ipv6LinkLocalUnicastTest{
    				{"tcp", "[localhost%" + ifi.Name + "]:0", true},
    				{"tcp6", "[localhost%" + ifi.Name + "]:0", true},
    			}...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/bug/bug.go

    		printCmdOut(w, "", "sw_vers")
    	case "linux":
    		printCmdOut(w, "uname -sr: ", "uname", "-sr")
    		printCmdOut(w, "", "lsb_release", "-a")
    		printGlibcVersion(w)
    	case "openbsd", "netbsd", "freebsd", "dragonfly":
    		printCmdOut(w, "uname -v: ", "uname", "-v")
    	case "illumos", "solaris":
    		// Be sure to use the OS-supplied uname, in "/usr/bin":
    		printCmdOut(w, "uname -srv: ", "/usr/bin/uname", "-srv")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/cmd/dist/build.go

    	"android/arm":     true,
    	"android/arm64":   true,
    	"ios/arm64":       true,
    	"ios/amd64":       true,
    	"js/wasm":         false,
    	"wasip1/wasm":     false,
    	"netbsd/386":      true,
    	"netbsd/amd64":    true,
    	"netbsd/arm":      true,
    	"netbsd/arm64":    true,
    	"openbsd/386":     true,
    	"openbsd/amd64":   true,
    	"openbsd/arm":     true,
    	"openbsd/arm64":   true,
    	"openbsd/mips64":  true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top