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
↓ 1 callers
Method
append_bar
TODO: Implement `AppendBar` for the type `String`.
Rust/rustlings/exercises/15_traits/traits1.rs:9
↓ 1 callers
Method
append_bar
(mut self)
Rust/rustlings/exercises/15_traits/traits2.rs:9
↓ 1 callers
Function
array_and_vec
()
Rust/rustlings/exercises/05_vecs/vecs1.rs:1
↓ 1 callers
Function
authMiddleware
(doCheck bool)
Golang/Code/Gin/middleware/main.go:49
↓ 1 callers
Function
bidirectionalStreamingRPC
(client person.SearchServiceClient)
Golang/Code/gRPC/server/client/main.go:62
↓ 1 callers
Method
call
(&self)
Rust/rustlings/exercises/08_enums/enums2.rs:20
↓ 1 callers
Function
call_me
(num: u32)
Rust/rustlings/exercises/02_functions/functions3.rs:1
↓ 1 callers
Function
call_me
()
Rust/rustlings/exercises/02_functions/functions1.rs:7
↓ 1 callers
Function
call_me
TODO: Add the missing type of the argument `num` after the colon `:`.
Rust/rustlings/exercises/02_functions/functions2.rs:2
↓ 1 callers
Function
catPrint
(catCh *chan struct{}, dogCh *chan struct{})
Golang/Code/advanceCode/goroutine/cat/main.go:30
↓ 1 callers
Method
change_color
(&mut self, red: u8, green: u8, blue: u8)
Rust/rustlings/exercises/08_enums/enums3.rs:39
↓ 1 callers
Function
count_iterator
TODO: Implement the functionality of `count_for` but with an iterator instead of a `for` loop.
Rust/rustlings/exercises/18_iterators/iterators5.rs:28
↓ 1 callers
Function
counter
(out chan<- int)
Golang/Code/advanceCode/cannel/main.go:11
↓ 1 callers
Function
create_order_template
()
Rust/rustlings/exercises/07_structs/structs2.rs:12
↓ 1 callers
Function
current_favorite_color
TODO: Fix the compiler error without changing the function signature.
Rust/rustlings/exercises/09_strings/strings1.rs:2
↓ 1 callers
Function
dogPrint
(dogCh *chan struct{}, fishCh *chan struct{})
Golang/Code/advanceCode/goroutine/cat/main.go:45
↓ 1 callers
Method
eat
吃饭,需要借用 Table
Rust/Code/dining_philosophers.rs:23
↓ 1 callers
Method
echo
(&mut self, s: String)
Rust/rustlings/exercises/08_enums/enums3.rs:35
↓ 1 callers
Function
fetchUrlDemo2
fetchUrlDemo2 使用errgroup并发获取url内容
Golang/Code/advanceCode/goroutine/recover goroutine/main.go:77
↓ 1 callers
Function
file_hello_grpc_proto_init
()
Golang/Code/gRPC/HelloWorld/pb/hello_grpc.pb.go:162
↓ 1 callers
Function
file_home_home_proto_init
()
Golang/Code/gRPC/basic/pb/home/home.pb.go:106
↓ 1 callers
Function
file_home_home_proto_rawDescGZIP
()
Golang/Code/gRPC/basic/pb/home/home.pb.go:86
↓ 1 callers
Function
file_person_person_proto_init
()
Golang/Code/gRPC/basicGateway/pb/person/person.pb.go:185
↓ 1 callers
Function
file_person_person_proto_init
()
Golang/Code/gRPC/basic/pb/person/person.pb.go:280
↓ 1 callers
Function
file_person_person_proto_init
()
Golang/Code/gRPC/server/4种模式/普通服务/pb/person/person.pb.go:197
↓ 1 callers
Function
file_person_person_proto_init
()
Golang/Code/gRPC/server/4种模式/流式传入/pb/person/person.pb.go:197
↓ 1 callers
Function
file_person_person_proto_init
()
Golang/Code/gRPC/server/4种模式/流式返回/pb/person/person.pb.go:197
↓ 1 callers
Function
file_person_person_proto_init
()
Golang/Code/gRPC/server/4种模式/流式出入/pb/person/person.pb.go:197
↓ 1 callers
Function
file_person_person_proto_init
()
Golang/Code/gRPC/server/pb/person/person.pb.go:197
↓ 1 callers
Function
fill_vec
TODO: Fix the compiler error in the function without adding any new line.
Rust/rustlings/exercises/06_move_semantics/move_semantics3.rs:2
↓ 1 callers
Function
fill_vec
TODO: Fix the compiler error in this function.
Rust/rustlings/exercises/06_move_semantics/move_semantics1.rs:2
↓ 1 callers
Function
fill_vec
(vec: Vec<i32>)
Rust/rustlings/exercises/06_move_semantics/move_semantics2.rs:1
↓ 1 callers
Function
fishPrint
(dogCh *chan struct{}, catCh *chan struct{})
Golang/Code/advanceCode/goroutine/cat/main.go:60
↓ 1 callers
Function
fn1
()
Golang/Code/basicCode/Code/goStudy/main/9_FunctionDemo.go:82
↓ 1 callers
Function
fn2
()
Golang/Code/basicCode/Code/goStudy/main/9_FunctionDemo.go:86
↓ 1 callers
Function
fn4
这个类似于值传递
Golang/Code/basicCode/go_basic/pointer.go:47
↓ 1 callers
Function
fn4
(x int)
Golang/Code/basicCode/Code/goStudy/main/11_pointerDemo2.go:5
↓ 1 callers
Function
fn5
这个类似于引用数据类型
Golang/Code/basicCode/go_basic/pointer.go:52
↓ 1 callers
Function
fn5
(x *int)
Golang/Code/basicCode/Code/goStudy/main/11_pointerDemo2.go:8
↓ 1 callers
Function
gen
(ctx context.Context)
Golang/Code/standard library/context/main.go:8
↓ 1 callers
Function
getInfo
获取函数名、文件名、行号 skip表示隔了几层
Golang/Code/standard library/log/main.go:76
↓ 1 callers
Function
getRand64
(jobChan chan<- int64)
Golang/Code/advanceCode/mutex/lx/main.go:21
↓ 1 callers
Function
getResult
(jobChan <-chan int64, resultChan chan<- int64)
Golang/Code/advanceCode/mutex/lx/main.go:31
↓ 1 callers
Function
get_char
Shouldn't take ownership
Rust/rustlings/exercises/06_move_semantics/move_semantics5.rs:7
↓ 1 callers
Function
get_secret_recipe
Don't let anybody outside of this module see this!
Rust/rustlings/exercises/10_modules/modules1.rs:4
↓ 1 callers
Function
hello
(i int)
Golang/Code/advanceCode/goroutine/basic/main.go:10
↓ 1 callers
Function
is_a_color_word
TODO: Fix the compiler error in the `main` function without changing this function.
Rust/rustlings/exercises/09_strings/strings2.rs:2
↓ 1 callers
Function
is_even
(num: i64)
Rust/rustlings/exercises/02_functions/functions4.rs:6
↓ 1 callers
Function
local_request_SearchService_Search_0
(ctx context.Context, marshaler runtime.Marshaler, server SearchServiceServer, req *http.Request, pathParams m
Golang/Code/gRPC/basicGateway/pb/person/person.pb.gw.go:51
↓ 1 callers
Function
longest
Don't change this function.
Rust/rustlings/exercises/16_lifetimes/lifetimes2.rs:2
↓ 1 callers
Function
make_sausage
()
Rust/rustlings/exercises/10_modules/modules1.rs:8
↓ 1 callers
Function
maybe_icecream
This function returns how much icecream there is left in the fridge. If it's before 22:00 (24-hour system), then 5 scoops are left. At 22:00, someone
Rust/rustlings/exercises/12_options/options1.rs:5
↓ 1 callers
Method
move_position
(&mut self, point: Point)
Rust/rustlings/exercises/08_enums/enums3.rs:31
↓ 1 callers
Function
myFn
()
Golang/Code/basicCode/go_basic/function.go:154
↓ 1 callers
Function
myFn
()
Golang/Code/basicCode/Code/goStudy/main/9_FileDemo.go:16
↓ 1 callers
Function
num_sq
Squares a number using `as_mut()`. TODO: Add the appropriate trait bound.
Rust/rustlings/exercises/23_conversions/as_ref_mut.rs:19
↓ 1 callers
Method
other_function
(&self)
Rust/rustlings/exercises/15_traits/traits5.rs:8
↓ 1 callers
Function
parseDemo
()
Golang/Code/standard library/main.go:58
↓ 1 callers
Function
parseDemo
()
Golang/Code/standard library/time/main.go:58
↓ 1 callers
Function
parseDemo1
parseDemo 解析时间
Golang/Code/standard library/main.go:78
↓ 1 callers
Function
parseDemo1
parseDemo 解析时间
Golang/Code/standard library/time/main.go:78
↓ 1 callers
Function
parseLogLevel
(s string)
Golang/Code/standard library/log/main.go:33
↓ 1 callers
Function
primeNum
cong intChan取出数据,并判断是否为素数,如果是的话,就把得到的素数放到primeChan中
Golang/Code/basicCode/goroutine.go:200
↓ 1 callers
Function
primeNum
cong intChan取出数据,并判断是否为素数,如果是的话,就把得到的素数放到primeChan中
Golang/Code/basicCode/Code/goStudy/main/15_ChannelDemo4.go:18
↓ 1 callers
Function
printMethod
(x interface{})
Golang/Code/advanceCode/reflect/main.go:64
↓ 1 callers
Function
printPrime
打印素数
Golang/Code/basicCode/goroutine.go:223
↓ 1 callers
Function
printPrime
打印素数
Golang/Code/basicCode/Code/goStudy/main/15_ChannelDemo4.go:41
↓ 1 callers
Function
printer
(in <-chan int)
Golang/Code/advanceCode/cannel/main.go:24
↓ 1 callers
Function
process
(conn net.Conn)
Golang/Code/advanceCode/tcp/server/main.go:45
↓ 1 callers
Function
putNum
func write(ch chan int) { for i := 0; i < 10; i++ { fmt.Println("写入:", i) ch <- i time.Sleep(time.Microsecond * 10) } wg.Done() } func read(c
Golang/Code/basicCode/goroutine.go:191
↓ 1 callers
Function
putNum
想intChan中放入 1~ 120000个数
Golang/Code/basicCode/Code/goStudy/main/15_ChannelDemo4.go:9
↓ 1 callers
Method
quit
(&mut self)
Rust/rustlings/exercises/08_enums/enums3.rs:43
↓ 1 callers
Function
read
(ch chan int)
Golang/Code/basicCode/Code/goStudy/main/15_ChannelDemo3.go:17
↓ 1 callers
Function
read
()
Golang/Code/advanceCode/mutex/main.go:93
↓ 1 callers
Function
readFile
(fileName string)
Golang/Code/basicCode/go_basic/function.go:146
↓ 1 callers
Function
readFile
(fileName string)
Golang/Code/basicCode/Code/goStudy/main/9_FileDemo.go:8
↓ 1 callers
Function
reflectValue2
(x interface{})
Golang/Code/basicCode/Code/goStudy/main/16_reflectDemo.go:19
↓ 1 callers
Function
registerGRPC
(wg *sync.WaitGroup)
Golang/Code/gRPC/basicGateway/server/main.go:54
↓ 1 callers
Function
registerGateway
(wg *sync.WaitGroup)
Golang/Code/gRPC/basicGateway/server/main.go:28
↓ 1 callers
Function
request_SearchService_Search_0
(ctx context.Context, marshaler runtime.Marshaler, client SearchServiceClient, req *http.Request, pathParams m
Golang/Code/gRPC/basicGateway/pb/person/person.pb.gw.go:34
↓ 1 callers
Method
resize
(&mut self, width: u64, height: u64)
Rust/rustlings/exercises/08_enums/enums3.rs:26
↓ 1 callers
Method
run
()
Golang/Code/basicCode/Code/goStudy/main/12_StructDemo5.go:9
↓ 1 callers
Function
send_tx
(q: Queue, tx: mpsc::Sender<u32>)
Rust/rustlings/exercises/20_threads/threads3.rs:19
↓ 1 callers
Method
some_function
(&self)
Rust/rustlings/exercises/15_traits/traits5.rs:2
↓ 1 callers
Function
square
TODO: Fix the function body without changing the signature.
Rust/rustlings/exercises/02_functions/functions5.rs:2
↓ 1 callers
Function
squarer
(out chan<- int, in <-chan int)
Golang/Code/advanceCode/cannel/main.go:18
↓ 1 callers
Function
string_uppercase
Should take ownership
Rust/rustlings/exercises/06_move_semantics/move_semantics5.rs:12
↓ 1 callers
Function
sumInt64
计算int64随机数各位数和
Golang/Code/advanceCode/mutex/lx/main.go:12
↓ 1 callers
Function
test
()
Golang/Code/basicCode/mutex.go:13
↓ 1 callers
Function
test
()
Golang/Code/basicCode/Code/goStudy/main/15_lockDemo.go:13
↓ 1 callers
Function
test
()
Golang/Code/basicCode/Code/goStudy/main/15_goroutineDemo.go:11
↓ 1 callers
Function
test
(num int)
Golang/Code/basicCode/Code/goStudy/main/15_goroutineDemo2.go:9
↓ 1 callers
Function
test2
()
Golang/Code/basicCode/Code/goStudy/main/15_goroutineDemo.go:21
↓ 1 callers
Function
timeDemo
timeDemo 时间对象的年月日时分秒
Golang/Code/standard library/main.go:9
↓ 1 callers
Function
timeDemo
timeDemo 时间对象的年月日时分秒
Golang/Code/standard library/time/main.go:9
↓ 1 callers
Function
timezoneDemo
timezoneDemo 时区示例
Golang/Code/standard library/main.go:23
↓ 1 callers
Function
timezoneDemo
timezoneDemo 时区示例
Golang/Code/standard library/time/main.go:23
↓ 1 callers
Function
total_cost
Don't change this function.
Rust/rustlings/exercises/13_error_handling/errors3.rs:8
↓ 1 callers
Function
transformer
TODO: Complete the function.
Rust/rustlings/exercises/quizzes/quiz2.rs:30
↓ 1 callers
Function
vec_loop
(input: &[i32])
Rust/rustlings/exercises/05_vecs/vecs2.rs:1
← previous
next →
101–200 of 1,167, ranked by callers