Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agavrel/42_CheatSheet
/ functions
Functions
133 in github.com/agavrel/42_CheatSheet
⨍
Functions
133
◇
Types & classes
21
↓ 7 callers
Function
f
functions/triangle.c:1
↓ 3 callers
Function
sum
functions/variadic_sum.c:5
↓ 2 callers
Function
add
functions/multiplier.c:4
↓ 2 callers
Function
count_lines
functions/simd.h:146
↓ 2 callers
Function
count_lines_final
functions/simd.h:135
↓ 2 callers
Function
count_words
functions/simd.h:151
↓ 2 callers
Function
count_words_final
functions/simd.h:140
↓ 2 callers
Function
error_sdl
functions/barnsley.c:54
↓ 2 callers
Function
exist
functions/keep_alnum.cpp:24
↓ 2 callers
Function
func2
functions/multithread.c:22
↓ 2 callers
Function
insertion_sort
functions/merge_sort.c:7
↓ 2 callers
Function
print_base
functions/integer_to_base.c:3
↓ 2 callers
Function
simd_cmpws_i8_mask
functions/simd.h:26
↓ 1 callers
Function
SumNOdd
functions/recursivesumodd.c:7
↓ 1 callers
Function
a
functions/futex.c:14
↓ 1 callers
Function
agavrel_style
functions/keep_alnum.cpp:62
↓ 1 callers
Function
alnum_from_libc
functions/keep_alnum.cpp:72
↓ 1 callers
Function
append
functions/head.c:9
↓ 1 callers
Function
b
functions/futex.c:41
↓ 1 callers
Function
barnsley
functions/barnsley.c:24
↓ 1 callers
Function
base2
functions/print_binary_recurs.c:4
↓ 1 callers
Function
convert_arguments
functions/pointer_array.cpp:7
↓ 1 callers
Function
count_words_wsmask
functions/simd.h:269
↓ 1 callers
Function
create_and_print_int_array
functions/it_compiles_but.c:86
↓ 1 callers
Function
create_int_array
malloc correctly and protect it
functions/it_compiles_but.c:75
↓ 1 callers
Function
dummy_function
functions/error_message.c:29
↓ 1 callers
Function
ft_error
functions/error_message.c:23
↓ 1 callers
Function
ft_error_va
functions/error_message.c:7
↓ 1 callers
Function
ft_itoa
functions/error_message.c:40
↓ 1 callers
Function
ft_necklace
NB : Not my solution, took a random one that looked salvageable
remote_challenges/chall00/ft_necklace.c:18
↓ 1 callers
Function
ft_putstr
functions/print42.c:10
↓ 1 callers
Function
ft_strlen
functions/print42.c:3
↓ 1 callers
Function
get_min_max
functions/vectorization.c:30
↓ 1 callers
Function
get_min_max_like_bocalian
functions/vectorization.c:46
↓ 1 callers
Function
increment
wrong way to change a variable's value:
functions/it_compiles_but.c:61
↓ 1 callers
Function
init_arrays
functions/multithread.c:13
↓ 1 callers
Function
init_sdl
functions/barnsley.c:59
↓ 1 callers
Function
keep_alnum
functions/keep_alnum.cpp:32
↓ 1 callers
Function
m128_max_float
functions/vectorization.c:6
↓ 1 callers
Function
m128_min_float
functions/vectorization.c:17
↓ 1 callers
Function
merge_sort
functions/merge_sort.c:26
↓ 1 callers
Function
multi_threads
functions/multithread.c:45
↓ 1 callers
Function
multiply
functions/multiplier.c:27
↓ 1 callers
Function
old_school
functions/keep_alnum.cpp:50
↓ 1 callers
Function
polar_from_cartesian_sum
functions/complex.c:17
↓ 1 callers
Function
printList
functions/head.c:26
↓ 1 callers
Function
printPrimes
https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
functions/sieves.c:8
↓ 1 callers
Function
printPrimesRange
https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
functions/eratosthenes.c:11
↓ 1 callers
Function
read_file_to_buffer
functions/replace.c:31
↓ 1 callers
Function
recursiveSumNOdd
functions/recursivesumodd.c:1
↓ 1 callers
Function
simd_shl1_from_i8
shift a left by 1 byte, shifting in byte from the end of b
functions/simd.h:35
↓ 1 callers
Function
single_thread
functions/multithread.c:33
↓ 1 callers
Function
string
functions/return_file_string.c:3
↓ 1 callers
Function
string_from_file
functions/return_file_string.c:8
↓ 1 callers
Function
swap_bits_mask
functions/replace_bits.c:1
↓ 1 callers
Function
test
functions/head.c:33
↓ 1 callers
Function
test1
functions/pointer_array.cpp:11
↓ 1 callers
Function
truncate
functions/percentage.cpp:11
↓ 1 callers
Function
truncateAsString
functions/display_percentage.cpp:9
↓ 1 callers
Function
wc
fallback to non-seeking variant (from fastlwc.c) for non-seekable files (should also be used for short files less than 10MB or so)
functions/fastlwc-mt.c:26
↓ 1 callers
Function
wc_mt
100 lines of code and 6 levels of nesting... what's that, unreadable mess? self-commenting code, right?
functions/fastlwc-mt.c:81
↓ 1 callers
Function
wcount_state_set
functions/simd.h:130
↓ 1 callers
Function
what_is_forty_two
functions/whatis42.c:6
Function
base
functions/print_binary_recurs.c:14
Function
ft_rgb2hex
remote_challenges/chall01/ft_rgb2hex.c:4
Function
increment_using_ptr
correct ways to change a variable's value:
functions/it_compiles_but.c:66
Function
increment_using_return
functions/it_compiles_but.c:70
Function
main
functions/shuf.c:8
Function
main
functions/42.c:3
Function
main
functions/udp_client.c:8
Function
main
functions/futex.c:54
Function
main
functions/create_huge_file.c:5
Function
main
functions/change_struct_value_through_pointer.c:23
Function
main
functions/multiplier.c:44
Function
main
functions/fastlwc-mt.c:160
Function
main
functions/eratosthenes.c:36
Function
main
functions/display_percentage.cpp:19
Function
main
functions/replace.c:62
Function
main
functions/multithread.c:59
Function
main
functions/print_binary_recurs.c:24
Function
main
functions/keep_alnum.cpp:83
Function
main
functions/generic.c:12
Function
main
functions/vectorization.c:64
Function
main
functions/pthread_arg.c:14
Function
main
functions/integer_to_base.c:21
Function
main
functions/replace_bits.c:8
Function
main
functions/error_message.c:34
Function
main
functions/anagram.c:4
Function
main
functions/pthread.c:175
Function
main
functions/percentage.cpp:16
Function
main
functions/pointer.c:3
Function
main
functions/swap_parity.c:6
Function
main
compile with gcc -m32 -fno-stack-protector -z execstack shellcode_openshell.c && ./a.out
functions/shellcode_openshell.c:28
Function
main
functions/triangle.c:4
Function
main
functions/trunc.c:1
Function
main
functions/whatis42.c:13
Function
main
functions/return_file_string.c:16
Function
main
functions/read_bytes.c:7
Function
main
functions/udp_server.c:8
Function
main
functions/recursivesumodd.c:12
next →
1–100 of 133, ranked by callers