Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for getppid (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

          index_select.getOnFalse() != body.getArgument(3))
        return failure();
    
      mhlo::OrOp index_or = llvm::dyn_cast_or_null<mhlo::OrOp>(
          index_select.getPred().getDefiningOp());
    
      if (!index_or || index_or.getLhs() != value_select.getPred())
        return failure();
    
      mhlo::AndOp index_and =
          llvm::dyn_cast_or_null<mhlo::AndOp>(index_or.getRhs().getDefiningOp());
      if (!index_and) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/internal/poll/splice_linux.go

    	p := newPipe()
    	if p == nil {
    		return nil
    	}
    	runtime.SetFinalizer(p, destroyPipe)
    	return p
    }
    
    // getPipe tries to acquire a pipe buffer from the pool or create a new one with newPipe() if it gets nil from the cache.
    func getPipe() (*splicePipe, error) {
    	v := splicePipePool.Get()
    	if v == nil {
    		return nil, syscall.EINVAL
    	}
    	return v.(*splicePipe), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

        }
    
        @Override
        public File getDaemonRegistryDir() {
            return daemonRegistryDir;
        }
    
        @Override
        public Long getPid() {
            return pid;
        }
    
        @Override
        public Integer getIdleTimeout() {
            return idleTimeout;
        }
    
        @Override
        public Collection<String> getDaemonOpts() {
            return daemonOpts;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top