Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 171 for NetBSD (0.1 sec)

  1. src/crypto/rand/rand_getentropy.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 openbsd || netbsd
    
    package rand
    
    import "internal/syscall/unix"
    
    func init() {
    	// getentropy(2) returns a maximum of 256 bytes per call.
    	altGetRandom = batched(unix.GetEntropy, 256)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 357 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/pagesize_unix.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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    // For Unix, get the pagesize from the runtime.
    
    package unix
    
    import "syscall"
    
    func Getpagesize() int {
    	return syscall.Getpagesize()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 396 bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/route/syscall.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
    
    import _ "unsafe" // for linkname
    
    //go:linkname sysctl syscall.sysctl
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 396 bytes
    - Viewed (0)
  4. src/net/tcpconn_keepalive_conf_unix_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 || dragonfly || freebsd || illumos || linux || netbsd
    
    package net
    
    import (
    	"syscall"
    	"testing"
    )
    
    const (
    	syscall_TCP_KEEPIDLE  = syscall.TCP_KEEPIDLE
    	syscall_TCP_KEEPCNT   = syscall.TCP_KEEPCNT
    	syscall_TCP_KEEPINTVL = syscall.TCP_KEEPINTVL
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 490 bytes
    - Viewed (0)
  5. test/fixedbugs/issue13265.go

    // errorcheck -0 -race
    
    //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)
    
    // 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.
    
    // Issue 13265: nil pointer deref.
    
    package p
    
    func f() {
        var c chan chan chan int
        for ; ; <-<-<-c {
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 438 bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_fatalf.c

    // Copyright 2014 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 || (!android && linux) || dragonfly || freebsd || netbsd || openbsd || solaris
    
    #include <stdarg.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include "libcgo.h"
    
    void
    fatalf(const char* format, ...)
    {
    	va_list ap;
    
    	fprintf(stderr, "runtime/cgo: ");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 14:57:16 UTC 2023
    - 526 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.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 amd64 && netbsd
    
    package unix
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 814 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.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 arm && netbsd
    
    package unix
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: int32(nsec)}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 819 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.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 arm64 && netbsd
    
    package unix
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 814 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/env_unix.go

    // Copyright 2010 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
    
    // Unix environment variables.
    
    package unix
    
    import "syscall"
    
    func Getenv(key string) (value string, found bool) {
    	return syscall.Getenv(key)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 645 bytes
    - Viewed (0)
Back to top