optimized

This commit is contained in:
Jeff Hill
2002-05-09 00:32:00 +00:00
parent 82c7b2cd85
commit b056f542aa
6 changed files with 148 additions and 109 deletions

View File

@@ -35,7 +35,7 @@ bool comBuf::flushToWire ( wireSendAdapter & wire )
return true;
}
unsigned comBuf::push ( const epicsInt16 *pValue, unsigned nElem )
unsigned comBuf::push ( const epicsInt16 * pValue, unsigned nElem )
{
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
for ( unsigned i = 0u; i < nElem; i++ ) {
@@ -47,7 +47,7 @@ unsigned comBuf::push ( const epicsInt16 *pValue, unsigned nElem )
return nElem;
}
unsigned comBuf::push ( const epicsUInt16 *pValue, unsigned nElem )
unsigned comBuf::push ( const epicsUInt16 * pValue, unsigned nElem )
{
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
for ( unsigned i = 0u; i < nElem; i++ ) {
@@ -59,7 +59,7 @@ unsigned comBuf::push ( const epicsUInt16 *pValue, unsigned nElem )
return nElem;
}
unsigned comBuf::push ( const epicsInt32 *pValue, unsigned nElem )
unsigned comBuf::push ( const epicsInt32 * pValue, unsigned nElem )
{
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
for ( unsigned i = 0u; i < nElem; i++ ) {
@@ -75,7 +75,7 @@ unsigned comBuf::push ( const epicsInt32 *pValue, unsigned nElem )
return nElem;
}
unsigned comBuf::push ( const epicsUInt32 *pValue, unsigned nElem )
unsigned comBuf::push ( const epicsUInt32 * pValue, unsigned nElem )
{
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
for ( unsigned i = 0u; i < nElem; i++ ) {
@@ -91,7 +91,7 @@ unsigned comBuf::push ( const epicsUInt32 *pValue, unsigned nElem )
return nElem;
}
unsigned comBuf::push ( const epicsFloat32 *pValue, unsigned nElem )
unsigned comBuf::push ( const epicsFloat32 * pValue, unsigned nElem )
{
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
for ( unsigned i = 0u; i < nElem; i++ ) {
@@ -102,7 +102,7 @@ unsigned comBuf::push ( const epicsFloat32 *pValue, unsigned nElem )
return nElem;
}
unsigned comBuf::push ( const epicsFloat64 *pValue, unsigned nElem )
unsigned comBuf::push ( const epicsFloat64 * pValue, unsigned nElem )
{
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
for ( unsigned i = 0u; i < nElem; i++ ) {