MCPcopy Create free account

hub / github.com/chinanf-boy/exercism-rust-zh / functions

Functions4,015 in github.com/chinanf-boy/exercism-rust-zh

↓ 297 callersMethodpush
(&mut self, element: T)
exercises/simple-linked-list/example.rs:20
↓ 240 callersFunctione
(e)
docs/ace.js:28
↓ 146 callersMethodroll
(&mut self, pins: u16)
exercises/bowling/example.rs:106
↓ 101 callersMethodlen
(&self)
exercises/simple-linked-list/example.rs:16
↓ 88 callersFunctiono
(n)
docs/ace.js:28
↓ 84 callersMethodadd
(&mut self, element: T)
exercises/custom-set/example.rs:24
↓ 73 callersMethodroll
(&mut self, pins: u16)
exercises/bowling/src/lib.rs:14
↓ 70 callersMethodcontains
(&self, other: &T)
exercises/custom-set/example.rs:30
↓ 61 callersFunctionparse
(pairs: Vec<(&'a str, &'a str)>)
exercises/nucleotide-codons/example.rs:7
↓ 60 callersMethodremove
(&mut self, x: u8, y: u8)
exercises/dominoes/example.rs:42
↓ 46 callersMethodcreate_compute
( &mut self, dependencies: &[CellID], compute_func: F, )
exercises/react/example.rs:93
↓ 44 callersMethodcreate_input
(&mut self, initial: T)
exercises/react/example.rs:88
↓ 32 callersMethodadd_minutes
(&mut self, minutes: i32)
exercises/clock/example.rs:31
↓ 32 callersFunctionn
(e,t,n)
docs/ace.js:28
↓ 28 callersFunctiontest
Test that the expected output is produced from the given input using the `winning_hands` function. Note that the output can be in any order. Here, we
src/poker/poker.rs:16
↓ 28 callersFunctiontest
Test that the expected output is produced from the given input using the `winning_hands` function. Note that the output can be in any order. Here, we
docs/poker/poker.rs:16
↓ 28 callersFunctiontest
Test that the expected output is produced from the given input using the `winning_hands` function. Note that the output can be in any order. Here, we
exercises/poker/tests/poker.rs:18
↓ 27 callersMethodfrom
(s: u64)
exercises/space-age/example.rs:6
↓ 27 callersFunctionr
(e,t)
docs/ace.js:28
↓ 24 callersMethodget
(&self, x: u8, y: u8)
exercises/dominoes/example.rs:21
↓ 24 callersMethodpop
(&mut self)
exercises/simple-linked-list/example.rs:26
↓ 23 callersFunctiona
(e,t)
docs/ace.js:28
↓ 23 callersMethodcreate_compute
Creates a compute cell with the specified dependencies and compute function. The compute function is expected to take in its arguments in the same ord
exercises/react/src/lib.rs:65
↓ 22 callersMethodcreate_input
Creates an input cell with the specified initial value, returning its ID.
exercises/react/src/lib.rs:48
↓ 20 callersFunctionf
()
docs/ace.js:28
↓ 19 callersFunctioni
(e,t)
docs/ace.js:28
↓ 18 callersMethodallergies
(&self)
exercises/allergies/example.rs:29
↓ 18 callersFunctionc
(e)
docs/ace.js:28
↓ 17 callersMethodenumerate
(&self)
exercises/scale-generator/example.rs:346
↓ 17 callersMethodnext
(&mut self)
exercises/book-store/example.rs:104
↓ 17 callersFunctiont
(e,n,r)
docs/ace.js:28
↓ 16 callersMethodadd_minutes
(self, minutes: i32)
exercises/clock/src/lib.rs:12
↓ 16 callersMethodname
(&'a self)
exercises/robot-name/example.rs:28
↓ 16 callersMethodrev
(&self)
exercises/simple-linked-list/example.rs:46
↓ 15 callersMethodadvance
(self)
exercises/robot-simulator/src/lib.rs:27
↓ 15 callersMethodcmp
we want to order groups first by qty contained DESC, then by lowest value ASC
exercises/book-store/example.rs:40
↓ 15 callersFunctionprocess_interval_case
Process a single test case for the property `interval` All cases for the `interval` property are implemented in terms of this function.
src/scale-generator/scale-generator.rs:21
↓ 15 callersFunctionprocess_interval_case
Process a single test case for the property `interval` All cases for the `interval` property are implemented in terms of this function.
docs/scale-generator/scale-generator.rs:21
↓ 15 callersFunctionprocess_interval_case
Process a single test case for the property `interval` All cases for the `interval` property are implemented in terms of this function.
exercises/scale-generator/tests/scale-generator.rs:24
↓ 14 callersMethodadd
(&mut self, grade: u32, student: &str)
exercises/grade-school/src/lib.rs:8
↓ 14 callersFunctionmake_pairs
The input data constructor. Returns a list of codon, name pairs.
src/protein-translation/proteins.rs:110
↓ 14 callersFunctionmake_pairs
The input data constructor. Returns a list of codon, name pairs.
docs/protein-translation/proteins.rs:110
↓ 14 callersFunctionmake_pairs
The input data constructor. Returns a list of codon, name pairs.
exercises/protein-translation/tests/proteins.rs:112
↓ 14 callersFunctionparse
(pairs: Vec<(&'a str, &'a str)>)
exercises/protein-translation/src/lib.rs:24
↓ 14 callersFunctionprocess_total_case
Process a single test case for the property `total` All cases for the `total` property are implemented in terms of this function. Expected input for
src/book-store/book-store.rs:14
↓ 14 callersFunctionprocess_total_case
Process a single test case for the property `total` All cases for the `total` property are implemented in terms of this function. Expected input for
docs/book-store/book-store.rs:14
↓ 14 callersFunctionprocess_total_case
Process a single test case for the property `total` All cases for the `total` property are implemented in terms of this function. Expected input for
exercises/book-store/tests/book-store.rs:17
↓ 14 callersMethodset
(&mut self, x: u8, y: u8, v: u8)
exercises/dominoes/example.rs:25
↓ 13 callersMethodis_empty
(&self)
exercises/custom-set/example.rs:34
↓ 13 callersFunctionn
(e)
docs/highlight.js:2
↓ 13 callersFunctionprocess_anagram_case
(word: &str, inputs: &[&str], expected: &[&str])
src/anagram/anagram.rs:4
↓ 13 callersFunctionprocess_anagram_case
(word: &str, inputs: &[&str], expected: &[&str])
docs/anagram/anagram.rs:4
↓ 13 callersFunctionprocess_anagram_case
(word: &str, inputs: &[&str], expected: &[&str])
exercises/anagram/tests/anagram.rs:6
↓ 13 callersFunctionu
(e,t,n)
docs/ace.js:28
↓ 12 callersFunctionencode_random
(s: &str)
exercises/simple-cipher/example.rs:4
↓ 12 callersMethodpush
(&mut self, _element: T)
exercises/simple-linked-list/src/lib.rs:16
↓ 12 callersFunctionrun_test
(test_case: &[&str])
src/minesweeper/minesweeper.rs:14
↓ 12 callersFunctionrun_test
(test_case: &[&str])
docs/minesweeper/minesweeper.rs:14
↓ 12 callersFunctionrun_test
(test_case: &[&str])
exercises/minesweeper/tests/minesweeper.rs:16
↓ 12 callersMethodwith_nodes
(mut self, nodes: &[Node])
exercises/dot-dsl/example.rs:22
↓ 11 callersFunctionb
(e)
docs/ace.js:28
↓ 11 callersFunctione
(e,t)
docs/clipboard.min.js:7
↓ 11 callersFunctionmake_pairs
The input data constructor. Returns a list of codon, name pairs.
src/nucleotide-codons/codons.rs:83
↓ 11 callersFunctionmake_pairs
The input data constructor. Returns a list of codon, name pairs.
docs/nucleotide-codons/codons.rs:83
↓ 11 callersFunctionmake_pairs
The input data constructor. Returns a list of codon, name pairs.
exercises/nucleotide-codons/tests/codons.rs:85
↓ 11 callersFunctions
(e,r)
docs/ace.js:28
↓ 11 callersMethodturn_left
(&self)
exercises/robot-simulator/example.rs:72
↓ 11 callersMethodturn_right
(&self)
exercises/robot-simulator/example.rs:68
↓ 11 callersMethodvalue
(&self)
exercises/poker/example.rs:99
↓ 10 callersFunctionh
(e)
docs/ace.js:28
↓ 10 callersFunctiontest
(input: &str, output: &str)
src/crypto-square/crypto-square.rs:1
↓ 10 callersFunctiontest
(input: &str, output: &str)
docs/crypto-square/crypto-square.rs:1
↓ 10 callersFunctiontest
(input: &str, output: &str)
exercises/crypto-square/tests/crypto-square.rs:4
↓ 10 callersFunctionw
(e)
docs/ace.js:28
↓ 9 callersFunctionF
(e)
docs/ace.js:28
↓ 9 callersMethodallergies
(&self)
exercises/allergies/src/lib.rs:30
↓ 9 callersFunctioncompare_allergy_vectors
(expected: &[Allergen], actual: &[Allergen])
src/allergies/allergies.rs:1
↓ 9 callersFunctioncompare_allergy_vectors
(expected: &[Allergen], actual: &[Allergen])
docs/allergies/allergies.rs:1
↓ 9 callersFunctioncompare_allergy_vectors
(expected: &[Allergen], actual: &[Allergen])
exercises/allergies/tests/allergies.rs:5
↓ 9 callersMethodpush
(&mut self, value: Value)
exercises/forth/example.rs:129
↓ 9 callersFunctionr
(e,t,n)
docs/clipboard.min.js:7
↓ 9 callersMethodsum
(&self)
exercises/queen-attack/example.rs:65
↓ 9 callersFunctiont
(e)
docs/highlight.js:2
↓ 9 callersFunctiont
(e,t)
docs/mark.min.js:7
↓ 9 callersMethodwith_attrs
(mut self, attrs: &[(&'static str, &'static str)])
exercises/dot-dsl/example.rs:34
↓ 8 callersFunctionassert_in_delta
(expected: f64, actual: f64)
src/space-age/space-age.rs:1
↓ 8 callersFunctionassert_in_delta
(expected: f64, actual: f64)
docs/space-age/space-age.rs:1
↓ 8 callersFunctionassert_in_delta
(expected: f64, actual: f64)
exercises/space-age/tests/space-age.rs:5
↓ 8 callersMethodexpect_to_have_been_called_with
(&self, v: i32)
src/react/react.rs:131
↓ 8 callersMethodexpect_to_have_been_called_with
(&self, v: i32)
docs/react/react.rs:131
↓ 8 callersMethodexpect_to_have_been_called_with
(&self, v: i32)
exercises/react/tests/react.rs:135
↓ 8 callersFunctionget_palindrome_products
(min: u64, max: u64)
exercises/palindrome-products/example.rs:2
↓ 8 callersMethodname
(&self)
exercises/robot-name/src/lib.rs:8
↓ 8 callersFunctionsecret
(p: u64, b_pub: u64, a: u64)
exercises/diffie-hellman/example.rs:36
↓ 7 callersFunctionl
()
docs/ace.js:28
↓ 7 callersMethodpartial_cmp
(&self, other: &Rank)
exercises/poker/example.rs:133
↓ 7 callersFunctionprocess_reverse_case
Tests for reverse-string Generated by [script][script] using [canonical data][canonical-data] [script]: https://github.com/exercism/rust/blob/master
src/reverse-string/reverse-string.rs:9
↓ 7 callersFunctionprocess_reverse_case
Tests for reverse-string Generated by [script][script] using [canonical data][canonical-data] [script]: https://github.com/exercism/rust/blob/master
docs/reverse-string/reverse-string.rs:9
↓ 7 callersFunctionprocess_reverse_case
Process a single test case for the property `reverse`
exercises/reverse-string/tests/reverse-string.rs:12
↓ 6 callersFunctionadd_game_result
(results: &mut HashMap<String, TeamResult>, team: String, result: GameResult)
exercises/tournament/example.rs:86
next →1–100 of 4,015, ranked by callers