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
// | |
// vcruntime_new.h | |
// | |
// Copyright (c) Microsoft Corporation. All rights reserved. | |
// | |
// Declarations and definitions of memory management functions in the VCRuntime. | |
// | |
#pragma once | |
#include <vcruntime.h> |
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
.text | |
.type main %function | |
.global main | |
main: | |
mov w0, wzr | |
mov w16, 7 | |
mov w13, 0xFFFFFF00 | |
mov w12, 0x80 |
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 <deque> | |
#include <vector> | |
#include <optional> | |
#include <random> | |
#include <algorithm> | |
#include <chrono> | |
#include <thread> | |
#include <condition_variable> | |
#include <mutex> |
This file has been truncated, but you can view the full file.
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
# 1 "<built-in>" | |
# 1 "main.cpp" | |
// | |
// daytime_client.cpp | |
// ~~~~~~~~~~~~~~~~~~ | |
// | |
// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) | |
// | |
// Distributed under the Boost Software License, Version 1.0. (See accompanying | |
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
This file has been truncated, but you can view the full file.
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
# 1 "<built-in>" | |
# 1 "main.cpp" | |
// | |
// daytime_client.cpp | |
// ~~~~~~~~~~~~~~~~~~ | |
// | |
// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) | |
// | |
// Distributed under the Boost Software License, Version 1.0. (See accompanying | |
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
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
[alias] | |
lg = log --graph --pretty=format:'%C(red)%h%C(reset) %C(green)%<(14)%cr / %cd %C(reset)%C(bold blue)%<(24)%an%C(reset) %C(auto)%d%C(reset) %s' --date=format:'%Y-%b-%d %a %H:%M:%S %z' | |
rl = reflog --pretty=format:'%C(red)%h%C(reset) %C(green)%<(14)%cr / %cd %C(reset)%C(bold blue)%<(24)%an%C(reset) %C(auto)%gd%C(reset) %C(auto)%d%C(reset) %gs' | |
amend = commit --amend --no-edit |
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
proc asm_itoa | |
test ebx, ebx | |
jz .zero | |
mov ecx, divTable | |
.skip_loop: | |
xor edx, edx | |
mov eax, ebx | |
div dword[ecx] | |
add ecx, 4 | |
test eax, eax |
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
proc asm_itoa | |
test ebx, ebx | |
jz .zero | |
mov ecx, divTable | |
.skip_loop: | |
xor edx, edx | |
mov eax, ebx | |
div dword[ecx] | |
add ecx, 4 | |
test eax, eax |
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
format binary as '' | |
include 'print.inc' | |
virtual at 0 | |
file 'test' | |
old_size=$ | |
end virtual | |
db 512 dup 0 |
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
cmp word [ball_x], 0 | |
jle .neg_ball_dx | |
cmp word [ball_x], WIDTH - BALL_WIDTH | |
jnge .ball_x_col | |
.neg_ball_dx: | |
neg word [ball_dx] | |
.ball_x_col: |
NewerOlder