text
stringlengths
1
1.05M
; $Id: bit_open_di.asm,v 1.2 2015/01/19 01:32:45 pauloscustodio Exp $ ; ; ZX81 1 bit sound functions ; ; Open sound and disable interrupts for exact timing ; ; Stefano Bodrato - 11/11/2011 ; PUBLIC bit_open_di EXTERN snd_tick .bit_open_di ld a,(16443) ; test CDFLAG and 128 ; i...
; A081672: Expansion of exp(2x) - exp(0) + BesselI_0(2x). ; 1,2,6,8,22,32,84,128,326,512,1276,2048,5020,8192,19816,32768,78406,131072,310764,524288,1233332,2097152,4899736,8388608,19481372,33554432,77509464,134217728,308552056,536870912,1228859344,2147483648,4896047686,8589934592,19513475404,34359738368,77794612036,137...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1ba59, %r9 nop nop nop sub $18327, %r15 mov $0x6162636465666768, %r11 movq %r11, %xmm5 movups %xmm5, (%r9) nop dec %r11 lea addresses_D_ht+0x77b9, %rbp nop add $5147...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ; $Id: draw.asm $ ; ; CALLER LINKAGE FOR FUNCTION POINTERS ; ----- void draw(int x, int y, int x2, int y2) IF !__CPU_INTEL__ & !__CPU_GBZ80__ SECTION code_...
; A033566: a(n) = (2*n+1) * (4*n-1). ; -1,9,35,77,135,209,299,405,527,665,819,989,1175,1377,1595,1829,2079,2345,2627,2925,3239,3569,3915,4277,4655,5049,5459,5885,6327,6785,7259,7749,8255,8777,9315,9869,10439,11025,11627,12245,12879,13529,14195,14877,15575,16289,17019,17765,18527,19305,20099,20909,21735,22577,23435,2430...
* Spreadsheet 09/12-91 * - conversion routines * section prog include win1_keys_err include win1_keys_qlv include win1_mac_oli include win1_spread_keys xdef con_wdec xdef con_decw xdef con_wasc xdef con_cstr xdef con_strc xdef con_rnge xdef con_ckor ; chec...
//===- MatMulLower.cpp ----------------------------------------------------===// // // The ONNC Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #include <onnc/Transforms/TensorSel/Lower.h> #include <onnc/Transform...
; A142021: Primes congruent to 17 mod 31. ; 17,79,389,761,823,947,1009,1319,1381,1567,1753,1877,2063,2311,2621,2683,3613,3923,4357,4481,4729,5039,5101,5659,5783,6217,6899,6961,7333,7457,7643,7829,8263,8387,8573,8821,9007,9689,10061,10247,10433,10867,11177,11239,11549,12107,12479,12541,13037,13099,13781,13967,14029,1415...
; A134082: Triangle read by rows, (n-1) zeros followed by (2n, 1). ; Submitted by Christian Krause ; 1,2,1,0,4,1,0,0,6,1,0,0,0,8,1,0,0,0,0,10,1,0,0,0,0,0,12,1,0,0,0,0,0,0,14,1,0,0,0,0,0,0,0,16,1,0,0,0,0,0,0,0,0,18,1,0,0,0,0,0,0,0,0,0,20,1,0,0,0,0,0,0,0,0,0,0,22,1,0,0,0,0,0,0,0,0,0,0,0,24,1,0,0,0,0,0,0,0,0,0 lpb $0 a...
SECTION code_fp_math48 PUBLIC asm_double8 EXTERN am48_double8 defc asm_double8 = am48_double8
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r9 push %rax lea addresses_normal_ht+0x1ab3f, %r10 nop nop nop nop nop and %r14, %r14 mov (%r10), %rax nop nop nop nop nop xor $34866, %r9 pop %rax pop %r9 pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r14...
PUBLIC UHex PUBLIC SHex CSEG SEGMENT PARA PUBLIC 'CODE' ASSUME CS:CSEG UHex PROC NEAR RET UHex ENDP SHex PROC NEAR RET SHex ENDP CSEG ENDS END
; A109451: a(1)=1; a(n) = smallest positive integer not already present such that a(n-1) and a(n) have a different number of 1's in their binary expansions. ; 1,3,2,5,4,6,7,8,9,11,10,13,12,14,15,16,17,19,18,21,20,22,23,24,25,27,26,29,28,30,31,32,33,35,34,37,36,38,39,40,41,43,42,45,44,46,47,48,49,51,50,53,52,54,55,56,57...
; A278476: a(n) = floor((1 + sqrt(2))^3*a(n-1)) for n>0, a(0) = 1. ; Submitted by Jon Maiga ; 1,14,196,2757,38793,545858,7680804,108077113,1520760385,21398722502,301102875412,4236838978269,59616848571177,838872718974746,11803834914217620,166092561518021425,2337099696166517569,32885488307849267390,462733936006056261028,...
; Title: Win32 RevertToSelf Stub ; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003 ; Author: hdm[at]metasploit.com [BITS 32] call LLoadAdvapi LAVDataSegment: db "ADVAPI32", 0x00 LLoadAdvapi call [ebp + 8] ; call LoadLibraryA("ADVAPI32.DLL") push eax ; Module bas...
; A080086: Number of factors of 3 in the factorial of the n-th prime, counted with multiplicity. ; 0,1,1,2,4,5,6,8,9,13,14,17,18,19,21,23,27,28,31,32,34,36,40,42,46,48,49,50,53,54,61,62,66,67,71,72,75,80,81,84,86,88,93,94,95,97,102,108,110,111,112,115,116,123,126,129,131,134,136,138,139,143,151,152,153 seq $0,6005 ; T...
// Generated from mean_quant8_2.mod.py // DO NOT EDIT // clang-format off #include "TestHarness.h" using namespace test_helper; namespace generated_tests::mean_quant8_2 { const TestModel& get_test_model() { static TestModel model = { .expectFailure = false, .expectedMultinomialDistributionToleranc...
; this code is adopted from the switch_arm_gcc.S ; which again was generated from switch_arm_gcc.h THUMB EXPORT |stackman_switch| ALIGN |stackman_switch| PROC push {r4 - r10, fp, lr} ;9 x 4bytes add fp, sp, #28 ; (4x7) fp must point to the previous fp on the stack ; also push floating point registers and f...
; A161712: a(n) = (4*n^3 - 6*n^2 + 8*n + 3)/3. ; 1,3,9,27,65,131,233,379,577,835,1161,1563,2049,2627,3305,4091,4993,6019,7177,8475,9921,11523,13289,15227,17345,19651,22153,24859,27777,30915,34281,37883,41729,45827,50185,54811,59713,64899,70377,76155,82241,88643,95369,102427,109825,117571,125673,134139,142977,152195,161...
; A024100: a(n) = 8^n - n^12. ; 1,7,-4032,-530929,-16773120,-244107857,-2176520192,-13839190049,-68702699520,-282295318753,-998926258176,-3129838442129,-8847380971520,-22748329308593,-52295865864192,-94561965801793,0,1669177576455487,16857567128055808,141901873156789711,1148825504606846976,9216016209343389167,737741212...
; void *tshc_cxy2saddr(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC _tshc_cxy2saddr_callee EXTERN _zx_cxy2saddr_callee defc _tshc_cxy2saddr_callee = _zx_cxy2saddr_callee
#include "extensions/filters/http/grpc_web/grpc_web_filter.h" #include <arpa/inet.h> #include "common/common/assert.h" #include "common/common/base64.h" #include "common/common/empty_string.h" #include "common/common/utility.h" #include "common/grpc/common.h" #include "common/http/filter_utility.h" #include "common/h...
; @com.wudsn.ide.asm.mainsourcefile=ni.asm .proc dl_addr_init ;sets initial values for DL addressess ;uses AXY, tmp0, tmp1 _dl = tmp0 _scr = tmp1 mwa #dl_addrs+1 _dl mwa #screen _scr ldx #sh @ ldy #0 lda _scr sta (_dl),y lda _scr+1 iny sta (_dl),y adw _dl #3 adw _scr #sw dex bne @- rts .endp .proc d...
// Copyright (c) 2014-2017 The Waggox Core developers #include "governance-validators.h" #include "utilstrencodings.h" #include "data/proposals_valid.json.h" #include "data/proposals_invalid.json.h" #include "test/test_waggox.h" #include <iostream> #include <fstream> #include <string> #include <boost/test/unit_tes...
; A134986: a(n) = smallest integer m not equal to n such that n = (floor(n^2/m) + m)/2. ; 2,3,2,3,4,5,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,24,25,26,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,47,48,49,50,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,65,66,67,68,69,70,71,72,7...
; A134944: Decimal expansion of (1 + sqrt(5))/8, the golden ratio divided by 4. ; Submitted by Christian Krause ; 4,0,4,5,0,8,4,9,7,1,8,7,4,7,3,7,1,2,0,5,1,1,4,6,7,0,8,5,9,1,4,0,9,5,2,9,4,3,0,0,7,7,2,9,4,9,5,1,4,4,0,7,1,5,5,3,3,8,6,2,1,5,5,6,7,6,3,1,5,1,1,5,7,0,4,7,2,5,6,1,2,4,2,6,8,0 add $0,1 mov $1,1 mov $3,$0 mul $...
// Test octal escapes in chars // Commodore 64 PRG executable file .file [name="string-escapes-10.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(mai...
; ; restart.asm ; ; Created on: 2012-11-18 ; Author: desperedo ; ; process and thread scheduler starter ; global sched_start global restart global restart_nested extern k_tss extern k_current_thread extern k_int_nested %define K_INDEX_OF(selector) ((selector) >> 3) %define K_SELECTOR(index, attr) ((...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x136e7, %rbx and $22503, %r14 mov (%rbx), %ebp nop nop and %rbp, %rbp lea addresses_WT_ht+0xa58f, %rsi nop nop nop add $5282, %rdi movw $0x6162, (%rsi) nop nop nop nop nop add ...
.size 8000 .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(26), a ld a, 80 ldff(26), a ld a, 77 ldff(24), a ld a, 11 ldff(25), a ld a, c0 ldff(11), a ld a, 80 ldff(12), a ld a, c0 ldff(13), a ld a, 87 ldff(14), a ld b, 21 lwaitpos: dec b jrnz lwaitpos ld a, 80 lmodulate: xor a...
#ifndef IPATHFINDINGENGINE_H_ #define IPATHFINDINGENGINE_H_ #include <vector> #include <memory> #include <boost/any.hpp> #define GLM_FORCE_RADIANS #include <glm/glm.hpp> #include <glm/gtc/quaternion.hpp> #include "Types.hpp" #include "pathfinding/UserData.hpp" #include "pathfinding/PathfindingSceneHandle.hpp" #in...
[org 0x0100] jmp start num1: dw 10,20,30,40,50,60,70,80,90,100 result: dw 0 start: mov ax,0 ;mov cx,10 mov bx,0 loop: mov ax,[num1+2] add bx,2 cmp bx,20 jne loop mov [result],ax mov ax, 0x4c00 int 0x21
; A132736: Row sums of triangle A132735. ; 1,2,5,10,19,36,69,134,263,520,1033,2058,4107,8204,16397,32782,65551,131088,262161,524306,1048595,2097172,4194325,8388630,16777239,33554456,67108889,134217754,268435483,536870940,1073741853,2147483678,4294967327,8589934624,17179869217,34359738402,68719476771,137438953508,274877...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: contentManager.asm AUTHOR: Chris Boyke ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ----...
/* * 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 ...
#define __CLUCK2SESAME_SUNRISESUNSET_LOADLOOKUPTABLEENTRYFROMFLASH_ASM #include "Platform.inc" #include "FarCalls.inc" #include "Flash.inc" #include "Arithmetic32.inc" #include "SunriseSunset.inc" radix decimal SunriseSunset code global loadLookupTableEntryFromFlash loadLookupTableEntryFromFlash: setupIndf...
; 1 "dct36_3dnow.S" ; 1 "<built-in>" ; 1 "<command line>" ; 1 "dct36_3dnow.S" ; 31 "dct36_3dnow.S" ; 1 "mangle.h" 1 ; 13 "mangle.h" ; 1 "config.h" 1 ; 14 "mangle.h" 2 ; 1 "intsym.h" 1 ; 15 "mangle.h" 2 ; 32 "dct36_3dnow.S" 2 %include "asm_nasm.inc" _sym_mangle COS9 _sym_mangle tfcos36 _sym_mangle dct36_3dnow EXTERN ...
; Provided under the CC0 license. See the included LICENSE.txt for details. ; feel free to modify the score graphics - just keep each digit 8 high ; and keep the conditional compilation stuff intact ifconst ROM2k ORG $F7AC-8 else ifconst bankswitch if bankswitch == 8 ORG $2F94-bscode_lengt...
/* ============================================================================== KratosStructuralApplication A library based on: Kratos A General Purpose Software for Multi-Physics Finite Element Analysis Version 1.0 (Released on march 05, 2007). Copyright 2007 Pooyan Dadvand, Riccardo Rossi, Janosch Stascheit, Felix...
; A155734: Binomial transform of A154879. ; 3,1,3,9,27,81,243,729,2187,6561,19683,59049,177147,531441,1594323,4782969,14348907,43046721,129140163,387420489,1162261467,3486784401,10460353203,31381059609,94143178827,282429536481,847288609443,2541865828329 mov $3,$0 mov $0,1 trn $0,$3 mov $2,2 sub $2,$0 mul $0,2 mov $1,3...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld b, 91 call lwaitly_b ld a, b1 ldff(40), a ld a, 03 ldff(4b), a ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a xor a, a ldff(0f), a l...
; A076074: Initial members of groups in A076077. ; 2,1,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277 mov $2,$0 cmp $2,0 mov $3,$0 add $0,$2 div $3,$0 sub $0,1 c...
; 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 not u...
/* * The MIT License * * Wavefront Alignments Algorithms * Copyright (c) 2017 by Santiago Marco-Sola <santiagomsola@gmail.com> * * This file is part of Wavefront Alignments Algorithms. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softwa...
; A062025: a(n) = n*(13*n^2 - 7)/6. ; 0,1,15,55,134,265,461,735,1100,1569,2155,2871,3730,4745,5929,7295,8856,10625,12615,14839,17310,20041,23045,26335,29924,33825,38051,42615,47530,52809,58465,64511,70960,77825,85119,92855,101046,109705,118845,128479,138620,149281,160475,172215,184514,197385,210841,224895,239560,254849...
// 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/06/add/Add.asm // Computes R0 = 2 + 3 @2 D=A @3 D=D+A @0 M=D
;***************************************************************************** ;* cabac-a.asm: x86 cabac ;***************************************************************************** ;* Copyright (C) 2008-2020 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Fiona Glaser <fiona@x264.com>...
; double exp (double d); ; ---------------------- ; This function returns e to the power of a real number. ; KNOWN BUGS !!! ; 1. Does not handle exceptions. section .code global _exp _exp push rbp mov rbp, rsp fld tword [rbp+16] fldl...
// RUN: clang-cc -fsyntax-only -verify %s extern "C" { extern "C++" { template<class C> C x(); } }
; A225003: Duplicate of A047332. ; 23,2,3,5,6,7,9,10,12,13,14,16,17,19,20,21,23,24,26,27,28,30,31,33,34,35,37,38,40,41,42,44,45,47,48,49,51,52,54,55,56,58,59,61,62,63,65,66,68,69,70,72,73,75,76,77,79,80,82,83,84,86,87,89,90,91,93 mov $1,36 mov $3,$0 add $3,2 mov $2,$3 mov $4,$0 mov $5,$0 add $0,2 mov $3,$5 add $3,$2 a...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 96 call lwaitly_b ld a, 40 ldff(41), a ld a, 02 ldff(ff), a xor a, a ldff(0f), a ei ld a, b inc a inc a ldff(45), a ld c, 0f .text@1000 lstatint: xor a, a ldff(45), a ld a, 50 ldff(4...
; A151930: First differences of A001316. ; Submitted by Jamie Morken(s2) ; 1,0,2,-2,2,0,4,-6,2,0,4,-4,4,0,8,-14,2,0,4,-4,4,0,8,-12,4,0,8,-8,8,0,16,-30,2,0,4,-4,4,0,8,-12,4,0,8,-8,8,0,16,-28,4,0,8,-8,8,0,16,-24,8,0,16,-16,16,0,32,-62,2,0,4,-4,4,0,8,-12,4,0,8,-8,8,0,16,-28,4,0,8,-8,8,0,16,-24,8,0,16,-16,16,0,32 mov $3,2...
#include<iostream> using namespace std; bool search(long long int val, long long int n, long long int k) { long long int total = 0; for(int i=0; i<n-val; i++) total += i+1; if(total-val > k) return true; else return false; } int main() { long long int n, k; cin >> n >> k; long long int low =...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // Buffer Definitions: // // cbuffer cbPerObject // { // // row_major float4x4 g_mWorldViewProjection;// Offset: 0 Size: 64 // // } // // // Resource Bindings: // // Name Type Format Dim Slo...
; Buffering (allocate buffer) utility V2.00  1989 Tony Tebby QJUMP section iou xdef iob_abuf xdef iob_anew xdef iob_allc xdef iob_lnew xref gu_achpp include 'dev8_keys_buf' include 'dev8_mac_assert' ;+++ ; This routine allocates a new buffer for output and sets the buffer ; pointers. ; ; This must no...
leaw $16906,%A movw $-1,(%A) leaw $16911,%A movw $-1,(%A) leaw $16926,%A movw $-1,(%A) leaw $16931,%A movw $-1,(%A) leaw $16946,%A movw $-1,(%A) leaw $16951,%A movw $-1,(%A) leaw $16966,%A movw $-1,(%A) leaw $16971,%A movw $-1,(%A) leaw $16986,%A movw $-1,(%A) leaw $16991,%A movw $-1,(%A) ...
// Copyright (c) 2011-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/bitcoinunits.h> #include <primitives/transaction.h> #include <QStringList> BitcoinUnits::BitcoinUnits(QObject...
// Copyright 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 "components/policy/core/common/policy_map.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/callback.h" #include "b...
;---------------------------- W95 ESPORE BY HenKy ----------------------------- ; ;-AUTHOR: HenKy ; ;-MAIL: HenKy_@latinmail.com ; ;-ORIGIN: SPAIN ; ; WOW!!!! 140 BYTES !!!! AND 100% RING 3 !!!! (ONLY WINDOZE 9X CAN SUPPORT IT) ; OF COURSE MIDFILE AND NO GROWING CAVITY TECH ; IT SEARCH...
dnl x86 mpn_rshift -- mpn right shift. dnl Copyright 1992, 1994, 1996, 1999, 2000, 2001, 2002 Free Software dnl 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 the GNU Lesser General Pub...
; int __CALLEE__ isunordered(double x, double y) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sccz80_isunordered_callee EXTERN am48_isunordered, cm48_sccz80p_dcallee2 cm48_sccz80_isunordered_callee: call cm48_sccz80p_dcallee2 ; AC'= y ; AC = x jp am48_isunordered
<% 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)}
* Sprite cf7 * * Mode 4 * +|-----------+ * - gg ggg gggg- * |g g g g| * |g g g| * |g gg g | * |g g g | * |g g g | * | gg g g | * +|-----------+ * section sprite xdef sp_cf7 xref sp_zero sp_cf7 dc.w $0100,$0000 dc.w 12,7,0,0 dc.l sc4_cf7-* dc.l sp_zero-* dc.l 0 sc4_cf7 dc.w $6E00,$F0...
; $Id: bs3-wc16-U8DR.asm $ ;; @file ; BS3Kit - 16-bit Watcom C/C++, 64-bit unsigned integer modulo. ; ; ; 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 and/or...
/* @file rs_rollback.cpp * * Copyright (C) 2008-2014 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope...
// Copyright 2013 Google 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 in...
; A245418: Number of nonnegative integers with property that their base 5/3 expansion (see A024633) has n digits. ; 5,5,10,15,25,40,70,115,190,320,530,885,1475,2460,4100,6830,11385,18975,31625,52710,87850,146415,244025,406710,677850,1129750,1882915,3138190,5230320,8717200,14528665,24214440,40357400,67262335,112103890,1...
.code addi $t0,$0,5 addi $a0,$a0,1 .data 1 2 3 4 5 6 7
#include<cstdio> int main(){ long long n; scanf("%lld", &n); int count(0), msb(0); long long q = n, r(1); while(q > 0){msb = (q % 10); r *= 10; q /= 10;} r /= 10; r *= (msb + 1); printf("%lld\n", r - n); return 0; }
; function: display all the data of the data segment in a table format ; algorithm: get an integer, transform it to its corresponding string, ; display this string in its place assume cs:code, ds:data data segment dw 1975, 1976, 1984, 1993, 1994, 1995 dd 16, 22, 97479, 3753000, 4649000, 5937000 dw 3, 7, 778, 1443...
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif %ifidn __OUTPUT_FORMAT__,obj section code use32 class=code align=64 %elifidn __OUTPUT_FORMAT__,win32 %ifdef __YASM_VERSION_ID__ %i...
#include "HandlerFactory.%CppHeaderSuffix%" #include "CurrentTimeHandler.%CppHeaderSuffix%" HandlerFactory::HandlerFactory () { } Poco::Net::HTTPRequestHandler * HandlerFactory::createRequestHandler (const Poco::Net::HTTPServerRequest &request) { return new CurrentTimeHandler(); }
"".add STEXT nosplit size=71 args=0x8 locals=0x10 funcid=0x0 0x0000 00000 (tutorial01.go:3) TEXT "".add(SB), NOSPLIT|ABIInternal, $16-8 0x0000 00000 (tutorial01.go:3) SUBQ $16, SP 0x0004 00004 (tutorial01.go:3) MOVQ BP, 8(SP) 0x0009 00009 (tutorial01.go:3) LEAQ 8(SP), BP 0x000e 00014 (tutorial01.go:3) FUNCDATA $0,...
0x0000 (0x000000) 0x2102- f:00020 d: 258 | A = OR[258] 0x0001 (0x000002) 0x1413- f:00012 d: 19 | A = A + 19 (0x0013) 0x0002 (0x000004) 0x2908- f:00024 d: 264 | OR[264] = A 0x0003 (0x000006) 0x3108- f:00030 d: 264 | A = (OR[264]) ...
/* * SimpleMoleculeRenderer.cpp * * Copyright (C) 2010 by Universitaet Stuttgart (VISUS). * All rights reserved. */ #include "stdafx.h" #define _USE_MATH_DEFINES 1 #include "vislib_gl/graphics/gl/IncludeAllGL.h" #include "SimpleMoleculeRenderer.h" #include "compositing_gl/CompositingCalls.h" #include "mmcore/C...
; A018280: Divisors of 96. ; Submitted by Christian Krause ; 1,2,3,4,6,8,12,16,24,32,48,96 mov $1,$0 mov $2,1 lpb $0 sub $0,1 div $1,2 mov $4,$3 mul $3,$1 div $1,5 add $3,$2 add $4,1 add $2,$4 mul $2,$1 sub $2,$4 mul $4,3 add $2,$4 lpe mov $0,$4 div $0,3 add $0,1
; A025709: Index of 5^n within sequence of numbers of form 5^i*8^j. ; 1,2,4,7,11,15,20,26,33,40,48,57,67,78,89,101,114,128,142,157,173,190,208,226,245,265,286,307,329,352,376,400,425,451,478,506,534,563,593,624,655,687,720,754,789,824,860,897,935,973,1012,1052,1093,1135,1177,1220 mov $4,$0 add $4,1 mov $6,$0 lpb $4 ...
; ; 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...
; ; Automatically generated ; .include "errorhandler.asm" .section code .send code
; CALLER linkage for function pointers PUBLIC strcpy EXTERN strcpy_callee EXTERN ASMDISP_STRCPY_CALLEE .strcpy pop bc pop hl pop de push de push hl push bc jp strcpy_callee + ASMDISP_STRCPY_CALLEE
; A028835: Numbers n such that iterated sum of digits of n is a prime. ; 2,3,5,7,11,12,14,16,20,21,23,25,29,30,32,34,38,39,41,43,47,48,50,52,56,57,59,61,65,66,68,70,74,75,77,79,83,84,86,88,92,93,95,97,101,102,104,106,110,111,113,115,119,120,122,124,128,129,131,133,137,138,140,142,146,147,149,151,155,156,158,160,164,165...
; A136254: Generator for the finite sequence A053016. ; 4,6,8,12,20,34,56,88,132,190,264,356,468,602,760,944,1156,1398,1672,1980,2324,2706,3128,3592,4100,4654,5256,5908,6612,7370,8184,9056,9988,10982,12040,13164,14356,15618,16952,18360,19844,21406,23048,24772,26580,28474,30456,32528,34692,36950,39304,41756,44308,46962,...
; ================================================================== ; FAT12 FLOPPY DISK ROUTINES ; ================================================================== ; os_change_disk -- Changes the default disk ; IN: AL = disk number os_change_disk: pusha mov [bootdev], al mov [0], al mov dl, al push es mov a...
; float lgamma(float x) __z88dk_fastcall SECTION code_fp_math48 PUBLIC cm48_sdcciy_lgamma_fastcall EXTERN cm48_sdcciyp_dx2m48, am48_lgamma, cm48_sdcciyp_m482d cm48_sdcciy_lgamma_fastcall: call cm48_sdcciyp_dx2m48 call am48_lgamma jp cm48_sdcciyp_m482d
// Copyright (c) 2009-2017 The Bitcoin developers // Copyright (c) 2017-2018 The PIVX developers // Copyright (c) 2018 The Crypto Dezire Cash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "key.h" #include ...
ori $ra,$ra,0xf srav $1,$4,$0 mthi $4 addu $5,$2,$3 div $1,$ra ori $2,$1,33413 mthi $4 multu $4,$0 lb $6,4($0) ori $4,$2,45050 mflo $6 mthi $2 sll $5,$5,28 multu $1,$1 lb $0,0($0) mult $1,$1 srav $4,$4,$4 addu $3,$3,$3 mthi $4 mult $5,$5 sb $5,9($0) mtlo $2 lui $1,16156 mtlo $6 mfhi $0 mflo $4 addiu $6,$2,-1214 ori $4,...
comment * Name: Project 2501 OS: Win32 Coder Belial Heya , this is my first Pe-infector.Wow ,a great feeling to have finished it. Credits go out to Lord Julus and BillyBelcebub ,because of their win32 tuturials.Without them ,i would never have finished this creation.It took me nearly a year to of reading to unde...
#pragma once #include <cstdint> #include "types.hpp" namespace opossum { /** * @brief Base class of all vector decompressors * * Implements point-access into a compressed vector. * * Note: Make sure that implementations of these methods * are marked `final` so that the compiler can omit * expensi...
; A120138: a(1)=10; a(n)=floor((20+sum(a(1) to a(n-1)))/2). ; 10,15,22,33,50,75,112,168,252,378,567,851,1276,1914,2871,4307,6460,9690,14535,21803,32704,49056,73584,110376,165564,248346,372519,558779,838168,1257252,1885878,2828817,4243226,6364839,9547258,14320887 mov $2,20 lpb $0 sub $0,1 add $1,$2 mov $2,$1 di...
db 0 ; species ID placeholder db 64, 66, 68, 50, 81, 76 ; hp atk def spd sat sdf db WATER, WATER ; type db 45 ; catch rate db 142 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F12_5 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/prinplup/front.dimensions" db GROWTH_MEDIUM_S...
############################################################################### # 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...
; void p_forward_list_alt_clear(p_forward_list_alt_t *list) SECTION code_clib SECTION code_adt_p_forward_list_alt PUBLIC _p_forward_list_alt_clear EXTERN _p_forward_list_alt_init defc _p_forward_list_alt_clear = _p_forward_list_alt_init
_cat: file format elf32-i386 Disassembly of section .text: 00001000 <main>: } } int main(int argc, char *argv[]) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 57 push %edi 1004: 56 push %esi int fd, i; ...
;******************************************************************************* ;* TMS320C55x C/C++ Codegen PC v4.4.1 * ;* Date/Time created: Sat Sep 29 23:08:53 2018 * ;****************************************************************************...
; Copyright (C) Teemu Suutari %ifdef DEBUG_BUILD ; short loops wont be short anymore %define short ; loop wont fit into byte %macro loop 1 loop %%do_loop jmp %%done %%do_loop: jmp %1 %%done: %endm %macro EXTCALL 1 ; edi first param ; esi second param ; edx third param ; ecx fourth param ; return value in eax [se...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="which, value"/> <%docstring> Invokes the syscall getitimer. See 'man 2 getitimer' for more information. Arguments: which(itimer_which_t): which value(itimerval): value </%docstring> ${syscall('SYS_getitimer', which, value)}
global _start SYS_WRITE equ 4 STDOUT equ 1 SYS_EXIT equ 1 section .data msg db 'The result is: ' msgLen equ $ - msg newLine db 0xA newLineLen equ $ - newLine section .bss res resb 1 section .text _start: mov al, '3' sub al, '0' mov bl, '2' sub bl, '0' mul bl add al, '0' mov [res], al mov eax, SY...
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild #include "ipv4_packet.h" ipv4_packet_t::ipv4_packet_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, ipv4_packet_t* p__root) : kaitai::kstruct(p__io) { m__parent = p__parent; m__root = this; m_options ...
section .text extern printf global main main: mov eax, 3 mov ebx, 0 mov ecx, storage mov edx, 128 int 0x80 push storage push format call printf end: mov eax, 1 ; sys_exit mov ebx, 0 ; error-code = 0 int 0x80 ; invoke kernel again section .data format db '%s' section .bss storage: resb 128 ; reserv...
ViridianPokecenter_h: db POKECENTER ; tileset db VIRIDIAN_POKECENTER_HEIGHT, VIRIDIAN_POKECENTER_WIDTH ; dimensions (y, x) dw ViridianPokecenter_Blocks ; blocks dw ViridianPokecenter_TextPointers ; texts dw ViridianPokecenter_Script ; scripts db 0 ; connections dw ViridianPokecenter_Object ; objects