LinuxMCE Forums
June 20, 2013, 12:28:41 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: LMCE common abbreviations used in the source code - can anyone define these?  (Read 709 times)
jondecker76
Alumni
wants to work for LinuxMCE
*
Posts: 763


View Profile
« on: February 25, 2008, 09:40:38 am »

As I'm picking my way more and more through the source, I'm finding that if I knew what some of the abbreviations meant things would be much easier.

I see m_dwPK_ used as a prefix in many places, but I'm not sure what it stands for.
Are there any other common abbreviations used that anyone would like to add to the list? I think compiling a nice list would greatly help the readability for people interested in getting started on the development side of things.

thanks,

Jon
Logged
kir
Guru
****
Posts: 183



View Profile
« Reply #1 on: February 25, 2008, 12:51:43 pm »

I guess m_dwPK_ is
m - member variable
dw - double word (??) i.e. 32bit int
PK - primary key
Logged
danielk
Guru
****
Posts: 153


View Profile
« Reply #2 on: February 26, 2008, 12:01:46 am »

kir is probably right on all those..

Heh, a "double word" being 32 bits also indicates that original the programmer was probably a Windows programmer Smiley

A "word" is the basic unit of the processors, usually 64 or 128 bits on modern processors, and Linux originally only supported processors with a 32-bit or larger word size. So on a modern computer double word should really be at least 128 bits. Smiley

PS to create a real double word in most C and C++ compilers you declare it as a "long long".
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!