Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 181 for syscall0 (0.26 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/go/build/deps_test.go

    	< io;
    
    	RUNTIME
    	< arena;
    
    	syscall !< io;
    	reflect !< sort;
    
    	RUNTIME, unicode/utf8
    	< path;
    
    	unicode !< path;
    
    	# SYSCALL is RUNTIME plus the packages necessary for basic system calls.
    	RUNTIME, unicode/utf8, unicode/utf16
    	< internal/syscall/windows/sysdll, syscall/js
    	< syscall
    	< internal/syscall/unix, internal/syscall/windows, internal/syscall/windows/registry
    	< internal/syscall/execenv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. src/syscall/exec_linux.go

    	CLONE_IO             = 0x80000000 // Clone io context
    
    	// Flags for the clone3() syscall.
    
    	CLONE_CLEAR_SIGHAND = 0x100000000 // Clear any signal handler and reset to SIG_DFL.
    	CLONE_INTO_CGROUP   = 0x200000000 // Clone into a specific cgroup given the right permissions.
    
    	// Cloning flags intersect with CSIGNAL so can be used with unshare and clone3
    	// syscalls only:
    
    	CLONE_NEWTIME = 0x00000080 // New time namespace
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/syscall/unix/nofollow_posix.go

    // 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)
  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/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)
  10. 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)
Back to top