Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inline void port_shit(unsigned int x) {
- //printf("OPEN: %i\n", x);
- //printf("CONNECT: %i\n", x);
- //printf("CLOSE: %i\n", x);
- }
- void kernel(unsigned int max_iteration) {
- for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) {
- port_shit(current_iteration);
- }
- port_shit(max_iteration);
- }
Comments
-
- void kernel(unsigned int max_iteration)
- {
- for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration)
- {
- // OPEN CONNECT CLOSE
- }
- // OPEN CONNECT CLOSE
- }
-
- void kernel(unsigned int max_iteration) {
- for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) {
- // OPEN CONNECT CLOSE
- }
- // OPEN CONNECT CLOSE
- }
-
- void kernel(unsigned int max_iteration) {
- for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) {
- // OPEN_CONNECT_CLOSE(current_iteration); }
- // OPEN_CONNECT_CLOSE(max_iteration); }
-
- void kernel(unsigned int max_iteration) { for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) { // OPEN_CONNECT_CLOSE(current_iteration); }
- // OPEN_CONNECT_CLOSE(max_iteration); }
-
- void kernel(unsigned int max_iteration)
- {
- for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration)
- {
- // OPEN_CONNECT_CLOSE(current_iteration);
- }
- // OPEN_CONNECT_CLOSE(max_iteration);
- }
-
- void kernel(unsigned int max_iteration) { for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) { // OPEN_CONNECT_CLOSE(current_iteration); } //OPEN_CONNECT_CLOSE(max_iteration); }
-
- void kernel(unsigned int max_iteration) {for(unsigned int current_iteration=0;current_iteration<max_iteration;++current_iteration){//OPEN_CONNECT_CLOSE(current_iteration);}//OPEN_CONNECT_CLOSE(max_iteration);}
-
- void open_connect_close(unsigned int port);
- void kernel(unsigned int max_iteration) {for(unsigned int current_iteration=0;current_iteration<max_iteration;++current_iteration){open_connect_close(current_iteration);}open_connect_close(max_iteration);}
-
- void kernel(unsigned int max_iteration, void (*open_connect_close)(int)) { for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) { (*open_connect_close)(current_iteration); } (*open_connect_close)(max_iteration); }
-
- void kernel(int max_iteration, const void (*open_connect_close)(int)) { for (int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) { (*open_connect_close)(current_iteration); } (*open_connect_close)(max_iteration); }
-
- void kernel(unsigned int max_iteration, const void (*open_connect_close)(unsigned int)) { for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) { (*open_connect_close)(current_iteration); } (*open_connect_close)(max_iteration); }
-
- inline void port_shit(unsigned int x) {
- //printf("OPEN: %i\n", x);
- //printf("CONNECT: %i\n", x);
- //printf("CLOSE: %i\n", x); }
-
- inline void port_shit(unsigned int x) {
- //printf("OPEN: %i\n", x);
- //printf("CONNECT: %i\n", x);
- //printf("CLOSE: %i\n", x);
- }
- void kernel(unsigned int max_iteration) {
- for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration)
- {
- port_shit(current_iteration);
- }
- port_shit(max_iteration);
- }
-
- inline void port_shit(unsigned int x) {
- //printf("OPEN: %i\n", x);
- //printf("CONNECT: %i\n", x);
- //printf("CLOSE: %i\n", x);
- }
- void kernel(unsigned int max_iteration) {
- for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) {
- port_shit(current_iteration);
- }
- port_shit(max_iteration);
- }
-
- inline void port_shit(unsigned int x) {
- //printf("OPEN: %i\n", x);
- //printf("CONNECT: %i\n", x);
- //printf("CLOSE: %i\n", x);
- }
- void kernel(unsigned int max_iteration) {
- for (unsigned int current_iteration = 0; current_iteration < max_iteration; ++current_iteration) {
- port_shit(current_iteration);
- }
- }
Add Comment
Please, Sign In to add comment