Command:
$ fastboot helpOutput:
usage: fastboot [OPTION...] COMMAND...
flashing:Command:
$ fastboot helpOutput:
usage: fastboot [OPTION...] COMMAND...
flashing:| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <inttypes.h> | |
| int main() { | |
| // allocating memory for 6 integers (total = 6 * 4 = 24 bytes) | |
| int* ptr = malloc(6 * sizeof(int)); | |
| for (int i = 0; i < 6; i++) { /* 6 * 4 = 24 bytes = 24 * 8 = 192 bits */ |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <inttypes.h> | |
| static inline void printAddress(void** ptr_address) { | |
| printf("%p\n", *ptr_address); | |
| } | |
| static inline void destroy(void** ptr_address) { | |
| free(*ptr_address); |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| /** | |
| * Headers | |
| */ | |
| struct JNINativeInterface_ { | |
| void *reserved0; | |
| void *reserved1; | |
| void *reserved2; |
| #include <stdio.h> | |
| int main(void) { | |
| int x = 8; // define x | |
| int y; // define y | |
| // constant pointer to constant data | |
| const int* const ptr = &x; | |
| printf("%d\n", x); | |
| } |
| #include <stdio.h> | |
| int main(void) { | |
| int x = 8; // define x | |
| int y; // define y | |
| // constant location (pointer) to non-constant data | |
| int* const ptr = &x; | |
| // an attempt to modifiy the data will succeed | |
| *ptr = 55; | |
| printf("%d\n", x); | |
| // an attempt to modify the memory location will fail |
| #include <stdio.h> | |
| /** | |
| * Finds the maximum number between 2 numbers. | |
| * | |
| * @param n0 the first operand | |
| * @param n1 the second operand | |
| * @return the maximum number, any of the 2 numbers if the numbers are equal | |
| */ | |
| static inline int max0(int n0, int n1) { |
| #include <stdio.h> | |
| static inline void call_stack() { | |
| void inside_block() { | |
| printf("inside block"); | |
| } | |
| inside_block(); | |
| } | |
| int main() { |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| /** jni.h **********************************************************************************/ | |
| struct JNINativeInterface_ { | |
| void *reserved0; | |
| void *reserved1; | |
| void *reserved2; | |
| void *reserved3; |
| /** | |
| * Test chunk memcpy | |
| * | |
| * @author pavl_g | |
| */ | |
| #include <stdio.h> | |
| #include <string.h> | |
| static inline void printAddresses(char* arr, int length) { | |
| for (int i = 0; i < length; i++) { |