Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 124 for getppid (0.75 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/processenvironment/AbstractProcessEnvironment.java

        @Override
        public boolean maybeSetProcessDir(File processDir) {
            setProcessDir(processDir);
            return true;
        }
    
        @Override
        public Long maybeGetPid() {
            return getPid();
        }
    
        @Override
        public boolean maybeDetachProcess() {
            detachProcess();
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/script/conds.go

    			}
    			switch suffix {
    			case "gc", "gccgo":
    				return false, nil
    			default:
    				return false, fmt.Errorf("unrecognized compiler %q", suffix)
    			}
    		})
    
    	conds["root"] = BoolCondition("os.Geteuid() == 0", os.Geteuid() == 0)
    
    	return conds
    }
    
    // Condition returns a Cond with the given summary and evaluation function.
    func Condition(summary string, eval func(*State) (bool, error)) Cond {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/BaseContext.java

                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getPipe(java.lang.String, int)
         */
        @Override
        public SmbPipeResource getPipe ( String url, int pipeType ) throws CIFSException {
            try {
                return new SmbNamedPipe(url, pipeType, this);
            }
            catch ( MalformedURLException e ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/ProcessEnvironment.java

        boolean maybeSetProcessDir(File processDir);
    
        /**
         * Returns the OS level PID for the current process.
         *
         * @throws NativeIntegrationException If the pid is not available.
         */
        Long getPid() throws NativeIntegrationException;
    
        /**
         * Returns the OS level PID for the current process, or null if not available.
         */
        Long maybeGetPid();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/log/syslog/syslog.go

    		timestamp := time.Now().Format(time.Stamp)
    		_, err := fmt.Fprintf(n.conn, "<%d>%s %s[%d]: %s%s",
    			p, timestamp,
    			tag, os.Getpid(), msg, nl)
    		return err
    	}
    	timestamp := time.Now().Format(time.RFC3339)
    	_, err := fmt.Fprintf(n.conn, "<%d>%s %s %s[%d]: %s%s",
    		p, timestamp, hostname,
    		tag, os.Getpid(), msg, nl)
    	return err
    }
    
    func (n *netConn) close() error {
    	return n.conn.Close()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. src/syscall/exec_libc.go

    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Set process group
    	if sys.Setpgid || sys.Foreground {
    		// Place child in process group.
    		err1 = setpgid(0, uintptr(sys.Pgid))
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	if sys.Foreground {
    		pgrp = _Pid_t(sys.Pgid)
    		if pgrp == 0 {
    			r1, err1 = getpid()
    			if err1 != 0 {
    				goto childerror
    			}
    
    			pgrp = _Pid_t(r1)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonRegistryUpdater.java

            LOGGER.debug("Storing daemon stop event: {}", reason);
            final Date timestamp = new Date(System.currentTimeMillis());
            daemonRegistry.storeStopEvent(new DaemonStopEvent(timestamp, daemonContext.getPid(), status, reason));
        }
    
        @Override
        public void stop() {
            LOGGER.debug("Removing our presence to clients, eg. removing this address from the registry: {}", connectorAddress);
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/net/http/cgi/cgi_main.go

    	}
    
    	params := req.Form
    	if params.Get("loc") != "" {
    		fmt.Printf("Location: %s\r\n\r\n", params.Get("loc"))
    		return
    	}
    
    	fmt.Printf("Content-Type: text/html\r\n")
    	fmt.Printf("X-CGI-Pid: %d\r\n", os.Getpid())
    	fmt.Printf("X-Test-Header: X-Test-Value\r\n")
    	fmt.Printf("\r\n")
    
    	if params.Get("writestderr") != "" {
    		fmt.Fprintf(os.Stderr, "Hello, stderr!\n")
    	}
    
    	if params.Get("bigresponse") != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top