Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Swiftie13st/LearningNote
/ functions
Functions
1,167 in github.com/Swiftie13st/LearningNote
⨍
Functions
1,167
◇
Types & classes
299
↓ 28 callers
Method
Sleep
()
Golang/Code/advanceCode/reflect/main.go:58
↓ 25 callers
Function
string
(arg: String)
Rust/rustlings/exercises/09_strings/strings4.rs:8
↓ 20 callers
Method
Search
(ctx context.Context, in *PersonReq, opts ...grpc.CallOption)
Golang/Code/gRPC/server/pb/person/person_grpc.pb.go:25
↓ 13 callers
Method
Send
(*PersonReq)
Golang/Code/gRPC/server/pb/person/person_grpc.pb.go:58
↓ 11 callers
Method
Recv
()
Golang/Code/gRPC/server/pb/person/person_grpc.pb.go:98
↓ 10 callers
Method
Get
(k int, timeOut time.Duration)
Golang/Code/advanceCode/goroutine/MyConcurrentMap/main.go:51
↓ 10 callers
Method
GetName
()
Golang/Code/basicCode/Code/goProject/SecondInterface/main.go:12
↓ 9 callers
Method
SearchI
(ctx context.Context, opts ...grpc.CallOption)
Golang/Code/gRPC/server/pb/person/person_grpc.pb.go:26
↓ 8 callers
Method
SearchO
(ctx context.Context, in *PersonReq, opts ...grpc.CallOption)
Golang/Code/gRPC/server/pb/person/person_grpc.pb.go:27
↓ 8 callers
Method
details
(&self)
Rust/rustlings/exercises/19_smart_pointers/rc1.rs:25
↓ 7 callers
Method
Run
让协程池开始工作
Golang/Code/advanceCode/goroutine/GPM/main.go:62
↓ 7 callers
Method
SearchIO
(ctx context.Context, opts ...grpc.CallOption)
Golang/Code/gRPC/server/pb/person/person_grpc.pb.go:28
↓ 7 callers
Method
String
()
Golang/Code/gRPC/basic/pb/home/home.pb.go:40
↓ 6 callers
Method
Error
(msg string)
Golang/Code/standard library/log/main.go:147
↓ 6 callers
Method
enable
判断啥级别的日志可以输出是否输出
Golang/Code/standard library/log/main.go:103
↓ 6 callers
Function
printLog
(lv LogLevel, msg string)
Golang/Code/standard library/log/main.go:107
↓ 5 callers
Function
get_map
()
Rust/rustlings/exercises/18_iterators/iterators5.rs:68
↓ 5 callers
Method
process
(&mut self, message: Message)
Rust/rustlings/exercises/08_enums/enums3.rs:47
↓ 4 callers
Method
CloseAndRecv
()
Golang/Code/gRPC/server/pb/person/person_grpc.pb.go:59
↓ 4 callers
Method
Fatal
(msg string)
Golang/Code/standard library/log/main.go:153
↓ 4 callers
Method
SendAndClose
(*PersonRes)
Golang/Code/gRPC/server/pb/person/person_grpc.pb.go:208
↓ 4 callers
Function
abs_all
(input: &mut Cow<[i32]>)
Rust/rustlings/exercises/19_smart_pointers/cow1.rs:8
↓ 4 callers
Function
fruit_basket
(basket: &mut HashMap<Fruit, u32>)
Rust/rustlings/exercises/11_hashmaps/hashmaps2.rs:22
↓ 4 callers
Function
get_fruit_basket
Don't modify this function!
Rust/rustlings/exercises/11_hashmaps/hashmaps2.rs:48
↓ 4 callers
Function
get_vec_map
()
Rust/rustlings/exercises/18_iterators/iterators5.rs:82
↓ 4 callers
Method
parse
(s: &str)
Rust/rustlings/exercises/13_error_handling/errors6.rs:45
↓ 4 callers
Function
reflectFun
(x interface{})
Golang/Code/basicCode/Code/goStudy/main/16_reflectDemo.go:8
↓ 3 callers
Method
GetTestOneOf
()
Golang/Code/gRPC/basic/pb/person/person.pb.go:145
↓ 3 callers
Method
SayHis
(ctx context.Context, in *Req, opts ...grpc.CallOption)
Golang/Code/gRPC/HelloWorld/pb/hello_grpc_grpc.pb.go:25
↓ 3 callers
Method
SetName
(string)
Golang/Code/basicCode/Code/goProject/SecondInterface/main.go:7
↓ 3 callers
Function
build_scores_table
(results: &str)
Rust/rustlings/exercises/11_hashmaps/hashmaps3.rs:18
↓ 3 callers
Method
start
()
Golang/Code/basicCode/Code/goProject/interfaceDemo/Usber.go:5
↓ 3 callers
Method
stop
()
Golang/Code/basicCode/Code/goProject/interfaceDemo/Usber.go:6
↓ 3 callers
Function
string_slice
(arg: &str)
Rust/rustlings/exercises/09_strings/strings4.rs:4
↓ 3 callers
Function
test
(c Counter)
Golang/Code/advanceCode/mutex/atomic/main.go:59
↓ 2 callers
Method
GetMessage
()
Golang/Code/gRPC/HelloWorld/pb/hello_grpc.pb.go:63
↓ 2 callers
Method
Load
()
Golang/Code/advanceCode/mutex/atomic/main.go:12
↓ 2 callers
Method
PrintInfo
定义一个结构体方法
Golang/Code/basicCode/Code/goStudy/main/12_StructDemo2.go:15
↓ 2 callers
Method
Shutdown
关闭
Golang/Code/basicCode/Code/goProject/interfaceDemo/Computer.go:14
↓ 2 callers
Method
Startup
接收一个实现了Usber接口的 结构体
Golang/Code/basicCode/Code/goProject/interfaceDemo/Computer.go:9
↓ 2 callers
Function
capitalize_first
TODO: Complete the `capitalize_first` function. "hello" -> "Hello"
Rust/rustlings/exercises/18_iterators/iterators2.rs:6
↓ 2 callers
Function
divide
TODO: Calculate `a` divided by `b` if `a` is evenly divisible by `b`. Otherwise, return a suitable error.
Rust/rustlings/exercises/18_iterators/iterators3.rs:13
↓ 2 callers
Function
file_hello_grpc_proto_rawDescGZIP
()
Golang/Code/gRPC/HelloWorld/pb/hello_grpc.pb.go:139
↓ 2 callers
Function
file_person_person_proto_rawDescGZIP
()
Golang/Code/gRPC/basicGateway/pb/person/person.pb.go:162
↓ 2 callers
Function
file_person_person_proto_rawDescGZIP
()
Golang/Code/gRPC/basic/pb/person/person.pb.go:247
↓ 2 callers
Function
file_person_person_proto_rawDescGZIP
()
Golang/Code/gRPC/server/4种模式/普通服务/pb/person/person.pb.go:168
↓ 2 callers
Function
file_person_person_proto_rawDescGZIP
()
Golang/Code/gRPC/server/4种模式/流式传入/pb/person/person.pb.go:168
↓ 2 callers
Function
file_person_person_proto_rawDescGZIP
()
Golang/Code/gRPC/server/4种模式/流式返回/pb/person/person.pb.go:168
↓ 2 callers
Function
file_person_person_proto_rawDescGZIP
()
Golang/Code/gRPC/server/4种模式/流式出入/pb/person/person.pb.go:168
↓ 2 callers
Function
file_person_person_proto_rawDescGZIP
()
Golang/Code/gRPC/server/pb/person/person.pb.go:168
↓ 2 callers
Function
fruit_basket
()
Rust/rustlings/exercises/10_modules/modules3.rs:9
↓ 2 callers
Function
fruit_basket
()
Rust/rustlings/exercises/11_hashmaps/hashmaps1.rs:9
↓ 2 callers
Function
getLogLevelStr
(logLevel LogLevel)
Golang/Code/standard library/log/main.go:55
↓ 2 callers
Function
getUserInfo
()
Golang/Code/basicCode/go_basic/var.go:5
↓ 2 callers
Method
licensing_info
(&self)
Rust/rustlings/exercises/15_traits/traits4.rs:2
↓ 2 callers
Function
reflectValue
(x interface{})
Golang/Code/advanceCode/reflect/main1.go:16
↓ 2 callers
Method
work
(workerChan chan<- *worker)
Golang/Code/advanceCode/goroutine/pool/main.go:54
↓ 1 callers
Function
Customize
()
Golang/Code/GORM-v2/GORM-v2/customize_data_types.go:71
↓ 1 callers
Method
Debug
(msg string)
Golang/Code/standard library/log/main.go:122
↓ 1 callers
Method
Descriptor
()
Golang/Code/gRPC/basic/pb/person/person.pb.go:59
↓ 1 callers
Method
Descriptor
Deprecated: Use Person.ProtoReflect.Descriptor instead.
Golang/Code/gRPC/basic/pb/person/person.pb.go:120
↓ 1 callers
Method
Execute
Task也需要一个执行业务的方法
Golang/Code/advanceCode/goroutine/GPM/main.go:26
↓ 1 callers
Method
Inc
()
Golang/Code/advanceCode/mutex/atomic/main.go:11
↓ 1 callers
Method
Info
(msg string)
Golang/Code/standard library/log/main.go:134
↓ 1 callers
Method
KeepLiveWorkers
保活监控workers
Golang/Code/advanceCode/goroutine/pool/main.go:37
↓ 1 callers
Function
MD5All
MD5All reads all the files in the file tree rooted at root and returns a map from file path to the MD5 sum of the file's contents. If the directory wa
Golang/Code/advanceCode/main.go:37
↓ 1 callers
Function
NewLog
Logger构造方法
Golang/Code/standard library/log/main.go:91
↓ 1 callers
Function
NewMyConcurrentMap
()
Golang/Code/advanceCode/goroutine/MyConcurrentMap/main.go:24
↓ 1 callers
Function
NewPool
创建一个协程池
Golang/Code/advanceCode/goroutine/GPM/main.go:38
↓ 1 callers
Function
NewSearchServiceClient
(cc grpc.ClientConnInterface)
Golang/Code/gRPC/basicGateway/pb/person/person_grpc.pb.go:32
↓ 1 callers
Function
NewTask
通过NewTask来创建一个Task
Golang/Code/advanceCode/goroutine/GPM/main.go:18
↓ 1 callers
Function
NewWorkerManager
创建一个WorkerManager对象
Golang/Code/advanceCode/goroutine/pool/main.go:16
↓ 1 callers
Function
Print
定义一个方法,可以传入任意数据类型,然后根据不同类型实现不同的功能
Golang/Code/basicCode/interface.go:51
↓ 1 callers
Function
Print2
(x interface{})
Golang/Code/basicCode/interface.go:61
↓ 1 callers
Function
Print2
(x interface{})
Golang/Code/basicCode/Code/goProject/main.go:20
↓ 1 callers
Method
PrintInfo
()
Golang/Code/basicCode/Code/goStudy/main/12_TypeDemo.go:9
↓ 1 callers
Function
PrintStructField
打印结构体中的字段
Golang/Code/basicCode/reflect.go:36
↓ 1 callers
Function
PrintStructField
打印结构体中的字段
Golang/Code/basicCode/Code/goStudy/main/16_StructReflectDemo.go:29
↓ 1 callers
Function
PrintStructFn
打印执行方法
Golang/Code/basicCode/reflect.go:87
↓ 1 callers
Function
PrintStructFn
打印执行方法
Golang/Code/basicCode/Code/goStudy/main/16_StructReflectDemo.go:63
↓ 1 callers
Method
Put
(k, v int)
Golang/Code/advanceCode/goroutine/MyConcurrentMap/main.go:31
↓ 1 callers
Method
ReceiveTask
EntryChannel获取Task任务
Golang/Code/advanceCode/goroutine/GPM/main.go:57
↓ 1 callers
Function
RegisterSearchServiceHandler
RegisterSearchServiceHandler registers the http handlers for service SearchService to "mux". The handlers forward requests to the grpc endpoint over "
Golang/Code/gRPC/basicGateway/pb/person/person.pb.gw.go:129
↓ 1 callers
Function
RegisterSearchServiceHandlerClient
RegisterSearchServiceHandlerClient registers the http handlers for service SearchService to "mux". The handlers forward requests to the grpc endpoint
Golang/Code/gRPC/basicGateway/pb/person/person.pb.gw.go:138
↓ 1 callers
Method
Scan
Scan 实现 sql.Scanner 接口
Golang/Code/GORM-v2/自定义数据类型/customize_data_types.go:55
↓ 1 callers
Method
Scan
Scan 实现 sql.Scanner 接口
Golang/Code/GORM-v2/GORM-v2/customize_data_types.go:55
↓ 1 callers
Method
Search
(ctx context.Context, in *PersonReq, opts ...grpc.CallOption)
Golang/Code/gRPC/server/4种模式/普通服务/pb/person/person_grpc.pb.go:25
↓ 1 callers
Method
SearchI
(ctx context.Context, opts ...grpc.CallOption)
Golang/Code/gRPC/server/4种模式/流式传入/pb/person/person_grpc.pb.go:26
↓ 1 callers
Method
SearchIO
(ctx context.Context, opts ...grpc.CallOption)
Golang/Code/gRPC/server/4种模式/流式出入/pb/person/person_grpc.pb.go:28
↓ 1 callers
Method
SearchO
(ctx context.Context, in *PersonReq, opts ...grpc.CallOption)
Golang/Code/gRPC/server/4种模式/流式返回/pb/person/person_grpc.pb.go:27
↓ 1 callers
Method
SetInfo
(name string, age int, sex string)
Golang/Code/basicCode/Code/goStudy/main/12_StructDemo2.go:21
↓ 1 callers
Function
Sort_
()
Golang/Code/basicCode/go_basic/slice.go:85
↓ 1 callers
Method
Start
()
Golang/Code/basicCode/Code/goProject/interfaceDemo/Camera.go:18
↓ 1 callers
Method
StartWorkerPool
启动worker池,并为每个Worker分配一个ID,让每个Worker进行工作
Golang/Code/advanceCode/goroutine/pool/main.go:24
↓ 1 callers
Function
TestProcs
()
Golang/Code/advanceCode/goroutine/GPM/main.go:77
↓ 1 callers
Function
TestSQL
()
Golang/Code/GORM-v2/增删改查/sql_gorm.go:5
↓ 1 callers
Function
TestUserCreate
()
Golang/Code/GORM-v2/模型/model.go:23
↓ 1 callers
Function
TestUserCreate
()
Golang/Code/GORM-v2/增删改查/model.go:19
↓ 1 callers
Method
Type
()
Golang/Code/gRPC/basic/pb/person/person.pb.go:63
↓ 1 callers
Method
Warning
(msg string)
Golang/Code/standard library/log/main.go:140
next →
1–100 of 1,167, ranked by callers