Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for exit2 (0.1 sec)

  1. src/runtime/os_plan9.go

    func minit() {
    	if atomic.Load(&exiting) != 0 {
    		exits(&emptystatus[0])
    	}
    	// Mask all SSE floating-point exceptions
    	// when running on the 64-bit kernel.
    	setfpmasks()
    }
    
    // Called from dropm to undo the effect of an minit.
    func unminit() {
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    			t.Errorf("from exit 42 got exit %q, want %q", s, want)
    		}
    	} else {
    		t.Fatalf("expected *exec.ExitError from exit 42; got %T: %v", err, err)
    	}
    }
    
    func TestExitCode(t *testing.T) {
    	t.Parallel()
    
    	// Test that exit code are returned correctly
    	cmd := helperCommand(t, "exit", "42")
    	cmd.Run()
    	want := 42
    	if runtime.GOOS == "plan9" {
    		want = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. pkg/test/framework/test.go

    	//                         })
    	//                     // Exits before T2a and T2b are run.
    	//                 })
    	//         })
    	// }
    	//
    	// In the example above, non-parallel parents T1 and T2 contain parallel children T1a, T1b, T2a, T2b.
    	//
    	// Since both T1 and T2 are non-parallel, they are run synchronously: T1 followed by T2. After T1 exits,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/os/exec/exec.go

    	return e.ProcessState.String()
    }
    
    // Wait waits for the command to exit and waits for any copying to
    // stdin or copying from stdout or stderr to complete.
    //
    // The command must have been started by [Cmd.Start].
    //
    // The returned error is nil if the command runs, has no problems
    // copying stdin, stdout, and stderr, and exits with a zero exit
    // status.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. src/os/signal/doc.go

    program to simply exit by pressing ^C, and you can cause it to exit
    with a stack dump by pressing ^\.
    
    # Default behavior of signals in Go programs
    
    By default, a synchronous signal is converted into a run-time panic. A
    SIGHUP, SIGINT, or SIGTERM signal causes the program to exit. A
    SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGSTKFLT, SIGEMT, or SIGSYS signal
    causes the program to exit with a stack dump. A SIGTSTP, SIGTTIN, or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/main.go

    		usage()
    	}
    
    	if *FlagD && ctxt.UsesLibc() {
    		Exitf("dynamic linking required on %s; -d flag cannot be used", buildcfg.GOOS)
    	}
    
    	isPowerOfTwo := func(n int64) bool {
    		return n > 0 && n&(n-1) == 0
    	}
    	if *FlagRound != -1 && (*FlagRound < 4096 || !isPowerOfTwo(*FlagRound)) {
    		Exitf("invalid -R value 0x%x", *FlagRound)
    	}
    
    	checkStrictDups = *FlagStrictDups
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. pkg/test/framework/suite.go

    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/prow"
    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/tracing"
    )
    
    // test.Run uses 0, 1, 2 exit codes. Use different exit codes for our framework.
    const (
    	// Indicates a framework-level init error
    	exitCodeInitError = -1
    
    	// Indicates an error due to the setup function supplied by the user
    	exitCodeSetupError = -2
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_ilm_expiry_replication.sh

    	echo "BUG: ILM expiry rules prefix not replicated to 'siteb'"
    	exit 1
    fi
    if [ "${ntagName1}" != "ntag1" ] || [ "${ntagVal1}" != "nval1" ] || [ "${ntagName2}" != "ntag2" ] || [ "${ntagVal2}" != "nval2" ]; then
    	echo "BUG: ILM expiry rules tags not replicated to 'siteb'"
    	exit 1
    fi
    if [ "${st}" != "Disabled" ]; then
    	echo "BUG: ILM expiry rules status not replicated to 'siteb'"
    	exit 1
    fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/runtime/panic.go

    		// Just print a stack trace and exit.
    		gp.m.dying = 2
    		print("panic during panic\n")
    		return false
    	case 2:
    		// This is a genuine bug in the runtime, we couldn't even
    		// print the stack trace successfully.
    		gp.m.dying = 3
    		print("stack trace unavailable\n")
    		exit(4)
    		fallthrough
    	default:
    		// Can't even print! Just exit.
    		exit(5)
    		return false // Need to return something.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  10. 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)
Back to top