You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Roaring.Net/CRoaring/FrozenRoaring64Bitmap.cs
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -329,6 +329,24 @@ public bool ContainsBulk(BulkContext64 context, ulong value)
329
329
/// <exception cref="InvalidOperationException">Thrown when unable to allocate bitmap.</exception>
330
330
publicRoaring64BitmapToBitmap()=>_bitmap.Clone();
331
331
332
+
/// <summary>
333
+
/// Converts <see cref="FrozenRoaring64Bitmap"/> to the <see cref="Roaring64Bitmap"/> and adds an offset.
334
+
/// </summary>
335
+
/// <param name="offset">The offset to be added to the bitmap when converting.</param>
336
+
/// <returns>An instance of the <see cref="Roaring64Bitmap"/> class with values shifted relative to the current bitmap by the specified offset.</returns>
337
+
/// <exception cref="InvalidOperationException">Thrown when unable to allocate bitmap.</exception>
338
+
/// <remarks>Values that overflow are dropped.</remarks>
/// Converts <see cref="FrozenRoaring64Bitmap"/> to the <see cref="Roaring64Bitmap"/> and subtracts an offset.
343
+
/// </summary>
344
+
/// <param name="offset">The offset to be subtracted from the bitmap when converting.</param>
345
+
/// <returns>An instance of the <see cref="Roaring64Bitmap"/> class with values shifted relative to the current bitmap by the specified offset.</returns>
346
+
/// <exception cref="InvalidOperationException">Thrown when unable to allocate bitmap.</exception>
347
+
/// <remarks>Values that underflow are dropped.</remarks>
/// <param name="offset">The position in the bitmap from which to start copying data.</param>
182
-
/// <returns>Instance of the <see cref="Roaring32Bitmap"/> class with the same values as the current bitmap from the given offset.</returns>
181
+
/// <param name="offset">The offset to be added to the bitmap when copying data.</param>
182
+
/// <returns>An instance of the <see cref="Roaring32Bitmap"/> class with values shifted relative to the current bitmap by the specified offset.</returns>
183
183
/// <exception cref="InvalidOperationException">Thrown when unable to allocate bitmap.</exception>
184
+
/// <remarks>Values that overflow or underflow are dropped.</remarks>
/// <param name="offset">The offset to be added to the bitmap when copying data.</param>
177
+
/// <returns>An instance of the <see cref="Roaring64Bitmap"/> class with values shifted relative to the current bitmap by the specified offset.</returns>
178
+
/// <exception cref="InvalidOperationException">Thrown when unable to allocate bitmap.</exception>
179
+
/// <remarks>Values that overflow are dropped.</remarks>
/// <param name="offset">The offset to be subtracted from the bitmap when copying data.</param>
187
+
/// <returns>An instance of the <see cref="Roaring64Bitmap"/> class with values shifted relative to the current bitmap by the specified offset.</returns>
188
+
/// <exception cref="InvalidOperationException">Thrown when unable to allocate bitmap.</exception>
189
+
/// <remarks>Values that underflow are dropped.</remarks>
0 commit comments