text
stringlengths
1
1.05M
PokemonTower2_h: db CEMETERY ; tileset db POKEMONTOWER_2_HEIGHT, POKEMONTOWER_2_WIDTH ; dimensions (y, x) dw PokemonTower2Blocks, PokemonTower2TextPointers, PokemonTower2Script ; blocks, texts, scripts db $00 ; connections dw PokemonTower2Object ; objects
; A016846: a(n) = (4*n + 3)^10. ; 59049,282475249,25937424601,576650390625,6131066257801,41426511213649,205891132094649,819628286980801,2758547353515625,8140406085191601,21611482313284249,52599132235830049,119042423827613001,253295162119140625,511116753300641401,984930291881790849,1822837804551761449,325524355100988120...
// // auto-generated by op2.py // //user function //user function void update_omp4_kernel( double *data0, int dat0size, double *data1, int dat1size, double *data2, int dat2size, double *arg3, int count, int num_teams, int nthread); // host stub function void op_par_loop_update(char const *name, o...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x7be3, %r8 clflush (%r8) nop nop nop nop sub $56623, %rdi mov $0x6162636465666768, %r14 movq %r14, (%r8) nop nop cmp %r13, %r13 lea addresses_A_ht+0x198e3, %rbp nop nop nop and...
include comparison_predicates.inc .code ; void AVX512_Packed_Compare_Float_(const ZmmVal * a, const ZmmVal * b, uint16_t result[8]); AVX512_Packed_Compare_Float_ proc vmovaps zmm0, zmmword ptr [rcx] vmovaps zmm1, zmmword ptr [rdx] vcmpps k1, zmm0, zmm1, CMP_EQ_OQ kmovw word ptr [r8], k1 vcmpps k1, zmm0, zmm1, CMP_...
#include <set> #include <benchmark/benchmark.h> #include <boost/container/flat_set.hpp> enum class Pos { Begin, Middle, End, NotExist }; template <class T> struct TestCont { using key_type = T; static constexpr size_t SHARDS = 32; std::vector<T> shards[SHARDS]; void insert(const T& t) { shards[t % SHARDS]...
; A305265: a(n) = 12*2^n + 62. ; 74,86,110,158,254,446,830,1598,3134,6206,12350,24638,49214,98366,196670,393278,786494,1572926,3145790,6291518,12582974,25165886,50331710,100663358,201326654,402653246,805306430,1610612798,3221225534,6442451006,12884901950,25769803838,51539607614,103079215166,206158430270,412316860478,82...
global _main extern _GetStdHandle@4 extern _WriteFile@20 extern _ReadFile@20 extern _ExitProcess@4 extern _HeapCreate@12 extern _HeapAlloc@12 extern _CreateFileA@28 extern _CloseHandle@4 extern _GetFileSize@8 extern _HeapFree@12 section .data hStdOut: dd 0 hStd...
class Solution { public: int missingNumber(vector<int>& nums) { int var=0,i; for(i=0;i<=nums.size()-1;i++){ var=var^i; var=var^nums[i]; } return var^nums.size(); } };
; DRAW ATTR ONLY SPRITE (NO PIXELS) ; 04.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version SECTION code_temp_sp1 PUBLIC _SP1_DRAW_ATTR EXTERN SP1RETSPRDRAW ; following data segment copied into struct sp1_cs ld hl,0 nop ld de,0 call SP1RETSPRDRAW _SP1_DRAW_ATTR: ; yes that's it
Map_68454: dc.w word_6845C-Map_68454 dc.w word_68464-Map_68454 dc.w word_6846C-Map_68454 dc.w word_68474-Map_68454 word_6845C: dc.w 1 ; DATA XREF: ROM:00068454o dc.b $F8, $D, 0, 0, $FF, $F0 word_68464: dc.w 1 ; DATA XREF: ROM:00068454o dc.b $F8, $D, 0, 8, $FF, $F0 word_6846C: dc.w 1 ; DAT...
; A000172: Franel number a(n) = Sum_{k = 0..n} binomial(n,k)^3. ; Submitted by Jamie Morken(s4) ; 1,2,10,56,346,2252,15184,104960,739162,5280932,38165260,278415920,2046924400,15148345760,112738423360,843126957056,6332299624282,47737325577620,361077477684436,2739270870994736,20836827035351596,158883473753259752,12141719...
;****************************************************************************** ;* TI ARM C/C++ Codegen Unix v18.1.1.LTS * ;* Date/Time created: Fri Jul 3 20:08:23 2020 * ;****************************************************************************** ...
/* * Bitmap.cpp * * Created on: Sep 25, 2016 * Author: Antero Nousiainen */ #include "Bitmap.hpp" #include "DirectX.hpp" using namespace image; namespace { constexpr auto inchesInMeter = 39.3700787; constexpr std::uint32_t operator"" _dpi(unsigned long long int n) { return n*inchesInM...
#include "check.hxx" int main(int argc, char *argv[]) { using std::string; // arguments parsing string path; try { using namespace TCLAP; CmdLine cmd("Log viewer", ' ', "0.1"); UnlabeledValueArg<string> filenameArg( "path", "The path to the cursor file", true, "", ...
#pragma comment(linker, "/stack:640000000") #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <iomanip> #include <iterator> #include <list> #include <map...
; A007585: 10-gonal (or decagonal) pyramidal numbers: a(n) = n*(n + 1)*(8*n - 5)/6. ; 0,1,11,38,90,175,301,476,708,1005,1375,1826,2366,3003,3745,4600,5576,6681,7923,9310,10850,12551,14421,16468,18700,21125,23751,26586,29638,32915,36425,40176,44176,48433,52955,57750,62826,68191,73853,79820,86100,92701,99631,106898,11451...
; A116699: Number of permutations of length n which avoid the patterns 123 and 4312. ; 1,2,5,13,30,61,112,190,303,460,671,947,1300,1743,2290,2956,3757,4710,5833,7145,8666,10417,12420,14698,17275,20176,23427,27055,31088,35555,40486,45912,51865,58378,65485,73221,81622,90725,100568,111190,122631,134932,148135,162283,17742...
// 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 <algorithm> #include <string> #include <utility> #include "base/basictypes.h" #include "base/compiler_specific.h" #include "base/file_path.h...
#pragma once #include "m4c0/vulkan/end_command_buffer.hpp" namespace m4c0::vulkan::tools { class command_buffer_guard { VkCommandBuffer m_cmd_buf; public: explicit constexpr command_buffer_guard(VkCommandBuffer cb) : m_cmd_buf(cb) { } ~command_buffer_guard() { if (m_cmd_buf != nullptr) cmd:...
;------------------------------------------------------------------------------ ;- V 500 ver 2.1 <03:04:91> GeMiCha *.COM - ;------------------------------------------------------------------------------ page ,132 name V500 title The V-500 virus .radix 16 code segment ass...
; ; Word: 1+ ; Dictionary: (a - a) ; Date: 1st February 2018 ; Macro: Yes ; Notes: ; inc de ret
; A037545: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,2. ; 1,6,26,105,422,1690,6761,27046,108186,432745,1730982,6923930,27695721,110782886,443131546,1772526185,7090104742,28360418970,113441675881,453766703526,1815066814106,7260267256425,29041069025702 mov $1,4 pow $...
// -*- mode:c++; tab-width:4; -*- // vim:ft=cpp ts=4 /*************************************************************************** * * Tiary, a terminal-based diary keeping system for Unix-like systems * Copyright (C) 2009, 2019, chys <admin@CHYS.INFO> * * This software is licensed under the 3-clause BSD license. ...
; A020808: Decimal expansion of 1/sqrt(51). ; Submitted by Jon Maiga ; 1,4,0,0,2,8,0,0,8,4,0,2,8,0,0,9,8,0,3,5,2,9,2,9,4,0,8,0,6,6,0,2,4,8,0,9,3,8,7,5,7,1,9,8,3,5,2,7,5,0,4,5,8,4,9,6,4,8,7,1,1,9,3,7,7,9,7,2,1,9,6,8,7,5,3,7,2,5,9,1,9,3,3,8,4,1,1,5,3,3,5,9,8,6,8,2,7,5,3,2 mov $1,1 mov $2,1 mov $3,$0 add $3,7 mov $4,$0 a...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xde41, %rbx add %r8, %r8 vmovups (%rbx), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $0, %xmm2, %rdi nop nop inc %rsi lea addresses_WC_ht+0x12627, %rsi lea addresses_WT_ht+0x1d341, %rdi...
/* * Copyright 2019 Xilinx Inc. * * 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 * * Unless required by applicable law or agreed to ...
; A040094: Continued fraction for sqrt(105). ; 10,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4 sub $0,1 mod $0,2 mul $0,10 add $0,2 pow $0,2 div $0,17 mul $0,2 add $0,4
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x6e16, %rcx nop nop add $2304, %r10 mov (%rcx), %ebp nop nop nop nop sub $55610, %rsi lea addresses_WC_ht+0x8ca6, %rsi lea addresses_WT_ht+0xd026, %rdi clflush (%rdi) nop nop...
; --- Piano2.asm ---- ; When you press button RB0..RB3, you play a note ; on RC0: ; RB0: 261 Hz (C4) ; RB1: 293 Hz (D4) ; RB2: 329 Hz (E4) ; RB3: 349 Hz (F4) #include <p18f4620.inc> ; Variables CNT0 EQU 1 CNT1 EQU 2 ; Program org 0x800 call Init Loop: movf PORTB,F ; if any button...
; ; Z88 Small C+ Run Time Library ; Long support functions ; ; 25/2/99 djm ; Rewritten to use subtraction and use carry at end to figure ; out which one was larger ; ; Entry: primary = (under two return addresses on stack) ; secondary= dehl ; ; Exit: z = numbers the sa...
// Copyright (c) 2010-2015 niXman (i dot nixman dog gmail dot com). All // rights reserved. // // This file is part of YAS(https://github.com/niXman/yas) project. // // 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) ...
_mkdir: formato del fichero elf32-i386 Desensamblado de la sección .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) ...
.data end: .word 0xffff0010 chr: .word 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x67, 0x77, 0x7c, 0x39, 0x5e, 0x79, 0x71 .text main: la $s0,end lw $s0,0($s0) li $s1,16 #number of running numbers reset: sw $zero,0($s0) la $s2,chr lw $s3,0($s2) li $t1,0 loop: beq $t1,$s1,reset sw $s3,0($s0) a...
/** * @file config.cpp * @brief Global library options and configuration methods * @author Bryan Bartley * @email bartleyba@sbolstandard.org * * <!-------------------------------------------------------------------------- * This file is part of libSBOL. Please visit http://sbolstandard.org for more * i...
; A025736: Index of 9^n within sequence of numbers of form 6^i*9^j. ; 1,3,6,10,15,22,30,39,49,61,74,88,103,119,137,156,176,197,220,244,269,295,322,351,381,412,444,478,513,549,586,625,665,706,748,791,836,882,929,977,1027,1078,1130,1183,1237,1293,1350,1408,1467,1528,1590,1653,1717 mov $16,$0 mov $18,$0 add $18,1 lpb $18...
[bits 32] VIDEO_MEMORY equ 0xb8000 ; beginning of video memory: to print in protected mode you have to write on ; video memory. WHITE_ON_BLACK equ 0x0f ; WB parameter PrintStringPM: pusha mov edx, VIDEO_MEMORY ; sets EDX to beginning of video memory PrPM_Loop: mov al, [ebx] ; store the char at E...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0xd169, %r8 nop nop nop nop nop xor $15864, %rax movl $0x61626364, (%r8) nop nop inc %r10 lea addresses_D_ht+0x12759, %r15 nop nop cmp $34579, %rdi mov (%r15), %r9...
; A179546: a(n) = p^2*(p + 3)/2, where p = prime(n). ; 10,27,100,245,847,1352,2890,3971,6877,13456,16337,27380,36982,42527,55225,78652,107911,119072,157115,186517,202502,255881,296227,364366,470450,530452,562277,629695,665336,740602,1048385,1149787,1313830,1371791,1687276,1755677,1971920,2205227,2370565,2633752,2915731...
; A129202: Denominator of 3*(3+(-1)^n) / (n+1)^2. ; 1,2,3,8,25,6,49,32,27,50,121,24,169,98,75,128,289,54,361,200,147,242,529,96,625,338,243,392,841,150,961,512,363,578,1225,216,1369,722,507,800,1681,294,1849,968,675,1058,2209,384,2401,1250,867,1352,2809,486,3025,1568,1083,1682,3481,600,3721,1922,1323,2048,4225,726,4489...
; A020914: Number of digits in the base-2 representation of 3^n. ; 1,2,4,5,7,8,10,12,13,15,16,18,20,21,23,24,26,27,29,31,32,34,35,37,39,40,42,43,45,46,48,50,51,53,54,56,58,59,61,62,64,65,67,69,70,72,73,75,77,78,80,81,83,85,86,88,89,91,92,94,96,97,99,100,102,104,105,107,108,110,111,113,115,116,118,119,121,123,124,126,12...
; A022096: Fibonacci sequence beginning 1, 6. ; 1,6,7,13,20,33,53,86,139,225,364,589,953,1542,2495,4037,6532,10569,17101,27670,44771,72441,117212,189653,306865,496518,803383,1299901,2103284,3403185,5506469,8909654,14416123,23325777,37741900,61067677,98809577,159877254,258686831,418564085,677250916,1095815001,1773065917...
; A083446: a(n) = ((10^n - 1) - 9^n)/9. ; 2,30,382,4550,52062,579670,6328142,68064390,723690622,7624326710,79730051502,828681574630,8569245282782,88234318656150,905219979016462,9258090922259270,94433929411444542,961016475814111990,9760259393438119022,98953445652054182310,1001692121979598751902,10126340208927499878230,1...
SECTION rodata_stdlib PUBLIC __dtoa_inf_s __dtoa_inf_s: defm "inf" defb 0
;ASH - Aidan's SHell ;32K EEPROM (0x0000 - 0x7FFF) ;32K SRAM (0x8000 - FFFF) ;IO Provided via 16550 UART ;TODO: ;Change most DE to HL ;Change eror to check for non-zero values ;Write doesn't seem to write correctly ;Read doesn't read correctly at non-0 values ;conway's game of life? STACK_H equ 0xFF STACK_L equ 0xFF ...
;****************************************************************************** ; ; (c) 2010 by BECK IPC GmbH ; http://www.beck-ipc.com ; ;****************************************************************************** ; ; Module: cry22.asm ; Function: Dynamic linking of TCPI/IP API Function Crypt_SHA1_Update() ; ...
; A153448: 3 times 12-gonal (or dodecagonal) numbers: 3*n*(5*n-4). ; 0,3,36,99,192,315,468,651,864,1107,1380,1683,2016,2379,2772,3195,3648,4131,4644,5187,5760,6363,6996,7659,8352,9075,9828,10611,11424,12267,13140,14043,14976,15939,16932,17955,19008,20091,21204,22347,23520,24723,25956,27219,28512,29835,31188,32571,33984...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0xb3af, %rsi lea addresses_WT_ht+0x47af, %rdi nop nop nop sub %r14, %r14 mov $23, %rcx rep movsl nop nop nop nop add %r8, %r8 lea addresses_normal_ht+0x1e63, %rsi lea addresses_D_ht+0x5d...
; ; LCD.ASM ; ------- ; Methods to control an Ampire 162B 16x2 LCD ; display based on the KS0066U controller ; lcd_command EQU $E090 lcd_status EQU $E090 lcd_data EQU $E091 ; ; LCD_INIT ; -------- ; Initialise the LCD display ; lcd_init PSHS A BSR lcd_wait LDA #%00111100 ; Function set STA lcd_command BSR lcd...
; A054607: a(n) = Sum_{d|8} phi(d)*n^(8/d). ; Submitted by Jamie Morken(s4) ; 0,8,288,6672,65840,391320,1681008,5767328,16781472,43053480,100010240,214373808,430002768,815759672,1475827920,2562941760,4295033408,6975841608,11020066272,16983694160,25600160880,37823054808,54876108848 mov $1,$0 pow $0,2 mul $1,2 add $1,4 ...
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 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 Unless required by applicable law or a...
#include <napi.h> Napi::Value GetMathWrap(const Napi::CallbackInfo& info);
/* * PySFML - Python bindings for SFML * Copyright (c) 2012-2017, Jonathan De Wachter <dewachter.jonathan@gmail.com> * * This file is part of PySFML project and is available under the zlib * license. */ #ifndef PYSFML_SYSTEM_NUMERICOBJECT_HPP #define PYSFML_SYSTEM_NUMERICOBJECT_HPP #include "Python.h" #include <SFML/...
; A010674: Period 2: repeat (0,3). ; 0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0,3,0 mul $0,3 mod $0,6
.data msg: .asciiz "O valor impresso no final deve ser 8191 e não deve imprimir 'Erro'.\n" errotext: .asciiz "Erro\n" .text main: # Notem que as somas são todas potências de 2. Vocês podem # usar isso para achar o ponto do erro do seu emulador (caso exista). la $a0, msg # coloca em a...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1993 -- All Rights Reserved PROJECT: PC/GEOS MODULE: Loader FILE: videoHGC.asm ROUTINES: Name Description ---- ----------- LoaderDisplayHGC Switch to HGC, and display the splash screen. REVI...
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_ao_Lettera _ff_ao_Lettera: BINARY "font/fzx/fonts/ao/Lettera/Lettera.fzx"
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_OPENGL_WGL_CONTEXT_HOLDER_HPP_INCLUDED #define SGE_OPENGL_WGL_CONTEXT_HOLDER_HPP_INCLUD...
// -i qual_params.in qual_params.hh -- namespace NS { template <typename T> struct A{ void foo(); }; } namespace NS { template <typename T> struct B { typedef A<T> A1; using A2 = A<T>; A1& foo(A<T>, A<T>*&, const A1&, A2); }; }
; A105225: a(n+3) = 2a(n+2) - 3a(n+1) + 2a(n); a(0) = 1, a(1) = -1, a(2) = -2. ; 1,-1,-2,1,6,5,-6,-15,-2,29,34,-23,-90,-43,138,225,-50,-499,-398,601,1398,197,-2598,-2991,2206,8189,3778,-12599,-20154,5045,45354,35265,-55442,-125971,-15086,236857,267030,-206683,-740742,-327375,1154110,1808861,-499358,-4117079,-3118362,51...
TITLE Transputer Call and Return PAGE 60,132 .T800 MemStart EQU 0x80000070 ORG MemStart - 1 DB STOP - START ORG MemStart START: call FUNC - L1 L1: FIN: stopp FUNC: ret db 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa db 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0x...
; A173184: Partial sums of A000166. ; 1,1,2,4,13,57,322,2176,17009,150505,1485466,16170036,192384877,2483177809,34554278858,515620794592,8212685046337,139062777326001,2494364438359954,47245095998005060,942259727190907181 mov $2,$0 mov $3,$0 add $3,1 lpb $3 mov $0,$2 sub $3,1 sub $0,$3 seq $0,166 ; Subfactorial...
; DRAW ATTR ONLY SPRITE (NO PIXELS) ; 04.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version SECTION code_clib SECTION code_temp_sp1 PUBLIC _SP1_DRAW_ATTR EXTERN SP1RETSPRDRAW ; following data segment copied into struct sp1_cs ld hl,0 nop ld de,0 call SP1RETSPRDRAW _SP1_DRAW_ATTR: ; yes that...
MoveNames:: db "POUND@" db "KARATE CHOP@" db "DOUBLESLAP@" db "COMET PUNCH@" db "MEGA PUNCH@" db "PAY DAY@" db "FIRE PUNCH@" db "ICE PUNCH@" db "THUNDERPUNCH@" db "SCRATCH@" db "VICEGRIP@" db "GUILLOTINE@" db "RAZOR WIND@" db "SWORDS DANCE@" db "CUT@" db "GUST@" db "WING ATTACK@" db "WHIRLWIND@" db "...
; A101402: a(0)=0, a(1)=1; for n>=2, let k = smallest power of 2 that is >= n, then a(n) = a(k/2) + a(n-1-k/2). ; 0,1,1,1,2,2,3,3,3,3,4,4,4,5,5,6,6,6,7,7,7,8,8,9,9,9,9,10,10,10,11,11,12,12,13,13,13,14,14,15,15,15,15,16,16,16,17,17,18,18,18,19,19,19,20,20,21,21,21,21,22,22,22,23,23,23,24,24,24,25,25,26,26,26,26,27,27,27...
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : branch.asm ; Purpose : GOTO, GOSUB, Return. ; Date : 28th August 2019 ; Review : 1st September 2019 ; Author : ...
; A250212: Second partial sums of seventh powers (A001015). ; 1,130,2446,21146,117971,494732,1695036,4992492,13072917,31153342,68720938,142120342,278268263,519829688,932250488,1613106744,2704301673,4407716634,7005003334,10882290034,16560665275,24733398404,36310956980,52474986980,74742532605,105041888406,145801597410,20...
; Small C+ Z88 Support Library ; ; Convert signed int to long XLIB l_int2long_s ; If MSB of h sets de to 255, if not sets de=0 .l_int2long_s ld de,0 bit 7,h ret z dec de ret
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x925e, %rax nop cmp $13299, %r14 movl $0x61626364, (%rax) nop nop nop nop xor %rsi, %rsi lea addresses_D_ht+0x6b7e, %r14 nop nop and $50347, %r12 mov $0x6162636465666768, %rdx...
; void *wa_priority_queue_pop_fastcall(wa_priority_queue_t *q) SECTION code_adt_wa_priority_queue PUBLIC _wa_priority_queue_pop_fastcall _wa_priority_queue_pop_fastcall: INCLUDE "adt/wa_priority_queue/z80/asm_wa_priority_queue_pop.asm"
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1ac1c, %rsi lea addresses_normal_ht+0x13b1c, %rdi nop xor $9263, %r14 mov $70, %rcx rep movsw nop nop and %rsi, %rsi lea addresses_UC_ht+0x434c, %rbp nop nop nop nop nop...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x7b8e, %rsi lea addresses_WT_ht+0xbad2, %rdi nop nop nop nop nop sub %r12, %r12 mov $79, %rcx rep movsl nop cmp $2145, %r15 lea addresses_A_ht+0x7c0a, %rbx nop nop nop nop add %r8, %r8 m...
incsrc ./buttons.asm incsrc ./checkpress.asm incsrc ./execute.asm incsrc ./height.asm incsrc ./hole.asm incsrc ./items.asm incsrc ./ledge.asm incsrc ./shadow.asm incsrc ./soldier.asm incsrc ./stairs.asm incsrc ./sword.asm incsrc ./warp.asm incsrc ./watergrass.asm ; Called in height.asm UpdateJump: JSL CanCallJumpC...
; A037606: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,3. ; Submitted by Jon Maiga ; 1,8,51,307,1844,11067,66403,398420,2390523,14343139,86058836,516353019,3098118115,18588708692,111532252155,669193512931,4015161077588,24090966465531,144545798793187,867274792759124,52...
; A051893: a(n) = Sum_{i=1..n-1} i^2*a(i), a(1) = 1. ; Submitted by Jon Maiga ; 1,1,5,50,850,22100,817700,40885000,2657525000,217917050000,22009622050000,2685173890100000,389350214064500000,66189536390965000000,13039338669020105000000,2946890539198543730000000,757350868574025738610000000,219631751886467464196900000000 ...
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it) ; * ; * Licens...
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include "UiCanvasEditor_precompiled.h" #include "EditorCommon.h" #include <QLabel> #include <QResi...
/* * Copyright (C) 2017-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/source/built_ins/builtins_dispatch_builder.h" #include "opencl/test/unit_test/command_queue/enqueue_copy_image_fixture.h" #include "opencl/test/unit_test/gen_common/gen_commands_common_validation.h" #include "ope...
/****************************************************************************** * Name: jlp_gdev_wxwid_canvas.cpp (JLP_GDev_wxWID class) * * Purpose: Handling menu and events * that are defined in "jlp_gdev_wxwid_menu.cpp" * * Author: JLP * Version: 12/02/2017 **************************...
//! //! casual_isolatedunittest_yaml_archive.cpp //! //! Created on: Oct 31, 2012 //! Author: Lazan //! #include <gtest/gtest.h> #include "../include/test_vo.h" #include "sf/archive/yaml.h" #include "sf/exception.h" #include "sf/log.h" #include "common/algorithm.h" namespace casual { /* namespace local...
; $Id: bs3-wc16-I8DR.asm $ ;; @file ; BS3Kit - 16-bit Watcom C/C++, 64-bit unsigned integer modulo. ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or...
// Ouzel by Elviss Strazdins #ifndef OUZEL_ASSET_HPP #define OUZEL_ASSET_HPP #include "storage/Path.hpp" namespace ouzel { class Asset final { public: enum class Type { empty, font, mesh, texture, material, particleSy...
; A060566: a(n) = n^2 - 79*n + 1601. ; 1601,1523,1447,1373,1301,1231,1163,1097,1033,971,911,853,797,743,691,641,593,547,503,461,421,383,347,313,281,251,223,197,173,151,131,113,97,83,71,61,53,47,43,41,41,43,47,53,61,71,83,97,113,131,151,173,197,223,251,281,313,347,383,421,461,503,547,593,641,691,743,797,853,911,971,1033...
# Hello world program .data Greeting: .asciiz "Hello world!\n" .text main: # Prints a string on the screen li $v0, 4 la $a0, Greeting syscall # Terminates the program li $v0, 10 syscall
#include "../include/cscript/CReturn.h" #include <vector> #include <memory> CReturn::CReturn() { returnCount = 0; } CReturn::CReturn(std::vector<int> anticipatedReturns, std::vector<int> countedReturns) { this->anticipatedReturns = anticipatedReturns; this->countedReturns = countedReturns; this->returnCount = 0; ...
; A163462: a(n) = 20*a(n-1) - 98*a(n-2) for n > 1; a(0) = 1, a(1) = 11. ; Submitted by Jon Maiga ; 1,11,122,1362,15284,172204,1946248,22048968,250247056,2844142256,32358633632,368446731552,4197788535104,47847991009984,545576543759488,6222427756211328,70982053835796736,809843156607224576,9240621856236411392,105447807777...
; A169966: Numbers whose decimal expansion contains only 0's and 3's. ; 0,3,30,33,300,303,330,333,3000,3003,3030,3033,3300,3303,3330,3333,30000,30003,30030,30033,30300,30303,30330,30333,33000,33003,33030,33033,33300,33303,33330,33333,300000,300003,300030,300033,300300,300303,300330,300333,303000,303003,303030,303033,30...
; apple2enh fileio.asm .export _LoadFile .autoimport on .importzp sp, sreg, regsave, regbank .importzp tmp1, tmp2, tmp3, tmp4, ptr1, ptr2, ptr3, ptr4 .macpack longbranch .include "apple2.asm" .segment "ZEROPAGE" .segment "BSS" FileNameCache: .res 16 .segment "CODE" ; _LoadFile ; Loads a file by name to a s...
.386P .model FLAT externdef _d_zistepu:dword externdef _d_pzbuffer:dword externdef _d_zistepv:dword externdef _d_zrowbytes:dword externdef _d_ziorigin:dword externdef _r_turb_s:dword externdef _r_turb_t:dword externdef _r_turb_pdest:dword externdef _r_turb_spancount:dword externdef _r_turb_turb:d...
aLine 0 gNew currentPtr gMoveNext currentPtr, Root aLine 1 sInit i, 0 sBge i, {1:D}, 10 aLine 2 gBne currentPtr, null, 3 aLine 3 Exception NOT_FOUND aLine 5 gMoveNext currentPtr, currentPtr aLine 1 sInc i, 1 Jmp -9 aLine 7 gBne currentPtr, null, 3 aLine 8 Exception NOT_FOUND aLine 10 nNew newNodePtr, {0:D} gNew...
; A169272: Number of reduced words of length n in Coxeter group on 19 generators S_i with relations (S_i)^2 = (S_i S_j)^29 = I. ; Submitted by Jamie Morken(s4) ; 1,19,342,6156,110808,1994544,35901792,646232256,11632180608,209379250944,3768826516992,67838877305856,1221099791505408,21979796247097344,395636332447752192,71...
#include <iostream> using namespace std; int factorfinder(int x){ if (x==1) { return 1; }else{ return x*factorfinder(x-1); } } int main() { int Y = 40; cout << factorfinder(5); }
/*******************************************************************\ Module: Counterexample-Guided Inductive Synthesis Author: Daniel Kroening, kroening@kroening.com Pascal Kesseli, pascal.kesseli@cs.ox.ac.uk \*******************************************************************/ #include <util/mp_arith.h> ...
; @@@ void mikeos_serial_port_enable(int mode); %include "os_vector.inc" section .text use16 global _mikeos_serial_port_enable _mikeos_serial_port_enable: mov bx, sp mov ax, [ss:bx + 2] mov bx, os_serial_port_enable call bx ret
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="name, type"/> <%docstring> Invokes the syscall access. See 'man 2 access' for more information. Arguments: name(char): name type(int): type </%docstring> ${syscall('SYS_access', name, type)}
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Foundation Library source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4FoundationLicense.pdf // and may not be copied ...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Copyright (c) 2...
; --COPYRIGHT--,BSD_EX ; Copyright (c) 2012, Texas Instruments Incorporated ; All rights reserved. ; ; 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 co...
; A054333: 1/256 of tenth unsigned column of triangle A053120 (T-Chebyshev, rising powers, zeros omitted). ; 1,11,65,275,935,2717,7007,16445,35750,72930,140998,260338,461890,791350,1314610,2124694,3350479,5167525,7811375,11593725,16921905,24322155,34467225,48208875,66615900,91018356,123058716,164750740,218546900,287415...
; void *sms_copy_vram_to_mem(void *dst, unsigned int n) SECTION code_clib SECTION code_crt_common PUBLIC sms_copy_vram_to_mem_callee EXTERN asm_sms_copy_vram_to_mem sms_copy_vram_to_mem_callee: pop hl pop bc ex (sp),hl jp asm_sms_copy_vram_to_mem