text
stringlengths
1
1.05M
/*A positive integer of n digits is called an Armstrong number of order n (order is number of digits) if abcd... = pow(a,n) + pow(b,n) + pow(c,n) + pow(d,n) + .... */ #include <iostream> #include <math.h> using namespace std; //To calculate the order of the number int order(int num) { int count; while (num > ...
; A026274: Greatest k such that s(k) = n, where s = A026272. ; 3,5,8,11,13,16,18,21,24,26,29,32,34,37,39,42,45,47,50,52,55,58,60,63,66,68,71,73,76,79,81,84,87,89,92,94,97,100,102,105,107,110,113,115,118,121,123,126,128,131,134,136,139,141,144,147,149,152,155,157,160,162,165,168,170,173,176,178,181,183,186,189,191,194,1...
;------------------------------------------------------------------------------ ; This file is part of the 'RTX-51 tiny' Real-Time Operating System Package ; Copyright KEIL ELEKTRONIK GmbH and Keil Software, Inc. 1991 - 2002 ;------------------------------------------------------------------------------ ; ; OS...
; A135032: a(n) = 6*a(n-1) + 4*a(n-2). ; Submitted by Jamie Morken(s4) ; 0,1,6,40,264,1744,11520,76096,502656,3320320,21932544,144876544,956989440,6321442816,41756614656,275825459200,1821979213824,12035177119744,79498979573760,525134585921536,3468803433824256,22913358946631680,151355367415087104,999785640277049344,6604...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>pciconfig_write(bus, dfn, off, length, buf) -> str Invokes the syscall pciconfig_write. See 'man 2 pciconfig_write' for more information. Arguments: bus(unsigned): bus dfn(unsigned): dfn off(unsigned):...
; A002324: Number of divisors of n == 1 (mod 3) minus number of divisors of n == 2 (mod 3). ; Submitted by Christian Krause ; 1,0,1,1,0,0,2,0,1,0,0,1,2,0,0,1,0,0,2,0,2,0,0,0,1,0,1,2,0,0,2,0,0,0,0,1,2,0,2,0,0,0,2,0,0,0,0,1,3,0,0,2,0,0,0,0,2,0,0,0,2,0,2,1,0,0,2,0,0,0,0,0,2,0,1,2,0,0,2,0,1,0,0,2,0,0,0,0,0,0,4,0,2,0,0,0,2,...
; CALLER linkage for function pointers XLIB sp1_Initialize LIB sp1_Initialize_callee XREF ASMDISP_SP1_INITIALIZE_CALLEE .sp1_Initialize ld hl,6 add hl,sp ld a,(hl) dec hl dec hl ld d,(hl) dec hl dec hl ld e,(hl) ex de,hl jp sp1_Initialize_callee + ASMDISP_SP1_INITIALIZE_CALLEE
// Copyright 2017 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "fxjs/xfa/cjx_instancemanager.h" #include <algorithm> #include <vect...
CeruleanCity_Object: db $f ; border block db 10 ; warps warp 27, 11, 0, CERULEAN_TRASHED_HOUSE warp 13, 15, 0, CERULEAN_TRADE_HOUSE warp 19, 17, 0, CERULEAN_POKECENTER warp 30, 19, 0, CERULEAN_GYM warp 13, 25, 0, BIKE_SHOP warp 25, 25, 0, CERULEAN_MART warp 4, 11, 0, CERULEAN_CAVE_1F warp 27, 9, 2, CERULEAN_...
; A164675: a(n) = 8*a(n-2) for n > 2; a(1) = 1, a(2) = 12. ; 1,12,8,96,64,768,512,6144,4096,49152,32768,393216,262144,3145728,2097152,25165824,16777216,201326592,134217728,1610612736,1073741824,12884901888,8589934592,103079215104,68719476736,824633720832,549755813888,6597069766656,4398046511104,52776558133248,351843720...
pow: movq $0, %rbx cmp %rsi, %rbx je zero_pow cmp %rdi, %rbx je zero_value movq %rdi, %rax movq $1, %rbx mult: addq $1, %rbx mulq %rdi cmp %rsi, %rbx jz exit jmp mult zero_pow: movq $1, %rax jmp exit zero_value: movq $0, %rax jmp exit exit: retq
; ; Z88dk Generic Floating Point Math Library ; ; ; $Id: pack.asm,v 1.1 2002/01/21 20:35:22 dom Exp $: XLIB pack LIB pack2 .PACK LD A,B jp pack2
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN aes_nohw_encrypt EXTERN aes_nohw_decrypt ALIGN 64 _bsaes_encrypt8: lea r11,[$L$BS0] movdqa xmm8,XMMWORD[rax] lea rax,[16+rax] movdqa xmm7,XMMWORD[80+r11] pxor xmm15,xmm8 pxor xmm0,xmm8 pxor xmm1,xmm8 pxor xmm2,xm...
; A309391: a(n) = gcd(n, A064169(n-2)) for n > 2. ; Submitted by Christian Krause ; 3,1,5,1,7,1,1,1,11,1,13,1,1,1,17,1,19,1,1,1,23,1,5,1,1,1,29,1,31,1,1,1,1,1,37,1,1,1,41,1,43,1,1,1,47,1,7,1,1,1,53,1,1,1,1,1,59,1,61,1,1,1,1,1,67,1,1,1,71,1,73,1,1,1,1,1,79,1,1,1,83,1,1,1,1,11,89,1,1,1,1,1,1,1,97,1,1,1,101,1 add $0,1 mo...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 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...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990-1995. All rights reserved. GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: Sokoban FILE: sokoban.asm REVISION HISTORY: Name Date Description ---- ---- ----------- stevey 11/10/92 Initial ver...
// -*- C++ -*- // // Package: FWLite // Class : storageSize // // Implementation: // [Notes on implementation] // // Original Author: Chris Jones // Created: Thu Jan 20 09:50:58 CST 2011 // // system include files #include <iostream> #include <boost/program_options.hpp> #include "TClass.h" #inc...
#include <qalloc> // Compile with: qcor -qpu qpp -qrt ftqc simple-demo.cpp // or with noise: qcor -qpu aer[noise-model:noise_model.json] -qrt ftqc simple-demo.cpp // Execute: ./a.out // We should get the print out conditioned by the measurement. // If not using the "ftqc" QRT, this will cause errors since the Measure r...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x5d34, %rax clflush (%rax) nop nop nop nop cmp $58185, %r10 mov $0x6162636465666768, %r8 movq %r8, %xmm2 vmovups %ymm2, (%rax) nop nop nop nop nop cmp %r14, %r14 lea addresses...
// Copyright 2019 Autodesk, Inc. // // 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 to ...
; A230629: a(0) = 0; thereafter a(n) = (1 + a(floor(n/2))) mod 3. ; 0,1,2,2,0,0,0,0,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,...
; $Id: bs3-mode-SwitchToLM32.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; BS3Kit - Bs3SwitchToLM32 ; ; ; Copyright (C) 2007-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...
#include "StdAfx.h" #include "VulkanSwapchain.h" #include "System/System.h" #include "Platform/OS.h" #include "VulkanContext.h" #include "VulkanQueue.h" #include "VulkanTexture.h" #include "VulkanSynchronizePrimitive.h" #include "RendererVulkan/Utils/VkConvert.h" #include "Memory/Memory.h" namespace SG { VulkanSw...
object_const_def ; object_event constants const VIRIDIANCITY_GRAMPS1 const VIRIDIANCITY_GRAMPS2 const VIRIDIANCITY_FISHER const VIRIDIANCITY_YOUNGSTER ViridianCity_MapScripts: db 0 ; scene scripts db 1 ; callbacks callback MAPCALLBACK_NEWMAP, .FlyPoint .FlyPoint: setflag ENGINE_FLYPOINT_VIRIDIAN return Vi...
; A140498: a(n) = 3*a(n-1)-3*a(n-2)+3*a(n-3) with a(0)=1, a(1)=3, a(2)=7. ; Submitted by Jamie Morken(s3) ; 1,3,7,15,33,75,171,387,873,1971,4455,10071,22761,51435,116235,262683,593649,1341603,3031911,6851871,15484689,34994187,79084107,178723827,403901721,912786003,2062824327,4661820135,10535345433,23809048875,538065707...
; SMSQ Hardware table handling V2.10  1999 Tony Tebby section hwt xdef hwt_preset ; preset values ;+++ ; Hardware table setup - preset values ; ; d0 s ; a3 c p linkage block ; a4 s ; a5 c u pointer to vector table in driver definition table ; status return arbirary ;--- hwt_preset move.l a0,-(sp) mo...
;; ;; aPLib compression library - the smaller the better :) ;; ;; TASM / MASM / WASM assembler depacker ;; ;; Copyright (c) 1998-2004 by Joergen Ibsen / Jibz ;; All Rights Reserved ;; ;; http://www.ibsensoftware.com/ ;; .386p .MODEL flat .CODE PUBLIC _aP_depack_asm _aP_depack_asm: pushad ...
section .multiboot_header header_start: dd 0xe85250d6 ; magic number (multiboot 2) dd 0 ; architecture 0 (protected mode i386) dd header_end - header_start ; header length ; checksum dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) ; insert ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x5f7f, %r12 nop nop nop nop add $15519, %rdx movw $0x6162, (%r12) add $7886, %r15 lea addresses_UC_ht+0xdcbf, %rbx nop nop nop nop nop cmp $2574, %r13 mov $0x6162636465666768,...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="mask"/> <%docstring> Invokes the syscall umask. See 'man 2 umask' for more information. Arguments: mask(mode_t): mask </%docstring> ${syscall('SYS_umask', mask)}
#include "gridslamprocessor.h" #include <deque> #include <fstream> #include <iomanip> #include <list> #include <map> #include <set> #include <string> #include "utils/stat.h" //#define MAP_CONSISTENCY_CHECK //#define GENERATE_TRAJECTORIES namespace GMapping { const double m_distanceThresholdCheck = 20; using namespa...
; A035338: 4th column of Wythoff array. ; 5,18,26,39,52,60,73,81,94,107,115,128,141,149,162,170,183,196,204,217,225,238,251,259,272,285,293,306,314,327,340,348,361,374,382,395,403,416,429,437,450,458,471,484,492,505,518,526,539,547,560,573,581,594,602,615,628,636,649,662,670,683,691,704,717,725,738,751,759,772,780,793,...
FuchsiaCity_Script: jp EnableAutoTextBoxDrawing FuchsiaCity_TextPointers: dw FuchsiaCityText1 dw FuchsiaCityText2 dw FuchsiaCityText3 dw FuchsiaCityText4 dw FuchsiaCityText5 dw FuchsiaCityText6 dw FuchsiaCityText7 dw FuchsiaCityText8 dw FuchsiaCityText9 dw FuchsiaCityText10 dw FuchsiaCityText11 dw Fuchsia...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; w_array_t *w_array_init(void *p, void *data, size_t capacity) ; ; Initialize a word array structure at address p and set the ; array's initial data and capacity members. ...
/* * Win32 EntropySource * (C) 1999-2009 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/internal/es_win32.h> #include <windows.h> #include <tlhelp32.h> namespace Botan { /** * Win32 poll using stats functions including Tooltip32 */ void Win32_EntropySource::poll(Entropy_Accumulato...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1adf7, %rax nop nop and $20535, %r14 movb $0x61, (%rax) sub $17355, %rbx lea addresses_normal_ht+0x10751, %rsi lea addresses_A_ht+0x177f0, %rdi nop nop nop nop and $21527, %r...
; A074609: a(n) = 3^n + 8^n. ; 2,11,73,539,4177,33011,262873,2099339,16783777,134237411,1073800873,8590111739,68720008177,549757408211,4398051294073,35184386437739,281475019757377,2251799942825411,18014398896902473,144115189238117339 mov $1,8 pow $1,$0 mov $2,3 pow $2,$0 add $1,$2 mov $0,$1
; A022314: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 0, a(1) = 9. ; 0,9,10,20,31,52,84,137,222,360,583,944,1528,2473,4002,6476,10479,16956,27436,44393,71830,116224,188055,304280,492336,796617,1288954,2085572,3374527,5460100,8834628,14294729,23129358,37424088,60553447,97977536,158530984,256508521,415039506,671548028,10865...
; A047294: Numbers that are congruent to {1, 2, 4, 6} mod 7. ; 1,2,4,6,8,9,11,13,15,16,18,20,22,23,25,27,29,30,32,34,36,37,39,41,43,44,46,48,50,51,53,55,57,58,60,62,64,65,67,69,71,72,74,76,78,79,81,83,85,86,88,90,92,93,95,97,99,100,102,104,106,107,109,111,113,114,116,118,120,121,123,125,127,128,130,132,134,135,137,139,...
; A283353: Decimal representation of the x-axis, from the origin to the right edge, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 619", based on the 5-celled von Neumann neighborhood. ; 1,2,4,14,28,62,124,254,508,1022,2044,4094,8188,16382,32764,65534,131068,262142,524284,1048574...
;============================================================== ; WLA-DX banking setup ;============================================================== .memorymap defaultslot 0 ; rom area slotsize $4000 slot 0 $0000 slot 1 $4000 slot 2 $8000 ; ram are...
; A178874: Partial sums of round(5^n/8). ; 0,1,4,20,98,489,2442,12208,61036,305177,1525880,7629396,38146974,190734865,953674318,4768371584,23841857912,119209289553,596046447756,2980232238772,14901161193850,74505805969241,372529029846194,1862645149230960 mov $2,$0 mov $4,$0 lpb $4,1 mov $0,$2 sub $4,1 sub $0,$4 ...
defw 3306
//==- CheckObjCDealloc.cpp - Check ObjC -dealloc implementation --*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
; A068548: Coefficients of (-x^(2n-6)) in Chebyshev polynomial of degree 2n. ; 1,32,400,3584,26880,180224,1118208,6553600,36765696,199229440,1049624576,5402263552,27262976000,135291469824,661693399040,3195455668224,15260018802688,72155450572800,338168545017856 mul $0,2 seq $0,1794 ; Negated coefficients of Chebyshev T...
;=========================================== section .text ;------------------------------------------- ; socket_create() ; Create socket and return it. ; Return: ; rax -- socket socket_create: mov rax, 41 ; sys_socket mov rdi, 2 ; AF_INET mov rsi, 1 ; SOCK_STREAM mov rdx, 0 ; I...
; A085464: Number of monotone n-weightings of complete bipartite digraph K(4,2). ; 1,19,134,586,1919,5173,12124,25572,49677,90343,155650,256334,406315,623273,929272,1351432,1922649,2682363,3677374,4962706,6602519,8671069,11253716,14447980,18364645,23128911,28881594,35780374,44001091,53739089,65210608,78654224,94332337,...
;Test EB ;Overflow data segment divid dd 12345678h divis dw 1h data ends stack segment stack'stack' db 100h dup(0) stack ends code segment assume cs:code,ds:data,es:data,ss:stack start: mov ax,data mov ds,ax mov dx,offset divid mov si,dx mov ax,[si] mov dx,[si+2] mov bx,[si+4] div bx mov ax,4c0...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/04/Mult.asm // Implements: gongqingkui At 126.com // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respecti...
#include <iostream> #include <string> #include <curl/curl.h> #include <nlohmann/json.hpp> size_t responseHandler(void* deliveredData, size_t size, size_t deliveredDataSize, void* responseBuffer) { const auto deliveredDataActualSize = size * deli...
; A157653: a(n) = 80000*n^2 - 39200*n + 4801. ; 45601,246401,607201,1128001,1808801,2649601,3650401,4811201,6132001,7612801,9253601,11054401,13015201,15136001,17416801,19857601,22458401,25219201,28140001,31220801,34461601,37862401,41423201,45144001,49024801,53065601,57266401,61627201,66148001,70828801,75669601,80670401...
<% from pwnlib.shellcraft.mips.linux import listen, dupsh %> <%page args="port, network='ipv4'"/> <%docstring> bindsh(port, network) Listens on a TCP port and spawns a shell for the first to connect. Port is the TCP port to listen on, network is either 'ipv4' or 'ipv6'. </%docstring> ${listen(port, network...
; A027024: a(n) = T(n,n+2), T given by A027023. ; 1,5,13,27,53,101,189,351,649,1197,2205,4059,7469,13741,25277,46495,85521,157301,289325,532155,978789,1800277,3311229,6090303,11201817,20603357,37895485,69700667,128199517,235795677,433695869,797691071,1467182625,2698569573,4963443277,9129195483,16791208341,30883847109,5...
; A130252: Partial sums of A130250. ; 0,1,4,7,11,15,20,25,30,35,40,45,51,57,63,69,75,81,87,93,99,105,112,119,126,133,140,147,154,161,168,175,182,189,196,203,210,217,224,231,238,245,252,259,267,275,283,291,299,307,315,323,331,339,347,355,363,371 mov $3,$0 mov $5,$0 lpb $3,1 mov $0,$5 sub $3,1 sub $0,$3 mov $2,$...
; Copyright (c) 2010-2015, Stefan Lankes, RWTH Aachen University ; 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 source code must retain the above copyright ; notice...
/* * This program 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 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
; A082388: a(1) = 1, a(2) = 2; further terms are defined by rules that for k >= 2, a(2^k-i) = a(2^k+i) for 1 <= i <= 2^k-1 and a(2^k) = a(2^(k-1)) + Sum_{i < 2^k} a(i). ; 1,2,1,6,1,2,1,20,1,2,1,6,1,2,1,68,1,2,1,6,1,2,1,20,1,2,1,6,1,2,1,232,1,2,1,6,1,2,1,20,1,2,1,6,1,2,1,68,1,2,1,6,1,2,1,20,1,2,1,6,1,2,1,792,1,2,1,6,1,2...
// // ip/impl/address_v4.hpp // ~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2013 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) // #ifndef BOOST...
dnl SPARC v9 32-bit mpn_udiv_qrnnd - division support for longlong.h. dnl Copyright 2002, 2003 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public Licens...
; A030428: a(n) = 0! * 1! * 2! * ... * n! - 1. ; Submitted by Jamie Morken ; 0,0,1,11,287,34559,24883199,125411327999,5056584744959999,1834933472251084799999,6658606584104736522239999999,265790267296391946810949631999999999,127313963299399416749559771247411199999999999 mov $1,1 mov $2,1 mov $3,1 lpb $0 sub $0,1 ad...
; A057570: Numbers of the form n*(7n+-1)/2. ; 0,3,4,13,15,30,33,54,58,85,90,123,129,168,175,220,228,279,288,345,355,418,429,498,510,585,598,679,693,780,795,888,904,1003,1020,1125,1143,1254,1273,1390,1410,1533,1554,1683,1705,1840,1863,2004,2028,2175,2200,2353,2379,2538,2565,2730,2758,2929,2958,3135,3165,3348,3379,3568,3...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x9725, %rdi nop nop nop nop add %r13, %r13 movl $0x61626364, (%rdi) nop cmp $2636, %rcx lea addresses_D_ht+0x39f5, %rcx nop nop xor $27361, %rbp vmovups (%rcx), %ymm1 vextracti...
; A131412: a(n) = n*(Fibonacci(n) - 1) + Fibonacci(n + 2) - 1. ; 1,2,7,15,32,62,117,214,385,683,1200,2092,3625,6250,10731,18359,31312,53258,90365,152990,258501,435987,734112,1234200,2072017,3474002,5817487,9730719,16258880,27139478,45258885,75408742,125538505,208828475,347119056,576580804,957085177,1587684538,263217355...
.data req: .asciiz "Nhap ky tu thuong" str1: .asciiz "\n Ky tu in hoa la: " str2: .asciiz "\n Ky tu khong hop le" str3: .asciiz "\n Ky tu lien truoc la " char: .asciiz .text main: #-----------------Nhap du lieu------------------------- # Yeu cau nhap ky tu (In request) li $v0,4 la $a0, req syscall #Nhap ...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
; A282057: Odd numbers n such that for all k >= 1 the numbers n*4^k - 1 and n*4^k + 1 do not form a twin prime pair. ; 5,7,9,11,13,17,19,21,23,25,29,31,35,37,39,41,43,47,49,51,53,55,59,61,65,67,69,71,73,77,79,81,83,85,89,91,95,97,99,101,103,107,109,111,113,115,119,121 mov $3,$0 mov $5,$0 lpb $0 add $1,$0 mul $3,$0...
; A128936: a(n) = binomial(n, sum_digits_n). ; 1,1,1,1,1,1,1,1,1,1,10,55,220,715,2002,5005,11440,24310,48620,92378,190,1330,7315,33649,134596,480700,1562275,4686825,13123110,34597290,4060,31465,201376,1107568,5379616,23535820,94143280,348330136,1203322288,3910797436,91390,749398,5245786,32224114,177232627,886163135,407...
db 0 ; species ID placeholder db 75, 125, 60, 95, 80, 65 ; hp atk def spd sat sdf db WATER, FIGHTING ; type db 75 ; catch rate db 175 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/jabetta...
; A276857: First differences of the Beatty sequence A022841 for sqrt(7). ; 2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,3,2,3...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x15b74, %r14 cmp $48962, %rbx movb $0x61, (%r14) cmp %r13, %r13 lea addresses_UC_ht+0xc3cb, %rsi lea addresses_UC_ht+0x13f0b, %rdi nop nop nop nop cmp %r8, %r8 mov $22, %rcx re...
; A022322: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 8. ; 1,8,10,19,30,50,81,132,214,347,562,910,1473,2384,3858,6243,10102,16346,26449,42796,69246,112043,181290,293334,474625,767960,1242586,2010547,3253134,5263682,8516817,13780500,22297318,36077819,58375138,94452958,152828097,247281056,400109154,647390211,10...
user/_grep: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <matchstar>: 0: 7179 addi sp,sp,-48 2: f406 sd ra,40(sp) 4: f022 sd s0,32(sp) 6: ec26 sd s1,24(sp) 8: e84a sd s2,16(sp) a: e4...
#ifndef FORMATS_OSM_OSMDATAVISITOR_HPP_DEFINED #define FORMATS_OSM_OSMDATAVISITOR_HPP_DEFINED #include "BoundingBox.hpp" #include "GeoCoordinate.hpp" #include "entities/Element.hpp" #include "formats/FormatTypes.hpp" #include "formats/osm/OsmDataContext.hpp" #include "index/StringTable.hpp" #include <functional> #inc...
; A161587: a(n) = 13n^2 + 10n + 1. ; 1,24,73,148,249,376,529,708,913,1144,1401,1684,1993,2328,2689,3076,3489,3928,4393,4884,5401,5944,6513,7108,7729,8376,9049,9748,10473,11224,12001,12804,13633,14488,15369,16276,17209,18168,19153,20164,21201,22264,23353,24468,25609,26776,27969,29188,30433,31704,33001,34324,35673,37048,...
db "LIZARD@" ; species name db "If it's healthy," next "the flame on the" next "tip of its tail" page "will burn vigor-" next "ously, even if it" next "gets a bit wet.@"
; A033587: a(n) = 2*n*(4*n + 3). ; 0,14,44,90,152,230,324,434,560,702,860,1034,1224,1430,1652,1890,2144,2414,2700,3002,3320,3654,4004,4370,4752,5150,5564,5994,6440,6902,7380,7874,8384,8910,9452,10010,10584,11174,11780,12402,13040,13694,14364,15050,15752,16470,17204,17954,18720,19502,20300,21114,21944,22790,23652,24530,...
/* * Copyright (c) 1997 - 2001 Hansj. Malthaner * * This file is part of the Simutrans project under the artistic license. * (see license.txt) */ /* * Stations for Simutrans * 03.2000 moved from simfab.cc * * Hj. Malthaner */ #include <algorithm> #include "freight_list_sorter.h" #include "simcity.h" #inclu...
; example of indexed addressing and a loop ; 10 SYS (49152) *=$0801 BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $31, $35, $32, $29, $00, $00, $00 *=$c000 jsr $e544 ldx #0 ldy #1 start tya sta 55296,x txa sta ...
#include <stdlib.h> #include "matmul.h" #include <stdio.h> Matrix Allocate2ndMatrix(int height, int width, int init); void matmul( float*, const float*, const float*, unsigned int, unsigned int, unsigned int); //////////////////////////////////////////////////////////////////////////////// //! C = A * B ...
; ; jidctflt.asm - floating-point IDCT (64-bit SSE & SSE2) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright (C) 2009, 2016, D. R. Commander. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see cop...
; A004522: Generalized nim sum n + n in base 12. ; 0,2,4,6,8,10,0,2,4,6,8,10,24,26,28,30,32,34,24,26,28,30,32,34,48,50,52,54,56,58,48,50,52,54,56,58,72,74,76,78,80,82,72,74,76,78,80,82,96,98,100,102,104,106,96,98,100 mov $1,$0 div $0,6 mod $0,2 mul $0,6 add $1,1 mov $2,3 lpb $0,1 mov $0,4 sub $1,$2 sub $1,3 lpe ...
/********************************************************************* * NAN - Native Abstractions for Node.js * * Copyright (c) 2015 NAN contributors * * MIT License <https://github.com/rvagg/nan/blob/master/LICENSE.md> ********************************************************************/ #include <nan.h> void...
/* * @file elongation_simulation_processor.cpp * * @brief manager class to process parallel simulations output and save its results * * @author Fabio Hedayioglu * Contact: fheday@gmail.com * */ #include "elongation_simulation_processor.h" #include <fstream> #include <iostream> #if defined(COMIPLE_PYTHON_MOD...
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
; A070804: Number of primes not exceeding phi(n). ; 0,0,1,1,2,1,3,2,3,2,4,2,5,3,4,4,6,3,7,4,5,4,8,4,8,5,7,5,9,4,10,6,8,6,9,5,11,7,9,6,12,5,13,8,9,8,14,6,13,8,11,9,15,7,12,9,11,9,16,6,17,10,11,11,15,8,18,11,14,9,19,9,20,11,12,11,17,9,21,11,16,12,22,9,18,13,16,12,23,9,20,14,17,14,20,11,24,13,17,12,25,11,26,15,15,15,27,11...
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; shadowssdt asm stub for 10.0.10586-sp0-windows-10-th2-1511 i386 .686 .mmx .xmm .model flat,stdcall option casemap:none option prologue:none option epilogue:none .code ; ULONG __stdcall NtUserGetOwnerTransformedMonitorRect( ULONG arg_01 ...
; A040601: Continued fraction for sqrt(627). ; 25,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50 pow $1,$0 sub $1,2 gcd $1,$0 mul $1,25 mov $0,$1
%include "include/u7si-all-includes.asm" %include "../u7-common/patch-eop-getItemZ.asm"
; A083811: Numbers n such that 2n+1 is the digit reversal of n+1. ; 36,396,3996,39996,399996,3999996,39999996,399999996,3999999996,39999999996,399999999996,3999999999996 mov $1,10 pow $1,$0 div $1,3 mul $1,120 add $1,36 mov $0,$1
;------------------------------------------------------------------------------ ; ; 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....
/* * Copyright (c) 2021, NVIDIA 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
#include "SDL/SDL.h" #include "pomgob.h" #include "graphics.h" #include "settings.h" #include "game.h" #include <sstream> int Pomgob::obj_count = 0; SDL_Surface *Pomgob::pic = NULL; std::string Pomgob::generate_save_string(){ stringstream ss; string ret, temp; ss << "pomgob "; ss << pos.x; ss << " "; ss <...
; ; jccolext.asm - colorspace conversion (64-bit SSE2) ; ; Copyright (C) 2009, 2016, D. R. Commander. ; Copyright (C) 2018, Matthias Räncker. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.in...
; int wv_priority_queue_reserve_callee(wv_priority_queue_t *q, size_t n) SECTION code_clib SECTION code_adt_wv_priority_queue PUBLIC _wv_priority_queue_reserve_callee EXTERN asm_wv_priority_queue_reserve _wv_priority_queue_reserve_callee: pop af pop hl pop bc push af jp asm_wv_priority_queue_re...
; A175216: The first nonprimes after the primes. ; 4,4,6,8,12,14,18,20,24,30,32,38,42,44,48,54,60,62,68,72,74,80,84,90,98,102,104,108,110,114,128,132,138,140,150,152,158,164,168,174,180,182,192,194,198,200,212,224,228,230,234,240,242,252,258,264,270,272 trn $0,1 seq $0,168565 ; Let p = prime(n); then a(n) = p + (p-1)/...
#include "stdafx.h" /////////////////////////////////////////////////////////////////////////////// // 文件名:CampAndStand.cpp // 功能说明:阵营数据表结构和功能实现 // // 修改记录: // // // /////////////////////////////////////////////////////////////////////////////// /** \file CampAndStand.cpp * \brief the implement of camp and stand...
/* * Copyright 2018, The Android Open Source Project * * 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 applic...
; A113225: a(2n) = A011900(n), a(2n+1) = A001109(n+1). ; 1,1,3,6,15,35,85,204,493,1189,2871,6930,16731,40391,97513,235416,568345,1372105,3312555,7997214,19306983,46611179,112529341,271669860,655869061,1583407981,3822685023,9228778026,22280241075,53789260175 cal $0,52937 ; Expansion of (2-3*x-x^2)/((1-x)*(1-2*x-x^2)). ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x6d5, %rsi lea addresses_A_ht+0x10ed5, %rdi clflush (%rsi) nop nop nop add $835, %r15 mov $78, %rcx rep movsq nop nop nop nop xor %rsi, %rsi lea addresses_UC_ht+0x1ea95, %rsi lea address...
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_ao_Aribeth6 _ff_ao_Aribeth6: BINARY "font/fzx/fonts/ao/Aribeth/Aribeth6.fzx"