Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 113 for getgid (0.13 sec)

  1. 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)
  2. 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)
  3. pkg/controller/statefulset/stateful_set_utils.go

    func hasNonControllerOwner(claim *v1.PersistentVolumeClaim, set *apps.StatefulSet, pod *v1.Pod) bool {
    	for _, ownerRef := range claim.GetOwnerReferences() {
    		if ownerRef.UID == set.GetUID() || ownerRef.UID == pod.GetUID() {
    			if ownerRef.Controller == nil || !*ownerRef.Controller {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. src/runtime/os_linux.go

    	mp.gsignal.m = mp
    }
    
    func gettid() uint32
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    	minitSignals()
    
    	// Cgo-created threads and the bootstrap m are missing a
    	// procid. We need this for asynchronous preemption and it's
    	// useful in debuggers.
    	getg().m.procid = uint64(gettid())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. src/os/exec_test.go

    	if runtime.GOARCH == "wasm" {
    		t.Skip("Signals send + notify not fully supported om wasm port")
    	}
    
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, os.Interrupt)
    	defer signal.Stop(c)
    
    	p := &os.Process{Pid: os.Getpid()}
    	if err := p.Signal(os.Interrupt); err != nil {
    		t.Fatalf("Signal got err %v, want nil", err)
    	}
    
    	// Verify we actually received the signal.
    	select {
    	case <-time.After(1 * time.Second):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/os_plan9.go

    	var buf [_ERRMAX]byte
    	if !atomic.Cas(&exiting, 0, 1) {
    		return
    	}
    	getg().m.locks++
    	n := copy(buf[:], goexits)
    	n = copy(buf[n:], gostringnocopy(status))
    	pid := getpid()
    	for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink {
    		if mp.procid != 0 && mp.procid != pid {
    			postnote(mp.procid, buf[:])
    		}
    	}
    	getg().m.locks--
    }
    
    var procdir = []byte("/proc/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/c/c_test.c

        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"FileInfo", Type, 0},
    		{"FileMode", Type, 0},
    		{"FindProcess", Func, 0},
    		{"Getegid", Func, 0},
    		{"Getenv", Func, 0},
    		{"Geteuid", Func, 0},
    		{"Getgid", Func, 0},
    		{"Getgroups", Func, 0},
    		{"Getpagesize", Func, 0},
    		{"Getpid", Func, 0},
    		{"Getppid", Func, 0},
    		{"Getuid", Func, 0},
    		{"Getwd", Func, 0},
    		{"Hostname", Func, 0},
    		{"Interrupt", Var, 0},
    		{"IsExist", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. tests/main.py

        return {"message": "Hello World"}
    
    
    app.add_api_route("/non_decorated_route", non_decorated_route)
    
    
    @app.get("/text")
    def get_text():
        return "Hello World"
    
    
    @app.get("/path/{item_id}")
    def get_id(item_id):
        return item_id
    
    
    @app.get("/path/str/{item_id}")
    def get_str_id(item_id: str):
        return item_id
    
    
    @app.get("/path/int/{item_id}")
    def get_int_id(item_id: int):
        return item_id
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java

            this.status = status;
            this.reason = reason;
            this.pid = pid;
        }
    
        public Date getTimestamp() {
            return timestamp;
        }
    
        @Nullable
        public Long getPid() {
            return pid;
        }
    
        @Nullable
        public DaemonExpirationStatus getStatus() {
            return status;
        }
    
        @Nullable
        public String getReason() {
            if (reason == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top