text
stringlengths
1
1.05M
; Test case: ; - line 5 (cp 1), should NOT be optimized, as the value of "a" is used later in function1 (defined in example5-include.asm) ld a,(value) cp 1 call z,function1 ld a,2 ld (value),a end: jp end include "test5-include.asm" value: db 1
; Original address was $B405 ; World 1 Hammer Bro battle B .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG .byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKED .byte LEVEL...
// seed 2 lbi r0, 84 // icount 0 slbi r0, 166 // icount 1 lbi r1, 190 // icount 2 slbi r1, 160 // icount 3 lbi r2, 156 // icount 4 slbi r2, 28 // icount 5 lbi r3, 244 // icount 6 slbi r3, 35 // icount 7 lbi r4, 75 // icount 8 slbi r4, 181 // icount 9 lbi r5, 188 // icount 10 slbi r5, 239 // icount 11 lbi r6, 139 // ico...
db DEX_ABRA ; pokedex id db 25 ; base hp db 20 ; base attack db 15 ; base defense db 90 ; base speed db 105 ; base special db PSYCHIC ; species type 1 db PSYCHIC ; species type 2 db 200 ; catch rate db 73 ; base exp yield INCBIN "pic/ymon/abra.pic",0,1 ; 55, sprite dimensions dw AbraPicFront dw AbraPicBack ; attacks kn...
lw $t0, 1000
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens 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....
;; File: instruction.asm ;; Description: Contains all instructions for PA5 ;; Author: Chris Wilcox ;; Date: 11/1/2010 .ORIG x3000 ; list of simple instructions, none dealt with labels ADD R3,R2,R1 ; ADD instruction ADD R3,R2,#-5 ; ADD inst...
tilecoll 01, 01, 01, 01 ; 00 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01 tilecoll FLOOR, FLOOR, FLOOR, WALL ; 02 tilecoll FLOOR, FLOOR, WALL, FLOOR ; 03 tilecoll FLOOR, FLOOR, WARP_CARPET_DOWN, WARP_CARPET_DOWN ; 04 tilecoll UP_WALL, UP_WALL, FLOOR, FLOOR ; 05 tilecoll FLOOR, WALL, FLOOR, FLOOR ; 06 tilecoll WALL,...
lda {c1},y sta {c1},x
; Declare constants for the multiboot header. MBALIGN equ 1 << 0 ; align loaded modules on page boundaries MEMINFO equ 1 << 1 ; provide memory map FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the head...
#include <iostream> #include <iomanip> using namespace std; int main() { int paycode; int hours_worked = 0; int countManager = 0; int countHourlyWorker = 0; int countCommissionWorker = 0; double salary, hourlysalary, grossWeeklySalaryCommission; double p, q, l, s, z; cout << "Enter Paycod...
/* * This file is part of the MAVLink Router project * * Copyright (C) 2016 Intel 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://ww...
; A051398: a(n) = -(n-3)*a(n-1)+2*(n-2)^2. ; 2,6,6,14,-6,102,-514,3726,-29646,267014,-2669898,29369166,-352429654,4581585894,-64142202066,962133031502,-15394128503454,261700184559366,-4710603322067866,89501463119290254 add $0,6 mov $2,5 lpb $0,1 sub $0,1 mul $1,$2 sub $1,1 sub $2,1 lpe sub $1,$2 div $1,2 mul $...
.data mval: .quad 664751 dval: .quad 8 .text .global _start _start: # MUL 1-op mov mval(%rip), %rax mov $8, %rbx mul %rbx # IMUL 1-op mov mval(%rip), %rax mov $8, %rbx imul %rbx # IMUL 2-op mov $8, %rax imul mval(%rip), %rax # IMUL 3-op imul $8, mval(%rip), %rax ...
// Copyright (c) 2012 The Chromium OS 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 "login_manager/session_manager_impl.h" #include <errno.h> #include <stdint.h> #include <sys/socket.h> #include <algorithm> #include <ite...
#include "../core/global.h" #include "../core/config_parser.h" #include "../core/timer.h" #include "../dataio/sgf.h" #include "../search/asyncbot.h" #include "../program/setup.h" #include "../program/playutils.h" #include "../program/play.h" #include "../command/commandline.h" #include "../main.h" using namespace std;...
/** * Copyright - See the COPYRIGHT that is included with this distribution. * pvAccessCPP is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. */ #include <epicsSignal.h> #include <pv/lock.h> #include <pv/timer.h> #include <pv/thread.h> #include ...
; A201471: Maximal diameter of a connected n-gamma_t-vertex-critical graph. ; 3,4,6,7,9,11,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,129,131,133,135,137,139,141,143,145,147,149,...
; ; RCM2/3000 Stdio ; ; $Id: fgetc_cons.asm,v 1.3 2016/06/12 17:32:01 dom Exp $ ; SECTION code_clib PUBLIC fgetc_cons PUBLIC _fgetc_cons EXTERN rcmx000_cnvtab EXTERN __recvchar .fgetc_cons ._fgetc_cons ; extern int __LIB__ fgetc(FILE *fp); ; return result in HL, when done ; We ignore FILE* fp (in BC)...
; A239462: A239459(n) / n. ; 11,41,91,161,251,361,491,641,811,10001,12101,14401,16901,19601,22501,25601,28901,32401,36101,40001,44101,48401,52901,57601,62501,67601,72901,78401,84101,90001,96101,102401,108901,115601,122501,129601,136901,144401,152101,160001,168101,176401,184901,193601,202501,211601,220901,230401,240101,...
loop: $0 -> rob@in0 loop -> cu@in1 rob@out -> cu@in0
; A051834: Fibonacci(Pn-1) mod Pn, where Pn is the n-th prime. ; 1,1,3,1,0,1,1,0,1,0,0,1,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,0,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,0,1,0,0,0,1,1,0,0,1,0,1,1,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0,0,1,0 seq $0,79704 ; a(n) = 2*prime(n)^2. sub $0,1 seq $0,10...
; A280843: a(n) = A049502(sigma(n)). ; 0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,2,3,3,6,0,3,0,0,0,6,4,0,0,4,0,0,0,3,0,7,3,0,0,7,6,0,4,8,4,4,0,0,1,6,4,2,3,0,4,0,5,7,0,10,0,0,4,0,8,5,3,0,0,5,4,2,6,2,0,4,0,10,5,8,1,0,8,0,4,3,0,9,7,6,0,10,0,5,0,0,2,12,5,6 seq $0,203 ; a(n) = sigma(n), the sum of the divisors of n. Also called sigm...
dnl AMD K7 mpn_lshift -- mpn left shift. dnl dnl K7: 1.21 cycles/limb (at 16 limbs/loop). dnl Copyright (C) 1999, 2000 Free Software Foundation, Inc. dnl 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 dnl modify it under the terms of t...
; A202391: Indices of the smallest of four consecutive triangular numbers summing up to a square. ; Submitted by Simon Strandgaard ; 5,39,237,1391,8117,47319,275805,1607519,9369317,54608391,318281037,1855077839,10812186005,63018038199,367296043197,2140758220991,12477253282757,72722761475559,423859315570605,247043313194...
; A213580: Principal diagonal of the convolution array A213579. ; 1,5,15,35,74,146,277,511,925,1651,2916,5108,8889,15385,26507,45491,77806,132678,225645,382835,648121,1095075,1846920,3109800,5228209,8777261,14716167,24643331,41220050,68873786,114964741,191719783,319436629,531789715,884611692,1470419996,2442435561,40542...
; A170515: Number of reduced words of length n in Coxeter group on 26 generators S_i with relations (S_i)^2 = (S_i S_j)^46 = I. ; 1,26,650,16250,406250,10156250,253906250,6347656250,158691406250,3967285156250,99182128906250,2479553222656250,61988830566406250,1549720764160156250,38743019104003906250,96857547760009765625...
; A094125: a(n) = 3*2^n + 2*3^n. ; 5,12,30,78,210,582,1650,4758,13890,40902,121170,360438,1075170,3213222,9615090,28796118,86290050,258673542,775627410,2326095798,6976714530,20926997862,62774702130,188311523478,564909404610,1694677882182,5083932983250,15251597623158 mov $1,5 mov $2,2 lpb $0 sub $0,1 mul $1,2 add...
; void heap_info_unlocked(void *heap, void *callback) SECTION code_alloc_malloc PUBLIC heap_info_unlocked EXTERN asm_heap_info_unlocked heap_info_unlocked: pop af pop de pop ix push hl push de push af jp asm_heap_info_unlocked
xor(8) g14<1>.xUD g5.4<0>.zUD g13<4>.xUD { align16 1Q }; xor(8) g47<1>UD g45<8,8,1>UD g46<8,8,1>UD { align1 1Q }; xor(16) g87<1>UD g83<8,8,1>UD g85<8,8,1>UD { align1 1H }; xor(8) g124<1>UD g5<8,8,1>UD 0x000003ffUD { align1 1Q }; xor...
;********************************************************************** ; This file is a basic code template for assembly code generation * ; on the PIC16F887. This file contains the basic code * ; building blocks to build upon. * ; ...
; ; 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...
; A121365: a(n) = 6*a(n-1) - 9*a(n-2) + n + 1. ; 1,1,1,2,9,43,185,732,2737,9845,34449,118102,398585,1328607,4384393,14348912,46633953,150663529,484275617,1549681962,4939611241,15690529811,49686677721,156905298052,494251688849 mov $2,$0 mov $4,2 mov $5,$0 lpb $2 add $5,1 mov $0,$5 sub $5,$4 mov $1,$5 lpb $5 ...
.global s_prepare_buffers s_prepare_buffers: push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x319e, %rsi lea addresses_WC_ht+0x1899e, %rdi nop nop nop nop nop xor $41690, %rbx mov $85, %rcx rep movsl nop nop and %rdx, %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx ret .global s_faulty_loa...
; A340632: a(n) in binary is a run of 1-bits from the most significant 1-bit of n down to the least significant 1-bit of n, inclusive. ; Submitted by Simon Strandgaard ; 0,1,2,3,4,7,6,7,8,15,14,15,12,15,14,15,16,31,30,31,28,31,30,31,24,31,30,31,28,31,30,31,32,63,62,63,60,63,62,63,56,63,62,63,60,63,62,63,48,63,62,63,60,...
; A041148: Numerators of continued fraction convergents to sqrt(84). ; Submitted by Jon Maiga ; 9,55,999,6049,109881,665335,12085911,73180801,1329340329,8049222775,146215350279,885341324449,16082359190361,97379496466615,1768913295589431,10710859270003201,194564380155647049,1178097140203885495,21400312903825585959,12957...
.org 0 .thumb LoopParent: push {lr} mov r2,pc add r2, #(LoopTable - Subtract) @need to double check here Subtract: bl MainLoop pop {r0} bx r0 MainLoop: push {r4-r6,lr} mov r4,r0 mov r5,r1 mov r6,r2 StartLoop: ldr r2,[r6] cmp r2,#0 @end of loop? beq EndLoop mov r0,#1 orr r2,r0 @in case you forgot the +1... get rid of ...
; A295933: Number of (not necessarily maximum) cliques in the n-Sierpinski sieve graph. ; 8,20,55,160,475,1420,4255,12760,38275,114820,344455,1033360,3100075,9300220,27900655,83701960,251105875,753317620,2259952855,6779858560,20339575675,61018727020,183056181055,549168543160,1647505629475,4942516888420,14827550665255 ...
/* * Copyright (C) 2012 Apple Inc. 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 a...
; A309729: Expansion of Sum_{k>=1} x^k/(1 - x^k - 2*x^(2*k)). ; Submitted by Christian Krause ; 1,2,4,7,12,26,44,92,175,354,684,1396,2732,5506,10938,21937,43692,87578,174764,349884,699098,1398786,2796204,5593886,11184823,22372354,44739418,89483996,178956972,357925242,715827884,1431677702,2863312218,5726666754,114532461...
; A133476: a(n) = Sum_{k>=0} binomial(n,5*k+1). ; Submitted by Jon Maiga ; 0,1,2,3,4,5,7,14,36,93,220,474,948,1807,3381,6385,12393,24786,50559,103702,211585,427351,854702,1698458,3368259,6690150,13333932,26667864,53457121,107232053,214978335,430470899,860941798,1720537327,3437550076,6869397265,13733091643,27466183286,5...
//===- ELF.cpp - ELF object file implementation ---------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
; =============================================================== ; Jun 2015 ; =============================================================== ; ; size_t ftoe(float x, char *buf, uint16_t prec, uint16_t flag) ; ; (-d.dddde+dd) ; ; An alias for dtoe() since the C compilers do not distinguish ; between float and double...
; A078683: Least prime of the form n*2^m+1 for m>0, or 0 if there is no such prime. ; 3,5,7,17,11,13,29,17,19,41,23,97,53,29,31,257,137,37,1217,41,43,89,47,97,101,53,109,113,59,61,7937,257,67,137,71,73,149,1217,79,641,83,337,173,89,181,11777 mul $0,2 add $0,1 seq $0,50921 ; Smallest prime of form n*2^m+1, m >= 0, or 0...
; A231304: Recurrence a(n) = a(n-2) + n^M for M=5, starting with a(0)=0, a(1)=1. ; 0,1,32,244,1056,3369,8832,20176,41600,79225,141600,240276,390432,611569,928256,1370944,1976832,2790801,3866400,5266900,7066400,9351001,12220032,15787344,20182656,25552969,32064032,39901876,49274400,60413025,73574400,89042176,107128832,12...
#include "lightspeed/base/framework/app.h" #include "lightspeed/base/framework/testapp.h" #include "lightspeed/base/streams/standardIO.tcc" namespace LightCouch { void runQueryServer(); using namespace LightSpeed; class Main : public App { public: virtual integer start(const Args &args); }; LightSpeed...
; A284016: a(-1)=-1; a(n) = 2*A000108(n) for n >= 0. ; -1,2,2,4,10,28,84,264,858,2860,9724,33592,117572,416024,1485800,5348880,19389690,70715340,259289580,955277400,3534526380,13128240840,48932534040,182965127280,686119227300,2579808294648,9723892802904,36734706144304,139067101832008,527495903500720,2004484433302736,76...
#ifndef TRIE_HPP_ #define TRIE_HPP_ #include "utils.hpp" #include "action.hpp" #include "action_table.hpp" #include <iostream> #include <vector> #include <algorithm> /** * Interface: * Prefix tree to list all possible actions for each states. * Each inner node contains information for preconditions. * Each leaf ...
; A330067: Beatty sequence for sinh(x), where 1/x + 1/sinh(x) = 1. ; 2,5,7,10,12,15,17,20,22,25,27,30,32,35,37,40,42,45,47,50,53,55,58,60,63,65,68,70,73,75,78,80,83,85,88,90,93,95,98,100,103,106,108,111,113,116,118,121,123,126,128,131,133,136,138,141,143,146,148,151 mov $1,$0 add $0,1 mul $0,64 div $0,42 add $0,1 add ...
; A350109: a(n) = Sum_{k=1..n} k * floor(n/k)^n. ; Submitted by Christian Krause ; 1,6,32,295,3201,48321,828323,16910106,388005909,10019717653,285409876785,8920506515453,302901435774351,11113364096436947,437903477186179875,18447307498823123948,827244767844150424228,39346708569526147402819,1978422359192940464226615,1048...
; A066138: a(n) = 10^(2n) + 10^n + 1. ; 3,111,10101,1001001,100010001,10000100001,1000001000001,100000010000001,10000000100000001,1000000001000000001,100000000010000000001,10000000000100000000001,1000000000001000000000001,100000000000010000000000001,10000000000000100000000000001,1000000000000001000000000000001,10000000...
; *********************************************************************************** ; ; Blink LED PB0 on an ATmega328p at 1 Hz using timer-triggered interrupts ; to toggle the LED. Assume ATmega328p runs at 16 MHz. ; ; The MIT License (MIT) ; ; Copyright (c) 2020 Igor Mikolic-Torreira ; ; Permission i...
; A239464: A239461(n) / n^2. ; 11,21,31,401,501,601,701,801,901,10001,11001,12001,13001,14001,15001,16001,17001,18001,19001,20001,21001,22001,23001,24001,25001,26001,27001,28001,29001,30001,31001,320001,330001,340001,350001,360001,370001,380001,390001,400001,410001,420001,430001,440001,450001,460001,470001,480001,49000...
; A011882: [ n(n-1)/29 ]. ; 0,0,0,0,0,0,1,1,1,2,3,3,4,5,6,7,8,9,10,11,13,14,15,17,19,20,22,24,26,28,30,32,34,36,38,41,43,45,48,51,53,56,59,62,65,68,71,74,77,81,84,87,91,95,98,102,106,110,114,118,122,126,130,134,139,143,147,152,157,161,166,171 bin $0,2 mul $0,2 div $0,29
//****************************************************************************** // Copyright (c) 2005-2013 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the i...
/* * Copyright (c) 2017, The Regents of the University of California (Regents). * 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 a...
// // detail/impl/service_registry.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) // #if...
#include "stdafx.h" #pragma hdrstop #include "Blender_light_mask.h" CBlender_accum_direct_mask::CBlender_accum_direct_mask() { description.CLS = 0; } CBlender_accum_direct_mask::~CBlender_accum_direct_mask() {} void CBlender_accum_direct_mask::Compile(CBlender_Compile& C) { IBlender::Compile(C); switch (C.i...
; A070960: a(1) = 1; a(n) = n!*(3/2) for n>=2. ; 1,3,9,36,180,1080,7560,60480,544320,5443200,59875200,718502400,9340531200,130767436800,1961511552000,31384184832000,533531142144000,9603560558592000,182467650613248000,3649353012264960000,76636413257564160000,1686001091666411520000,38778025108327464960000,930672602599859...
.byte $01 ; Unknown purpose .byte OBJ_AUTOSCROLL, $00, $09 .byte OBJ_GREENCHEEP, $12, $10 .byte OBJ_WATERCURRENTDOWNARD, $18, $16 .byte OBJ_GREENCHEEP, $1D, $17 .byte OBJ_BLOOPERWITHKIDS, $1F, $11 .byte OBJ_GREENCHEEP, $2D, $15 .byte OBJ_SPAWN3ORANGECHEEPS, $34, $11 .byte OBJ_BLOOPERWITHKIDS, $3B, $11 .byte ...
; A097297: Seventh column (m=6) of (1,6)-Pascal triangle A096956. ; Submitted by Jamie Morken(l1) ; 6,37,133,364,840,1722,3234,5676,9438,15015,23023,34216,49504,69972,96900,131784,176358,232617,302841,389620,495880,624910,780390,966420,1187550,1448811,1755747,2114448,2531584,3014440,3570952,4209744 mov $1,$0 add $0,5 ...
; A101383: a(n) = n*(n+1)*(2*n^3 - n^2 + 2)/6. ; 0,1,14,94,380,1135,2786,5964,11544,20685,34870,55946,86164,128219,185290,261080,359856,486489,646494,846070,1092140,1392391,1755314,2190244,2707400,3317925,4033926,4868514,5835844,6951155,8230810,9692336,11354464,13237169,15361710,17750670,20427996,23419039,26750594,3045...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xbc49, %rsi lea addresses_WC_ht+0x13949, %rdi clflush (%rdi) nop nop cmp $27239, %rdx mov $82, %rcx rep movsw nop nop nop nop and $10315, %rdx lea addresses_A_ht+0x1bb29, %rcx...
; A010234: Continued fraction for sqrt(192). ; Submitted by Jon Maiga ; 13,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1,26,1,5,1 gcd $0,262156 mul $0,42 mod $0,13 mul $0,2 mov $1,$0 sub $0,2 sub $1,4 div $1,5 mul $...
SECTION code_clib SECTION code_fp_math32 PUBLIC cm32_sdcc_fsload .cm32_sdcc_fsload ; sdcc float primitive ; Load float pointed to by HL into DEHL ; ; enter : HL = float* (sdcc_float) ; ; exit : DEHL = float (sdcc_float) ; ; uses : f, bc, de, hl ld c,(hl) inc hl ld b,(h...
// Copyright (c) 2009-2021 The DRiyal Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <pubkey.h> #include <hash.h> #include <secp256k1.h> #include <secp256k1_e...
; A100628: a(n) = 2^(3*prime(n) + 1). ; Submitted by Jamie Morken(m3) ; 128,1024,65536,4194304,17179869184,1099511627776,4503599627370496,288230376151711744,1180591620717411303424,309485009821345068724781056,19807040628566084398385987584,5192296858534827628530496329220096 seq $0,6005 ; The odd prime numbers together w...
print_string_16: pusha mov ah, 0x0E ; teletype output (int 0x10, ah = 0x0E) mov bx, 0x0007 ; bh = page number (0), bl = foreground colour (light grey) .print_char: lodsb ; al = [ds:si]++ test al, al jz .end ; exit if null-terminator found int 0x10 ; print ch...
title ../../../Lib/profile.c .386 .387 includelib cppom30.lib includelib os2386.lib CODE32 segment dword use32 public 'CODE' CODE32 ends DATA32 segment dword use32 public 'DATA' DATA32 ends CONST32_RO segment dword use32 public 'CONST' CONST32_RO ends BSS32 segment dword use32 public 'BSS' BSS32 ends DGROUP group ...
;=============================================================================== ; Copyright 2017-2020 Intel Corporation ; ; 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.apa...
{0} ssp 1; {1} mst 0; {2} cup 0 4; {3} stp; { FUNC main } {4} ssp 18; { $suma } {5} lda 0 17; { := } {6} ldc 0; { cte: 0 } {7} sto; { $n } {8} lda 0 16; { := } {9} ldc 10; { cte: 10 } {10} sto; { $cont } {11} lda 0 15; { := } {12} ldc 0; { cte: 0 } {13} sto; { WHILE } { $cont } {14} lda 0 15; {15} ind; { $n } {16} lda ...
;=============================================================================== ; Copyright 2015-2020 Intel Corporation ; ; 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.apa...
%ifdef CONFIG { "RegData": { "RAX": "0x4142434445464748", "RBX": "0x5152535455FFFF58", "RCX": "0x616263FFFF666768", "RDX": "0xFF72737475767778", "RBP": "0x81828384858687FF", "RSI": "0xB1B2B3B4B5B6B7B8", "RDI": "0xC1C2C3C4C5C6C7C8", "RSP": "0xFF42434445464748", "R8": "0x51525354555...
; A088440: a(4n) = 4n, otherwise a(n) = 1. ; 0,1,1,1,4,1,1,1,8,1,1,1,12,1,1,1,16,1,1,1,20,1,1,1,24,1,1,1,28,1,1,1,32,1,1,1,36,1,1,1,40,1,1,1,44,1,1,1,48,1,1,1,52,1,1,1,56,1,1,1,60,1,1,1,64,1,1,1,68,1,1,1,72,1,1,1,76,1,1,1,80,1,1,1,84,1,1,1,88,1,1,1,92,1,1,1,96,1,1,1,100,1,1,1,104,1,1,1,108,1,1,1,112,1,1,1,116,1,1,1,120...
//======================================================================================== // // $File: //ai_stream/rel_21_0/devtech/sdk/public/samplecode/Webter/Source/WebterPlugin.hpp $ // // $Revision: #1 $ // // Copyright 1987 Adobe Systems Incorporated. All rights reserved. // // NOTICE: Adobe permits you...
#include "CrashHandler.h" #include "SkTypes.h" #include <stdlib.h> #if defined(SK_BUILD_FOR_MAC) // We only use local unwinding, so we can define this to select a faster implementation. #define UNW_LOCAL_ONLY #include <libunwind.h> #include <cxxabi.h> static void handler(int sig) { unw_context_t context; u...
SFX_Turn_Off_PC_1_Ch1: duty 2 unknownsfx0x20 4, 240, 0, 6 unknownsfx0x20 4, 240, 0, 4 unknownsfx0x20 4, 240, 0, 2 unknownsfx0x20 1, 0, 0, 0 endchannel
; A261151: a(n) = 11410337850553 + (n-1)*4609098694200. ; 11410337850553,11871247719973,12332157589393,12793067458813,13253977328233,13714887197653,14175797067073,14636706936493,15097616805913,15558526675333,16019436544753,16480346414173,16941256283593,17402166153013,17863076022433,18323985891853,18784895761273,1924580...
#include "gtest/gtest.h" #include <DefQuery/from.h> #include <DefQuery/aggregate.h> #include <list> #include <sstream> #include <string> TEST(AggregateTest, SumIntegersTest) { std::list<int> list = {1, 2, 3}; auto sum = DefQuery::from(list).aggregate([](double& accumlator, int a) { accumlator += a; }, ...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
; 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...
; ; feilipu, 2020 May ; ; This Source Code Form is subject to the terms of the Mozilla Public ; License, v. 2.0. If a copy of the MPL was not distributed with this ; file, You can obtain one at http://mozilla.org/MPL/2.0/. ; ;------------------------------------------------------------------------- ; asm_f16_mul -...
; A227016: Floor(M(g(n-1)+1,..,g(n))), where M = harmonic mean and g(n) = n(n + 1)(n + 2)/6. ; Submitted by Jamie Morken(s3.) ; 1,2,7,14,27,45,69,101,141,191,252,323,408,506,618,746,890,1052,1233,1432,1653,1895,2159,2447,2759,3097,3462,3853,4274,4724,5204,5716,6260,6838,7451,8098,8783,9505,10265,11065,11905,12787,13712...
############################################################################### # 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...
#include "zep/display.h" #include "zep/mcommon/logger.h" #include "zep/mcommon/string/stringutils.h" // A 'window' is like a vim window; i.e. a region inside a tab namespace Zep { void ZepDisplay::InvalidateCharCache() { m_charCacheDirty = true; } void ZepDisplay::BuildCharCache() { const char chA = 'A'; ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rax push %rbp push %rcx lea addresses_WC_ht+0x4b80, %r15 nop nop nop add %r10, %r10 mov $0x6162636465666768, %r14 movq %r14, %xmm7 movups %xmm7, (%r15) nop nop nop nop nop cmp %r15, %r15 lea addresses_UC_ht+0x179b0, %rax nop nop x...
/* * atsc3_core_service_player_bridge.cpp * * Created on: Oct 3, 2019 * Author: jjustman * * Android MMT MFU Playback with SLS event driven callbacks * * * Note: Atsc3NdkPHYBridge - Android NDK Binding against Lowasys API are not included */ #ifndef __JJ_PHY_MMT_PLAYER_BRIDGE_DISABLED #include "atsc3_...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2017-2018, 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 s...
; Test unaligned access to memory addi r1, r0, 1 nop nop nop nop sw 0(r0), r1 nop nop nop ; due to pipelined structure of the DataPath, the bit will be set only one clock cycle after. ; the unalinged bit is set during the mem phase of lw but the PSW register will updated the output read ; by the movs2i only at the ...
; A008420: Coordination sequence for 10-dimensional cubic lattice. ; Submitted by Christian Krause ; 1,20,200,1340,6800,28004,97880,299660,822560,2060980,4780008,10377180,21278640,41517060,77548920,139380012,242080320,407782740,668274440,1068305020,1669752016,2556801700,3842321560,5675620300,8251811680,11823020020,1671...
SECTION code_fcntl PUBLIC asm_tty_param_bb_absorb EXTERN asm_tty_state_get_2 EXTERN asm_tty_state_param_store asm_tty_param_bb_absorb: ; c = action code ; stack = & tty.action ; command code has one parameter and tty absorbs set 7,c ; indicate absorb ld de,asm_tty_state_get_2...
/*========================================================================= Program: Visualization Toolkit Module: TestDistributedDataShadowMapPass.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
#include <gtest/gtest.h> #include <cslibs_arff/arff_lexer.h> using namespace cslibs_arff; #define TEST_ARFF(lex, e, s) \ { \ ArffToken tok = lex.next_token(); \ EXPECT_EQ(e, tok.token_enum()); \ EXPECT_EQ(s, tok.tok...
; A001571: a(0) = 0, a(1) = 2, a(n) = 4*a(n-1) - a(n-2) + 1. ; 0,2,9,35,132,494,1845,6887,25704,95930,358017,1336139,4986540,18610022,69453549,259204175,967363152,3610248434,13473630585,50284273907,187663465044,700369586270,2613814880037,9754889933879,36405744855480,135868089488042,507066613096689,1892398362898715,7062...
; A077139: a(1) = 1, a(n) = lcm(n, a(n-1)) / gcd(n, a(n-1)). ; Submitted by Christian Krause ; 1,2,6,6,30,5,35,280,2520,252,2772,231,3003,858,1430,5720,97240,437580,8314020,415701,969969,176358,4056234,2704156,67603900,2600150,70204050,10029150,290845350,9694845,300540195,9617286240,35263382880,1037158320 mov $1,1 mov...
;; ; ; Name: stager_sock_reverse ; Qualities: Can Have Nulls ; Version: $Revision: 1512 $ ; License: ; ; This file is part of the Metasploit Exploit Framework ; and is subject to the same licenses and copyrights as ; the rest of this package. ; ; Description: ; ; Implement...
dino START 0 . TEXT MAIN_ENTRY ............ INITIALIZE STACK ............ JSUB stackinit ............................................. ............ INIT PLAYER VARIABLES ............. LDA #30 FLOAT STF playerX ...
#include "Application.h" namespace Hazel { Application::Application() { } Application::~Application() { } void Application::Run() { while (true); } }
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xd329, %r12 nop nop nop nop nop dec %r8 mov $0x6162636465666768, %rdi movq %rdi, %xmm7 movups %xmm7, (%r12) nop nop sub %rax, %rax lea addresses_UC_ht+0x11129, %...
; --------------------------------------------------------------------------- ; Object 09 - Sonic (special stage) ; --------------------------------------------------------------------------- SonicSpecial: tst.w (v_debuguse).w ; is debug mode being used? beq.s Obj09_Normal ; if not, branch bsr.w SS_FixCamera b...