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
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, // software distributed under the License is distributed on an // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. #pragma once #include #include #include #include #include #include #include "arrow/util/macros.h" #include "gandiva/annotator.h" #include "gandiva/compiled_expr.h" #include "gandiva/configuration.h" #include "gandiva/dex_visitor.h" #include "gandiva/engine.h" #include "gandiva/execution_context.h" #include "gandiva/expr_decomposer.h" #include "gandiva/expression_cache_key.h" #include "gandiva/function_registry.h" #include "gandiva/gandiva_aliases.h" #include "gandiva/llvm_types.h" #include "gandiva/lvalue.h" #include "gandiva/selection_vector.h" #include "gandiva/value_validity_pair.h" #include "gandiva/visibility.h" namespace gandiva { class FunctionHolder; /// Builds an LLVM module and generates code for the specified set of expressions. class GANDIVA_EXPORT LLVMGenerator { public: /// \brief Factory method to initialize the generator. static Result> Make( const std::shared_ptr& config, bool cached, std::optional> object_cache = std::nullopt); /// \brief Get the cache to be used for LLVM ObjectCache. static std::shared_ptr>> GetCache(); /// \brief Set LLVM ObjectCache. Status SetLLVMObjectCache(GandivaObjectCache& object_cache); /// \brief Build the code for the expression trees for default mode with a LLVM /// ObjectCache. Each element in the vector represents an expression tree Status Build(const ExpressionVector& exprs, SelectionVector::Mode mode); /// \brief Build the code for the expression trees for default mode. Each /// element in the vector represents an expression tree Status Build(const ExpressionVector& exprs); /// \brief Execute the built expression against the provided arguments for /// default mode. Status Execute(const arrow::RecordBatch& record_batch, const ArrayDataVector& output_vector) const; /// \brief Execute the built expression against the provided arguments for /// all modes. Only works on the records specified in the selection_vector. Status Execute(const arrow::RecordBatch& record_batch, const SelectionVector* selection_vector, const ArrayDataVector& output_vector) const; SelectionVector::Mode selection_vector_mode() { return selection_vector_mode_; } LLVMTypes* types() { return engine_->types(); } llvm::Module* module() { return engine_->module(); } const std::string& ir() { return engine_->ir(); } private: explicit LLVMGenerator(bool cached, std::shared_ptr function_registry); FRIEND_TEST(TestLLVMGenerator, VerifyPCFunctions); FRIEND_TEST(TestLLVMGenerator, TestAdd); FRIEND_TEST(TestLLVMGenerator, TestNullInternal); friend class TestLLVMGenerator; llvm::LLVMContext* context() { return engine_->context(); } llvm::IRBuilder<>* ir_builder() { return engine_->ir_builder(); } llvm::Constant* CreateGlobalStringPtr(const std::string& string) { return engine_->CreateGlobalStringPtr(string); } /// Visitor to generate the code for a decomposed expression. class Visitor : public DexVisitor { public: Visitor(LLVMGenerator* generator, llvm::Function* function, llvm::BasicBlock* entry_block, llvm::Value* arg_addrs, llvm::Value* arg_local_bitmaps, llvm::Value* arg_holder_ptrs, std::vector slice_offsets, llvm::Value* arg_context_ptr, llvm::Value* loop_var); void Visit(const VectorReadValidityDex& dex) override; void Visit(const VectorReadFixedLenValueDex& dex) override; void Visit(const VectorReadVarLenValueDex& dex) override; void Visit(const LocalBitMapValidityDex& dex) override; void Visit(const TrueDex& dex) override; void Visit(const FalseDex& dex) override; void Visit(const LiteralDex& dex) override; void Visit(const NonNullableFuncDex& dex) override; void Visit(const NullableNeverFuncDex& dex) override; void Visit(const NullableInternalFuncDex& dex) override; void Visit(const IfDex& dex) override; void Visit(const BooleanAndDex& dex) override; void Visit(const BooleanOrDex& dex) override; void Visit(const InExprDexBase& dex) override; void Visit(const InExprDexBase& dex) override; void Visit(const InExprDexBase& dex) override; void Visit(const InExprDexBase& dex) override; void Visit(const InExprDexBase& dex) override; void Visit(const InExprDexBase& dex) override; template void VisitInExpression(const InExprDexBase& dex); LValuePtr result() { return result_; } bool has_arena_allocs() { return has_arena_allocs_; } private: enum BufferType { kBufferTypeValidity = 0, kBufferTypeData, kBufferTypeOffsets }; llvm::IRBuilder<>* ir_builder() { return generator_->ir_builder(); } llvm::Module* module() { return generator_->module(); } llvm::Constant* CreateGlobalStringPtr(const std::string& string) { return generator_->CreateGlobalStringPtr(string); } // Generate the code to build the combined validity (bitwise and) from the // vector of validities. llvm::Value* BuildCombinedValidity(const DexVector& validities); // Generate the code to build the validity and the value for the given pair. LValuePtr BuildValueAndValidity(const ValueValidityPair& pair); // Generate code to build the params. std::vector BuildParams(int holder_idx, const ValueValidityPairVector& args, bool with_validity, bool with_context); // Generate code to invoke a function call. LValuePtr BuildFunctionCall(const NativeFunction* func, DataTypePtr arrow_return_type, std::vector* params); // Generate code for an if-else condition. LValuePtr BuildIfElse(llvm::Value* condition, std::function then_func, std::function else_func, DataTypePtr arrow_return_type); // Switch to the entry_block and get reference of the validity/value/offsets buffer llvm::Value* GetBufferReference(int idx, BufferType buffer_type, FieldPtr field); // Get the slice offset of the validity/value/offsets buffer llvm::Value* GetSliceOffset(int idx); // Switch to the entry_block and get reference to the local bitmap. llvm::Value* GetLocalBitMapReference(int idx); // Clear the bit in the local bitmap, if is_valid is 'false' void ClearLocalBitMapIfNotValid(int local_bitmap_idx, llvm::Value* is_valid); LLVMGenerator* generator_; LValuePtr result_; llvm::Function* function_; llvm::BasicBlock* entry_block_; llvm::Value* arg_addrs_; llvm::Value* arg_local_bitmaps_; llvm::Value* arg_holder_ptrs_; std::vector slice_offsets_; llvm::Value* arg_context_ptr_; llvm::Value* loop_var_; bool has_arena_allocs_; }; // Generate the code for one expression for default mode, with the output of // the expression going to 'output'. Status Add(const ExpressionPtr expr, const FieldDescriptorPtr output); /// Generate code to load the vector at specified index in the 'arg_addrs' array. llvm::Value* LoadVectorAtIndex(llvm::Value* arg_addrs, llvm::Type* type, int idx, const std::string& name); /// Generate code to load the vector at specified index and cast it as bitmap. llvm::Value* GetValidityReference(llvm::Value* arg_addrs, int idx, FieldPtr field); /// Generate code to load the vector at specified index and cast it as data array. llvm::Value* GetDataReference(llvm::Value* arg_addrs, int idx, FieldPtr field); /// Generate code to load the vector at specified index and cast it as offsets array. llvm::Value* GetOffsetsReference(llvm::Value* arg_addrs, int idx, FieldPtr field); /// Generate code to load the vector at specified index and cast it as buffer pointer. llvm::Value* GetDataBufferPtrReference(llvm::Value* arg_addrs, int idx, FieldPtr field); /// Generate code for the value array of one expression. Status CodeGenExprValue(DexPtr value_expr, int num_buffers, FieldDescriptorPtr output, int suffix_idx, std::string& fn_name, SelectionVector::Mode selection_vector_mode); /// Generate code to load the local bitmap specified index and cast it as bitmap. llvm::Value* GetLocalBitMapReference(llvm::Value* arg_bitmaps, int idx); /// Generate code to get the bit value at 'position' in the bitmap. llvm::Value* GetPackedBitValue(llvm::Value* bitmap, llvm::Value* position); /// Generate code to get the bit value at 'position' in the validity bitmap. llvm::Value* GetPackedValidityBitValue(llvm::Value* bitmap, llvm::Value* position); /// Generate code to set the bit value at 'position' in the bitmap to 'value'. void SetPackedBitValue(llvm::Value* bitmap, llvm::Value* position, llvm::Value* value); /// Generate code to clear the bit value at 'position' in the bitmap if 'value' /// is false. void ClearPackedBitValueIfFalse(llvm::Value* bitmap, llvm::Value* position, llvm::Value* value); // Generate code to build a DecimalLValue with specified value/precision/scale. std::shared_ptr BuildDecimalLValue(llvm::Value* value, DataTypePtr arrow_type); /// Generate code to make a function call (to a pre-compiled IR function) which takes /// 'args' and has a return type 'ret_type'. llvm::Value* AddFunctionCall(const std::string& full_name, llvm::Type* ret_type, const std::vector& args); /// Compute the result bitmap for the expression. /// /// \param[in] compiled_expr the compiled expression (includes the bitmap indices to be /// used for computing the validity bitmap of the result). /// \param[in] selection_vector the list of selected positions /// \param[in,out] eval_batch (includes input/output buffer addresses) void ComputeBitMapsForExpr(const CompiledExpr& compiled_expr, const SelectionVector* selection_vector, EvalBatch* eval_batch) const; /// Replace the %T in the trace msg with the correct type corresponding to 'type' /// eg. %d for int32, %ld for int64, .. std::string ReplaceFormatInTrace(const std::string& msg, llvm::Value* value, std::string* print_fn); /// Generate the code to print a trace msg with one optional argument (%T) void AddTrace(const std::string& msg, llvm::Value* value = NULLPTR); std::unique_ptr engine_; std::vector> compiled_exprs_; bool cached_; std::shared_ptr function_registry_; Annotator annotator_; SelectionVector::Mode selection_vector_mode_; // used for debug bool enable_ir_traces_; std::vector trace_strings_; }; } // namespace gandiva