5 writes to Index
CodeGenerator (5)
src\Servers\Kestrel\shared\KnownHeaders.cs (5)
183Index = index, 192Index = -1, 254Index = index, 263Index = 63, 281Index = index,
17 references to Index
CodeGenerator (17)
src\Servers\Kestrel\shared\KnownHeaders.cs (17)
299.Select(header => 1L << header.Index) 304.Select(header => 1L << header.Index) 479public string FlagBit() => $"{"0x" + (1L << Index).ToString("x", CultureInfo.InvariantCulture)}L"; 480public string TestBitCore(string name) => $"({name} & {"0x" + (1L << Index).ToString("x", CultureInfo.InvariantCulture)}L) != 0"; 483public string TestNotTempBit() => $"(tempBits & ~{"0x" + (1L << Index).ToString("x", CultureInfo.InvariantCulture)}L) == 0"; 484public string TestNotBit() => $"(_bits & {"0x" + (1L << Index).ToString("x", CultureInfo.InvariantCulture)}L) == 0"; 485public string SetBit() => $"_bits |= {"0x" + (1L << Index).ToString("x", CultureInfo.InvariantCulture)}L"; 486public string ClearBit() => $"_bits &= ~{"0x" + (1L << Index).ToString("x", CultureInfo.InvariantCulture)}L"; 774Debug.Assert(requestHeaders.Max(x => x.Index) <= 62); 779Debug.Assert(responseHeaders.Count(x => x.Index == 63) == 1); 1160tempBits &= ~{"0x" + (1L << header.Index).ToString("x", CultureInfo.InvariantCulture)}L; 1176tempBits &= ~{"0x" + (1L << header.Index).ToString("x", CultureInfo.InvariantCulture)}L; 1240{{{Each(loop.Headers.OrderBy(h => h.Index).Where(h => h.Identifier != "ContentLength"), header => $@" 1241case {header.Index}: // Header: ""{header.Name}"" 1249tempBits ^= {"0x" + (1L << header.Index).ToString("x", CultureInfo.InvariantCulture)}L; 1397case {header.Index}: // Header: ""{header.Name}"" 1401")}_currentBits ^= {"0x" + (1L << header.Index).ToString("x", CultureInfo.InvariantCulture)}L;