Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,025 for getUid (0.15 sec)

  1. 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)
  2. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic exit exit ""
    //go:cgo_import_dynamic fstat$INODE64 fstat$INODE64 ""
    //go:cgo_import_dynamic ftruncate ftruncate ""
    //go:cgo_import_dynamic getpid getpid ""
    //go:cgo_import_dynamic getrlimit getrlimit ""
    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic exit exit ""
    //go:cgo_import_dynamic fstat fstat ""
    //go:cgo_import_dynamic ftruncate ftruncate ""
    //go:cgo_import_dynamic getpid getpid ""
    //go:cgo_import_dynamic getrlimit getrlimit ""
    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/NotMostRecentlyUsedDaemonExpirationStrategy.java

                Date daemonAccessTime = daemonInfo.getLastBusy();
                if (daemonAccessTime.after(mruTimestamp)) {
                    mruUid = daemonInfo.getUid();
                    mruTimestamp = daemonAccessTime;
                }
            }
            return thisDaemonContext.getUid().equals(mruUid);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/controller_ref.go

    func IsControlledBy(obj Object, owner Object) bool {
    	ref := GetControllerOfNoCopy(obj)
    	if ref == nil {
    		return false
    	}
    	return ref.UID == owner.GetUID()
    }
    
    // GetControllerOf returns a pointer to a copy of the controllerRef if controllee has a controller
    func GetControllerOf(controllee Object) *OwnerReference {
    	ref := GetControllerOfNoCopy(controllee)
    	if ref == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 05:14:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	// This accessor provides the methods needed to support matching against webhook
    	// predicates
    	namespace.NamespaceSelectorProvider
    	object.ObjectSelectorProvider
    
    	// GetUID gets a string that uniquely identifies the webhook.
    	GetUID() string
    
    	// GetConfigurationName gets the name of the webhook configuration that owns this webhook.
    	GetConfigurationName() string
    
    	// GetRESTClient gets the webhook client
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/net/interface_unix_test.go

    func TestPointToPointInterface(t *testing.T) {
    	if testing.Short() {
    		t.Skip("avoid external network")
    	}
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    	if os.Getuid() != 0 {
    		t.Skip("must be root")
    	}
    
    	// We suppose that using IPv4 link-local addresses doesn't
    	// harm anyone.
    	local, remote := "169.254.0.1", "169.254.0.254"
    	ip := ParseIP(remote)
    	for i := 0; i < 3; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 23:51:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonInfo.java

                lastBusy = clock.getCurrentTime();
            }
            this.state = state;
            return this;
        }
    
        @Override
        public String getUid() {
            return context.getUid();
        }
    
        @Override
        public Long getPid() {
            return context.getPid();
        }
    
        @Override
        public Address getAddress() {
            return address;
        }
    
        public DaemonContext getContext() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top