- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for strdup (0.14 sec)
-
src/cmd/cgo/ast.go
error_(sel.Pos(), `cannot define new methods on non-local type %s`, &buf) } } } } } if !sawC { error_(ast1.Package, `cannot find import "C"`) } // In ast2, strip the import "C" line. if *godefs { w := 0 for _, decl := range ast2.Decls { d, ok := decl.(*ast.GenDecl) if !ok { ast2.Decls[w] = decl w++ continue } ws := 0
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/cmd/cgo/doc.go
) Any package using cgo imports "runtime/cgo", which provides initializations for these variables. It sets iscgo to true, _cgo_init to a gcc-compiled function that can be called early during program startup, and _cgo_thread_start to a gcc-compiled function that can be used to create a new thread, in place of the runtime's usual direct system calls. Internal and External Linking
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
isFuncSym := strings.HasSuffix(test.input, "(SB)") && // Ignore static symbols. !strings.Contains(test.input, "<>") wantName := "" if isFuncSym { // Strip $|* and (SB) and +Int. wantName = test.output[:len(test.output)-4] if strings.HasPrefix(wantName, "$") || strings.HasPrefix(wantName, "*") { wantName = wantName[1:] }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Viewed (0)