- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for runtime_arg0 (0.25 sec)
-
src/crypto/internal/boring/fipstls/tls.go
// Note: Not using boring.UnreachableExceptTests because we want // this test to happen even when boring.Enabled = false. name := runtime_arg0() // Allow _test for Go command, .test for Bazel, // NaClMain for NaCl (where all binaries run as NaClMain), // and empty string for Windows (where runtime_arg0 can't easily find the name). // Since this is an internal package, testing that this isn't used on the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 1.7K bytes - Viewed (0) -
src/crypto/internal/boring/boring.go
func Unreachable() { panic("boringcrypto: invalid code execution") } // provided by runtime to avoid os import. func runtime_arg0() string // UnreachableExceptTests marks code that should be unreachable // when BoringCrypto is in use. It panics. func UnreachableExceptTests() { name := runtime_arg0() // If BoringCrypto ran on Windows we'd need to allow _test.exe and .test.exe as well.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 3K bytes - Viewed (0) -
src/os/proc.go
// Args hold the command-line arguments, starting with the program name. var Args []string func init() { if runtime.GOOS == "windows" { // Initialized in exec_windows.go. return } Args = runtime_args() } func runtime_args() []string // in package runtime // Getuid returns the numeric user id of the caller. // // On Windows, it returns -1. func Getuid() int { return syscall.Getuid() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java
return invocation.callOriginal(); } private Optional<Process> tryCallExec(Object runtimeArg, Object commandArg, @Nullable Object envpArg, @Nullable Object fileArg, String consumer) throws Throwable { if (runtimeArg instanceof Runtime) { Runtime runtime = (Runtime) runtimeArg; if (fileArg == null || fileArg instanceof File) { File file = (File) fileArg;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 34.2K bytes - Viewed (0) -
src/runtime/runtime.go
//go:linkname syscall_Getpagesize syscall.Getpagesize func syscall_Getpagesize() int { return int(physPageSize) } //go:linkname os_runtime_args os.runtime_args func os_runtime_args() []string { return append([]string{}, argslice...) } //go:linkname syscall_Exit syscall.Exit //go:nosplit func syscall_Exit(code int) { exit(int32(code)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/asm_wasm.s
MOVD $runtime·g0(SB), runtime·m0+m_g0(SB) // save m0 to g0->m MOVD $runtime·m0(SB), runtime·g0+g_m(SB) // set g to g0 MOVD $runtime·g0(SB), g CALLNORESUME runtime·check(SB) #ifdef GOOS_js CALLNORESUME runtime·args(SB) #endif CALLNORESUME runtime·osinit(SB) CALLNORESUME runtime·schedinit(SB) MOVD $runtime·mainPC(SB), 0(SP) CALLNORESUME runtime·newproc(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 21:26:51 UTC 2023 - 11.8K bytes - Viewed (0) -
src/runtime/asm_mips64x.s
MOVV $runtime·m0(SB), R1 // save m->g0 = g0 MOVV g, m_g0(R1) // save m0 to g0->m MOVV R1, g_m(g) JAL runtime·check(SB) // args are already prepared JAL runtime·args(SB) JAL runtime·osinit(SB) JAL runtime·schedinit(SB) // create a new goroutine to start program MOVV $runtime·mainPC(SB), R1 // entry ADDV $-16, R29 MOVV R1, 8(R29) MOVV R0, 0(R29)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 19:45:59 UTC 2023 - 24.3K bytes - Viewed (0) -
src/runtime/asm_riscv64.s
MOV $runtime·m0(SB), T0 // save m->g0 = g0 MOV g, m_g0(T0) // save m0 to g0->m MOV T0, g_m(g) CALL runtime·check(SB) // args are already prepared CALL runtime·args(SB) CALL runtime·osinit(SB) CALL runtime·schedinit(SB) // create a new goroutine to start program MOV $runtime·mainPC(SB), T0 // entry SUB $16, X2 MOV T0, 8(X2) MOV ZERO, 0(X2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 27K bytes - Viewed (0) -
src/runtime/asm_s390x.s
MOVD $runtime·m0(SB), R2 // save m->g0 = g0 MOVD g, m_g0(R2) // save m0 to g0->m MOVD R2, g_m(g) BL runtime·check(SB) // argc/argv are already prepared on stack BL runtime·args(SB) BL runtime·checkS390xCPU(SB) BL runtime·osinit(SB) BL runtime·schedinit(SB) // create a new goroutine to start program MOVD $runtime·mainPC(SB), R2 // entry SUB $16, R15
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 09:18:28 UTC 2024 - 28.1K bytes - Viewed (0) -
src/runtime/asm_loong64.s
MOVV $runtime·m0(SB), R19 // save m->g0 = g0 MOVV g, m_g0(R19) // save m0 to g0->m MOVV R19, g_m(g) JAL runtime·check(SB) // args are already prepared JAL runtime·args(SB) JAL runtime·osinit(SB) JAL runtime·schedinit(SB) // create a new goroutine to start program MOVV $runtime·mainPC(SB), R19 // entry ADDV $-16, R3 MOVV R19, 8(R3) MOVV R0, 0(R3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 26.5K bytes - Viewed (0)