Forgot your password?
typodupeerror

+ - Most run piece of code. Ever 9

Submitted by Hugo Villeneuve
Hugo Villeneuve (3504723) writes "What is the piece of code, in a non assembler format, that have run the most often, ever, on this planet?
By 'most often' I mean the highest number of execution, regardless of cpu type.
By 'piece of code' I mean from a minimum of 3 consecutive line of code.

For example, is it the:
- a unix kernel context switching?
- a SHA2 algo for bitcoin mining on an ASIC?
- A scientific calculation running on a CRAY?
- An 'for-loop' inside on an obscure microcontroler that runs on all GE appliance since the 60's?

Goal: Make an awesome t-shirt"
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Most run piece of code. Ever

Comments Filter:
  • It'll be some piece of boilerplate.

    • You are probably right about the code line But I am sure it context of the application might be interesting.
  • var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-429350-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
  • Whatever the line of code is that displays "STOP 0x0000000A: IRQL_NOT_LESS_EQUAL"

  • In the late '70s and early '80s:

    and $0f
    add a, $90
    daa
    adc a, $40
    daa

    Since then:

    add al, $90
    daa
    adc al, $40
    daa

    • by Damouze (766305)

      I skipped the 'non-assembler' part, my apologies.

      I still think it's a cool piece of code though and it's probably been run the most, especially in certain operating systems associated with the color blue :P.

      In C:

      a += (a >= 10 ? 7 : 55);

      • by Damouze (766305)

        It must not be my day today, because I made a mistake:

        In C it would have to be:

        a &= 15;
        a += (a >= 10 ? 48 : 55);

Little known fact about Middle Earth: The Hobbits had a very sophisticated computer network! It was a Tolkien Ring...

Working...