Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 229 for getVoid (0.2 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                public abstract class MyTransformAction implements TransformAction {
                    // Should be ignored because it's not a getter
                    public void getVoid() {
                    }
    
                    // Should be ignored because it's not a getter
                    public int getWithParameter(int count) {
                        return count;
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                @DisableCachingByDefault(because = "test task")
                public class MyTask extends DefaultTask {
                    // Should be ignored because it's not a getter
                    public void getVoid() {
                    }
    
                    // Should be ignored because it's not a getter
                    public int getWithParameter(int count) {
                        return count;
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  3. pkg/ctrlz/topics/proc.go

    	Threads    int    `json:"threads"`
    	Goroutines int    `json:"goroutines"`
    }
    
    func getProcInfo() *procInfo {
    	pi := procInfo{
    		Egid:       os.Getegid(),
    		Euid:       os.Geteuid(),
    		GID:        os.Getgid(),
    		Pid:        os.Getpid(),
    		Ppid:       os.Getppid(),
    		UID:        os.Getuid(),
    		TempDir:    os.TempDir(),
    		Goroutines: runtime.NumGoroutine(),
    	}
    
    	pi.Groups, _ = os.Getgroups()
    	pi.Wd, _ = os.Hostname()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/syscall/syscall_js.go

    		return "", err
    	}
    	return string(buf[:n]), nil
    }
    
    func Getuid() int {
    	return jsProcess.Call("getuid").Int()
    }
    
    func Getgid() int {
    	return jsProcess.Call("getgid").Int()
    }
    
    func Geteuid() int {
    	return jsProcess.Call("geteuid").Int()
    }
    
    func Getegid() int {
    	return jsProcess.Call("getegid").Int()
    }
    
    func Getgroups() (groups []int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_netbsd.go

    //sys	Fsync(fd int) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. src/os/proc.go

    }
    
    func runtime_args() []string // in package runtime
    
    // Getuid returns the numeric user id of the caller.
    //
    // On Windows, it returns -1.
    func Getuid() int { return syscall.Getuid() }
    
    // Geteuid returns the numeric effective user id of the caller.
    //
    // On Windows, it returns -1.
    func Geteuid() int { return syscall.Geteuid() }
    
    // Getgid returns the numeric group id of the caller.
    //
    // On Windows, it returns -1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/runtime/security_aix.go

    package runtime
    
    // secureMode is only ever mutated in schedinit, so we don't need to worry about
    // synchronization primitives.
    var secureMode bool
    
    func initSecureMode() {
    	secureMode = !(getuid() == geteuid() && getgid() == getegid())
    }
    
    func isSecureMode() bool {
    	return secureMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 449 bytes
    - Viewed (0)
  8. src/runtime/os_aix.go

    }
    
    //go:nosplit
    func getuid() int32 {
    	r, errno := syscall0(&libc_getuid)
    	if errno != 0 {
    		print("getuid failed ", errno)
    		throw("getuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    func geteuid() int32 {
    	r, errno := syscall0(&libc_geteuid)
    	if errno != 0 {
    		print("geteuid failed ", errno)
    		throw("geteuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/syscall/syscall_freebsd.go

    //sys	getdirentries(fd int, buf []byte, basep *uint64) (n int, err error)
    //sys	Getdtablesize() (size int)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. src/syscall/syscall_dragonfly.go

    //sys	Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
    //sys	Getdtablesize() (size int)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top