cssclass |
---|
cornell-note |
The Cornell Note-taking System is a popular and effective method for organizing and summarizing information during lectures, readings, or any other form of learning.
#include <type_traits> | |
namespace detail { | |
template <typename Func> | |
struct function_trait; | |
#define BEYOND_NOARG | |
#define BEYOND_FUNCTION_TRAIT(CV_OPT, NOEXCEPT_OPT) \ |
This is the resource repositry for my memory managment lecture / workshop series at Breda University of applied sciences - Games. It is mainly targeted for game developers
module Main exposing (..) | |
import Browser | |
import Html exposing (Html) | |
import Svg exposing (..) | |
import Svg.Attributes exposing (..) | |
import Svg.Lazy | |
import Task | |
import Time | |
import Random |
https://github.com/MattPD/cpplinks / C++ Standard / C++20 / Coroutines
(draft; work in progress)
#coroutines (C++ Slack): https://cpplang.slack.com/archives/C5JS5JXT5
/* Copyright (c) 2018 Arvid Gerstmann. */ | |
/* This code is licensed under MIT license. */ | |
#ifndef AG_RANDOM_H | |
#define AG_RANDOM_H | |
class splitmix | |
{ | |
public: | |
using result_type = uint32_t; | |
static constexpr result_type (min)() { return 0; } |
#include <utility> | |
// The 2x2 fibonacci matrix | |
// | |
// { F(n+1) F(n) } | |
// { F(n) F(n-1) } | |
// | |
// can be represented as just the bottom row, since the top row can be computed: | |
// so just use a pair. | |
template <typename N> |
const CANCEL = Symbol(); | |
class CancellationToken { | |
constructor() { | |
this.cancelled = false; | |
} | |
throwIfCancelled() { | |
if (this.isCancelled()) { |