This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <type_traits> | |
#include <utility> | |
#include <cstdint> | |
namespace ark { | |
template <class> | |
class callback; | |
template <class R, class... Args> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim9script | |
def AsMatcher(str: string): list<string> | |
return reverse(split(str, '\zs')) | |
enddef | |
def GetLineBeforeCur(): string | |
if col('.') <= 1 | |
return '' | |
endif |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==381075==ERROR: AddressSanitizer: attempting double-free on 0x602000000010 in thread T0: | |
#0 0x7eff5b0859d7 in operator delete(void*, unsigned long) (/lib64/libasan.so.6+0xad9d7) | |
#1 0x41d544 in std::default_delete<X>::operator()(X*) const /usr/include/c++/10/bits/unique_ptr.h:85 | |
#2 0x41a9c5 in std::unique_ptr<X, std::default_delete<X> >::~unique_ptr() /usr/include/c++/10/bits/unique_ptr.h:361 | |
#3 0x40504f in ~<lambda> b.cpp:22 | |
#4 0x40869b in boost::asio::awaitable<void, boost::asio::any_io_executor> boost::asio::detail::co_spawn_entry_point<boost::asio::any_io_executor, run()::{lambda()#1}, boost::asio::detail::awaitable_handler<boost::asio::any_io_executor, std::__exception_ptr::exception_ptr> >(boost::asio::any_io_executor*, boost::asio::awaitable, run()::{lambda()#1}, boost::asio::detail::awaitable_handler<boost::asio::any_io_executor, std::__exception_ptr::exception_ptr>) [clone .actor] asio/include/boost/asio/impl/co_spawn.hpp:142 | |
#5 0x408b15 in boost::asio::awaitable<void, boost:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <atomic> | |
#include <array> | |
#include <cstddef> | |
class cbs_8 | |
{ | |
private: | |
std::atomic<uint8_t> data_; | |
bool load(size_t idx) const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <memory> | |
template <unsigned int Times> struct __attribute__((__packed__)) bracks | |
{ | |
char a = '{'; | |
char b = '}'; | |
bracks<Times - 1> next; | |
constexpr const char* get() const noexcept |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sys/uio.h> | |
#include <sys/eventfd.h> | |
#include <unistd.h> | |
#include <liburing.h> | |
#include <iostream> | |
void exit_perror(const char *s) | |
{ | |
perror(s); | |
std::terminate(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sstream> | |
#include <boost/utility/string_view.hpp> | |
#include "../../exception.hpp" | |
namespace s3::api::misc | |
{ | |
inline char digit_to_upper_hex_letter(const char ch) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" .vimrc.before.local | |
let g:spf13_bundle_groups=['general', 'writing', 'snipmate', 'programming', 'python', 'javascript', 'html', 'misc',] | |
" .vimrc.bundles.local | |
UnBundle 'nathanaelkane/vim-indent-guides' | |
Bundle 'Yggdroot/indentLine' |