Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 265 for IsSolaris (0.32 sec)

  1. src/net/sendfile_unix_alt.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 && !ios) || dragonfly || freebsd || solaris
    
    package net
    
    import (
    	"internal/poll"
    	"io"
    	"io/fs"
    	"syscall"
    )
    
    const supportsSendfile = true
    
    // sendFile copies the contents of r to c using the sendfile
    // system call to minimize copies.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/runtime/nbpipe_pipe2.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 dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package runtime
    
    func nonblockingPipe() (r, w int32, errno int32) {
    	return pipe2(_O_NONBLOCK | _O_CLOEXEC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 03 20:47:17 UTC 2022
    - 344 bytes
    - Viewed (0)
  3. src/os/exec/read3.go

    		fmt.Printf("readlink(%q) = %q, %v\n", fdfile, link, err)
    
    		var args []string
    		switch runtime.GOOS {
    		case "plan9":
    			args = []string{fmt.Sprintf("/proc/%d/fd", os.Getpid())}
    		case "aix", "solaris", "illumos":
    			args = []string{fmt.Sprint(os.Getpid())}
    		default:
    			args = []string{"-p", fmt.Sprint(os.Getpid())}
    		}
    
    		// Determine which command to use to display open files.
    		ofcmd := "lsof"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 26 14:49:07 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. src/runtime/stubs3.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 !aix && !darwin && !freebsd && !openbsd && !plan9 && !solaris && !wasip1
    
    package runtime
    
    //go:wasmimport gojs runtime.nanotime1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 324 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/pagesize_unix.go

    // 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)
  6. src/runtime/timestub2.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 !aix && !darwin && !freebsd && !openbsd && !solaris && !wasip1 && !windows && !(linux && amd64)
    
    package runtime
    
    //go:wasmimport gojs runtime.walltime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 363 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testso/testdata/so/cgoso_unix.go

    // 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 || dragonfly || freebsd || linux || netbsd || solaris
    
    package cgosotest
    
    /*
    extern int __thread tlsvar;
    int *getTLS() { return &tlsvar; }
    */
    import "C"
    
    func init() {
    	if v := *C.getTLS(); v != 12345 {
    		println("got", v)
    		panic("BAD TLS value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:41 UTC 2023
    - 428 bytes
    - Viewed (0)
  8. src/os/sticky_bsd.go

    // 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 || (js && wasm) || netbsd || openbsd || solaris || wasip1
    
    package os
    
    // According to sticky(8), neither open(2) nor mkdir(2) will create
    // a file with the sticky bit set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 425 bytes
    - Viewed (0)
  9. src/runtime/os_only_solaris.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.
    
    // Solaris code that doesn't also apply to illumos.
    
    //go:build !illumos
    
    package runtime
    
    func getncpu() int32 {
    	n := int32(sysconf(__SC_NPROCESSORS_ONLN))
    	if n < 1 {
    		return 1
    	}
    
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 357 bytes
    - Viewed (0)
  10. src/internal/syscall/unix/asm_solaris.s

    // 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.
    
    #include "textflag.h"
    
    // System calls for Solaris are implemented in runtime/syscall_solaris.go
    
    TEXT ·syscall6(SB),NOSPLIT,$0-88
    	JMP	syscall·sysvicall6(SB)
    
    TEXT ·rawSyscall6(SB),NOSPLIT,$0-88
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 391 bytes
    - Viewed (0)
Back to top