Page MenuHomePhabricator
  • In file included from /home/anna/Documents/MousePaw/repos/ratscript/ratscript-source/src/lexer.cpp:1:
    In file included from /home/anna/Documents/MousePaw/repos/ratscript/ratscript-source/include/ratscript/lexer.hpp:64:
    In file included from /home/anna/Documents/MousePaw/repos/ratscript/ratscript-source/../../nimbly/nimbly/include/nimbly/flexarray.hpp:53:
    In file included from /home/anna/Documents/MousePaw/repos/ratscript/ratscript-source/../../iosqueak/iosqueak/include/iosqueak/channel.hpp:87:
    In file included from /home/anna/Documents/MousePaw/repos/ratscript/ratscript-source/../../libdeps/libs/include/eventpp/callbacklist.h:17:
    ...
    • Mar 5 2021, 1:20 PM
    • 41 Lines
  • ```
    lang=c++
    void foo(int bar) {
    if (bar == 42) {
    std::cout << "baz" << std::endl;
    ...
    • Nov 3 2020, 10:48 AM
    • 8 Lines
    • Remarkup
  • ---
    Language: Cpp
    # https://releases.llvm.org/9.0.0/tools/clang/docs/ClangFormatStyleOptions.html
    AccessModifierOffset: -4
    ...
    • Mar 27 2020, 3:12 PM
    • 104 Lines
  • /* Convert an integer to a string
    * \param the integer to convert
    * \param the base for the conversion, default base-10
    * \param letter case to use for digits greater than 9
    * \param the notation to use for non-decimal bases.
    ...
    • Mar 27 2020, 1:11 PM
    • 114 Lines
    • C++
  • .. _colors:
    Colors
    ################################
    ...
    • Feb 29 2020, 12:27 PM
    • 38 Lines
  • /* test.hpp */
    #ifndef TEST_HPP
    #define TEST_HPP
    ...
    • Jan 23 2020, 5:28 PM
    • 33 Lines
    • C++
  • sudo add-apt-repository "deb http://apt.llvm.org/`lsb_release -sc`/ llvm-toolchain-`lsb_release -sc` main"
    Hit:1 http://ppa.launchpad.net/system76/pop/ubuntu eoan InRelease
    Get:2 http://apt.llvm.org/eoan llvm-toolchain-eoan InRelease [4,216 B]
    Hit:3 http://packages.microsoft.com/repos/vscode stable InRelease
    Err:2 http://apt.llvm.org/eoan llvm-toolchain-eoan InRelease
    ...
    • Jan 18 2020, 9:28 AM
    • 16 Lines
    • Bash Scripting
  • HPP file
    #include "pawlib/flex_array.hpp"
    #include <iostream>
    ...
    • Dec 20 2019, 10:21 AM
    • 55 Lines
  • hpp file
    #include "pawlib/flex_array.hpp"
    #include <iostream>
    ...
    • Dec 20 2019, 10:15 AM
    • 39 Lines
    • C++
  • hpp file:
    #include "pawlib/flex_array.hpp"
    #include <iostream>
    ...
    • Dec 20 2019, 10:11 AM
    • 37 Lines
    • C++
  • A-sB10: RIFT Lexer: Tests loaded.
    ===== [RIFT bytecode lexer test] =====
    Pass 1 of 1
    =================================================================
    ==24179==ERROR: AddressSanitizer: attempting double-free on 0x6020000000f0 in thread T0:
    ...
    • Dec 9 2019, 6:01 PM
    • 45 Lines
  • const unsigned int WINDOW_HEIGHT = 600;
    const unsigned int WINDOW_WIDTH = 800;
    void Demo::renderDemo()
    {
    // Window handler pointer
    ...
    • Nov 18 2019, 10:37 AM
    • 17 Lines
    • C++
  • """
    <TITLE> [<PROJECT>]
    Version: <SEMENTIC VERSION>
    <DESCRIPTION>
    ...
    • Aug 14 2018, 2:14 PM
    • 28 Lines
    • Python
  • /** <TITLE> [<PROJECT>]
    * Version: <VERSION>
    *
    * <DESCRIPTION>
    *
    ...
    • Aug 14 2018, 2:13 PM
    • 28 Lines
    • C++
  • """
    <TITLE> [<PROJECT>]
    <DESCRIPTION>
    ...
    • Aug 14 2018, 2:11 PM
    • 41 Lines
    • Python
  • /** <TITLE> [<PROJECT>]
    * Version: <VERSION>
    *
    * <DESCRIPTION>
    *
    ...
    • Aug 14 2018, 2:08 PM
    • 42 Lines
    • C++
  • void OneString::append(const char* ostr)
    {
    // Can tell how many bytes by masking the first character
    switch(ostr[index] & 0xF0)
    {
    ...
    • Mar 10 2018, 7:28 PM
    • 39 Lines
    • C++
  • {
    // CORE FEATURES //
    // Turn off data sharing
    "telemetry.enableCrashReporter": false,
    ...
    • Jan 29 2018, 7:10 PM
    • 368 Lines
    • JSON
  • https://eli.thegreenplace.net/2009/03/14/some-problems-of-recursive-descent-parsers/
    https://eli.thegreenplace.net/2012/08/02/parsing-expressions-by-precedence-climbing/
    • Dec 1 2017, 2:25 PM
    • 2 Lines
    • Plain Text
  • /* For this to work, do NOT use `using namespace std;`!! */
    /* Right now, we're using std::string for our strings. */
    typedef string std::string;
    ...
    • Nov 29 2017, 11:29 AM
    • 10 Lines
    • C++
  • # original
    def get_tries(self):
    """
    Return the number of remaining tries.
    """
    ...
    • Jul 25 2017, 3:10 PM
    • 17 Lines
    • Python
  • The following people have agreed to playtest:
    johnjohn101 (#ubuntu-offtopic): Week of 24 July 2017
    wastrel (#ubuntu-offtopic): Week of 31 July 2017
    LinStatSDR (#ubuntu-offtopic): Week of 24 July 2017
    • Jul 19 2017, 11:25 AM
    • 5 Lines
  • Save the above file to your computer.
    Follow [[content/storypack/#creating-storypacks | these instructions]].
    Subtasks provided for convenience. Please mark each subtask as completed when you have finished.
    • Jul 12 2017, 9:05 PM
    • 5 Lines
    • Remarkup
  • Software Freedom Propagation License
    Version 1.0
    Copyright <YEAR> <COPYRIGHT HOLDER>
    ...
    • Dec 31 2016, 3:44 PM
    • 20 Lines
    • Plain Text
  • <VirtualHost *:81>
    ServerAdmin webmaster@localhost
    DocumentRoot /path/to/website-git/
    <Directory /path/to/website-git>
    ...
    • Dec 8 2016, 1:21 PM
    • 15 Lines
    • Apache Configuration
  • FlexBit(const FlexBit& cpy)
    :size(cpy.size),currElements(cpy.currElements)
    {
    //...and then copy over all theArray values
    }
    • Jul 1 2016, 4:29 PM
    • 5 Lines
    • C++
  • /* Demo usage of PawLIB's Pool class.
    * Last Updated: 27 June 2016
    */
    #include <iostream>
    ...
    • Jun 16 2016, 4:33 PM
    • 86 Lines
    • C++
  • //flex_array_tests.hpp
    #ifndef FLEX_ARRAY_TEXT_HPP
    #define FLEX_ARRAY_TEXT_HPP
    ...
    • Apr 26 2016, 1:29 PM
    • 220 Lines
    • C++
  • void print(std::string msg, IOFormatVerbosity vrb, IOFormatCategory cat)
    {
    //Do nothing
    }
    ...
    • Apr 4 2016, 6:41 PM
    • 10 Lines
  • void string_test()
    {
    std::string str = "abc";
    for(int i=0; i < 1000; ++i)
    {
    ...
    • Mar 4 2016, 5:59 PM
    • 18 Lines
  • template<size_t PageSize>
    class r_mem
    {
    public:
    r_mem()
    ...
    • Dec 2 2015, 6:41 PM
    • 8 Lines
  • PawString::PawString(const char* str):pawLen(0)
    {
    // Display input string
    std::cout<< str <<std::endl;
    ...
    • Sep 30 2015, 7:08 PM
    • 55 Lines
  • void operator+=(const pawstring& lhs, const pawchar& rhs)
    {
    for(int i=0; i<4; i++)
    {
    if(rhs[i] == '\0')
    ...
    • Sep 30 2015, 6:58 PM
    • 11 Lines
  • #include <iostream>
    #include <cstdio>
    #include <string>
    ...
    • Sep 19 2015, 1:18 PM
    • 38 Lines
  • //NOT TESTED. Just a rough demonstration.
    /* TABLE FROM http://ratfactor.com/utf-8-to-unicode
    * Byte Bin Hex Dec
    * -----------------------------------------------------------------
    ...
    • Sep 16 2015, 3:33 PM
    • 149 Lines
    • C++
  • # RESOLVING CONFLICTS
    # Before we begin, let's set up Meld as our tool of choice.
    # It's graphical and very easy to use!
    # Meld is available for Windows from http://meldmerge.org/
    ...
    • May 21 2015, 7:00 PM
    • 24 Lines
    • Bash Scripting
  • ## In this lesson, we are going to cover several aspects of SVN and Arcanist.
    ## This is based around using Linux, but most of the commands also work
    ## on Windows. (I'll put a note there if they don't.)
    ## "$" is the prompt for Linux, and ">" is the prompt for Windows.
    ...
    • Apr 30 2015, 5:42 PM
    • 153 Lines
    • Bash Scripting
  • #include "HelloWindow.h"
    HelloWindow::HelloWindow()
    {
    //Let's start by setting our dimensions. Remember, we ARE the window.
    ...
    • Apr 23 2015, 5:43 PM
    • 108 Lines
    • C++
  • #ifndef GTKMM_EX1_H
    #define GTKMM_EX1_H
    #include <glib.h>
    ...
    • Apr 23 2015, 5:43 PM
    • 102 Lines
    • C++
  • /*This part gets tricky. In Code::Blocks...
    * Under Settings->Compiler->Compiler Settings-> Other Options, put
    * `pkg-config --cflags gtkmm-3.0`
    * BE SURE YOU INCLUDE THE BACKTICKS.
    * Now, on that same window, go to Linker Settings, and put this under
    ...
    • Apr 23 2015, 5:43 PM
    • 30 Lines
    • C++
  • // ADVANCED DATA STRUCTURES
    /* A word of warning: as a general rule, writing one's own objects will
    * yield better performance than using the STL. However, for this level
    * of the development process, the STL will do fine.*/
    ...
    • Apr 16 2015, 5:38 PM
    • 266 Lines
    • C++
  • /* A quick note before we begin - string concatenation with
    * a non-string value is no picnic in C++. We generally must
    * use std::cout or std::stringstream to pull it off. Thus,
    * to save time, I'm assuming the StaticLayer object
    * constructor takes a single integer argument corresponding
    ...
    • Apr 2 2015, 6:32 PM
    • 336 Lines
    • C++
  • /*The following example code would dynamically allocate a bitset as 1000,
    change it to 0101, and then delete it at the end.*/
    typedef bitset<4> testBitset;
    testBitset* tB = new testBitset("1000");
    tB->reset(3);
    ...
    • Mar 6 2015, 3:21 PM
    • 9 Lines
    • C++
  • ValueBase();
    ValueBase(const T &x, bool loop_=false, bool static_=false):
    ValueBase(const std::vector<T> &x, bool loop_=false, bool static_=false):
    ...
    • Jan 31 2015, 5:27 PM
    • 7 Lines
    • C++
  • ValueBase::ValueBase():
    type(&type_nil),data(0),ref_count(0),loop_(0),static_(0),interpolation_(INTERPOLATION_UNDEFINED)
    {
    #ifdef INITIALIZE_TYPE_BEFORE_USE
    type->initialize();
    ...
    • Jan 31 2015, 5:10 PM
    • 7 Lines
    • C++
  • //SC From Layer.h The BookEntry
    //! Type that represents a pointer to a Layer's constructor.
    /*! As a pointer to the constructor, it represents a "factory" of layers.
    */
    ...
    • Jan 31 2015, 4:21 PM
    • 77 Lines
    • C++
  • /*!
    * Overcomplicated Hello world! application
    * by andywestken
    * http://www.cplusplus.com/forum/lounge/79437/
    *
    ...
    • Jan 23 2015, 1:15 PM
    • 378 Lines
    • C++
  • Before landing, each Revision should...
    (1) Have an associated Maniphest Task.
    (2) Accomplish the feature(s) it was designed to accomplish. [In some cases, the feature itself may be dropped, and only bugfixes and/or optimizations landed instead.]
    (3) Have merged/rebased all changes from `devel` into itself, and all conflicts resolved. ($ git pull --rebase origin devel)
    ...
    • Jan 3 2015, 1:05 PM
    • 18 Lines
    • Plain Text