MCPcopy Create free account

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

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

↓ 2 callersFunctionsearchMatrix
(matrix [][]int, target int)
Leetcode/0240-Search-a-2D-Matrix-II/Solution.go:3
↓ 2 callersFunctionservice
()
GreekTime/go_learning/code/ch18/csp/async_service_test.go:9
↓ 2 callersMethodsetValue
只有指针才能改变结构内容
Google-Engineer/4-1/node.go:21
↓ 2 callersMethodsize
()
Algorithm/Sort/Classify/HeapSort/HeapSort.go:34
↓ 2 callersFunctionsquare
(op int)
GreekTime/go_learning/code/ch34/unit_test/functions.go:3
↓ 2 callersFunctionuniquePaths
(m int, n int)
Leetcode/0062-Unique-Paths/Solution.go:3
↓ 2 callersFunctionwithReference
(arr *[NumOfElems]Content)
GreekTime/go_learning/code/ch49/gc_friendly/passing_ref/pass_array_test.go:18
↓ 2 callersFunctionwithValue
(arr [NumOfElems]Content)
GreekTime/go_learning/code/ch49/gc_friendly/passing_ref/pass_array_test.go:13
↓ 2 callersFunctionwriteFirstProgram
(p Programmer)
GreekTime/go_learning/code/ch13/polymorphsim/polymorphsim_test.go:27
↓ 1 callersFunctionA
()
Complicat/v2/02.RWMutex.go:20
↓ 1 callersFunctionA
()
Complicat/v1/01.Mutex.go:17
↓ 1 callersMethodAddItem
(item ...Item)
Design-Patterns-Golang/Create/Builder/Builder.go:92
↓ 1 callersMethodAddTo
添加到对应的父节点
Design-Patterns-Golang/Struct/Composite/Compistie.go:24
↓ 1 callersFunctionAllResponse
()
GreekTime/go_learning/code/ch25/until_all_done/until_all_done_test.go:27
↓ 1 callersFunctionArea
(rectangle Rectangle)
Structs-Methods-Interfaces/Test2/shapes.go:11
↓ 1 callersFunctionArea
(width float64, height float64)
Structs-Methods-Interfaces/Test1/Perimeter.go:7
↓ 1 callersMethodArea
Area returns the area of the rectangle
Structs-Methods-Interfaces/Test3/shapes.go:12
↓ 1 callersMethodArea
()
Structs-Methods-Interfaces/Test3/shapes.go:26
↓ 1 callersFunctionAsyncS
()
GreekTime/go_learning/code/ch18/csp/async_service_test.go:50
↓ 1 callersFunctionAsyncService
()
GreekTime/go_learning/code/ch19/select/select_test.go:14
↓ 1 callersFunctionAsyncService
()
GreekTime/go_learning/code/ch18/csp/async_service_test.go:25
↓ 1 callersMethodAttach
(observer ...Observer)
Design-Patterns-Golang/Behavior/Observer/Observer.go:24
↓ 1 callersFunctionB
()
Complicat/v2/02.RWMutex.go:25
↓ 1 callersFunctionB
()
Complicat/v1/01.Mutex.go:24
↓ 1 callersFunctionBuildMaxHeap
(slice []int)
Algorithm/Sort/Classify/HeapSort/HeapSort.go:10
↓ 1 callersFunctionC
()
Complicat/v2/02.RWMutex.go:29
↓ 1 callersFunctionC
()
Complicat/v1/01.Mutex.go:29
↓ 1 callersMethodCap
返回栈的容量
Algorithm/Stack/main.go:17
↓ 1 callersMethodCategory
名称
Design-Patterns-Golang/Create/Builder/Builder.go:11
↓ 1 callersFunctionCheckToken
校验token是否有效
Algorithm/Tmp/main.go:32
↓ 1 callersFunctionCheckType
(v interface{})
GreekTime/go_learning/code/ch37/reflect/reflect_test.go:15
↓ 1 callersFunctionClear
()
GreekTime/go_learning/code/ch10/func/func_test.go:48
↓ 1 callersFunctionCocktailShakerSort
鸡尾酒排序(Cocktail shaker sort)
Algorithm/Sort/Sort.go:188
↓ 1 callersMethodCoding
()
Design-Patterns-Golang/Struct/Facade/Facade.go:13
↓ 1 callersFunctionConsumer
消费者
Concurrency-and-Parallelism/Producer_Consumer/v2/main.go:18
↓ 1 callersFunctionConsumer
消费者
Concurrency-and-Parallelism/Producer_Consumer/v1/main.go:16
↓ 1 callersFunctionCountingSort
计数排序(Counting Sort)
Algorithm/Sort/Sort.go:238
↓ 1 callersFunctionCreateConcurrentMapBenchmarkAdapter
(numOfPartitions int)
GreekTime/go_learning/code/ch48/maps/concurrent_map_benchmark_adapter.go:21
↓ 1 callersFunctionCreateRWLockMap
()
GreekTime/go_learning/code/ch48/maps/rw_map.go:29
↓ 1 callersFunctionCreateSyncMapBenchmarkAdapter
()
GreekTime/go_learning/code/ch48/maps/sync_map_benchmark_adapter.go:5
↓ 1 callersFunctionD
()
Algorithm/LRU/v1/lru.go:7
↓ 1 callersMethodDeleteOldFile
** * 删除多余的备份文件 */
Basic-Grammar/Flag/v1/main.go:56
↓ 1 callersMethodDestory
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:43
↓ 1 callersMethodDestory
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:150
↓ 1 callersMethodDo
(interface{})
Design-Patterns-Golang/Behavior/Strategy/Strategy.go:12
↓ 1 callersMethodDo1
()
Temp/main.go:9
↓ 1 callersMethodErase
(key int)
Algorithm/Tree/Order_Map/Solution.go:95
↓ 1 callersMethodEventProcessGroutine
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:54
↓ 1 callersMethodExists
(key int)
Algorithm/Tree/Order_Map/Solution.go:64
↓ 1 callersFunctionFilter
Copy the values from channel 'in' to channel 'out', removing those divisible by 'prime'.
Concurrency-and-Parallelism/sieve.go:14
↓ 1 callersMethodFind
查找子节点
Design-Patterns-Golang/Struct/Composite/Compistie.go:35
↓ 1 callersFunctionFirstResponse
()
GreekTime/go_learning/code/ch24/util_anyone_reply/first_response_test.go:15
↓ 1 callersFunctionGenToken
产生json web token
Algorithm/Tmp/main.go:15
↓ 1 callersFunctionGenerate
Send the sequence 2, 3, 4, ... to channel 'ch'.
Concurrency-and-Parallelism/sieve.go:6
↓ 1 callersMethodGet
()
Design-Patterns-Golang/Struct/Flyweight/Flyweight.go:20
↓ 1 callersMethodGetByOrderIndex
(index int)
Algorithm/Tree/Order_Map/Solution.go:118
↓ 1 callersFunctionGetFibonacciSerie
(n int)
GreekTime/go_learning/code/ch46/tools/http/fb_server.go:10
↓ 1 callersMethodGetIterator
()
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:47
↓ 1 callersFunctionGetNextValueArray
(sub []byte)
Algorithm/KMP/v1/main.go:7
↓ 1 callersMethodGetObj
(timeout time.Duration)
GreekTime/go_learning/code/ch32/obj_pool/obj_pool.go:24
↓ 1 callersFunctionGetPayInstance
(s string)
Temp/main.go:29
↓ 1 callersMethodGetPlayerScore
GetPlayerScore retrieves a player's score
Basic-Grammar/io/v2/FileSystemStore.go:20
↓ 1 callersFunctionGetSingletonObj
()
GreekTime/go_learning/code/ch23/singleton/once_test.go:17
↓ 1 callersFunctionGnomeSort
地精排序(Gnome Sort)
Algorithm/Sort/Sort.go:274
↓ 1 callersFunctionGuessingGame
()
Basic-Grammar/Sort/Sort.go:8
↓ 1 callersMethodHasNext
()
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:11
↓ 1 callersMethodHasNext
()
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:26
↓ 1 callersFunctionHeapSort
堆排序(Heap Sort)
Algorithm/Sort/Sort.go:131
↓ 1 callersFunctionHeapSort
???
Algorithm/Sort/Classify/HeapSort/HeapSort.go:36
↓ 1 callersMethodHttpRequest
()
Design-Patterns-Golang/Struct/Bridge/Bridge.go:16
↓ 1 callersFunctionInOrder
先序遍历: 节点 - 左孩子 - 右孩子
Algorithm/Tree/BinaryTree/main.go:41
↓ 1 callersFunctionInfoFuncMap
()
Basic-Grammar/Template/v1/main.go:82
↓ 1 callersFunctionInitConsumer
初始化消费者
Framework/Nsq/v2/receive.go:29
↓ 1 callersFunctionInitConsumer
初始化消费者
Framework/Nsq/v3/receive.go:27
↓ 1 callersFunctionInitEfacePointer
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:25
↓ 1 callersFunctionInitEfaceType
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:20
↓ 1 callersFunctionInitIfacePointer
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:35
↓ 1 callersFunctionInitIfaceType
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:30
↓ 1 callersFunctionInitPointer
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:16
↓ 1 callersFunctionInitProducer
(str string)
Framework/Nsq/v3/send.go:29
↓ 1 callersMethodInsert
(key int, data interface{})
Algorithm/Tree/Order_Map/Solution.go:69
↓ 1 callersFunctionInsertSort
排序
Interview/d/solution.go:50
↓ 1 callersFunctionInsertSort
插入排序(Insert Sort)
Algorithm/Sort/Sort.go:34
↓ 1 callersMethodInterpret
(context string)
Design-Patterns-Golang/Behavior/Interpreter/Interpreter.go:36
↓ 1 callersMethodInterpret
(context string)
Design-Patterns-Golang/Behavior/Interpreter/Interpreter.go:46
↓ 1 callersMethodIsEmpty
判断栈是否为空
Leetcode/0155-Min-Stack/Solution.go:22
↓ 1 callersMethodIsEmpty
判断栈是否为空
Algorithm/Stack/main.go:22
↓ 1 callersFunctionKMP
在content中的start-end之间寻找sub子串 成功返回匹配成功的起始下标,匹配失败则返回-1
Algorithm/KMP/v1/main.go:76
↓ 1 callersMethodLen
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Standard-library-and-Packages/Heap/main.go:10
↓ 1 callersMethodLen
Return the stack len
Leetcode/0739-Daily-Temperatures/Solution.go:14
↓ 1 callersMethodLen
()
Complicat/v11/11.Map.go:21
↓ 1 callersFunctionLogDecorate
(fn Object)
Design-Patterns-Golang/Struct/Decorator/Decorator.go:49
↓ 1 callersFunctionMakeList
(nums []int)
Leetcode/0019-Remove-Nth-Node-From-End-of-List/Solution.go:12
↓ 1 callersFunctionMakeList
(nums []int)
Leetcode/0024-Swap-Nodes-in-Pairs/Solution.go:12
↓ 1 callersFunctionMakeList
(nums []int)
Leetcode/0206-Reverse-Linked-List/Solution.go:12
↓ 1 callersMethodMarshalJSON
MarshalJSON supports json.Marshaler interface
GreekTime/go_learning/code/ch47/structs_easyjson.go:81
↓ 1 callersMethodMarshalJSON
MarshalJSON supports json.Marshaler interface
GreekTime/go_learning/code/ch47/structs_easyjson.go:196
↓ 1 callersFunctionMax
(a, b int)
Leetcode/0104-Maximum-Depth-of-Binary-Tree/Solution.go:24
↓ 1 callersFunctionMax
(a int, b int)
Leetcode/0121-Best-Time-to-Buy-and-Sell-Stock/Solution.go:3
↓ 1 callersFunctionMax
(a int, b int)
Leetcode/0485-Max-Consecutive-Ones/Solution.go:3
← previousnext →401–500 of 1,648, ranked by callers