MCPcopy Create free account

hub / github.com/diegopacheco/rust-playground / functions

Functions801 in github.com/diegopacheco/rust-playground

↓ 1 callersFunctionauthorize
(token: &str)
sqlx-fun/src/main.rs:113
↓ 1 callersFunctionbench_bftree_add
(n: usize)
bf-tree-fun/src/main.rs:7
↓ 1 callersFunctionbench_bftree_remove
(n: usize)
bf-tree-fun/src/main.rs:38
↓ 1 callersFunctionbench_bftree_retrieve
(n: usize)
bf-tree-fun/src/main.rs:20
↓ 1 callersFunctionbench_btreemap_add
(n: usize)
bf-tree-fun/src/main.rs:55
↓ 1 callersFunctionbench_btreemap_remove
(n: usize)
bf-tree-fun/src/main.rs:81
↓ 1 callersFunctionbench_btreemap_retrieve
(n: usize)
bf-tree-fun/src/main.rs:66
↓ 1 callersFunctionbench_btreeset_add
(n: usize)
bf-tree-fun/src/main.rs:96
↓ 1 callersFunctionbench_btreeset_remove
(n: usize)
bf-tree-fun/src/main.rs:120
↓ 1 callersFunctionbench_btreeset_retrieve
(n: usize)
bf-tree-fun/src/main.rs:106
↓ 1 callersFunctioncat
A simple implementation of `% cat path`
fs-fun/src/main.rs:9
↓ 1 callersFunctionceil
()
rust-1.90-fun/src/main.rs:57
↓ 1 callersFunctioncollides_with_paddle
Utility function to check if the ball collides with a paddle
bevy-pong/bevy_pong/src/main.rs:417
↓ 1 callersFunctioncollides_with_wall
Utility function to check if the ball collides with a wall
bevy-pong/bevy_pong/src/main.rs:393
↓ 1 callersFunctioncompare_prints
(t: &T)
function-generics-multiple-traits/src/main.rs:3
↓ 1 callersFunctionconsume_messages
(group: String, topic: String, brokers: Vec<String>)
kafka-fun/src/main.rs:31
↓ 1 callersFunctioncreate_schema
()
juniper-graphql-fun/src/schema.rs:56
↓ 1 callersFunctiondecode_reader
(bytes: Vec<u8>)
flate2_tfun/src/main.rs:18
↓ 1 callersFunctiondemo_bftree
()
bf-tree-fun/src/main.rs:134
↓ 1 callersFunctiondivision
Re-implementation of integer division (/)
panic-attack-fun/src/main.rs:2
↓ 1 callersMethoddo_something
(&self)
query_interface_fun/src/main.rs:16
↓ 1 callersFunctiondo_things
()
throw-fun/src/main.rs:15
↓ 1 callersFunctiondouble_input
rust-c-interop/src/double.c:1
↓ 1 callersFunctiondouble_input
(input: i32)
c-rust-interop/src/lib.rs:4
↓ 1 callersFunctiondouble_number
(number_str: &str)
result-fun/src/main.rs:3
↓ 1 callersFunctionecho
A simple implementation of `% echo s > path`
fs-fun/src/main.rs:19
↓ 1 callersFunctionecho
(mut stream: TcpStream)
monoio-fun/src/main.rs:23
↓ 1 callersFunctionevaluate
(code:String,ops:HashMap<String,OpFn>)
lisp-parser/src/main.rs:33
↓ 1 callersFunctionf
(_f: impl for<'a> Fn(&'a u8) -> BoxFuture<'a>)
rust-1.85-edition-2024-asyncfn/src/main.rs:8
↓ 1 callersFunctionf2
(_: impl for<'a> AsyncFn(&'a u8))
rust-1.85-edition-2024-asyncfn/src/main.rs:12
↓ 1 callersFunctionfetch_stock_data
(symbol: &str)
gpui_fun/src/main.rs:37
↓ 1 callersFunctionfibonacci
(n: u64)
criterion-fun/benches/my_benchmark.rs:3
↓ 1 callersFunctionfind
(siv: &mut Cursive, text: &str)
cursive-fun/src/textarea/main.rs:55
↓ 1 callersFunctionfind_intersection
(fruit:HashSet<&str>,colours:HashSet<&str>)
sets-collections-fun/src/main.rs:30
↓ 1 callersFunctionfind_max
(arr: &[i32])
crossbeam-fun/src/simple/main.rs:10
↓ 1 callersMethodfind_next_prime_trial_division
(&mut self)
prime-generator/src/prime.rs:33
↓ 1 callersFunctionfloor
()
rust-1.90-fun/src/main.rs:72
↓ 1 callersFunctionfract
()
rust-1.90-fun/src/main.rs:37
↓ 1 callersFunctionfun_dynamic
()
traits-fun/src/dynamic.rs:28
↓ 1 callersFunctionfun_with_traits
()
traits-fun/src/basic.rs:14
↓ 1 callersFunctiong
(x: &u8)
rust-1.85-edition-2024-asyncfn/src/main.rs:18
↓ 1 callersFunctiongenerate_random_salt
()
sqlx-fun/src/main.rs:129
↓ 1 callersFunctiongenerate_token
(user_id: i64)
sqlx-fun/src/main.rs:141
↓ 1 callersFunctionget_first_tweet
()
mutex-fun-2/src/main.rs:11
↓ 1 callersFunctionget_map
()
maps-mutable-collections/src/main.rs:20
↓ 1 callersFunctionget_server_config
()
tuples/src/main.rs:2
↓ 1 callersFunctionget_sync_result
()
threads-rust-fun/src/main.rs:46
↓ 1 callersFunctionget_template
()
perseus-fun/my-app/src/templates/index.rs:25
↓ 1 callersFunctionget_token_from_request
(req: &Request<PgPool>)
sqlx-fun/src/main.rs:104
↓ 1 callersMethodgo
(&mut self)
rust-cli-traits/src/main.rs:31
↓ 1 callersFunctiongreet
()
tauri-simple-fun/tauri-app/src/main.js:6
↓ 1 callersFunctiongreet_all
(items: &[T])
rust-crash-course/src/ex_traits.rs:6
↓ 1 callersMethodgrow
(&mut self)
rust-lib/fern-lib/src/lib.rs:7
↓ 1 callersFunctionhandle_client
(mut stream: TcpStream)
simple-http-server-nolibs/src/main.rs:4
↓ 1 callersFunctionhandle_client
(mut stream: TcpStream)
socket-calculator/src/server.rs:4
↓ 1 callersFunctionhash_password
(password: &str)
sqlx-fun/src/main.rs:123
↓ 1 callersFunctionindirect_access
()
simple-lib-rs/rary-lib/rary.rs:9
↓ 1 callersMethodis_prime
(&self, n: u64)
prime-generator/src/prime.rs:83
↓ 1 callersFunctionlazy_add
(i:i32)
closures-in-rust/src/main.rs:12
↓ 1 callersFunctionlen
(s: &String)
rust-crash-course/src/ex_borrow_checker.rs:1
↓ 1 callersMethodmatches
(&self, event: &dyn Event)
in-memory-stock-engine/src/predicates.rs:19
↓ 1 callersFunctionmodel
(app: &App)
nannou-fun/src/main.rs:19
↓ 1 callersFunctionmodifies
(x: &mut f64)
values-by-reference-mutable/src/main.rs:1
↓ 1 callersFunctionmove_me
()
borrower-ownership-simple-samples/src/main.rs:26
↓ 1 callersFunctionmoved_values_borrowing_to_fix
()
borrow_and_ownership/src/main.rs:6
↓ 1 callersFunctionmoved_values_borrowing_to_fix
()
borrower-ownership-simple-samples/src/main.rs:13
↓ 1 callersFunctionmoveme
fn moveme(v:Vec<i32>) -> { .. }
borrow_and_ownership/src/main.rs:26
↓ 1 callersFunctionmoving
()
borrow_and_ownership/src/main.rs:14
↓ 1 callersMethodmutate
(&mut self,mutator:M)
closures-in-traits-rust/src/main.rs:18
↓ 1 callersMethodnext
(&mut self)
linked-lists-oh-boy/src/linkedlist.rs:66
↓ 1 callersFunctionops
()
lisp-parser/src/main.rs:68
↓ 1 callersMethodoverride_config
Process the given command line options, overriding settings from a configuration file using explicit flags taken from command-line arguments.
abscissa_cool_app/src/commands/start.rs:36
↓ 1 callersFunctionparse_array
( chars: &mut std::iter::Peekable<I>, )
json-parser-nolibs/src/main.rs:77
↓ 1 callersFunctionparse_bool
( chars: &mut std::iter::Peekable<I>, )
json-parser-nolibs/src/main.rs:131
↓ 1 callersFunctionparse_build_sbt
(path: &Path)
rust-parsers/src/parsers/sbt.rs:14
↓ 1 callersFunctionparse_dep_line
(line: &str)
rust-parsers/src/parsers/sbt.rs:38
↓ 1 callersFunctionparse_foobar
(s: Span)
nom_locate_fun/src/main.rs:16
↓ 1 callersFunctionparse_json
(input: &str)
json-parser-nolibs/src/main.rs:11
↓ 1 callersFunctionparse_null
( chars: &mut std::iter::Peekable<I>, )
json-parser-nolibs/src/main.rs:152
↓ 1 callersFunctionparse_number
( chars: &mut std::iter::Peekable<I>, )
json-parser-nolibs/src/main.rs:169
↓ 1 callersFunctionparse_object
( chars: &mut std::iter::Peekable<I>, )
json-parser-nolibs/src/main.rs:45
↓ 1 callersFunctionparse_package_json
(path: &Path)
rust-parsers/src/parsers/npm.rs:21
↓ 1 callersFunctionparse_pom
(path: &Path)
rust-parsers/src/parsers/maven.rs:15
↓ 1 callersFunctionparse_requirements
(path: &Path)
rust-parsers/src/parsers/python.rs:7
↓ 1 callersMethodpeek_mut
(&mut self)
linked-lists-oh-boy/src/linkedlist.rs:40
↓ 1 callersFunctionperform_my_query
(variables: book_query::Variables)
graphql-rust-client-fun/src/main.rs:13
↓ 1 callersMethodpop
(&mut self)
ring-buffer/src/ringbuffer.rs:23
↓ 1 callersFunctionprint_hello
()
rust-fun/simple.rs:39
↓ 1 callersMethodprint_in_option
(self)
function-generics-where-traits/src/main.rs:8
↓ 1 callersFunctionprint_sci_student_greeting
(student: &dyn CompSciStudent)
traits-fun/src/supers.rs:58
↓ 1 callersFunctionprint_struct
()
basic_lang/src/structfun.rs:17
↓ 1 callersFunctionprint_with_callback
(cb:impl Fn()->String)
closures-in-rust/src/main.rs:21
↓ 1 callersFunctionprivate_function
()
simple-lib-rs/rary-lib/rary.rs:5
↓ 1 callersFunctionproduce_message
( data: &'a [u8], topic: &'b str, brokers: Vec<String>, )
kafka-fun/src/main.rs:59
↓ 1 callersFunctionpublic_function
()
simple-lib-rs/rary-lib/rary.rs:1
↓ 1 callersMethodquack
(&self)
oop-ish-rust/src/main.rs:8
↓ 1 callersFunctionraises_my_error
a test function that returns our error result
error-handling-rust/src/main.rs:40
↓ 1 callersFunctionrandom_animal
(random_number: f64)
traits-fun/src/dynamic.rs:20
↓ 1 callersFunctionrelease_info
()
rust-1.88-let-chains/src/main.rs:15
↓ 1 callersFunctionreverse
()
rust-1.90-fun/src/main.rs:65
← previousnext →101–200 of 801, ranked by callers