Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 399 for exit2 (0.05 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. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

        def "exit hint does not mention enter when not on windows"() {
            when:
            file("a").touch()
            buildScript "task a { inputs.file 'a'; outputs.file 'b'; doLast {} }"
    
            then:
            succeeds "a"
            output.endsWith("(ctrl-d to exit)\n")
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def "exit hint mentions enter when on windows"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  4. 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)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/os_darwin.go

    	var err int32
    	err = pthread_attr_init(&attr)
    	if err != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Find out OS stack size for our own stack guard.
    	var stacksize uintptr
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

            failure.assertHasErrorOutput("JVM crash log found: file://")
        }
    
        def "client logs useful information when daemon exits"() {
            given:
            file("build.gradle") << "System.exit(0)"
    
            when:
            executer.withStackTraceChecksDisabled() // daemon log may contain stack traces
            def failure = executer.runWithFailure()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top