text
stringlengths
1
1.05M
; A179023: a(n) = n(F(n+2) - 1) where F(n) is defined by A000045. ; 0,1,4,12,28,60,120,231,432,792,1430,2552,4512,7917,13804,23940,41328,71060,121752,207955,354200,601776,1020074,1725552,2913408,4910425,8263060,13884156,23297092,39041772,65349240,109261887,182492352 mov $2,$0 lpb $2 add $3,$4 add $4,$0 mov $0,$3...
; A206420: Fibonacci sequence beginning 11, 8. ; 11,8,19,27,46,73,119,192,311,503,814,1317,2131,3448,5579,9027,14606,23633,38239,61872,100111,161983,262094,424077,686171,1110248,1796419,2906667,4703086,7609753,12312839,19922592,32235431,52158023,84393454,136551477,220944931,357496408,578441339,935937747,1514379086,2450...
; A017581: a(n) = 12*n + 5. ; 5,17,29,41,53,65,77,89,101,113,125,137,149,161,173,185,197,209,221,233,245,257,269,281,293,305,317,329,341,353,365,377,389,401,413,425,437,449,461,473,485,497,509,521,533,545,557,569,581,593,605,617,629,641,653,665,677,689,701,713,725,737,749,761,773,785,797,809,821,833,845,857,869,881,893...
SECTION code_clib SECTION code_fp_am9511 PUBLIC mlib2d ; convert am9511 float to sdcc_float ; suprise, they're the same thing! ; ; enter : DEHL' = am9511 float ; ; exit : DEHL = sdcc_float ; (exx set is swapped) ; .mlib2d exx ret
/* * Copyright 2009-2017 Alibaba Cloud 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...
; item_attributes struct members (see data/items/attributes.asm) const_def const ITEMATTR_PRICE const ITEMATTR_PRICE_HI const ITEMATTR_EFFECT const ITEMATTR_PARAM const ITEMATTR_PERMISSIONS const ITEMATTR_POCKET const ITEMATTR_HELP ITEMATTR_STRUCT_LENGTH EQU const_value ; item types const_def 1 const ITEM ...
;;; Based on http://blog.phil-opp.com/rust-os/entering-longmode.html ;;; and http://blog.phil-opp.com/rust-os/setup-rust.html ;;; ;;; Once we've run all our 32-bit setup code, we jump here and enter 64-bit ;;; mode. ;;; ;;; To generate yellow 4-letter debug text values, you can run: ;;; ;;; "INT!".chars.map {|c| sprint...
; Z88 Small C+ Run time Library ; l_gchar variant to be used sometimes by the peephole optimizer ; SECTION code_l_sccz80 PUBLIC l_gcharspsp l_gcharspsp: add hl,sp inc hl inc hl ld a,(hl) ld l,a rlca sbc a,a ld h,a ex (sp),hl jp (hl)
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA...
BITS 64 ORG 0x001E0000 %include 'api/libBareMetal.asm' start: ; Grab video values from Pure64 mov rsi, 0x5080 xor eax, eax lodsd ; VIDEO_BASE mov [VideoBase], rax xor eax, eax xor ecx, ecx lodsw ; VIDEO_X mov [VideoX], ax ; ex: 1024 xor edx, edx mov cl, [font_width] div cx mov [Screen_Cols], ax ...
; A330520: Sum of even integers <= n times the sum of odd integers <= n. ; 0,0,2,8,24,54,108,192,320,500,750,1080,1512,2058,2744,3584,4608,5832,7290,9000,11000,13310,15972,19008,22464,26364,30758,35672,41160,47250,54000,61440,69632,78608,88434,99144,110808,123462,137180,152000,168000,185220,203742,223608,244904,267674 ...
@/******************************************************************************* @* DISCLAIMER @* This software is supplied by Renesas Electronics Corporation and is only @* intended for use with Renesas products. No other uses are authorized. This @* software is owned by Renesas Electronics Corporation and is pro...
; A224520: Numbers a(n) with property a(n) + a(n+4) = 2^(n+4) - 1 = A000225(n+4). ; 0,1,3,7,15,30,60,120,240,481,963,1927,3855,7710,15420,30840,61680,123361,246723,493447,986895,1973790,3947580,7895160,15790320,31580641,63161283,126322567,252645135,505290270,1010580540,2021161080,4042322160,8084644321,16169288643,32338...
; A189038: Decimal expansion of (9+sqrt(17))/8. ; Submitted by Jon Maiga ; 1,6,4,0,3,8,8,2,0,3,2,0,2,2,0,7,5,6,8,7,2,7,6,7,6,2,3,1,9,9,6,7,5,9,6,2,8,1,4,3,3,9,9,9,0,3,1,7,1,7,0,2,5,5,4,2,9,9,8,2,9,1,9,6,6,3,6,8,6,9,2,9,3,2,9,2,2,0,2,6,9,9,1,9,8,4,8,2,9,5,6,3,5,1,3,3,5,5,3,7 mov $1,1 mov $2,1 mov $3,$0 mul $3,4 lpb $3 ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r8 push %rcx push %rdi // Faulty Load mov $0x4b92a000000051b, %rdi nop nop sub $40870, %r8 movb (%rdi), %r11b lea oracles, %rcx and $0xff, %r11 shlq $12, %r11 mov (%rcx,%r11,1), %r11 pop %rdi pop %rcx p...
// Original test: ./divya/hw4/problem6/bgez_0.asm // Author: divya // Test source code follows lbi r1,-3 bgez r1,3 lbi r2,0 bgez r2,9
; A117863: Number of palindromes (in base 4) below 4^n. ; 3,6,18,30,78,126,318,510,1278,2046,5118,8190,20478,32766,81918,131070,327678,524286,1310718,2097150,5242878,8388606,20971518,33554430,83886078,134217726,335544318,536870910,1342177278,2147483646,5368709118,8589934590,21474836478,34359738366,85899345918,137438953...
; A117230: Start with 1 and repeatedly reverse the digits and add 1 to get the next term. ; 1,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10 sub $0,1 mod $0,...
; A215206: Primes congruent to {2, 7} mod 11. ; Submitted by Jon Maiga ; 2,7,13,29,73,79,101,139,167,211,227,233,271,277,293,337,359,409,431,491,541,557,563,601,607,673,733,739,761,821,827,887,937,953,997,1019,1063,1069,1091,1129,1151,1201,1217,1223,1283,1289,1327,1399,1459,1481,1487,1531,1553,1597,1613,1619,1657,1663,...
; A069517: a(n) = (-1)*sum( d divides n, moebius(d)*(-1)^d). ; 1,2,0,2,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,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,0,0,0,0,2,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,0,0,0,0,0,0,0,0,0 mov $1,1 mov $2,$0 lpb $0 mul $0,2 trn $0,$2 mov $...
/* Copyright (C) 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. In additio...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x656c, %rdi nop and %r13, %r13 movl $0x61626364, (%rdi) nop nop nop nop cmp %r11, %r11 lea addresses_UC_ht+0x95ec, %rcx nop nop nop nop nop sub $61440, %r15 movl $0x61626364, ...
INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC xorpixel EXTERN pixeladdress EXTERN __gfx_coords EXTERN pix_return ; ; $Id: xorpixl.asm,v 1.8 2016/07/02 09:01:36 dom Exp $ ; ; ****************************************************************** ; ; Plot pixel at (x,y) coordinate. ; ; Design & programming...
comment * Dementia.4218 Disassembly by Darkman/29A Dementia.4218 is a 4218 bytes parasitic resident COM/EXE/ZIP virus. Infects files at close file, open file and load and/or execute program by appending the virus to the infected COM/EXE file and storing in the infected ZIP file. Dement...
tilecoll WALL, WALL, WALL, WALL ; 00 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01 tilecoll FLOOR, FLOOR, WARP_CARPET_DOWN, WARP_CARPET_DOWN ; 02 tilecoll WALL, WALL, WALL, WALL ; 03 tilecoll WALL, WALL, BOOKSHELF, BOOKSHELF ; 04 tilecoll WALL, WALL, FLOOR, FLOOR ; 05 tilecoll FLOOR, FLOOR, WALL, WALL ; 06 tilecoll ...
BITS 32 ; Simple jmp foo times 124 nop foo: ; Must start short to converge optimally jmp car times 127 nop car: ; Always near jmp cdr times 128 nop cdr: ; Simple add eax, quux2 - quux1 quux1: times 127 nop quux2: ; Must start short corge1: add eax, corge2 - corge1 times 127 - 3 nop corge2: ; Simple lea eax, [bo...
; ======================================== ; Project : MIDI KEYS ; Target : Commodore VIC 20 ; Comments : note calculator and player routines ; Author : Ryan Liston ; ======================================== ;CLACULATE NOTE (a contains base note) player$ clc adc tran_...
#include "IncludeGuards.h" #include "OtherLib.h" int main() { my_function(); my_function_wrapped(); return 0; }
/*-----------------------------------------------------------------------* * filename - new.cpp * C++ new *-----------------------------------------------------------------------*/ /* * C/C++ Run Time Library - Version 10.0 * * Copyright (c) 1998, 2000 by Inprise Corporation * All Rights Reserved...
; A017754: Binomial coefficients C(n,90). ; 1,91,4186,129766,3049501,57940519,927048304,12846240784,157366449604,1731030945644,17310309456440,158940114100040,1350990969850340,10704005376506540,79515468511191440,556608279578340080,3687529852206503030,23209746716829166130,139258480300974996780,798903913305593402580,43939...
;****************************************************************************** ; ; header-itc.asm ; IKForth ; ; Unlicense since 1999 by Illya Kysil ; ;****************************************************************************** ; HEADER & support words - implementation for ITC (Indirect Threaded Code) ;*********...
; A195032: Vertex number of a square spiral in which the length of the first two edges are the legs of the primitive Pythagorean triple [5, 12, 13]. The edges of the spiral have length A195031. ; 0,5,17,27,51,66,102,122,170,195,255,285,357,392,476,516,612,657,765,815,935,990,1122,1182,1326,1391,1547,1617,1785,1860,2040...
; https://adventofcode.com/2020/day/16 (part 1) OPT listoff : DEVICE ZXSPECTRUMNEXT : MMU 0 7, 0, $0000 ; too lazy to write input file parser, so input is manually converted into script source IF 0 ; 1 for test input run ;========================= test input =============================== DEFINE N_IS_C...
/* * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * 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...
list p=18f4550 ;modelo de procesador #include <p18f4550.inc> ;llamado a libreria de nombres ;Aqui van los bits de configuracion CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT)) CONFIG PWRT = ON ; Power-up Timer Enable bit (PWRT enabled) CONFI...
Map_4E2A2: dc.w word_4E2A4-Map_4E2A2 word_4E2A4: dc.w 3 dc.b $EC, $E, 0, 0, $FF, $F4 dc.b 4, $D, 0, $C, $FF, $EC dc.b $C, 0, 0, $14, 0, $C
// // Model.cpp // interface/src/renderer // // Created by Andrzej Kapolka on 10/18/13. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <QMetaType> #include <QRunnabl...
INCLUDE "hardware.inc" INCLUDE "header.inc" SECTION "var",BSS repeat_loop: DS 1 SECTION "Main",ROM0 ;-------------------------------------------------------------------------- ;- Main() - ;-------------------------------------------------------...
#include "systems/EnvironmentSystem.hh" void gamedev::EnvironmentSystem::Init(std::shared_ptr<EngineECS>& ecs) { mECS = ecs; mSunLight.color = tg::vec3(0.985, 1.0, 0.876); mSunTheta = 0.f; // 70.0f; mSunPhi = 0.f; //-64.0f; mSunRadius = 1.f; mSunIntensity = 0.5; mAmbientLight = tg::vec3(0....
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="fdout, iov, count, flags"/> <%docstring> Invokes the syscall vmsplice. See 'man 2 vmsplice' for more information. Arguments: fdout(int): fdout iov(iovec): iov count(size_t): count flags(unsigned): flags </%docstring> ${sysc...
; A134401: Row sums of triangle A134400. ; 1,2,8,24,64,160,384,896,2048,4608,10240,22528,49152,106496,229376,491520,1048576,2228224,4718592,9961472,20971520,44040192,92274688,192937984,402653184,838860800,1744830464,3623878656,7516192768,15569256448,32212254720,66571993088,137438953472,283467841536,584115552256,1202590...
org 100h include "emu8086.inc" .model small .stack 100h .data n db ? sum db 0 .code main proc mov ax,@data mov ds,ax print "Enter N: " mov ah,1 int 21h sub al,48 mov n,al printn mov bl,1 ;int i = 0 top: cmp bl,n ...
; A181534: Minimum number of rounds to be played to decide a two-player game of up to n rounds in which the winner of round j receives j points. ; 1,2,3,3,4,5,5,6,7,7,8,9,10,10,11,12,12,13,14,15,15,16,17,17,18,19,19,20,21,22,22,23,24,24,25,26,27,27,28,29,29,30,31,31,32,33,34,34,35,36,36,37,38,39,39,40,41,41,42,43,43,44...
; A157732: a(n) = 388962*n^2 - 430416*n + 119071. ; 77617,814087,2328481,4620799,7691041,11539207,16165297,21569311,27751249,34711111,42448897,50964607,60258241,70329799,81179281,92806687,105212017,118395271,132356449,147095551,162612577,178907527,195980401,213831199,232459921,251866567,272051137,293013631,314754049,33...
; A082047: Diagonal sums of number array A082046. ; 1,2,7,24,69,170,371,736,1353,2338,3839,6040,9165,13482,19307,27008,37009,49794,65911,85976,110677,140778,177123,220640,272345,333346,404847,488152,584669,695914,823515,969216,1134881,1322498,1534183 mov $1,$0 pow $0,2 add $0,1 mul $1,2 mul $1,$0 add $0,13 mul $1,$0 m...
/* Copyright 2015-2019 Egor Yusov * * 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 * * THE SOFTWARE IS PROVIDED "AS IS", ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1ade7, %r9 nop nop and $5679, %r10 mov (%r9), %rax nop nop cmp $17797, %rcx lea addresses_UC_ht+0x13bc7, %rsi lea addresses_UC_ht+0x7247, %rdi nop nop nop nop sub %r15, %...
DoInGameTradeDialogue: ; trigger the trade offer/action specified by wWhichTrade call SaveScreenTilesToBuffer2 ld hl, TradeMons ld a, [wWhichTrade] ld b, a swap a sub b sub b ld c, a ld b, 0 add hl, bc ld a, [hli] ld [wInGameTradeGiveMonSpecies], a ld a, [hli] ld [wInGameTradeReceiveMonSpecies], a ld a, ...
; A043669: Numbers whose base-15 representation has exactly 2 runs. ; 15,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,65,66,67,68,69,70,71,72,73,74,75,76,77,78 add $0,14 mov $1,32 mul $1,$0 div $1,30 add $1,1 mov $0,$1
/******************************************************************************** * File Name: * hw_rcc_driver.cpp * * Description: * Implements the low level driver for the Reset and Clock Control peripheral * * 2019-2021 | Brandon Braun | brandonbraun653@gmail.com ************************************...
; A054025: Sum of divisors of n read modulo (number of divisors of n). ; 0,1,0,1,0,0,0,3,1,2,0,4,0,0,0,1,0,3,0,0,0,0,0,4,1,2,0,2,0,0,0,3,0,2,0,1,0,0,0,2,0,0,0,0,0,0,0,4,0,3,0,2,0,0,0,0,0,2,0,0,0,0,2,1,0,0,0,0,0,0,0,3,0,2,4,2,0,0,0,6,1,2,0,8,0,0,0,4,0,6,0,0,0,0,0,0,0,3,0,1 add $0,1 mov $2,$0 mov $4,1 lpb $0 mov $3,$2...
// Copyright (c) 2019 The Felicia 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 "examples/learn/topic/camera/cc/camera_publishing_node.h" #include "felicia/core/message/protobuf_util.h" #include "felicia/core/thread/main_...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include "MathBuildConfig.h" #include "MathGeoLib.h" #include "myassert.h" #include "TestRunner.h" #include "TestData.h" #include <cmath> #include "SSEMath.h" MATH_IGNORE_UNUSED_VARS_WARNING using namespace TestData; char int_to_string[...
WarpPadAndHoleData: ; tileset id, tile id, value for [wStandingOnWarpPadOrHole] db FACILITY, $20, 1 ; warp pad db FACILITY, $11, 2 ; hole db CAVERN, $22, 2 ; hole db INTERIOR, $55, 1 ; warp pad db -1 ; end
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Mouse Driver Common Code FILE: mouseSerCommon.asm AUTHOR: Adam de Boor, Sep 25, 1989 ROUTINES: Name Description ---- ----------- MouseOpe...
assume cs:code,ss:stack,ds:data data segment data ends stack segment stack ends code segent start: mov ax,0b800h mov es,ax mov bx,0h mov ah,3 mov al,8 mov ch,0 mov cl,1 mov dh,0 mov dl,0 int 13h mov ax,4c00h int 21h code ends end start
; A246773: Decimal expansion of 'v', an auxiliary constant associated with the asymptotic number of row-convex polyominoes. ; Submitted by Jon Maiga ; 3,2,0,5,5,6,9,4,3,0,4,0,0,5,9,0,3,1,1,7,0,2,0,2,8,6,1,7,7,8,3,8,2,3,4,2,6,3,7,7,1,0,8,9,1,9,5,9,7,6,9,9,4,4,0,4,7,0,5,5,2,2,0,3,5,5,1,8,3,4,7,9,0,3,5,9,1,6,7,4,6,9,1,7,6...
; =============================================================== ; May 2017 ; =============================================================== ; ; void *tshr_saddrcup(void *saddr) ; ; Modify screen address to move up one character (eight pixels) ; ; =============================================================== SECTI...
; ; ROM Console routine for the Sorcerer Exidy ; By Stefano Bodrato - 23/5/2011 ; ; $Id: fputc_cons.asm,v 1.1 2011/05/24 18:11:10 stefano Exp $ ; XLIB fputc_cons .fputc_cons ld hl,2 add hl,sp ld a,(hl) cp 13 jr nz,nocrlf call $e00c ld a,10 .nocrlf jp $e00c
// N64 Lesson 02 Simple Initialize arch n64.cpu endian msb output "Video002.N64", create fill $0010'1000 // Set ROM Size // fill 1052672‬ also works because // 4 KB (4096 B) header reserved for config and publisher data // 1 MB (1024 KB * 1024 KB = ‭1,048,576‬ B) game code copied to n64 ram on boot // 4096 + ‭1048576‬...
; A218690: Sum_{k=0..n} C(n,k)^4*C(n+k,k)^2. ; Submitted by Jon Maiga ; 1,5,181,9797,616501,45778505,3678753205,314352091205,28154344881205,2612340741982505,249415797821914681,24374175871569953225,2428502737999745059381,245952659136011117909897,25260608441078125508484181,2626023605592369669830217797,2759010678962767431...
/* * Copyright 2011 Nate Koenig & Andrew Howard * * 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 l...
// RUN: %clang_analyze_cc1 \ // RUN: -analyzer-checker=core -analyzer-config \ // RUN: silence-checkers=core \ // RUN: -verify %s // RUN: %clang_analyze_cc1 \ // RUN: -analyzer-checker=core -analyzer-config \ // RUN: silence-checkers="core.DivideZero;core.NullDereference" \ // RUN: -verify %s // RUN: not %cla...
; A213077: a(n) = round(n^2 - sqrt(n)). ; Submitted by Jon Maiga ; 0,0,3,7,14,23,34,46,61,78,97,118,141,165,192,221,252,285,320,357,396,436,479,524,571,620,671,724,779,836,895,955,1018,1083,1150,1219,1290,1363,1438,1515,1594,1675,1758,1842,1929,2018,2109,2202,2297,2394,2493,2594,2697,2802,2909,3018,3129,3241,3356,3473,...
; HOTKEY Extensions V2.00  1990 Tony Tebby QJUMP section base xref hxt_init bra.l hxt_init section version section language section procs section exten end
_cat: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp b: ...
// Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2019 The Hexus Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include "masternode.h" #include "masternode-sync....
; A161511: Number of 1...0 pairs in the binary representation of 2n. ; 0,1,2,2,3,3,4,3,4,4,5,4,6,5,6,4,5,5,6,5,7,6,7,5,8,7,8,6,9,7,8,5,6,6,7,6,8,7,8,6,9,8,9,7,10,8,9,6,10,9,10,8,11,9,10,7,12,10,11,8,12,9,10,6,7,7,8,7,9,8,9,7,10,9,10,8,11,9,10,7,11,10,11,9,12,10,11,8,13,11,12,9,13,10,11,7,12,11,12,10,13,11,12,9,14,12,13...
// Copyright (c) 2011-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "fs.h" #include "intro.h" #include "ui_intro.h...
#include "simdjson.h" #include "test_ondemand.h" using namespace simdjson; namespace document_stream_tests { template <typename T> bool process_doc(T &docref) { int64_t val; ASSERT_SUCCESS(docref.at_pointer("/4").get(val)); //ASSERT_SUCCESS(err); ASSERT_EQUAL(val, 5); ...
Unknown_170470: db $12 db $24 db $45 db $45 db $42 db $42 db $45 db $42 db $27 db $27 db $45 db $27 db $42 db $24 Unknown_17047e: db $03, 4 db $05, 8 db $03, 5 db $0e, 6 db $03, 2 db $00, 0 db $39, 7 db $07, 4 db $00, 5 db $04, 7 db $01, 5 db $00, 0 db $0f, 5 db $14, 7 db $05...
.size 8000 .text@48 ei jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld c, 44 ld b, 90 lbegin_waitly90: ldff a, (c) cmp a, b jrnz lbegin_waitly90 ld hl, 8000 xor a, a ld(hl++), a ld(hl++), a ld(hl++), a ld...
; A064994: A Beatty sequence from Khintchine's constant (A002210). ; Submitted by Jamie Morken(s2) ; 1,3,5,6,8,10,11,13,15,16,18,20,21,23,25,26,28,30,32,33,35,37,38,40,42,43,45,47,48,50,52,53,55,57,58,60,62,64,65,67,69,70,72,74,75,77,79,80,82,84,85,87,89,91,92,94,96,97,99,101,102,104,106,107,109,111,112,114 mov $3,$0 ...
; asmsyntax=apricos ; Sample program for ApricotOS ; ; To execute this program, assemble it along with ; the rest of the OS, and execute it by entering ; 'memexec 1500' ino the shell. #segment 0x15 #name "testprogram" #include "apricotos.asm" #include "disp.asm" LDI MESSAGE ASET 8 LDah ASET 9 LDal ASET 10 OS_CALLF...
; void PSGRestoreVolumes(void) SECTION code_clib SECTION code_PSGlib PUBLIC PSGRestoreVolumes EXTERN asm_PSGlib_RestoreVolumes defc PSGRestoreVolumes = asm_PSGlib_RestoreVolumes
; A020125: Ceiling of GAMMA(n+5/6)/GAMMA(5/6). ; Submitted by Jon Maiga ; 1,1,2,5,17,81,468,3197,25043,221209,2175217,23564851,278850731,3578584369,49503750433,734305631413,11626505830702,195712848150141,3490212458677515,65732334638426517,1303691303662125906 mov $1,1 mov $3,1 lpb $0 mul $1,3 mov $2,$0 sub $0,1 ...
.file "test.c" .intel_syntax noprefix .text .type second_func, @function second_func: .LFB0: .cfi_startproc push ebp .cfi_def_cfa_offset 8 .cfi_offset 5, -8 mov ebp, esp .cfi_def_cfa_register 5 call __x86.get_pc_thunk.ax add eax, OFFSET FLAT:_GLOBAL_OFFSET_TABLE_ mov eax, DWORD PTR 8[ebp] mov edx, DWORD P...
; A285977: Positions of 1 in A285975; complement of A285976. ; 2,3,5,7,8,10,12,13,15,17,19,20,22,23,25,27,28,30,32,33,35,36,38,40,42,43,45,47,48,50,52,53,55,57,59,60,62,63,65,67,69,70,72,74,75,77,79,80,82,83,85,87,88,90,92,93,95,97,99,100,102,103,105,107,108,110,112,113,115,116,118,120,122,123,125,127,128,130,132,133,1...
SECTION .text GLOBAL test test: shl r10, 0x1 shl r10, 0x12 shl r10, 0x14 shl r10, 0x15 shl r10, 0x1b shl r10, 0x1c shl r10, 0x2 shl r10, 0x24 shl r10, 0x27 shl r10, 0x29 shl r10, 0x2b shl r10, 0x2d shl r10, 0x3 shl r10, 0x37 shl r10, 0x3d shl r10, 0x6 shl r10, 0x8 shl r10, 0xa shl r10, 0xe shl r11, 0x1 shl r11, 0x12 sh...
; A267729: Number of n X 2 0..1 arrays with every repeated value in every row and column greater than or equal to the previous repeated value. ; 4,16,64,225,784,2601,8464,26896,84100,259081,788544,2374681,7086244,20976400,61653904,180069561,522945424,1510954641,4345446400,12444741136,35502850084,100926300721,2859768138...
Dakutens: db "かが", "きぎ", "くぐ", "けげ", "こご" db "さざ", "しじ", "すず", "せぜ", "そぞ" db "ただ", "ちぢ", "つづ", "てで", "とど" db "はば", "ひび", "ふぶ", "へべ", "ほぼ" db "カガ", "キギ", "クグ", "ケゲ", "コゴ" db "サザ", "シジ", "スズ", "セゼ", "ソゾ" db "タダ", "チヂ", "ツヅ", "テデ", "トド" db "ハバ", "ヒビ", "フブ", "へべ", "ホボ" db -1 ; end Handakutens: db "はぱ", "ひぴ", "ふぷ...
; A336102: Number of inseparable multisets of size n covering an initial interval of positive integers. ; 0,0,1,1,3,3,8,8,20,20,48,48,112,112,256,256,576,576,1280,1280,2816,2816,6144,6144,13312,13312,28672,28672,61440,61440,131072,131072,278528,278528,589824,589824,1245184,1245184,2621440,2621440,5505024,5505024,115343...
; KR580VM80A (i8080A) assembly code ; /-----------------------------------------------\ ; | ГОСТ 28147-89 "Магма" | GOST 28147-89 "Magma" | ; | | | ; |Режим выр. имитовставки| MAC mode | ; | | | ; | Реализация ...
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h ;hax to desimal mov ax,900h mov ds,ax mov si,10 mov di,15 mov [2],'1' mov [4],'2' mov [6],'3' mov [8],'4' mov [10],'5' mov [12],'6' mov [14],'7' mov [16],'8' ...
; A134309: Triangle read by rows, where row n consists of n zeros followed by 2^(n-1). ; 1,0,1,0,0,2,0,0,0,4,0,0,0,0,8,0,0,0,0,0,16,0,0,0,0,0,0,32,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,256,0,0,0,0,0,0,0,0,0,0,512,0,0,0,0,0,0,0,0,0,0,0,1024,0,0,0,0,0,0,0,0,0,0,0,0,2048,0,0,0,0,0,0,0 mov $4,$0 mov $8,2 ...
; A244726: 6*n^3. ; 0,6,48,162,384,750,1296,2058,3072,4374,6000,7986,10368,13182,16464,20250,24576,29478,34992,41154,48000,55566,63888,73002,82944,93750,105456,118098,131712,146334,162000,178746,196608,215622,235824,257250,279936,303918,329232,355914,384000,413526,444528,477042,511104,546750,584016,622938,663552,705894...
#include "network/postgres/postgres_packet_util.h" #include <string> #include <vector> #include "execution/sql/value.h" #include "execution/sql/value_util.h" #include "execution/util/execution_common.h" #include "network/network_io_utils.h" #include "network/postgres/postgres_defs.h" #include "network/postgres/postgr...
; A060510: Alternating with hexagonal stutters: if n is hexagonal (2k^2 - k, i.e., A000384) then a(n)=a(n-1), otherwise a(n) = 1 - a(n-1). ; Submitted by Christian Krause ; 0,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1...
include stdiolib.i CGROUP group code code segment dword 'CODE' assume cs:CGROUP,ds:CGROUP STDIOLIB_JUMP fflush siol_fflush code ends end
; vasmm68k_mot[_<HOST>] -Fbin -o icon_36_336/def_trashcan.info def_trashcan-icon_36_336.asm ; ; Default "ENV:def_trashcan.info" data included in "icon 36.336 (8.6.90)". ; include deficon.inc ifne DEFICON_MEM align 1 endif defIconTrashcan: dc.w $E310 ; do_Magic = WB_DISKMAGIC dc.w $0001 ...
; A237616: a(n) = n*(n + 1)*(5*n - 4)/2. ; 0,1,18,66,160,315,546,868,1296,1845,2530,3366,4368,5551,6930,8520,10336,12393,14706,17290,20160,23331,26818,30636,34800,39325,44226,49518,55216,61335,67890,74896,82368,90321,98770,107730,117216,127243,137826,148980,160720,173061,186018,199606,213840,228735,244306,260568,277536...
<%page args="gid = 'egid'"/> <%docstring> Args: [gid (imm/reg) = egid] Sets the real and effective group id. </%docstring> % if gid == 'egid': /* getegid */ push SYS_getegid pop eax int 0x80 % else: push ${gid} pop eax % endif /* setregid(eax, eax) */ mov ebx, eax mov ecx, ea...
%define ARCH_AARCH64 0 %define ARCH_ALPHA 0 %define ARCH_ARM 0 %define ARCH_AVR32 0 %define ARCH_AVR32_AP 0 %define ARCH_AVR32_UC 0 %define ARCH_BFIN 0 %define ARCH_IA64 0 %define ARCH_M68K 0 %define ARCH_MIPS 0 %define ARCH_MIPS64 0 %define ARCH_PARISC 0 %define ARCH_PPC 0 %define ARCH_PPC64 0 %define ARCH_S390 0 %def...
; A063732: Numbers n such that Lucas representation of n excludes L_0 = 2. ; Submitted by Jamie Morken(s1) ; 0,1,3,4,5,7,8,10,11,12,14,15,16,18,19,21,22,23,25,26,28,29,30,32,33,34,36,37,39,40,41,43,44,45,47,48,50,51,52,54,55,57,58,59,61,62,63,65,66,68,69,70,72,73,75,76,77,79,80,81,83,84,86,87,88,90 mov $2,$0 add $0,4 ...
.size 8000 .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(24), a ldff(25), a ldff(26), a ld a, 80 ldff(26), a ld b, 35 ld c, 04 lwaitbegin: dec b jrnz lwaitbegin dec c jrnz lwaitbegin nop nop nop ld a, 3d ldff(16), a ld a, f0 ldff(17), a ld a, 00 ldff(18), a ld a, c7 ldff(1...
XLIB add_pause_int XREF pause_procs ;============================================================== ; add_pause_int(void *ptr) ;============================================================== ; Adds a pause interrupt handler ;============================================================== .add_pause_int ld hl, 2 ...
// Experiments with malloc() - a word array // Commodore 64 PRG executable file .file [name="malloc-1.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart...
; Z88 Small C+ Run time Library ; Moved functions over to proper libdefs ; To make startup code smaller and neater! ; ; 6/9/98 djm ; ; Optimization...check for equality SECTION code_crt0_sccz80 PUBLIC l_pint_eq ; store int from HL into (DE) .l_pint_eq ...
; A097714: Repeatedly convert from sexagesimal to centesimal, starting with 60. ; 60,100,140,220,340,540,900,1500,2500,4140,6900,11500,19140,31900,53140,88540,147540,245900,409820,683020,1138340,1897220,3162020,5270020,8783340,14638900,24398140,40663540,67772540,112954220,188257020 lpb $0,1 sub $0,1 div $1,3 add...
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="fd, buf, n"/> <%docstring> Invokes the syscall write. See 'man 2 write' for more information. Arguments: fd(int): fd buf(void): buf n(size_t): n </%docstring> ${syscall('SYS_write', fd, buf, n)}