MCPcopy Create free account
hub / github.com/DistributedML/Biscotti / CgoConversionFor

Function CgoConversionFor

lib/gonum/internal/binding/binding.go:171–200  ·  view source on GitHub ↗

CgoConversionFor returns a string representation of the given type using a mapping in types. CgoConversionFor will panic if no type mapping is found after searching the user-provided types mappings and then the following mapping: {Kind: cc.Void, IsPointer: true}: "unsafe.Pointer(&{{.}}[0])"

(name string, typ cc.Type, types ...map[TypeKey]*template.Template)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
KindMethod · 0.45

Tested by

no test coverage detected