MCPcopy Create free account

hub / github.com/davecheney/presentations / functions

Functions387 in github.com/davecheney/presentations

↓ 19 callersFunctionstop
stop stops a stopper.
5nines/provisioner_test.go:89
↓ 11 callersMethodString
()
introduction-to-go/stringer.go:35
↓ 10 callersMethodcheckStartInstance
(c *C, m *state.Machine)
5nines/provisioner_test.go:93
↓ 9 callersMethodWatch
Watch return a watcher for observing changes to a unit.
5nines/watcher.go:1038
↓ 9 callersFunctionhasString
ENDa OMIT
5nines/watcher.go:34
↓ 7 callersMethodAdd
(k, v string)
do-not-fear-first-class-functions/maps.go:7
↓ 7 callersMethodStop
()
5nines/provisioner_test.go:85
↓ 7 callersMethodWait
Wait waits for the Provisioner to exit.
5nines/provisioner.go:136
↓ 7 callersFunctionf
f START OMIT
introduction-to-go/concurrency2.go:11
↓ 6 callersMethodcheckNoOperations
checkNoOperations checks that the environ was not operated upon.
5nines/provisioner_test.go:140
↓ 5 callersMethodChanges
Changes returns the UnitsWatcher's output channel.
5nines/watcher.go:749
↓ 5 callersMethodTag
Tag returns the tag of the entity whose units are being watched.
5nines/watcher.go:744
↓ 4 callersMethodRemove
(addr net.Addr)
do-not-fear-first-class-functions/mutex.go:20
↓ 4 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split1/split.go:8
↓ 4 callersMethodinvalidateEnvironment
invalidateEnvironment alters the environment configuration so the Settings returned from the watcher will not pass validation.
5nines/provisioner_test.go:67
↓ 3 callersMethodErr
Err returns any error encountered while running or shutting down, or tomb.ErrStillAlive if the watcher is still running.
5nines/watcher.go:29
↓ 3 callersFunctionFib
ENDBENCH OMIT STARTFIB OMIT Fib computes the n'th number in the Fibonacci series.
writing-high-performance-go/fib/fib_test.go:16
↓ 3 callersFunctionFib2
ENDFIB OMIT
writing-high-performance-go/fib/fib_test.go:25
↓ 3 callersMethodcheckStartInstanceCustom
(c *C, m *state.Machine, secret string, cons constraints.Value)
5nines/provisioner_test.go:97
↓ 3 callersMethodcheckStopInstance
checkStopInstance checks that an instance has been stopped.
5nines/provisioner_test.go:151
↓ 3 callersFunctionf
f START OMIT
introduction-to-go/concurrency1.go:11
↓ 3 callersMethodfixEnvironment
fixEnvironment undoes the work of invalidateEnvironment.
5nines/provisioner_test.go:79
↓ 3 callersFunctionnewEntityWatcher
(st *State, coll string, key interface{}, revno int64)
5nines/watcher.go:1047
↓ 3 callersFunctionsetup
fake up some values for request and client.
writing-high-performance-go/concat/concat_test.go:15
↓ 3 callersMethodwaitRemoved
waitRemoved waits for the supplied machine to be removed from state.
5nines/provisioner_test.go:187
↓ 2 callersFunctionArea
(p Parallelogram)
introduction-to-go/parallelogram.go:24
↓ 2 callersMethodHeight
()
introduction-to-go/parallelogram.go:20
↓ 2 callersMethodRead
(p []byte)
performance-without-the-event-loop/read.go:1
↓ 2 callersMethodWidth
()
introduction-to-go/parallelogram.go:21
↓ 2 callersFunctionhasInt
(changes []int, id int)
5nines/watcher.go:43
↓ 2 callersMethodmerge
merge adds to and returns changes, such that it contains the supplied unit name if that unit is unknown and non-Dead, or has changed lifecycle status.
5nines/watcher.go:816
↓ 2 callersMethodmerge
(pending []string, unit string)
5nines/watcher.go:1145
↓ 2 callersMethodmergeSettings
mergeSettings reads the relation settings node for the unit with the supplied id, and sets a value in the Changed field keyed on the unit's name. It r
5nines/watcher.go:584
↓ 2 callersFunctionnewLifecycleWatcher
(st *State, coll *mgo.Collection)
5nines/watcher.go:77
↓ 2 callersFunctionnewSettingsWatcher
(s *State, key string)
5nines/watcher.go:959
↓ 2 callersFunctionnewUnitsWatcher
(st *State, tag string, getUnits func() ([]string, error), coll, id string, revno int64)
5nines/watcher.go:726
↓ 2 callersMethodprocessMachines
(ids []string)
5nines/provisioner.go:151
↓ 2 callersFunctionremove
remove removes s from strs and returns the modified slice.
5nines/watcher.go:628
↓ 2 callersMethodupdateMachine
(pending []string)
5nines/watcher.go:1129
↓ 2 callersMethodwaitMachine
(c *C, m *state.Machine, check func() bool)
5nines/provisioner_test.go:166
↓ 2 callersFunctionwalkStdLib
(f func(filename string) bool)
introduction-to-go/walk.go:37
↓ 1 callersFunctionA
START OMIT
gopher-puzzlers/one-two-three.go:9
↓ 1 callersFunctionA
a large stack allocated type go:nosplit
gos-hidden-pragmas-examples/redzone.go:6
↓ 1 callersFunctionB
()
gopher-puzzlers/one-two-three.go:14
↓ 1 callersFunctionB
go:nosplit
gos-hidden-pragmas-examples/redzone.go:11
↓ 1 callersFunctionC
go:nosplit
gos-hidden-pragmas-examples/redzone.go:16
↓ 1 callersFunctionD
go:nosplit
gos-hidden-pragmas-examples/redzone.go:21
↓ 1 callersFunctionF
(t T)
gopher-puzzlers/named-and-unnamed-iii.go:6
↓ 1 callersFunctionF
(t T)
gopher-puzzlers/named-and-unnamed-iv.go:6
↓ 1 callersFunctionF
(t T)
gopher-puzzlers/named-and-unnamed-v.go:6
↓ 1 callersFunctionF
go:noinline
gos-hidden-pragmas-examples/notinheap.go:11
↓ 1 callersFunctionNewTerrain
(options ...func(*Config))
do-not-fear-first-class-functions/options.go:11
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split9/split.go:8
↓ 1 callersFunctionSplit
tag::split[] Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split11/split.go:8
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split2/split.go:8
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split4/split.go:8
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split5/split.go:8
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split10/split.go:8
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split6/split.go:8
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split3/split.go:8
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split7/split.go:8
↓ 1 callersFunctionSplit
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.
split8/split.go:8
↓ 1 callersMethodStop
Stop stops the Provisioner and returns any error encountered while provisioning.
5nines/provisioner.go:146
↓ 1 callersMethodString
Point END OMIT String START OMIT
introduction-to-go/point.go:15
↓ 1 callersMethodWatchEnvironConfig
ENDb OMIT WatchEnvironConfig returns a watcher for observing changes to the environment configuration.
5nines/watcher.go:896
↓ 1 callersMethodWatchMachines
WatchMachines returns a LifecycleWatcher that notifies of changes to the lifecycles of the machines in the environment.
5nines/watcher.go:67
↓ 1 callersFunctiona
()
gopher-puzzlers/oddity.go:7
↓ 1 callersFunctionadd
go:norace
gos-hidden-pragmas-examples/norace.go:6
↓ 1 callersMethodadd
histogram END OMIT add START OMIT
introduction-to-go/histo0.go:50
↓ 1 callersMethodadd
(filename string)
introduction-to-go/histo.go:48
↓ 1 callersMethodadd
(filename string)
introduction-to-go/histop.go:48
↓ 1 callersFunctionb
()
gopher-puzzlers/oddity.go:12
↓ 1 callersFunctionbreakDummyProvider
breakDummyProvider changes the environment config in state in a way that causes the given environMethod of the dummy provider to return an error, whic
5nines/provisioner_test.go:54
↓ 1 callersFunctioncallers
()
gopher-puzzlers/named-and-unnamed.go:5
↓ 1 callersFunctionecho
START OMIT
performance-without-the-event-loop/echo.go:10
↓ 1 callersMethodempty
()
5nines/watcher.go:577
↓ 1 callersFunctionf
(a int, b uint)
gopher-puzzlers/one-liner.go:5
↓ 1 callersFunctionf
(a int, b uint)
gopher-puzzlers/one-liner-ii.go:5
↓ 1 callersFunctionf
START5 OMIT
gopher-puzzlers/shift.go:32
↓ 1 callersMethodfindUnknownInstances
findUnknownInstances finds instances which are not associated with a machine.
5nines/provisioner.go:183
↓ 1 callersMethodfinish
()
5nines/watcher.go:638
↓ 1 callersFunctiong
(interface{})
gopher-puzzlers/shift.go:34
↓ 1 callersFunctiongenus
(t uint)
gopher-puzzlers/genus.go:11
↓ 1 callersMethodgetInitialEvent
()
5nines/watcher.go:476
↓ 1 callersFunctiongoroutineid
()
gos-hidden-pragmas-examples/linkname/linkname.go:21
↓ 1 callersFunctiongreeting
START OMIT
introduction-to-go/send-recv.go:6
↓ 1 callersFunctiongrep
(r io.Reader, needle string)
performance-without-the-event-loop/grep.go:11
↓ 1 callersFunctionhandle
(client net.Conn)
introduction-to-go/server.go:13
↓ 1 callersFunctionincrement
go:nowritebarrier
gos-hidden-pragmas-examples/nowritebarrier.go:6
↓ 1 callersFunctioninit
()
gopher-puzzlers/init4.go:7
↓ 1 callersMethodinitial
()
5nines/watcher.go:104
↓ 1 callersMethodinitial
()
5nines/watcher.go:244
↓ 1 callersMethodinitial
()
5nines/watcher.go:336
↓ 1 callersMethodinitial
initial returns every member of the tracked set.
5nines/watcher.go:765
↓ 1 callersMethodinstanceForMachine
instanceForMachine returns the environs.Instance that represents this machine's instance.
5nines/provisioner.go:364
↓ 1 callersMethodinstancesForMachines
instancesForMachines returns a list of environs.Instance that represent the list of machines running in the provider. Missing machines are omitted fro
5nines/provisioner.go:385
↓ 1 callersMethodisEmpty
()
5nines/watcher.go:449
↓ 1 callersFunctionlength
go:noescape
gos-hidden-pragmas-examples/noescape/noescape.go:6
↓ 1 callersMethodloop
()
5nines/provisioner.go:67
↓ 1 callersMethodloop
()
5nines/watcher.go:152
next →1–100 of 387, ranked by callers