Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 562 for exit2 (0.04 sec)

  1. src/cmd/compile/internal/ssa/likelyadjust.go

    	header *Block // The header node of this (reducible) loop
    	outer  *loop  // loop containing this loop
    
    	// By default, children, exits, and depth are not initialized.
    	children []*loop  // loops nested directly within this loop. Initialized by assembleChildren().
    	exits    []*Block // exits records blocks reached by exits from this loop. Initialized by findExits().
    
    	// Next three fields used by regalloc and/or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/go/testdata/script/test_fuzz.txt

    ! stdout ^ok
    stdout FAIL
    
    # Test that calling f.Fatal in a fuzz target causes a non-zero exit status.
    ! go test fatal_fuzz_test.go
    ! stdout ^ok
    stdout FAIL
    
    # Test that successful test exits cleanly.
    go test success_fuzz_test.go
    stdout ^ok
    ! stdout FAIL
    
    # Test that successful fuzzing exits cleanly.
    go test -fuzz=Fuzz -fuzztime=1x success_fuzz_test.go
    stdout ok
    ! stdout FAIL
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. src/cmd/dist/util.go

    	xexit(2)
    }
    
    var atexits []func()
    
    // xexit exits the process with return code n.
    func xexit(n int) {
    	for i := len(atexits) - 1; i >= 0; i-- {
    		atexits[i]()
    	}
    	os.Exit(n)
    }
    
    // xatexit schedules the exit-handler f to be run when the program exits.
    func xatexit(f func()) {
    	atexits = append(atexits, f)
    }
    
    // xprintf prints a message to standard output.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top