Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 181 for syscall0 (0.28 sec)

  1. src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-bare-m.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 466 bytes
    - Viewed (0)
  2. src/syscall/syscall_linux_test.go

    	origLimit := syscall.OrigRlimitNofile()
    	origRlimitNofile := syscall.GetInternalOrigRlimitNofile()
    
    	if origLimit == nil {
    		defer origRlimitNofile.Store(origLimit)
    		origRlimitNofile.Store(&syscall.Rlimit{
    			Cur: 1024,
    			Max: 65536,
    		})
    	}
    
    	// Get current process's nofile limit
    	var lim syscall.Rlimit
    	if err := syscall.Prlimit(0, syscall.RLIMIT_NOFILE, nil, &lim); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/os/exec.go

    // type, such as [syscall.WaitStatus] on Unix, to access its contents.
    func (p *ProcessState) Sys() any {
    	return p.sys()
    }
    
    // SysUsage returns system-dependent resource usage information about
    // the exited process. Convert it to the appropriate underlying
    // type, such as [*syscall.Rusage] on Unix, to access its contents.
    // (On Unix, *syscall.Rusage matches struct rusage as defined in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. src/os/pidfd_linux_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"os"
    	"syscall"
    	"testing"
    )
    
    func TestFindProcessViaPidfd(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	if err := os.CheckPidfdOnce(); err != nil {
    		// Non-pidfd code paths tested in exec_unix_test.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/path/filepath/path_windows.go

    }
    
    func abs(path string) (string, error) {
    	if path == "" {
    		// syscall.FullPath returns an error on empty path, because it's not a valid path.
    		// To implement Abs behavior of returning working directory on empty string input,
    		// special-case empty path by changing it to "." path. See golang.org/issue/24441.
    		path = "."
    	}
    	fullPath, err := syscall.FullPath(path)
    	if err != nil {
    		return "", err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc.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
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/internal/objabi/pkgspecial.go

    	"-internal/bytealg",
    }
    
    var noRaceFuncPkgs = []string{"sync", "sync/atomic", "internal/runtime/atomic"}
    
    var allowAsmABIPkgs = []string{
    	"runtime",
    	"reflect",
    	"syscall",
    	"internal/bytealg",
    	"internal/chacha8rand",
    	"internal/runtime/syscall",
    	"runtime/internal/startlinetest",
    }
    
    var (
    	pkgSpecials     map[string]PkgSpecial
    	pkgSpecialsOnce sync.Once
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 02:32:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/unsafe/unsafe.go

    //
    //	// INVALID: conversion of nil pointer
    //	u := unsafe.Pointer(nil)
    //	p := unsafe.Pointer(uintptr(u) + offset)
    //
    // (4) Conversion of a Pointer to a uintptr when calling [syscall.Syscall].
    //
    // The Syscall functions in package syscall pass their uintptr arguments directly
    // to the operating system, which then may, depending on the details of the call,
    // reinterpret some of them as pointers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/os/exec_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os_test
    
    import (
    	"internal/testenv"
    	"os"
    	"os/signal"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func TestProcessLiteral(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("Process literals do not work on Windows. FindProcess/etc must initialize the process handle")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/internal/trace/event/go122/event.go

    	EvGoUnblock           // goroutine is unblocked [timestamp, goroutine ID, goroutine seq, stack ID]
    	EvGoSyscallBegin      // syscall enter [timestamp, P seq, stack ID]
    	EvGoSyscallEnd        // syscall exit [timestamp]
    	EvGoSyscallEndBlocked // syscall exit and it blocked at some point [timestamp]
    	EvGoStatus            // goroutine status at the start of a generation [timestamp, goroutine ID, thread ID, status]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top