Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 285 for NetBSD (0.22 sec)

  1. src/crypto/rand/rand.go

    //
    //   - On Linux, FreeBSD, Dragonfly, and Solaris, Reader uses getrandom(2)
    //     if available, and /dev/urandom otherwise.
    //   - On macOS and iOS, Reader uses arc4random_buf(3).
    //   - On OpenBSD and NetBSD, Reader uses getentropy(2).
    //   - On other Unix-like systems, Reader reads from /dev/urandom.
    //   - On Windows, Reader uses the ProcessPrng API.
    //   - On js/wasm, Reader uses the Web Crypto API.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/runtime/runtime_unix_test.go

    // Only works on systems with syscall.Close.
    // We need a fast system call to provoke the race,
    // and Close(-1) is nearly universally fast.
    
    //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || plan9
    
    package runtime_test
    
    import (
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"testing"
    )
    
    func TestGoroutineProfile(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/fdset.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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    package unix
    
    // Set adds fd to the set fds.
    func (fds *FdSet) Set(fd int) {
    	fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS))
    }
    
    // Clear removes fd from the set fds.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 781 bytes
    - Viewed (0)
  4. src/runtime/race/race.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build race && ((linux && (amd64 || arm64 || ppc64le || s390x)) || ((freebsd || netbsd || openbsd || windows) && amd64))
    
    package race
    
    // This file merely ensures that we link in runtime/cgo in race build,
    // this in turn ensures that runtime uses pthread_create to create threads.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 868 bytes
    - Viewed (0)
  5. src/cmd/go/internal/toolchain/umask_unix.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 darwin || freebsd || linux || netbsd || openbsd
    
    package toolchain
    
    import (
    	"io/fs"
    	"syscall"
    )
    
    // sysWriteBits determines which bits to OR into the mode to make a directory writable.
    // It must be called when there are no other file system operations happening.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:44:08 UTC 2023
    - 896 bytes
    - Viewed (0)
  6. src/internal/syscall/unix/nofollow_posix.go

    // Copyright 2024 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 unix && !dragonfly && !freebsd && !netbsd
    
    package unix
    
    import "syscall"
    
    // POSIX.1-2008 says it's ELOOP. Most platforms follow:
    //
    //   - aix: O_NOFOLLOW not documented (https://www.ibm.com/docs/ssw_aix_73/o_bostechref/open.html), assuming ELOOP
    //   - android: see linux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 933 bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/route/route.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    // Package route provides basic functions for the manipulation of
    // packet routing facilities on BSD variants.
    //
    // The package supports any version of Darwin, any version of
    // DragonFly BSD, FreeBSD 7 and above, NetBSD 6 and above, and OpenBSD
    // 5.6 and above.
    package route
    
    import (
    	"errors"
    	"os"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcshared/testdata/libgo2/libgo2.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 || netbsd || openbsd || solaris
    
    package main
    
    // Test a shared library created by -buildmode=c-shared that does not
    // export anything.
    
    import (
    	"fmt"
    	"os"
    	"syscall"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/mremap.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 linux || netbsd
    
    package unix
    
    import "unsafe"
    
    type mremapMmapper struct {
    	mmapper
    	mremap func(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
    }
    
    var mapper = &mremapMmapper{
    	mmapper: mmapper{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. test/fixedbugs/issue16008.go

    // errorcheck -0 -race
    
    //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)
    
    // 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.
    
    package foo
    
    const benchmarkNumNodes = 10000
    
    func BenchmarkUpdateNodeTransaction(b B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top