Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 170 for NetBSD (0.2 sec)

  1. src/vendor/golang.org/x/net/route/binary.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
    
    // This file contains duplicates of encoding/binary package.
    //
    // This package is supposed to be used by the net package of standard
    // library. Therefore the package set used in the package must be the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. src/archive/tar/stat_unix.go

    		case "freebsd":
    			// Copied from golang.org/x/sys/unix/dev_freebsd.go.
    			major := uint32((dev >> 8) & 0xff)
    			minor := uint32(dev & 0xffff00ff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "netbsd":
    			// Copied from golang.org/x/sys/unix/dev_netbsd.go.
    			major := uint32((dev & 0x000fff00) >> 8)
    			minor := uint32((dev & 0x000000ff) >> 0)
    			minor |= uint32((dev & 0xfff00000) >> 12)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/dirent.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 || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    package unix
    
    import "unsafe"
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall.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 || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    // Package unix contains an interface to the low-level operating system
    // primitives. OS details vary depending on the underlying system, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue18146.go

    	var nproc int
    	setNproc := true
    	switch runtime.GOOS {
    	default:
    		setNproc = false
    	case "aix":
    		nproc = 9
    	case "linux":
    		nproc = 6
    	case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd":
    		nproc = 7
    	}
    	if setNproc {
    		var rlim syscall.Rlimit
    		if syscall.Getrlimit(nproc, &rlim) == nil {
    			max := int(rlim.Cur) / (threads + 5)
    			if attempts > max {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/link/internal/amd64/obj.go

    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(0x1000000, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hlinux, /* elf64 executable */
    		objabi.Hfreebsd,   /* freebsd */
    		objabi.Hnetbsd,    /* netbsd */
    		objabi.Hopenbsd,   /* openbsd */
    		objabi.Hdragonfly, /* dragonfly */
    		objabi.Hsolaris:   /* solaris */
    		ld.Elfinit(ctxt)
    
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/syscall/route_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 darwin || dragonfly || freebsd || netbsd || openbsd
    
    package syscall
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    var (
    	freebsdConfArch       string // "machine $arch" line in kern.conftxt on freebsd
    	minRoutingSockaddrLen = rsaAlignOf(0)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/cmd/pprof/pprof_test.go

    	switch runtime.GOOS {
    	case "plan9":
    		t.Skipf("skipping on %s, unimplemented", runtime.GOOS)
    	case "aix":
    		t.Skipf("skipping on %s, issue 45170", runtime.GOOS)
    	case "ios", "dragonfly", "netbsd", "illumos", "solaris":
    		t.Skipf("skipping on %s, issue 13841", runtime.GOOS)
    	case "openbsd":
    		if runtime.GOARCH == "arm" || runtime.GOARCH == "arm64" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. 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)
Back to top