MCPcopy Create free account

hub / github.com/6boris/Golang-Learn / functions

Functions1,648 in github.com/6boris/Golang-Learn

↓ 1 callersFunctioncoinChange
(coins []int, amount int)
Temp/Interview/v1/main.go:12
↓ 1 callersFunctioncountBound
(n, m int, len []int)
Temp/Interview/v2/main.go:26
↓ 1 callersFunctioncountPrimes
(n int)
Leetcode/0204-Count-Primes/Solution.go:3
↓ 1 callersFunctioncreateNode
(value int)
Google-Engineer/4-1/node.go:10
↓ 1 callersMethodcreateUser
(db string)
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:211
↓ 1 callersFunctiond1
()
Basic-Grammar/Panic/v1/main.go:7
↓ 1 callersFunctiond2
()
Basic-Grammar/Panic/v1/main.go:13
↓ 1 callersFunctiond3
()
Basic-Grammar/Panic/v1/main.go:22
↓ 1 callersFunctiondailyTemperatures
(temperatures []int)
Leetcode/0739-Daily-Temperatures/Solution.go:46
↓ 1 callersFunctiondataProducer
(ch chan int, wg *sync.WaitGroup)
GreekTime/go_learning/code/ch20/channel_close/channel_close_test.go:9
↓ 1 callersFunctiondeleteDuplicates
(head *ListNode)
Leetcode/0206-Reverse-Linked-List/Solution.go:33
↓ 1 callersMethoddepth
()
Algorithm/Tree/BinaryTree/BinaryTree.go:80
↓ 1 callersMethoddestoryCollectors
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:119
↓ 1 callersFunctione1
()
Basic-Grammar/Defer/defer4.go:8
↓ 1 callersFunctione2
()
Basic-Grammar/Defer/defer4.go:14
↓ 1 callersFunctione3
()
Basic-Grammar/Defer/defer4.go:22
↓ 1 callersFunctionf
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/recover/main.go:5
↓ 1 callersFunctionf1
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Panic-Stack/main.go:3
↓ 1 callersFunctionf1
** func f1() (r int) { t := 5 1.直接赋值 r = t 2.defer被插入到赋值与返回之间执行,这个例子中返回值没有被修改过 defer func() { t = t + 5 }() 3. 空的return指令 return t } */
Basic-Grammar/Defer/defer1.go:23
↓ 1 callersFunctionf2
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Panic-Stack/main.go:9
↓ 1 callersFunctionf2
()
Basic-Grammar/Defer/defer2.go:5
↓ 1 callersFunctionf3
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Panic-Stack/main.go:15
↓ 1 callersFunctionf3
()
Basic-Grammar/Defer/defer3.go:5
↓ 1 callersFunctionfillMatrix
(m *[row][col]int)
GreekTime/go_learning/code/ch46/tools/file/prof.go:17
↓ 1 callersFunctionfindErrorNums
(nums []int)
Leetcode/0645-Set-Mismatch/Solution.go:10
↓ 1 callersFunctionfindMaxConsecutiveOnes
(nums []int)
Leetcode/0485-Max-Consecutive-Ones/Solution.go:10
↓ 1 callersFunctiongenerateStringToUsers
将字符串转用户对象
Interview/d/solution.go:75
↓ 1 callersFunctiongenerateTime
将字符串时间转化成秒
Interview/d/solution.go:89
↓ 1 callersMethodgetDepartment
(int)
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:123
↓ 1 callersFunctiongetK
(arr []int)
Algorithm/Sort/Sort.go:260
↓ 1 callersFunctiongetLeagueFromResponse
(t *testing.T, body io.Reader)
Basic-Grammar/json/v5/server_test.go:134
↓ 1 callersFunctiongetLeagueFromResponse
(t *testing.T, body io.Reader)
Basic-Grammar/json/v4/server_test.go:125
↓ 1 callersMethodgetLeagueTable
()
Basic-Grammar/json/v3/server.go:47
↓ 1 callersFunctiongetPrefix
(language string)
Basic-Grammar/fmt/Println/Test2/Hello.go:15
↓ 1 callersMethodgetUser
(int)
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:80
↓ 1 callersFunctionhandle
(int)
Basic-Grammar/time/v2/after/main.go:10
↓ 1 callersFunctionhandle
(int)
Basic-Grammar/time/v1/time_test.go:43
↓ 1 callersFunctionhello
Temp/cgo/test.c:3
↓ 1 callersFunctionidentity1
(x S1)
Basic-Grammar/Defer/escape1.go:20
↓ 1 callersFunctionidentity2
(z *S2)
Basic-Grammar/Defer/escape2.go:21
↓ 1 callersFunctioninitConsumer
(topic, channel, addr string)
Framework/Nsq/v7/c/consumer.go:32
↓ 1 callersFunctioninitData
初始化数据
Algorithm/Sort/Sort_test.go:26
↓ 1 callersFunctioninitialisePlayerDBFile
(file *os.File)
Basic-Grammar/command-line/v1/FileSystemStore.go:37
↓ 1 callersFunctioninitialisePlayerDBFile
(file *os.File)
Basic-Grammar/io/v9/FileSystemStore.go:37
↓ 1 callersFunctioninitialisePlayerDBFile
(file *os.File)
Basic-Grammar/io/v8/FileSystemStore.go:36
↓ 1 callersFunctionisCancelled
(cancelChan chan struct{})
GreekTime/go_learning/code/ch21/cancel_by_close/cancel_test.go:9
↓ 1 callersFunctionisCancelled
(ctx context.Context)
GreekTime/go_learning/code/ch22/cancel_by_context/cancel_by_context_test.go:10
↓ 1 callersFunctionisEqual
(data1 []int, data2 []int)
Leetcode/0075-Sort-Colors/Solution_test.go:7
↓ 1 callersFunctionisEqual
(arr1, arr2 []int)
Basic-Grammar/Sort/Sort_test.go:25
↓ 1 callersFunctionlengthOfLongestSubstring
(s string)
Algorithm/String/lengthOfLongestSubstring/main.go:5
↓ 1 callersFunctionless
(a int, b int)
Basic-Grammar/Stack/Temp.go:5
↓ 1 callersFunctionlevelorder
(root *node)
Algorithm/Tree/BinaryTree/BinaryTree.go:54
↓ 1 callersFunctionlocalIP
获取本机IP
Tool/GetIpAddr/main.go:13
↓ 1 callersFunctionlockAccess
()
GreekTime/go_learning/code/ch48/lock/lock_test.go:39
↓ 1 callersFunctionlockFreeAccess
()
GreekTime/go_learning/code/ch48/lock/lock_test.go:21
↓ 1 callersFunctionlongestConsecutive
(nums []int)
Leetcode/0128-Longest-Consecutive-Sequence/Solution.go:3
↓ 1 callersFunctionlongestPalindrome
(s string)
Leetcode/0409-Longest-Palindrome/Solution.go:3
↓ 1 callersFunctionmatrixReshape
主要是用了 matrix[index / width][index % width] 来转换矩阵 上面这个公式会根据列的长度来输出一个矩阵
Leetcode/0566-Reshape-the-Matrix/Solution.go:7
↓ 1 callersFunctionmax
(a, b int)
Algorithm/Tree/BinaryTree/BinaryTree.go:15
↓ 1 callersFunctionmax
(x, y int)
Basic-Grammar/Scan/v2/main.go:17
↓ 1 callersFunctionmaxDepth
(root *TreeNode)
Leetcode/0104-Maximum-Depth-of-Binary-Tree/Solution.go:18
↓ 1 callersFunctionmaxProfit
(prices []int)
Leetcode/0122-Best-Time-to-Buy-and-Sell-Stock-II/Solution.go:3
↓ 1 callersFunctionmaxProfit
(prices []int)
Leetcode/0121-Best-Time-to-Buy-and-Sell-Stock/Solution.go:16
↓ 1 callersFunctionmergeTwoLists
** * Definition for singly-linked list. * type ListNode struct { * Val int * Next *ListNode * } */
Leetcode/0021-Merge-Two-Sorted-Lists/Solution.go:12
↓ 1 callersFunctionminPathSum
(grid [][]int)
Leetcode/0064-Minimum-Path-Sum/Solution.go:3
↓ 1 callersFunctionmoveZeroes
Golang的切片是一个非常特殊的类型, 此时的nums是介于传值和传引用之间的 类型,值会改变,但是len 和cap 并不会改变 所以才会有nums = append(nums, 1)这种骚操作
Leetcode/0283-Move-Zeroes/Solution.go:7
↓ 1 callersFunctionmyFunction
(i int, arr [2]int)
Asm/v2/main.go:5
↓ 1 callersFunctionmyFunction
(ms *MyStruct)
Asm/v6/main.go:11
↓ 1 callersFunctionmyFunction
(ms *MyStruct)
Asm/v5/main.go:11
↓ 1 callersFunctionmyFunction
(i int, arr [2]int)
Asm/v3/main.go:5
↓ 1 callersFunctionmyFunction
(a, b int)
Asm/v1/main.go:3
↓ 1 callersFunctionmyFunction
(a MyStruct, b *MyStruct)
Asm/v4/main.go:9
↓ 1 callersFunctionnewLeagueRequest
()
Basic-Grammar/json/v5/server_test.go:159
↓ 1 callersFunctionnewLeagueRequest
()
Basic-Grammar/json/v4/server_test.go:150
↓ 1 callersFunctionnumFriendRequests
(ages []int)
Temp/Interview/v3/main.go:9
↓ 1 callersFunctionpase_student
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/for_range/main.go:14
↓ 1 callersFunctionpostorder
(n *node)
Algorithm/Tree/BinaryTree/BinaryTree.go:45
↓ 1 callersFunctionpreorder
(n *node)
Algorithm/Tree/BinaryTree/BinaryTree.go:36
↓ 1 callersFunctionprintOriginalSlice
(subslice *[]int)
Interview/Awesome-Go-Interview-Questions-and-Answers/Internals/Slice-Internals/main.go:10
↓ 1 callersFunctionprocessRequestOld
(reqs []string)
GreekTime/go_learning/code/ch47/optmization.go:45
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/http-server/v5/server.go:40
↓ 1 callersMethodprocessWin
(w http.ResponseWriter)
Basic-Grammar/http-server/v3/server.go:41
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/http-server/v4/server.go:40
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/command-line/v1/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v7/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v2/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v9/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v6/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v5/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v8/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v3/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v1/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/io/v4/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/json/v2/server.go:60
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/json/v6/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/json/v5/server.go:71
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/json/v3/server.go:74
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/json/v1/server.go:40
↓ 1 callersMethodprocessWin
(w http.ResponseWriter, player string)
Basic-Grammar/json/v4/server.go:69
↓ 1 callersFunctionreadMessage
()
Basic-Grammar/Sync/WaitGroup/v1/Game.go:26
← previousnext →601–700 of 1,648, ranked by callers