text
stringlengths
1
1.05M
page ,132 ;---------------------------Module-Header-------------------------------; ; Module Name: MATH.ASM ; ; Contains FIXED point math routines. ; ; Created: Sun 30-Aug-1987 19:28:30 ; Author: Charles Whitmer [chuckwh] ; ; Copyright (c) 1987 Microsoft Corporation ;-----------------------------...
; A017187: a(n) = (9*n + 2)^3. ; 8,1331,8000,24389,54872,103823,175616,274625,405224,571787,778688,1030301,1331000,1685159,2097152,2571353,3112136,3723875,4410944,5177717,6028568,6967871,8000000,9129329,10360232,11697083,13144256,14706125,16387064,18191447,20123648,22188041,24389000,26730899,29218112,31855013,34645976,...
; A147837: a(n)=7*a(n-1)-5*a(n-2), a(0)=1, a(1)=5 . ; 1,5,30,185,1145,7090,43905,271885,1683670,10426265,64565505,399827210,2475962945,15332604565,94948417230,587975897785,3641089198345,22547744899490,139628768304705,864662653635485,5354494733924870 mov $1,1 mov $2,3 lpb $0,1 sub $0,1 add $2,$1 add $1,$2 mul $...
; A218737: a(n) = (34^n-1)/33. ; 0,1,35,1191,40495,1376831,46812255,1591616671,54114966815,1839908871711,62556901638175,2126934655697951,72315778293730335,2458736461986831391,83597039707552267295,2842299350056777088031,96638177901930420993055,3285698048665634313763871,111713733654631566667971615,37982669442574732667110...
; A141943: Primes congruent to 21 mod 25. ; Submitted by Jon Maiga ; 71,271,421,521,571,821,971,1021,1171,1321,1471,1571,1621,1721,1871,2221,2371,2521,2621,2671,2971,3121,3221,3271,3371,3571,3671,3821,4021,4271,4421,4621,4721,4871,5021,5171,5471,5521,5821,6121,6221,6271,6421,6521,6571,6871,6971,7121,7321,7621,8171,8221...
; A007979: Expansion of (1+x^2)(1+x^4)/((1-x)^2*(1-x^2)*(1-x^3)). ; Submitted by Jamie Morken(s2) ; 1,2,5,9,16,25,39,56,79,107,142,183,233,290,357,433,520,617,727,848,983,1131,1294,1471,1665,1874,2101,2345,2608,2889,3191,3512,3855,4219,4606,5015,5449,5906,6389,6897,7432,7993,8583,9200,9847,10523,11230,11967,12737,13538...
*=$1337 loop: lda $fe ; A=rnd sta $00 ; ZP(0)=A lda $fe and #$3 ; A=A&3 clc ; Clear carry adc #$2 ; A+=2 sta $01 ; ZP(1)=A lda $fe ; A=rnd ldy #$0 ; Y=0 sta ($00),y ; ZP(0),ZP(1)=y inc $fd ;wait for ...
#note: r40 (the exception handler) and r46 (the start of usermode code) must #be specified in hex (0xwhatever) #I just don't see any reason not to, and it makes programming the script #much nicer to deal with... #load exception handler lc r40, 0x80000050 leh r40 #enable exceptions cle #load TLB ent...
// Copyright 2021 The IREE Authors // // Licensed 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 //===- BufferAllocViewCleanUpPass.cpp -------------------------------------===// // // This pass ...
/* $Id: AbcSimplex.hpp 2070 2014-11-18 11:12:54Z forrest $ */ // Copyright (C) 2002, International Business Machines // Corporation and others, Copyright (C) 2012, FasterCoin. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). /* Authors John Forrest */ #ifndef...
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
; A077446: Numbers n such that 2*n^2 + 14 is a square. ; 1,5,11,31,65,181,379,1055,2209,6149,12875,35839,75041,208885,437371,1217471,2549185,7095941,14857739,41358175,86597249,241053109,504725755,1404960479,2941757281,8188709765,17145817931,47727298111,99933150305,278175078901,582453083899,1621323175295,3394785353089,9...
; double expm1(double x) SECTION code_fp_math48 PUBLIC am48_expm1 EXTERN am48_exp, am48_dconst_1, am48_dsub, am48_dpopret am48_expm1: ; compute exp(AC')-1 ; ; enter : AC' = double x ; ; exit : success ; ; AC' = exp(x) - 1 ; carry reset ; ; fail if overf...
; A269895: Number of n X 1 0..6 arrays with some element plus some horizontally or vertically adjacent neighbor totalling six exactly once. ; 0,7,84,756,6048,45360,326592,2286144,15676416,105815808,705438720,4655895552,30474952704,198087192576,1279948013568,8228237230080,52660718272512,335712078987264,2132759090036736,...
%ifdef CONFIG { "RegData": { "RCX": "0x10000" }, "Mode": "32BIT" } %endif mov ecx, 0x10 .loop: dec ecx jecxz .end jmp .loop .end: mov ecx, 0x1FFFF .loop2: dec cx jcxz .end2 jmp .loop2 .end2: hlt
/* * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
; A064758: a(n) = n*12^n - 1. ; 11,287,5183,82943,1244159,17915903,250822655,3439853567,46438023167,619173642239,8173092077567,106993205379071,1390911669927935,17974858503684095,231105323618795519,2958148142320582655,37716388814587428863,479219999055934390271,6070119988041835610111,76675199848949502443519,9661075180967...
; A070825: One half of product of first n+1 Lucas numbers A000032. ; Submitted by Christian Krause ; 1,1,3,12,84,924,16632,482328,22669416,1722875616,211913700768,42170826452832,13579006117811904,7074662187380001984,5963940223961341672512,8134814465483270041306368,17953535525321576981163154176,6411207536092335139973362...
INCLUDE "hardware.inc" INCLUDE "macros.inc" SECTION "GameVars", WRAM0 ShadowScrollX:: DS 1 IsGamePaused:: DS 1 ; 0 = unpaused, nonzero = paused IsGameOver:: DS 1 ; 0 = in play, nonzero = game over SECTION "MainGameCode", ROM0 StartGame:: call disableLCD ; Initialize sprite buffer to 0 ld hl, STARTOF("Sprit...
/* Copyright (c) 2002-2009 Tampere University. This file is part of TTA-Based Codesign Environment (TCE). 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, ...
; Add safety check for the external Hlp_GetNpc in case a patch causes to save invalid symbol indices %include "inc/macros.inc" %if GOTHIC_BASE_VERSION == 1 %include "inc/symbols_g1.inc" %elif GOTHIC_BASE_VERSION == 2 %include "inc/symbols_g2.inc" %endif %ifidn __OUTPUT_FORMAT__, bin org g1g2(0x6587EC...
; A025783: Expansion of 1/((1-x)(1-x^6)(1-x^11)). ; 1,1,1,1,1,1,2,2,2,2,2,3,4,4,4,4,4,5,6,6,6,6,7,8,9,9,9,9,10,11,12,12,12,13,14,15,16,16,16,17,18,19,20,20,21,22,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39 mov $11,$0 add $11,1 lpb $11 clr $0,9 sub $11,1 sub $0,$11 lpb $0 mul $0,2 div $0,11 ...
; A203234: (n-1)-st elementary symmetric function of the first n terms of the periodic sequence (1,1,1,2,1,1,1,2,...). ; 1,2,3,7,9,11,13,28,32,36,40,84,92,100,108,224,240,256,272,560,592,624,656,1344,1408,1472,1536,3136,3264,3392,3520,7168,7424,7680,7936,16128,16640,17152,17664,35840,36864,37888,38912,78848,80896 mov ...
; A017416: (11n+2)^4. ; 16,28561,331776,1500625,4477456,10556001,21381376,38950081,65610000,104060401,157351936,228886641,322417936,442050625,592240896,777796321,1003875856,1275989841,1600000000,1982119441 mul $0,11 add $0,2 pow $0,4
!to "via5a.prg", cbm TESTID = 5 tmp=$fc addr=$fd add2=$f9 ERRBUF = $1f00 TMP = $2000 ; measured data on C64 side DATA = $3000 ; reference data TESTLEN = $20 NUMTESTS = 18 - 12 TESTSLOC = $1800 DTMP=screenmem !src "common.asm" * = TESTSLOC ...
; party menu icons PUSHS SECTION "Mon Menu Icons", ROMX MonMenuIcons: db ICON_BULBASAUR ; BULBASAUR db ICON_BULBASAUR ; IVYSAUR db ICON_BULBASAUR ; VENUSAUR db ICON_CHARMANDER ; CHARMANDER db ICON_CHARMANDER ; CHARMELEON db ICON_BIGMON ; CHARIZARD db ICON_SQUIRTLE ; SQUIRTLE db ICON_SQUIRTLE ...
; Small C+ Z88 Support Library ; ; Increment long on hl ; Kept little endian ; ; djm 26/2/2000 ; aralbrec 01/2007 PUBLIC l_long_inc .l_long_inc inc (hl) ret nz inc hl inc (hl) ret nz inc hl inc (hl) ret nz inc hl inc (hl) ret
; A001794: Negated coefficients of Chebyshev T polynomials: [x^n](-T(n+6, x)), n >= 0. ; 1,7,32,120,400,1232,3584,9984,26880,70400,180224,452608,1118208,2723840,6553600,15597568,36765696,85917696,199229440,458752000,1049624576,2387607552,5402263552,12163481600,27262976000,60850962432,135291469824,299708186624,661693399...
#include "TileRenderer.h" #include <iostream> namespace atlas { TileRenderer::TileRenderer() {} TileRenderer::~TileRenderer() {} Image TileRenderer::renderTile(const Map *map, size_t x, size_t y, size_t zoom, size_t width, size_t height) { Image img(width, height); #pragma omp parall...
m = $8000_0000 assert m == 1 << 31 assert m == -(1 << 31) assert m == (-2)**31 println "{m}" println "({12d:m})" println "({-12d:m})"
// // Copyright (c) 2022 Alan Freitas (alandefreitas@gmail.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) // // Official repository: https://github.com/CPPAlliance/url // #include "test_suite.hpp" //[snip...
#importonce .const screen = $0400 .const screen_0 = $0400 .const screen_1 = $0500 .const screen_2 = $0600 .const screen_3 = $0700 .label vic2_screen_control_register1 = $d011 .label vic2_screen_control_register2 = $d016 .label vic2_rasterline_register = $d012 .label vic2_interrupt_control_register = $d01a .label vic2...
_rm: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
; A158841: Triangle read by rows, matrix product of A145677 * A004736. ; Submitted by Christian Krause ; 1,3,1,7,4,2,13,9,6,3,21,16,12,8,4,31,25,20,15,10,5,43,36,30,24,18,12,6,57,49,42,35,28,21,14,7,73,64,56,48,40,32,24,16,8,91,81,72,63,54,45,36,27,18,9 lpb $0 add $2,1 sub $0,$2 lpe mov $1,$2 sub $2,$0 add $2,1 mu...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2021 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/bitcoingui.h> #include <qt/bitcoinunits.h> #include <qt/cli...
;***************************************************************** ;* - Description: Device definition file for RC Calibration ;* - File: m649.asm ;* - AppNote: AVR053 - Production calibration of the ;* RC oscillator ;* ;* - Author: Atmel Corporation: http://www.atmel.com ;*...
#include "Platform.inc" #include "FarCalls.inc" #include "TailCalls.inc" #include "Timer0.inc" #include "PowerManagement.inc" #include "Smps.inc" radix decimal Smps code global enableSmps global enableSmpsHighPowerMode global disableSmps global disableSmpsHighPowerMode global isSmpsEnabled enableSmpsHigh...
; size_t dtoe(double x, char *buf, uint16_t prec, uint16_t flag) SECTION code_stdlib PUBLIC dtoe EXTERN asm_dtoe, dread1b dtoe: ld hl,13 add hl,sp call dread1b pop af pop bc pop de pop hl push hl push de push bc push af jp asm_dtoe
.org $8000 ;code starts at $8000 ;LABEL DEFINITIONS PORTB = $6000 PORTA = $6001 DDRB = $6002 DDRA = $6003 E = %10000000 RW = %01000000 RS = %00100000 L = %00000001 reset: ;resets the processor ldx #$ff;Reset stack pointer txs LDA #%11111111 ;set portB pins to output STA DDRB LDA #%11100...
; ; buffer management for MSDOS ; INCLUDE DOSSEG.ASM CODE SEGMENT BYTE PUBLIC 'CODE' ASSUME SS:DOSGROUP,CS:DOSGROUP .xlist .xcref INCLUDE DOSSYM.ASM INCLUDE DEVSYM.ASM .cref .list i_need BuffHead,DWORD i_need PreRead,WORD i_need LastBuffer,DWORD i_need CurBuf,DWORD ...
;------------------------------- !zone ;-- clear screen using space characters ;-- clear_screen lda #$20 ;-- space character ldx #$00 .loop sta SCR_BASE, x sta SCR_BASE + $100, x sta SCR_BASE + $200, x sta SCR_BASE + $300, x dex bne .loop rts ;----------------------------...
[bits 32] [extern main] call main jmp $
; ; This is free and unencumbered software released into the public domain. ; ; Anyone is free to copy, modify, publish, use, compile, sell, or ; distribute this software, either in source code form or as a compiled ; binary, for any purpose, commercial or non-commercial, and by any ; means. ; In jurisdictions that re...
; A000297: a(n) = (n+1)*(n+3)*(n+8)/6. ; 0,4,12,25,44,70,104,147,200,264,340,429,532,650,784,935,1104,1292,1500,1729,1980,2254,2552,2875,3224,3600,4004,4437,4900,5394,5920,6479,7072,7700,8364,9065,9804,10582,11400,12259,13160,14104,15092,16125,17204,18330,19504,20727,22000,23324,24700,26129,27612,29150,30744,32395,3410...
; A209279: First inverse function (numbers of rows) for pairing function A185180. ; Submitted by Jon Maiga ; 1,1,2,2,1,3,2,3,1,4,3,2,4,1,5,3,4,2,5,1,6,4,3,5,2,6,1,7,4,5,3,6,2,7,1,8,5,4,6,3,7,2,8,1,9,5,6,4,7,3,8,2,9,1,10,6,5,7,4,8,3,9,2,10,1,11,6,7,5,8,4,9,3,10,2,11,1,12,7,6,8,5,9,4,10,3,11,2,12,1,13,7,8,6,9,5,10,4,11,3...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018-2019 The voi Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 014804 move.w (A1)+, D0 [base+6076, base+60F6, base+6176, base+61F6, base+6276, base+62F6, base+6376, base+63F6, base+6476, base+64F6, base+6576] 014806 add.w D0, ($69b2,A5) [base+607E, base+60FE, base+617E...
_getprocinfo_test: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "stat.h" #include "user.h" #include "fcntl.h" int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pu...
; A205808: G.f.: Sum_{n=-oo..oo} q^(9*n^2 + 2*n). ; 1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0 mul $0,4 sub $0,2 mul $0,9 mov $2,$0 add $2,22 mov $1,$2 seq $1,937...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <complex> #include "CoreTypes.hpp" namespace Microsoft { namespace Quantum { struct QIR_SHARED_API IRuntimeDriver { virtual ~IRuntimeDriver() {} IRuntimeDriver() = default; // Doesn't ne...
; A041614: Numerators of continued fraction convergents to sqrt(326). ; Submitted by Jon Maiga ; 18,325,11718,211249,7616682,137311525,4950831582,89252280001,3218032911618,58013844689125,2091716441720118,37708909795651249,1359612469085165082,24510733353328622725,883746013188915583182,15931938970753809120001,57443354896...
SECTION code_fp_am9511 PUBLIC l_long_div_u EXTERN cam32_sccz80_ldiv_u_callee defc l_long_div_u = cam32_sccz80_ldiv_u_callee
; int in_key_pressed(uint16_t scancode) SECTION code_input PUBLIC in_key_pressed EXTERN asm_in_key_pressed defc in_key_pressed = asm_in_key_pressed
################################################# # 1er Proyecto de Organización del Computador # # Snake Version 2.0 # # Germano Rojas & José Quevedo # # Teclas para usar: # # w (Arriba/up) # # ...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="algorithm"/> <%docstring> Invokes the syscall sched_get_priority_min. See 'man 2 sched_get_priority_min' for more information. Arguments: algorithm(int): algorithm </%docstring> ${syscall('SYS_sched_get_priority_min', algorithm)}
__Z3vmlPmm: pushq %rbp movq %rsp, %rbp movq %rsi, %rax shrq $36, %rax andl $4088, %eax movq (%rdi,%rax), %rax testb $1, %al je error andq $-4096, %rax movq %rsi, %rcx shrq $27, %rcx andl ...
db "BIVALVE@" ; species name dw 411, 2920 ; height, weight db "Even a missile" next "can't break the" next "spikes it uses to" page "stab opponents." next "They're even hard-" next "er than its shell.@"
.text .globl swap # Swaps contents of $a0 with $a1 swap: lw $t0, 0($a0) lw $t1, 0($a1) sw $t1, 0($a0) sw $t0, 0($a1) jr $ra
lui $1,55254 ori $1,$1,60629 lui $2,38275 ori $2,$2,61248 lui $3,52525 ori $3,$3,57097 lui $4,62604 ori $4,$4,37951 lui $5,51666 ori $5,$5,7983 lui $6,19026 ori $6,$6,39122 mthi $1 mtlo $2 sec0: nop nop nop or $5,$6,$6 sec1: nop nop and $6,$3,$3 or $5,$6,$6 sec2: nop nop xori $6,$1,11488 or $2,$6,$6 sec3: ...
#include <glm/gtx/euler_angles.hpp> #include <Engine/Physics/Shapes.hpp> #include <Engine/Graphics/Gizmos.hpp> #include <Engine/Components/Transform.hpp> #include <Engine/Components/Physics/Rigidbody.hpp> #include <Engine/Components/Physics/BoxCollider.hpp> #include <Engine/Components/Physics/PlaneCollider.hpp> #includ...
;代码清单13-2 ;文件名:c13_core.asm ;文件说明:保护模式微型核心程序 ;创建日期:2011-10-26 12:11 ;以下常量定义部分。内核的大部分内容都应当固定 user_app_address equ 8 ; logic-sector core_code_seg_sel equ 0x38 ;内核代码段选择子 core_data_seg_sel equ 0x30 ;内核数据段选择子 ...
# JMH version: 1.19 # VM version: JDK 1.8.0_131, VM 25.131-b11 # VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java # VM options: <none> # Warmup: 20 iterations, 1 s each # Measurement: 20 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Throughput...
#include <iostream> #include <vector> #include <algorithm> #include <unordered_map> #include <queue> using namespace std; /* Medium */ /* Definition for a binary tree node. */ struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {}...
extern m7_ippsAESDecryptCBC_CS3:function extern n8_ippsAESDecryptCBC_CS3:function extern y8_ippsAESDecryptCBC_CS3:function extern e9_ippsAESDecryptCBC_CS3:function extern l9_ippsAESDecryptCBC_CS3:function extern n0_ippsAESDecryptCBC_CS3:function extern k0_ippsAESDecryptCBC_CS3:function extern ippcpJumpIndexForMergedLib...
#include "PCH.h" #include "Entity.h" // Default constructor. Entity::Entity() : m_currentTextureIndex(static_cast<int>(ANIMATION_STATE::WALK_DOWN)), m_health(0), m_maxHealth(0), m_mana(0), m_maxMana(0), m_attack(0), m_defense(0), m_strength(0), m_dexterity(0), m_stamina(0), m_speed(0), m_velocity({0.f, 0.f}) { } // O...
; ; ANSI Video handling for the Sharp X1 ; Karl Von Dyson (for X1s.org) - 24/10/2013 ; Stefano Bodrato 10/2013 ; ; set it up with: ; .__console_w = max columns ; .__console_h = max rows ; ; Display a char in location (__console_y),(__console_x) ; A=char to display ; ; ; $Id: f_ansi_char.asm,v 1.7 2016-07-20 05:45:02 s...
SECTION code_fcntl PUBLIC zx_01_input_inkey_stdio_msg_ictl EXTERN console_01_input_stdio_msg_ictl, console_01_input_stdio_msg_ictl_0 EXTERN error_einval_zc, zx_01_input_inkey_stdio_msg_flsh EXTERN zx_01_input_inkey_proc_getk_address, __stdio_nextarg_bc, __stdio_nextarg_de zx_01_input_inkey_stdio_msg_ictl: ; ioc...
SECTION code_fp_math48 PUBLIC asm_dgt_s EXTERN am48_dgt_s defc asm_dgt_s = am48_dgt_s
.size 8000 .text@48 ld a, ff ldff(45), a jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 40 call lwaitly_b ld a, 40 ldff(41), a xor a, a ldff(0f), a ld a, 02 ldff(ff), a ei ld a, b inc a inc a ldff(45), a .text@1000 lstatint: ld a, 30 ldff(41), a .te...
/* * Copyright 2012 The WebRTC 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 ...
Name: ys_mapdt.asm Type: file Size: 76124 Last-Modified: '2016-05-13T04:50:38Z' SHA-1: 41E94B0151DB079BE4F00A3F111FBD8E2C1BCD78 Description: null
// Copyright (c) 2011-2014 The Bogcoin developers // Copyright (c) 2017 The PIVX developers // Copyright (c) 2017-2019 The BogCoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "recentrequeststable...
#include <ctime> #include <iostream> #include <string> #include <boost/asio.hpp> using boost::asio::ip::tcp; std::string make_daytime_string() { using namespace std; // For time_t, time and ctime; time_t now = time(0); return ctime(&now); } int main() { try { boost::asio::io_service io_servi...
// X-Cam Timer origin 0x0185E0 base 0x8025D5E0 j Xcam // 1302 origin 0x0185F4 base 0x8025D5F4 j Xcam // 1307 origin 0x018608 base 0x8025D608 j Xcam // 1303
; A170685: Number of reduced words of length n in Coxeter group on 4 generators S_i with relations (S_i)^2 = (S_i S_j)^50 = I. ; 1,4,12,36,108,324,972,2916,8748,26244,78732,236196,708588,2125764,6377292,19131876,57395628,172186884,516560652,1549681956,4649045868,13947137604,41841412812,125524238436,376572715308,1129718...
; A262333: Number of (n+3) X (1+3) 0..1 arrays with each row and column divisible by 9, read as a binary number with top and left being the most significant bits. ; 2,4,8,15,29,57,114,228,456,911,1821,3641,7282,14564,29128,58255,116509,233017,466034,932068,1864136,3728271,7456541,14913081,29826162,59652324,119304648,23...
; ; Part of Metta OS. Check https://atta-metta.net for latest version. ; ; Copyright 2007 - 2017, Stanislav Karchebnyy <berkus@atta-metta.net> ; ; Distributed under the Boost Software License, Version 1.0. ; (See file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt) ; ; Rename functions so they don't...
; A025774: Expansion of 1/((1-x)(1-x^4)(1-x^9)). ; 1,1,1,1,2,2,2,2,3,4,4,4,5,6,6,6,7,8,9,9,10,11,12,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,28,29,31,32,33,34,36,38,39,40,42,44,45,46,48,50,52,53,55,57,59,60,62 mov $5,$0 mov $7,$0 add $7,1 lpb $7,1 mov $0,$5 sub $7,1 sub $0,$7 mov $2,80 mov $3,$0 mov $0...
copyright zengfr site:http://github.com/zengfr/romhack 006D7C tst.b ($4db,A5) 006D80 bne $6e28 006DFC tst.b ($4db,A5) 006E00 bne $6e28 006E2A tst.b ($4db,A5) 006E2E bne $6eae 00AD24 bne $ad34 [base+4D9] 00AD34 rts [base+4DB] 08BDC8 move.b #$1, ($4db,A5) [base+4D5] 08BDCE move.b #...
; A158409: a(n) = 900*n - 1. ; 899,1799,2699,3599,4499,5399,6299,7199,8099,8999,9899,10799,11699,12599,13499,14399,15299,16199,17099,17999,18899,19799,20699,21599,22499,23399,24299,25199,26099,26999,27899,28799,29699,30599,31499,32399,33299,34199,35099,35999,36899,37799,38699,39599,40499,41399,42299,43199,44099,44999,4...
#include <stdlib.h> #include <fstream> #include "chip8.h" // Load program void chip8::loadProgram(char* romPath){ // Resets program counter, opcode, index register, an stack pointer programCounter = 0x200; I = 0; stackPointer = 0; // Opens a filestream std::ifstream file(romPath, std::ios::binary | std::io...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x58ea, %rsi lea addresses_normal_ht+0x2ae6, %rdi clflush (%rdi) nop nop nop nop nop inc %r13 mov $103, %rcx rep movsl nop nop dec %rax pop %rsi pop %rdi pop %rcx pop %rax pop %r13 ret .global s_f...
#include "data_structure/parallel/thread_pool.h" #include "data_structure/parallel/time.h" #include "uncoarsening/refinement/parallel_kway_graph_refinement/kway_graph_refinement_core.h" #include "uncoarsening/refinement/parallel_kway_graph_refinement/multitry_kway_fm.h" namespace parallel { std::vector<thread_data_f...
; A017135: a(n) = (8*n + 5)^11. ; 48828125,1792160394037,350277500542221,12200509765705829,177917621779460413,1532278301220703125,9269035929372191597,43513917611435838661,168787390185178426269,564154396389137449973,1673432436896142578125,4501035456767426597157,11156683466653165551101,25804264053054077850709,56239892154...
; A105752: Expansion of e.g.f. cos(i*log(1 + x)), i = sqrt(-1). ; 1,0,1,-3,12,-60,360,-2520,20160,-181440,1814400,-19958400,239500800,-3113510400,43589145600,-653837184000,10461394944000,-177843714048000,3201186852864000,-60822550204416000,1216451004088320000,-25545471085854720000,562000363888803840000,-129260083694424...
; $Id: SUPDrvA-os2.asm $ ;; @file ; VBoxDrv - OS/2 assembly file, the first file in the link. ; ; ; 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 "Software"),...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x282, %rsi lea addresses_A_ht+0xa282, %rdi nop nop inc %r10 mov $65, %rcx rep movsb nop cmp $17425, %rax lea addresses_normal_ht+0x1282, %rsi sub $28690, %r13 mov (%rsi), %rcx...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x16358, %rsi lea addresses_WT_ht+0xc040, %rdi add $545, %r13 mov $0, %rcx rep movsb nop sub %r11, %r11 lea addresses_UC_ht+0xb098, %r13 nop nop nop nop inc %r14 mov (%r13), %...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x17a5e, %rax nop nop nop cmp %r10, %r10 mov $0x6162636465666768, %r8 movq %r8, %xmm0 movups %xmm0, (%rax) nop nop nop and %r11, %r11 lea addresses_WT_ht...
MODULE xxx Kip: ; label xxx.Kip ld hl,@Kip ; global Kip ld hl,@Kop ; global Kop ld hl,Kop ; xxx.Kop Kop: ; label xxx.Kop ld hl,Kip ; xxx.Kip ld hl,yyy.Kip ; yyy.Kip ld hl,nested.Kip ; xxx.nested.Kip MODULE nested Kip: re...
; A164096: Partial sums of A164095. ; 5,11,21,33,53,77,117,165,245,341,501,693,1013,1397,2037,2805,4085,5621,8181,11253,16373,22517,32757,45045,65525,90101,131061,180213,262133,360437,524277,720885,1048565,1441781,2097141,2883573,4194293,5767157,8388597,11534325,16777205,23068661,33554421,46137333,67108853,92274677,134...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1df0c, %rsi lea addresses_UC_ht+0x1458c, %rdi nop nop nop nop nop sub %r13, %r13 mov $104, %rcx rep movsw nop add %r8, %r8 lea addresses_WC_ht+0x1b89e, %r15 nop nop cmp %rax, ...
; A024378: a(n) = 2nd elementary symmetric function of the first n+1 positive integers congruent to 1 mod 4. ; 5,59,254,730,1675,3325,5964,9924,15585,23375,33770,47294,64519,86065,112600,144840,183549,229539,283670,346850,420035,504229,600484,709900,833625,972855,1128834,1302854,1496255,1710425,1946800,2206864,2492149 ...
; A023805: Xenodromes: all digits in base 11 are different. ; 0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,25,26,27,28,29,30,31,32,33,34,35,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,61,62,63,64,65,66,67,68,69,70,71,73,74 mov $1,$0 sub $1,1 div $1,11 add $0,$1
;; ;; Copyright (c) 2018-2020, Intel Corporation ;; ;; 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 list of conditions and...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x14176, %rsi lea addresses_WC_ht+0x1dc36, %rdi add $43980, %r9 mov $52, %rcx rep movsw nop add %rcx, %rcx lea addresses_normal_ht+0x2baf, %r13 and %r10, %r10 movups (%r13), %x...
; ; OZ-7xx DK emulation layer for Z88DK ; by Stefano Bodrato - Oct. 2003 ; ; void ozcircle(int x,int y,byte r,byte color); ; ; ------ ; $Id: ozcircle.asm,v 1.1 2003/10/27 16:56:57 stefano Exp $ ; XLIB ozcircle LIB swapgfxbk LIB swapgfxbk1 LIB draw_circle LIB ozplotpixel ...
; double __FASTCALL__ expm1(double x) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sccz80_expm1 EXTERN am48_expm1 defc cm48_sccz80_expm1 = am48_expm1
// Generated code. Do not edit // Create the model Model createTestModel() { const std::vector<Operand> operands = { { .type = OperandType::TENSOR_QUANT8_ASYMM, .dimensions = {1, 5, 2, 1}, .numberOfConsumers = 1, .scale = 1.0f, .zeroPoint = 0, ...
Music_PokeMart: dbw $c0, Music_PokeMart_Ch1 dbw $01, Music_PokeMart_Ch2 dbw $02, Music_PokeMart_Ch3 dbw $03, Music_PokeMart_Ch4 Music_PokeMart_Ch1: tempo $90 volume $77 dutycycle 1 notetype $C, $B2 ;Channel1_Bar1: octave 4 note C#, 4 note C#, 4 note C_, 2 note C_, 4 octave 3 note B_, 6 ;Channel1_Bar2: ...