44 TSource val =
default(TSource);
45 TKey
val2 =
default(TKey);
54 if ((num & 0
x3F) == 0)
73 _operatorState._key =
val2;
154 [
ExcludeFromCodeCoverage(Justification =
"This method should never be called as fallback to sequential is handled in ParallelEnumerable.First()")]
CancellationToken MergedCancellationToken
override void Dispose(bool disposing)
readonly QueryOperatorEnumerator< TSource, TKey > _source
override bool MoveNext([MaybeNullWhen(false)][AllowNull] ref TSource currentElement, ref int currentKey)
readonly int _partitionId
LastQueryOperatorEnumerator(QueryOperatorEnumerator< TSource, TKey > source, Func< TSource, bool > predicate, LastQueryOperatorState< TKey > operatorState, CountdownEvent sharedBarrier, CancellationToken cancelToken, IComparer< TKey > keyComparer, int partitionId)
readonly Func< TSource, bool > _predicate
readonly IComparer< TKey > _keyComparer
readonly CancellationToken _cancellationToken
readonly LastQueryOperatorState< TKey > _operatorState
readonly CountdownEvent _sharedBarrier
LastQueryOperator(IEnumerable< TSource > child, Func< TSource, bool > predicate)
override IEnumerable< TSource > AsSequentialQuery(CancellationToken token)
readonly bool _prematureMergeNeeded
override void WrapPartitionedStream< TKey >(PartitionedStream< TSource, TKey > inputStream, IPartitionedStreamRecipient< TSource > recipient, bool preferStriping, QuerySettings settings)
override bool LimitsParallelism
override QueryResults< TSource > Open(QuerySettings settings, bool preferStriping)
readonly Func< TSource, bool > _predicate
void WrapHelper< TKey >(PartitionedStream< TSource, TKey > inputStream, IPartitionedStreamRecipient< TSource > recipient, QuerySettings settings)
bool MoveNext([MaybeNullWhen(false)][AllowNull] ref TElement currentElement, [AllowNull] ref TKey currentKey)
CancellationState CancellationState
void ThrowIfCancellationRequested()