1 type derived from ReadOnlyDataFrameBuffer
Microsoft.Data.Analysis (1)
DataFrameBuffer.cs (1)
15
internal class DataFrameBuffer<T> :
ReadOnlyDataFrameBuffer
<T>
5 instantiations of ReadOnlyDataFrameBuffer
Microsoft.Data.Analysis (5)
DataFrameColumns\ArrowStringDataFrameColumn.cs (3)
49
ReadOnlyDataFrameBuffer<byte> dataBuffer = new
ReadOnlyDataFrameBuffer
<byte>(values, values.Length);
50
ReadOnlyDataFrameBuffer<int> offsetBuffer = new
ReadOnlyDataFrameBuffer
<int>(offsets, length + 1);
51
ReadOnlyDataFrameBuffer<byte> nullBitMapBuffer = new
ReadOnlyDataFrameBuffer
<byte>(nullBits, nullBits.Length);
PrimitiveColumnContainer.cs (2)
58
dataBuffer = new
ReadOnlyDataFrameBuffer
<T>(buffer, length);
94
nullDataFrameBuffer = new
ReadOnlyDataFrameBuffer
<byte>(nullBitMap, bitMapBufferLength);
294 references to ReadOnlyDataFrameBuffer
Microsoft.Data.Analysis (294)
DataFrameBuffer.cs (1)
103
internal static DataFrameBuffer<T> GetMutableBuffer(
ReadOnlyDataFrameBuffer
<T> buffer)
DataFrameColumns\ArrowStringDataFrameColumn.cs (17)
23
private readonly IList<
ReadOnlyDataFrameBuffer
<byte>> _dataBuffers;
24
private readonly IList<
ReadOnlyDataFrameBuffer
<int>> _offsetsBuffers;
25
private readonly IList<
ReadOnlyDataFrameBuffer
<byte>> _nullBitMapBuffers;
33
_dataBuffers = new List<
ReadOnlyDataFrameBuffer
<byte>>();
34
_offsetsBuffers = new List<
ReadOnlyDataFrameBuffer
<int>>();
35
_nullBitMapBuffers = new List<
ReadOnlyDataFrameBuffer
<byte>>();
49
ReadOnlyDataFrameBuffer
<byte> dataBuffer = new ReadOnlyDataFrameBuffer<byte>(values, values.Length);
50
ReadOnlyDataFrameBuffer
<int> offsetBuffer = new ReadOnlyDataFrameBuffer<int>(offsets, length + 1);
51
ReadOnlyDataFrameBuffer
<byte> nullBitMapBuffer = new ReadOnlyDataFrameBuffer<byte>(nullBits, nullBits.Length);
56
_dataBuffers = new List<
ReadOnlyDataFrameBuffer
<byte>>();
57
_offsetsBuffers = new List<
ReadOnlyDataFrameBuffer
<int>>();
58
_nullBitMapBuffers = new List<
ReadOnlyDataFrameBuffer
<byte>>();
84
ReadOnlyDataFrameBuffer
<byte> bitMapBuffer = _nullBitMapBuffers[bitMapIndex];
145
ReadOnlyDataFrameBuffer
<byte> buffer = _dataBuffers[i];
159
ReadOnlyDataFrameBuffer
<byte> buffer = _nullBitMapBuffers[i];
173
ReadOnlyDataFrameBuffer
<int> buffer = _offsetsBuffers[i];
202
if (mutableDataBuffer.Length ==
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity)
DateTimeComputation.cs (6)
35
var
buffer = column.Buffers[b];
60
long maxRange =
ReadOnlyDataFrameBuffer
<DateTime>.MaxCapacity;
107
var
buffer = column.Buffers[b];
132
long maxRange =
ReadOnlyDataFrameBuffer
<DateTime>.MaxCapacity;
227
long maxRange =
ReadOnlyDataFrameBuffer
<DateTime>.MaxCapacity;
285
long maxRange =
ReadOnlyDataFrameBuffer
<DateTime>.MaxCapacity;
PrimitiveColumnContainer.cs (41)
22
public IList<
ReadOnlyDataFrameBuffer
<T>> Buffers = new List<
ReadOnlyDataFrameBuffer
<T>>();
26
public IList<
ReadOnlyDataFrameBuffer
<byte>> NullBitMapBuffers = new List<
ReadOnlyDataFrameBuffer
<byte>>();
48
ReadOnlyDataFrameBuffer
<T> dataBuffer;
63
ReadOnlyDataFrameBuffer
<byte> nullDataFrameBuffer;
121
if (Buffers[Buffers.Count - 1].Length ==
ReadOnlyDataFrameBuffer
<T>.MaxCapacity)
149
if (Buffers[Buffers.Count - 1].Length ==
ReadOnlyDataFrameBuffer
<T>.MaxCapacity)
160
int allocatable = (int)Math.Min(remaining,
ReadOnlyDataFrameBuffer
<T>.MaxCapacity - originalBufferLength);
220
var
sourceBuffer = Buffers[b];
314
int bitMapIndex = (int)(index /
ReadOnlyDataFrameBuffer
<T>.MaxCapacity);
319
index -= bitMapIndex *
ReadOnlyDataFrameBuffer
<T>.MaxCapacity;
334
int bitMapIndex = (int)(index /
ReadOnlyDataFrameBuffer
<T>.MaxCapacity);
336
ReadOnlyDataFrameBuffer
<byte> bitMapBuffer = NullBitMapBuffers[bitMapIndex];
339
index -= bitMapIndex *
ReadOnlyDataFrameBuffer
<T>.MaxCapacity;
356
return (int)(rowIndex /
ReadOnlyDataFrameBuffer
<T>.MaxCapacity);
364
startIndex = startIndex - bufferIndex *
ReadOnlyDataFrameBuffer
<T>.MaxCapacity;
391
var bufferOffset = (int)(rowIndex %
ReadOnlyDataFrameBuffer
<T>.MaxCapacity);
397
var bufferOffset = (int)(rowIndex %
ReadOnlyDataFrameBuffer
<T>.MaxCapacity);
449
private List<
ReadOnlyDataFrameBuffer
<byte>> CloneNullBitMapBuffers()
451
List<
ReadOnlyDataFrameBuffer
<byte>> ret = new List<
ReadOnlyDataFrameBuffer
<byte>>();
452
foreach (
ReadOnlyDataFrameBuffer
<byte> buffer in NullBitMapBuffers)
475
ReadOnlyDataFrameBuffer
<U> buffer = mapIndices.Buffers[index];
529
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
543
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
551
var
localBuffer = buffer;
552
ReadOnlyDataFrameBuffer
<bool> boolLocalBuffer = Unsafe.As<
ReadOnlyDataFrameBuffer
<T>,
ReadOnlyDataFrameBuffer
<bool>>(ref localBuffer);
569
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
588
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
607
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
626
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
645
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
664
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
683
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
702
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
721
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
740
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
759
foreach (
ReadOnlyDataFrameBuffer
<T> buffer in Buffers)
PrimitiveColumnContainerHelpers.cs (2)
11
internal static DataFrameBuffer<T> GetOrCreateMutable<T>(this IList<
ReadOnlyDataFrameBuffer
<T>> bufferList, int index)
14
var
sourceBuffer = bufferList[index];
PrimitiveDataFrameColumn.cs (6)
79
ReadOnlyDataFrameBuffer
<byte> buffer = _columnContainer.NullBitMapBuffers[i];
132
int offset = (int)(startIndex - bufferIndex *
ReadOnlyDataFrameBuffer
<T>.MaxCapacity);
147
ReadOnlyDataFrameBuffer
<T> valueBuffer = (numberOfRows == 0) ? null : _columnContainer.Buffers[bufferIndex];
148
ReadOnlyDataFrameBuffer
<byte> nullBuffer = (numberOfRows == 0) ? null : _columnContainer.NullBitMapBuffers[bufferIndex];
621
ReadOnlyDataFrameBuffer
<T> buffer = _columnContainer.Buffers[b];
624
long previousLength = b *
ReadOnlyDataFrameBuffer
<T>.MaxCapacity;
PrimitiveDataFrameColumn.Sort.cs (3)
31
ReadOnlyDataFrameBuffer
<T> buffer = _columnContainer.Buffers[b];
82
IList<
ReadOnlyDataFrameBuffer
<T>> buffers = _columnContainer.Buffers;
85
ReadOnlyDataFrameBuffer
<T> buffer = buffers[i];
PrimitiveDataFrameColumnComputations.cs (218)
127
var
buffer = column.Buffers[b];
145
var
buffer = column.Buffers[b];
250
var
buffer = column.Buffers[b];
276
var
buffer = column.Buffers[b];
300
long maxRange =
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity;
340
var
buffer = column.Buffers[b];
364
long maxRange =
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity;
404
var
buffer = column.Buffers[b];
428
long maxRange =
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity;
468
var
buffer = column.Buffers[b];
492
long maxRange =
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity;
533
var
buffer = column.Buffers[b];
555
long maxRange =
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity;
581
var
buffer = column.Buffers[b];
603
long maxRange =
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity;
628
var
buffer = column.Buffers[b];
647
long maxRange =
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity;
673
var
buffer = column.Buffers[b];
695
long maxRange =
ReadOnlyDataFrameBuffer
<byte>.MaxCapacity;
719
var
buffer = column.Buffers[b];
737
var
buffer = column.Buffers[b];
763
var
buffer = column.Buffers[b];
787
long maxRange =
ReadOnlyDataFrameBuffer
<char>.MaxCapacity;
827
var
buffer = column.Buffers[b];
851
long maxRange =
ReadOnlyDataFrameBuffer
<char>.MaxCapacity;
891
var
buffer = column.Buffers[b];
915
long maxRange =
ReadOnlyDataFrameBuffer
<char>.MaxCapacity;
955
var
buffer = column.Buffers[b];
979
long maxRange =
ReadOnlyDataFrameBuffer
<char>.MaxCapacity;
1020
var
buffer = column.Buffers[b];
1042
long maxRange =
ReadOnlyDataFrameBuffer
<char>.MaxCapacity;
1068
var
buffer = column.Buffers[b];
1090
long maxRange =
ReadOnlyDataFrameBuffer
<char>.MaxCapacity;
1115
var
buffer = column.Buffers[b];
1134
long maxRange =
ReadOnlyDataFrameBuffer
<char>.MaxCapacity;
1160
var
buffer = column.Buffers[b];
1182
long maxRange =
ReadOnlyDataFrameBuffer
<char>.MaxCapacity;
1206
var
buffer = column.Buffers[b];
1224
var
buffer = column.Buffers[b];
1250
var
buffer = column.Buffers[b];
1274
long maxRange =
ReadOnlyDataFrameBuffer
<decimal>.MaxCapacity;
1314
var
buffer = column.Buffers[b];
1338
long maxRange =
ReadOnlyDataFrameBuffer
<decimal>.MaxCapacity;
1378
var
buffer = column.Buffers[b];
1402
long maxRange =
ReadOnlyDataFrameBuffer
<decimal>.MaxCapacity;
1442
var
buffer = column.Buffers[b];
1466
long maxRange =
ReadOnlyDataFrameBuffer
<decimal>.MaxCapacity;
1507
var
buffer = column.Buffers[b];
1529
long maxRange =
ReadOnlyDataFrameBuffer
<decimal>.MaxCapacity;
1555
var
buffer = column.Buffers[b];
1577
long maxRange =
ReadOnlyDataFrameBuffer
<decimal>.MaxCapacity;
1602
var
buffer = column.Buffers[b];
1621
long maxRange =
ReadOnlyDataFrameBuffer
<decimal>.MaxCapacity;
1647
var
buffer = column.Buffers[b];
1669
long maxRange =
ReadOnlyDataFrameBuffer
<decimal>.MaxCapacity;
1693
var
buffer = column.Buffers[b];
1711
var
buffer = column.Buffers[b];
1737
var
buffer = column.Buffers[b];
1761
long maxRange =
ReadOnlyDataFrameBuffer
<double>.MaxCapacity;
1801
var
buffer = column.Buffers[b];
1825
long maxRange =
ReadOnlyDataFrameBuffer
<double>.MaxCapacity;
1865
var
buffer = column.Buffers[b];
1889
long maxRange =
ReadOnlyDataFrameBuffer
<double>.MaxCapacity;
1929
var
buffer = column.Buffers[b];
1953
long maxRange =
ReadOnlyDataFrameBuffer
<double>.MaxCapacity;
1994
var
buffer = column.Buffers[b];
2016
long maxRange =
ReadOnlyDataFrameBuffer
<double>.MaxCapacity;
2042
var
buffer = column.Buffers[b];
2064
long maxRange =
ReadOnlyDataFrameBuffer
<double>.MaxCapacity;
2089
var
buffer = column.Buffers[b];
2108
long maxRange =
ReadOnlyDataFrameBuffer
<double>.MaxCapacity;
2134
var
buffer = column.Buffers[b];
2156
long maxRange =
ReadOnlyDataFrameBuffer
<double>.MaxCapacity;
2180
var
buffer = column.Buffers[b];
2198
var
buffer = column.Buffers[b];
2224
var
buffer = column.Buffers[b];
2248
long maxRange =
ReadOnlyDataFrameBuffer
<float>.MaxCapacity;
2288
var
buffer = column.Buffers[b];
2312
long maxRange =
ReadOnlyDataFrameBuffer
<float>.MaxCapacity;
2352
var
buffer = column.Buffers[b];
2376
long maxRange =
ReadOnlyDataFrameBuffer
<float>.MaxCapacity;
2416
var
buffer = column.Buffers[b];
2440
long maxRange =
ReadOnlyDataFrameBuffer
<float>.MaxCapacity;
2481
var
buffer = column.Buffers[b];
2503
long maxRange =
ReadOnlyDataFrameBuffer
<float>.MaxCapacity;
2529
var
buffer = column.Buffers[b];
2551
long maxRange =
ReadOnlyDataFrameBuffer
<float>.MaxCapacity;
2576
var
buffer = column.Buffers[b];
2595
long maxRange =
ReadOnlyDataFrameBuffer
<float>.MaxCapacity;
2621
var
buffer = column.Buffers[b];
2643
long maxRange =
ReadOnlyDataFrameBuffer
<float>.MaxCapacity;
2667
var
buffer = column.Buffers[b];
2685
var
buffer = column.Buffers[b];
2711
var
buffer = column.Buffers[b];
2735
long maxRange =
ReadOnlyDataFrameBuffer
<int>.MaxCapacity;
2775
var
buffer = column.Buffers[b];
2799
long maxRange =
ReadOnlyDataFrameBuffer
<int>.MaxCapacity;
2839
var
buffer = column.Buffers[b];
2863
long maxRange =
ReadOnlyDataFrameBuffer
<int>.MaxCapacity;
2903
var
buffer = column.Buffers[b];
2927
long maxRange =
ReadOnlyDataFrameBuffer
<int>.MaxCapacity;
2968
var
buffer = column.Buffers[b];
2990
long maxRange =
ReadOnlyDataFrameBuffer
<int>.MaxCapacity;
3016
var
buffer = column.Buffers[b];
3038
long maxRange =
ReadOnlyDataFrameBuffer
<int>.MaxCapacity;
3063
var
buffer = column.Buffers[b];
3082
long maxRange =
ReadOnlyDataFrameBuffer
<int>.MaxCapacity;
3108
var
buffer = column.Buffers[b];
3130
long maxRange =
ReadOnlyDataFrameBuffer
<int>.MaxCapacity;
3154
var
buffer = column.Buffers[b];
3172
var
buffer = column.Buffers[b];
3198
var
buffer = column.Buffers[b];
3222
long maxRange =
ReadOnlyDataFrameBuffer
<long>.MaxCapacity;
3262
var
buffer = column.Buffers[b];
3286
long maxRange =
ReadOnlyDataFrameBuffer
<long>.MaxCapacity;
3326
var
buffer = column.Buffers[b];
3350
long maxRange =
ReadOnlyDataFrameBuffer
<long>.MaxCapacity;
3390
var
buffer = column.Buffers[b];
3414
long maxRange =
ReadOnlyDataFrameBuffer
<long>.MaxCapacity;
3455
var
buffer = column.Buffers[b];
3477
long maxRange =
ReadOnlyDataFrameBuffer
<long>.MaxCapacity;
3503
var
buffer = column.Buffers[b];
3525
long maxRange =
ReadOnlyDataFrameBuffer
<long>.MaxCapacity;
3550
var
buffer = column.Buffers[b];
3569
long maxRange =
ReadOnlyDataFrameBuffer
<long>.MaxCapacity;
3595
var
buffer = column.Buffers[b];
3617
long maxRange =
ReadOnlyDataFrameBuffer
<long>.MaxCapacity;
3641
var
buffer = column.Buffers[b];
3659
var
buffer = column.Buffers[b];
3685
var
buffer = column.Buffers[b];
3709
long maxRange =
ReadOnlyDataFrameBuffer
<sbyte>.MaxCapacity;
3749
var
buffer = column.Buffers[b];
3773
long maxRange =
ReadOnlyDataFrameBuffer
<sbyte>.MaxCapacity;
3813
var
buffer = column.Buffers[b];
3837
long maxRange =
ReadOnlyDataFrameBuffer
<sbyte>.MaxCapacity;
3877
var
buffer = column.Buffers[b];
3901
long maxRange =
ReadOnlyDataFrameBuffer
<sbyte>.MaxCapacity;
3942
var
buffer = column.Buffers[b];
3964
long maxRange =
ReadOnlyDataFrameBuffer
<sbyte>.MaxCapacity;
3990
var
buffer = column.Buffers[b];
4012
long maxRange =
ReadOnlyDataFrameBuffer
<sbyte>.MaxCapacity;
4037
var
buffer = column.Buffers[b];
4056
long maxRange =
ReadOnlyDataFrameBuffer
<sbyte>.MaxCapacity;
4082
var
buffer = column.Buffers[b];
4104
long maxRange =
ReadOnlyDataFrameBuffer
<sbyte>.MaxCapacity;
4128
var
buffer = column.Buffers[b];
4146
var
buffer = column.Buffers[b];
4172
var
buffer = column.Buffers[b];
4196
long maxRange =
ReadOnlyDataFrameBuffer
<short>.MaxCapacity;
4236
var
buffer = column.Buffers[b];
4260
long maxRange =
ReadOnlyDataFrameBuffer
<short>.MaxCapacity;
4300
var
buffer = column.Buffers[b];
4324
long maxRange =
ReadOnlyDataFrameBuffer
<short>.MaxCapacity;
4364
var
buffer = column.Buffers[b];
4388
long maxRange =
ReadOnlyDataFrameBuffer
<short>.MaxCapacity;
4429
var
buffer = column.Buffers[b];
4451
long maxRange =
ReadOnlyDataFrameBuffer
<short>.MaxCapacity;
4477
var
buffer = column.Buffers[b];
4499
long maxRange =
ReadOnlyDataFrameBuffer
<short>.MaxCapacity;
4524
var
buffer = column.Buffers[b];
4543
long maxRange =
ReadOnlyDataFrameBuffer
<short>.MaxCapacity;
4569
var
buffer = column.Buffers[b];
4591
long maxRange =
ReadOnlyDataFrameBuffer
<short>.MaxCapacity;
4615
var
buffer = column.Buffers[b];
4633
var
buffer = column.Buffers[b];
4659
var
buffer = column.Buffers[b];
4683
long maxRange =
ReadOnlyDataFrameBuffer
<uint>.MaxCapacity;
4723
var
buffer = column.Buffers[b];
4747
long maxRange =
ReadOnlyDataFrameBuffer
<uint>.MaxCapacity;
4787
var
buffer = column.Buffers[b];
4811
long maxRange =
ReadOnlyDataFrameBuffer
<uint>.MaxCapacity;
4851
var
buffer = column.Buffers[b];
4875
long maxRange =
ReadOnlyDataFrameBuffer
<uint>.MaxCapacity;
4916
var
buffer = column.Buffers[b];
4938
long maxRange =
ReadOnlyDataFrameBuffer
<uint>.MaxCapacity;
4964
var
buffer = column.Buffers[b];
4986
long maxRange =
ReadOnlyDataFrameBuffer
<uint>.MaxCapacity;
5011
var
buffer = column.Buffers[b];
5030
long maxRange =
ReadOnlyDataFrameBuffer
<uint>.MaxCapacity;
5056
var
buffer = column.Buffers[b];
5078
long maxRange =
ReadOnlyDataFrameBuffer
<uint>.MaxCapacity;
5102
var
buffer = column.Buffers[b];
5120
var
buffer = column.Buffers[b];
5146
var
buffer = column.Buffers[b];
5170
long maxRange =
ReadOnlyDataFrameBuffer
<ulong>.MaxCapacity;
5210
var
buffer = column.Buffers[b];
5234
long maxRange =
ReadOnlyDataFrameBuffer
<ulong>.MaxCapacity;
5274
var
buffer = column.Buffers[b];
5298
long maxRange =
ReadOnlyDataFrameBuffer
<ulong>.MaxCapacity;
5338
var
buffer = column.Buffers[b];
5362
long maxRange =
ReadOnlyDataFrameBuffer
<ulong>.MaxCapacity;
5403
var
buffer = column.Buffers[b];
5425
long maxRange =
ReadOnlyDataFrameBuffer
<ulong>.MaxCapacity;
5451
var
buffer = column.Buffers[b];
5473
long maxRange =
ReadOnlyDataFrameBuffer
<ulong>.MaxCapacity;
5498
var
buffer = column.Buffers[b];
5517
long maxRange =
ReadOnlyDataFrameBuffer
<ulong>.MaxCapacity;
5543
var
buffer = column.Buffers[b];
5565
long maxRange =
ReadOnlyDataFrameBuffer
<ulong>.MaxCapacity;
5589
var
buffer = column.Buffers[b];
5607
var
buffer = column.Buffers[b];
5633
var
buffer = column.Buffers[b];
5657
long maxRange =
ReadOnlyDataFrameBuffer
<ushort>.MaxCapacity;
5697
var
buffer = column.Buffers[b];
5721
long maxRange =
ReadOnlyDataFrameBuffer
<ushort>.MaxCapacity;
5761
var
buffer = column.Buffers[b];
5785
long maxRange =
ReadOnlyDataFrameBuffer
<ushort>.MaxCapacity;
5825
var
buffer = column.Buffers[b];
5849
long maxRange =
ReadOnlyDataFrameBuffer
<ushort>.MaxCapacity;
5890
var
buffer = column.Buffers[b];
5912
long maxRange =
ReadOnlyDataFrameBuffer
<ushort>.MaxCapacity;
5938
var
buffer = column.Buffers[b];
5960
long maxRange =
ReadOnlyDataFrameBuffer
<ushort>.MaxCapacity;
5985
var
buffer = column.Buffers[b];
6004
long maxRange =
ReadOnlyDataFrameBuffer
<ushort>.MaxCapacity;
6030
var
buffer = column.Buffers[b];
6052
long maxRange =
ReadOnlyDataFrameBuffer
<ushort>.MaxCapacity;
6076
var
buffer = column.Buffers[b];