cosmetic: fix several typos found by codespell

Change-Id: Id1f6766572fd313463201e6d03964965f227db25
This commit is contained in:
Pau Espin 2020-02-25 17:02:53 +01:00
parent 5291e8a654
commit 93707d0227
3 changed files with 4 additions and 4 deletions

View File

@ -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 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 actual AGPL text and not part of an attempt to create a deriviative work based
on the AGPLv3 text. on the AGPLv3 text.

View File

@ -232,7 +232,7 @@ template <class T> class Vector {
assert(mStart+span<=mEnd); assert(mStart+span<=mEnd);
for (i = 0; i < span; i++, src++, dst++) for (i = 0; i < span; i++, src++, dst++)
*dst = *src; *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)); */ memcpy(dst,mStart,span*sizeof(T)); */
} }

View File

@ -47,7 +47,7 @@ void signalVector::operator=(const signalVector& vector)
complex *src = vector.mData; complex *src = vector.mData;
for (i = 0; i < size(); i++, src++, dst++) for (i = 0; i < size(); i++, src++, dst++)
*dst = *src; *dst = *src;
/* TODO: optimize for non non-trivially copyable types: */ /* TODO: optimize for non non-trivially copiable types: */
/*memcpy(mData, vector.mData, bytes()); */ /*memcpy(mData, vector.mData, bytes()); */
mStart = mData + vector.getStart(); mStart = mData + vector.getStart();
} }
@ -70,7 +70,7 @@ size_t signalVector::updateHistory()
complex *src = mStart + this->size() - num; complex *src = mStart + this->size() - num;
for (i = 0; i < num; i++, src++, dst++) for (i = 0; i < num; i++, src++, dst++)
*dst = *src; *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)); */ /*memmove(mData, mStart + this->size() - num, num * sizeof(complex)); */
return num; return num;