Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P parabix-devel
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cameron
  • parabix-devel
  • Wiki
  • CSVediting

CSVediting · Changes

Page history
Update CSVediting authored Feb 22, 2023 by cameron's avatar cameron
Hide whitespace changes
Inline Side-by-side
Showing with 4 additions and 4 deletions
+4 -4
  • CSVediting.md CSVediting.md +4 -4
  • No files found.
CSVediting.md
View page @ 0bddb09a
......@@ -124,19 +124,19 @@ LineStarts can then be identified as the positions immediately after a line brea
or at the beginning of the file. These are computed by the `LineStartsKernel`.
```
StreamSet * LineStarts = E->CreateStreamSet(1, 1);
StreamSet * LineStarts = P->CreateStreamSet(1, 1);
P->CreateKernelCall<LineStartsKernel>(mLineBreakStream, LineStarts);
```
The starts of the matched lines are now computed by a ```SpreadByMask```.
```
StreamSet * MatchedLineStarts = E->CreateStreamSet(1, 1);
SpreadByMask(E, LineStarts, MatchesByLine, MatchedLineStarts);
StreamSet * MatchedLineStarts = P->CreateStreamSet(1, 1);
SpreadByMask(P, LineStarts, MatchesByLine, MatchedLineStarts);
```
Now a mask for an entire matched row can be computed, using the LineSpansKernel.
```
StreamSet * MatchedLineSpans = E->CreateStreamSet(1, 1);
StreamSet * MatchedLineSpans = P->CreateStreamSet(1, 1);
P->CreateKernelCall<LineSpansKernel>(MatchedLineStarts, MatchedLineEnds, MatchedLineSpans);
```
......
Clone repository
  • Bracket Matching
  • CSV Validation
  • CSVediting
  • CSVparsing
  • Character Code Compilers
  • KernelLibrary
  • Pablo
  • ParabixTransform
  • Parallel Deletion
  • Parallel Hashing
  • Performance Testing Script
  • Shuffle Pattern Library
  • StaticCCC
  • String Insertion
  • UCD: Unicode Property Database and Compilers
View All Pages