text
stringlengths
1
1.05M
; A234740: Sum of the eleventh powers of the first n primes. ; 2048,179195,49007320,2026334063,287338004674,2079498398711,36351394706344,152841653604563,1105651411518490,13306161177224319,38714638073629150,216632259853089563,766961291569338004,1696255031040560711,4168414246124573014,13437450175496764611,435933386202346...
; A037566: Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 2,2,1. ; Submitted by Jamie Morken(s4) ; 2,20,181,1631,14681,132130,1189172,10702550,96322951,866906561,7802159051,70219431460,631974883142,5687773948280,51189965534521,460709689810691,4146387208296221 add $0,1 mov $...
; A119651: Number of different values of exactly n standard American coins (pennies, nickels, dimes and quarters). ; 4,10,20,34,52,73,96,120,144,168,192,216,240,264,288,312,336,360,384,408,432,456,480,504,528,552,576,600,624,648,672,696,720,744,768,792,816,840,864,888,912,936,960,984,1008,1032,1056,1080,1104,1128,1152,...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D22 move.l D0, (A4)+ 004D24 move.l D0, (A4)+ 017FA4 move.w ($4f6,A5), D0 017FA8 lea ($10a,PC) ; ($180b4), A0 017FF6 clr.w ($4f6,A5) [base+5F0] 017FFA move.b ($777b,A5), D0 018282 clr.w ...
/* ----------------------------------------------------------------------------- This source file is part of OGRE-Next (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any pe...
; A280172: Lexicographically earliest table of positive integers read by antidiagonals such that no row or column contains a repeated term. ; Submitted by Jon Maiga ; 1,2,2,3,1,3,4,4,4,4,5,3,1,3,5,6,6,2,2,6,6,7,5,7,1,7,5,7,8,8,8,8,8,8,8,8,9,7,5,7,1,7,5,7,9,10,10,6,6,2,2,6,6,10,10,11,9,11,5,3,1,3,5,11,9,11,12,12,12,12,4...
; A021457: Decimal expansion of 1/453. ; Submitted by Jon Maiga ; 0,0,2,2,0,7,5,0,5,5,1,8,7,6,3,7,9,6,9,0,9,4,9,2,2,7,3,7,3,0,6,8,4,3,2,6,7,1,0,8,1,6,7,7,7,0,4,1,9,4,2,6,0,4,8,5,6,5,1,2,1,4,1,2,8,0,3,5,3,2,0,0,8,8,3,0,0,2,2,0,7,5,0,5,5,1,8,7,6,3,7,9,6,9,0,9,4,9,2 mov $2,10 pow $2,$0 mul $2,10 div $2,453 mov $0,$2 mod ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
org 100h .data str db 10,13,”Enter Values: $” str1 db 0dh,0ah,”Sorted: $” array db 10dup(0) .code mov ah,9 lea dx,str int 21h mov cx,10 mov bx,offset array mov ah,1 inputs: int 21h mov [bx],al inc bx Loop inputs mov cx,10 dec cx nextscan: mov bx,cx mov si,0 nextcomp: mov al,array[si] mov dl,array[si+1] cmp al,...
%ifdef CONFIG { "RegData": { "RAX": "0x0", "RBX": "0x3" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax mov rax, 0x8000000080000000 mov [rdx + 8 * 2], rax mov rax, 0x70...
; A207255: Number of 4 X n 0..1 arrays avoiding 0 0 1 and 1 0 1 horizontally and 0 1 0 and 1 0 1 vertically. ; 10,100,370,940,1950,3560,5950,9320,13890,19900,27610,37300,49270,63840,81350,102160,126650,155220,188290,226300,269710,319000,374670,437240,507250,585260,671850,767620,873190,989200,1116310,1255200,1406570,157...
; A001650: n appears n times (n odd). ; 1,3,3,3,5,5,5,5,5,7,7,7,7,7,7,7,9,9,9,9,9,9,9,9,9,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,21,21...
; SLAE - Assignment #3: Small Egghunter (Linux/x86) - 19 bytes ; Author: Julien Ahrens (@MrTuxracer) ; Website: http://www.rcesecurity.com global _start section .text _start: mov eax, esp ;get current working stack address mov ebx, 0x42904a90 ;egg=INC EDX, NOP, DEC EDX, NOP search_the_egg: inc eax ;go upwa...
TITLE prscg.asm - Parser Code Generation Functions ;========================================================================== ; ; Module: prscg.asm - Parser Code Generation Functions ; Subsystem: Parser ; System: Quick BASIC Interpreter ; ;=======================================================================...
li $t0,1 #a li $t1,4 #b beq $t0,1,if j print if: la $t2,($t0) #c beq $t1,3,print add $t2,$t2,$t1 print: li $v0,1 move $a0,$t2 syscall
; int ba_stack_pop(ba_stack_t *s) SECTION code_adt_ba_stack PUBLIC _ba_stack_pop EXTERN _b_array_pop_back defc _ba_stack_pop = _b_array_pop_back
; A307912: a(n) = n - 1 - pi(2*n-1) + pi(n), where pi is the prime counting function. ; Submitted by Jon Maiga ; 0,0,1,1,3,3,4,5,5,5,7,7,9,10,10,10,12,13,14,15,15,15,17,17,18,19,19,20,22,22,23,24,25,25,26,26,27,28,29,29,31,31,33,34,34,35,37,38,38,39,39,39,41,41,41,42,42,43,45,46,48,49,50,50,51,51,53,54 mov $2,$0 add $...
/************************ * Z=long specialization ************************/ #ifndef FPLLL_NR_Z_L_H #define FPLLL_NR_Z_L_H FPLLL_BEGIN_NAMESPACE /* specialization long */ #ifdef FPLLL_WITH_ZLONG template<> inline Z_NR<long>::Z_NR() {} template<> inline Z_NR<long>::Z_NR(const Z_NR<long>& z) : data(z.data) {} tem...
; A109753: n^3 mod 8; the periodic sequence {0,1,0,3,0,5,0,7}. ; 0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3 pow $0,5 mod $0,8
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: GeoCalc FILE: spreadsheetRowArray.asm AUTHOR: Gene Anderson, Mar 7, 1991 ROUTINES: Name Description ---- ----------- EXT ColumnGetWidth ...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; set up st0 to be 3.141593 FLDPI FLD1 FLD1 ;TEST_BEGIN_RECORDING FDIVR st0, st2 mov edi, 0 ;TEST_END_RECORDING
; A245327: Numerators in recursive bijection from positive integers to positive rationals (the bijection is f(1) = 1, f(2n) = 1/(f(n)+1), f(2n+1) = f(n)+1 . ; Submitted by Jon Maiga ; 1,1,2,2,3,1,3,3,5,2,5,3,4,1,4,5,8,3,8,5,7,2,7,4,7,3,7,4,5,1,5,8,13,5,13,8,11,3,11,7,12,5,12,7,9,2,9,7,11,4,11,7,10,3,10,5,9,4,9,5,6,1,6,...
void v() { int j = 0; while(int k = j < 5) { } }
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2016-2017 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; void *heap_init(void *heap, size_t size) ; ; Initialize a heap of size bytes. ; An unchecked condition is that size > 14 bytes. ; ; =======================================...
#include <stdio.h> #include <component153/lib1.h> #include <externalComponent23/lib1.h> #include <component719/lib1.h> #include <component652/lib1.h> #include <externalComponent156/lib1.h> #include <component785/lib1.h> #include <component1079/lib1.h> #include <component158/lib1.h> #include <component1077/lib1.h> #in...
; A004373: Binomial coefficient C(7n,n-5). ; 1,42,1176,27720,595665,12103014,237093780,4529365776,84986896995,1573664496040,28848458598960,524780754733872,9488573603719938,170737530940919250,3060335715568296000,54680757182029915776 mov $1,7 mul $1,$0 add $1,35 bin $1,$0 mov $0,$1
; A169109: Number of reduced words of length n in Coxeter group on 48 generators S_i with relations (S_i)^2 = (S_i S_j)^25 = I. ; 1,48,2256,106032,4983504,234224688,11008560336,517402335792,24317909782224,1142941759764528,53718262708932816,2524758347319842352,118663642324032590544,5577191189229531755568,262127985893787...
///////////////////////////////////////////////////////////////////////////// // // File : QIODevice.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:01:55 // // Warning : this file is machine generated -...
;*** ;sehprolog.asm - defines __SEH_prolog and __SEH_epilog ; ; Copyright (c) 1994-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; SEH prolog/epilog helper function. Sets up the frame for a function ; with SEH try block. ; ;Revision History: ; 03-28-2000 LL Module created. ; 10-17-2...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi // Load lea addresses_PSE+0x1c254, %r9 nop nop nop nop and $11930, %r13 movb (%r9), %r8b add $31127, %r13 // Load lea addresses_A...
; graphics.asm - An pure 32-bit and 64-bit win32 assembly GDI+ program ; Made by Bastiaan van der Plaat (https://bastiaan.ml/) ; 32-bit: nasm -f bin graphics.asm -o graphics-x86.exe && ./graphics-x86 ; 64-bit: nasm -DWIN64 -f bin graphics.asm -o graphics-x64.exe && ./graphics-x64 ; Because the flat...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 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...
// Copyright 2008-present Contributors to the OpenImageIO project. // SPDX-License-Identifier: BSD-3-Clause // https://github.com/OpenImageIO/oiio/blob/master/LICENSE.md #include "py_oiio.h" #include <memory> #include <OpenImageIO/platform.h> namespace PyOpenImageIO { py::tuple ImageBuf_getpixel(const ImageBuf&...
!to "shasum.o", plain * = $6000 jmp main !addr SRC = $06 !addr DST = $08 !addr SHAINPUT = $eb !addr SHALENGTH = $ee !addr PRBYTE = $FDDA !addr COUT = $FDED !macro set32 .target, .value { lda #<(.value >> 24) sta .target lda #<(.value >> 16) sta .target+1 lda #<(.value >> 8) sta .target+2 lda #...
#include <iostream> #include <functional> #include <thread> #include <future> #include <exception> static void __get_int(std::promise<int>& prom) { int x; std::cout << "Please, enter an integer value: "; std::cin.exceptions (std::ios::failbit); try { std::cin >> x; prom.set_value(x); ...
; A140354: a(n) = binomial(n+9,9)*2^n. ; 1,20,220,1760,11440,64064,320320,1464320,6223360,24893440,94595072,343982080,1203937280,4074864640,13388840960,42844291072,133888409600,409541017600,1228623052800,3621204787200,10501493882880,30004268236800,84557483212800,235290388070400,647048567193600,1759972102766592,47383864...
; ; ; ZX Maths Routines ; ; 8/12/02 - Stefano Bodrato ; ; $Id: pow.asm,v 1.5 2016-06-22 19:59:18 dom Exp $ ; ;double pow(double x,double y) ;y is in the FA ;x is on the stack +8 (+2=y) ; IF FORzx INCLUDE "zxfp.def" ENDIF IF FORzx81 INCLUDE "81fp.def" ENDIF IF FORlambda INCLUDE "lambdafp....
; ulong esxdos_m_getdate(void) SECTION code_clib SECTION code_esxdos PUBLIC esxdos_m_getdate EXTERN asm_esxdos_m_getdate defc esxdos_m_getdate = asm_esxdos_m_getdate
#include "Units.h" #include <string> #include "../llvmUtils/llvmUtils.h" #include "../llvm_Linker.h" #include "../llvm_Module.h" namespace dale { Units::Units(Module::Reader *mr) { this->mr = mr; this->prefunction_ns = NULL; } Units::~Units() {} Unit *Units::top() { if (!units.size()) { assert(...
Title_screen_Header: smpsHeaderStartSong 2 smpsHeaderVoice Title_screen_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $01, $CD smpsHeaderDAC Title_screen_DAC smpsHeaderFM Title_screen_FM1, $F4, $0C smpsHeaderFM Title_screen_FM2, $F4, $0C smpsHeaderFM Title_screen_FM3, $...
// Copyright 2014 the V8 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. #include "src/ast/scopes.h" #include "src/compiler/code-generator.h" #include "src/compiler/code-generator-impl.h" #include "src/compiler/gap-resolver.h...
/* This file is part of Nokia HEIF library * * Copyright (c) 2015-2018 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * * Contact: heif@nokia.com * * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its subsidiaries. All rights are rese...
<% from pwnlib.shellcraft import arm, common %> <% from pwnlib.util.misc import binary_ip %> <% from pwnlib.util.packing import u32 %> <% from socket import htons %> <%page args="port=31337"/> <%docstring> listens on specific port infinity Args: port (int/str): specific port (default: 31337) </%docstri...
; A168952: Number of reduced words of length n in Coxeter group on 35 generators S_i with relations (S_i)^2 = (S_i S_j)^22 = I. ; 1,35,1190,40460,1375640,46771760,1590239840,54068154560,1838317255040,62502786671360,2125094746826240,72253221392092160,2456609527331133440,83524723929258536960,2839840613594790256640,965545...
; A065128: Number of invertible n X n matrices mod 4 (i.e., over the ring Z_4). ; Submitted by Jon Maiga ; 1,2,96,86016,1321205760,335522845163520,1385295986380096143360,92239345887620476544860815360,98654363640526679389774053813465907200,1691558770638735027870457216848672340872423014400,4645180599959940381843792064477...
SECTION code_clib SECTION code_fp_math48 PUBLIC asm_isgreater EXTERN am48_isgreater defc asm_isgreater = am48_isgreater
; A173856: Expansion of 10/9 in base phi. ; 1,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0 mul $0,2 pow $0,2 dif $0,4 sub $0,1 dif $0,4 add $0,1 mov $2,2985984 gcd $2...
#include <netlistDB/transform/indexed_assignment_to_assignment_of_concat.h> #include <exception> #include <thread> #include <netlistDB/statement_assignment.h> using namespace std; namespace netlistDB { namespace transform { pair<size_t, size_t> net_val_as_range(Net & n) { throw runtime_error("not implemented"); } ...
; --------------------------------------------------------------------------- ; Animation script - electrocution orbs (SBZ) ; --------------------------------------------------------------------------- Ani_Elec: dc.w byte_161CC-Ani_Elec dc.w byte_161D0-Ani_Elec byte_161CC: dc.b 7, 0, afEnd even byte_161D0: dc.b 0, ...
; A274427: Positions in A274426 of products of distinct Fibonacci numbers > 1. ; 1,2,4,5,7,8,11,12,13,16,17,18,22,23,24,25,29,30,31,32,37,38,39,40,41,46,47,48,49,50,56,57,58,59,60,61,67,68,69,70,71,72,79,80,81,82,83,84,85,92,93,94,95,96,97,98,106,107,108,109,110,111,112,113,121,122,123,124,125,126,127,128,137,138,139,1...
; A000538: Sum of fourth powers: 0^4 + 1^4 + ... + n^4. ; 0,1,17,98,354,979,2275,4676,8772,15333,25333,39974,60710,89271,127687,178312,243848,327369,432345,562666,722666,917147,1151403,1431244,1763020,2153645,2610621,3142062,3756718,4463999,5273999,6197520,7246096,8432017,9768353,11268978,12948594,14822755,16907891,192...
/***************************************************************************** * GATB : Genome Assembly Tool Box * Copyright (C) 2014 INRIA * Authors: R.Chikhi, G.Rizk, E.Drezen * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public ...
.code ALIGN 16 add1 proc push rdi push rsi mov rdi, rcx mov rsi, rdx mov rdx, r8 xor r8, r8 xor r9, r9 xor r10, r10 xor r11, r11 xor rax, rax add rdx, qword ptr [rsi + 0] mov qword ptr [rdi + 0], rdx adcx r8, qword ptr [rsi + 8] mov qword ptr [rdi + 8], r8 adcx r9, qword p...
; A270867: a(n) = n^3 + 2*n^2 + 4*n + 1. ; 1,8,25,58,113,196,313,470,673,928,1241,1618,2065,2588,3193,3886,4673,5560,6553,7658,8881,10228,11705,13318,15073,16976,19033,21250,23633,26188,28921,31838,34945,38248,41753,45466,49393,53540,57913,62518,67361,72448,77785,83378,89233,95356,101753,108430,115393,122648,130201,138...
// Copyright (c) 2013 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 "ui/wm/core/cursor_manager.h" #include "base/memory/ptr_util.h" #include "ui/aura/client/cursor_client_observer.h" #include "ui/aura/test/au...
; A001614: Connell sequence: 1 odd, 2 even, 3 odd, ... ; 1,2,4,5,7,9,10,12,14,16,17,19,21,23,25,26,28,30,32,34,36,37,39,41,43,45,47,49,50,52,54,56,58,60,62,64,65,67,69,71,73,75,77,79,81,82,84,86,88,90,92,94,96,98,100,101,103,105,107,109,111,113,115,117,119,121,122,124,126,128,130,132,134,136,138,140,142,144,145,147,149...
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P global bn_mul_mont ALIGN 16 bn_mul_mont: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$SEH_begin_bn_mul_mont: mov rdi,rcx mov rsi,rdx mov rdx,r8 mov rcx,r9 mov r8,QWOR...
// This file is auto-generated. Do not edit! #include "precomp.hpp" #include "cvconfig.h" #include "opencl_kernels_objdetect.hpp" #ifdef HAVE_OPENCL namespace cv { namespace ocl { namespace objdetect { static const char* const moduleName = "objdetect"; struct cv::ocl::internal::ProgramEntry cascadedetect_oclsrc={m...
#include "debug/textDisplay.h" #include "platform.h" #include "gl/glError.h" #include "gl/vertexLayout.h" #include "gl/renderState.h" #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include <cstdarg> #define STB_EASY_FONT_IMPLEMENTATION #include "stb_easy_font.h" namespace Tangram { TextDisplay::Tex...
// Copyright 2019 The MWC Developers // // 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 law or agreed...
#include <Processors/Formats/Impl/CSVRowOutputFormat.h> #include <Formats/FormatFactory.h> #include <IO/WriteHelpers.h> namespace DB { CSVRowOutputFormat::CSVRowOutputFormat(WriteBuffer & out_, const Block & header_, bool with_names_, FormatFactory::WriteCallback callback, const FormatSettings & format_settings_) ...
; A084942: Enneagorials: n-th polygorial for k=9. ; Submitted by Jamie Morken(s3) ; 1,1,9,216,9936,745200,82717200,12738448800,2598643555200,678245967907200,220429939569840000,87290256069656640000,41375581377017247360000,23128949989752641274240000 mov $2,1 mov $4,1 lpb $0 sub $0,1 add $3,$2 add $2,7 mul $4,$3 ...
; ------------------------------------------------------------------ ; MichalOS Hardware checker ; ------------------------------------------------------------------ BITS 16 %INCLUDE "michalos.inc" ORG 100h start: mov eax, 0 ; Get the maximum parameter for basic CPUID cpuid mov [basicid], eax mov eax, 80...
/** * Copyright (C) 2022 Xilinx, Inc * Copyright (C) 2022 Advanced Micro Devices, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/l...
; A228842: Binomial transform of A014448. ; 2,6,28,144,752,3936,20608,107904,564992,2958336,15490048,81106944,424681472,2223661056,11643240448,60964798464,319215828992,1671435780096,8751751364608,45824765067264,239941584945152,1256350449401856,6578336356630528,34444616342175744,180354352626532352,944347650390491136,494...
#section support_code_apply // Apply-specific main function int APPLY_SPECIFIC(factor_rev)(PyArrayObject* input0, PyArrayObject* input1, PyArrayObject* input2, PyArrayObject* input3, PyArrayObject* input4, PyArrayObject* input5, ...
; A142646: Primes congruent to 13 mod 56. ; Submitted by Jon Maiga ; 13,181,293,349,461,797,853,1021,1301,1637,1693,1861,1973,2029,2141,2309,2477,3037,3373,3541,3709,3821,3877,3989,4157,4493,4549,5333,5501,5557,5669,6173,6229,6397,6733,7013,7069,7237,7349,7517,7573,7741,7853,8581,8693,8861,9029,9421,9533,10037,10093,10...
; A239844: Number of n X 2 0..3 arrays with no element equal to one plus the sum of elements to its left or one plus the sum of elements above it or two plus the sum of the elements diagonally to its northwest, modulo 4. ; 3,8,17,35,64,109,176,272,405,584,819,1121,1502,1975,2554,3254,4091,5082,6245,7599,9164,10961,1301...
; A025793: Expansion of 1/((1-x)(1-x^10)(1-x^11)). ; 1,1,1,1,1,1,1,1,1,1,2,3,3,3,3,3,3,3,3,3,4,5,6,6,6,6,6,6,6,6,7,8,9,10,10,10,10,10,10,10,11,12,13,14,15,15,15,15,15,15,16,17,18,19,20,21,21,21,21,21,22,23,24,25,26 mov $16,$0 add $16,1 lpb $16 clr $0,14 sub $16,1 sub $0,$16 mov $7,$0 lpb $7 mov $2,$7 ...
; $Id: bit_synth_mwr.asm $ ; ; void bit_synth(int duration, int frequency1, int frequency2, int frequency3, int frequency4); ; ; 1 bit sound library - version for "memory write" I/O architectures ; ; synthetizer - this is a sort of "quad sound" routine. ; It is based on 4 separate counters and a delay. ; Depending on t...
// (C) Copyright Jeremy Siek and David Abrahams 2000-2001. Permission to copy, // use, modify, sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided "as is" // without express or implied warranty, and with no claim as to its suitability // fo...
Route12_h: db OVERWORLD ; tileset db ROUTE_12_HEIGHT, ROUTE_12_WIDTH ; dimensions (y, x) dw Route12Blocks, Route12TextPointers, Route12Script ; blocks, texts, scripts db NORTH | SOUTH | WEST ; connections NORTH_MAP_CONNECTION ROUTE_12, LAVENDER_TOWN, 0, 0, LavenderTownBlocks SOUTH_MAP_CONNECTION ROUTE_12, ROUTE_1...
; A024067: a(n) = 6^n - n^5. ; 1,5,4,-27,272,4651,38880,263129,1646848,10018647,60366176,362636005,2176533504,13060322723,78363626272,470184225201,2821108858880,16926658024879,101559954778848,609359737534397,3656158436862976 mov $1,6 pow $1,$0 pow $0,5 add $0,1 sub $1,$0 add $1,1
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
addi r1 r0 100 bltz r1 end addi r1 r0 -2586 bltz r1 print halt print: addi r10 r0 65 tty r10 end: halt #prints A
MODULE asm_scanf SECTION code_clib PUBLIC asm_scanf PUBLIC __scanf_getchar PUBLIC __scanf_ungetchar PUBLIC __scanf_noop PUBLIC scanf_exit PUBLIC scanf_loop PUBLIC __scanf_nextarg EXTERN __scanf_parse_number EXTERN __scanf_common_start EXTERN __scanf_get_number EXTERN __scanf_format_table EXTERN __scanf_...
; A226107: Number of strict partitions of n with Cookie Monster number 2. ; 0,0,1,1,2,3,3,4,4,6,5,7,6,9,7,10,8,12,9,13,10,15,11,16,12,18,13,19,14,21,15,22,16,24,17,25,18,27,19,28,20,30,21,31,22,33,23,34,24,36,25,37,26,39,27,40,28,42,29,43,30,45,31,46,32,48,33,49,34,51,35,52,36,54,37,55,38,57,39,58,40,60,41,61,42,63,43,...
32_Header: sHeaderInit ; Z80 offset is $C000 sHeaderPatch 32_Patches sHeaderTick $01 sHeaderCh $01 sHeaderSFX $80, $05, 32_FM5, $00, $05 32_FM5: sPan spRight sPatFM $00 dc.b nE5, $05, nG5, $05, nC6, $1B sStop 32_Patches: ; Patch $00 ; $04 ; $37, $72, $77, $49, $1F, $1F, $1F, $1F ; $07, $0A, $07, ...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
; A214960: Expansion of psi(x^2) - x * psi(x^10) in powers of x where psi() is a Ramanujan theta function. ; Submitted by Jon Maiga ; 1,-1,1,0,0,0,1,0,0,0,0,-1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,-1,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,0,0,0,1,...
; A020107: Ceiling of GAMMA(n+3/10)/GAMMA(3/10). ; Submitted by Jon Maiga ; 1,1,1,1,3,13,68,426,3103,25751,239484,2466678,27873457,342843515,4559818741,65205407995,997642742322,16261576699845,281325276907304,5148252567403659,99361274550890614,2017033873383079454 mov $2,1 mov $3,$0 mul $3,5 lpb $3 sub $3,4 mov $5,$...
// Make sure coverage is dumped even if there are reported leaks. // // RUN: %clangxx_asan -fsanitize-coverage=func %s -o %t // // RUN: rm -rf %T/coverage-and-lsan // // RUN: mkdir -p %T/coverage-and-lsan/normal // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-and-lsan:verbosity=1 not %run %t 2>&1 | FileCheck...
; ; Copyright (c) 2020 Bitdefender ; SPDX-License-Identifier: Apache-2.0 ; %include "system.nasm" ; ; PrepareAndCallTheKernel(SIZE_T ptrIntermediateCodeData, SIZE_T ptrCpuData) ; global PrepareAndCallTheKernel global _PrepareAndCallTheKernel@8 ; ; CpustateCaptureGuestState(QWORD GuestInfo) ; ;extern CpustateCaptureGu...
/** * Autogenerated by Thrift for src/module.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "thrift/compiler/test/fixtures/basic/gen-cpp2/DbMixedStackArguments.h" #include "thrift/compiler/test/fixtures/basic/gen-cpp2/DbMixedStackArguments.tcc" #include "thrif...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1a70f, %rsi lea addresses_normal_ht+0x18c5d, %rdi nop nop nop nop cmp %r12, %r12 mov $25, %rcx rep movsb xor %rbx, %rbx lea addresses_WC_ht+0x4d0f, %rbx clflush (%rbx) nop nop...
; A133647: A133566 * A000244. ; 1,3,12,27,108,243,972,2187,8748,19683,78732,177147,708588,1594323,6377292,14348907,57395628,129140163,516560652,1162261467,4649045868,10460353203,41841412812,94143178827,376572715308,847288609443,3389154437772,7625597484987,30502389939948,68630377364883,274521509459532,617673396283947,24...
; 1 2 3 4 5 6 7 ;234567890123456789012345678901234567890123456789012345678901234567890 ;===================================================================== ; ; *** TEST *** ; ;-------------------------------------------------------------...
; A144328: A002260 preceded by a column of 1's: a (1, 1, 2, 3, 4, 5,...) crescendo triangle by rows. ; Submitted by Christian Krause ; 1,1,1,1,1,2,1,1,2,3,1,1,2,3,4,1,1,2,3,4,5,1,1,2,3,4,5,6,1,1,2,3,4,5,6,7,1,1,2,3,4,5,6,7,8,1,1,2,3,4,5,6,7,8,9,1,1,2,3,4,5,6,7,8,9,10,1,1,2,3,4,5,6,7,8,9,10,11,1,1,2,3,4,5,6,7,8,9,10,11,...
/* -------------------------------------------------------------------------- * * ETK++ --- The Easy Toolkit for C++ programing * Copyright (C) 2004-2006, Anthony Lee, All Rights Reserved * * ETK++ library is a freeware; it may be used and distributed according to * the terms of The MIT License. * * Permission ...
; A163714: Number of n X 2 binary arrays with all 1s connected, a path of 1s from top row to bottom row, and no 1 having more than two 1s adjacent. ; 3,7,10,16,26,42,68,110,178,288,466,754,1220,1974,3194,5168,8362,13530,21892,35422,57314,92736,150050,242786,392836,635622,1028458,1664080,2692538,4356618,7049156,11405774...
; ; Turtle graphics library ; Stefano - 11/2017 ; ; $Id: fwd.asm $ ; SECTION code_clib PUBLIC fwd PUBLIC _fwd EXTERN l_mult EXTERN l_div EXTERN icos EXTERN isin EXTERN move EXTERN __direction .fwd ._fwd ; __FASTCALL push hl ld hl,(__dire...
lc r4, 0x00000002 lc r5, 0xffffffff eq r6, r4, r5 halt #@expected values #r4 = 0x00000002 #r5 = 0xffffffff #r6 = 0x00000000 #pc = -2147483632 #e0 = 0 #e1 = 0 #e2 = 0 #e3 = 0
ori $1, $0, 8 ori $2, $0, 12 ori $3, $0, 5 ori $4, $0, 0 sw $4, 0($0) sw $2, 4($0) sw $3, 8($0) sw $3, 12($0) sw $2, 16($0) sw $2, 20($0) sw $4, 24($0) sw $3, 28($0) sw $1, 32($0) sw $1, 36($0) sw $4, 40($0) sw $3, 44($0) sw $3, 48($0) sw $4, 52($0) sw $2, 56($0) sw $4, 60($0) sw $3, 64($0) sw $3, ...
PewterGymObject: db $3 ; border block db $2 ; warps db $d, $4, $2, $ff db $d, $5, $2, $ff db $0 ; signs db $3 ; objects object SPRITE_BLACK_HAIR_BOY_2, $4, $1, STAY, DOWN, $1, OPP_BROCK, $1 object SPRITE_BLACK_HAIR_BOY_1, $3, $6, STAY, RIGHT, $2, OPP_JR_TRAINER_M, $1 object SPRITE_GYM_HELPER, $7, $a, STAY, ...
db "TRANSFORM@" ; species name dw 100, 90 ; height, weight db "When it encount-" next "ers another DITTO," next "it will move" page "faster than normal" next "to duplicate that" next "opponent exactly.@"
lda {c1},y sta {m1} lda {c1}+1,y sta {m1}+1 lda {c1}+2,y sta {m1}+2 lda {c1}+3,y sta {m1}+3
; A287657: {0->01, 1->10}-transform of the infinite Fibonacci word A003849. ; 0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,...
copyright zengfr site:http://github.com/zengfr/romhack 005EB4 bne $5fe2 005EC2 bne $66da 005F4A bne $5fe2 006086 bne $66da 006150 bne $66da 006170 bne $5fe2 0062F2 bne $5fe2 006302 bne $66da 006324 bne $5fe2 006688 bne $5fe2 01A610 dbra D1, $1a60e 04C7D8...
; off_t lseek(int fd, off_t offset, int whence) SECTION code_fcntl PUBLIC lseek_callee, l0_lseek_callee EXTERN asm_lseek lseek_callee: pop bc exx pop bc ld a,c pop hl pop de pop bc l0_lseek_callee: exx push bc exx jp asm_lseek