MCPcopy Create free account

hub / github.com/betty200744/ultimate-go / functions

Functions2,090 in github.com/betty200744/ultimate-go

↓ 2 callersMethodcheckPassword
(pwd int)
design-pattern/structual/facade/facade.go:88
↓ 2 callersFunctionconcatV2
(str string, count int)
diagnostics/profiling/pprof/handler/concat.go:24
↓ 2 callersMethoddisplayName
displayName provides a pretty print view of the name. It uses data as a value receiver.
Language_Specification/reference-type/struct/struct_method_set.go:13
↓ 2 callersFunctionencodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:198
↓ 2 callersFunctionencodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:201
↓ 2 callersFunctionencodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:211
↓ 2 callersFunctionencodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:211
↓ 2 callersFunctionencodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:276
↓ 2 callersFunctionfile_greeting_proto_rawDescGZIP
()
kubernetes/proto/greeting.pb.go:142
↓ 2 callersFunctionfile_helloworld_helloworld_proto_rawDescGZIP
()
awesome-go/gogoprobuf/proto/protoc-gen-go-grpc/helloworld/helloworld.pb.go:148
↓ 2 callersFunctionfile_helloworld_proto_rawDescGZIP
()
awesome-go/packr/templates/proto/helloworld/helloworld.pb.go:143
↓ 2 callersFunctionfuncName
(foo FooInterface)
main.go:28
↓ 2 callersFunctionfuncName
(foo FooInterface)
Language_Specification/reference-type/interfaces/interfaces_cheat_sheet.go:113
↓ 2 callersMethodgetId
()
design-pattern/creational/object_pool/connection.go:6
↓ 2 callersFunctiongetValueByField
(field string, s interface{})
Language_Specification/reflection/reflection_ValueOf/reflection_ValueOf.go:115
↓ 2 callersFunctioninitPrintVisitor
(w io.Writer, prefix string)
awesome-go/protoc-gen-star/printer.go:64
↓ 2 callersFunctionisOverlap
(rangeArray [][]int64)
build-in-package/math/math_cheat_sheet.go:7
↓ 2 callersMethodleafPrefix
()
awesome-go/protoc-gen-star/printer.go:73
↓ 2 callersFunctionmakeRPCs
(cc *grpc.ClientConn, n int)
awesome-go/grpc-go/features/load_balancing/client/main.go:50
↓ 2 callersFunctionmakeRPCs
(cc *grpc.ClientConn, n int)
awesome-go/grpc-go/features/name_resolving/client/main.go:50
↓ 2 callersFunctionmakeRequest
(done chan struct{}, c *http.Client, page string, i int64)
diagnostics/goland_debug/goland_debug.go:60
↓ 2 callersFunctionmax
(a, b int)
leetcode/binary_search/543_diameterOfBinaryTree/543_diameterOfBinaryTree.go:32
↓ 2 callersFunctionprintFeature
printFeature gets the feature for the given point.
awesome-go/grpc-go/route_guide/client/client.go:47
↓ 2 callersMethodsetAge
setAge sets the age and displays the value. It uses data as a pointer receiver.
Language_Specification/reference-type/struct/struct_method_set.go:19
↓ 2 callersFunctionskipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:411
↓ 2 callersFunctionskipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:414
↓ 2 callersFunctionskipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:432
↓ 2 callersFunctionskipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:432
↓ 2 callersFunctionskipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:511
↓ 2 callersFunctionstreamingCall
(c pb.EchoClient, requestID int, message string, want codes.Code)
awesome-go/grpc-go/features/deadline/client/main.go:49
↓ 2 callersFunctionswap
(x, y string)
Language_Specification/basics.go:19
↓ 2 callersFunctionvalid
valid validates the authorization.
awesome-go/grpc-go/features/interceptor/server/main.go:84
↓ 2 callersFunctionvariadic
(nums ...interface{})
Language_Specification/reference-type/function/functions.go:27
↓ 1 callersFunctionAESDecrypt
(ciphertext []byte)
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:26
↓ 1 callersFunctionAESEncrypt
Advanced Encryption Standard https://zh.wikipedia.org/wiki/%E9%AB%98%E7%BA%A7%E5%8A%A0%E5%AF%86%E6%A0%87%E5%87%86
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:17
↓ 1 callersFunctionASTPrinter
()
awesome-go/protoc-gen-star/printer.go:17
↓ 1 callersFunctionAdd
variables , shard type
Language_Specification/basics.go:15
↓ 1 callersFunctionAdd
(wg *sync.WaitGroup, m *sync.Mutex)
LearnConcurrency/communicate_channel/mutex/mutex.go:12
↓ 1 callersMethodAdd
(v string)
build-in-package/sync/sync-value_test.go:19
↓ 1 callersMethodAdd
(values ...interface{})
algorithms/data-structures/lists/lists.go:9
↓ 1 callersMethodAdd
(elements ...interface{})
algorithms/data-structures/sets/hashset/hashset.go:24
↓ 1 callersFunctionAddTwoNumbers
(l1 *ListNode, l2 *ListNode)
leetcode/linked_list/2_addTwoNumbers/addTwoNumbers.go:14
↓ 1 callersFunctionAny
(vs interface{}, f func(interface{}) bool)
Language_Specification/reference-type/slice/slice_collection_function.go:29
↓ 1 callersFunctionApp
()
Language_Specification/packages/app/app.go:16
↓ 1 callersMethodBar
(x int)
mock/foo/foo.go:5
↓ 1 callersFunctionBase64Decode
(s string)
Language_Specification/build-in-type/str/str.go:13
↓ 1 callersFunctionBase64Encode
(s string)
Language_Specification/build-in-type/str/str.go:10
↓ 1 callersFunctionBase64InBytes
(max int)
awesome-go/securerandom/securerandom.go:9
↓ 1 callersFunctionBreadthFirst
(root *Node)
leetcode/binary_search/112_Path_Sum/112_Path_Sum.go:19
↓ 1 callersFunctionBreadthFirst
Breadth-first search
algorithms/data-structures/tree/binary_tree/binary_tree.go:75
↓ 1 callersMethodBuild
(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOption)
awesome-go/grpc-go/features/load_balancing/client/main.go:93
↓ 1 callersFunctionBuildStringFromOptions
(opts Options)
build-in-package/net/url/url.go:23
↓ 1 callersFunctionBytes
(n int)
awesome-go/securerandom/securerandom.go:16
↓ 1 callersFunctionCamelCase
(s string)
build-in-package/strings/strings_reader.go:8
↓ 1 callersFunctionCamelCaseToUnderscore
(str string)
build-in-package/strings/string_underscore.go:18
↓ 1 callersFunctionChannel1
for loop, exit when i >3
Language_Specification/reference-type/channel/channel.go:10
↓ 1 callersFunctionChannel2
exit for range loop by close channel
Language_Specification/reference-type/channel/channel.go:21
↓ 1 callersFunctionChannel3
exit for while loop by ctx.Done
Language_Specification/reference-type/channel/channel.go:34
↓ 1 callersFunctionChannel4
receive only channel 不能 close,直接编译错误。但 send only channel 是可以被正常 close 的
Language_Specification/reference-type/channel/channel.go:51
↓ 1 callersFunctionChannel5
send to a close channel, then panic
Language_Specification/reference-type/channel/channel.go:66
↓ 1 callersFunctionChannel6
receive a close channel, then default value
Language_Specification/reference-type/channel/channel.go:73
↓ 1 callersMethodCloseAndRecv
()
awesome-go/grpc-go/route_guide/routeguide/route_guide.pb.go:403
↓ 1 callersMethodCloseAndRecv
()
awesome-go/grpc-go/features/proto/echo/echo.pb.go:191
↓ 1 callersFunctionConcatHandler
(w http.ResponseWriter, r *http.Request)
diagnostics/profiling/pprof/handler/concat.go:31
↓ 1 callersFunctionConvert
error to Status Convert is a convenience function which removes the need to handle the boolean return value from FromError.
design-pattern/go-design/grpc_go_error_handling/status/status.go:68
↓ 1 callersFunctionCopyContext
(ctx context.Context)
utils/ctx.go:9
↓ 1 callersFunctionCreateProject
()
awesome-go/packr/project.go:29
↓ 1 callersMethodDeRegister
(id string)
awesome-go/consul/register/register.go:14
↓ 1 callersFunctionDel
(keys ...interface{})
Language_Specification/hello-world.go:11
↓ 1 callersMethodDel
(key string)
awesome-go/freecache/localcache/localcache.go:43
↓ 1 callersFunctionDepopulate
Depopulate to map
Language_Specification/reference-type/struct/struct_tag.go:44
↓ 1 callersMethodDequeue
()
algorithms/data-structures/queue/queue.go:44
↓ 1 callersFunctionDetailById
(id int64)
LearnConcurrency/user_concurrency/user_concurrency.go:27
↓ 1 callersFunctionDiameterOfBinaryTree
(root *TreeNode)
leetcode/binary_search/543_diameterOfBinaryTree/543_diameterOfBinaryTree.go:38
↓ 1 callersFunctionDo
()
LearnConcurrency/goroutines/goroutine_error_handling.go:26
↓ 1 callersFunctionDoPost
(formType int, url string, header map[string]string, body []byte)
build-in-package/http/http.go:109
↓ 1 callersFunctionDownload
(url string)
build-in-package/http/http.go:68
↓ 1 callersFunctionECBDecrypt
(ciphertext []byte)
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:69
↓ 1 callersFunctionECBEncrypt
ECB, Electronic codebook
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:59
↓ 1 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
mock/foo/mock/mock.go:31
↓ 1 callersMethodEXPECT
()
awesome-go/grpc-go/helloworld/mock_helloworld/hw_mock.go:30
↓ 1 callersMethodEXPECT
()
awesome-go/grpc-go/route_guide/mock_routeguide/rg_mock.go:31
↓ 1 callersMethodEach
(f func(index int, value interface{}))
algorithms/data-structures/lists/arraylist/arraylist.go:86
↓ 1 callersFunctionEncodeMD5Base64
(v []byte)
build-in-package/crypto/hashing/md5.go:15
↓ 1 callersFunctionEncodeMD5Hex
(v []byte)
build-in-package/crypto/hashing/md5.go:9
↓ 1 callersFunctionEncodeParam
(s string)
build-in-package/net/url/url.go:38
↓ 1 callersFunctionEncodeStringBase64
(s string)
build-in-package/net/url/url.go:42
↓ 1 callersFunctionError
Error returns an error representing c and msg. If c is OK, returns nil.
design-pattern/go-design/grpc_go_error_handling/status/status.go:40
↓ 1 callersFunctionErrorTest
()
build-in-package/fmt/fmt-test.go:5
↓ 1 callersFunctionEscapeHttpHeader
(input string)
utils/network.go:8
↓ 1 callersMethodExec
(string, ...interface{})
awesome-go/go-pinyin/go-pinyin.go:13
↓ 1 callersFunctionExists
(path string)
build-in-package/filepath/filepath.go:20
↓ 1 callersMethodExtractMax
删除root, 删除前先与last交换,最后删除lastItem, 因为root变了, 所有需要MaxHeapifyDown
algorithms/data-structures/heap/maxheap/maxheap.go:72
↓ 1 callersMethodExtractMin
删除root, 删除前先与last交换,最后删除lastItem, 因为root变了, 所有需要MaxHeapifyDown
algorithms/data-structures/heap/minheap/minheap.go:70
↓ 1 callersFunctionFactorial
(n int)
leetcode/dynamic_programming/factorial/factorial.go:3
↓ 1 callersFunctionFactorialDP_Memoization
(n int)
leetcode/dynamic_programming/factorial/factorial.go:18
↓ 1 callersFunctionFactorialDP_Tabulation
(n int)
leetcode/dynamic_programming/factorial/factorial.go:10
↓ 1 callersFunctionFakeTraffic
()
diagnostics/goland_debug/goland_debug.go:15
↓ 1 callersFunctionFakeTraffic2
()
diagnostics/goland_debug/goland_debug.go:36
↓ 1 callersMethodFetch
Fetch fetches data
design-pattern/structual/decorator/decorator.go:15
← previousnext →301–400 of 2,090, ranked by callers