text
stringlengths
1
1.05M
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.4 #12246 (Mac OS X x86_64) ;-------------------------------------------------------- .module scene_6_triggers .optsdcc -mgbz80 ;-------------------------------------------------------- ;...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x130f, %rsi lea addresses_WT_ht+0x15a5c, %rdi nop nop dec %r8 mov $84, %rcx rep movsb nop nop xor %rdi, %rdi lea addresses_normal_ht+0xfe19, %r14 nop nop add %rsi, %rsi movb $0x...
section .text default rel global _0x40_set_rex global _0x41_set_rex global _0x42_set_rex global _0x43_set_rex global _0x44_set_rex global _0x45_set_rex global _0x46_set_rex global _0x47_set_rex global _0x48_set_rex global _0x49_set_rex global _0x4a_set_rex global _0x4b_set_rex global _0x4c_set_rex glob...
;================================================================================================== ; Settings and tables which the front-end may write ;================================================================================================== ; 0x03481000: Item override table: ; ; This table changes the meani...
.data x: .word 5 z: .word 7 y: .word 0 # esse valor deverá ser sobrescrito após a execução do programa. .text # Referencia : lw = load word ; sw = save word. # Armazendo os valores do ".data" em variáveis temporárias lw $t0, x # t0/temp0 = x = 5 lw $t1, z # t1/temp1 = x = 7 # Armazenando os valores que seram...
; ; Copyright (c) 2014 The WebM 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 contributing proje...
SFX_Battle_35_Ch5: execute_music vibrato 10, 2, 4 duty_cycle 2 note_type 10, 8, 7 octave 5 note G#, 8 octave 6 note F#, 4 note E_, 4 octave 5 note G#, 8 sound_ret SFX_Battle_35_Ch6: execute_music vibrato 10, 2, 3 duty_cycle 2 note_type 11, 6, 7 octave 5 note G#, 8 note_type 10, 6, 7 octave 6 note...
OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' PUBLIC pasta_add ALIGN 32 pasta_add PROC PUBLIC DB 243,15,30,250 mov QWORD PTR[8+rsp],rdi ;WIN64 prologue mov QWORD PTR[16+rsp],rsi mov r11,rsp $L$SEH_begin_pasta_add:: mov rdi,rcx mov rsi,rdx mov rdx,r8 mov rcx,r9 push rbp push rbx sub rsp,8 $L$SEH_bo...
// Copyright 2016 Google Inc. 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 ...
#include <iostream> #include <string> using namespace std; int main (){ string firstName, lastName, town; int age; cin >> firstName >> lastName; cin >> age; cin >> town; cout << "You are " << firstName << " " << lastName << ", a " << age << "-years old person from " << town << "." << endl; ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xba1b, %r11 nop nop nop nop xor $56747, %r12 vmovups (%r11), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $0, %xmm2, %r9 nop nop and $3595, %rdx lea addresse...
;------------------------------------------------------------------------------- ; ENVELOPE opcode: pushes an ADSR envelope value on stack [0,1] ;------------------------------------------------------------------------------- ; Mono: push the envelope value on stack ; Stereo: push the envelope valeu on stack tw...
; A021405: Decimal expansion of 1/401. ; Submitted by Jamie Morken(m2) ; 0,0,2,4,9,3,7,6,5,5,8,6,0,3,4,9,1,2,7,1,8,2,0,4,4,8,8,7,7,8,0,5,4,8,6,2,8,4,2,8,9,2,7,6,8,0,7,9,8,0,0,4,9,8,7,5,3,1,1,7,2,0,6,9,8,2,5,4,3,6,4,0,8,9,7,7,5,5,6,1,0,9,7,2,5,6,8,5,7,8,5,5,3,6,1,5,9,6,0 seq $0,83811 ; Numbers n such that 2n+1 is the d...
; ; Copyright (c) 2014 The WebM 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 contributing proje...
/**************************************************************************** ** Meta object code from reading C++ file 'playerbuttons.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.1) ** ** WARNING! All changes made in this file will be lost! *******************************************************...
#include "quihelper.h" int QUIHelper::getScreenIndex() { //需要对多个屏幕进行处理 int screenIndex = 0; #if (QT_VERSION >= QT_VERSION_CHECK(5,0,0)) int screenCount = qApp->screens().count(); #else int screenCount = qApp->desktop()->screenCount(); #endif if (screenCount > 1) { //找到当前鼠标所在屏幕 QPo...
#ifndef RA_API_UPLOAD_BADGE_HH #define RA_API_UPLOAD_BADGE_HH #pragma once #include "ApiCall.hh" #include "ra_fwd.h" namespace ra { namespace api { class UploadBadge { public: static constexpr const char* const Name() noexcept { return "UploadBadge"; } struct Response : ApiResponseBase { std::s...
; A158274: Numerators of antiharmonic means of divisors of n. ; Submitted by Christian Krause ; 1,5,5,3,13,25,25,17,7,65,61,15,85,125,65,11,145,35,181,13,125,305,265,85,21,425,41,75,421,325,481,65,305,725,325,21,685,181,425,221,841,625,925,61,91,1325,1105,55,43,35,725,255,1405,205,793,425,181,421,1741,65,1861,2405,175,...
/* Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. 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 ap...
#include "GAMER.h" #ifdef GRAVITY //output the dimensionless power spectrum //#define DIMENSIONLESS_FORM static void GetBasePowerSpectrum( real *RhoK, const int j_start, const int dj, double *PS_total ); #ifdef SERIAL extern rfftwnd_plan FFTW_Plan_PS; #else extern rfftwnd_mpi_plan FFTW_Plan_PS; #endif //--...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xbb88, %rdx sub %rdi, %rdi movb (%rdx), %bl nop nop nop nop xor $36443, %r11 lea addresses_D_ht+0x102b8, %rsi lea addresses_A_ht+0xb488, %rdi nop nop nop nop and %rbp, %rbp mo...
GetEmote2bpp: ld a, $1 ldh [rVBK], a call Get2bpp xor a ldh [rVBK], a ret _ReplaceKrisSprite:: call GetPlayerSprite ld a, [wUsedSprites] ldh [hUsedSpriteIndex], a ld a, [wUsedSprites + 1] ldh [hUsedSpriteTile], a call GetUsedSprite ret Function14146: ; mobile ld hl, wSpriteFlags ld a, [hl] push af re...
; A245524: a(n) = n^2 - floor(n/2)*(-1)^n. ; 1,3,10,14,27,33,52,60,85,95,126,138,175,189,232,248,297,315,370,390,451,473,540,564,637,663,742,770,855,885,976,1008,1105,1139,1242,1278,1387,1425,1540,1580,1701,1743,1870,1914,2047,2093,2232,2280,2425,2475,2626,2678,2835,2889,3052,3108,3277,3335,3510,3570,3751,3813,4000,406...
; ; TI Gray Library Functions ; ; Written by Stefano Bodrato - Mar 2001 ; ; ; $Id: g_plot.asm,v 1.5 2017/01/02 22:57:58 aralbrec Exp $ ; ;Usage: g_plot(int x, int y, int GrayLevel) PUBLIC g_plot PUBLIC _g_plot EXTERN plotpixel EXTERN respix...
; Compatibility for the old balloc library MODULE ba_Init SECTION code_alloc_balloc PUBLIC ba_Init PUBLIC _ba_Init ; Clears all memory queues to empty. ; ; enter: HL = number of queues ; uses : F,BC,DE,HL ba_Init: _ba_Init: add hl,hl ld c,l ld b,h ld hl,_ba_qtbl ld de,_ba_qtbl + 1 ld (hl),0 dec bc ldir ...
@Icecube's fix to properly display weapon range on the stats menu @Paste at 16CC0 .thumb .org 0xA240 Function1: .org 0x16CC0 @r0 has item id/uses short push {r4-r7,r14} mov r7,#0x0 mov r1,#0xFF and r0,r1 lsl r1,r0,#0x3 add r1,r1,r0 lsl r1,r1,#0x2 ldr r0,ItemTable add r1,r1,r0 ldrb r6,[r1,#0x19] ldr r0,BlankT...
_main: ;test.c,2 :: void main() ;test.c,4 :: PORTB=0x00; CLRF PORTB+0 ;test.c,5 :: TRISC.RC6 = 0x00; //TX pin set as output BCF TRISC+0, 6 ;test.c,6 :: TRISC.RC7 = 0xFF; //RX pin set as input BSF TRISC+0, 7 ;test.c,7 :: UART1_Init(4800); // Initialize UART module a...
/**************************************************************************** ** Meta object code from reading C++ file 'mainwindow.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1) ** ** WARNING! All changes made in this file will be lost! **********************************************************...
; A198395: Ceiling(n*sqrt(17)). ; 0,5,9,13,17,21,25,29,33,38,42,46,50,54,58,62,66,71,75,79,83,87,91,95,99,104,108,112,116,120,124,128,132,137,141,145,149,153,157,161,165,170,174,178,182,186,190,194,198,203,207,211,215,219,223,227,231,236,240,244,248,252,256,260,264,269,273,277,281,285,289,293,297,301,306,310,314,318,32...
#include "../.././Image/VideoIO/AviStream.hh"
; A130216: a(0) = 3; a(n) = a(n-1) + (number of multiples of 3 so far in the sequence). ; 3,4,5,6,8,10,12,15,19,23,27,32,37,42,48,55,62,69,77,85,93,102,112,122,132,143,154,165,177,190,203,216,230,244,258,273,289,305,321,338,355,372,390,409,428,447,467,487,507,528,550,572,594,617,640,663,687,712,737,762,788,814,840,867,...
kp_song kp_reloc dc.w kp_song_registers dc.w kp_speed dc.w kp_grooveboxpos dc.w kp_grooveboxlen dc.w kp_groovebox dc.w kp_patternlen dc.w kp_patternmap_lo dc.w kp_patternmap_hi dc.w kp_insmap_lo dc.w kp_insmap_hi dc.w kp_volmap_lo dc.w kp_volmap_hi dc.w kp_sequence kp_song_registers kp_speed dc.b $02 kp_g...
; size_t fwrite(void *ptr, size_t size, size_t nmemb, FILE *stream) INCLUDE "config_private.inc" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _fwrite EXTERN asm_fwrite _fwrite: pop af pop hl pop bc pop de ...
; Pokémon traded from RBY do not have held items, so GSC usually interprets the ; catch rate as an item. However, if the catch rate appears in this table, the ; item associated with the table entry is used instead. TimeCapsule_CatchRateItems: db ITEM_5A, BERRY db ITEM_64, BERRY db ITEM_78, BERRY db ITEM_87, BERRY ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rax push %rcx push %rdi lea addresses_D_ht+0x19cfa, %r12 clflush (%r12) nop nop sub %rax, %rax mov $0x6162636465666768, %rcx movq %rcx, %xmm1 movups %xmm1, (%r12) nop nop nop nop nop add $46606, %rdi pop %rdi pop %rcx pop %rax pop %r12 ret .global s_faul...
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
; logical OR accumulator with memory; 0b01 | 0b11 = 0b11 LDI #1 ; 00010000 00000001 0x1001 STA #0x01 ; 00100000 00000001 0x2001 LDI #3 ; 00010000 00000011 0x1003 ORR #0x01 ; 11000000 00000001 0xC001
; int putchar_fastcall(int c) INCLUDE "clib_cfg.asm" SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _putchar_fastcall EXTERN asm_putchar defc _putchar = asm_putchar ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ELSE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PU...
MODULE __tms9918_pixeladdress SECTION code_clib PUBLIC __tms9918_pixeladdress PUBLIC __tms9918_pix_return EXTERN __tms9918_attribute EXTERN l_tms9918_disable_interrupts EXTERN l_tms9918_enable_interrupts INCLUDE "graphics/grafix.inc" INCLUDE "video/tms9918/vdp.inc" ; ; $Id: pixladdr.asm $ ; .__tm...
; A125925: Sprague-Grundy values for octal game .351. ; 1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2,0,1,0,2,1,2,1,2 sub $2,$0 mov $0,1599 sub $0,$2 add $0,4 lpb $0 mul $0,15 m...
;Ricardo Chavez ;ricardc4975@student.vvc.edu ;December 4, 2019 ; ; file: asm_main.asm %include "asm_io.inc" ; ; initialized data is put in the .data segment ; segment .data syswrite: equ 4 stdout: equ 1 exit: equ 1 SUCCESS: equ 0 kernelcall: equ 80h array_1 dd 5,4,3,2,1 message...
MainMenu: ; Check save file call InitOptions xor a ld [wOptionsInitialized],a inc a ld [wSaveFileStatus],a call CheckForPlayerNameInSRAM jr nc,.mainMenuLoop predef LoadSAV .mainMenuLoop ld c,20 call DelayFrames xor a ; LINK_STATE_NONE ld [wLinkState],a ld hl,wPartyAndBillsPCSavedMenuItem ld [hli],a ld ...
; A138409: a(n) = prime(n)^6 - prime(n)^2. ; 60,720,15600,117600,1771440,4826640,24137280,47045520,148035360,594822480,887502720,2565725040,4750102560,6321361200,10779213120,22164358320,42180530160,51520370640,90458377680,128100278880,151334220960,243087449280,326940366480,496981283040,832971995520,1061520140400,119405...
#include <bits/stdc++.h> #define ll long long using namespace std; const int MAXN = 1010; ll getint(){ char c;ll flag = 1,num = 0; while((c=getchar())<'0'||c>'9')if(c=='-')flag=-1; while(c>='0'&&c<='9'){num=num*10+c-48;c=getchar();} return num*=flag; } ll cal_X,double_number; ll cal_x(ll number){ c...
#include <iostream> #include <cstdlib> #include "Memory.h" using namespace std; int main() { // Create a memory Memory memory = Memory(); // Print the statistics memory.printStats(); /* Expected output: ================================== Available: 0x10000 bits Used: 0x10000 bits...
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it) ; * ; * Licens...
_kill: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char **argv) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 57 push %edi 4: 56 push %esi...
/////////////////////////////////////////////////////////////////////////////// /// \file tags.hpp /// Contains the tags for all the overloadable operators in C++ // // Copyright 2007 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http...
; A175485: Numerators of averages of squares of the first n positive integers. ; 1,5,14,15,11,91,20,51,95,77,46,325,63,145,248,187,105,703,130,287,473,345,188,1225,221,477,770,551,295,1891,336,715,1139,805,426,2701,475,1001,1580,1107,581,3655,638,1335,2093,1457,760,4753,825,1717,2678 mul $0,2 add $0,1 cal $0,27626 ; D...
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
; A082761: Trinomial transform of the Fibonacci numbers (A000045). ; 1,4,20,104,544,2848,14912,78080,408832,2140672,11208704,58689536,307302400,1609056256,8425127936,44114542592,230986743808,1209462292480,6332826779648,33159111507968,173623361929216,909103725543424,4760128905543680 mov $1,1 lpb $0 sub $0,1 add $2,...
; A211466: Number of (n+1) X (n+1) -8..8 symmetric matrices with every 2 X 2 subblock having sum zero and one or two distinct values. ; 25,33,45,65,97,149,233,369,589,945,1521,2453,3961,6401,10349,16737,27073,43797,70857,114641,185485,300113,485585,785685,1271257,2056929,3328173,5385089,8713249,14098325,22811561,369098...
; PEPE gerado por 'lcc' (IST: prs 2005, 2009) ; 'rl' serve como frame-pointer e 'r0' como acumulador ; os registos 'r1' a 'r10' sao preservados nas chamadas ; global main ; TEXT main: ; ncalls=10 PUSH r9 PUSH r10 PUSH rl MOV rl, sp ; P_argc EQU 8 ; P_argv EQU 10 SUB sp, 2 MOV r10,L2 PUSH r10 CALL prints ADD sp,2 MOV r1...
;[]-----------------------------------------------------------------[] ;| CHECK.ASM -- string checking functions | ;[]-----------------------------------------------------------------[] ; ; $Copyright: 2005$ ; $Revision: 1.1.1.1 $ ; ;bool __fastcall IsDelimiter(const AnsiString& delimiters, int index) c...
; A142006: Primes congruent to 2 mod 31. ; Submitted by Jon Maiga ; 2,157,281,467,653,839,1087,1459,1583,1831,2017,2141,2203,2389,2699,3257,3319,3691,3877,4001,4373,4621,4931,4993,5179,5303,5737,5861,5923,6047,6481,6791,6977,7039,7349,7411,7907,8093,8527,8713,8837,9209,9643,9767,9829,10139,10883,11069,11131,11317,11503...
; ; Copyright (c) 2010 The WebM 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 contributing proje...
; Z88 Small C+ Graphics Functions ; Draw a circle on the Z88 map ; Adapted from my Spectrum Routine ; (C) 1995-1998 D.J.Morris ; ; HiRez, NO radius correction square pixels assumed ; variant: no table on stack, only one index register is used ; ; $Id: w_dcircle.asm $ ; SECTION code_clib PUBL...
; void z180_delay_tstate_fastcall(uint tstates) SECTION code_clib SECTION code_z180 PUBLIC _z180_delay_tstate_fastcall EXTERN asm_z180_delay_tstate defc _z180_delay_tstate_fastcall = asm_z180_delay_tstate
SECTION code_clib PUBLIC getmaxy PUBLIC _getmaxy EXTERN __console_h EXTERN __laser500_mode getmaxy: _getmaxy: ld hl,191 ld a,(__laser500_mode) cp 2 ret z ld a,(__console_h) add a dec a ld l,a ld h,0 ret
; A015513: a(1)=1, a(n) = sum_{k=1}^{k=n-1} (11^k-1)/10 a(k). ; Submitted by Jon Maiga ; 1,1,13,1742,2552030,41102995180,7281683317103260,14189947350338830620680,304174136317707285574697584520,71722670512982436329410134761448960400,186030135925835196854820049614502274473787544400 lpb $0 lpb $0 mov $0,10 lpe ...
// (C) Copyright Jeremy Siek 2002. // 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 BOOST_ITERATOR_CONCEPTS_HPP #define BOOST_ITERATOR_CONCEPTS_HPP #include "Utilogeny/lib/boost/concept_check.hpp" #inclu...
; A175068: a(n) = product of perfect divisors of n. ; 1,2,3,8,5,6,7,16,27,10,11,12,13,14,15,128,17,18,19,20,21,22,23,24,125,26,81,28,29,30,31,64,33,34,35,216,37,38,39,40,41,42,43,44,45,46,47,48,343,50,51,52,53,54,55,56,57,58,59,60,61,62,63,4096,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,2187,82,83,84,85,86,87,88,8...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: UserInterface/Gen FILE: GenDynamicList.asm ROUTINES: Name Description ---- ----------- GLB GenDynamicListClass Dynamic list object REVI...
; A022348: Fibonacci sequence beginning 0, 14. ; 0,14,14,28,42,70,112,182,294,476,770,1246,2016,3262,5278,8540,13818,22358,36176,58534,94710,153244,247954,401198,649152,1050350,1699502,2749852,4449354,7199206,11648560,18847766,30496326,49344092,79840418,129184510,209024928,338209438,547234366,885443804,1432678170,23181...
;************************************ ; written by: Stoffel van Aswegen ; for AVR: ATTiny85 ; clock frequency: 1 MHz ; Function: Night light controller with motion detection ; Ambient light level measured with LDR ; Switch lamp on for 3hrs at sunset ; Switch lamp on for 10mins when dark & motion detected ...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of...
; --- file: jcalg1_d_fast.asm --- ; ; JCALG1 r5.xx, (c)1999-2001 by Jeremy Collake - All Rights Reserved. ; *************************************************************** ; Please read license agreement in LICENSE.TXT, if this document ; is not included with this distribution, please email the author ; at collake@char...
map<char, int> to[2*N]; int link[2*N], len[2*N], last = 0, sz = 1; void add_letter(char c){ int p = last; last = sz++; len[last] = len[p] + 1; for(; !to[p][c]; p = link[p]) to[p][c] = last; if(to[p][c] == last){ link[last] = 0; return; } int u = to[p][c]; if(len[u] == le...
; A016208: Expansion of 1/((1-x)*(1-3*x)*(1-4*x)). ; 1,8,45,220,1001,4368,18565,77540,320001,1309528,5326685,21572460,87087001,350739488,1410132405,5662052980,22712782001,91044838248,364760483725,1460785327100,5848371485001,23409176469808,93683777468645,374876324642820,1499928942876001,6000986704418168,2400775961641516...
SFX_Fly_1_Ch8: noise_note 2, 15, 1, 18 noise_note 2, 0, 0, 0 noise_note 2, 10, 1, 18 noise_note 2, 0, 0, 0 noise_note 2, 13, 1, 18 noise_note 2, 0, 0, 0 noise_note 2, 8, 1, 18 noise_note 2, 0, 0, 0 noise_note 2, 11, 1, 18 noise_note 2, 0, 0, 0 noise_note 2, 6, 1, 18 noise_note 2, 0, 0, 0 noise_note 2, 9, 1...
; A004934: Floor of n*phi^19, where phi is the golden ratio, A001622. ; 0,9349,18698,28047,37396,46745,56094,65443,74792,84141,93490,102839,112188,121537,130886,140235,149584,158933,168282,177631,186980,196329,205678,215027,224376,233725 mul $0,9349
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #define LOG_TAG "ArmnnDriver" #include "ArmnnDevice.hpp" #include <OperationsUtils.h> #include <log/log.h> #include <memory> #include <string> using namespace android; namespace { std::string GetBackendString(const armnn_dri...
; 16 bits, starting at 0x7C00. BITS 16 ORG 0x7C00 BSS EQU 0x504 ; The byte at 0x500 is also used, so align on next dword bound. BSS_SIZE EQU 438 CUR_TETRAMINO EQU BSS ; 16 bytes. ROT_TETRAMINO EQU BSS + 16 ; 16 bytes. OFFSET EQU BSS + 32 ; 2 bytes. STACK EQU BSS +...
############################################################################### # Copyright 2018 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...
; A108047: Concatenation of the previous pair of numbers, with the first two terms both 1. ; Submitted by Jon Maiga ; 1,1,11,111,11111,11111111,1111111111111,111111111111111111111,1111111111111111111111111111111111,1111111111111111111111111111111111111111111111111111111,1111111111111111111111111111111111111111111111111...
#include <algorithm> #if !defined(_WIN32) && !defined(__OpenBSD__) && !defined(__FreeBSD__) # include <alloca.h> #endif #if defined (__MINGW32__) # define alloca __builtin_alloca #endif #include <serial/SerialConnection.h> #ifdef _WIN32 #include <serial/impl/SerialConnectionWindows.h> #else #include <serial/impl/Se...
; ; Copyright (C) 2019 Assured Information Security, Inc. ; ; 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...
; Copyright (c) Piotr Durlej ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain the above copyright notice, ; this list of conditions and the followi...
############################################################################### # Copyright 2018 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...
; A191762: Digital roots of the nonzero even squares. ; 4,7,9,1,1,9,7,4,9,4,7,9,1,1,9,7,4,9,4,7,9,1,1,9,7,4,9,4,7,9,1,1,9,7,4,9,4,7,9,1,1,9,7,4,9,4,7,9,1,1,9,7,4,9,4,7,9,1,1,9,7,4,9 sub $0,4 cal $0,191760 ; Digital root of the n-th odd square. mov $1,$0
; A258745: Order of general affine group AGL(n,2) (=A028365(n)) divided by (n+1). ; Submitted by Christian Krause ; 1,1,8,336,64512,53329920,184308203520,2621599886868480,152122702768688332800,35820150273699719298416640,34112245508649716682268134604800,131089993748184007771243790830298726400,202965064240388321024123506...
hlcoord EQUS "coord hl," bccoord EQUS "coord bc," decoord EQUS "coord de," coord: MACRO ; register, x, y[, origin] if _NARG < 4 ld \1, (\3) * SCREEN_WIDTH + (\2) + wTileMap else ld \1, (\3) * SCREEN_WIDTH + (\2) + \4 endc ENDM hlbgcoord EQUS "bgcoord hl," bcbgcoord EQUS "bgcoord bc," debgcoord EQUS "bgcoord de,"...
; A035250: Number of primes between n and 2n (inclusive). ; Submitted by Christian Krause ; 1,2,2,2,2,2,3,2,3,4,4,4,4,3,4,5,5,4,5,4,5,6,6,6,6,6,7,7,7,7,8,7,7,8,8,9,10,9,9,10,10,10,10,9,10,10,10,9,10,10,11,12,12,12,13,13,14,14,14,13,13,12,12,13,13,14,14,13,14,15,15,14,14,13,14,15,15,15,16,15,15,16,16,16,16,16,17,17,17,1...
; A199899: Number of -n..n arrays x(0..3) of 4 elements with zero sum, and adjacent elements not both strictly positive and not both strictly negative. ; 15,49,111,209,351,545,799,1121,1519,2001,2575,3249,4031,4929,5951,7105,8399,9841,11439,13201,15135,17249,19551,22049,24751,27665,30799,34161,37759,41601,45695,50049,5...
// Copyright 2015 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 "mojo/services/network/network_service_delegate.h" #include <utility> #include "base/at_exit.h" #include "base/base_paths.h" #include "base/bin...
; A190636: a(n)=(n^3+3*n^7)/4. ; 1,98,1647,12304,58625,210006,617743,1572992,3587409,7500250,14615711,26874288,47061937,79060814,128145375,201327616,307755233,459166482,670405519,960002000,1350818721,1870771078,2553622127,3439857024,4577640625,6023862026,7845269823,10119701872,12937413329,16402506750,20634468031,257698...
; ; ZX Spectrum specific routines ; by Stefano Bodrato, MAR 2010 ; ; int ulaplus_set(attribute,rgbvalue); ; ; ; $Id: ulaplus_set.asm,v 1.3 2016/06/10 21:14:23 dom Exp $ ; SECTION code_clib PUBLIC ulaplus_set PUBLIC _ulaplus_set ulaplus_set: _ulaplus_set: pop bc pop de pop hl push hl push de push bc ld bc,...
global _start section .text _start: xor eax,eax xor ebx,ebx mov al,0x2 int 0x80 cmp eax,ebx jnz _wait xor eax,eax push eax push word 0x462d mov esi,esp push eax push dword 0x73656c62 push dword 0x61747069 push dword 0x2f6e6962 push dword 0x732f2f2f mov ebx,esp lea edx,[esp+...
#include "../hardware_api.h" #if defined(__arm__) && defined(__SAM3X8E__) #define _ADC_VOLTAGE 3.3f #define _ADC_RESOLUTION 1024.0f // function reading an ADC value and returning the read voltage void* _configureADCInline(const void* driver_params, const int pinA,const int pinB,const int pinC){ _UNUSED(driver_p...
; A117197: a(n) = (n^3 - 1)^3. ; 0,343,17576,250047,1906624,9938375,40001688,133432831,385828352,997002999,2352637000,5150827583,10590025536,20638466407,38409197624,68669157375,118515478528,198257271191,322546580712,511808023999 mov $1,$0 add $1,1 pow $1,3 sub $1,1 pow $1,3
// N64 Header db $80 db $37 db $12 db $40 // Clock Rate dw $0000000F dw Start dw $1444 db "CRC1" db "CRC2" dd 0 db "N64 Video 002 " // "123456789012345678901234567" db $00 // Dev Id db $00 // Cart Id db $00 db $00 db $00
// Optimise #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; // #define MULTI_TEST #ifdef LOCAL #define db(...) ZZ(#__VA_ARGS__, __VA_ARGS__); #define pc(...) PC(#__VA_ARGS__, __VA_ARGS__); template <typename T, type...
#if !defined(_FUNCTIONS_FUNCTIONS_HPP_) #define _FUNCTIONS_FUNCTIONS_HPP_ #include <irafldef.h> #include <cmath> namespace IRAFLFunc { static double PI = atan(1.0) * 4; static double ColorNormal[256] = { 0.0, 0.00392156862745098, 0.00784313725490196, 0.011764705882352941, 0.01568627450980392...
;******************************************************************************************************** ; uC/OS-III ; The Real-Time Kernel ; ; Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com ; ; ...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/04/Mult.asm // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.) // Put your code here....
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: dtprint.asm ; Purpose: Printing functions for detokenising. ; Created: 7th March 2021 ; Reviewed: 16th Mar...
; A228290: a(n) = n^6 + n^5 + n^4 + n^3 + n^2 + n. ; 0,6,126,1092,5460,19530,55986,137256,299592,597870,1111110,1948716,3257436,5229042,8108730,12204240,17895696,25646166,36012942,49659540,67368420,90054426,118778946,154764792,199411800,254313150,321272406,402321276,499738092,616067010,754137930,917087136,1108378656,13...
/// \file // Range v3 library // // Copyright Eric Niebler 2013-present // Copyright Gonzalo Brito Gadeschi 2014 // // Use, modification and distribution is subject to 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) // // Pr...
#include <boost/config.hpp> #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined #pragma warning(disable: 4711) // function selected for automatic inline expansion #pragma warning(disable: 4514) // unreferenced inline re...
// Copyright 2018 The Fuchsia 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 <fuchsia/pkg/cpp/fidl.h> #include <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #include <lib/fidl/cpp/binding_set.h> #include <...