0% found this document useful (0 votes)
61 views2 pages

M - Chunklength M - Chunkprevious M - Chunkoffset M - Chunkoffset M - Chunklength

This document contains code defining fields and constants related to a StringBuilder class. It defines fields to store the character array, previous chunk, length, offset, and max capacity of each chunk. It also defines default capacity, names of capacity-related fields, and a maximum chunk size constant.

Uploaded by

Anonymous WXJTn0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views2 pages

M - Chunklength M - Chunkprevious M - Chunkoffset M - Chunkoffset M - Chunklength

This document contains code defining fields and constants related to a StringBuilder class. It defines fields to store the character array, previous chunk, length, offset, and max capacity of each chunk. It also defines default capacity, names of capacity-related fields, and a maximum chunk size constant.

Uploaded by

Anonymous WXJTn0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

{

num3 = 0;
chunk.m_ChunkLength = indexInChunk;
stringBuilder.m_ChunkPrevious = chunk;
stringBuilder.m_ChunkOffset = chunk.m_ChunkOffset + chunk.m_ChunkLength;
if (indexInChunk == 0)
{
stringBuilder.m_ChunkPrevious = chunk.m_ChunkPrevious;
chunk = stringBuilder;
}
}
stringBuilder.m_ChunkLength -= num2 - num3;
if (num3 != num2)
{
StringBuilder.ThreadSafeCopy(stringBuilder.m_ChunkChars, num2, stringBuilder.m_ChunkChar
s, num3, count2);
}
}

// Token: 0x04002D33 RID: 11571


internal char[] m_ChunkChars;

// Token: 0x04002D34 RID: 11572


internal StringBuilder m_ChunkPrevious;

// Token: 0x04002D35 RID: 11573


internal int m_ChunkLength;

// Token: 0x04002D36 RID: 11574


internal int m_ChunkOffset;

// Token: 0x04002D37 RID: 11575


internal int m_MaxCapacity;

// Token: 0x04002D38 RID: 11576


internal const int DefaultCapacity = 16;

// Token: 0x04002D39 RID: 11577


private const string CapacityField = "Capacity";

// Token: 0x04002D3A RID: 11578


private const string MaxCapacityField = "m_MaxCapacity";
// Token: 0x04002D3B RID: 11579
private const string StringValueField = "m_StringValue";

// Token: 0x04002D3C RID: 11580


private const string ThreadIDField = "m_currentThread";

// Token: 0x04002D3D RID: 11581


internal const int MaxChunkSize = 8000;
}
}

You might also like