Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 169 for getgid (0.4 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonConnectDetails.java

    package org.gradle.launcher.daemon.context;
    
    import org.gradle.internal.remote.Address;
    
    /**
     * Data to identify and connect to a daemon.
     */
    public interface DaemonConnectDetails {
        String getUid();
    
        Long getPid();
    
        Address getAddress();
    
        byte[] getToken();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 893 bytes
    - Viewed (0)
  2. src/runtime/syscall2_solaris.go

    //go:cgo_import_dynamic libc_getpid getpid "libc.so"
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    //go:cgo_import_dynamic libc_setgid setgid "libc.so"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
    //go:cgo_import_dynamic libc_setsid setsid "libc.so"
    //go:cgo_import_dynamic libc_setuid setuid "libc.so"
    //go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/runtime/runtime_linux_test.go

    	// we can't test that it does anything.
    	// Instead we're testing that the conditions are good
    	// for how it is used in init (must be on main thread).
    	pid, tid = syscall.Getpid(), syscall.Gettid()
    	LockOSThread()
    
    	sysNanosleep = func(d time.Duration) {
    		// Invoke a blocking syscall directly; calling time.Sleep()
    		// would deschedule the goroutine instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:20:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/os/getwd.go

    var getwdCache struct {
    	sync.Mutex
    	dir string
    }
    
    // Getwd returns a rooted path name corresponding to the
    // current directory. If the current directory can be
    // reached via multiple paths (due to symbolic links),
    // Getwd may return any one of them.
    func Getwd() (dir string, err error) {
    	if runtime.GOOS == "windows" || runtime.GOOS == "plan9" {
    		return syscall.Getwd()
    	}
    
    	// Clumsy but widespread kludge:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 28 06:28:02 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  5. src/syscall/exec_libc.go

    func forkx(flags uintptr) (pid uintptr, err Errno)
    func getpid() (pid uintptr, err Errno)
    func ioctl(fd uintptr, req uintptr, arg uintptr) (err Errno)
    func setgid(gid uintptr) (err Errno)
    func setgroups1(ngid uintptr, gid uintptr) (err Errno)
    func setrlimit1(which uintptr, lim unsafe.Pointer) (err Errno)
    func setsid() (pid uintptr, err Errno)
    func setuid(uid uintptr) (err Errno)
    func setpgid(pid uintptr, pgid uintptr) (err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. src/os/signal/signal_plan9_test.go

    	defer Stop(c)
    
    	// Send this process a hangup
    	t.Logf("hangup...")
    	postNote(syscall.Getpid(), "hangup")
    	waitSig(t, c, syscall.Note("hangup"))
    
    	// Ask for everything we can get.
    	c1 := make(chan os.Signal, 1)
    	Notify(c1)
    
    	// Send this process an alarm
    	t.Logf("alarm...")
    	postNote(syscall.Getpid(), "alarm")
    	waitSig(t, c1, syscall.Note("alarm"))
    
    	// Send two more hangups, to make sure that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/setgid_linux.go

    // Test that setgid does not hang on Linux.
    // See https://golang.org/issue/3871 for details.
    
    package cgotest
    
    /*
    #include <sys/types.h>
    #include <unistd.h>
    */
    import "C"
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func runTestSetgid() bool {
    	c := make(chan bool)
    	go func() {
    		C.setgid(0)
    		c <- true
    	}()
    	select {
    	case <-c:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 843 bytes
    - Viewed (0)
  8. src/os/exec/read3.go

    		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"
    		switch runtime.GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 26 14:49:07 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/syscall/exec_solaris_test.go

    //go:build solaris
    
    package syscall
    
    import "unsafe"
    
    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so"
    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so"
    
    //go:linkname libc_Getpgid libc_Getpgid
    //go:linkname libc_Getpgrp libc_Getpgrp
    
    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc

            auto aliases = llvm::to_vector<4>(analysis.GetResourceAliases(value));
            llvm::sort(aliases,
                       [&](Value v1, Value v2) { return get_id(v1) < get_id(v2); });
            llvm::interleaveComma(aliases, diag,
                                  [&](Value v) { diag << get_id(v); });
          }
        };
    
        // Assign a unique ID to each value seen in this function.
        func.walk([&](Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top