1:45 PM 11/12/2025 ���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC ‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!
Warning: Undefined variable $authorization in C:\xampp\htdocs\demo\fi.php on line 57

Warning: Undefined variable $translation in C:\xampp\htdocs\demo\fi.php on line 118

Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\demo\fi.php on line 119

Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\xampp\htdocs\demo\fi.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 247

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 252
//---------------------------------------------------------------------------- /// @file file_vector.hpp /// @brief This file contains functions for to work with random data and files /// Have functions for to create a vector with random data, and /// functions for lo load a vector of numbers or strings from the file /// /// @author Copyright (c) 2015 Francisco José Tapia (fjtapia@gmail.com )\n /// Distributed under the Boost Software License, Version 1.0.\n /// ( See accompanyingfile LICENSE_1_0.txt or copy at /// http://www.boost.org/LICENSE_1_0.txt ) /// @version 0.1 /// /// @remarks //----------------------------------------------------------------------------- #ifndef __BOOST_SORT_COMMON_FILE_VECTOR_HPP #define __BOOST_SORT_COMMON_FILE_VECTOR_HPP #include #include #include #include #include #include #include #include #include #include namespace boost { namespace sort { namespace common { // //----------------------------------------------------------------------------- // function : generate_file /// @brief Generate a binary file filed with random numbers of 64 bits /// @param [in] filename : name of the file /// @param [in] NElem : number of 64 bits numbers to insert in the file /// @exception /// @return /// @remarks //----------------------------------------------------------------------------- inline int generate_file(const std::string & filename, size_t NElem) { //------------------------------- begin ---------------------------------- std::ofstream ofile; ofile.open(filename, std::ios_base::out | std::ios_base::binary | std::ios_base::trunc); if (ofile.bad()) { throw std::ios_base::failure("could not open file \n"); }; std::mt19937_64 my_rand(0); for (size_t i = 0; i < NElem; ++i) { uint64_t Aux = my_rand(); ofile.write((char *) &Aux, 8); } ofile.close(); return 0; }; // //----------------------------------------------------------------------------- // function : fill_vector_uint64 /// @brief : fill a vector of uint64_t elements from a file /// @param [in] filename : name of the file /// @param [in] V : vector to fill /// @param [in] NElem : number of elements for to read from the file /// @exception /// @return /// @remarks //----------------------------------------------------------------------------- inline int fill_vector_uint64(const std::string & filename, std::vector & V, size_t NElem) { //----------------------- begin ------------------------------------------ std::ifstream input(filename, std::ios_base::in | std::ios_base::binary); if (input.fail()) { throw std::ios_base::failure("could not open file \n"); }; //------------------------------------------------------------------------ // Calculate the lenght of the file and the number of elements inside //------------------------------------------------------------------------ input.seekg(0, std::ios_base::end); size_t length = input.tellg(); size_t uCount = length / 8; if (uCount < NElem) { throw std::ios_base::failure("incorrect length of the file\n"); }; V.clear(); V.reserve(NElem); uint64_t Aux = 0; input.seekg(0, std::ios_base::beg); for (size_t i = 0; i < NElem; ++i) { input.read(reinterpret_cast(&Aux), 8); V.push_back(Aux); }; input.close(); return 0; }; // //----------------------------------------------------------------------------- // function :write_file_uint64 /// @brief Write a file with the contnt of a vector of Uint64_t elements /// @param [in] V : vector from read the numbersl /// @param [in] filename : name of the file /// @exception /// @return /// @remarks //----------------------------------------------------------------------------- inline int write_file_uint64 (const std::vector & V, const std::string & filename) { //--------------------------------- begin -------------------------------- std::ofstream ofile; ofile.open(filename, std::ios_base::out | std::ios_base::binary | std::ios_base::trunc); if (ofile.bad()) { throw std::ios_base::failure("could not open file \n"); }; for (size_t i = 0; i < V.size(); ++i) { ofile.write((char *) &(V[i]), 8); } ofile.close(); return 0; }; // //----------------------------------------------------------------------------- // function : fill_vector_string /// @brief fill a vector of strings from a file /// @param [in] filename : name of the file from read the strings /// @param [in] V : vector where store the strings /// @param [in] NElem : Number of strings for to read from the file /// @exception /// @return /// @remarks //----------------------------------------------------------------------------- inline int fill_vector_string (const std::string & filename, std::vector & V, size_t NElem) { //----------------------- begin ------------------------------------------ std::ifstream input(filename, std::ios_base::in | std::ios_base::binary); if (input.fail()) { throw std::ios_base::failure("could not open file \n"); }; //------------------------------------------------------------------------ // Calculate the lenght of the file and the number of elements inside //------------------------------------------------------------------------ input.seekg(0, std::ios_base::end); V.clear(); V.reserve(NElem); std::string inval; input.seekg(0, std::ios_base::beg); for (size_t i = 0; i < NElem; ++i) { if (!input.eof()) { input >> inval; V.push_back(inval); inval.clear(); } else { throw std::ios_base::failure("Insuficient lenght of the file\n"); }; }; input.close(); return 0; }; // //----------------------------------------------------------------------------- // function :write_file_string /// @brief : write a file with the strings of a vector /// @param [in] V : vector from read the sttrings /// @param [in] filename : file where store the strings /// @exception /// @return /// @remarks //----------------------------------------------------------------------------- inline int write_file_string (const std::vector & V, const std::string & filename) { //--------------------------------- begin -------------------------------- std::ofstream ofile; ofile.open(filename, std::ios_base::out | std::ios_base::binary | std::ios_base::trunc); if (ofile.bad()) { throw std::ios_base::failure("could not open file \n"); }; for (size_t i = 0; i < V.size(); ++i) { ofile.write((char *) &(V[i][0]), V[i].size()); ofile.put(0x0); } ofile.close(); return 0; }; //--------------------------------------------------------------------------- /// @struct uint64_file_generator /// @brief This struct is a number generator from a file, with several options /// for to limit the numbers between 0 and Max_Val /// @remarks //--------------------------------------------------------------------------- struct uint64_file_generator { //---------------------------------------------------------------------- // VARIABLES //---------------------------------------------------------------------- std::ifstream input; size_t NMax, Pos; size_t Max_Val; std::string s; //---------------------------------------------------------------------- // FUNCTIONS //---------------------------------------------------------------------- uint64_file_generator(const std::string & filename) { //---------------------------- begin --------------------------------- s = filename; input.open(filename, std::ios_base::in | std::ios_base::binary); if (input.fail() || input.bad()) { throw std::ios_base::failure("could not open file \n"); }; //-------------------------------------------------------------------- // Calculate the lenght of the file and the number of elements inside //-------------------------------------------------------------------- input.seekg(0, std::ios_base::end); size_t length = input.tellg(); NMax = length / 8; Pos = 0; Max_Val = ~((size_t) 0); input.seekg(0); }; void set_max_val(size_t MV){ Max_Val = MV; }; size_t size() const { return NMax; }; uint64_t get(void) { uint64_t Aux; input.read(reinterpret_cast(&Aux), 8); return (Aux % Max_Val); }; uint64_t operator ( )(){ return get(); }; void reset(void) { input.seekg(0, std::ios_base::beg); }; ~uint64_file_generator() { if (input.is_open()) input.close(); }; }; // //**************************************************************************** };// end namespace benchmark };// end namespace sort };// end namespace boost //**************************************************************************** // #endif