MCPcopy Create free account

hub / github.com/Jeadie/Go-L / functions

Functions89 in github.com/Jeadie/Go-L

↓ 27 callersFunctionenosys
()
docs/src/wasm_exec.js:8
↓ 13 callersFunctionmod
mod operation that handles negative number properly.
pkg/gol/topology.go:162
↓ 8 callersMethodSize
Size of the square grid lattice
pkg/gol/lattice.go:28
↓ 3 callersMethod_resume
()
docs/src/wasm_exec.js:534
↓ 3 callersFunctionrunWasmAdd
(x: number, y: number)
docs/src/App.tsx:36
↓ 2 callersFunctionConstructUintLatticeFromInput
(inputParams InputParameters)
pkg/gol/lattice.go:137
↓ 2 callersFunctionGetTransformation
GetTransformation returns the transformation function for a given Topology.
pkg/gol/topology.go:29
↓ 2 callersMethodGetValue
GetValue on lattice at coordinate (x, y)
pkg/gol/lattice.go:33
↓ 2 callersMethodGetValuesAround
GetValuesAround returns all values around a coordinate within an L1 distance of w.
pkg/gol/lattice.go:48
↓ 2 callersMethodSingleIteration
SingleIteration of applying an update rule to a lattice. Returns true if any coordinate value in the lattice updated in the iteration.
pkg/gol/lattice.go:107
↓ 2 callersFunctionreflectSquareCoordinate
(a, n int)
pkg/gol/topology.go:147
↓ 1 callersFunctionConstructUintGrid
ConstructUintGrid of binary values on a given square size `n`. Probability of a value of 1 is binaryProb.
pkg/gol/lattice.go:166
↓ 1 callersFunctionConstructUintLattice
(params LatticeParams, updateRule UpdateRuleFn)
pkg/gol/lattice.go:148
↓ 1 callersFunctionConstructUpdateRule
(updateRuleNumber uint)
pkg/gol/gameoflife.go:18
↓ 1 callersMethodCopy
Copy a Lattice struct, and all its references, to a new instance (i.e. deep copy).
pkg/gol/lattice.go:62
↓ 1 callersFunctionCreateUpdateRule
CreateUpdateRule from a 32 bit update rule number. See README.md#2d-implementation for details.
pkg/gol/gameoflife.go:38
↓ 1 callersMethodGetFormattedValueAt
(x, y int)
pkg/gol/lattice.go:23
↓ 1 callersMethodGetLatticeCoordinates
GetLatticeCoordinates into a channel of all coordinates on the lattice.
pkg/gol/lattice.go:74
↓ 1 callersFunctionIsValidTopology
Returns true iff x is an allowed Topology.
pkg/gol/topology.go:16
↓ 1 callersMethodMakeGrid
MakeGrid converts and copies the internal grid representation to the standard 2D representation.
pkg/gol/lattice.go:120
↓ 1 callersFunctionRunCase
(test TopologyTestCase, fn TopologyTransformation)
pkg/gol/topology_test.go:18
↓ 1 callersMethodSetValue
SetValue on lattice at coordinate (x, y) to v
pkg/gol/lattice.go:42
↓ 1 callersMethodUpdatePair
UpdatePair value within a lattice at a given co-ordinate. if `readL` is nil, will read from referenced Lattice. This allows for parallel update of lat
pkg/gol/lattice.go:90
↓ 1 callersFunctionclose
(fd, callback)
docs/src/wasm_exec.js:37
↓ 1 callersFunctioncountOnesAround
(box [][]uint, x, y uint)
pkg/gol/gameoflife.go:61
↓ 1 callersFunctionfetchAndInstantiateTask
()
docs/src/App.tsx:23
↓ 1 callersFunctiongetMidpoint
(box [][]uint)
pkg/gol/gameoflife.go:82
↓ 1 callersFunctionparseArguments
()
cmd/golcli/main.go:14
↓ 1 callersFunctionreflectSphere
Reflect point (x,y) across y=n-x
pkg/gol/topology.go:157
↓ 1 callersFunctionreflectSquare
Reflect the point (x,y) back into the square bound by (0, 0), (n, n)
pkg/gol/topology.go:143
↓ 1 callersFunctionreportWebVitals
(onPerfEntry?: ReportHandler)
docs/src/reportWebVitals.ts:3
↓ 1 callersMethodrun
(instance)
docs/src/wasm_exec.js:458
↓ 1 callersFunctionrunProcessors
Run a set of read-only processes on a Lattice.
cmd/golcli/main.go:65
↓ 1 callersFunctionwasmBrowserInstantiate
(wasmModuleUrl: string, importObject)
docs/src/App.tsx:10
FunctionApp
()
docs/src/App.tsx:6
FunctionCalculateGOLValue
(box [][]uint)
pkg/gol/gameoflife.go:26
FunctionPrint
(l *gol.Lattice[uint])
cmd/golcli/main.go:51
FunctionRun
Run a cellular automaton simulation. Return type is mapping of iteration index to grid values.
cmd/gojs/main.go:10
FunctionTestTopologyTransformation
(t *testing.T)
pkg/gol/topology_test.go:28
FunctionTranslateBordered
(x, y int, dx, dy int, n int)
pkg/gol/topology.go:46
FunctionTranslateKleinBottle
(x, y int, dx, dy int, n int)
pkg/gol/topology.go:64
FunctionTranslateProjectivePlane
(x, y int, dx, dy int, n int)
pkg/gol/topology.go:84
FunctionTranslateSphere
(x, y int, dx, dy int, n int)
pkg/gol/topology.go:113
FunctionTranslateTorus
(x, y int, dx, dy int, n int)
pkg/gol/topology.go:55
Method_makeFuncWrapper
(id)
docs/src/wasm_exec.js:544
Functionadd
This exports an add function. It takes in two 32-bit integer values And returns a 32-bit integer value. To make this function callable from JavaScript
cmd/gojs/main.go:28
Functionchdir
()
docs/src/wasm_exec.js:72
Functionchmod
(path, mode, callback)
docs/src/wasm_exec.js:35
Functionchown
(path, uid, gid, callback)
docs/src/wasm_exec.js:36
Methodconstructor
()
docs/src/wasm_exec.js:96
Functioncwd
()
docs/src/wasm_exec.js:71
Functionfchmod
(fd, mode, callback)
docs/src/wasm_exec.js:38
Functionfchown
(fd, uid, gid, callback)
docs/src/wasm_exec.js:39
Functionfstat
(fd, callback)
docs/src/wasm_exec.js:40
Functionfsync
(fd, callback)
docs/src/wasm_exec.js:41
Functionftruncate
(fd, length, callback)
docs/src/wasm_exec.js:42
MethodgetInt64
(addr)
docs/src/wasm_exec.js:116
Functiongetegid
()
docs/src/wasm_exec.js:66
Functiongeteuid
()
docs/src/wasm_exec.js:65
Functiongetgid
()
docs/src/wasm_exec.js:64
Functiongetgroups
()
docs/src/wasm_exec.js:67
Functiongetuid
()
docs/src/wasm_exec.js:63
Functionlchown
(path, uid, gid, callback)
docs/src/wasm_exec.js:43
Functionlink
(path, link, callback)
docs/src/wasm_exec.js:44
MethodloadSlice
(addr)
docs/src/wasm_exec.js:185
MethodloadSliceOfValues
(addr)
docs/src/wasm_exec.js:191
MethodloadString
(addr)
docs/src/wasm_exec.js:201
MethodloadValue
(addr)
docs/src/wasm_exec.js:122
Functionlstat
(path, callback)
docs/src/wasm_exec.js:45
Functionmain
()
cmd/golcli/main.go:31
Functionmain
()
cmd/gojs/main.go:33
Functionmkdir
(path, perm, callback)
docs/src/wasm_exec.js:46
Functionopen
(path, flags, mode, callback)
docs/src/wasm_exec.js:47
Functionread
(fd, buffer, offset, length, position, callback)
docs/src/wasm_exec.js:48
Functionreaddir
(path, callback)
docs/src/wasm_exec.js:49
Functionreadlink
(path, callback)
docs/src/wasm_exec.js:50
Functionrename
(from, to, callback)
docs/src/wasm_exec.js:51
Functionrmdir
(path, callback)
docs/src/wasm_exec.js:52
MethodsetInt64
(addr, v)
docs/src/wasm_exec.js:111
Functionstat
(path, callback)
docs/src/wasm_exec.js:53
MethodstoreValue
(addr, v)
docs/src/wasm_exec.js:135
MethodstrPtr
(str)
docs/src/wasm_exec.js:488
Functionsymlink
(path, link, callback)
docs/src/wasm_exec.js:54
Functiontruncate
(path, length, callback)
docs/src/wasm_exec.js:55
Functionumask
()
docs/src/wasm_exec.js:70
Functionunlink
(path, callback)
docs/src/wasm_exec.js:56
Functionutimes
(path, atime, mtime, callback)
docs/src/wasm_exec.js:57
Functionwrite
(fd, buf, offset, length, position, callback)
docs/src/wasm_exec.js:27
FunctionwriteSync
(fd, buf)
docs/src/wasm_exec.js:18