text
stringlengths
1
1.05M
/* Thread Wrapper v.2.0 Copyright (C) 2017 by Sergey A Kryukov http://www.SAKryukov.org http://www.codeproject.com/Members/SAKryukov Original publications: https://www.codeproject.com/Articles/1177478/Thread-Wrapper-CPP https://www.codeproject.com/Articles/1177869/Conveyor-Thread-Wrapper-CPP https://www.code...
; A010555: a(n) = 1 if n is the product of an even number of distinct primes, otherwise a(n) = -1. ; 1,-1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,1,-1,-1,-1,-1,-1,1,1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,-1,1,1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,-1,1,-1,1,1,-1,-1,-1,1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,-1 cal ...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ; $Id: lscroll.asm,v 1.3 2001/04/18 13:21:37 stefano Exp $ ; ;Usage: lscroll(struct *pixels) XLIB lscroll LIB scroll_le...
user/_kill: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: #include "kernel/stat.h" #include "user/user.h" int main(int argc, char **argv) { 0: 1101 addi sp,sp,-32 2: ec06 sd ra,24(sp) 4: e822 sd s0,16(sp) 6: e426...
; A143988: Numbers congruent to {5, 13} mod 18. ; 5,13,23,31,41,49,59,67,77,85,95,103,113,121,131,139,149,157,167,175,185,193,203,211,221,229,239,247,257,265,275,283,293,301,311,319,329,337,347,355,365,373,383,391,401,409,419,427,437,445,455,463,473,481,491,499,509,517,527,535,545,553,563,571,581,589,599,607,617,625,63...
/****************************************************************************** * Copyright 2017 The Apollo 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 ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: VidMem video driver FILE: cmykDither.asm AUTHOR: Jim DeFrisco, Dec 12, 1991 REVISION HISTORY: Name Date Description ---- ---- ----------- J...
INCLUDE "constants.asm" INCLUDE "code/int.asm" INCLUDE "code/rst.asm" INCLUDE "code/header.asm" INCLUDE "code/init.asm" INCLUDE "code/alias.asm" INCLUDE "code/joypad.asm" INCLUDE "code/video/copy.asm" INCLUDE "code/task.asm" INCLUDE "code/lcd.asm" INCLUDE "code/oam.asm" INCLUDE "code/math.asm" INCLUDE "code/sound.asm"...
#include "RotatingCredentialProvider.h" #include <iostream> #include <fstream> #include <vector> LOGGER_TAG("com.amazonaws.kinesis.video"); using namespace com::amazonaws::kinesis::video; using namespace std; RotatingCredentialProvider::callback_t RotatingCredentialProvider::getCallbacks(PClientCallbacks client_call...
; A085939: Horadam sequence (0,1,6,4). ; Submitted by Jon Maiga ; 0,1,4,22,112,580,2992,15448,79744,411664,2125120,10970464,56632576,292353088,1509207808,7790949760,40219045888,207621882112,1071801803776,5532938507776,28562564853760,147447890461696,761166950969344,3929355146647552,20284422292406272,104713820049510400,5...
; Copyright (C) 2009 Ubixum, Inc. ; ; This library is free software; you can redistribute it and/or ; modify it under the terms of the GNU Lesser General Public ; License as published by the Free Software Foundation; either ; version 2.1 of the License, or (at your option) any later version. ; ; This library is distrib...
_zombie: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 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 pushl -0x4(...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 07EA76 move.w (A0)+, (A1)+ [base+6078, base+607A, base+60F8, base+60FA, base+6178, base+617A, base+61F8, base+61FA, base+6278, base+627A, base+62F8, base+62FA, base+6378, base+637A, base+63F8, base+63FA, base+...
global _start extern aoc_day03_1, aoc_day03_2 section .text ;;------------------;; ;; START POINT ;; ;;------------------;; _start: call aoc_day03_1 call aoc_day03_2 mov eax, 1 xor ebx, ebx int 0x80
getchar: * jsr getin beq - rts
dnl PowerPC-64/mode32 mpn_add_n -- Add two limb vectors of the same length > 0 dnl and store sum in a third limb vector. dnl Copyright 1999-2001, 2003, 2005 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modi...
; unsigned char esx_disk_stream_end(void) SECTION code_esxdos PUBLIC esx_disk_stream_end EXTERN asm_esx_disk_stream_end defc esx_disk_stream_end = asm_esx_disk_stream_end
;channel 1 bttIntroOne:: db $00, $80, $00, $14, $87, QUAVER * 2 ; NO SOUND db $00, $80, $00, $14, $87, $FF ; NO SOUND bttChannelOne:: ;mesure 1 db $00, $80, $87, $14, $87, QUAVER + QUAVER / 2 ; DO#2 db $00, $80, $87, $14, $87, QUAVER + QUAVER / 2 ; DO#2 db $00, $80, $87, $14, $87, QUAVER + QUAVER / 2 ; DO#2 db ...
// Copyright (c) 2014 The Bitcoin Core developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2020 The PIVX developers // Copyright (c) 2021 The ISLAMIC DIGITAL COIN developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/l...
#include "utils.hpp" namespace tria::gfx::internal { auto getVkAvailableInstanceExtensions() -> std::vector<VkExtensionProperties> { uint32_t extCount = 0U; checkVkResult(vkEnumerateInstanceExtensionProperties(nullptr, &extCount, nullptr)); auto result = std::vector<VkExtensionProperties>{extCount}; checkVkRe...
; unsigned char esx_ide_mode_set(struct esx_mode *mode) INCLUDE "config_private.inc" SECTION code_esxdos PUBLIC asm_esx_ide_mode_set EXTERN l_esx_ide_mode_get asm_esx_ide_mode_set: ; enter : hl = struct esx_mode *mode ; ; exit : success ; ; hl = 0 ; carry reset ; ; ...
; A203994: Symmetric matrix based on f(i,j) = (i+j)*min{i,j}, by antidiagonals. ; 1,0,0,-1,1,-1,-2,0,0,-2,-3,-1,1,-1,-3,-4,-2,0,0,-2,-4,-5,-3,-1,1,-1,-3,-5,-6,-4,-2,0,0,-2,-4,-6,-7,-5,-3,-1,1,-1,-3,-5,-7,-8,-6,-4,-2,0,0,-2,-4,-6,-8,-9,-7,-5,-3,-1,1,-1,-3,-5,-7,-9,-10,-8,-6,-4,-2,0,0,-2,-4,-6,-8,-10,-11,-9,-7,-5,-3,-1,1...
; A017768: Binomial coefficients C(52,n). ; 1,52,1326,22100,270725,2598960,20358520,133784560,752538150,3679075400,15820024220,60403728840,206379406870,635013559600,1768966344600,4481381406320,10363194502115,21945588357420,42671977361650,76360380541900,125994627894135,191991813933920,270533919634160,352870329957600,426...
#ifndef MANUALMAPPER_HPP #define MANUALMAPPER_HPP #include <TlHelp32.h> #include <Windows.h> #include <cstdio> #include <fstream> namespace injector { __int32 GetProcessId(const char* processname) { PROCESSENTRY32 Entry; Entry.dwSize = sizeof PROCESSENTRY32; HANDLE Snap...
; A048763: Smallest cube >= n. ; 0,1,8,8,8,8,8,8,8,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,1...
; A264788: a(n) is the number of circles added at n-th iteration of the pattern starting with 2 circles. (See comment.) ; 2,2,4,4,6,10,10,12,16,16,18,22,22,24,28,28,30,34,34,36,40,40,42,46,46,48,52,52,54,58,58,60,64,64,66,70,70,72,76,76,78,82,82,84,88,88,90,94,94,96,100,100,102,106,106,108,112,112,114,118,118,120,124,1...
; A001019: Powers of 9: a(n) = 9^n. ; 1,9,81,729,6561,59049,531441,4782969,43046721,387420489,3486784401,31381059609,282429536481,2541865828329,22876792454961,205891132094649,1853020188851841,16677181699666569,150094635296999121,1350851717672992089,12157665459056928801,109418989131512359209,984770902183611232881,886293...
TITLE BdDebug.asm - Buffer Descriptor Debugging Routines COMMENT \ --------- --- ---- -- ---------- ---- COPYRIGHT (C) 1985 BY MICROSOFT, INC. --------- --- ---- -- ---------- ---- \ ;============================================================================ ; Module: BdDebug.asm - Buffer Descriptor Debugging Ro...
naken_util - by Michael Kohn Joe Davisson Web: http://www.mikekohn.net/ Email: mike@mikekohn.net Version: October 30, 2017 Loaded hexfile E_W_ROUTINEs_128K_ver_2.4.hex from 0x00a0 to 0x01ff Type help for a list of commands. Addr Opcode Instruction Cyc...
; A281746: Nonnegative numbers k such that k == 0 (mod 3) or k == 0 (mod 5). ; 0,3,5,6,9,10,12,15,18,20,21,24,25,27,30,33,35,36,39,40,42,45,48,50,51,54,55,57,60,63,65,66,69,70,72,75,78,80,81,84,85,87,90,93,95,96,99,100,102,105,108,110,111,114,115,117,120,123,125,126,129,130,132,135,138,140,141,144,145,147,150,153,155,1...
; A008817: Expansion of (1+x^10)/((1-x)^2*(1-x^10)). ; 1,2,3,4,5,6,7,8,9,10,13,16,19,22,25,28,31,34,37,40,45,50,55,60,65,70,75,80,85,90,97,104,111,118,125,132,139,146,153,160,169,178,187,196,205,214,223,232,241,250,261,272,283,294,305,316,327,338,349,360,373,386,399,412,425,438,451,464,477,490,505,520,535,550,565,580,5...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x346c, %r10 nop nop cmp %rcx, %rcx mov $0x6162636465666768, %r12 movq %r12, (%r10) nop cmp %r8, %r8 lea addresses_UC_ht+0x846c, %rsi lea addresses_A_ht+0x1dd18, %rdi nop nop nop inc...
#include "wvlet.h" using namespace Eigen; using namespace std; wvlet::wvlet(int n1, int cNo1, int wNo1): n(n1), cNo(cNo1), wCNo(wNo1) { para.setZero(n + 1); } wvlet::wvlet(dataWin1 dW, int n1, int cNo1, int wNo1) : n(n1), cNo(cNo1), wCNo(wNo1)//investigate delegation { para.setZero(n + 1); }
#pragma once #include "DampEngine/Core/Macros/Log.hpp" #include <string> namespace Application { class IEventHandler { protected: std::string m_Type = "IEventHandler (this should not happen, oops...)"; public: IEventHandler(const std::string &type) : m_Type(type) {} virtual con...
; Increment and decrement the XL/XH register MOV D, 00000001b ADD XL, D SUB XH, D ; Move the content of the X register into the M register MOV M, X
; A077886: Expansion of (1-x)^(-1)/(1+2*x^3). ; 1,1,1,-1,-1,-1,3,3,3,-5,-5,-5,11,11,11,-21,-21,-21,43,43,43,-85,-85,-85,171,171,171,-341,-341,-341,683,683,683,-1365,-1365,-1365,2731,2731,2731,-5461,-5461,-5461,10923,10923,10923,-21845,-21845,-21845,43691,43691,43691,-87381,-87381,-87381,174763,174763,174763,-349525,-34...
;;; PLAYBALL3 PLAY INITIALIZER BASE EQU 0300H DRV0 EQU BASE + 0000H ; OPLL.BIN DRV1 EQU BASE + 247BH ; OPLL0.BIN BGM1 EQU BASE + 3A9AH ; OPLL1.BIN BGM2 EQU BASE + 4920H ; OPLL2.BIN BGM3 EQU BASE + 5795H ; OPLL3.BIN BGM4 EQU BASE + 66C0H ; OPLL4.BIN BGM5 EQU BASE + 6FC8H ; OPLL5.BIN DRV2 EQU BASE + 7DD0H ;...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x66ac, %rcx cmp %r10, %r10 movb $0x61, (%rcx) nop nop nop nop sub $54457, %r12 lea addresses_A_ht+0x1cd4c, %rsi nop cmp %r11, %r11 mov (%rsi), %r15d nop nop nop cmp $58402, %...
; A121008: Numerators of partial alternating sums of Catalan numbers scaled by powers of 1/(5*3^2) = 1/45. ; Submitted by Jon Maiga ; 1,44,1982,17837,4013339,60200071,2709003239,121905145612,658287786362,740573759652388,33325819184374256,1499661863296782734,67484783848355431042,607363054635198730798,3036815273175993713...
SFX_Battle_0F_Ch1: unknownnoise0x20 2, 225, 75 unknownnoise0x20 10, 241, 68 unknownnoise0x20 2, 225, 58 unknownnoise0x20 6, 241, 52 endchannel
dnl AMD64 mpn_addlsh1_n -- rp[] = up[] + (vp[] << 1) dnl Copyright 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public Licen...
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1c604, %rsi lea addresses_normal_ht+0x1bf4, %rdi clflush (%rdi) nop nop nop add %r14, %r14 mov $98, %rcx rep movsw nop nop nop nop add %r9, %r9 lea addresses_UC_ht+0x2ea6, %r1...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: Object FILE: objProcess.asm ROUTINES: Name Description ---- ----------- GLB ProcessClass Superclass of all processes REVISION HISTORY:...
/* Project: SSBRenderer File: virtualdub.cpp Copyright (c) 2015, Christoph "Youka" Spanknebel This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this soft...
; A184744: floor(nr+h), where r=1+1/e, h=1/2; complement of A184745. ; 1,3,4,5,7,8,10,11,12,14,15,16,18,19,21,22,23,25,26,27,29,30,31,33,34,36,37,38,40,41,42,44,45,47,48,49,51,52,53,55,56,57,59,60,62,63,64,66,67,68,70,71,72,74,75,77,78,79,81,82,83,85,86,88,89,90,92,93,94,96,97,98,100,101,103,104,105,107,108,109,111,112...
/* * WARNING: This file is the eptimome of deadline-induced bad practice.. while this definitely works, * it is far from elegant code, and is probably hard to read. You're welcome to use it as an example, * but I strongly suggest looking elsewhere. You have been warned. */ .macro draw_nametable name set_ppu_add...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r15 push %r9 push %rbp push %rbx push %rdx push %rsi // Store lea addresses_WC+0x8f42, %rbx nop nop nop xor %r11, %r11 mov $0x5152535455565758, %r9 movq %r9, (%rbx) nop add %rdx, %rdx // Store lea addresses_D+0x...
#include <string> #include <vector> #include "caffe/data_layers.hpp" #include "caffe/net.hpp" #include "caffe/util/io.hpp" namespace caffe { template <typename Dtype> BaseDataLayer<Dtype>::BaseDataLayer(const LayerParameter& param) : Layer<Dtype>(param), transform_param_(param.transform_param()) { } templ...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Onex Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "a...
/*============================================================================= Copyright (c) 2001-2010 Joel de Guzman Copyright (c) 2001-2010 Hartmut Kaiser http://spirit.sourceforge.net/ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at h...
; A307810: Expansion of 1/AGM(1-64*x, sqrt((1-16*x)*(1-256*x))). ; Submitted by Christian Krause ; 1,100,13924,2371600,453093796,92598490000,19745403216400,4333667896360000,971177275449892900,221106619001508490000,50967394891692703241104,11866732390447357481358400,2785834789480617203561744656,65854923516307400890440564...
; A308044: a(n) = 2*prevprime(2*n-1) - 2*n, where prevprime(n) is the largest prime < n. ; 0,0,2,4,2,8,10,8,14,16,14,20,18,16,26,28,26,24,34,32,38,40,38,44,42,40,50,48,46,56,58,56,54,64,62,68,70,68,66,76,74,80,78,76,86,84,82,80,94,92,98,100,98,104,106,104,110,108,106,104,102,100,98,124 mov $1,$0 mul $0,2 cal $0,308050...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x11896, %r9 nop inc %rbx mov $0x6162636465666768, %rdx movq %rdx, %xmm5 vmovups %ymm5, (%r9) nop nop sub %rdx, %rdx lea addresses_A_ht+0xd376, %rbx clflush (%rbx) nop nop nop ...
SECTION "Common Functions", ROM0 ;============================================================== ; Sets all values in OAM to zero. ;============================================================== ClearOAM:: ld hl, wShadowOAM ld b, OAM_COUNT * 4 xor a .clearOAM ld [hli], a dec b jr nz, .clearOAM ...
; A116952: a(n) = 3*a(n-1) + 5 with a(0) = 1. ; 1,8,29,92,281,848,2549,7652,22961,68888,206669,620012,1860041,5580128,16740389,50221172,150663521,451990568,1355971709,4067915132,12203745401,36611236208,109833708629,329501125892,988503377681,2965510133048,8896530399149 mov $1,3 pow $1,$0 div $1,2 mul $1,7 add $1,1
; A066927: Least k such that between p and 2p, for all primes > 3, there is always a number that is twice a square, i.e.; a k such that p < 2k^2 < 2p. ; 2,2,2,2,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,6,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,...
// Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 The Castle developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "obfuscation.h" #include "coi...
; A125729: Numbers whose base 7 representation is 555....5. ; 0,5,40,285,2000,14005,98040,686285,4804000,33628005,235396040,1647772285,11534406000,80740842005,565185894040,3956301258285,27694108808000,193858761656005,1357011331592040,9499079321144285 mov $1,7 pow $1,$0 div $1,6 mul $1,5
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1fc0, %rcx nop nop add $7440, %rax movb $0x61, (%rcx) nop nop nop nop and %rdi, %rdi lea addresses_WC_ht+0x16ea8, %rsi lea addresses_WC_ht+0xe8b2, %rdi nop nop sub $54922, %r13 mov $58, %rcx rep...
; A158490: 100n^2 - 10. ; 90,390,890,1590,2490,3590,4890,6390,8090,9990,12090,14390,16890,19590,22490,25590,28890,32390,36090,39990,44090,48390,52890,57590,62490,67590,72890,78390,84090,89990,96090,102390,108890,115590,122490,129590,136890,144390,152090,159990,168090,176390,184890,193590,202490,211590,220890,230390,240...
/****************************************************************************/ /* tdapi.c */ /* */ /* Transport driver - portable specific API */ ...
; A107891: a(n) = (n+1)*(n+2)^2*(n+3)^2*(n+4)*(3n^2 + 15n + 20)/2880. ; 1,19,155,805,3136,9996,27468,67320,150645,313027,611611,1134497,2012920,3436720,5673648,9093096,14194881,21643755,32310355,47319349,68105576,96479020,134699500,185562000,252493605,339663051,452103939,595852705,778102480,1007374016,1293704896,164885...
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2020, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
.text .global _start _start: mov $5, %ah mov $5, %al mov $5, %ax mov $5, %eax mov $5, %rax int $0x80
; unsigned char esx_f_close(unsigned char handle) SECTION code_esxdos PUBLIC esx_f_close EXTERN asm_esx_f_close defc esx_f_close = asm_esx_f_close
Route18Script: call EnableAutoTextBoxDrawing ld hl, Route18TrainerHeaders ld de, Route18ScriptPointers ld a, [wRoute18CurScript] call ExecuteCurMapScriptInTable ld [wRoute18CurScript], a ret Route18ScriptPointers: dw CheckFightingMapTrainers dw DisplayEnemyTrainerTextAndStartBattle dw EndTrainerBattle Route...
; A008611: a(n) = a(n-3) + 1, with a(0)=a(2)=1, a(1)=0. ; 1,0,1,2,1,2,3,2,3,4,3,4,5,4,5,6,5,6,7,6,7,8,7,8,9,8,9,10,9,10,11,10,11,12,11,12,13,12,13,14,13,14,15,14,15,16,15,16,17,16,17,18,17,18,19,18,19,20,19,20,21,20,21,22,21,22,23,22,23,24,23,24,25,24,25,26,25,26,27,26,27,28,27,28,29,28,29,30,29,30,31,30,31,32,31,32,33...
.nds .relativeinclude on .erroronwarning on .open "ftc/overlay9_27", 022E01A0h .org 0x022E01A0 push r4, r5, r14 ; Set the game state to 00 (loading a save file). mov r0, 0h ldr r4, =020F6284h str r0, [r4] ; Load the save file. mov r0, 0h ; Save file 0. bl 02042FA4h ldr r4, =021119A0h ; Set the are...
; ; ANSI Video handling for the Robotron Z1013 ; ; BEL - chr(7) Beep it out ; ; ; Stefano Bodrato - Aug 2016 ; ; ; $Id: f_ansi_bel.asm,v 1.1 2016-08-05 07:04:10 stefano Exp $ ; SECTION code_clib PUBLIC ansi_BEL ; No sound, for now! .ansi_BEL ret
; uint in_KeyPressed(uint scancode) SECTION code_clib PUBLIC in_KeyPressed PUBLIC _in_KeyPressed EXTERN in_keytranstbl ; Determines if a key is pressed using the scan code ; returned by in_LookupKey. ; enter : l = scan row, bit 7 = control, bit 6 = shift ; h = key mask ; exit : carry = key is pressed & HL ...
; A273405: Number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 673", based on the 5-celled von Neumann neighborhood. ; 1,4,21,44,77,116,165,220,285,356,437,524,621,724,837,956,1085,1220,1365,1516,1677,1844,2021,2204,2397,2596,2805,3020,3245,3476,3717,3964,422...
; A130692: a(n) is the smallest number m such that the sum of the digits of n+m is n. ; 0,0,0,0,0,0,0,0,0,9,18,27,36,45,54,63,72,81,180,279,378,477,576,675,774,873,972,1971,2970,3969,4968,5967,6966,7965,8964,9963,19962,29961,39960,49959,59958,69957,79956,89955,99954,199953,299952,399951 mov $2,$0 mov $3,$0 lpb $2,1 ...
//Program: Add R1 and R2, store in R3 @R1 D = M @R2 D = D + M @R3 M = D (:End) @:End 0;JMP
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2015 Intel Corporation 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 so...
; ColecoVision/Sega Controller Example ; Prints status of all controller buttons ; ; Copyright 2018 J.B. Langston ; ; 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 restrictio...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; SetMem64.Asm ; ; Abstract: ; ; SetMem64 function ; ; Notes: ; ;-------------------------------------...
; A047425: Numbers that are congruent to {3, 4, 5, 6} mod 8. ; 3,4,5,6,11,12,13,14,19,20,21,22,27,28,29,30,35,36,37,38,43,44,45,46,51,52,53,54,59,60,61,62,67,68,69,70,75,76,77,78,83,84,85,86,91,92,93,94,99,100,101,102,107,108,109,110,115,116,117,118,123,124 mov $1,$0 div $0,4 mul $0,4 add $1,$0 add $1,3
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * 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...
/** \file GuiTheme.cpp \author Morgan McGuire, http://graphics.cs.williams.edu \created 2008-01-01 \edited 2010-03-04 Copyright 2000-2010, Morgan McGuire All rights reserved */ #include "G3D/platform.h" #include "GLG3D/GuiTheme.h" #include "G3D/WeakCache.h" #include "GLG3D/RenderDevice.h" #include "G3D/TextIn...
db 0 ; species ID placeholder db 45, 55, 45, 75, 65, 45 ; hp atk def spd sat sdf db ICE, FLYING ; type db 45 ; catch rate db 183 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/delibird/fr...
#include "Item.h" #include <stdint.h> #include <QUuid> #include <xcb/xcb.h> Item::Item(ItemType type, const QString& path, QObject *parent) : QObject(parent) { this->setId(QUuid::createUuid().toString(QUuid::StringFormat::WithoutBraces)); // Initialize members. this->m_pinned = false; this->set...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2015, PickNik LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
/* Copyright (c) 2014-2015 Arduino LLC. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version....
; A181995: a(n) = if n mod 2 = 1 then n*(n - 1) else (n - 1)^2 + (n - 2)/2. ; 0,0,1,6,10,20,27,42,52,72,85,110,126,156,175,210,232,272,297,342,370,420,451,506,540,600,637,702,742,812,855,930,976,1056,1105,1190,1242,1332,1387,1482,1540,1640,1701,1806,1870,1980,2047,2162,2232,2352,2425,2550,2626,2756,2835,2970,3052,3192,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x1b201, %rsi lea addresses_WC_ht+0x19761, %rdi nop cmp $40576, %r11 mov $16, %rcx rep movsw nop nop nop nop nop and $44924, %r9 lea addresses_normal_ht+0x1e766, %rsi lea addresses_normal...
; A138988: a(n) = Frobenius number for 8 successive numbers = F(n+1,n+2,n+3,n+4,n+5,n+6,n+7,n+8). ; 1,2,3,4,5,6,7,17,19,21,23,25,27,29,47,50,53,56,59,62,65,91,95,99,103,107,111,115,149,154,159,164,169,174,179,221,227,233,239,245,251,257,307,314,321,328,335,342,349,407,415,423,431,439,447,455,521,530,539 mov $1,$0 add ...
; A105209: Nearest integer to the cube root of n. ; 1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5 add $0,2 mov $1,4 mov $2,6 mov $3,3 lpb $0 sub $0,1 t...
; A170260: Number of reduced words of length n in Coxeter group on 11 generators S_i with relations (S_i)^2 = (S_i S_j)^41 = I. ; 1,11,110,1100,11000,110000,1100000,11000000,110000000,1100000000,11000000000,110000000000,1100000000000,11000000000000,110000000000000,1100000000000000,11000000000000000,110000000000000000 ...
/* ///////////////////////////////////////////////////////////////////////// * File: stlsoft/util/std/iterator_generators.hpp (derived in part from stlsoft_iterator.h) * * Purpose: Iterator generator classes, and helper macros. * * Created: 2nd January 2000 * Updated: 10th August 2009 *...
/* * 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 <AzCore/Serialization/SerializeContext.h> #include <Atom/RHI.Reflect/ShaderInputNameIndex....
; ; Generic pseudo graphics routines for text-only platforms ; ; Written by Stefano Bodrato 30/01/2002 ; ; ; Plot pixel at (x,y) coordinate. ; ; ; $Id: plotpixl.asm $ ; INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC plotpixel EXTERN textpixl EXTERN __gfx...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x7bb5, %rsi lea addresses_WT_ht+0x14439, %rdi nop nop inc %r10 mov $24, %rcx rep movsb nop nop nop nop nop cmp $63030, %r10 lea addresses_UC_ht+0x74b5, %rsi clflush (%rsi) xor $41188, %rdi movw $0x6162, (%...
; A195173: a(n) = 5*n - floor(2n*r), where r=(1+sqrt(5))/2 (the golden ratio). ; 0,2,4,6,8,9,11,13,15,16,18,20,22,23,25,27,29,30,32,34,36,38,39,41,43,45,46,48,50,52,53,55,57,59,60,62,64,66,68,69,71,73,75,76,78,80,82,83,85,87,89,90,92,94,96,98,99,101,103,105,106,108,110,112,113,115,117,119,120,122,124,126,128,129,131,13...
[map symbols app_c.map] [SECTION .s32] BITS 32 call main mov edx, 4 ;返回内核 int 02Dh api_putchar: mov edx, 1 mov al, [esp + 4] int 02Dh ret api_putstr: ;void api_putstr(char* s) push ebx mov edx, 2 mov ebx, [ESP+8] int 02Dh pop ebx ret api_openwin: ;int api_openwin(char*buf, int xsiz,...
; A135516: a(0)=1; a(n) = (Product_{i=1..n} prime(i)^2) - 1, where prime(i) is the i-th prime. ; 1,3,35,899,44099,5336099,901800899,260620460099,94083986096099,49770428644836899,41856930490307832899,40224510201185827416899,55067354465423397733736099,92568222856376731590410384099,171158644061440576710668800200899,378089...
[SECTION .text] [GLOBAL read_cr0] read_cr0: push ebp mov ebp, esp mov eax, cr0 pop ebp retn [GLOBAL write_cr0] write_cr0: push ebp mov ebp, esp mov eax, dword[ebp+8] mov cr0, eax pop ebp retn [GLOBAL read_cr3] read_cr3: push ebp mov ebp, esp mov eax, cr3 pop ebp ...
; A154621: Primes congruent to 32 mod 67. ; Submitted by Jon Maiga ; 233,367,769,1171,1439,2243,2377,3181,3449,3583,3851,4253,4789,5861,6263,6397,7603,8273,9479,9613,11087,11489,12829,13499,13633,13901,14303,14437,15107,15241,15643,16447,17117,17519,17921,18457,18859,20333,21673,22343,23549,24889,25693,26497,28909,2931...
.model small .data .code mov ah, 1h ; 01h DOS interrupt for READ CHARACTER FROM STANDARD INPUT, WITH ECHO, character stored in al not ah! ah is for read only! int 21h ; execute the 21h interrupt mov dl, al ; move the character from al to dl mov ah, 2h ; 02h DOS interrupt for WRITE C...
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. 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 * * Unle...