Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 347 for exit_1 (0.17 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    	if err != nil {
    		log.Fatalf("failed to read from input pipe: %v", err)
    	}
    
    	// If the only line is the sentinel, it wasn't a crash.
    	if bytes.Count(data, []byte("\n")) < 2 {
    		childExitHook()
    		os.Exit(0) // parent exited without crash report
    	}
    
    	log.Printf("parent reported crash:\n%s", data)
    
    	// Parse the stack out of the crash report
    	// and record a telemetry count for it.
    	name, err := telemetryCounterName(data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    	RawSyscall(SYS_ERRSTR, uintptr(unsafe.Pointer(&buf[0])), uintptr(len(buf)), 0)
    
    	buf[len(buf)-1] = 0
    	return cstring(buf[:])
    }
    
    // Implemented in assembly to import from runtime.
    func exit(code int)
    
    func Exit(code int) { exit(code) }
    
    func readnum(path string) (uint, error) {
    	var b [12]byte
    
    	fd, e := Open(path, O_RDONLY)
    	if e != nil {
    		return 0, e
    	}
    	defer Close(fd)
    
    	n, e := Pread(fd, b[:], 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

      } else if (auto sink = llvm::dyn_cast<tf_executor::NextIterationSinkOp>(op)) {
        return ops_have_same_device(sink.GetSource(), sink);
      }
    
      return llvm::isa<tf_executor::EnterOp, tf_executor::ExitOp,
                       tf_executor::IslandOp, tf_executor::MergeOp,
                       tf_executor::SwitchOp>(op);
    }
    
    // Assigns all data results to a specified device.
    void PopulateDeviceForOpResults(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/syscall/syscall_aix.go

    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>8) & 0xFF
    }
    
    func (w WaitStatus) Exited() bool { return w&0xFF == 0 }
    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    		return -1
    	}
    	return int((w >> 8) & 0xFF)
    }
    
    func (w WaitStatus) Signaled() bool { return w&0x40 == 0 && w&0xFF != 0 }
    func (w WaitStatus) Signal() Signal {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //
    //   2. The parent process clone()s a sub-process and runs the death
    //   test in it; the sub-process exits with code 0 at the end of the
    //   death test, if it hasn't exited already.
    //
    //   3. The parent process waits for the sub-process to terminate.
    //
    //   4. The parent process checks the exit code and error message of
    //   the sub-process.
    //
    // Examples:
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/pod_container_manager_linux.go

    	// os.FindProcess never returns an error on POSIX
    	// https://go-review.googlesource.com/c/go/+/19093
    	p, _ := os.FindProcess(pid)
    	if err := p.Kill(); err != nil {
    		// If the process already exited, that's fine.
    		if errors.Is(err, os.ErrProcessDone) {
    			klog.V(3).InfoS("Process no longer exists", "pid", pid)
    			return nil
    		}
    		return err
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:38:36 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //
    //   2. The parent process clone()s a sub-process and runs the death
    //   test in it; the sub-process exits with code 0 at the end of the
    //   death test, if it hasn't exited already.
    //
    //   3. The parent process waits for the sub-process to terminate.
    //
    //   4. The parent process checks the exit code and error message of
    //   the sub-process.
    //
    // Examples:
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    // from stopped via the core dump bit.
    
    const (
    	mask    = 0x7F
    	core    = 0x80
    	exited  = 0x00
    	stopped = 0x7F
    	shift   = 8
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
    
    func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/helpers.go

    		}
    	}
    
    	// If non of them is set, treat it as root.
    	return new(int64), "", nil
    }
    
    // isInitContainerFailed returns true under the following conditions:
    // 1. container has exited and exitcode is not zero.
    // 2. container is in unknown state.
    // 3. container gets OOMKilled.
    func isInitContainerFailed(status *kubecontainer.Status) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf.go

    }
    
    func (d *dwctxt) lookupOrDiag(n string) loader.Sym {
    	symIdx := d.ldr.Lookup(n, 0)
    	if symIdx == 0 {
    		Exitf("dwarf: missing type: %s", n)
    	}
    	if len(d.ldr.Data(symIdx)) == 0 {
    		Exitf("dwarf: missing type (no data): %s", n)
    	}
    
    	return symIdx
    }
    
    func (d *dwctxt) dotypedef(parent *dwarf.DWDie, name string, def *dwarf.DWDie) *dwarf.DWDie {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top