Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

tests source pure

Readme View source

Modules here are only useful for file realm tests. They can be safely ignored for other purposes.

Constants 1

Variables 1

Functions 8

func Exec

1func Exec(fn func())
source

Warning: unsafe pattern.

func ExecRlm

1func ExecRlm(_ int, rlm realm, fn func(_ int, rlm realm))
source

ExecRlm mirrors Exec but threads the caller's rlm into the callback so the callback can use `cross(rlm)` instead of bare `cross`.

Types 1

type TestRealmObject2

struct
1type TestRealmObject2 struct {
2	Field string
3}
source

Methods on TestRealmObject2

func Modify

method on TestRealmObject2
1func (o2 *TestRealmObject2) Modify()
source

func ModifyVal

method on TestRealmObject2
1func (o2 TestRealmObject2) ModifyVal()
source

Value-receiver mutator. By Go/Gno semantics this only mutates the method's local copy. Used by readonly-taint filetests to probe whether a receiver carrying the sticky N_Readonly bit propagates the bit onto the method-frame copy.

Imports 3

Source Files 3