MCPcopy Create free account

hub / github.com/PacktPublishing/Learning-Go-Programming / functions

Functions553 in github.com/PacktPublishing/Learning-Go-Programming

↓ 1 callersFunctionupdateName
(p person, name string)
ch07/struct_ptr.go:17
↓ 1 callersFunctionwords
generator function that produces data
ch09/pattern4.go:28
↓ 1 callersFunctionwords
generator function that produces data
ch09/pattern6.go:40
↓ 1 callersFunctionwords
generator function that produces data
ch09/pattern5.go:32
↓ 1 callersFunctionwrite
write writes the map of anagrams to a file file specified by fname. The use of os.OpenFile (instead of os.Create) is to demonstrate the use of panic()
ch05/anagram2.go:68
↓ 1 callersFunctionwrite
write writes the map of anagrams to a file file specified by fname. The use of os.OpenFile (instead of os.Create) is to demonstrate the use of panic()
ch05/anagram3.go:72
MethodAdd
Add returns the sum of two vectors
ch12/vector/vec.go:78
FunctionBenchmarkVectorAdd
(b *testing.B)
ch12/vector/vec_bench_test.go:25
FunctionBenchmarkVectorAngle
(b *testing.B)
ch12/vector/vec_bench_test.go:76
FunctionBenchmarkVectorDotProd
(b *testing.B)
ch12/vector/vec_bench_test.go:67
FunctionBenchmarkVectorEqual1
(b *testing.B)
ch12/vector/vec_bench_test.go:9
FunctionBenchmarkVectorEqual2
(b *testing.B)
ch12/vector/vec_bench_test.go:17
FunctionBenchmarkVectorMag
(b *testing.B)
ch12/vector/vec_bench_test.go:51
FunctionBenchmarkVectorScale
(b *testing.B)
ch12/vector/vec_bench_test.go:43
FunctionBenchmarkVectorSub
(b *testing.B)
ch12/vector/vec_bench_test.go:34
FunctionBenchmarkVectorUnit
(b *testing.B)
ch12/vector/vec_bench_test.go:59
MethodEq
Eq compares vector magnitude and directions
ch12/vector/vec.go:52
FunctionFind
(table []Currency, filter string)
ch11/curr1/currency.go:50
FunctionI
I returns current using Ohm's law when volt and impendence are known
ch06/current/curr.go:5
FunctionIpara
Ipara returns total current in parallel circuit
ch06/current/curr.go:15
MethodIsZero
Test for the zero vector
ch12/vector/vec.go:73
FunctionIvp
Ipv returns current when volt and power are known.
ch06/current/curr.go:10
FunctionLoad
(path string)
ch11/curr1/currency.go:22
MethodMarshalJSON
()
ch10/json3.go:14
FunctionP
P returns power consumed in a circuit when voltage v and current i are known
ch06/power/powlib.go:5
FunctionP
P returns power consumed in a circuit when voltage r and resistance r are known.
ch06/power/vr/power.go:5
FunctionP
P calculates power when current i and resistance r are know for a circuit
ch06/power/ir/power.go:5
FunctionPrintCurrencyInfo
(country, currency, code string)
ch02lib/curr.go:5
MethodProj
(base Vector)
ch12/vector/vec.go:138
FunctionQuux
()
ch06-foo/foo/bazz/quux.go:7
FunctionR
R returns resistance using Ohm's law when volt v and current i are known.
ch06/resistor/res.go:5
MethodRead
(p []byte)
ch10/reader1.go:18
MethodRead
(p []byte)
ch10/reader0.go:11
FunctionRpara
Rpara return equivalent resistance for resistors arranged in parallel in a circuit
ch06/resistor/res_equivalence.go:14
FunctionRser
Rser returns equivalent resistance for resistors arrange in series in a circuit
ch06/resistor/res_equivalence.go:5
FunctionRvp
Rvp calculates resistance in a circuit when volt v and power p are known
ch06/resistor/res_power.go:13
MethodServeHTTP
(resp http.ResponseWriter, req *http.Request)
ch11/httpserv1.go:12
MethodServeHTTP
(resp http.ResponseWriter, req *http.Request)
ch11/httpserv2.go:10
MethodServeHTTP
(resp http.ResponseWriter, req *http.Request)
ch11/httpserv0a.go:9
MethodServeHTTP
(resp http.ResponseWriter, req *http.Request)
ch11/httpserv0.go:9
MethodString
String returns a string representation of the Vector
ch12/vector/vec.go:39
MethodString
()
ch01/metalloids2.go:24
MethodString
()
ch01/example4.go:9
MethodString
()
ch08/interface_impl3.go:35
MethodString
()
ch08/interface_impl3.go:55
MethodString
()
ch08/interface_impl3.go:75
MethodString
()
ch08/interface_impl.go:26
MethodString
()
ch08/interface_impl.go:46
MethodString
()
ch08/interface_impl2.go:33
MethodString
()
ch08/interface_impl2.go:53
MethodString
()
ch08/interface_impl2.go:73
MethodString
()
ch08/other/embedstruct.go:18
MethodString
()
ch08/other/structs.go:17
MethodString
()
ch08/other/structs.go:27
MethodString
()
ch08/other/structs.go:41
MethodString
()
ch08/other/structs.go:54
MethodString
()
ch08/other/structs.go:67
MethodSub
Sub returns the subtraction of a vector from another
ch12/vector/vec.go:89
FunctionTestClientAdd
(t *testing.T)
ch12/client/client_test.go:14
FunctionTestDivide
(t *testing.T)
ch01/testexample/divide_test.go:5
FunctionTestFindByCode
(t *testing.T)
ch11/curr0/currency_test.go:15
FunctionTestFindByNumber
(t *testing.T)
ch11/curr0/currency_test.go:22
FunctionTestFindMultiple
(t *testing.T)
ch11/curr0/currency_test.go:29
FunctionTestLoad
(t *testing.T)
ch11/curr0/currency_test.go:7
FunctionTestNewVector
(t *testing.T)
ch12/vector/vec_test.go:9
FunctionTestVectorAdd
(t *testing.T)
ch12/vector/vec_test.go:43
FunctionTestVectorAdd
(t *testing.T)
ch12/service/serv_test.go:13
FunctionTestVectorAngle
(t *testing.T)
ch12/vector/vec_test.go:131
FunctionTestVectorDotProd
(t *testing.T)
ch12/vector/vec_test.go:119
FunctionTestVectorDotProd
(t *testing.T)
ch12/service/serv_test.go:41
FunctionTestVectorEqual
(t *testing.T)
ch12/vector/vec_test.go:24
FunctionTestVectorEqual2
(t *testing.T)
ch12/vector/vec_test.go:34
FunctionTestVectorMag
(t *testing.T)
ch12/vector/vec_test.go:89
FunctionTestVectorMag
(t *testing.T)
ch12/service/serv_test.go:59
FunctionTestVectorScale
(t *testing.T)
ch12/vector/vec_test.go:74
FunctionTestVectorString
(t *testing.T)
ch12/vector/vec_test.go:16
FunctionTestVectorSub
(t *testing.T)
ch12/vector/vec_test.go:59
FunctionTestVectorSub
(t *testing.T)
ch12/service/serv_test.go:27
FunctionTestVectorUnit
(t *testing.T)
ch12/vector/vec_test.go:108
FunctionTestVectorUnit
(t *testing.T)
ch12/service/serv_test.go:77
MethodUnmarshalJSON
(data []byte)
ch10/json4.go:15
FunctionV
V returns the votage of circuit using Ohm's law
ch06/volt/volt.go:5
FunctionVpi
Vip returns the voltage when power p and current i are known
ch06/volt/volt.go:20
FunctionVser
Vser returns the total voltage across a a series circuit
ch06/volt/volt.go:11
MethodWrite
(p []byte)
ch10/writer2.go:19
Functionadd
add implements the addition operation returning the value op0 + op1
ch05/funcs.go:59
Functionadd
(op0 int, op1 int)
ch05/functype.go:5
Methodarea
()
ch08/interface_impl3.go:9
Methodarea
()
ch08/interface_impl3.go:27
Methodarea
()
ch08/interface_impl3.go:47
Methodarea
()
ch08/interface_impl3.go:67
Methodarea
()
ch08/interface_impl.go:9
Methodarea
()
ch08/interface_impl.go:18
Methodarea
()
ch08/interface_impl.go:38
Methodarea
()
ch08/interface_impl2.go:25
Methodarea
()
ch08/interface_impl2.go:45
Methodarea
()
ch08/interface_impl2.go:65
FunctionbySigKv
bySigKv returns a word-class signature for a given word. It is used as a parameter to the mapWords method defined earlier.
ch05/anagram4.go:63
FunctioncelToFahr
(c celsius)
ch04/typedef.go:17
Methodcirconf
()
ch08/interface_impl3.go:19
← previousnext →201–300 of 553, ranked by callers