- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,520 for exit2 (0.08 sec)
-
src/cmd/go/internal/base/tool.go
// If the tool cannot be found, Tool exits the process. func Tool(toolName string) string { toolPath, err := ToolPath(toolName) if err != nil && len(cfg.BuildToolexec) == 0 { // Give a nice message if there is no tool with that name. fmt.Fprintf(os.Stderr, "go: no such tool %q\n", toolName) SetExitStatus(2) Exit() } return toolPath }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:04:09 UTC 2024 - 1.1K bytes - Viewed (0) -
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) -
src/cmd/go/testdata/script/test_fuzz_mutate_fail.txt
[!fuzz] skip # Check that if a worker does not call F.Fuzz or calls F.Fail first, # 'go test' exits non-zero and no crasher is recorded. [short] skip env GOCACHE=$WORK/cache ! go test -fuzz=FuzzReturn ! exists testdata ! go test -fuzz=FuzzSkip ! exists testdata ! go test -fuzz=FuzzFail ! exists testdata ! go test -fuzz=FuzzPanic ! exists testdata ! go test -fuzz=FuzzNilPanic ! exists testdata
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.5K bytes - Viewed (0) -
hack/lib/logging.sh
[[ -z ${1-} ]] || { echo " ${1}" >&2 } kube::log::stack ${stack_skip} echo "Exiting with status ${code}" >&2 fi exit "${code}" } # Log an error but keep going. Don't dump the stack or exit. kube::log::error() { timestamp=$(date +"[%m%d %H:%M:%S]") echo "!!! ${timestamp} ${1-}" >&2 shift for message; do echo " ${message}" >&2 done }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 06 14:40:08 UTC 2024 - 4.3K bytes - Viewed (0) -
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) -
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) -
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) -
pkg/envoy/agent.go
} // Run starts the envoy and waits until it terminates. // There are a few exit paths: // 1. Envoy exits. In this case, we simply log and exit. // 2. /quitquitquit (on agent, not Envoy) is called. We will set skipDrain and cancel the context, which triggers us to exit immediately. // 3. SIGTERM. We will drain, wait termination drain duration, then exit. This is the standard pod shutdown; SIGTERM arrives when pod shutdown starts.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 24 16:04:22 UTC 2024 - 9K bytes - Viewed (0) -
src/runtime/os_aix.go
) if pthread_attr_init(&attr) != 0 { writeErrStr(failthreadcreate) exit(1) } if pthread_attr_setstacksize(&attr, threadStackSize) != 0 { writeErrStr(failthreadcreate) exit(1) } if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 { writeErrStr(failthreadcreate) exit(1) } // Disable signals during create, so that the new thread starts
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
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)