2 instantiations of PathSegment
Microsoft.AspNetCore.Routing (2)
Matching\FastPathTokenizer.cs (2)
29segments[count++] = new PathSegment(start, end); 38segments[count++] = new PathSegment(start, length);
23 references to PathSegment
Microsoft.AspNetCore.Routing (23)
Matching\DfaMatcher.cs (9)
45Span<PathSegment> buffer = stackalloc PathSegment[_maxSegmentCount]; 212ReadOnlySpan<PathSegment> segments) 238ReadOnlySpan<PathSegment> segments) 246var segment = segments[segmentIndex]; 261ReadOnlySpan<PathSegment> segments) 268var segment = segments[segmentIndex]; 279ReadOnlySpan<PathSegment> segments, 285var segment = segments[segmentIndex];
Matching\DictionaryJumpTable.cs (1)
29public override int GetDestination(string path, PathSegment segment)
Matching\FastPathTokenizer.cs (1)
15public static int Tokenize(string path, Span<PathSegment> segments)
Matching\ILEmitTrieJumpTable.cs (4)
32internal Func<string, PathSegment, int> _getDestination; 50public override int GetDestination(string path, PathSegment segment) 57private int FallbackGetDestination(string path, PathSegment segment) 81_getDestination = (string path, PathSegment segment) =>
Matching\JumpTable.cs (1)
11public abstract int GetDestination(string path, PathSegment segment);
Matching\LinearSearchJumpTable.cs (1)
25public override int GetDestination(string path, PathSegment segment)
Matching\PathSegment.cs (3)
6internal readonly struct PathSegment : IEquatable<PathSegment> 19return obj is PathSegment segment ? Equals(segment) : false; 22public bool Equals(PathSegment other)
Matching\SingleEntryAsciiJumpTable.cs (1)
30public override int GetDestination(string path, PathSegment segment)
Matching\SingleEntryJumpTable.cs (1)
25public override int GetDestination(string path, PathSegment segment)
Matching\ZeroEntryJumpTable.cs (1)
17public override int GetDestination(string path, PathSegment segment)