- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for ExitProcess (0.16 sec)
-
okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 728 bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import java.io.File import java.io.PrintWriter import kotlin.system.exitProcess import org.junit.jupiter.engine.JupiterTestEngine import org.junit.platform.console.options.Theme import org.junit.platform.engine.DiscoverySelector import org.junit.platform.engine.TestDescriptor
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/log/default_test.go
o := testOptions() o.JSONEncoding = c.json if err := Configure(o); err != nil { t.Errorf("Got err '%v', expecting success", err) } pt := funcs.Load().(patchTable) pt.exitProcess = func(_ int) { exitCalled = true } funcs.Store(pt) defaultScope.SetOutputLevel(DebugLevel) defaultScope.SetStackTraceLevel(c.stackLevel) defaultScope.SetLogCallers(c.caller)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 7.4K bytes - Viewed (0) -
src/runtime/os_windows.go
var exiting uint32 //go:nosplit func exit(code int32) { // Disallow thread suspension for preemption. Otherwise, // ExitProcess and SuspendThread can race: SuspendThread // queues a suspension request for this thread, ExitProcess // kills the suspending thread, and then this thread suspends. lock(&suspendLock) atomic.Store(&exiting, 1) stdcall1(_ExitProcess, uintptr(code)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
pkg/log/config.go
write: func(ent zapcore.Entry, fields []zapcore.Field) error { err := baseLogger.Write(ent, fields) if ent.Level == zapcore.FatalLevel { funcs.Load().(patchTable).exitProcess(1) } return err }, sync: baseLogger.Sync, exitProcess: os.Exit, errorSink: errSink, close: func() error { // best-effort to sync baseLogger.Sync() // nolint: errcheck for _, f := range closeFns {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go
func isIntrinsicNoReturn(fn *types.Func) bool { // Add functions here as the need arises, but don't allocate memory. path, name := fn.Pkg().Path(), fn.Name() return path == "syscall" && (name == "Exit" || name == "ExitProcess" || name == "ExitThread") || path == "runtime" && name == "Goexit"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.6K bytes - Viewed (0) -
pkg/log/scope_test.go
o := testOptions() o.JSONEncoding = c.json if err := Configure(o); err != nil { t.Errorf("Got err '%v', expecting success", err) } pt := funcs.Load().(patchTable) pt.exitProcess = func(_ int) { exitCalled = true } funcs.Store(pt) s.SetOutputLevel(DebugLevel) s.SetStackTraceLevel(c.stackLevel) s.SetLogCallers(c.caller) c.f() _ = Sync()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 17:36:09 UTC 2024 - 11K bytes - Viewed (0) -
src/runtime/race.go
// which can theoretically call back into Go. // Tell the scheduler we entering external code. entersyscall() // We're entering external code that may call ExitProcess on // Windows. osPreemptExtEnter(getg().m) racecall(&__tsan_fini, 0, 0, 0, 0) } //go:nosplit func raceproccreate() uintptr { var ctx uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/syscall/zsyscall_windows.go
procDeviceIoControl = modkernel32.NewProc("DeviceIoControl") procDuplicateHandle = modkernel32.NewProc("DuplicateHandle") procExitProcess = modkernel32.NewProc("ExitProcess") procFindClose = modkernel32.NewProc("FindClose") procFindFirstFileW = modkernel32.NewProc("FindFirstFileW")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 56.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
//sys GetVersion() (ver uint32, err error) //sys FormatMessage(flags uint32, msgsrc uintptr, msgid uint32, langid uint32, buf []uint16, args *byte) (n uint32, err error) = FormatMessageW //sys ExitProcess(exitcode uint32) //sys IsWow64Process(handle Handle, isWow64 *bool) (err error) = IsWow64Process //sys IsWow64Process2(handle Handle, processMachine *uint16, nativeMachine *uint16) (err error) = IsWow64Process2?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0)