Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 171 for NetBSD (0.15 sec)

  1. src/cmd/vendor/golang.org/x/term/term_unix.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 term
    
    import (
    	"golang.org/x/sys/unix"
    )
    
    type state struct {
    	termios unix.Termios
    }
    
    func isTerminal(fd int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/runtime/mem_bsd.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 dragonfly || freebsd || netbsd || openbsd || solaris
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Don't split the stack as this function may be invoked without a valid G,
    // which prevents us from allocating more stack.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf.go

    	out.Write32(namesz)
    	out.Write32(descsz)
    	out.Write32(tag)
    
    	return sh
    }
    
    // NetBSD Signature (as per sys/exec_elf.h)
    const (
    	ELF_NOTE_NETBSD_NAMESZ  = 7
    	ELF_NOTE_NETBSD_DESCSZ  = 4
    	ELF_NOTE_NETBSD_TAG     = 1
    	ELF_NOTE_NETBSD_VERSION = 700000000 /* NetBSD 7.0 */
    )
    
    var ELF_NOTE_NETBSD_NAME = []byte("NetBSD\x00")
    
    func elfnetbsdsig(sh *ElfShdr, startva uint64, resoff uint64) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. src/net/tcpconn_keepalive_posix_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 || windows
    
    package net
    
    import (
    	"syscall"
    	"testing"
    	"time"
    )
    
    func getCurrentKeepAliveSettings(fd fdType) (cfg KeepAliveConfig, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:02:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/sys/unix/ioctl_unsigned.go

    // Copyright 2018 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 || hurd || linux || netbsd || openbsd
    
    package unix
    
    import (
    	"unsafe"
    )
    
    // ioctl itself should not be exposed directly, but additional get/set
    // functions for specific types are permissible.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/timestruct.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
    
    package unix
    
    import "time"
    
    // TimespecToNsec returns the time stored in ts as nanoseconds.
    func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix.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 || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    // Socket control messages
    
    package unix
    
    import (
    	"unsafe"
    )
    
    // CmsgLen returns the value to store in the Len field of the Cmsghdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. cmd/os_unix.go

    //go:build (linux && !appengine) || darwin || freebsd || netbsd || openbsd
    // +build linux,!appengine darwin freebsd netbsd openbsd
    
    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top