- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,021 for getUid (0.26 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go
GetPath() string })(nil) // The user info accessors known to cache key construction. If this fails to compile, the cache // implementation may need to be updated. var _ user.Info = (interface { GetName() string GetUID() string GetGroups() []string GetExtra() map[string][]string })(nil) // Authorize returns an authorization decision by delegating to another Authorizer. If an equivalent
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java
return "already seen"; } @Override public boolean isSatisfiedBy(DaemonContext element) { return !seen.contains(element.getUid()); } }; DaemonClientConnection connection = connector.maybeConnect(spec); if (connection == null) { LOGGER.lifecycle(DaemonMessages.NO_DAEMONS_RUNNING);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.2K bytes - Viewed (0) -
src/syscall/syscall_js.go
} const ImplementsGetwd = true func Getwd() (wd string, err error) { var buf [PathMax]byte n, err := Getcwd(buf[0:]) if err != nil { 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() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonServerConfiguration.java
import java.io.File; import java.util.List; public interface DaemonServerConfiguration { File getBaseDir(); int getIdleTimeout(); int getPeriodicCheckIntervalMs(); String getUid(); List<String> getJvmOptions(); DaemonParameters.Priority getPriority(); boolean isSingleUse(); boolean isInstrumentationAgentAllowed();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStopClientTest.groovy
} 0 * _ } private DaemonConnectDetails daemon(String id) { Stub(DaemonConnectDetails) { getUid() >> id } } private DaemonContext daemonContext(String id) { Stub(DaemonContext) { getUid() >> id } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.7K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
} func TestCloneNEWUSERAndRemap(t *testing.T) { for _, setgroups := range []bool{false, true} { setgroups := setgroups t.Run(fmt.Sprintf("setgroups=%v", setgroups), func(t *testing.T) { uid := os.Getuid() gid := os.Getgid() cmd := whoamiNEWUSER(t, uid, gid, setgroups) out, err := cmd.CombinedOutput() t.Logf("%v: %v", cmd, err) if uid != 0 && setgroups {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
} // it should have a UUID createdMetadata, err := meta.Accessor(createdNoxuInstance) if err != nil { t.Fatal(err) } if e, a := createdMetadata.GetUID(), eventMetadata.GetUID(); e != a { t.Errorf("expected equal UID for (expected) %v, and (actual) %v", createdNoxuInstance, watchEvent.Object) } case <-time.After(5 * time.Second):
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 11:35:33 UTC 2024 - 33.4K bytes - Viewed (0) -
src/os/removeall_test.go
t.Fatalf("Lstat %q succeeded after RemoveAll (third)", path) } // Chmod is not supported under Windows or wasip1 and test fails as root. if runtime.GOOS != "windows" && runtime.GOOS != "wasip1" && Getuid() != 0 { // Make directory with file and subdirectory and trigger error. if err = MkdirAll(dpath, 0777); err != nil { t.Fatalf("MkdirAll %q: %s", dpath, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:29 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonContext.java
* @see DaemonCompatibilitySpec * @see DaemonRequestContext */ @ServiceScope(Scope.Global.class) public interface DaemonContext { /** * The unique identifier for this daemon. */ String getUid(); /** * The JAVA_HOME in use, as the canonical file. */ File getJavaHome(); JavaLanguageVersion getJavaVersion(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonExpirationStrategyTest.groovy
final long lastIdleTime = lastIdle == -1L ? id * 1000 : lastIdle; Address daemonAddress = createAddress(id) DaemonContext context = Mock(DaemonContext) { _ * getUid() >> uid } DaemonInfo info = new DaemonInfo(daemonAddress, context, "password".bytes, Busy, new MockClock(lastIdleTime)) info.setState(state) registry.store(info) return info }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.1K bytes - Viewed (0)