Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime-go
/ functions
Functions
436 in github.com/bytecodealliance/wasmtime-go
⨍
Functions
436
◇
Types & classes
58
Method
FuncOffset
FuncOffset returns offset of this frame's instruction into the original function
trap.go:202
Method
GetExportIndex
GetExportIndex looks up the export named `name` in this instance and returns a reusable [ComponentExportIndex] handle pointing at it. The `parent` arg
component_instance_feat_component_model.go:31
Method
InheritArgv
()
wasi.go:65
Method
InheritEnv
()
wasi.go:98
Method
InheritStderr
()
wasi.go:149
Method
InheritStdin
()
wasi.go:115
Method
InheritStdout
()
wasi.go:132
Method
Kind
Kind returns the discriminator of this value type.
component_valtype_feat_component_model.go:78
Method
ModuleOffset
ModuleOffset returns offset of this frame's instruction into the original module
trap.go:195
Function
NewModuleFromFile
NewModuleFromFile reads the contents of the `file` provided and interprets them as either the text format or the binary format for WebAssembly. After
module_feats_cranelift_wat.go:9
Method
Serialize
Serialize encodes this component as a sequence of bytes which can later be passed to [NewComponentDeserialize] to recover the same component without r
component_feat_component_model.go:76
Method
SetArgv
SetArgv will explicitly configure the argv for this WASI configuration. Note that this field can only be set, it cannot be read
wasi.go:49
Method
SetStderrFile
(path string)
wasi.go:137
Method
SetStdinFile
(path string)
wasi.go:103
Method
SetWasmMemory64
SetWasmMemory64 configures whether the wasm memory64 proposal is enabled
config.go:111
Method
String
Converts this `ValType` into a string according to the string representation of `ValKind`.
valtype.go:75
Function
TestAddFuel
(t *testing.T)
store_test.go:52
Function
TestCallFuncFromCaller
(t *testing.T)
func_test.go:365
Function
TestComponentDefineUnknownImportsAsTraps
(t *testing.T)
component_linker_feat_component_model_test.go:43
Function
TestComponentGetExportIndex
(t *testing.T)
component_feat_component_model_test.go:138
Function
TestComponentInstantiate
(t *testing.T)
component_linker_feat_component_model_test.go:9
Function
TestComponentItemTypeAlias
(t *testing.T)
component_type_feat_component_model_test.go:119
Function
TestComponentItemTypeAliasReturnsNilForNonTypeKind
(t *testing.T)
component_type_feat_component_model_test.go:140
Function
TestComponentNew
(t *testing.T)
component_feat_component_model_test.go:22
Function
TestComponentSerializeRoundTripBytes
(t *testing.T)
component_feat_component_model_test.go:50
Function
TestComponentSerializeRoundTripFile
(t *testing.T)
component_feat_component_model_test.go:91
Function
TestComponentTypeExportNthOutOfRange
(t *testing.T)
component_type_feat_component_model_test.go:78
Function
TestComponentTypeExportNthReturnsItem
(t *testing.T)
component_type_feat_component_model_test.go:63
Function
TestComponentTypeImportExportCount
(t *testing.T)
component_type_feat_component_model_test.go:39
Function
TestComponentTypeImportNthOutOfRange
(t *testing.T)
component_type_feat_component_model_test.go:106
Function
TestComponentTypeImportNthReturnsItem
(t *testing.T)
component_type_feat_component_model_test.go:91
Function
TestComponentTypeWalkMultipleTypeAliases
TestComponentTypeWalkMultipleTypeAliases verifies that ExportNth iterates correctly through a component carrying multiple primitive type aliases at di
component_type_feat_component_model_test.go:160
Function
TestComponentValTypeKindForEachPrimitive
TestComponentValTypeKindForEachPrimitive triangulates the ComponentValTypeKind* constants for the 13 primitive WIT types. Each case ships a minimal co
component_type_feat_component_model_test.go:206
Function
TestConfig
(t *testing.T)
config_test.go:10
Function
TestEngine
(t *testing.T)
engine_test.go:9
Function
TestEngineInvalidatesConfig
(t *testing.T)
engine_test.go:16
Function
TestExportType
(t *testing.T)
exporttype_test.go:9
Function
TestFuelConsumed
(t *testing.T)
store_test.go:43
Function
TestFunc
(t *testing.T)
func_test.go:9
Function
TestFuncArgs
(t *testing.T)
func_test.go:69
Function
TestFuncCall
(t *testing.T)
func_test.go:17
Function
TestFuncFinalizer
(t *testing.T)
reftypes_test.go:227
Function
TestFuncOneRet
(t *testing.T)
func_test.go:90
Function
TestFuncPanic
(t *testing.T)
func_test.go:49
Function
TestFuncTrap
(t *testing.T)
func_test.go:32
Function
TestFuncType
(t *testing.T)
functype_test.go:9
Function
TestFuncWrapAliasRet
(t *testing.T)
func_test.go:355
Function
TestFuncWrapCallerArg
(t *testing.T)
func_test.go:185
Function
TestFuncWrapMultiRetWithTrap
(t *testing.T)
func_test.go:241
Function
TestFuncWrapPanic
(t *testing.T)
func_test.go:250
Function
TestFuncWrapRet1
(t *testing.T)
func_test.go:193
Function
TestFuncWrapRet2
(t *testing.T)
func_test.go:204
Function
TestFuncWrapRetError
(t *testing.T)
func_test.go:219
Function
TestFuncWrapRetErrorTrap
(t *testing.T)
func_test.go:229
Function
TestFuncWrapSimple
(t *testing.T)
func_test.go:140
Function
TestFuncWrapSimple1Arg
(t *testing.T)
func_test.go:152
Function
TestFuncWrapSimpleManyArg
(t *testing.T)
func_test.go:164
Function
TestFuncWrongRet
(t *testing.T)
func_test.go:104
Function
TestFuncWrongRet2
(t *testing.T)
func_test.go:122
Function
TestGlobal
(t *testing.T)
global_test.go:9
Function
TestGlobalFinalizer
(t *testing.T)
reftypes_test.go:194
Function
TestGlobalType
(t *testing.T)
globaltype_test.go:10
Function
TestImportType
(t *testing.T)
importtype_test.go:9
Function
TestInstance
(t *testing.T)
instance_test.go:9
Function
TestInstanceBad
(t *testing.T)
instance_test.go:53
Function
TestInstanceGetFunc
(t *testing.T)
instance_test.go:72
Function
TestInterestingTypes
(t *testing.T)
func_test.go:341
Function
TestInterruptWasm
(t *testing.T)
store_test.go:16
Function
TestLimiterMemorySizeFail
(t *testing.T)
store_test.go:67
Function
TestLimiterMemorySizeSuccess
(t *testing.T)
store_test.go:86
Function
TestLinker
(t *testing.T)
linker_test.go:9
Function
TestLinkerDefineUnknownImportsAsDefaultValues
(t *testing.T)
linker_test.go:214
Function
TestLinkerDefineUnknownImportsAsTraps
(t *testing.T)
linker_test.go:185
Function
TestLinkerFuncs
(t *testing.T)
linker_test.go:126
Function
TestLinkerGetDefault
(t *testing.T)
linker_test.go:104
Function
TestLinkerGetOneByName
(t *testing.T)
linker_test.go:112
Function
TestLinkerModule
(t *testing.T)
linker_test.go:80
Function
TestLinkerShadowing
(t *testing.T)
linker_test.go:53
Function
TestLinkerTrap
(t *testing.T)
linker_test.go:67
Function
TestMemoryType
(t *testing.T)
memorytype_test.go:9
Function
TestMemoryType64
(t *testing.T)
memorytype_test.go:22
Function
TestMinimalRuntime
(t *testing.T)
ci/test-minimal-runtime/min_test.go:11
Function
TestModule
(t *testing.T)
module_test.go:10
Function
TestModuleExports
(t *testing.T)
module_test.go:62
Function
TestModuleImports
(t *testing.T)
module_test.go:25
Function
TestModuleSerialize
(t *testing.T)
module_test.go:95
Function
TestModuleValidate
(t *testing.T)
module_test.go:17
Function
TestMultiMemoryExported
(t *testing.T)
multi_memory_test.go:15
Function
TestMultiMemoryImported
(t *testing.T)
multi_memory_test.go:47
Function
TestNotCallable
(t *testing.T)
func_test.go:336
Function
TestPanicInHostFunctionDuringCall
(t *testing.T)
linker_test.go:269
Function
TestPanicInHostFunctionDuringCallWithCaller
(t *testing.T)
linker_test.go:297
Function
TestPanicInHostFunctionDuringInstantiate
(t *testing.T)
linker_test.go:245
Function
TestPanicTraps
(t *testing.T)
func_test.go:395
Function
TestRefTypesGlobal
(t *testing.T)
reftypes_test.go:118
Function
TestRefTypesSmoke
(t *testing.T)
reftypes_test.go:28
Function
TestRefTypesTable
(t *testing.T)
reftypes_test.go:66
Function
TestRefTypesVal
(t *testing.T)
reftypes_test.go:61
Function
TestRefTypesWrap
(t *testing.T)
reftypes_test.go:134
Function
TestSlab
(t *testing.T)
slab_test.go:9
← previous
next →
301–400 of 436, ranked by callers