Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runtime_arg0 (0.41 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)
Back to top