-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup, small performance fixes (#75)
* Cleanup, small performance fixes --------- Co-authored-by: Michael Mileusnich <mmileusnich@gmail.com>
- Loading branch information
1 parent
378dc0f
commit b9a9bd1
Showing
12 changed files
with
159 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/snapshots/netflow_parser__tests__base_tests__it_parses_v5_incomplete.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
source: src/tests.rs | ||
expression: "NetflowParser::default().parse_bytes(&packet)" | ||
--- | ||
- Error: | ||
error: | ||
V5: Parsing requires 4 bytes/chars | ||
remaining: | ||
- 0 | ||
- 5 | ||
- 0 | ||
- 0 | ||
- 1 | ||
- 1 | ||
- 1 | ||
- 1 | ||
|
Oops, something went wrong.