Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for ExitCode (0.08 sec)

  1. misc/go_android_exec/main.go

    	cmd.Stderr = struct{ io.Writer }{os.Stderr}
    	err := cmd.Run()
    
    	// Before we process err, flush any further output and get the exit code.
    	exitCode, err2 := filter.Finish()
    
    	if err != nil {
    		return 0, fmt.Errorf("adb exec-out %s: %v", args, err)
    	}
    	return exitCode, err2
    }
    
    func adb(args ...string) error {
    	if out, err := adbCmd(args...).CombinedOutput(); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    				exitCode = 1
    			} else {
    				_, err := strconv.Atoi(approval)
    				if err != nil {
    					log.Printf("%s:%d: malformed proposal approval #%s\n", filename, i+1, approval)
    					exitCode = 1
    				}
    			}
    			line = strings.TrimSpace(feature)
    		} else {
    			if strings.Contains(line, " #") {
    				log.Printf("%s:%d: unexpected approval\n", filename, i+1)
    				exitCode = 1
    			}
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

         */
        public static final class ExitException extends InvokerException {
            private final int exitCode;
    
            public ExitException(int exitCode) {
                super("EXIT");
                this.exitCode = exitCode;
            }
        }
    
        @SuppressWarnings("VisibilityModifier")
        public static class LookupInvokerContext<
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. cni/pkg/repair/repaircontroller.go

    	matchExitCode := func(state *corev1.ContainerStateTerminated) bool {
    		// If we are filtering on init container exit code and the termination message does not match, exit
    		if ec := c.cfg.InitExitCode; ec == 0 || ec == int(state.ExitCode) {
    			return true
    		}
    		return false
    	}
    
    	// Only check pods that have the sidecar annotation; the rest can be
    	// ignored.
    	if c.cfg.SidecarAnnotation != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. misc/ios/go_ios_exec.go

    	if len(os.Args) < 2 {
    		log.Fatal("usage: go_ios_exec a.out")
    	}
    
    	// For compatibility with the old builders, use a fallback bundle ID
    	bundleID = "golang.gotest"
    
    	exitCode, err := runMain()
    	if err != nil {
    		log.Fatalf("%v\n", err)
    	}
    	os.Exit(exitCode)
    }
    
    func runMain() (int, error) {
    	var err error
    	tmpdir, err = os.MkdirTemp("", "go_ios_exec_")
    	if err != nil {
    		return 1, err
    	}
    	if !debug {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. api/go1.12.txt

    pkg os, const ModeType = 2401763328
    pkg os, func UserHomeDir() (string, error)
    pkg os, method (*File) SyscallConn() (syscall.RawConn, error)
    pkg os, method (*ProcessState) ExitCode() int
    pkg os/exec, method (ExitError) ExitCode() int
    pkg reflect, method (*MapIter) Key() Value
    pkg reflect, method (*MapIter) Next() bool
    pkg reflect, method (*MapIter) Value() Value
    pkg reflect, method (Value) MapRange() *MapIter
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                return getCanonicalPath(path.getParent()).resolve(path.getFileName());
            }
        }
    
        static class ExitException extends Exception {
            int exitCode;
    
            ExitException(int exitCode) {
                this.exitCode = exitCode;
            }
        }
    
        //
        // Customizations available via the CLI
        //
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/batch/v1/generated.proto

    }
    
    // PodFailurePolicyOnExitCodesRequirement describes the requirement for handling
    // a failed pod based on its container exit codes. In particular, it lookups the
    // .state.terminated.exitCode for each app container and init container status,
    // represented by the .status.containerStatuses and .status.initContainerStatuses
    // fields in the Pod status, respectively. Containers completed with success
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/core/v1/generated.proto

    }
    
    // ContainerStateTerminated is a terminated state of a container.
    message ContainerStateTerminated {
      // Exit status from the last termination of the container
      optional int32 exitCode = 1;
    
      // Signal from the last termination of the container
      // +optional
      optional int32 signal = 2;
    
      // (brief) reason from the last termination of the container
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg syscall (windows-386), type WSAData struct, Version uint16
    pkg syscall (windows-386), type WaitStatus struct
    pkg syscall (windows-386), type WaitStatus struct, ExitCode uint32
    pkg syscall (windows-386), type Win32FileAttributeData struct
    pkg syscall (windows-386), type Win32FileAttributeData struct, CreationTime Filetime
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top