Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 838 for ncgo (0.11 sec)

  1. src/runtime/rt0_openbsd_arm64.s

    	BL	(R4)
    
    	// Create a new thread to do the runtime initialization and return.
    	MOVD	_cgo_sys_thread_create(SB), R4
    	CBZ	R4, nocgo
    	MOVD	$_rt0_arm64_openbsd_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_openbsd_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testgodefs/testgodefs_test.go

    		// see go.dev/issue/52063
    		hasGeneratedByComment := false
    		for _, line := range strings.Split(strings.TrimSpace(string(out)), "\n") {
    			cgoExe := "cgo"
    			if runtime.GOOS == "windows" {
    				cgoExe = "cgo.exe"
    			}
    			if !strings.HasPrefix(line, "// "+cgoExe+" -godefs") {
    				continue
    			}
    			if want := "// " + cgoExe + " " + strings.Join(cmd.Args[3:], " "); line != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. src/os/signal/signal_linux_test.go

    // reach all 'm' (threads) of the nocgo runtime even when one thread
    // is blocked waiting to receive signals from the kernel. This monitors
    // for a regression vs. the fix for #43149.
    func TestAllThreadsSyscallSignals(t *testing.T) {
    	if _, _, err := syscall.AllThreadsSyscall(syscall.SYS_PRCTL, prSetKeepCaps, 0, 0); err == syscall.ENOTSUP {
    		t.Skip("AllThreadsSyscall disabled with cgo")
    	}
    
    	sig := make(chan os.Signal, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/dist/buildgo.go

    		fmt.Fprintf(&buf, "\treturn %s\n", quote(gcc))
    	}
    	fmt.Fprintf(&buf, "}\n")
    
    	return buf.String()
    }
    
    // mkzcgo writes zcgo.go for the go/build package:
    //
    //	package build
    //	const defaultCGO_ENABLED = <CGO_ENABLED>
    //
    // It is invoked to write go/build/zcgo.go.
    func mkzcgo(dir, file string) {
    	var buf strings.Builder
    	writeHeader(&buf)
    	fmt.Fprintf(&buf, "package build\n")
    	fmt.Fprintln(&buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:44:00 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/runtime/rt0_linux_ppc64le.s

    	MOVD	R12, CTR
    	BL	(CTR)
    
    	// Create a new thread to do the runtime initialization and return.
    	MOVD	_cgo_sys_thread_create(SB), R12
    	CMP	$0, R12
    	BEQ	nocgo
    	MOVD	$_rt0_ppc64le_linux_lib_go(SB), R3
    	MOVD	$0, R4
    	MOVD	R12, CTR
    	BL	(CTR)
    	BR	done
    
    nocgo:
    	MOVD	$0x800000, R12                     // stacksize = 8192KB
    	MOVD	R12, 8+FIXED_FRAME(R1)
    	MOVD	$_rt0_ppc64le_linux_lib_go(SB), R12
    	MOVD	R12, 16+FIXED_FRAME(R1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/go/internal/srcimporter/srcimporter_test.go

    func doImport(t *testing.T, path, srcDir string) {
    	t0 := time.Now()
    	if _, err := importer.ImportFrom(path, srcDir, 0); err != nil {
    		// don't report an error if there's no buildable Go files
    		if _, nogo := err.(*build.NoGoError); !nogo {
    			t.Errorf("import %q failed (%v)", path, err)
    		}
    		return
    	}
    	t.Logf("import %q: %v", path, time.Since(t0))
    }
    
    // walkDir imports the all the packages with the given path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testerrors/ptr_test.go

    	if err := os.MkdirAll(src, 0777); err != nil {
    		t.Fatal(err)
    	}
    	if err := os.WriteFile(filepath.Join(src, "go.mod"), []byte("module ptrtest\ngo 1.20"), 0666); err != nil {
    		t.Fatal(err)
    	}
    
    	// Prepare two cgo inputs: one for standard cgo and one for //export cgo.
    	// (The latter cannot have C definitions, only declarations.)
    	var cgo1, cgo2 bytes.Buffer
    	fmt.Fprintf(&cgo1, "package main\n\n/*\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  8. src/runtime/tls_arm64.s

    #ifndef GOOS_darwin
    #ifndef GOOS_openbsd
    #ifndef GOOS_windows
    	MOVB	runtime·iscgo(SB), R0
    	CBZ	R0, nocgo
    #endif
    #endif
    #endif
    
    	MRS_TPIDR_R0
    #ifdef TLS_darwin
    	// Darwin sometimes returns unaligned pointers
    	AND	$0xfffffffffffffff8, R0
    #endif
    	MOVD	runtime·tls_g(SB), R27
    	MOVD	(R0)(R27), g
    
    nocgo:
    	RET
    
    TEXT runtime·save_g(SB),NOSPLIT,$0
    #ifndef GOOS_darwin
    #ifndef GOOS_openbsd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 19 00:41:03 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  9. api/go1.14.txt

    pkg syscall (freebsd-arm64-cgo), const AF_ISO = 7
    pkg syscall (freebsd-arm64-cgo), const AF_ISO ideal-int
    pkg syscall (freebsd-arm64-cgo), const AF_LAT = 14
    pkg syscall (freebsd-arm64-cgo), const AF_LAT ideal-int
    pkg syscall (freebsd-arm64-cgo), const AF_LINK = 18
    pkg syscall (freebsd-arm64-cgo), const AF_LINK ideal-int
    pkg syscall (freebsd-arm64-cgo), const AF_LOCAL = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg log/syslog (linux-386-cgo), const LOG_LOCAL7 Priority
    pkg log/syslog (linux-386-cgo), const LOG_LPR = 48
    pkg log/syslog (linux-386-cgo), const LOG_LPR Priority
    pkg log/syslog (linux-386-cgo), const LOG_MAIL = 16
    pkg log/syslog (linux-386-cgo), const LOG_MAIL Priority
    pkg log/syslog (linux-386-cgo), const LOG_NEWS = 56
    pkg log/syslog (linux-386-cgo), const LOG_NEWS Priority
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top