MCPcopy Create free account

hub / github.com/cutajarj/multithreadingingo / functions

Functions89 in github.com/cutajarj/multithreadingingo

↓ 25 callersMethodLock
()
spinlocks/spin_lock.go:11
↓ 21 callersMethodUnlock
()
spinlocks/spin_lock.go:17
↓ 15 callersMethodAdd
(v2 Vector2D)
boids/vector2d.go:10
↓ 10 callersMethodWait
()
barriers/barrier.go:18
↓ 6 callersMethodWait
()
matrixmultiplicationwtbarriers/barrier.go:18
↓ 4 callersFunctionMoveTrain
(train *Train, distance int, crossings []*Crossing)
deadlocks_train/deadlock/train.go:8
↓ 4 callersFunctiondrawIntersection
(screen *ebiten.Image, intersection *Intersection, x int, y int)
deadlocks_train/draw_trains.go:44
↓ 3 callersMethodDivisionV
(d float64)
boids/vector2d.go:30
↓ 3 callersMethodMultiplyV
(d float64)
boids/vector2d.go:26
↓ 3 callersMethodSubtract
(v2 Vector2D)
boids/vector2d.go:14
↓ 2 callersMethodAddV
(d float64)
boids/vector2d.go:22
↓ 2 callersFunctionNewBarrier
(size int)
matrixmultiplicationwtbarriers/barrier.go:12
↓ 2 callersMethodborderBounce
(pos, maxBorderPos float64)
boids/boid.go:45
↓ 2 callersFunctiondrawXTrain
(screen *ebiten.Image, id int, dir int, start int, yPos int)
deadlocks_train/draw_trains.go:56
↓ 2 callersFunctiondrawYTrain
(screen *ebiten.Image, id int, dir int, start int, xPos int)
deadlocks_train/draw_trains.go:66
↓ 2 callersFunctiongenerateRandomMatrix
(matrix *[matrixSize][matrixSize]int)
matrixmultiplicationwtbarriers/matrix_mulitply_barrier.go:21
↓ 2 callersFunctiongenerateRandomMatrix
(matrix *[matrixSize][matrixSize]int)
matrixmultiplication/matrix_mulitply.go:23
↓ 2 callersFunctionwaitOnBarrier
(name string, timeToSleep int, barrier *Barrier)
barriers/barrier_example.go:5
↓ 1 callersMethodDistance
(v2 Vector2D)
boids/vector2d.go:39
↓ 1 callersFunctionDrawIntersections
(screen *ebiten.Image)
deadlocks_train/draw_trains.go:21
↓ 1 callersFunctionDrawTracks
(screen *ebiten.Image)
deadlocks_train/draw_trains.go:28
↓ 1 callersFunctionDrawTrains
(screen *ebiten.Image)
deadlocks_train/draw_trains.go:37
↓ 1 callersFunctionNewBarrier
(size int)
barriers/barrier.go:12
↓ 1 callersFunctionNewSpinLock
()
spinlocks/spin_lock.go:21
↓ 1 callersFunctionallFree
(intersectionsToLock []*Intersection)
deadlocks_train/arbitrator/train.go:14
↓ 1 callersFunctionblueRobot
()
deadlocks_simple/red_blue.go:14
↓ 1 callersMethodcalcAcceleration
()
boids/boid.go:15
↓ 1 callersFunctioncallLockTwice
()
quizes/thread_sync_quiz_code.go:14
↓ 1 callersFunctioncountLetters
(url string, frequency *[26]int32, wg *sync.WaitGroup)
atomicletterfrequency/letter_frequency.go:17
↓ 1 callersFunctioncreateBoid
(bid int)
boids/boid.go:71
↓ 1 callersFunctionextractWindDirection
(metarChannel chan []string, windsChannel chan []string)
channels/wind_dIrection.go:47
↓ 1 callersFunctionfileSearch
(root string, filename string)
filesearch/concurrent_file_search.go:17
↓ 1 callersFunctionfindArea
(inputChannel chan string)
threadpool/shoelace.go:27
↓ 1 callersFunctiongenerateRandomConvexPolygon
** * Translated into Go lang from https://cglab.ca/~sander/misc/ConvexGeneration/convex.html * Thank you Sander Verdonschot! */
randompolygons/generate_random_polygons.go:20
↓ 1 callersFunctionincrement
(x *int, wg *sync.WaitGroup)
quizes/waitgroup_quiz_code.go:25
↓ 1 callersMethodlimit
(lower, upper float64)
boids/vector2d.go:34
↓ 1 callersFunctionlockIntersectionsInDistance
(id, reserveStart, reserveEnd int, crossings []*Crossing)
deadlocks_train/hierarchy/train.go:9
↓ 1 callersFunctionlockIntersectionsInDistance
(id, reserveStart int, reserveEnd int, crossings []*Crossing)
deadlocks_train/arbitrator/train.go:23
↓ 1 callersFunctionmineWindDistribution
(windsChannel chan []string, distChannel chan [8]int)
channels/wind_dIrection.go:60
↓ 1 callersMethodmoveOne
()
boids/boid.go:54
↓ 1 callersFunctiononeTwoThreeA
()
quizes/thread_sync_quiz_code.go:25
↓ 1 callersFunctiononeTwoThreeB
()
quizes/thread_sync_quiz_code.go:41
↓ 1 callersFunctionparseToArray
(textChannel chan string, metarChannel chan []string)
channels/wind_dIrection.go:25
↓ 1 callersFunctionperform_movements
(ledger *[totalAccounts]int32, locks *[totalAccounts]sync.Locker, totalTrans *int64)
spinlocks/multi_ledger.go:18
↓ 1 callersFunctionredRobot
()
deadlocks_simple/red_blue.go:27
↓ 1 callersFunctionrunChildThread
()
quizes/cond_variable_quiz_code.go:14
↓ 1 callersFunctionrunConsumer
(channel chan string)
quizes/channels_quiz_code.go:5
↓ 1 callersFunctionspendy
()
atomicstingyspendy/atomic_stingy_spendy.go:20
↓ 1 callersFunctionspendy
()
condvariables/stingy_spendy_waits.go:27
↓ 1 callersFunctionspendy
()
sync/stingy_spendy.go:23
↓ 1 callersMethodstart
()
boids/boid.go:64
↓ 1 callersFunctionstingy
()
atomicstingyspendy/atomic_stingy_spendy.go:12
↓ 1 callersFunctionstingy
()
condvariables/stingy_spendy_waits.go:15
↓ 1 callersFunctionstingy
()
sync/stingy_spendy.go:13
↓ 1 callersFunctionworkOutRow
(row int)
matrixmultiplicationwtbarriers/matrix_mulitply_barrier.go:29
↓ 1 callersFunctionworkOutRow
(row int)
matrixmultiplication/matrix_mulitply.go:31
FunctionBuffSender
()
quizes/channels_quiz_code.go:19
FunctionCount
()
quizes/waitgroup_quiz_code.go:14
MethodDraw
(screen *ebiten.Image)
deadlocks_train/launcher.go:24
MethodDraw
(screen *ebiten.Image)
boids/main.go:30
MethodLayout
(_, _ int)
deadlocks_train/launcher.go:30
MethodLayout
(_, _ int)
boids/main.go:39
FunctionMoveTrain
(train *Train, distance int, crossings []*Crossing)
deadlocks_train/hierarchy/train.go:28
FunctionMoveTrain
(train *Train, distance int, crossings []*Crossing)
deadlocks_train/arbitrator/train.go:43
MethodMultiply
(v2 Vector2D)
boids/vector2d.go:18
FunctionRunAndWait
()
quizes/thread_sync_quiz_code.go:20
FunctionRunMainThread
()
quizes/cond_variable_quiz_code.go:23
FunctionRunProducer
()
quizes/channels_quiz_code.go:11
FunctionStartThreadsA
()
quizes/thread_sync_quiz_code.go:34
FunctionStartThreadsB
()
quizes/thread_sync_quiz_code.go:50
MethodUpdate
()
deadlocks_train/launcher.go:20
MethodUpdate
()
boids/main.go:26
FunctionWaitGroupQuesA
()
quizes/waitgroup_quiz_code.go:8
Functionmain
()
atomicletterfrequency/letter_frequency.go:36
Functionmain
()
deadlocks_simple/red_blue.go:40
Functionmain
()
randompolygons/generate_random_polygons.go:102
Functionmain
Uncomment the functions below to run them.
quizes/quiz_main.go:4
Functionmain
()
barriers/barrier_example.go:14
Functionmain
()
spinlocks/multi_ledger.go:41
Functionmain
()
atomicstingyspendy/atomic_stingy_spendy.go:28
Functionmain
()
matrixmultiplicationwtbarriers/matrix_mulitply_barrier.go:41
Functionmain
()
deadlocks_train/launcher.go:34
Functionmain
()
channels/wind_dIrection.go:80
Functionmain
()
matrixmultiplication/matrix_mulitply.go:44
Functionmain
()
condvariables/stingy_spendy_waits.go:41
Functionmain
()
threadpool/shoelace.go:46
Functionmain
()
filesearch/concurrent_file_search.go:34
Functionmain
()
boids/main.go:43
Functionmain
()
sync/stingy_spendy.go:33