async

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package async tests cgx with concurrent calls.

Index

Constants

This section is empty.

Variables

View Source
var (
	// RunFunctionReturnFloat32 runs ReturnFloat32 in the basic package.
	RunFunctionReturnFloat32 = TestCall{
								// contains filtered or unexported fields
	}

	// RuntAddToStruct runs AddToStruct in the parameter package.
	RuntAddToStruct = TestCall{
					// contains filtered or unexported fields
	}
)

Functions

func NewBuilder

func NewBuilder() *builder.Builder

NewBuilder returns a builder that can used for the tests.

func RunTestAsyncCGX

func RunTestAsyncCGX(t *testing.T, rtm *api.Runtime, testCalls ...TestCall)

RunTestAsyncCGX tests concurrent access to CGX.

Types

type TestCall

type TestCall struct {
	// contains filtered or unexported fields
}

TestCall is a test to run in one Go routine.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL