- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 171 for cgodata (0.15 sec)
-
src/cmd/link/internal/ld/link.go
tramps []loader.Sym // trampolines compUnits []*sym.CompilationUnit // DWARF compilation units runtimeCU *sym.CompilationUnit // One of the runtime CUs, the last one seen. loader *loader.Loader cgodata []cgodata // cgo directives to load, three strings are args for loadcgo datap []loader.Sym dynexp []loader.Sym // Elf symtab variables. numelfsym int // starts at 0, 1 is reserved
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 19 15:59:22 UTC 2022 - 5.1K bytes - Viewed (0) -
src/cmd/nm/nm_test.go
syms = append(syms, symType{"D", "_cgodata", true, false}) syms = append(syms, symType{"T", "_cgofunc", true, false}) } else if runtime.GOOS == "aix" { syms = append(syms, symType{"D", "cgodata", true, false}) syms = append(syms, symType{"T", ".cgofunc", true, false}) } else { syms = append(syms, symType{"D", "cgodata", true, false}) syms = append(syms, symType{"T", "cgofunc", true, false})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 23:32:34 UTC 2023 - 8.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/go.go
fmt.Fprintf(os.Stderr, "%s: %s: failed decoding cgo directives: %v\n", os.Args[0], file, err) nerrors++ return } // Record the directives. We'll process them later after Symbols are created. ctxt.cgodata = append(ctxt.cgodata, cgodata{file, pkg, directives}) } // Set symbol attributes or flags based on cgo directives. // Any newly discovered HOSTOBJ syms are added to 'hostObjSyms'.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 11.2K bytes - Viewed (0) -
src/crypto/sha256/sha256_test.go
})) if n > 0 { t.Errorf("allocs = %d, want 0", n) } } type cgoData struct { Data [16]byte Ptr *cgoData } func TestCgo(t *testing.T) { // Test that Write does not cause cgo to scan the entire cgoData struct for pointers. // The scan (if any) should be limited to the [16]byte. d := new(cgoData) d.Ptr = d h := New() h.Write(d.Data[:]) h.Sum(nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 21:21:42 UTC 2023 - 34.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
func (ctxt *Link) loadcgodirectives() { l := ctxt.loader hostObjSyms := make(map[loader.Sym]struct{}) for _, d := range ctxt.cgodata { setCgoAttr(ctxt, d.file, d.pkg, d.directives, hostObjSyms) } ctxt.cgodata = nil if ctxt.LinkMode == LinkInternal { // Drop all the cgo_import_static declarations. // Turns out we won't be needing them. for symIdx := range hostObjSyms {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/covdata/covdata.go
} // Edit out command selector, then parse flags. os.Args = append(os.Args[:1], os.Args[2:]...) flag.Usage = func() { op.Usage("") } flag.Parse() telemetry.Inc("covdata/invocations") telemetry.CountFlags("covdata/flag:", *flag.CommandLine) // Mode-independent flag setup dbgtrace(1, "starting mode-independent setup") if flag.NArg() != 0 { op.Usage("unknown extra arguments") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
} n++ } ctxt.xdefine("runtime.rodata", sym.SRODATA, int64(rodata.Vaddr)) ctxt.xdefine("runtime.erodata", sym.SRODATA, int64(rodata.Vaddr+rodata.Length)) ctxt.xdefine("runtime.types", sym.SRODATA, int64(types.Vaddr)) ctxt.xdefine("runtime.etypes", sym.SRODATA, int64(types.Vaddr+types.Length)) s := ldr.Lookup("runtime.gcdata", 0) ldr.SetAttrLocal(s, true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
ctxt.xdefine("runtime.epclntab", sym.SRODATA, 0) ctxt.xdefine("runtime.esymtab", sym.SRODATA, 0) // garbage collection symbols s := ldr.CreateSymForUpdate("runtime.gcdata", 0) s.SetType(sym.SRODATA) s.SetSize(0) ctxt.xdefine("runtime.egcdata", sym.SRODATA, 0) s = ldr.CreateSymForUpdate("runtime.gcbss", 0) s.SetType(sym.SRODATA) s.SetSize(0) ctxt.xdefine("runtime.egcbss", sym.SRODATA, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap.go
func writeKubeconfigFromBootstrapping(bootstrapClientConfig *restclient.Config, kubeconfigPath, pemPath string) error { // Get the CA data from the bootstrap client config. caFile, caData := bootstrapClientConfig.CAFile, []byte{} if len(caFile) == 0 { caData = bootstrapClientConfig.CAData } // Build resulting kubeconfig. kubeconfigData := clientcmdapi.Config{ // Define a cluster stanza based on the bootstrap kubeconfig.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 14.2K bytes - Viewed (0) -
src/cmd/covdata/doc.go
covmeta.cce1b350af34b6d0fb59cc1725f0ee27 $ Run covdata via "go tool covdata <mode>", where 'mode' is a subcommand selecting a specific reporting, merging, or data manipulation operation. Descriptions on the various modes (run "go tool cover <mode> -help" for specifics on usage of a given mode): 1. Report percent of statements covered in each profiled package $ go tool covdata percent -i=profiledir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 12:57:25 UTC 2023 - 2K bytes - Viewed (0)