ftwin 0.8.10
Core Constants

Fundamental constants used throughout the application. More...

Variables

static const size_t KIBIBYTE = 1024
 The number of bytes in one kibibyte (1024).
 
static const double MICROSECONDS_PER_SECOND = 1000000.0
 The number of microseconds in one second.
 
static const size_t MAX_PATH_BUFFER = 4096
 The maximum length for a file path buffer.
 
static const size_t CHAR_MAX_VAL = 256
 The maximum value of a character, often used as a buffer size.
 
static const size_t DEFAULT_SMALL_BUFFER_SIZE = 16
 The default buffer size for small operations.
 
static const size_t DEFAULT_IO_BUFFER_SIZE = 8192
 The default buffer size for I/O operations.
 
static const int DECIMAL_BASE = 10
 The base for string-to-integer conversions.
 
static const int BENCHMARK_ITERATIONS = 20
 A common loop count for benchmark iterations.
 
static const int STRESS_TEST_ITERATIONS = 100
 A larger loop count for stress tests.
 
static const int PARALLEL_TIMEOUT_SECONDS = 30
 A timeout value in seconds for parallel operations.
 
static const int TEST_FILE_SIZE_SMALL = 5120
 A sample file size for testing purposes.
 
static const int TEST_FILE_SIZE_LARGE = 50000
 A larger sample file size for testing.
 
static const int TEST_CHUNK_SIZE = 10
 A sample chunk size for file operations in tests.
 

Detailed Description

Fundamental constants used throughout the application.

This includes buffer sizes, conversion factors, and other static values that are shared across different modules.