Documentation
- Home /
- Documentation
deadend_test_driver
deadend_test_driver Description Run an array of deadend test functions (all expecting failure).
Read Morerun_test_suite
run_test_suite Description Main test driver that handles both normal and deadend tests.
Read MoreScope
Scope Description Run a scoped block and automatically deinitialize the object at the end. Executes scope_body and ensures obj_deinit(obj) is called afterward, regardless of the block’s control flow. This is similar to RAII-style resource management in C++ but implemented manually via a macro. The object is passed by pointer. It is not copied or moved. This macro ensures the object is only evaluated once by capturing it internally using TYPE_OF. The memory pointed to by obj is not cleared after deinitialization; if zeroing is needed, do it inside obj_deinit. Parameters:
Read Moretest_deadend
test_deadend Description Run a specific test function using setjmp/longjmp to capture aborts. This is used for deadend tests that are expected to call LOG_FATAL.
Read MoreValidateBitVec
ValidateBitVec Description Validate whether a given BitVec object is valid. Not foolproof but will work most of the time. Aborts if provided BitVec is not valid.
Read MoreValidateVec
ValidateVec Description Validate whether a given Vec object is valid. Not foolproof but will work most of the time. Aborts if provided Vec is not valid.
Read MoreVecAlignedOffsetAt
VecAlignedOffsetAt Description Vector implementation already manages alignment for stored objects. It makes sure that objects of improper size are stored at alignment of 8 bytes each to avoid UB.
Read MoreCategories
Tags
- 16-Bit
- 32-Bit
- 64-Bit
- Access
- Aligned
- Alignment
- All
- Allocation
- Analysis
- And
- Any
- Append
- Approximate
- Array
- ASCII
- Bioinformatics
- BitVec
- Bitwise
- Boolean
- Byte
- Bytes
- Callback
- Capacity
- Case
- Character
- Check
- Circular
- Cleanup
- Clear
- Clone
- Compare
- Comparison
- Container
- ContainsAt
- Control
- Convenience
- Conversion
- Convert
- Copy
- Correlation
- Cosine
- Count
- CString
- Deadend
- Deallocation
- DeepCopy
- DeepDeinit
- Deinit
- Detection
- Directory
- Disjoint
- Distance
- DotProduct
- Driver
- EditDistance
- Efficient
- Empty
- Endianness
- EndsWith
- Entropy
- Equal
- Equals
- Error
- EscapeSequences
- Export
- Fatal
- File
- FileSystem
- Find
- FindAll
- FindLast
- First
- Flip
- Float
- Format
- Formatting
- Function
- Fuzzy
- Generic
- Get
- Hamming
- Helper
- Hexadecimal
- I/O
- Import
- Info
- Information
- Init
- Initialization
- Insert
- Integer
- Intersection
- Iter
- Iterator
- Jaccard
- JSON
- KeyValue
- Last
- Left
- Length
- Lexicographic
- Logging
- LongestRun
- LowLevel
- Macro
- Match
- Math
- Max
- Memory
- Metadata
- Min
- Modify
- Multiple
- Native
- Nested
- None
- Not
- NullValue
- Number
- Numeric
- Numerical
- Object
- Ones
- Operation
- Optimize
- Or
- Order
- Overlap
- Overlaps
- Parsing
- Pattern
- Peek
- Platform
- Pointer
- Pop
- Population
- Pos
- Position
- PowerOfTwo
- Predicate
- Prefix
- Printable
- Process
- Push
- Query
- Range
- Read
- Reader
- Regex
- Remove
- Replace
- ReplaceAll
- Reserve
- Reset
- Resize
- Reverse
- RFind
- Right
- Rotate
- RunLength
- Safety
- Search
- Sequence
- Set
- Shift
- Shrink
- Signed
- Similarity
- Simple
- Single
- Size
- Sorted
- Stack
- StartsWith
- Statistics
- Status
- Stdin
- Stdout
- Str
- Strict
- String
- StrIter
- Structure
- Subset
- Suffix
- Suite
- Superset
- Swap
- Synchronization
- System
- Test
- Testing
- Threading
- Toggle
- Transform
- TypeConversion
- TypeSafety
- Utility
- Validation
- Value
- Vec
- Vector
- Weight
- Whitespace
- Wildcard
- Wrapper
- Writer
- Xor
- Zeros