Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 289 for exit2 (0.04 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. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

        EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
    
    // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
    
    // Tests that an exit code describes a normal exit with a given exit code.
    class GTEST_API_ ExitedWithCode {
     public:
      explicit ExitedWithCode(int exit_code);
      bool operator()(int exit_status) const;
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

            buildExits(runningBuild)
        }
    
        def "exits if there are no file system inputs"() {
            given:
            continuousBuildEnabled()
    
            when:
            executeBuild()
            then:
            lastLogLine == "{failure}Exiting continuous build as Gradle did not detect any file system inputs.{normal}"
        }
    
        def "exits if Gradle is not watching anything"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    // prints the executable version and exits 0.
    //
    // If the -V flag already exists — for example, because it was already
    // registered by a call to cmd/internal/objabi.AddVersionFlag — then
    // addVersionFlag does nothing.
    func addVersionFlag() {
    	if flag.Lookup("V") == nil {
    		flag.Var(versionFlag{}, "V", "print version and exit")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/README

    	            	$WORK/d1/src/p11 (from $GOPATH)
    	            	$WORK/d2/src/p11
    	            [exit status 1]
    	            FAIL: unexpected go command failure
    
    	        script_test.go:73: failed at testdata/script/install_rebuild_gopath.txt:15 in $WORK/gopath/src
    
    	FAIL
    	exit status 1
    	FAIL	cmd/go	4.875s
    	$
    
    Note that the commands in earlier phases have been hidden, so that the relevant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. 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)
Back to top