65 references to DefaultCharacterChunkSize
Microsoft.AspNetCore.Mvc.Core.Test (65)
ContentResultTest.cs (65)
151{ new string('a', DefaultCharacterChunkSize), "text/plain; charset=utf-8" }, 152{ new string('a', DefaultCharacterChunkSize - 1), "text/plain; charset=utf-8" }, 153{ new string('a', DefaultCharacterChunkSize + 1), "text/plain; charset=utf-8" }, 154{ new string('a', DefaultCharacterChunkSize - 2), "text/plain; charset=utf-8" }, 155{ new string('a', DefaultCharacterChunkSize + 2), "text/plain; charset=utf-8" }, 156{ new string('a', DefaultCharacterChunkSize - 3), "text/plain; charset=utf-8" }, 157{ new string('a', DefaultCharacterChunkSize + 3), "text/plain; charset=utf-8" }, 158{ new string('a', DefaultCharacterChunkSize * 2), "text/plain; charset=utf-8" }, 159{ new string('a', DefaultCharacterChunkSize * 3), "text/plain; charset=utf-8" }, 160{ new string('a', (DefaultCharacterChunkSize * 2) - 1), "text/plain; charset=utf-8" }, 161{ new string('a', (DefaultCharacterChunkSize * 2) - 2), "text/plain; charset=utf-8" }, 162{ new string('a', (DefaultCharacterChunkSize * 2) - 3), "text/plain; charset=utf-8" }, 163{ new string('a', (DefaultCharacterChunkSize * 2) + 1), "text/plain; charset=utf-8" }, 164{ new string('a', (DefaultCharacterChunkSize * 2) + 2), "text/plain; charset=utf-8" }, 165{ new string('a', (DefaultCharacterChunkSize * 2) + 3), "text/plain; charset=utf-8" }, 166{ new string('a', (DefaultCharacterChunkSize * 3) - 1), "text/plain; charset=utf-8" }, 167{ new string('a', (DefaultCharacterChunkSize * 3) - 2), "text/plain; charset=utf-8" }, 168{ new string('a', (DefaultCharacterChunkSize * 3) - 3), "text/plain; charset=utf-8" }, 169{ new string('a', (DefaultCharacterChunkSize * 3) + 1), "text/plain; charset=utf-8" }, 170{ new string('a', (DefaultCharacterChunkSize * 3) + 2), "text/plain; charset=utf-8" }, 171{ new string('a', (DefaultCharacterChunkSize * 3) + 3), "text/plain; charset=utf-8" }, 173{ new string('色', DefaultCharacterChunkSize), "text/plain; charset=utf-16" }, 174{ new string('色', DefaultCharacterChunkSize - 1), "text/plain; charset=utf-16" }, 175{ new string('色', DefaultCharacterChunkSize + 1), "text/plain; charset=utf-16" }, 176{ new string('色', DefaultCharacterChunkSize - 2), "text/plain; charset=utf-16" }, 177{ new string('色', DefaultCharacterChunkSize + 2), "text/plain; charset=utf-16" }, 178{ new string('色', DefaultCharacterChunkSize - 3), "text/plain; charset=utf-16" }, 179{ new string('色', DefaultCharacterChunkSize + 3), "text/plain; charset=utf-16" }, 180{ new string('色', DefaultCharacterChunkSize * 2), "text/plain; charset=utf-16" }, 181{ new string('色', DefaultCharacterChunkSize * 3), "text/plain; charset=utf-16" }, 182{ new string('色', (DefaultCharacterChunkSize * 2) - 1), "text/plain; charset=utf-16" }, 183{ new string('色', (DefaultCharacterChunkSize * 2) - 2), "text/plain; charset=utf-16" }, 184{ new string('色', (DefaultCharacterChunkSize * 2) - 3), "text/plain; charset=utf-16" }, 185{ new string('色', (DefaultCharacterChunkSize * 2) + 1), "text/plain; charset=utf-16" }, 186{ new string('色', (DefaultCharacterChunkSize * 2) + 2), "text/plain; charset=utf-16" }, 187{ new string('色', (DefaultCharacterChunkSize * 2) + 3), "text/plain; charset=utf-16" }, 188{ new string('色', (DefaultCharacterChunkSize * 3) - 1), "text/plain; charset=utf-16" }, 189{ new string('色', (DefaultCharacterChunkSize * 3) - 2), "text/plain; charset=utf-16" }, 190{ new string('色', (DefaultCharacterChunkSize * 3) - 3), "text/plain; charset=utf-16" }, 191{ new string('色', (DefaultCharacterChunkSize * 3) + 1), "text/plain; charset=utf-16" }, 192{ new string('色', (DefaultCharacterChunkSize * 3) + 2), "text/plain; charset=utf-16" }, 193{ new string('色', (DefaultCharacterChunkSize * 3) + 3), "text/plain; charset=utf-16" }, 195{ new string('色', DefaultCharacterChunkSize), "text/plain; charset=utf-32" }, 196{ new string('色', DefaultCharacterChunkSize - 1), "text/plain; charset=utf-32" }, 197{ new string('色', DefaultCharacterChunkSize + 1), "text/plain; charset=utf-32" }, 198{ new string('色', DefaultCharacterChunkSize - 2), "text/plain; charset=utf-32" }, 199{ new string('色', DefaultCharacterChunkSize + 2), "text/plain; charset=utf-32" }, 200{ new string('色', DefaultCharacterChunkSize - 3), "text/plain; charset=utf-32" }, 201{ new string('色', DefaultCharacterChunkSize + 3), "text/plain; charset=utf-32" }, 202{ new string('色', DefaultCharacterChunkSize * 2), "text/plain; charset=utf-32" }, 203{ new string('色', DefaultCharacterChunkSize * 3), "text/plain; charset=utf-32" }, 204{ new string('色', (DefaultCharacterChunkSize * 2) - 1), "text/plain; charset=utf-32" }, 205{ new string('色', (DefaultCharacterChunkSize * 2) - 2), "text/plain; charset=utf-32" }, 206{ new string('色', (DefaultCharacterChunkSize * 2) - 3), "text/plain; charset=utf-32" }, 207{ new string('色', (DefaultCharacterChunkSize * 2) + 1), "text/plain; charset=utf-32" }, 208{ new string('色', (DefaultCharacterChunkSize * 2) + 2), "text/plain; charset=utf-32" }, 209{ new string('色', (DefaultCharacterChunkSize * 2) + 3), "text/plain; charset=utf-32" }, 210{ new string('色', (DefaultCharacterChunkSize * 3) - 1), "text/plain; charset=utf-32" }, 211{ new string('色', (DefaultCharacterChunkSize * 3) - 2), "text/plain; charset=utf-32" }, 212{ new string('色', (DefaultCharacterChunkSize * 3) - 3), "text/plain; charset=utf-32" }, 213{ new string('色', (DefaultCharacterChunkSize * 3) + 1), "text/plain; charset=utf-32" }, 214{ new string('色', (DefaultCharacterChunkSize * 3) + 2), "text/plain; charset=utf-32" }, 215{ new string('色', (DefaultCharacterChunkSize * 3) + 3), "text/plain; charset=utf-32" }, 263.Setup(ap => ap.Rent(DefaultCharacterChunkSize)) 264.Returns(new char[DefaultCharacterChunkSize]);