60 byte* ptr2 = ptr + size;
67 for (
int i = 0; i != size; i++)
69 ptr[i] = ((
byte*)
value)[i];
97 int num =
value.IndexOf(
'\0');
102 int num2 = (num + 1) * 2;
118 fixed (
char* ptr =
value)
132 int num =
length * itemSize;
214 while (num < required);
258 ptr->m_Size = (int)(
scratch - unchecked((
byte*)checked((nuint)ptr->m_Ptr)));
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
static void Copy(int[] source, int startIndex, IntPtr destination, int length)
static string EventSource_PinArrayOutOfRange
static string EventSource_AddScalarOutOfRange
static string EventSource_DataDescriptorsOutOfRange
unsafe EventSource.EventData * datas
unsafe void AddArray(Array value, int length, int itemSize)
unsafe void AddScalar(void *value, int size)
void EnsureBuffer(int additionalSize)
static DataCollector ThreadInstance
void GrowBuffer(int required)
unsafe EventSource.EventData * datasEnd
unsafe void ScalarsBegin()
void EndBufferedArray(int bookmark, int count)
unsafe GCHandle * pinsEnd
unsafe void PinArray(object value, int size)
unsafe EventSource.EventData * Finish()
unsafe void Enable(byte *scratch, int scratchSize, EventSource.EventData *datas, int dataCount, GCHandle *pins, int pinCount)
unsafe void AddNullTerminatedString(string value)
unsafe EventSource.EventData * datasStart
unsafe IntPtr AddrOfPinnedObject()
static GCHandle Alloc(object? value)