text
stringlengths
1
1.05M
.start_fx_3dshape ; hacked mode7 version of Nick Jamesons 3d renderer EFFECT_3DSHAPE_ORG = * ;ORG &90 ; logic vars .space SKIP 1 .p SKIP 1 .f SKIP 1 .flicker SKIP 1 .pause SKIP 1 ;.culling SKIP 1 ; culling = 0=disabled, 255=enabled .cullingdb SKIP 1 ; culling key debounce .opt_filled SKIP 1 .opt_filled_db SKI...
; Combine 2 blocks with alpha blending and write result to screen ; (16 bit mode 32) ; v.1.01 make generalized (wl) ; v.1.00 first specialized version (destination was always screen) ; ; based on ; MK's sprite dropping code and on ; Move area (generalised PAN/SCROLL) ; section con xdef pt_cmbblk ; d0 s ...
.file "kernel.c" .code16gcc .intel_syntax noprefix .text .p2align 2,,3 .globl _schedule .def _schedule; .scl 2; .type 32; .endef _schedule: cmp WORD PTR _proCount, 1 je L20 mov ax, WORD PTR _nowPid cmp WORD PTR _ready, 0 je L22 .p2align 2,,3 L5: cmp ax, 4 jne L17 cmp BYTE PTR _pcbList+81, 0 jne L19 mo...
.p816 ; 65816 processor .i16 ; X/Y are 16 bits .a8 ; A is 8 bits .include "snes.asm" .segment "HEADER" ; +$7FE0 in file .byte "ROM NAME" ; ROM name. NOTE: Can be changed. .segment "ROMINFO" ; +$7FD5 in file .byte $30 ; LoROM, fast-capable .byte 0 ; no battery RAM ...
init_screen: // Make black screen ldx #$00 stx $d021 stx $d020 clear: lda #$20 // 'space' sta $0400,x sta $0500,x sta $0600,x sta $06e8,x // s...
;-------------------------------------------------------- ; File Created by SDCC : FreeWare ANSI-C Compiler ; Version 2.3.1 Wed Sep 04 21:56:19 2019 ;-------------------------------------------------------- .module strlen ;-------------------------------------------------------- ; Public variables in this module ;-...
dnl AMD64 mpn_lshift -- mpn left shift. dnl Copyright 2003, 2005, 2007, 2009, 2011, 2012, 2018 Free Software dnl 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 modify dnl it under the terms of either: dnl dnl * the GNU...
#pragma once #include "SDADriver.hpp" #define CREATE_AI_INTERFACE_IMPLEMENTATION(p_type) \ template AIInterface<p_type>::AIInterface(PCWSTR p_ip, int p_port); /// @brief Default constructor of SDA driver /// @param p_ip The server ip /// @param p_port The server port template <class PointerManager> AIInte...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x16382, %r8 clflush (%r8) nop nop nop nop nop cmp $8430, %r11 mov (%r8), %ecx cmp $1250, %r8 lea addresses_normal_ht+0x102c2, %rsi lea addresses_WC_ht+0x14f40, %rdi nop dec %r...
#pragma once #include <bunsan/broker/task/channel.hpp> #include <turtle/mock.hpp> namespace bunsan { namespace broker { namespace task { MOCK_BASE_CLASS(mock_channel, channel) { MOCK_METHOD(send_status, 1, void(const Status &status)) MOCK_METHOD(send_result, 1, void(const Result &result)) }; } // namespace ta...
#include <cstdlib> #include <iostream> #include <RcppArmadillo.h> #include <RcppEigen.h> #include <wishart.h> #include <mvnorm.h> #include <cmath> // [[Rcpp::depends(RcppArmadillo, RcppEigen)]] using namespace arma; using namespace Eigen; using namespace Rcpp; //' Adjust matrix to be symmetric //' //' @param myMat A...
; Test case: ; this case is tricky, since there is a circular dependency between START, CODE_END and CODE_START START: equ #8000 - (CODE_END - CODE_START) org START CODE_START: loop: jr loop CODE_END: db START
; example assembly programm for tests TEST: MVI A,00011100 ; 28 MOV A,B ANA B ADD A SUB A INR A DCR A ADI 10011001 ; -103 LABEL: STC CMC CMA ADC C ACI 00001100 ; 12 SUI 00001100 ; 12 RLC RRC RA...
; A094213: a(n) = Sum_{k=0..n} binomial(9*n,9*k). ; Submitted by Christian Krause ; 1,2,48622,9373652,9263421862,3433541316152,2140802758677844,984101481334553024,536617781178725122150,265166261617029717011822,138567978655457801631498052,70126939586658252408697345838,36144812798331420987905742371116,1843599422644952927...
; A251599: Centers of rows of the triangular array formed by the natural numbers. ; 1,2,3,5,8,9,13,18,19,25,32,33,41,50,51,61,72,73,85,98,99,113,128,129,145,162,163,181,200,201,221,242,243,265,288,289,313,338,339,365,392,393,421,450,451,481,512,513,545,578,579,613,648,649,685,722,723,761,800,801,841,882,883,925,968,969...
; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; Unsigned divide of r1 by r0: returns quotient in r0, remainder in r1 ; Destroys a3, a4 ; IMPORT __rt_div0 AREA |.text|, CODE, READONLY EXPORT |__rt_udiv| [FUNC] |__rt_udiv| MOV a4, #0 MOVS a3, r0 BEQ DivideByZero ...
/* * ClusterController.actor.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2019 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
/*** * ==++== * * Copyright (c) Microsoft Corporation. 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 req...
; Immediately after the naming screen, this game accidentally writes to ROM memory. ; It's unclear if this should be ignored or actually trigger EEPROM behavior. ; ; In no$gba, it triggers no$gba to queue some bits which ultimately causes a crash ; when attempting to save at any point in the game. ; ; In each case, a 1...
%include 'system.inc' section .data hello db 'Hello, world!', 0Ah hbytes equ $-hello section .text global _start _start: push dword hbytes push dword hello push dword stdout sys.write push dword 0 sys.exit
; Implemented by MaikuZ ; Licensed under: CC-BY-4.0 ; HeapSort in assembly ; entry point is void sort(long * data, unsigned long size); BITS 64 SECTION .text GLOBAL sort shift_down:; rdi -> data, rsi -> arg_2 mov rdx,rsi; k := arg_2 while_shift_down: mov rcx,rdx; j := k ;if(2*j <= n) and T[2*j]...
// Copyright (c) 2009-2014 Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" // for pwalletMain #include "bitcoinrpc.h" #include "ui_interface.h" #include "base58.h" #include <boost/lexica...
; A059502: a(n) = (3*n*F(2n-1) + (3-n)*F(2n))/5 where F() = Fibonacci numbers A000045. ; 0,1,3,9,27,80,234,677,1941,5523,15615,43906,122868,342409,950727,2631165,7260579,19982612,54865566,150316973,411015705,1121818311,3056773383,8316416134,22593883752,61301547025,166118284299,449639574897,1215751720491,3283883157848,8...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WC_ht+0xa1e8, %rsi lea addresses_WT_ht+0x1b8a8, %rdi nop nop nop sub $17322, %r8 mov $54, %rcx rep movsb sub $12537, %r8 lea addresses_normal_ht+0xfae8, %r14 nop nop nop and %r8, %r8 movups (%r14), %xmm...
#include "sphere.hpp" #include <GL/gl.h> #include <array> #include <cmath> namespace { constexpr float m_pi = 3.1415926535897932384626433832795028; auto getVertexArr = [](int i, int j, float dtheta, float dphi) { std::array<float, 18> v_arr = { cosf(i * dtheta) * sinf(j * dphi), cosf(j * dphi), sinf(i * dtheta)...
SndCD_Switch_Header: smpsHeaderStartSong 1 smpsHeaderVoice SndCD_Switch_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cPSG3, SndCD_Switch_PSG3, $00, $00 ; PSG3 Data SndCD_Switch_PSG3: dc.b nBb4, $02 smpsStop ; Song seems to not use any FM voices SndCD_Switch_Voices:
; A059159: A hierarchical sequence (W'2{2}*c) - see A059126). ; 4,8,4,16,4,8,4,32,4,8,4,16,4,8,4,64,4,8,4,16,4,8,4,32,4,8,4,16,4,8,4,128,4,8,4,16,4,8,4,32,4,8,4,16,4,8,4,64,4,8,4,16,4,8,4,32,4,8,4,16,4,8,4,256,4,8,4,16,4,8,4,32,4,8,4,16,4,8,4,64,4,8,4,16,4,8,4,32,4,8,4 add $0,1 gcd $0,64 mov $1,$0 mul $1,4
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x19e25, %rsi nop xor %rcx, %rcx mov $0x6162636465666768, %r14 movq %r14, %xmm6 movups %xmm6, (%rsi) nop nop sub %r8, %r8 lea addresses_normal_ht+0x1d625, %rdi nop cmp %rsi, %rs...
;delay for a number of ms (specified by acc) delay: mov r0, a dly2: mov r1, #230 dly3: nop nop nop ;6 NOPs + DJNZ is 4.34 us nop ;with the 22.1184 MHz crystal nop nop djnz r1, dly3 ;repeat 230 t...
; A040557: Continued fraction for sqrt(582). ; 24,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48,8,48 sub $0,1 mod $0,2 mul $0,10 add $0,2 pow $0,2 div $0,26 mul $0,8 add $0,8
/* ********************************************************** * Copyright (c) 2011-2015 Google, Inc. All rights reserved. * Copyright (c) 2001-2010 VMware, Inc. All rights reserved. * ********************************************************** */ /* * Redistribution and use in source and binary forms, with or wit...
; A091760: 0^n+3((n+2)^n/(n+3)-(-1)^n/(n+3)). ; Submitted by Christian Krause ; 1,3,9,63,555,6303,87381,1434891,27272727,589486923,14288622513,384034370151,11338782475059,364911575317383,12716046006693165,477070508584969299,19174662804725408175,822058028667720327891 mov $1,$0 add $0,2 pow $0,$1 mul $0,3 div $0,2 add $...
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rax push %rdx lea addresses_WT_ht+0x1a186, %r8 sub $24543, %rdx mov (%r8), %eax cmp %r8, %r8 pop %rdx pop %rax pop %r8 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r15 push %rax push %rdi push %rdx // Store lea addresses_P...
_Lab4Text_75dc6:: text "Hiya!" para "I am important" line "doctor!" para "I study here rare" line "#MON fossils!" para "You! Have you a" line "fossil for me?" prompt _Lab4Text_75dcb:: text "No! Is too bad!" done _Lab4Text_75dd0:: text "I take a little" line "time!" para "You go for walk a" line "lit...
############################################################################### # 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...
; A161122: Number of cycles with entries of the same parity in all fixed-point-free involutions of {1,2,...,2n}. ; 0,0,2,18,180,2100,28350,436590,7567560,145945800,3101348250,72020198250,1814908995900,49332526343100,1438865351673750,44826189802143750,1485668004871050000,52196469237802890000,1937793920453432291250,75801...
; A097828: Partial sums of Chebyshev sequence S(n,13)= U(n,13/2)=A078362(n). ; Submitted by Jamie Morken(s1) ; 1,14,182,2353,30408,392952,5077969,65620646,847990430,10958254945,141609323856,1829962955184,23647909093537,305592855260798,3949059209296838,51032176865598097,659469240043478424 add $0,1 lpb $0 sub $0,1 m...
// This file was automatically generated on Thu May 29 07:24:54 2008 // by libs/config/tools/generate.cpp // Copyright John Maddock 2002-4. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost....
; A159697: a(0)=9, a(n) = 2*a(n-1) + 2^(n-1) for n > 0. ; 9,19,40,84,176,368,768,1600,3328,6912,14336,29696,61440,126976,262144,540672,1114112,2293760,4718592,9699328,19922944,40894464,83886080,171966464,352321536,721420288,1476395008,3019898880,6174015488,12616466432,25769803776,52613349376,107374182400,219043332096,4...
// // Read TAffineTable.txt file and create table of pairwise XY-offsets. // #include "Cmdline.h" #include "File.h" #include "TAffine.h" #include <math.h> /* --------------------------------------------------------------- */ /* Macros -------------------------------------------------------- */ /* ------------------...
// // A small hello world // // write Leros to the UART // nop // first instruction is not executed start: load 76 store r0 load <send nop jal r1 load 101 store r0 load <send nop jal r1 load 114 store r0 load <send nop jal r1 load 111 store r0 load <send nop jal r1 load 115 store r0 load ...
; lzo1c_s1.asm -- lzo1c_decompress_asm ; ; This file is part of the LZO real-time data compression library. ; ; Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2005 Markus...
/* * Copyright (c) 2017, Intel Corporation * * 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, publi...
; A228310: The hyper-Wiener index of the hypercube graph Q(n) (n>=2). ; 10,72,448,2560,13824,71680,360448,1769472,8519680,40370176,188743680,872415232,3992977408,18119393280,81604378624,365072220160,1623497637888,7181185318912,31610959298560,138538465099776,604731395276800,2630031813640192 mov $1,25 mov $3,5 add $3,$0...
#include <stdexcept> #include <string> #include "OnlineDB/Oracle/interface/Oracle.h" #include "OnlineDB/EcalCondDB/interface/FEConfigFgrGroupDat.h" #include "OnlineDB/EcalCondDB/interface/FEConfigFgrInfo.h" using namespace std; using namespace oracle::occi; FEConfigFgrGroupDat::FEConfigFgrGroupDat() { m_env = null...
// MIT license see full LICENSE text at end of file #include "DirectDrawSurface.h" #include "ColorBlock.h" #include "Image.h" #include "BlockDXT.h" #include "PixelFormat.h" #include "nvcore/Debug.h" #include "nvcore/Utils.h" // max #include "nvcore/StdStream.h" #include "nvmath/Vector.inl" #include "nvmat...
BITS 32 section .text foo: fadd dword [eax] fsub qword [ebx] fsubr st0, st4 fmul st7, st0 fdiv dword [eax] fdivr qword [ebx] fdivrp st2, st0 fdivp st2, st0 fmulp st2, st0 fsubp st3, st0 fsubrp st2, st0 faddp st4, st0 fimul dword [eax] fiadd word [ebx] fidiv word [ebx] fidivr dword [eax] fisub word [ebx] fisubr dword [e...
; A225810: a(n) = (10^n)^2 + 4*(10^n) + 1. ; 6,141,10401,1004001,100040001,10000400001,1000004000001,100000040000001,10000000400000001,1000000004000000001,100000000040000000001,10000000000400000000001,1000000000004000000000001,100000000000040000000000001,10000000000000400000000000001,1000000000000004000000000000001,100...
; ******************************************************************************************************************************************************************* ; ********************************************************************************************************************************************************...
; A254377: Characteristic function of A230709: a(n) = 1 if n is either evil (A001969) or even odious (A128309), otherwise 0 (when n is odd odious). ; 1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,...
;============================================================================== ; Constants StarsNumColumns = 40 Stars1stCharacter = 72 StarsNumFrames = 8 ;============================================================================== ; Variables starsYCharArray byte 15, 6, ...
// This is the implementation of the event handlers. // // Copyright (c) 2020 Riverbank Computing Limited <info@riverbankcomputing.com> // // This file is part of PyQt5. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appear...
/* ** intermission.cpp ** Framework for intermissions (text screens, slideshows, etc) ** **--------------------------------------------------------------------------- ** Copyright 2010 Christoph Oelckers ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, ar...
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2003, University of Surrey // This code may be redistributed under the terms of the GNU // General Public License (GPL). See the gpl.licence file for details or // see http://www.gnu.org/copyleft/gpl.html // file-header-ends-here namespace...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #include "pch.h" #include "common.h" #include "Vector.h" #include "Scroller.h" #include "ScrollerTrace.h" #include "ScrollerAnchorRequestedEventArgs.h" Sc...
; A265172: Binary representation of the n-th iteration of the "Rule 90" elementary cellular automaton starting with a single ON cell. ; 1,101,10001,1010101,100000001,10100000101,1000100010001,101010101010101,10000000000000001,1010000000000000101,100010000000000010001,10101010000000001010101,1000000010000000100000001,10...
; A179905: (1, 4, 7, 10, 13,...) convolved with (1, 0, 4, 7, 10, 13...); given A016777 = (1, 4, 7, 10, 13,...). ; Submitted by Jamie Morken(s4) ; 1,4,11,33,79,158,279,451,683,984,1363,1829,2391,3058,3839,4743,5779,6956,8283,9769,11423,13254,15271,17483,19899,22528,25379,28461,31783,35354,39183,43279,47651,52308,57259,6...
; =============================================================== ; October 2014 ; =============================================================== ; ; ssize_t write(int fd, const void *buf, size_t nbyte) ; ; Write nbyte bytes to the stream. ; ; =============================================================== INCLUDE ...
title ullshr - long shift right ;*** ;ullshr.asm - long shift right ; ; Copyright (c) 1985-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; define unsigned long shift right routine ; __aullshr ; ;Revision History: ; 11-??-83 HS initial version ; 11-30-83 DFW added medium model support...
#include <bits/stdc++.h> #define le 1000 using namespace std; int n[le >> 6]; vector<int> v; #define ck(ve) (n[ve >> 6] & (1 << ((ve >> 1) & 31))) #define st(ve) (n[ve >> 6] |= (1 << ((ve >> 1) & 31))) void se(){ int rt = sqrt(le) + 1, k; for(int i = 3; i < rt; i += 2) if(!ck(i)) for(int j = i * i, k = i << 1; ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1a479, %rsi lea addresses_D_ht+0x1ea77, %rdi clflush (%rsi) nop nop nop nop nop dec %rax mov $33, %rcx rep movsw nop nop nop nop nop cmp $23780, %r11 lea addresses_WC_ht+0xf...
; menu.asm SetupMenu proc call ClsAttr ; Call another named procedure to do a fast CLS (like GOSUB) Print(MenuText, MenuText.Length); Print attributes on the screen using ROM routines ld hl, Font.Namco ...
; A088922: Consider the n X n matrix with entries (i*j mod n), where i,j=0..n-1; a(n) = rank of this matrix over the real numbers. ; 0,1,2,3,3,5,4,6,6,7,6,10,7,9,10,11,9,13,10,14,13,13,12,18,14,15,16,18,15,21,16,20,19,19,20,25,19,21,22,26,21,27,22,26,27,25,24,32,26,29,28,30,27,33,30,34,31,31,30,40,31,33,36,37,35,39,34,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xda10, %rbx nop nop add %rdi, %rdi mov $0x6162636465666768, %r12 movq %r12, %xmm4 movups %xmm4, (%rbx) nop nop nop nop nop xor %rsi, %rsi lea addresses_WC_ht+0x1d610, %rsi lea ...
; A052899: Expansion of g.f.: ( 1-2*x ) / ((x-1)*(4*x^2+2*x-1)). ; 1,1,5,13,45,141,461,1485,4813,15565,50381,163021,527565,1707213,5524685,17878221,57855181,187223245,605867213,1960627405,6344723661,20531956941,66442808525,215013444813,695798123725,2251650026701,7286492548301,23579585203405,76305140600013,2469286220136...
@Assembly code to set x22 if 2<5 .main: addi x20, x0, 2 addi x21, x0, 5 slt x22, x20, x21 .print x22 end
// // Representation of one CRSScintillatorBar in CosmicRayShield // // // Original author KLG // #include <sstream> #include "Offline/CosmicRayShieldGeom/inc/CRSScintillatorBar.hh" #include "Offline/CosmicRayShieldGeom/inc/CosmicRayShield.hh" namespace mu2e { CRSScintillatorBar::CRSScintillatorBar(CRSScintillat...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x4527, %rdx nop nop nop add %r9, %r9 movb (%rdx), %r12b add $63812, %r12 lea addresses_UC_ht+0x11c53, %rsi nop nop nop cmp %rbp, %rbp mov (%rsi), %rdx add $34678, %rbp lea addr...
; A333251: Tropical version of Somos-5 sequence A006721. ; -1,0,0,0,0,1,1,1,2,3,3,4,5,6,6,8,9,10,11,13,14,15,17,19,20,22,24,26,27,30,32,34,36,39,41,43,46,49,51,54,57,60,62,66,69,72,75,79,82,85,89,93,96,100,104,108,111,116,120,124,128,133,137,141,146,151 mov $1,$0 lpb $1 sub $0,1 sub $1,2 add $0,$1 lpe add $0,$1 ...
/* * Copyright (c) 2017 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...
// Copyright 2011 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 "config.h" #include "cc/tiled_layer.h" #include "cc/bitmap_content_layer_updater.h" #include "cc/layer_painter.h" #include "cc/overdraw_metrics...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x1cc10, %r8 nop xor %r12, %r12 mov $0x6162636465666768, %rbp movq %rbp, (%r8) nop nop nop nop xor $14389, %r13 lea addresses_WC_ht+0x15324, %r13 nop nop nop nop nop s...
;; TI File $Revision: /main/1 $ ;; Checkin $Date: July 30, 2007 10:29:23 $ ;;########################################################################### ;; ;; FILE: ADC_cal.asm ;; ;; TITLE: 2833x Boot Rom ADC Cal routine. ;; ;; Functions: ;; ;; _ADC_cal - Copies device specific calibration data into ADCREFSE...
; A008507: Number of odd composite numbers less than n-th odd prime. ; 0,0,0,1,1,2,2,3,5,5,7,8,8,9,11,13,13,15,16,16,18,19,21,24,25,25,26,26,27,33,34,36,36,40,40,42,44,45,47,49,49,53,53,54,54,59,64,65,65,66,68,68,72,74,76,78,78,80,81,81,85,91,92,92,93,99,101,105,105,106,108,111,113,115,116,118 mov $2,$0 seq $0,98090 ;...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x4e8e, %r8 nop nop nop nop nop and $38543, %rsi movw $0x6162, (%r8) nop nop nop nop nop xor $20391, %rcx lea addresses_WC_ht+0x56ae, %r11 clflush (%r11) nop nop nop sub %r...
; A113894: a(n) = binomial(2*n, n) * binomial(5+2*n, n). ; 1,14,216,3300,50050,756756,11435424,172931616,2618916300,39731777800,603923022560,9197348345640,140334704005860,2145155731845000,32847841152720000,503812888080163200,7739375660195721300,119063197872768778200,1834199559285273180000,28292909268365772030000,436955...
/*============================================================================= Copyright (c) 2001-2006 Joel de Guzman 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) ====================================...
; A193218: Number of vertices in truncated tetrahedron with faces that are centered polygons. ; 1,21,95,259,549,1001,1651,2535,3689,5149,6951,9131,11725,14769,18299,22351,26961,32165,37999,44499,51701,59641,68355,77879,88249,99501,111671,124795,138909,154049,170251,187551,205985,225589,246399,268451,291781,316425,34241...
; A307424: Dirichlet g.f.: zeta(3*s) / zeta(2*s). ; 1,0,0,-1,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,1,0,0,0,0,-1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 add $0,1 pow $0,2 sub $0,1 seq $0,210826 ; G.f.: Sum_{n>=1} a...
db DEX_GENGAR ; pokedex id db 60, 65, 60, 110, 130 ; hp atk def spd spc db GHOST, POISON ; type db 45 ; catch rate db 190 ; base exp INCBIN "gfx/pokemon/front/gengar.pic", 0, 1 ; sprite dimensions dw GengarPicFront, GengarPicBack db LICK, CONFUSE_RAY, NIGHT_SHADE, NO_MOVE ; level 1 learnset db GR...
; DV3 JAVA Floppy Disk Initialisation 0.00 @ 214 W. Lenerz ; based on ; DV3 QXL Floppy Disk Initialisation V3.00  1992 Tony Tebby section dv3 xdef fd_init xref.l fd_vers xref.s fd.rev xref dv3_link xref gu_achpp xref gu_rchp include 'dev8_dv3_keys' include 'dev8_dv3_fd_keys' include 'dev8_dv3_mac' ...
//===-- sanitizer_stacktrace_libcdep.cc -----------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
; A120846: a(n) = 3^n + 2^n + n. ; 2,6,15,38,101,280,799,2322,6825,20204,60083,179206,535549,1602528,4799367,14381690,43112273,129271252,387682651,1162785774,3487832997,10462450376,31385253935,94151567458,282446313721,847322163900,2541932937219,7625731702742,22877060890445,68630914235824,205892205836503,617675543767626...
; A256759: Nonpositive part of the minimal alternating triangular-number representation of n (defined at A255974). ; 0,1,0,3,1,0,3,3,1,0,7,3,3,1,0,6,7,3,3,1,0,6,6,7,3,3,1,0,10,6,6,7,3,3,1,0,11,10,6,6,7,3,3,1,0,10,11,10,6,6,7,3,3,1,0,10,10,11,10,6,6,7,3,3,1,0,18,10,10,11,10,6,6,7,3,3,1,0,15,18,10,10,11,10,6,6,7,3,3,1,0,...
; A283648: Binary representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 705", based on the 5-celled von Neumann neighborhood. ; Submitted by Jamie Morken(s2) ; 1,0,111,1101,11100,111101,1111100,11111101,111111100,1111111101...
; A127918: Half of product of three numbers: n-th prime, previous and following number. ; Submitted by Jon Maiga ; 3,12,60,168,660,1092,2448,3420,6072,12180,14880,25308,34440,39732,51888,74412,102660,113460,150348,178920,194472,246480,285852,352440,456288,515100,546312,612468,647460,721392,1024128,1123980,1285608,13427...
#include "ksp_plugin/interface.hpp" #include "journal/method.hpp" #include "journal/profiles.hpp" #include "ksp_plugin/iterators.hpp" #include "ksp_plugin/plugin.hpp" #include "ksp_plugin/renderer.hpp" #include "physics/discrete_trajectory.hpp" namespace principia { namespace interface { using ksp_plugin::Renderer;...
;; @file ; IPRT - ASMGetDS(). ; ; ; Copyright (C) 2006-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 modify it under the terms of the GNU ; General Public License (GPL) a...
#include <fc/smart_ref_impl.hpp> #include <graphene/chain/contract_evaluator.hpp> #include <graphene/chain/database.hpp> #include <graphene/chain/protocol/operations.hpp> #include <graphene/chain/protocol/fee_schedule.hpp> #include <graphene/chain/protocol/name.hpp> #include <graphene/chain/protocol/contract_receipt....
;Parallel Ports & LED Display ;Daniel Noyes, Andrew Haas, Benjamin Doiron ;Group 11, Lab 5, March 13th, 2013 ;*************************************************************************** ;Revision Notes; ; ;*************************************************************************** ; export symbols XDEF Entry, _S...
; A136322: a(n) is the ceiling of 2^n * (sqrt(2)-1), i.e., a(n)-1 is the number whose binary representation gives the first n bits of sqrt(2)-1. ; Submitted by Jon Maiga ; 1,2,4,7,14,27,54,107,213,425,849,1697,3394,6787,13573,27146,54292,108584,217168,434335,868669,1737338,3474676,6949351,13898701,27797402,55594804,111...
; ; ZX Spectrum OPUS DISCOVERY specific routines ; ; Stefano Bodrato - Jun. 2006 ; ; This routine get the kempston joystick emulation status. ; ; $Id: get_kempston.asm,v 1.2 2015/01/19 01:33:10 pauloscustodio Exp $ ; PUBLIC get_kempston get_kempston: call $1708 ; page_in ld a,($3000) and 128 ld hl,0 and a ...
#ifndef FSLSERVICE_IMPL_PRIORITY_HPP #define FSLSERVICE_IMPL_PRIORITY_HPP /**************************************************************************************************************************************************** * Copyright (c) 2014 Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution...
; A320895: a(n) = Sum_{k=1..n} k^3 * tau(k), where tau is A000005. ; 1,17,71,263,513,1377,2063,4111,6298,10298,12960,23328,27722,38698,52198,72678,82504,117496,131214,179214,216258,258850,283184,393776,440651,510955,589687,721399,770177,986177,1045759,1242367,1386115,1543331,1714831,2134735,2236041,2455529,2692805,3204...
; Bouncing ball by Matthew B Rossner ; October 13 2021 ; ; This is just a little learning project. ; I had done some assembly programming on Motorola 6809 ; back in the day but haven't done much since then. ; Thanks to YouTube I've become interested in the 6502 ; and decided I want to learn how to program for that, jus...
; A348044: The nearest common ancestor of n and n^2 in the Doudna tree (A005940). ; Submitted by Jon Maiga ; 1,2,2,4,2,2,2,8,4,2,2,2,2,2,2,16,2,4,2,2,2,2,2,2,4,2,8,2,2,2,2,32,2,2,2,4,2,2,2,2,2,2,2,2,2,2,2,2,4,4,2,2,2,8,2,2,2,2,2,2,2,2,2,64,2,2,2,2,2,2,2,4,2,2,4,2,2,2,2,2,16,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4,2,4 seq $0...
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: get_para.asm,v 1.4 2016-06-22 19:50:49 dom Exp $ ; SECTION smc_fp INCLUDE "target/cpc/def/cpcfp.def" PUBLIC get_para EXTERN fa .get_para ld hl,4 add hl,sp ld de,fa ;(fa) ...
// Sh: A GPU metaprogramming language. // // Copyright (c) 2003 University of Waterloo Computer Graphics Laboratory // Project administrator: Michael D. McCool // Authors: Zheng Qin, Stefanus Du Toit, Kevin Moule, Tiberiu S. Popa, // Michael D. McCool // // This software is provided 'as-is', without any expre...
.n64 .relativeinclude on // version guard, prevent people from building with older armips versions .if (version() < 101) .notice version() .error "Detected armips build is too old. Please install https://github.com/Kingcom/armips from HEAD, then locally remove this notice, or increase the ARMIPS_VERSION_REVISION in ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x175b9, %rsi lea addresses_WC_ht+0x1438f, %rdi nop nop nop nop cmp $34649, %r11 mov $96, %rcx rep movsq nop nop nop nop nop xor $38333, %r8 lea addresses_A_ht+0x450f, %rsi lea addres...