text
stringlengths
1
1.05M
// codeforces/e89/A/main.cpp // author: @___Johniel // github: https://github.com/johniel/ #include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << ...
db 0 ; species ID placeholder db 45, 63, 37, 95, 65, 55 ; hp atk def spd sat sdf db ELECTRIC, ELECTRIC ; type db 45 ; catch rate db 106 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F25 ; gender ratio db 100 ; unknown 1 db 25 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/elek...
; A044640: Numbers n such that string 0,8 occurs in the base 9 representation of n but not of n+1. ; 89,170,251,332,413,494,575,656,737,809,818,899,980,1061,1142,1223,1304,1385,1466,1538,1547,1628,1709,1790,1871,1952,2033,2114,2195,2267,2276,2357,2438,2519,2600,2681,2762,2843,2924 mul $0,2 mov $2,$0 mov $0,5 add $2,2 ...
; A027620: a(n) = n + (n+1)^2 + (n+2)^3. ; 9,32,75,144,245,384,567,800,1089,1440,1859,2352,2925,3584,4335,5184,6137,7200,8379,9680,11109,12672,14375,16224,18225,20384,22707,25200,27869,30720,33759,36992,40425,44064,47915,51984,56277,60800,65559,70560,75809,81312,87075,93104,99405,105984,112847,120000,127449,135200,1432...
;; ;; Copyright (c) 2017-2018, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
/* * Phusion Passenger - https://www.phusionpassenger.com/ * Copyright (c) 2011-2017 Phusion Holding B.V. * * "Passenger", "Phusion Passenger" and "Union Station" are registered * trademarks of Phusion Holding B.V. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this ...
SECTION code_fp_math48 PUBLIC am48_dswap am48_dswap: ; swap double on stack with AC' ; ; enter : AC'= double x ; stack = double y, ret ; ; exit : AC'= double y ; AC = double x ; stack = double x ; ; uses : af, bc, de, hl, bc', de', hl' pop af ...
;silence song. disables all streams song0_header: .byte 6 ;6 streams .byte MUSIC_SQ1 .byte $00 .byte MUSIC_SQ2 .byte $00 .byte MUSIC_TRI .byte $00 .byte MUSIC_NOI .byte $00 .byte SFX_1 .byte $00 .byte SFX_2 .byte $00
ink inkey HALT XOR A LD (aLAST_KEY+1),A EI ahl0 CALL KEYSCAN LD A,E INC A JR Z,ink LD A,D LD HL,SYMTAB CP $18 JR Z,aHLSM2 LD HL,CAPSTAB CP $27 JR Z,aHLSM2 LD...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; SaveBackRegion proc ODC:DWORD,TopX:DWORD,TopY:DWORD,BWidth:DWORD,BHeight:DWORD LOCAL dcMem:DWORD LOCAL BMMem2:DWORD LOCAL BMemOld:DWORD ;saves a region from the specified DC into a bitmap ; and returns the handle for the bitmap invok...
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0001 (0x000002) 0x2940- f:00024 d: 320 | OR[320] = A 0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0003 (0x000006) 0x2941- f:00024 d: 321 | OR[321] = A ...
/* * Copyright (c) 2020, Liav A. <liavalb@hotmail.co.il> * * SPDX-License-Identifier: BSD-2-Clause */ #include <Kernel/ACPI/Parser.h> #include <Kernel/Bus/PCI/IOAccess.h> #include <Kernel/Bus/PCI/Initializer.h> #include <Kernel/Bus/PCI/MMIOAccess.h> #include <Kernel/Bus/PCI/WindowedMMIOAccess.h> #include <Kernel/C...
;; calcs HLB + DEC where B and C are signs ;; result HL with A as sign ;; special handling if result is zero forcign sign bit to be zero AHLEquBHLaddCDE: ld a,b xor c and SignOnly8Bit JumpIfNegative .OppositeSigns .SameSigns: ...
segment .data fmt: dq "%lld ",10,0 ssfmt: dq "%lld",0 segment .bss a: resq 255 b: resq 2 c: resq 2 d: resq 2 cn: resq 2 segment .text global main extern printf extern scanf main: push RBP xor rcx, rcx mov [c] , rcx xor rax , rax mov rdi, ssfmt mov rsi , cn call scanf ll: mov rcx, [b] mov rbx , rcx xor rax, rax mov...
; void p_forward_list_alt_init_fastcall(void *p) SECTION code_clib SECTION code_adt_p_forward_list_alt PUBLIC _p_forward_list_alt_init_fastcall EXTERN asm_p_forward_list_alt_init defc _p_forward_list_alt_init_fastcall = asm_p_forward_list_alt_init
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xc415, %rdx nop nop nop inc %r8 mov $0x6162636465666768, %rcx movq %rcx, %xmm5 and $0xffffffffffffffc0, %rdx movntdq %xmm5, (%rdx) nop cmp %rdi, %rdi lea addresses_normal_ht+0x...
; A023887: a(n) = sigma_n(n): sum of n-th powers of divisors of n. ; 1,5,28,273,3126,47450,823544,16843009,387440173,10009766650,285311670612,8918294543346,302875106592254,11112685048647250,437893920912786408,18447025552981295105,827240261886336764178,39346558271492178925595,1978419655660313589123980,104857700000096466...
//$Id$ //------------------------------------------------------------------------------ // OwnedPlot //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2017 United States Government as repres...
;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ;;; ;;; ASM Source code for Red GBC, by Evan Bowman, 2021 ;;; ;;; ;;; The following licence covers the source code included in this file. The ;;; game's characters and artwork belong to Evan Bowman, and should not be used ;;; without permi...
;Testname=aout; Arguments=-faout -obr560575.o; Files=stderr stdout br560575.o ;Testname=aoutb; Arguments=-faoutb -obr560575.o; Files=stderr stdout br560575.o ;Testname=coff; Arguments=-fcoff -obr560575.o; Files=stderr stdout br560575.o ;Testname=elf32; Arguments=-felf32 -obr560575.o; Files=stderr stdout br560575...
// Copyright (c) 2017 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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) #include <hpx/hpx_main.hpp> #include <hpx/include/future.hpp> #include <hpx/include/pa...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 include listing.inc INCLUDELIB MSVCRT INCLUDELIB OLDNAMES _DATA SEGMENT $SG5155 DB '%d %d %d %d %s', 0aH, 00H _DATA ENDS PUBLIC __local_stdio_printf_options PUBLIC _vfprintf_l PUBLIC printf PUBLIC func PUBLIC main EXTRN __...
; A064198: a(n) = 3*(n-2)*(n-3)*(3*n^2-3*n-8)/2. ; 0,0,84,468,1476,3540,7200,13104,22008,34776,52380,75900,106524,145548,194376,254520,327600,415344,519588,642276,785460,951300,1142064,1360128,1607976,1888200,2203500,2556684,2950668,3388476,3873240,4408200,4996704,5642208,6348276,7118580,7956900,8867124,9853248,1091937...
/** * Copyright 2017-2020 Stefan Ascher * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pub...
SECTION code_clib SECTION code_error PUBLIC error_lznc EXTERN error_znc pop hl error_lznc: ; set dehl = 0 ; reset carry flag ld de,0 jp error_znc
; A147651: First trisection of A028560. ; Submitted by Christian Krause ; 0,27,72,135,216,315,432,567,720,891,1080,1287,1512,1755,2016,2295,2592,2907,3240,3591,3960,4347,4752,5175,5616,6075,6552,7047,7560,8091,8640,9207,9792,10395,11016 add $0,1 pow $0,2 sub $0,1 mul $0,9
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="tv, tz"/> <%docstring> Invokes the syscall settimeofday. See 'man 2 settimeofday' for more information. Arguments: tv(timeval): tv tz(timezone): tz </%docstring> ${syscall('SYS_settimeofday', tv, tz)}
; A002420: Expansion of sqrt(1 - 4*x) in powers of x. ; 1,-2,-2,-4,-10,-28,-84,-264,-858,-2860,-9724,-33592,-117572,-416024,-1485800,-5348880,-19389690,-70715340,-259289580,-955277400,-3534526380,-13128240840,-48932534040,-182965127280,-686119227300,-2579808294648,-9723892802904,-36734706144304,-139067101832008,-527495...
; A339053: a(n) = least k such that the first n-block in A339051 occurs in A339052 beginning at the k-th term. ; 3,3,3,3,7,7,7,7,7,7,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45 mov $2,2 mov $3...
.include "hdr.asm" .section ".rodata1" superfree snesfont: .incbin "res/font/pvsneslibfont.pic" snesfont_end: .ends .section ".rodata2" superfree gameLogoSprite: .incbin "res/logo/logo.pic" gameLogoSprite_end: gameLogoPalette: .incbin "res/logo/logo.pal" gameLogoPalette_end: .ends .section ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: Clavin MODULE: VM Tree Data Driver FILE: vmtreeEntry.asm AUTHOR: Chung Liu, Jun 3, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY...
/* Mode: -*- C++ -*- */ /* @BC * Copyright (c) 1993 * by Microelectronics and Computer Technology Corporation (MCC) * All Rights Reserved * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, * provided...
#include <ATen/ATen.h> #include <ATen/Config.h> #include <ATen/NativeFunctions.h> #if !AT_MKLDNN_ENABLED() namespace at { namespace native { Tensor& mkldnn_add_out( Tensor& result, const Tensor& self, const Tensor& other, Scalar alpha) { AT_ERROR("mkldnn_add_out: ATen not compiled with MKLDNN suppo...
#include <wayfire/matcher.hpp> #include <wayfire/util/log.hpp> #include <wayfire/lexer/lexer.hpp> #include <wayfire/option-wrapper.hpp> #include <wayfire/condition/condition.hpp> #include <wayfire/view-access-interface.hpp> #include <wayfire/parser/condition_parser.hpp> class wf::view_matcher_t::impl { public: s...
; Main driver for the Z80 tester. ; ; Copyright (C) 2012 Patrik Rak (patrik@raxoft.cz) ; ; This source code is released under the MIT license, see included license.txt. org 0x8000 main: di push iy exx push hl call print db ...
#include "TeamTest.h" #include <dash/Team.h> #include <dash/Array.h> #include <dash/Distribution.h> #include <dash/Dimensional.h> #include <dash/util/TeamLocality.h> #include <array> #include <sstream> #include <unistd.h> #include <iostream> #include <fstream> TEST_F(TeamTest, Deallocate) { LOG_MESSAGE("Start de...
;[]-----------------------------------------------------------------[] ;| CTRL87.ASM -- access floating-point control word | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 10.0 ; ; Copyright (c) 1991, 2000 by Inprise Corporation...
//================================================================================================= /*! // \file src/mathtest/dvecexpand/VUa.cpp // \brief Source file for the VUa dense vector expansion operation math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // This file is part of...
; A218749: a(n) = (46^n-1)/45. ; 0,1,47,2163,99499,4576955,210539931,9684836827,445502494043,20493114725979,942683277395035,43363430760171611,1994717814967894107,91757019488523128923,4220822896472063930459,194157853237714940801115,8931261248934887276851291,410838017451004814735159387,18898548802746221477817331803,86933...
.file "kernel.c" .code16gcc .intel_syntax noprefix .text .globl _pcbPtr .data .align 4 _pcbPtr: .long _Pcb .globl _Pcb .bss .align 4 _Pcb: .space 28 .ident "GCC: (MinGW.org GCC-8.2.0-5) 8.2.0"
; ; Shared variables between the VT100 and VT52 engines MODULE conio_vars SECTION data_clib PUBLIC __x1_attr .__x1_attr defb $7 ; White on Black
%assign RESULT_CAPACITY 0x100 %assign SelectMode_NONE 0 %assign SelectMode_CLASSIFIED 1 %assign SelectMode_USE 2 %assign SelectMode_TALK 4 %assign SelectMode_GET 8 %assign SelectMode_ANY -1 %assign FindResult_ibo 0 %assign FindResult_distance 2 %assign FindResult_SIZE ...
fbl(8) g5<1>UD g5<8,8,1>UD { align1 1Q }; fbl(16) g6<1>UD g8<8,8,1>UD { align1 1H }; fbl(1) g43<1>UD mask0<0,1,0>UD { align1 WE_all 1N };
title "Vdm Instuction Emulation" ;++ ; ; Copyright (c) 1989 Microsoft Corporation ; ; Module Name: ; ; instemul.asm ; ; Abstract: ; ; This module contains the routines for emulating instructions and ; faults to a VDM. ; ; Author: ; ; Dave Hastings (daveh) 29-March-1991 ; ; Environ...
#pragma once #include <cstdint> #include <istream> #include <string> #include <vector> #include "shiguredo/mp4/box.hpp" #include "shiguredo/mp4/box_type.hpp" #include "shiguredo/mp4/grouping_type.hpp" namespace shiguredo::mp4::bitio { class Reader; class Writer; } // namespace shiguredo::mp4::bitio namespace shi...
_mkdir: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: f3 0f 1e fb endbr32 4: 8d 4c 24 04 lea 0x4(%esp),%ecx 8: 83 e4 f0 and $0xfffffff0,%esp b: ff 71 fc ...
/* SHA-1 in C By Steve Reid <steve@edmweb.com> 100% Public Domain Test Vectors (from FIPS PUB 180-1) "abc" A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" 84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1 A million repetitions of "a" 34AA973C D4C4DAA4 F61EEB2B D...
; A152257: a(n) = (3^n - 1)^2*(3^n + 1)/16. ; Submitted by Jamie Morken(s3) ; 0,1,40,1183,32800,893101,24180520,653473003,17649155200,476575627801,12867977828200,347439324082423,9380897054183200,253284538196972101,6838685390919695080,184644531291230453443,4985402576490767372800,134605871649898496094001,3634358553309089...
#include "invdyn_bullet_comparison.hpp" #include <cmath> #include "BulletInverseDynamics/IDConfig.hpp" #include "BulletInverseDynamics/MultiBodyTree.hpp" #include "btBulletDynamicsCommon.h" #include "BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h" #include "BulletDynamics/Featherstone/btMultiBodyDynamicsWorl...
SECTION .data hello: db 'Hello, World!' SECTION .text global main main: mov edx, 13 mov ecx, hello mov ebx, 1 mov eax, 4 int 0x80 mov ebx, 0 mov eax, 1 int 0x80
; A287394: Domination number for camel's graph on a 2 X n board. ; 0,2,4,6,6,6,6,6,6,6,8,10,12,12,12,12,12,12,12,14,16,18,18,18,18,18,18,18,20,22,24,24,24,24,24,24,24,26,28,30,30,30,30,30,30,30,32,34,36,36,36,36,36,36,36,38,40,42,42,42,42,42,42,42,44,46,48,48,48,48,48,48,48,50,52,54,54,54,54,54,54,54,56,58,60,60,60,60,...
#include <cmath> #include <matplot/matplot.h> int main() { using namespace matplot; double r = 2; double xc = 4; double yc = 3; std::vector<double> theta = linspace(0, 2 * pi); std::vector<double> x = transform(theta, [=](auto theta) { return r * cos(theta) + xc; }); std::vector<do...
; A147758: Numbers whose binary representation is a palindrome formed from the reflected decimal expansion of the concatenation of 1, 0 and infinite digits 1. ; 1,3,5,9,21,45,93,189,381,765,1533,3069,6141,12285,24573,49149,98301,196605,393213,786429,1572861,3145725,6291453,12582909,25165821,50331645,100663293,201326589...
; A038714: Promic numbers repeated 4 times; a(n) = floor(n/4) * ceiling((n+1)/4). ; 0,0,0,0,2,2,2,2,6,6,6,6,12,12,12,12,20,20,20,20,30,30,30,30,42,42,42,42,56,56,56,56,72,72,72,72,90,90,90,90,110,110,110,110,132,132,132,132,156,156,156,156,182,182,182,182,210,210,210,210,240,240,240,240,272,272,272,272,306,306,306,306,...
/* ***************************************************************************** * The lines 64, 109, 117 and 125 are based on Xitari's code, from Google Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 2 * as published by ...
// Original test: ./ullmer/hw4/problem6/jal_3.asm // Author: ullmer // Test source code follows //tests jump and link //with unaligned target jal 593
;Inicialização addi $1 $0 137 addi $2 $0 146 addi $3 $0 65 addi $4 $0 63 addi $5 $0 75 addi $6 $0 86 addi $7 $0 97 ; And simples and $7 $4 $5 and $6 $6 $7 and $5 $7 $1 and $4 $2 $3 and $3 $4 $5 and $2 $6 $7 and $1 $1 $2 ; $0 como destino and $0 $5 $2 and $0 $6 $3 and $0 $7 $4 and $0 $1 $5 and $0 $2 $6 and $0 $3 $7 ;...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ReadMm3.Asm ; ; Abstract: ; ; AsmReadMm3 function ; ; Notes: ; ;--------------...
; A142729: Primes congruent to 2 mod 59. ; Submitted by Jamie Morken(s4) ; 2,61,179,769,887,1123,1831,1949,2539,2657,3011,3719,4073,4663,5843,6079,6197,6551,9029,9619,9973,10091,10799,11743,12097,12451,12569,12923,13159,13513,14221,14929,15401,15991,16699,17053,17761,18233,18587,19531,20357,20593,20947,21419,21773,2248...
/// @file /// Declares the `fw::greeter::testing::ConfigMock` *Test Double* class. /// /// @author Florian Wolters <wolters.fl@gmail.com> /// @copyright Copyright (c) 2019, Florian Wolters and/or its affiliates. /// All rights reserved. /// This code is licensed under the MIT License. See `LICENSE` file for details. #...
; SECTION code_clib PUBLIC generic_console_cls PUBLIC generic_console_vpeek PUBLIC generic_console_printc PUBLIC generic_console_scrollup PUBLIC generic_console_ioctl PUBLIC generic_console_set_ink PUBLIC generic_console_set_paper PUB...
/* VMS dwarf2 section sequentializer. Copyright (C) 2001 Free Software Foundation, Inc. Contributed by Douglas B. Rupp (rupp@gnat.com). This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwa...
;;; 1001| __0x9x_ldr_str: ret
extern m7_ippsECCPMulPointScalar:function extern n8_ippsECCPMulPointScalar:function extern y8_ippsECCPMulPointScalar:function extern e9_ippsECCPMulPointScalar:function extern l9_ippsECCPMulPointScalar:function extern n0_ippsECCPMulPointScalar:function extern k0_ippsECCPMulPointScalar:function extern ippcpJumpIndexForMe...
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P global bn_mul_mont_gather5 ALIGN 64 bn_mul_mont_gather5: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$SEH_begin_bn_mul_mont_gather5: mov rdi,rcx mov rsi,rdx mov rdx,r8 ...
; A134683: Expansion of 1+x*(2+3*x)/(1-4*x^2). ; 1,2,3,8,12,32,48,128,192,512,768,2048,3072,8192,12288,32768,49152,131072,196608,524288,786432,2097152,3145728,8388608,12582912,33554432,50331648,134217728,201326592,536870912,805306368,2147483648,3221225472 mov $4,$0 add $0,2 mov $5,$4 sub $5,1 mov $2,$5 add $2,9 mod $2...
#include "example/grammar.hpp" #include <percy.hpp> int main() { using parser = percy::parser<example::grammar::top>; auto exit_code = []() { auto input = percy::input(INPUT_CODE); auto result = parser::parse(input); return result.is_success() ? 0 : 1; }(); return exit_code; }
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
#pragma once #include <functional> #include <memory> #include <tuple> #include <utility> #include <vector> #include "abstract_dereferenced_column_table_scan_impl.hpp" #include "all_type_variant.hpp" #include "types.hpp" #include "utils/assert.hpp" namespace opossum { /** * @brief Compares one column to a literal ...
; Troy's HBC-56 - 6502 - Invaders ; ; Copyright (c) 2021 Troy Schrapel ; ; This code is licensed under the MIT license ; ; https://github.com/visrealm/hbc-56 ; ; Title screen ; TITLES !byte $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$E4,$D9,$B0,$D9,$DE !byte $E6,$D1,$D4,$D5,$E2,$E3,$FF,$FF,$FF,$FF,$FF,$FF,$FF...
; A138055: Period 8: repeat 1, 3, 5, 9, 3, 1, 9, 5. ; 1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9,3,1,9,5,1,3,5,9 sub $2,$0 mul $0,4 sub $0,$2 div $0,2 add $0,2 mov $1,2 pow $1,$0...
; A047205: Numbers that are congruent to {0, 3, 4} mod 5. ; 0,3,4,5,8,9,10,13,14,15,18,19,20,23,24,25,28,29,30,33,34,35,38,39,40,43,44,45,48,49,50,53,54,55,58,59,60,63,64,65,68,69,70,73,74,75,78,79,80,83,84,85,88,89,90,93,94,95,98,99,100,103,104,105,108 mov $1,$0 add $1,2 div $1,3 mul $1,2 add $1,$0
; MEGA65 HyperRAM ; Minimal reproduction code for the following HyperRAM problem as basis ; for simulation ; done by sy2002 on June, 12 2020 ; ; Test passes successfully since August, 21 2020 ; #include "../../../../dist_kit/sysdef.asm" #include "../../../../dist_kit/monitor.def" .ORG 0x0000 ...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; set up st0 to be 3.141593 FLDPI FLD1 ;TEST_BEGIN_RECORDING FDIVP mov edi, 0 ;TEST_END_RECORDING
; A183575: a(n) = n - 1 + ceiling((n^2-2)/2); complement of A183574. ; 2,6,10,16,22,30,38,48,58,70,82,96,110,126,142,160,178,198,218,240,262,286,310,336,362,390,418,448,478,510,542,576,610,646,682,720,758,798,838,880,922,966,1010,1056,1102,1150,1198,1248,1298,1350,1402,1456,1510,1566,1622,1680,1738,1798,1858,1920,1982,...
;************************************ ;************** STINGER ************* ;******** (c) 1996 by [TAVC] ******** ;********** -=* RedArc *=- ********** ;************************************ Model tiny .code .386 kode_crypt equ 0 ORG 100h START: pusha push ds push es push cs ...
;=============================================================================== ;- Programm: DateTimeClock ;- ;- Dateinname: DateTimeClock.asm ;- Version: 1.0 ;- Autor: Benj Fassbind ;- ;- Verwendungszweck: uP-Schulung ;- ;- Beschreibung: ;- ;- Eine Zeit-Datums Uhr auf Assembler Basis ;- ;- Cop...
#pragma once #include "AudioVolumeMeter.hpp" class AudioVolumeMeter_Peak : public AudioVolumeMeter{ AudioInOut inOut_; uint8_t recentMaxLevel =0; decltype(std::chrono::system_clock::now()) lastTimeStamp = std::chrono::system_clock::now(); public: AudioVolumeMeter_Peak(AudioInOut inOut) :inOut_(inOut)...
; A174138: Numbers congruent to {5,6,7,8,9,15,16,17,18,19} mod 25. ; 5,6,7,8,9,15,16,17,18,19,30,31,32,33,34,40,41,42,43,44,55,56,57,58,59,65,66,67,68,69,80,81,82,83,84,90,91,92,93,94,105,106,107,108,109,115,116,117,118,119,130,131,132,133,134,140,141,142,143,144,155,156,157 mov $2,$0 div $0,5 mul $0,3 add $0,4 div $0...
data segment tab db 'maison$' msg db 'la chaine en inverser :$' ends stack segment dw 128 dup(0) ends code segment start: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; mov ax, data mov ds, ax mov es, ax mov ah,09h mov dl,offset msg int 21h...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "webkit/browser/chromeos/fileapi/cros_mount_point_provider.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/m...
#include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/shared_ptr.hpp> #include <boost/enable_shared_from_this.hpp> #include <iostream> using boost::asio::ip::tcp; #define max_len 1024 class clientSession :public boost::enable_shared_from_this<clientSession> { public: clientSession(boost::asio::io_...
#pragma once #include <eosiolib/asset.hpp> #include <eosiolib/eosio.hpp> #include "../eosio.token/eosio.token.hpp" namespace eosio { class escrow : public contract { public: escrow(account_name self) : contract(self) {} /// @abi action void eshello(account_name user); /// @abi ...
-rans2p_ksp_type gmres -rans2p_pc_type asm -rans2p_pc_asm_type basic -rans2p_ksp_max_it 2000 -rans2p_ksp_gmres_modifiedgramschmidt -rans2p_ksp_gmres_restart 300 -rans2p_sub_ksp_type preonly -rans2p_sub_pc_factor_mat_solver_package superlu -rans2p_ksp_knoll -rans2p_sub_pc_type lu -ncls_ksp_type gmres -ncls_pc_type h...
push ebp mov ebp,esp push ecx call dword ptr ds:[114D1BCh] mov ecx,dword ptr [dev] and eax,3Fh shl eax,0Ch xor eax,ecx mov dword ptr [dev],eax mov esp,ebp pop ebp ret
; A167817: Period 4: repeat [1, 3, 3, 3]. ; 1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1 mov $1,$0 gcd $1,4 trn $1,3 gcd $1,3
#include <QCoreApplication> #include <QDebug> #include "AutoscoperMockMainWindow.h" #include "Socket.h" int main(int argc, char* argv[]) { QCoreApplication app(argc, argv); int port = 30007; qInfo() << "AutoscoperMockServer listening on port" << port; AutoscoperMainWindow widget; Socket* socket = new So...
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: VGA Video Driver FILE: vgaAdmin.asm AUTHOR: Jim DeFrisco ROUTINES: Name Description ---- ----------- VidScreenOff Turn off video output ...
DerekCheekPincherText: text "Listen to this." line "My @" text_ram wStringBuffer4 text_start para "grins happily when" line "I pinch its cheek." para "But it never grins" line "for anyone else." para "I must be special." done UnknownText_0x65b29: text "Oh, and recently," line "my PIKACHU beat a" cont "w...
;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. ;; See the LICENSE file in the project root for more information. #include "kxarm.h" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DATA SECTIONS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;...
//===- LinkerScript.cpp ---------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
%undef ROM %undef STANDALONE [BITS 16] [CPU 8086] [ORG 0x0100] [SECTION .text] call Init_Data call Init_CheckMem call Init_INT xor ah, ah int 10h call Finish int 20h %include 'src/8088/include/debug.asm' %include 'src/8088/include/ipc.asm' %include 'src/8088/include/int.asm' %include...
.386p .387 include read.dat assume cs:FLAT,ds:FLAT,es:FLAT,fs:FLAT,gs:FLAT,ss:FLAT _TEXT segment para use32 public 'CODE' include read.equ ini_read proc near mov dword ptr [ringur],esi mov dword ptr [curread],esi mov dword ptr [impli],esi mov dword ptr [impld],esi mov ebp,dword ptr [zllsystem...
/* VineMEMZ Warning: The code was written in about a week and I did not took affort in making it efficient and well organised. It was originally written for Vinesauce Joel's Windows 10 Destruction. It needs a lot of assets to run. */ #include "memz.h" void start() { ...
/* * Open Chinese Convert * * Copyright 2015 BYVoid <byvoid@byvoid.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
SECTION code_driver SECTION code_driver_terminal_output PUBLIC sms_01_output_terminal_tty_z88dk_stdio_msg_ictl EXTERN asm_vioctl_driver, asm_tty_reset, l_offset_ix_de EXTERN sms_01_output_terminal_stdio_msg_ictl sms_01_output_terminal_tty_z88dk_stdio_msg_ictl: ; enter : de = request ; bc = first para...
#include "ircchannel2.hpp" namespace chatterino { namespace providers { namespace irc { // IrcChannel::IrcChannel() //{ //} } // namespace irc } // namespace providers } // namespace chatterino
// // refract/VisitorUtils.cc // librefract // // Created by Vilibald Wanča on 09/11/15. // Copyright (c) 2015 Apiary Inc. All rights reserved. // #include "Element.h" #include "VisitorUtils.h" using namespace refract; const StringElement* refract::GetDescription(const IElement& e) { auto i = e.meta().find("d...
#include "stage.hh" #include "worldfile.hh" using namespace Stg; #include "file_manager.hh" #include <errno.h> Color::Color(double r, double g, double b, double a) : r(r), g(g), b(b), a(a) { } Color::Color() : r(1.0), g(0.0), b(0.0), a(1.0) { } bool Color::operator!=(const Color &other) const { double epsilon = ...