text
stringlengths
1
1.05M
arma::mat MH_pulse_chase_Neutral(arma::umat x, arma::vec time_intervals, int max_iter);
/***************************************************************************** * Copyright (C) 2017 宋天佑 13167211978@qq.com * * 此文件属于软件学院2017c++大项目泡泡堂选题的项目文件. * ...
format PE64 entry start include 'win64a.inc' ;;section '.data' data readable writeable ;;; section '.bss' readable writeable argc dq ? argv dq ? envp dq ? sinfo STARTUPINFO section '.text' code readable executable start: ;;sub rsp, 8 ; int __getmainar...
#pragma once #include "vmt.hpp" #include "vector.h" class CBaseEntity { public: int GetIndex() { return *reinterpret_cast<int*>(uintptr_t(this) + 0x64); } Vector GetViewOffset() { return *reinterpret_cast<Vector*>(uintptr_t(this) + 0x108); // m_vecViewOffset } Vector & GetAbsOrigin() { typedef Vector...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1995 -- All Rights Reserved PROJECT: PC/GEOS MODULE: Power Driver Module FILE: apmEsc.asm AUTHOR: Todd Stumpf, Jan 20, 1995 ROUTINES: Name Description ---- ----------- REVISION HISTORY: ...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xb31a, %rbp nop xor $45557, %rax mov $0x6162636465666768, %rcx movq %rcx, %xmm3 movups %xmm3, (%rbp) nop nop dec %r9 lea addresses_A_ht+0xc05a, %rsi lea addresses_UC_ht+0x5...
#include "Platform.inc" #include "GeneralPurposeRegisters.inc" radix decimal Arithmetic4 code global mul4x4 mul4x4: .safelySetBankFor RAA clrw bcf STATUS, C btfsc RAA, 0 addwf RBA, W rlf RBA btfsc RAA, 1 addwf RBA, W rlf RBA btfsc RAA, 2 addwf RBA, W rlf RBA btfsc RAA, 3 addwf RBA, W rlf RBA swap...
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int t; cin>>t; while(t--){ long long ts, js; cin>>ts; if(ts%2!=0){ js=(ts-1)/2; } else { while(ts%2==0){ ts/=2; ...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
; A280076: Numbers n such that Sum_{d|n} tau(d) = Product_{d|n} tau(d). ; 1,4,9,25,49,121,169,289,361,529,841,961,1369,1681,1849,2209,2809,3481,3721,4489,5041,5329,6241,6889,7921,9409,10201,10609,11449,11881,12769,16129,17161,18769,19321,22201,22801,24649,26569,27889,29929,32041,32761,36481,37249,38809,39601,44521,4972...
; A171581: The natural numbers without primes > 3. ; 1,2,3,4,6,8,9,10,12,14,15,16,18,20,21,22,24,25,26,27,28,30,32,33,34,35,36,38,39,40,42,44,45,46,48,49,50,51,52,54,55,56,57,58,60,62,63,64,65,66,68,69,70,72,74,75,76,77,78,80,81,82,84,85,86,87,88,90,91,92,93,94 mov $2,$0 sub $2,3 mov $1,$2 max $2,0 seq $2,73169 ; a(n)...
;code by unic0rn/Asm Force org 100h segment .code mov al,13h int 10h xor ax,ax mov dx,03C8h out dx,al inc dx xor bx,bx pal: mov al,bl shr al,2 mov cl,bl and cl,0Fh cmp cl,0Fh jne skip out dx,al out dx,al jmp cont skip...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>openat2(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall openat2. See 'man 2 openat2' for more information. Arguments: vararg(int): vararg Returns: long </%docstring>...
; A092985: a(n) is the product of first n terms of an arithmetic progression with the first term 1 and common difference n. ; 1,1,3,28,585,22176,1339975,118514880,14454403425,2326680294400,478015854767451,122087424094272000,37947924636264267625,14105590169042424729600,6178966019176767549393375,3150334059785191453342744...
; Z - Zero is set to 1 since the result is 0 ; If there is even no. of 1 bits in the accumulator then it is set to 1 ; If there is odd no. of 1 bits then it is set to 0 MVI A, 09H SUI 03H HLT
#include "action.h" #include "player.h" #include "strategyMap.h" ////////////////////////////////////////////////////////////////////////////////////////////// // TRAIN UNIT // ////////////////////////////////////////////////////////////////////////////////////////////// TRAIN_UNIT::TRAIN_UNIT(int ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r8 push %r9 push %rax push %rbx push %rsi // Store lea addresses_WC+0xd83b, %r8 clflush (%r8) nop nop sub $21983, %rsi movb $0x51, (%r8) nop nop nop dec %rbx // Store lea addresses_normal+0xc3d3, %rax ...
; A305160: a(n) = 123*2^n - 99. ; 24,147,393,885,1869,3837,7773,15645,31389,62877,125853,251805,503709,1007517,2015133,4030365,8060829,16121757,32243613,64487325,128974749,257949597,515899293,1031798685,2063597469,4127195037,8254390173,16508780445,33017560989,66035122077,132070244253,264140488605,528280977309,105656195...
; A034860: a(n) = n!*(2*n-5)/2. ; 3,36,300,2520,22680,221760,2358720,27216000,339292800,4550515200,65383718400,1002550348800,16345929600000,282457663488000,5157467707392000,99236792438784000,2007144156745728000,42575785143091200000,945182430176624640000,21918014191663349760000,529966343147142021120000,13339640637264647...
; A126477: Number of base 9 n-digit numbers with adjacent digits differing by three or less. ; Submitted by Christian Krause ; 1,9,51,301,1787,10619,63111,375091,2229307,13249619,78747531,468026571,2781660187,16532466059,98258743211,583989138891,3470869901227,20628701920939,122604233247851,728683659684651 lpb $0 sub...
%include "macros.inc" global _sumTo global _sumTo64 segment .text align=16 _sumTo: mov ecx, [esp + 4] test ecx, ecx je .ret0 lea eax, [ecx - 1] lea edx, [ecx - 2] mul edx shld edx, ecx, 31 lea eax, [edx + ecx - 1] ret align 16 .ret0: xor eax, eax ret align 16 _sumTo64: multipush ebp, eb...
; A240826: Number of ways to choose three points on a centered hexagonal grid of size n. ; 0,35,969,7770,35990,121485,333375,790244,1679580,3280455,5989445,10349790,17083794,27128465,41674395,62207880,90556280,128936619,180007425,246923810,333395790,443749845,582993719,756884460,971999700,1235812175,1556767485,19443650...
SECTION code_fp_math48 PUBLIC _expm1 EXTERN cm48_sdcciy_expm1 defc _expm1 = cm48_sdcciy_expm1
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "fork test OK\n"); } int main(void) { 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...
#include <rho/crypt/tSHA256.h> #include <rho/crypt/hash_utils.h> #include "sha.h" namespace rho { namespace crypt { tSHA256::tSHA256() : m_context(NULL) { m_context = new SHA256_CTX; SHA256_Init((SHA256_CTX*)m_context); } tSHA256::~tSHA256() { delete ((SHA256_CTX*)m_context); m_context = NULL;...
; A221049: Expansion of (1+2*x+3*x^2-x^3)/((1-x)*(1+x)*(1-2*x)*(1+2*x)). ; 1,2,8,9,36,37,148,149,596,597,2388,2389,9556,9557,38228,38229,152916,152917,611668,611669,2446676,2446677,9786708,9786709,39146836,39146837,156587348,156587349,626349396,626349397,2505397588,2505397589,10021590356,10021590357 lpb $0 sub $0,2 ...
// Copyright 2015 MongoDB 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 wri...
/* * ShamirMachine.cpp * */ #include <Machines/ShamirMachine.h> #include "Protocols/ShamirShare.h" #include "Protocols/MaliciousShamirShare.h" #include "Math/gfp.h" #include "Math/gf2n.h" #include "GC/VectorProtocol.h" #include "GC/CcdPrep.h" #include "GC/TinyMC.h" #include "GC/MaliciousCcdSecret.h" #include "GC/Ve...
// Copyright (c) 2010 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 "base/basictypes.h" #include "base/logging.h" #include "base/strings/string_piece.h" #include "base/strings/string_util.h" #include "base/str...
; A276849: a(0) = 5, a(1) = 2; for n>1, a(n) = 2*a(n-1) + a(n-2). ; 5,2,9,20,49,118,285,688,1661,4010,9681,23372,56425,136222,328869,793960,1916789,4627538,11171865,26971268,65114401,157200070,379514541,916229152,2211972845,5340174842,12892322529,31124819900,75141962329,181408744558,437959451445,1057327647448,255261474...
SECTION code_fp_math32 PUBLIC ___ulong2fs_callee EXTERN cm32_sdcc___ulong2fs_callee defc ___ulong2fs_callee = cm32_sdcc___ulong2fs_callee
; A244977: Decimal expansion of Pi/(12*sqrt(3)). ; Submitted by Jamie Morken(s2) ; 1,5,1,1,4,9,9,4,7,0,1,9,5,1,8,1,5,4,2,1,6,1,7,3,1,8,8,1,3,6,8,4,6,3,1,1,0,2,3,6,7,2,1,8,7,3,4,1,0,6,1,7,1,4,6,3,0,8,2,3,7,4,4,6,1,5,6,7,6,9,3,1,7,6,0,5,2,9,4,9,0,3,0,7,0,1,0,4,1,5,6,8,4,3,3,8,3,4,7,4 mov $2,1 mov $3,$0 mul $3,5 lpb $3 ...
.MODEL SMALL .STACK 100H .DATA NUM1 DB ? NUM2 DB ? RES1 DB ? PROMPT_1 DB "Enter Integer 1: $" PROMPT_2 DB 0DH, 0AH, "Enter Integer 2: $" PROMPT_3 DB 0DH, 0AH, "MUL of 2 Integers: $" .CODE MAIN PROC MOV AX,DATA MOV DS,AX LEA DX,PROMPT_1 MOV AH,9 INT 21H ...
label1: times 2 nop je label3 times 123 nop label2: je label4 label3: times 128 nop label4: push label2-label1
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="pipedes"/> <%docstring> Invokes the syscall pipe. See 'man 2 pipe' for more information. Arguments: pipedes(int): pipedes </%docstring> ${syscall('SYS_pipe', pipedes)}
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xf124, %rsi lea addresses_UC_ht+0x105ac, %rdi nop nop nop sub $29926, %r15 mov $0, %rcx rep movsw nop nop nop sub %rdx, %rdx lea addresses_D_ht+0xdd24, %rsi lea addresses_normal_ht...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2019 The PIVX developers // Copyright (c) 2019-2020 The ucacoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1611c, %rsi lea addresses_WT_ht+0x13d9c, %rdi nop nop dec %rdx mov $3, %rcx rep movsl nop and %r14, %r14 lea addresses_WC_ht+0x1b61c, %rsi lea addresses_UC_ht+0x177c8, %rdi no...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x60a5, %r8 nop nop nop inc %r14 movw $0x6162, (%r8) nop nop cmp $60047, %rax lea addresses_UC_ht+0xd675, %rax nop nop nop nop xor $14265, %r14 movl $0x61626364, (%rax) nop...
; A211617: Number of ordered triples (w,x,y) with all terms in {-n,...-1,1,...,n} and 2w+x+y>0. ; 0,3,30,101,244,479,834,1329,1992,2843,3910,5213,6780,8631,10794,13289,16144,19379,23022,27093,31620,36623,42130,48161,54744,61899,69654,78029,87052,96743,107130,118233,130080,142691,156094,170309,185364,201279,218082,23579...
mov r1, 2 ; r1 = 2 cgt r1, 1 ; true csl r1 ; 2 * 2 csl r1 ; 2 * 2 * 2 csr r1 ; 2 * 2 csu r1, 1 ; 2 * 2 - 1 cad r1, 48; 2 * 2 + 47 out r1 ; 4 + 47 = '3'
org 100h L1: NOP L2: MOV CH, 9FH MOV AL, CH MOV CL, 04H ROL AL, CL MOV BL, 0FH AND AL, BL L3: CMP AL, 09H JG GREATER NOTGREATER: MOV AH, 02 MOV DL, 'N' INT 21H JMP L4 GREATER: MOV AH, 02 MOV DL, 'G' INT 21H L4: HLT ret
#include "synctool.h" /* Command line options */ bool gUseColors = true; bool gFastMode = false; bool gVerbose = false; wstring gSyncMode = L""; list<wstring> gBlacklist; list<wstring> gExcludedTypesList; /* Handles command line arguments*/ template <typename T> inline bool handle_arg(wstring arg, wstring name, wstri...
; A201227: a(n) = (A201225(n))^3 - (A201226(n))^2. ; 219375,4566375,82569375,1482276375,26598999375,477300306375,8564807109375,153689228256375,2757841302099375,49487454210126375,888016334480769375,15934806566444316375,285938501861517519375,5130958226940871626375,92071309583074172349375 mul $0,3 add $0,4 mov $1,1 mov $...
DoPlayerTurn: call SetPlayerTurn ld a, [wBattlePlayerAction] and a ; BATTLEPLAYERACTION_USEMOVE? ret nz jr DoTurn DoEnemyTurn: call SetEnemyTurn ld a, [wLinkMode] and a jr z, DoTurn ld a, [wBattleAction] cp BATTLEACTION_STRUGGLE jr z, DoTurn cp BATTLEACTION_SWITCH1 ret nc ; fallthrough DoTurn: ; R...
/* * Copyright (c) 2001-2005 The Regents of The University of Michigan * 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 * not...
/* * Copyright (c) 2020-2021 Alex Spataru <https://github.com/alex-spataru> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights...
include "reg.inc" section "random", rom0 ; ``` ; random_init() ; ``` random_init:: ld a, "G" ld [random_seed+0], a ld a, "b" ld [random_seed+1], a ret ; ``` ; random() ; return(value: A) ; destroy(BC, DE) ; ``` random:: ; seed ^= seed << 7 ; seed ^= seed >> 9 ; seed ^= seed << 8 ld a, [rand...
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
; ; Amstrad CPC library ; ; ****************************************************** ; ** Librería de rutinas para Amstrad CPC ** ; ** Raúl Simarro, Artaburu 2009 ** ; ****************************************************** ; ; void cpc_PutSp(int *sprite, char *alto, char *ancho, i...
; A225367: Number of palindromes of length n in base 3 (A118594). ; 3,2,6,6,18,18,54,54,162,162,486,486,1458,1458,4374,4374,13122,13122,39366,39366,118098,118098,354294,354294,1062882,1062882,3188646,3188646,9565938,9565938,28697814,28697814,86093442,86093442,258280326,258280326,774840978,774840978,2324522934,232452293...
#include<iostream> #include<string> #include<fstream> #include<stdlib.h> using namespace std; class teldir { public: char name[50]; long int no; void getdata(); void putdata(); }; void teldir::getdata() { cout<<"\nEnter the name of person:"; //cin.getline(name,50); cin>>name; cout<<"\nEnter the telephone nu...
; A223291: 4-loop graph coloring a rectangular array: number of n X 2 0..8 arrays where 0..8 label nodes of a graph with edges 0,1 1,2 2,0 0,3 3,4 4,0 0,5 5,6 6,0 0,7 7,8 8,0 and every array movement to a horizontal or vertical neighbor moves along an edge of this graph. ; Submitted by Jamie Morken(w3) ; 24,168,1368,11...
// Copyright 2016-2018 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 // // Unle...
/** * @file * @copyright defined in eos/LICENSE */ #pragma once #include <eosio/chain/types.hpp> #include <eosio/chain/transaction.hpp> using namespace std; using namespace eosio::chain; namespace eosio { namespace wallet { class wallet_api { public: virtual ~wallet_api() {} /** * Get th...
SECTION code_clib SECTION code_l_sdcc PUBLIC ___sdcc_enter_ix ___sdcc_enter_ix: IF __SDCC_IX pop hl push ix ld ix,0 add ix,sp jp (hl) ELSE pop hl push iy ld iy,0 add iy,sp jp (hl) ENDIF
; A305065: a(n) = 48*2^n - 24. ; 24,72,168,360,744,1512,3048,6120,12264,24552,49128,98280,196584,393192,786408,1572840,3145704,6291432,12582888,25165800,50331624,100663272,201326568,402653160,805306344,1610612712,3221225448,6442450920,12884901864,25769803752,51539607528,103079215080,206158430184,412316860392,8246337208...
// Copyright 2018 Google LLC // Copyright 2018-present Open Networking Foundation // // 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 // ...
; ; ; ZX Maths Routines ; ; 7/12/02 - Stefano Bodrato ; ; $Id: amin.asm,v 1.7 2016/06/22 19:59:18 dom Exp $ ; ;double amin (double x,double y) ; ;returns the smaller of x and y IF FORzx INCLUDE "zxfp.def" ENDIF IF FORzx81 INCLUDE "81fp.def" ENDIF IF FORlambda INCLUDE "lambdafp.def" ENDI...
#include "il2cpp-config.h" #include "D:\GameDev\2020.3.15f2\Editor\Data\il2cpp\libil2cpp\utils\DirectoryUtils.cpp" #include "D:\GameDev\2020.3.15f2\Editor\Data\il2cpp\libil2cpp\utils\Environment.cpp" #include "D:\GameDev\2020.3.15f2\Editor\Data\il2cpp\libil2cpp\utils\Exception.cpp" #include "D:\GameDev\2020.3.15f2\Edit...
gdt_start: gdt_null: dd 0x0 dd 0x0 gdt_code: dw 0xffff dw 0x0 db 0x0 db 10011010b db 11001111b db 0x0 gdt_data: dw 0xffff dw 0x0 db 0x0 db 10010010b db 11001111b db 0x0 gdt_end: gdt_descriptor: dw gdt_end - gdt_start -1 dd gdt_start CODE_SEG equ gdt_code - gdt_start DATA...
;----------------------------------------------------------------------------- [bits 32] global _start ;----------------------------------------------------------------------------- section .code ;===============================================================================...
; ; Copyright (c) 2013 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
; A155587: Expansion of (1 + x*c(x))/(1 - x), where c(x) is the g.f. of A000108. ; 1,2,3,5,10,24,66,198,627,2057,6919,23715,82501,290513,1033413,3707853,13402698,48760368,178405158,656043858,2423307048,8987427468,33453694488,124936258128,467995871778,1757900019102,6619846420554,24987199492706,94520750408710,35826870215...
; A062821: Number of divisors of totient of n. ; 1,1,2,2,3,2,4,3,4,3,4,3,6,4,4,4,5,4,6,4,6,4,4,4,6,6,6,6,6,4,8,5,6,5,8,6,9,6,8,5,8,6,8,6,8,4,4,5,8,6,6,8,6,6,8,8,9,6,4,5,12,8,9,6,10,6,8,6,6,8,8,8,12,9,8,9,12,8,8,6,8,8,4,8,7,8,8,8,8,8,12,6,12,4,12,6,12,8,12,8 seq $0,10 ; Euler totient function phi(n): count numbers <= n...
; A014283: a(n) = Fibonacci(n) - n^2. ; Submitted by Jamie Morken(s1) ; 0,0,-3,-7,-13,-20,-28,-36,-43,-47,-45,-32,0,64,181,385,731,1308,2260,3820,6365,10505,17227,28128,45792,74400,120717,195689,317027,513388,831140,1345308,2177285,3523489,5701731,9226240,14929056,24156448,39086725,63244465,102332555,165578460,26791253...
; A317487: Number of 4-cycles in the n-Bruhat graph. ; Submitted by Jamie Morken(s2) ; 0,0,0,6,90,1080,12600,151200,1905120,25401600,359251200,5388768000,85621536000,1438441804800,25499650176000,475993469952000,9336794987520000,192071211171840000,4135933413900288000,93058501812756480000,2184137777840578560000,533900345...
/* problem statement: you have given a array . you have to tell whether it is possible tomak partition into two subsets such that each subset has eual sum */ #include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ int n; cin>>n; int a[n]; int total=0; for(int i=0;i<n;i++...
/* * All Video Processing kernels * Copyright © <2010>, Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the ri...
; A115335: a(0) = 3, a(1) = 5, a(2) = 1, and a(n) = (2^(1 + n) - 11*(-1)^n)/3 for n > 2. ; 3,5,1,9,7,25,39,89,167,345,679,1369,2727,5465,10919,21849,43687,87385,174759,349529,699047,1398105,2796199,5592409,11184807,22369625,44739239,89478489,178956967,357913945,715827879,1431655769,2863311527,5726623065,11453246119,229...
#ifndef WRAP_HPP #define WRAP_HPP 1 #include "object.hpp" #include "world_manager.hpp" namespace isk { template<class T> class Wrap : public Object { public: T _x; // the type being enabled for the ECS simulation Wrap() = default; Wrap(const Wrap& src) = default; Wrap(Wrap&& src) = default; Wr...
; A266395: Number of orbits of Aut(Z^7) as function of the infinity norm n of the representative lattice point of the orbit, when the cardinality of the orbit is equal to 161280. ; 0,0,0,0,15,75,225,525,1050,1890,3150,4950,7425,10725,15015,20475,27300,35700,45900,58140,72675,89775,109725,132825,159390,189750,224250,263...
; unsigned char check_version_nextzxos(uint16_t nv) SECTION code_arch PUBLIC _check_version_nextzxos EXTERN asm_check_version_nextzxos _check_version_nextzxos: pop af pop hl push hl push af jp asm_check_version_nextzxos
; A033162: Begins with (3, 4); avoids 3-term arithmetic progressions. ; 3,4,6,7,12,13,15,16,30,31,33,34,39,40,42,43,84,85,87,88,93,94,96,97,111,112,114,115,120,121,123,124,246,247,249,250,255,256,258,259,273,274,276,277,282,283,285,286,327,328,330,331,336,337,339,340,354,355,357,358,363 mov $35,$0 mov $37,$0 lpb $37,1...
// Copyright © 2017-2020 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "Polkadot/Signer.h" #include "Polkadot/Extrinsic.h...
; A232983: The Gauss factorial n_7!. ; 1,1,2,6,24,120,720,720,5760,51840,518400,5702400,68428800,889574400,889574400,13343616000,213497856000,3629463552000,65330343936000,1241276534784000,24825530695680000,24825530695680000,546161675304960000,12561718532014080000,301481244768337920000,7537031119208448000000 mov $1,1 m...
; ; Copyright (C) 2009-2010 David McPaul ; ; All rights reserved. Distributed under the terms of the MIT License. ; ; A rather unoptimised set of ssse3 yuv to rgb converters ; does 8 pixels per loop ; inputer: ; reads 128 bits of yuv 8 bit data and puts ; the y values converted to 16 bit in xmm0 ; the u values conver...
/* Defined in menu_items.asm .var menu_x = 5 .var menu_y = 10 .var menu_h = 10 .var menu_w = 8 .var item_w = 64 Deifned in sid_include.asm sid_name.size() */ .var keyboard_scanning_delay_frames = 3 .var title_scroll_delay_frames = 5 .var title_scroll_delay_frames_major = 30 m_key_scan_delay: .byte $05 m_title_scrol...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x9d39, %rsi lea addresses_D_ht+0x142d9, %rdi nop nop nop nop add %r13, %r13 mov $40, %rcx rep movsq nop nop nop nop nop add %r13, %r13 pop %rsi pop %rdi pop %rcx pop %r13 ret .global s_faulty_load s_faulty...
; A124171: Sequence obtained by reading the triangles shown below by rows. ; 1,1,2,3,1,2,3,4,5,6,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,1,2,3 lpb $0 sub $0,1 mov $1,$0 ...
// 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. // // A set of unit tests for TokenValidatorFactoryImpl #include <string> #include "base/json/json_writer.h" #include "base/values.h" #include "net/url_r...
; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : rpen.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 2021 ; Authors : Fred Bowen ; ; ****...
//===- BuildMemOpndPass.cpp -----------------------------------------------===// // // The ONNC Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #define DEBUG_TYPE "tg_build_memop" #include "BuildMemOpndPass.h" #i...
; A097300: Tenth column (m=9) of (1,6)-Pascal triangle A096956. ; 6,55,280,1045,3190,8437,20020,43615,88660,170170,311168,545870,923780,1514870,2416040,3759074,5720330,8532425,12498200,18007275,25555530,35767875,49424700,67492425,91158600,121872036,161388480,211822380 lpb $0 mov $2,$0 cal $2,97299 ; Ninth column (...
; ; Startup for CP/M ; ; Stefano Bodrato - Apr. 2000 ; Apr. 2001: Added MS-DOS protection ; ; Dominic Morris - Jan. 2001: Added argc/argv support ; - Jan. 2001: Added in malloc routines ; - Jan. 2001: File support added ; ; $Id: cpm_crt0.asm,v 1.43 2016-10-31 16:16:33 stef...
// Test some forced zeropage access // Commodore 64 PRG executable file .file [name="forced-zeropage.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(...
// OculusPlatformBP plugin by InnerLoop LLC 2020 #include "OBP_Requests_Media.h" // -------------------- // Initializers // -------------------- UOBP_Media_ShareToFacebook::UOBP_Media_ShareToFacebook(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { } // -------------------- // ovr_Requests...
#include "SDK.h" #include "Client.h" //============================================================================================ bool __fastcall Hooked_CreateMove(PVOID ClientMode, int edx, float input_sample_frametime, CUserCmd * pCommand) { VMTManager & hook = VMTManager::GetHook(ClientMode); //Get a pointer to...
rndd(8) g22<1>F g17<0,1,0>F { align1 1Q }; rndd(16) g7<1>F g5<8,8,1>F { align1 1H }; rndd.z.f0.0(8) null<1>F g17<8,8,1>F { align1 1Q }; rndd.z.f0.0(16) null<1>F g39<8,8,1>F { align1 1H }; rndd...
; A198682: Nonnegative multiples of 3 whose sum of base-3 digits are of the form 3*k+2. ; Submitted by Christian Krause ; 6,12,18,30,36,51,54,69,75,84,90,105,108,123,129,141,147,153,162,177,183,195,201,207,219,225,240,246,252,267,270,285,291,303,309,315,324,339,345,357,363,369,381,387,402,411,417,423,435,441,456,459,47...
/* * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
; A247540: a(n) = 2*a(n-1) - 3*a(n-1)^2 / a(n-2), with a(0) = a(1) = 1. ; Submitted by Christian Krause ; 1,1,-1,-5,65,2665,-322465,-117699725,128645799425,422086867913425,-4153756867136015425,-122639671502190855423125,10862563623963550637392450625,2886411268723218638918559372525625,-23009344933866696934189577079618997...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r8 push %r9 push %rbp push %rcx lea addresses_WT_ht+0x1053b, %r8 clflush (%r8) nop sub %r15, %r15 movb $0x61, (%r8) nop nop nop nop and $31127, %rcx lea addresses_WT_ht+0x15cfb, %rbp clflush (%rbp) nop nop nop nop xor $47124, %r13 movl $0x...
0x00000021 0x014a5024 0x01294824 0x08100002 0x08100001
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 0018DA add.l D0, ($10,A6) 0018DE rts [123p+ 10, 123p+ 12, base+74C, enemy+10, enemy+12, etc+10, etc+12, item+10, item+12] 004952 move.l D0, (A4)+ 004954 move.l D0, (A4)+ 004D38 move.l D0, (A4)+ 004...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1e28d, %rbx clflush (%rbx) nop nop nop add %rax, %rax movw $0x6162, (%rbx) nop sub %rcx, %rcx lea addresses_UC_ht+0x205, %rdi nop nop nop dec %rbp movb (%rdi), %r13b nop nop...
MMC1_CTRL =$8000 MMC1_CHR0 =$a000 MMC1_CHR1 =$c000 MMC1_PRG =$e000 ; MMC1 needs a reset stub in every bank that will put us into a known state. This defines it for all banks. .macro resetstub_in segname .segment segname .scope resetstub_entry: sei ldx #$FF txs stx MMC1_CTRL ; Writing $80-$FF...
; $Id: RTR0Os2DHVMGlobalToProcess.asm $ ;; @file ; IPRT - DevHelp_VMGlobalToProcess, Ring-0 Driver, OS/2. ; ; ; Copyright (c) 2007 knut st. osmundsen <bird-src-spam@anduin.net> ; ; Permission is hereby granted, free of charge, to any person ; obtaining a copy of this software and associated documentation ; files (the ...
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: dmul.asm,v 1.4 2016-06-22 19:50:49 dom Exp $ ; SECTION smc_fp INCLUDE "target/cpc/def/cpcfirm.def" INCLUDE "target/cpc/def/cpcfp.def" PUBLIC dmul PUBLIC dmulc EXTERN fsetup EXTERN stkequ E...
; float acosh(float x) __z88dk_fastcall SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_acosh_fastcall EXTERN cm48_sdccixp_dx2m48, am48_acosh, cm48_sdccixp_m482d cm48_sdccix_acosh_fastcall: call cm48_sdccixp_dx2m48 call am48_acosh jp cm48_sdccixp_m482d