Tim Wojtulewicz
351e68b66a
GH-3060: Support negative index lookups for vectors
2023-05-23 13:48:58 -07:00
Vern Paxson
99e265bf87
don't allow deprecated-style mixing of vectors and scaling for shifting
...
leverage restrictions placed on shifting (RHS is always unsigned)
split deprecated vector operations into separate test, with separate ZAM baseline
2022-07-30 18:17:22 -07:00
Vern Paxson
8d3265d540
fix vector tests, including checking for errors
2022-07-29 21:26:02 -07:00
Tim Wojtulewicz
25f88bc394
Add btest for vector bit-shift operators
2022-07-25 11:32:42 -07:00
Robin Sommer
8d19c43429
Remove tests for deprecated operators.
2021-07-14 11:23:13 +02:00
Robin Sommer
7f2769bd17
Add tests for operations on vectors of string.
2021-07-14 11:21:42 +02:00
Jon Siwek
fd5cdbbe50
Fix potential segfaults in VectorVal Insert/Remove methods
...
The existence/hole check for managed types was needed to prevent
accessing a nil-optional value.
2021-04-19 19:29:37 -07:00
Jon Siwek
819fc1aac0
Fix copy() to work with a vector that has trailing holes
...
Previously, the trailing holes would not be preserved in the copy.
2021-04-19 19:23:04 -07:00
Vern Paxson
e96b29d4d8
add vector tests for creating holes, "in" operator, "?" operator, copying vectors with holes
2021-04-14 18:19:13 -07:00
Tim Wojtulewicz
502ad9abc3
Add ability to grow/shrink a vector using slicing, also adds Insert/Remove methods for VectorVal
2019-06-17 15:34:24 -07:00
Tim Wojtulewicz
23f9fb0ae9
Allow assignment for vectors using slices
2019-06-13 15:37:31 -07:00
Tim Wojtulewicz
964e2c91a3
Check for integral slice indexes, add extra test for [:]
2019-06-13 13:40:07 -07:00
Tim Wojtulewicz
0af79a7a16
GH-393: Add slice notation for vectors
2019-06-12 14:20:37 -07:00
Robin Sommer
789cb376fd
GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev.
...
This also installs symlinks from "zeek" and "bro-config" to a wrapper
script that prints a deprecation warning.
The btests pass, but this is still WIP. broctl renaming is still
missing.
#239
2019-05-01 21:43:45 +00:00
Jon Siwek
a994be9eeb
Merge remote-tracking branch 'origin/topic/seth/zeek_init'
...
* origin/topic/seth/zeek_init:
Some more testing fixes.
Update docs and tests for bro_(init|done) -> zeek_(init|done)
Implement the zeek_init handler.
2019-04-19 11:24:29 -07:00
Jon Siwek
1e57e3f026
Use .zeek file suffix in unit tests
2019-04-16 16:08:57 -07:00