Actual Snippet of Windows Source Code! Honest!
NOTE: The following snippet of the Windows 95 source code was sent to us via
'unofficial' channels. Don't tell anyone you saw this! We really don't
feel like being visited by the Microsoft Intellectual Property Police.
void BusyLoop()
/* Do nothing loop to kill CPU cycles; added at the
request of Intel */
{
DisplayRandomSubliminalMessage();
for( int i = 0; i < BIG_INT; i++ )
for( int j = 0; j < BIG_INT; j++ )
for( int k = 0; k < BIG_INT; k++ )
for( int l = 0; l < BIG_INT; l++ )
if( STACK_SPACE_PERCENTAGE_FREE > .05 )
/* There's plenty of stack space left -- let's
eat up some more CPU cycles, recursively! */
BusyLoop();
}
NOTE: The following snippet of the Windows 95 source code was sent to us via
'unofficial' channels. Don't tell anyone you saw this! We really don't
feel like being visited by the Microsoft Intellectual Property Police.
void BusyLoop()
/* Do nothing loop to kill CPU cycles; added at the
request of Intel */
{
DisplayRandomSubliminalMessage();
for( int i = 0; i < BIG_INT; i++ )
for( int j = 0; j < BIG_INT; j++ )
for( int k = 0; k < BIG_INT; k++ )
for( int l = 0; l < BIG_INT; l++ )
if( STACK_SPACE_PERCENTAGE_FREE > .05 )
/* There's plenty of stack space left -- let's
eat up some more CPU cycles, recursively! */
BusyLoop();
}
Related:
- main(void){int x;for(x=0;x<32767;x++)printf("Bulk
tagline %d ",x)... - vaxocentrism /vak`soh-sen'trizm/ n.
[analogy with
`ethnocentrism'] A notional disease said to afflict C programmers
who persist in coding according to certain assumptions that are
valid (esp.
under Unix) on VAXen but false elsewhere. Among ... - Remember, an int is not always 16 bits. I'm not sure,
but if the 80386 is one step closer to Intel's slugfest... - These types are not "abstract"; they are as real as int and float.
Doug... - How I love C! The only language where
main(){ puts("hello,
world!"); } is equivalent to int i;main(){for(;i["] - We kill you and you kill us and Allah is the greatest.
Ayatollah Khomeini (quoted Int. Herald Trib. Jul 1... - segmentation fault n.
[Unix] 1. [techspeak] An error in
which a running program attempts to access memory not allocated to
it and core dumps with a segmentation violation error.
This is often caused by improper usage of pointers... - mangled name n.
A name, appearing in a C++ object file,
that is a coded representation of the object declaration... - main(int c, char **v){if(c = *v[1]++)main(c, v),
putchar(c)...
From the same category:
- Right now hundreds of Anonymous Cowards are cheering the fact that only
Windows boobs are victims of ILOVEYOU and other email viruses.
I realize Outlook is so insecure that using it is like... - What I'd like to see is a prohibition on Microsoft incorporating
multi-megabyte Easter Eggs and other stupid bloatware into Windows and
Office.
A typical computer with pre-installed Microsoft... - Microsoft Mandatory Survey (#3)
Customers who want to upgrade to Windows 98 Second Edition must now fill
out a Microsoft survey online before they can order the bugfix/upgrade.
Question 3: Have... - Stallman's Latest Proclamation
Richard M. Stallman doesn't want you to say "Windows" anymore.
He is now advocating that people call this OS by its... - Excerpts From The First Annual Nerd Bowl (#1)
JOHN SPLADDEN:
Hi, and welcome to the first annual Nerd Bowl in sunny...
