One Hat Cyber Team
Your IP :
216.73.216.36
Server IP :
162.240.179.46
Server :
Linux vps-14493116.nutrivittasaude.com.br 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
include
/
OpenEXR
/
View File Name :
ImfCheckFile.h
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) Contributors to the OpenEXR Project. #ifndef INCLUDED_IMF_CHECKFILE_H #define INCLUDED_IMF_CHECKFILE_H #include "ImfUtilExport.h" #include "ImfNamespace.h" #include <cstddef> OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER // // attempt to read the given file as an OpenEXR, using various OpenEXR read paths. // This can be used to validate correctness of the library, when running the library // with a sanitizer or memory checker, as well as checking that a file is a correct OpenEXR // // returns true if the file reads correctly using expected API calls, or false // if an exception was thrown that indicates the file is invalid // // if reduceMemory is true, will avoid tests or inputs that are known to // take large amounts of memory. This may hide errors within the file or library. // // if reduceTime is true and an error is found within the file, then future tests are reduced for speed. // This may hide errors within the library. // // IMFUTIL_EXPORT bool checkOpenEXRFile(const char* fileName, bool reduceMemory = false, bool reduceTime = false ); // // overloaded version of checkOpenEXRFile that takes a pointer to in-memory data // IMFUTIL_EXPORT bool checkOpenEXRFile(const char* data, size_t numBytes, bool reduceMemory = false, bool reduceTime = false ); OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT #endif