mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +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];
|
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 T* GrowUnitialized(int addSize) => GrowUninitialized(addSize);
|
||||||
|
|
||||||
public void Clear()
|
public void Clear()
|
||||||
|
|
|
@ -128,7 +128,7 @@ namespace CURL
|
||||||
int byteCount = size * count;
|
int byteCount = size * count;
|
||||||
if (byteCount > 0)
|
if (byteCount > 0)
|
||||||
{
|
{
|
||||||
Internal.MemCpy(transfer.mData.GrowUnitialized(byteCount), dataPtr, byteCount);
|
Internal.MemCpy(transfer.mData.GrowUninitialized(byteCount), dataPtr, byteCount);
|
||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1261,7 +1261,7 @@ namespace IDE.Debugger
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
outTypeData.Clear();
|
outTypeData.Clear();
|
||||||
result = Debugger_GetHotResolveData(outTypeData.GrowUnitialized(outDataSize), &outDataSize);
|
result = Debugger_GetHotResolveData(outTypeData.GrowUninitialized(outDataSize), &outDataSize);
|
||||||
outStackStr.Append(result);
|
outStackStr.Append(result);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5666,7 +5666,7 @@ namespace IDE.ui
|
||||||
return;
|
return;
|
||||||
|
|
||||||
mLineCoords.Clear();
|
mLineCoords.Clear();
|
||||||
mLineCoords.GrowUnitialized(data.mLineStarts.Count);
|
mLineCoords.GrowUninitialized(data.mLineStarts.Count);
|
||||||
mLineCoordJumpTable.Clear();
|
mLineCoordJumpTable.Clear();
|
||||||
|
|
||||||
List<(int32 line, EmitEmbed emitEmbed)> orderedEmitEmbeds = scope .();
|
List<(int32 line, EmitEmbed emitEmbed)> orderedEmitEmbeds = scope .();
|
||||||
|
|
|
@ -4563,7 +4563,7 @@ namespace IDE.ui
|
||||||
{
|
{
|
||||||
mCollapseRegionView.mLineStart = (.)lineStart;
|
mCollapseRegionView.mLineStart = (.)lineStart;
|
||||||
mCollapseRegionView.mCollapseIndices.Clear();
|
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.mCollapseRevision = ewc.mCollapseParseRevision;
|
||||||
mCollapseRegionView.mTextVersionId = ewc.mCollapseTextVersionId;
|
mCollapseRegionView.mTextVersionId = ewc.mCollapseTextVersionId;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue