|
mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
|
Hard bounds applied while validating model packages. More...
#include <modelvalidator.h>
Public Attributes | |
| qint64 | maxManifestBytes = 64LL * 1024LL |
Maximum accepted model.json size in bytes. | |
| qint64 | maxAssetCount = 16 |
| Maximum number of asset entries allowed in one manifest. | |
| qint64 | maxPackageBytes = 8LL * 1024 * 1024 * 1024 |
| Maximum total package size in bytes. | |
| qint64 | maxWeightsBytes = 8LL * 1024 * 1024 * 1024 |
| Maximum weights asset size in bytes. | |
Hard bounds applied while validating model packages.
Definition at line 16 of file modelvalidator.h.
| qint64 ModelValidationLimits::maxAssetCount = 16 |
Maximum number of asset entries allowed in one manifest.
Definition at line 20 of file modelvalidator.h.
| qint64 ModelValidationLimits::maxManifestBytes = 64LL * 1024LL |
Maximum accepted model.json size in bytes.
Definition at line 18 of file modelvalidator.h.
| qint64 ModelValidationLimits::maxPackageBytes = 8LL * 1024 * 1024 * 1024 |
Maximum total package size in bytes.
Definition at line 22 of file modelvalidator.h.
| qint64 ModelValidationLimits::maxWeightsBytes = 8LL * 1024 * 1024 * 1024 |
Maximum weights asset size in bytes.
Definition at line 24 of file modelvalidator.h.