Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,727 for exit2 (0.11 sec)

  1. tensorflow/compiler/jit/shape_inference_test.cc

        auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less);
        auto switch_node =
            ops::Switch(scope.WithOpName("while/Switch"), merge.output, loop_cond);
        auto exit = ops::internal::Exit(scope.WithOpName("while/Exit"),
                                        switch_node.output_false);
        auto identity = ops::Identity(scope.WithOpName("while/Identity"),
                                      switch_node.output_true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. test/linkx_run.go

    	err := cmd.Run()
    	if err != nil {
    		fmt.Println(errbuf.String())
    		fmt.Println(out.String())
    		fmt.Println(err)
    		os.Exit(1)
    	}
    
    	want := "hello\nhello\nhello\ntrumped\ntrumped\ntrumped\n"
    	got := out.String()
    	if got != want {
    		fmt.Printf("got %q want %q\n", got, want)
    		os.Exit(1)
    	}
    
    	// Issue 8810
    	cmd = exec.Command("go", "run", "-ldflags=-X main.tbd", "linkx.go")
    	_, err = cmd.CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. cluster/get-kube.sh

        echo "Aborting!"
        exit 5
      fi
      echo "Will also delete preexisting 'kubernetes' directory."
    fi
    
    if [[ -z "${KUBERNETES_SKIP_CONFIRM-}" ]]; then
      echo "Is this ok? [Y]/n"
      read -r confirm
      if [[ "${confirm}" =~ ^[nN]$ ]]; then
        echo "Aborting."
        exit 0
      fi
    fi
    
    if "${need_download}"; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 18 22:47:29 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. src/os/signal/signal_cgo_test.go

    		fmt.Fprintf(os.Stderr, "error writing byte to PTY: %v\n", err)
    		os.Exit(1)
    	}
    
    	_, err := pty.Read(b[:])
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	if b[0] == '\n' {
    		// This is what we expect
    		fmt.Println("read newline")
    	} else {
    		fmt.Fprintf(os.Stderr, "read 1 unexpected byte: %q\n", b)
    		os.Exit(1)
    	}
    	os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/cmd/fix/main.go

    		fmt.Fprintf(os.Stderr, "\t%s\n", desc)
    	}
    	os.Exit(2)
    }
    
    func main() {
    	telemetry.Start()
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("fix/invocations")
    	telemetry.CountFlags("fix/flag:", *flag.CommandLine)
    
    	if !version.IsValid(*goVersion) {
    		report(fmt.Errorf("invalid -go=%s", *goVersion))
    		os.Exit(exitCode)
    	}
    
    	sort.Sort(byDate(fixes))
    
    	if *allowedRewrites != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. docs/distributed/decom-encrypted.sh

    	echo "BUG: original user count differs from expanded setup"
    	exit 1
    fi
    
    if [ $policy_count -ne $expanded_policy_count ]; then
    	echo "BUG: original policy count  differs from expanded setup"
    	exit 1
    fi
    
    ./mc version info myminio/versioned | grep -q "versioning is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "expected versioning enabled after expansion"
    	exit 1
    fi
    
    ./mc mirror cmd myminio/versioned/ --quiet >/dev/null
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/go/doc/testdata/example.go

    		if e := recover(); e != nil {
    			fmt.Printf("--- FAIL: %s\npanic: %v\n", eg.Name, e)
    			os.Exit(1)
    		}
    	}()
    
    	for _, eg = range examples {
    		if *chatty {
    			fmt.Printf("=== RUN: %s\n", eg.Name)
    		}
    
    		// capture stdout and stderr
    		r, w, err := os.Pipe()
    		if err != nil {
    			fmt.Fprintln(os.Stderr, err)
    			os.Exit(1)
    		}
    		os.Stdout, os.Stderr = w, w
    		outC := make(chan string)
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/toolchain/exec.go

    		if err != nil {
    			if e, ok := err.(*exec.ExitError); ok && e.ProcessState != nil {
    				if e.ProcessState.Exited() {
    					os.Exit(e.ProcessState.ExitCode())
    				}
    				base.Fatalf("exec %s: %s", gotoolchain, e.ProcessState)
    			}
    			base.Fatalf("exec %s: %s", exe, err)
    		}
    		os.Exit(0)
    	}
    	err := syscall.Exec(exe, os.Args, os.Environ())
    	base.Fatalf("exec %s: %v", gotoolchain, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. buildscripts/rewrite-old-new.sh

    		"${WORK_DIR}/mc" mirror inspects play/inspects
    
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	kill ${pid}
    }
    
    function main() {
    	download_old_release
    
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	verify_rewrite ${start_port}
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    (main "$@")
    rv=$?
    purge "$WORK_DIR"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. hack/get-build.sh

    while getopts ":vh" opt; do
      case ${opt} in
        v)
          print_version="true"
          ;;
        h)
          usage
          exit 0
          ;;
        \?)
          echo "Invalid option: -$OPTARG" >&2
          usage
          exit 1
          ;;
      esac
    done
    shift $((OPTIND-1))
    
    if [[ $# -ne 1 ]]; then
        usage
        exit 1
    fi
    
    set_binary_version "${1}"
    
    if [[ "${print_version}" == "true" ]]; then
      echo "${KUBE_VERSION}"
    else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 10:57:41 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top