Blogger Template by Blogcrowds

For once, i am writing something other than movies and cricket.

short int func(int a, short int b)
{
b = b + a;
return b;
}
Run Klocwork on this piece of code, you will get the following error
Line 3: Conversion from int to short int may cause loss of data

For those who are not aware of Klocworks, its a static code analyzer.

short int func(int a, short int b)
{
b += a;
return b;
}
Now, run klocworks on this piece of code and no error is reported.

Functionality wise, there is absolutely no difference between the 2.

b = b + a; /* Error */
b += a; /* Not an error */

In both the cases, 4 bytes are written into the variable 'b' which can hold only 2 bytes. But, why no error is reported for the second case?? unga yaarukaachi ethunaavathu difference therinja sollunga ba..

And, the unwritten rule of our room is,if there is a possible rhyme, say it.
Everything above is about Klocworks and
everything below is about vxWorks.
(Forgot to add this. Say it, however mokkai the rhyme is.)

A trivia
The name VxWorks is believed to be a pun on the VRTX real-time operating system, at the time created by Ready Systems. In the early 1980s VRTX was a new product and did not work so well. Wind River acquired the rights to resell VRTX with an extension named VxWorks which was workable, so VxWorks most probably means VRTX now Works or VRTX that Works.

EKSI

btw - by the way
fyi - for your information
lol - laugh out loud
rotfl - roll on the floor laughing

I think all of you are aware of the above abbreviation. Is anyone aware of 'eksi'. First time when i read that in a movie forum a month ago, i totally had no clue what it is. I tried all possibilities that came to my mind. But nothing suited the context. The context is, a person made fun of one of the posts with a single line reply. The reply was the word eksi followed by a laughing smiley.

I went to the same forum today to see the review of diwali releases. This time, one punniyavaan had posted a reply with the expansion of eksi. eksi is nothing but "Enna Kodumai Saravanan Ithu"... coool...

After reading that, i couldn't resist searching for that video in youtube. Here is that masterpiece. Watch out the expression of prabhu. Awesome.. This guy sure has great comedy timing. Thalaivarum konjam over'atha react pannitaaru side'la ninnutu..Etho onnu, this scene has a great part in the suckcessful run of the movie in shanthi theater.


Newer Posts Older Posts Home