mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-10-23 00:11:59 +00:00
cosmetic: fix several typos found by codespell
Change-Id: Id1f6766572fd313463201e6d03964965f227db25
This commit is contained in:
2
COPYING
2
COPYING
@@ -666,7 +666,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see
|
||||
=========================================================================
|
||||
|
||||
This marks the end of the AGPLv3 text. The following text is appended to the
|
||||
same file for convience but constituting a distinct document, not part of the
|
||||
same file for convenience but constituting a distinct document, not part of the
|
||||
actual AGPL text and not part of an attempt to create a deriviative work based
|
||||
on the AGPLv3 text.
|
||||
|
||||
|
@@ -232,7 +232,7 @@ template <class T> class Vector {
|
||||
assert(mStart+span<=mEnd);
|
||||
for (i = 0; i < span; i++, src++, dst++)
|
||||
*dst = *src;
|
||||
/*TODO if not non-trivially copyable type class, optimize:
|
||||
/*TODO if not non-trivially copiable type class, optimize:
|
||||
memcpy(dst,mStart,span*sizeof(T)); */
|
||||
}
|
||||
|
||||
|
@@ -47,7 +47,7 @@ void signalVector::operator=(const signalVector& vector)
|
||||
complex *src = vector.mData;
|
||||
for (i = 0; i < size(); i++, src++, dst++)
|
||||
*dst = *src;
|
||||
/* TODO: optimize for non non-trivially copyable types: */
|
||||
/* TODO: optimize for non non-trivially copiable types: */
|
||||
/*memcpy(mData, vector.mData, bytes()); */
|
||||
mStart = mData + vector.getStart();
|
||||
}
|
||||
@@ -70,7 +70,7 @@ size_t signalVector::updateHistory()
|
||||
complex *src = mStart + this->size() - num;
|
||||
for (i = 0; i < num; i++, src++, dst++)
|
||||
*dst = *src;
|
||||
/* TODO: optimize for non non-trivially copyable types: */
|
||||
/* TODO: optimize for non non-trivially copiable types: */
|
||||
/*memmove(mData, mStart + this->size() - num, num * sizeof(complex)); */
|
||||
|
||||
return num;
|
||||
|
Reference in New Issue
Block a user