Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 152 for syscall1 (2.36 sec)

  1. src/syscall/linkname_bsd.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 || netbsd || openbsd
    
    package syscall
    
    import _ "unsafe"
    
    // used by internal/syscall/unix
    //go:linkname ioctlPtr
    
    // golang.org/x/net linknames sysctl.
    // Do not remove or change the type signature.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 426 bytes
    - Viewed (0)
  2. internal/http/dial_others.go

    package http
    
    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    )
    
    // TODO: if possible implement for non-linux platforms, not a priority at the moment
    //
    //nolint:unused
    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		return nil
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 24 04:08:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/syscall/linkname_darwin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syscall
    
    import _ "unsafe"
    
    // used by os
    //go:linkname closedir
    //go:linkname readdir_r
    
    // used by internal/poll
    //go:linkname fdopendir
    
    // used by internal/syscall/unix
    //go:linkname unlinkat
    //go:linkname openat
    //go:linkname fstatat
    
    // used by cmd/link
    //go:linkname msync
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 468 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-bare-m.go

    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing at a generation boundary.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine is exiting with a syscall. It already
    	// acquired a new P.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 956 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/start_windows.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build windows
    
    package telemetry
    
    import (
    	"os/exec"
    	"syscall"
    
    	"golang.org/x/sys/windows"
    )
    
    func init() {
    	daemonize = daemonizeWindows
    }
    
    func daemonizeWindows(cmd *exec.Cmd) {
    	// Set DETACHED_PROCESS creation flag so that closing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 732 bytes
    - Viewed (0)
  6. src/net/tcpsock_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build (!windows && !solaris) || illumos
    
    package net
    
    import "syscall"
    
    // SetKeepAliveConfig configures keep-alive messages sent by the operating system.
    func (c *TCPConn) SetKeepAliveConfig(config KeepAliveConfig) error {
    	if !c.ok() {
    		return syscall.EINVAL
    	}
    
    	if err := setKeepAlive(c.fd, config.Enable); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download_windows.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build windows
    
    package configstore
    
    import (
    	"os/exec"
    	"syscall"
    
    	"golang.org/x/sys/windows"
    )
    
    func init() {
    	needNoConsole = needNoConsoleWindows
    }
    
    func needNoConsoleWindows(cmd *exec.Cmd) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. pkg/kubelet/util/util_windows.go

    }
    
    var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")
    
    // GetBootTime returns the time at which the machine was started, truncated to the nearest second
    func GetBootTime() (time.Time, error) {
    	currentTime := time.Now()
    	output, _, err := tickCount.Call()
    	if errno, ok := err.(syscall.Errno); !ok || errno != 0 {
    		return time.Time{}, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/net/sendfile_windows.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.
    
    package net
    
    import (
    	"internal/poll"
    	"io"
    	"os"
    	"syscall"
    )
    
    const supportsSendfile = true
    
    // sendFile copies the contents of r to c using the TransmitFile
    // system call to minimize copies.
    //
    // if handled == true, sendFile returns the number of bytes copied and any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/internal/trace/parser.go

    	EvGoSysCall         = 28 // syscall enter [timestamp, stack]
    	EvGoSysExit         = 29 // syscall exit [timestamp, goroutine id, seq, real timestamp]
    	EvGoSysBlock        = 30 // syscall blocks [timestamp]
    	EvGoWaiting         = 31 // denotes that goroutine is blocked when tracing starts [timestamp, goroutine id]
    	EvGoInSyscall       = 32 // denotes that goroutine is in syscall when tracing starts [timestamp, goroutine id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top