Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 730 for exit2 (0.05 sec)

  1. hack/verify-govulncheck.sh

    kube::util::ensure-temp-dir
    WORKTREE="${KUBE_TEMP}/worktree"
    
    # Create a copy of the repo with $BRANCH checked out
    git worktree add -f "${WORKTREE}" "${BRANCH}"
    # Clean up the copy on exit
    kube::util::trap_add "git worktree remove -f ${WORKTREE}" EXIT
    
    govulncheck -scan module ./... > "${KUBE_TEMP}/head.txt"
    pushd "${WORKTREE}" >/dev/null
      govulncheck -scan module ./... > "${KUBE_TEMP}/pr-base.txt"
    popd >/dev/null
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/internal/buildcfg/cfg.go

    	Version   = version
    )
    
    // Error is one of the errors found (if any) in the build configuration.
    var Error error
    
    // Check exits the program with a fatal error if Error is non-nil.
    func Check() {
    	if Error != nil {
    		fmt.Fprintf(os.Stderr, "%s: %v\n", filepath.Base(os.Args[0]), Error)
    		os.Exit(2)
    	}
    }
    
    func envOr(key, value string) string {
    	if x := os.Getenv(key); x != "" {
    		return x
    	}
    	return value
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    		} else {
    			// plain text
    			exit := 0
    			for _, res := range results {
    				if res.err != nil {
    					log.Println(res.err)
    					exit = 1
    				}
    			}
    			for _, res := range results {
    				for _, diag := range res.diagnostics {
    					analysisflags.PrintPlain(fset, diag)
    					exit = 1
    				}
    			}
    			os.Exit(exit)
    		}
    	}
    
    	os.Exit(0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/envoyfilter/leak_test.go

    package envoyfilter
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 796 bytes
    - Viewed (0)
  5. pilot/pkg/server/leak_test.go

    package server
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 791 bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/bootstrap/EntryPoint.java

     * testing as it's difficult to test something that will call System.exit().
     */
    public abstract class EntryPoint {
        private final PrintStream originalStdErr = System.err;
    
        /**
         * Unless the createCompleter() method is overridden, the JVM will exit before returning from this method.
         */
        public void run(String[] args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    	if flag.NArg() != 1 {
    		log.Print("missing mode argument")
    		flag.Usage()
    		os.Exit(1)
    	}
    	var err error
    	switch mode := flag.Arg(0); mode {
    	case "size":
    		err = printSizeStats(os.Stdin)
    	default:
    		log.Printf("unknown mode %q", mode)
    		flag.Usage()
    		os.Exit(1)
    	}
    	if err != nil {
    		log.Fatalf("error: %v", err)
    		os.Exit(1)
    	}
    }
    
    func printSizeStats(r io.Reader) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/GradleWorkerMain.java

            main.call();
        }
    
        public static void main(String[] args) {
            try {
                new GradleWorkerMain().run();
                System.exit(0);
            } catch (Throwable throwable) {
                throwable.printStackTrace(System.err);
                System.exit(1);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/path/filepath/path_windows_test.go

    // is false. Otherwise checkVolume8dot3Setting returns error.
    func checkVolume8dot3Setting(vol string, enabled bool) error {
    	// It appears, on some systems "fsutil 8dot3name query ..." command always
    	// exits with error. Ignore exit code, and look at fsutil output instead.
    	out, _ := exec.Command("fsutil", "8dot3name", "query", vol).CombinedOutput()
    	// Check that system has "Volume level setting" set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/runtime/os_windows.go

    			// happens, just freeze this thread and let
    			// the process exit. See issue #18253.
    			lock(&deadlock)
    			lock(&deadlock)
    		}
    		print("runtime: failed to create new OS thread (have ", mcount(), " already; errno=", getlasterror(), ")\n")
    		throw("runtime.newosproc")
    	}
    
    	// Close thandle to avoid leaking the thread object if it exits.
    	stdcall1(_CloseHandle, thandle)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top