Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 411 for getgid (0.17 sec)

  1. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andx.setFlags(getFlags());
                this.andx.setFlags2(getFlags2());
                this.andx.setTid(getTid());
                this.andx.setPid(getPid());
                this.andx.setUid(getUid());
                this.andx.setMid(getMid());
                this.andx.setUseUnicode(this.isUseUnicode());
    
                if ( this.andx instanceof AndXServerMessageBlock ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java

            // Look for 'our' daemon among the busy daemons - a daemon will start in busy state so that nobody else will grab it.
            for (DaemonInfo daemonInfo : daemonRegistry.getNotIdle()) {
                if (daemonInfo.getUid().equals(daemon.getUid())) {
                    try {
                        if (!constraint.isSatisfiedBy(daemonInfo.getContext())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.1K 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/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public final long getMid () {
            return this.mid;
        }
    
    
        /**
         * @param mid
         *            the mid to set
         */
        @Override
        public final void setMid ( long mid ) {
            this.mid = (int) mid;
        }
    
    
        /**
         * @return the tid
         */
        public final int getTid () {
            return this.tid;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_test.go

    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

            failure.assertHasDescription(DaemonDisappearedException.MESSAGE)
    
            and:
            daemons.daemon.stops()
        }
    
        String getSid(Long pid) {
            return file("getSid/build/install/getSid/lib/getSid").exec(pid as String).out.trim()
        }
    
        String getConsole(Long pid) {
            return file("attachConsole/build/install/attachConsole/attachConsole.bat").exec(pid as String).out.trim()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top