mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-07 19:18:19 +02:00
Changed GrowUnitialized to NoShow
This commit is contained in:
parent
b34a14502d
commit
861913d591
5 changed files with 5 additions and 5 deletions
|
@ -446,7 +446,7 @@ namespace System.Collections
|
|||
return &mItems[mSize - addSize];
|
||||
}
|
||||
|
||||
[Obsolete("Method replaced by GrowUninitialized due to misspelling")]
|
||||
[Obsolete("Method replaced by GrowUninitialized due to misspelling"), NoShow]
|
||||
public T* GrowUnitialized(int addSize) => GrowUninitialized(addSize);
|
||||
|
||||
public void Clear()
|
||||
|
|
|
@ -128,7 +128,7 @@ namespace CURL
|
|||
int byteCount = size * count;
|
||||
if (byteCount > 0)
|
||||
{
|
||||
Internal.MemCpy(transfer.mData.GrowUnitialized(byteCount), dataPtr, byteCount);
|
||||
Internal.MemCpy(transfer.mData.GrowUninitialized(byteCount), dataPtr, byteCount);
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
|
|
@ -1261,7 +1261,7 @@ namespace IDE.Debugger
|
|||
return false;
|
||||
|
||||
outTypeData.Clear();
|
||||
result = Debugger_GetHotResolveData(outTypeData.GrowUnitialized(outDataSize), &outDataSize);
|
||||
result = Debugger_GetHotResolveData(outTypeData.GrowUninitialized(outDataSize), &outDataSize);
|
||||
outStackStr.Append(result);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -5666,7 +5666,7 @@ namespace IDE.ui
|
|||
return;
|
||||
|
||||
mLineCoords.Clear();
|
||||
mLineCoords.GrowUnitialized(data.mLineStarts.Count);
|
||||
mLineCoords.GrowUninitialized(data.mLineStarts.Count);
|
||||
mLineCoordJumpTable.Clear();
|
||||
|
||||
List<(int32 line, EmitEmbed emitEmbed)> orderedEmitEmbeds = scope .();
|
||||
|
|
|
@ -4563,7 +4563,7 @@ namespace IDE.ui
|
|||
{
|
||||
mCollapseRegionView.mLineStart = (.)lineStart;
|
||||
mCollapseRegionView.mCollapseIndices.Clear();
|
||||
Internal.MemSet(mCollapseRegionView.mCollapseIndices.GrowUnitialized(drawLineCount), 0, drawLineCount * sizeof(int32));
|
||||
Internal.MemSet(mCollapseRegionView.mCollapseIndices.GrowUninitialized(drawLineCount), 0, drawLineCount * sizeof(int32));
|
||||
mCollapseRegionView.mCollapseRevision = ewc.mCollapseParseRevision;
|
||||
mCollapseRegionView.mTextVersionId = ewc.mCollapseTextVersionId;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue