Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for runtime_arg0 (0.44 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/asm_mipsx.s

    	MOVW	$runtime·m0(SB), R1
    
    	// save m->g0 = g0
    	MOVW	g, m_g0(R1)
    	// save m0 to g0->m
    	MOVW	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
    	MOVW	$runtime·mainPC(SB), R1	// entry
    	ADDU	$-8, R29
    	MOVW	R1, 4(R29)
    	MOVW	R0, 0(R29)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/runtime/asm_arm.s

    	MOVW	R0, g_stackguard0(g)
    	MOVW	R0, g_stackguard1(g)
    
    	BL	runtime·check(SB)
    
    	// saved argc, argv
    	MOVW	60(R13), R0
    	MOVW	R0, 4(R13)
    	MOVW	64(R13), R1
    	MOVW	R1, 8(R13)
    	BL	runtime·args(SB)
    	BL	runtime·checkgoarm(SB)
    	BL	runtime·osinit(SB)
    	BL	runtime·schedinit(SB)
    
    	// create a new goroutine to start program
    	SUB	$8, R13
    	MOVW	$runtime·mainPC(SB), R0
    	MOVW	R0, 4(R13)	// arg 1: fn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  10. src/runtime/asm_386.s

    	// convention is D is always cleared
    	CLD
    
    	CALL	runtime·check(SB)
    
    	// saved argc, argv
    	MOVL	120(SP), AX
    	MOVL	AX, 0(SP)
    	MOVL	124(SP), AX
    	MOVL	AX, 4(SP)
    	CALL	runtime·args(SB)
    	CALL	runtime·osinit(SB)
    	CALL	runtime·schedinit(SB)
    
    	// create a new goroutine to start program
    	PUSHL	$runtime·mainPC(SB)	// entry
    	CALL	runtime·newproc(SB)
    	POPL	AX
    
    	// start this M
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top