text
stringlengths
1
1.05M
copyright zengfr site:http://github.com/zengfr/romhack 0483FC move.b D0, ($c1,A6) 048400 move.l #$49460, ($64,A6) 04DD7C move.b D0, ($c1,A6) 04DD80 move.l #$4fa30, ($64,A6) 053482 move.b D0, ($c1,A6) 053486 moveq #$22, D0 05F752 move.b #$1, ($c1,A1) [enemy+76] 05F758 or.w D0, D0 [enemy+C1] 05F...
; A077063: Squarefree kernel of prime(n) - 1. ; 1,2,2,6,10,6,2,6,22,14,30,6,10,42,46,26,58,30,66,70,6,78,82,22,6,10,102,106,6,14,42,130,34,138,74,30,78,6,166,86,178,30,190,6,14,66,210,222,226,114,58,238,30,10,2,262,134,30,138,70,282,146,102,310,78,158,330,42,346,174,22,358,366,186,42,382,194,66,10,102,418,210,430,6,438...
[WiiULauncher0US] moduleMatches = 0x90DAC5CE ; Skip shake initialisation in CView::ProcessShakeNormal 0x2AEA96C = b 0x2AEAA0C [WiiULauncher0EU] moduleMatches = 0x8F7D2702 ; Skip shake initialisation in CView::ProcessShakeNormal 0x2AEA94C = b 0x2AEA9EC [WiiULauncher0JP] moduleMatches = 0x0D395735 ; Skip shake initi...
; A060927: Row sums of triangle A060924 (odd part of bisection of Lucas triangle). ; Submitted by Jon Maiga ; 3,13,65,337,1737,8945,46073,237313,1222345,6296017,32429337,167036065,860364393,4431539313,22825840825,117570661697,605579465737,3119200691985,16066286106713,82753748396513,426245544750505,2195492868179377,1130...
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; ; FILE: asmhelpers.asm ; ; *** NOTE: If you make changes to this file, propagate the changes to ; asmhelpers.s in this directory ; ; ; ================================...
/*========================================================================= Program: ParaView Module: vtkSMSaveAnimationExtractsProxy.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WIT...
; ; Sprite Rendering Routine ; original code by Patrick Davidson (TI 85) ; modified by Stefano Bodrato - Jan 2001 ; ; Generic version (just a bit slow) ; ; ; $Id: putsprite.asm,v 1.9 2016-07-02 09:01:35 dom Exp $ ; IF !__CPU_INTEL__ & !__CPU_GBZ80__ SECTION smc_clib PUBLIC putsprite PUBLIC _putsprite...
; A223711: Number of n X 2 0..1 arrays with row sums and column sums unimodal. ; 4,16,53,155,418,1066,2611,6205,14408,32852,73825,163951,360574,786574,1704095,3670193,7864516,16777432,35651821,75497731,159383834,335544626,704643403,1476395365,3087008128,6442451356,13421773241,27917287895,57982058998,120259084822,249108...
/* * rcdiscover - the network discovery tool for Roboception devices * * Copyright (c) 2017 Roboception GmbH * All rights reserved * * Author: Raphael Schaller * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: *...
; A211562: Number of nonnegative integer arrays of length n+2 with new values 0 upwards introduced in order, and containing the value n-1. ; 5,14,36,81,162,295,499,796,1211,1772,2510,3459,4656,6141,7957,10150,12769,15866,19496,23717,28590,34179,40551,47776,55927,65080,75314,86711,99356,113337,128745,145674,164221,18448...
; A155107: Numbers that are 23 or 30 (mod 53). ; 23,30,76,83,129,136,182,189,235,242,288,295,341,348,394,401,447,454,500,507,553,560,606,613,659,666,712,719,765,772,818,825,871,878,924,931,977,984,1030,1037,1083,1090,1136,1143,1189,1196,1242,1249,1295,1302,1348,1355,1401,1408,1454,1461,1507,1514,1560,1567,1613,1620,166...
#pragma once namespace Unused { // auto_ptr(Deprecated in C++11) is a smart pointer that manages an object obtained // via new expression and deletes that object when auto_ptr // itself is destroyed. It may be used to provide exception safety // for dynamically-allocated objects, for passing ownership of // dynami...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1a5bb, %r14 nop nop nop nop cmp $52073, %rcx mov (%r14), %r11w nop nop sub $54177, %r12 lea addresses_WC_ht+0x1c5cb, %rdx and %rcx, %rcx movups (%rdx), %xmm3 vpextrq $0, %xm...
class Solution { public: bool isPowerOfTwo(int n) { if(n == 1) return true; if(n <= 0) return false; while(n > 1){ if(n % 2 != 0){ return false; } n /= 2; } return true; } }; // class Solution { public:...
; void __CALLEE__ mallinfo_callee(unsigned int *total, unsigned int *largest) ; 12.2006 aralbrec XLIB mallinfo_callee LIB HeapInfo_callee XREF _heap .mallinfo_callee ld hl,_heap ex (sp),hl push hl jp HeapInfo_callee
; Title: Windows Bind Stager (NX, IPv6) ; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003 ; Author: Rapid7, Inc [BITS 32] global _start _start: call LKernel32Base LGetProcAddress: push ebx push ebp push esi push edi mov ebp, [esp + 24] mov eax, [ebp + 0x3c] mov edx, [e...
; A314231: Coordination sequence Gal.5.305.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,11,17,23,27,33,39,45,50,55,61,67,73,77,83,89,95,100,105,111,117,123,127,133,139,145,150,155,161,167,173,177,183,189,195,200,205,211,217,...
/* Boost.MultiIndex test for rank operations. * * Copyright 2003-2015 Joaquin M Lopez Munoz. * 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) * * See http://www.boost.org/libs/multi_index for library home page...
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. default rel %define XMMWORD %define YMMWORD %define ZMMWORD %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif section .text code align=64 EXTERN OPENSSL_ia32cap_P global sha512_...
%ifdef CONFIG { "RegData": { "XMM0": ["0x0", "0x0"], "XMM1": ["0xFE02FE02FE02FE02", "0xFE02FE02FE02FE02"], "XMM2": ["0x7F7F7F7F7F7F7F7F", "0x7F7F7F7F7F7F7F7F"], "XMM3": ["0x7FFF7FFF7FFF7FFF", "0x7FFF7FFF7FFF7FFF"], "XMM4": ["0x057306BC07B808B8", "0xBC53BC0EBAE5BA2E"], "XMM5": ["0xA473A5BCA6B8A...
; A120757: Expansion of x^2*(2+x)/(1-3*x-4*x^2-x^3). ; Submitted by Christian Krause ; 0,2,7,29,117,474,1919,7770,31460,127379,515747,2088217,8455018,34233669,138609296,561217582,2272323599,9200450421,37251863241,150829715006,610697048403,2472661868474,10011603514040,40536155064419 lpb $0 sub $0,1 add $4,1 add $...
MOV [0] 43 MOV [1] 66 MOV [2] 25 MOV [3] 22 MOV [4] 29 JGT [3] [0] [2] DPRINT 157 HALT JGT [4] [0] [1] DPRINT 869 HALT DPRINT 532 HALT
SECTION code_clib SECTION code_z80 PUBLIC __generic_isr_run_callbacks EXTERN l_jphl __generic_isr_run_callbacks: ; run a zero-terminated array of callback functions ; execution of array is terminated early if a callback function sets carry flag ; enter : hl = address of array of callback functions ...
; size_t b_array_push_back(b_array_t *a, int c) SECTION code_adt_b_array PUBLIC b_array_push_back EXTERN b_array_append defc b_array_push_back = b_array_append
; A267522: a(n) = 4*(n + 1)*(n + 2)*(4*n + 3)/3. ; 8,56,176,400,760,1288,2016,2976,4200,5720,7568,9776,12376,15400,18880,22848,27336,32376,38000,44240,51128,58696,66976,76000,85800,96408,107856,120176,133400,147560,162688,178816,195976,214200,233520,253968,275576,298376,322400 mov $2,$0 add $0,2 mov $1,$0 add $2,$0 mu...
#ifndef OPENPOSE_WRAPPER_WRAPPER_HAND_FROM_JSON_TEST_HPP #define OPENPOSE_WRAPPER_WRAPPER_HAND_FROM_JSON_TEST_HPP // Third-party dependencies #include <opencv2/opencv.hpp> // OpenPose dependencies #include <openpose/headers.hpp> namespace op { template<typename TDatum, typename TDatums = std::vector<...
; Let the user input a signed decimal integer ; from the console. Use a finite-state diagram, and ; Display an error message if invalid input is entered. .model small .stack 100h DOS_CHAR_INPUT = 1 ENTER_KEY = 0Dh .data InvalidInputMessage db "Invalid input",0dh,0ah,0 .code extrn Writestring:proc, Crlf:proc, Clrscr:p...
; A248337: 6^n - 4^n. ; 0,2,20,152,1040,6752,42560,263552,1614080,9815552,59417600,358602752,2160005120,12993585152,78095728640,469111242752,2816814940160,16909479575552,101491237191680,609084862103552,3655058928435200,21932552593866752 mov $2,$0 mov $3,1 lpb $2 mul $1,4 sub $2,1 mul $3,6 add $1,$3 lpe mul $1,...
; A169403: Number of reduced words of length n in Coxeter group on 6 generators S_i with relations (S_i)^2 = (S_i S_j)^32 = I. ; 1,6,30,150,750,3750,18750,93750,468750,2343750,11718750,58593750,292968750,1464843750,7324218750,36621093750,183105468750,915527343750,4577636718750,22888183593750,114440917968750,57220458984...
; ; Comment ; ; === STACK SEGMENT === MyStack segment stack DB 64 dup('12345678') MyStack endS ; === DATA SEGMENT === MyData segment ; --- Declare your variables here --- CURSE DB "F",7,"*",7,"*",7,"*",7,7,7,7,"$" MyData endS MyCode segment Assume CS:Mycode,DS:MyData ;Includes go here INCLUDE ...
//================================================================================================= /*! // \file src/mathtest/smatsmatadd/MIbMIb.cpp // \brief Source file for the MIbMIb sparse matrix/sparse matrix addition math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This file...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x14324, %r12 add %r14, %r14 mov (%r12), %r13w nop nop nop nop xor $52515, %rax lea addresses_normal_ht+0x1cea4, %rsi lea addresses_WT_ht+0x3ca4, %rdi nop nop add $8374, %r14 m...
/* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com> Copyright (C) 2009-2011, Stefan Hacker <dd0t@users.sourceforge.net> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -...
// Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD (revised) // license as described in the file LICENSE. #include "baseline_challenger_cb.h" #include "action_score.h" #include "debug_log.h" #include "reductions.h" #include "lea...
;*! ;* \copy ;* Copyright (c) 2009-2013, Cisco Systems ;* 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 abov...
/* Copyright (c), Helios All rights reserved. Distributed under a permissive license. See COPYING.txt for details. */ #include "MainWindow.h" #include "ui_MainWindow.h" #include <QDir> void MainWindow::restore_state(const std::shared_ptr<WindowState> &state){ this->window_state = state; this->window_s...
; A296363: a(1)=0; for n>1, a(n) = 4*n^3 - 3*n^2 - 3*n + 4. ; 0,18,76,200,414,742,1208,1836,2650,3674,4932,6448,8246,10350,12784,15572,18738,22306,26300,30744,35662,41078,47016,53500,60554,68202,76468,85376,94950,105214,116192,127908,140386,153650,167724,182632,198398,215046,232600,251084,270522,290938,312356,334800,35...
template <typename T, typename C> class mcmf { public: static constexpr T eps = (T) 1e-9; struct edge { int from; int to; T c; T...
; A042750: Numerators of continued fraction convergents to sqrt(906). ; Submitted by Jon Maiga ; 30,301,18090,181201,10890150,109082701,6555852210,65667604801,3946612140270,39531789007501,2375853952590330,23798071314910801,1430260132847238390,14326399399787294701,861014224120084920450,8624468640600636499201,51832913266...
/* Copyright (c) DataStax, 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 writing, so...
match ,{ include 'win32a.inc' } match -,{ else include 'selfhost.inc' end match _ equ } format PE large NX console 4.0 entry start include '../version.inc' section '.text' code executable start: call system_init call get_arguments mov bl,al cmp [no_logo],0 jne logo_ok mov esi,_logo xor ecx,ecx ...
; A109106: a(n) = (1/sqrt(5))*((sqrt(5) + 1)*((15 + 5*sqrt(5))/2)^(n-1) + (sqrt(5) - 1)*((15 - 5*sqrt(5))/2)^(n-1)). ; 2,20,250,3250,42500,556250,7281250,95312500,1247656250,16332031250,213789062500,2798535156250,36633300781250,479536132812500,6277209472656250,82169738769531250,1075615844726562500 mul $0,2 add $0,1 se...
incasm "kernel.hdr" ;incasm "kernel.asm" main @loop jsr console.clear$ lda #color.white$ sta console.setcharactercolor.color$ jsr console.setcharactercolor$ lda #<title sta console.writestr.straddress$ lda #>title sta console.writestr.straddress$+1 ...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Stefano Bodrato 19/7/2007 ; ; Wide resolution (WORD based parameters) version by Stefano Bodrato ; ; $Id: w_multipoint.asm,v 1.1 2008/07/17 15:39:56 stefano Exp $ ; ;Usage: multipoint(int vh, int length, struct *pixel) ;pick a vertical or horizon...
; A049711: a(n) = n - prevprime(n). ; 1,1,2,1,2,1,2,3,4,1,2,1,2,3,4,1,2,1,2,3,4,1,2,3,4,5,6,1,2,1,2,3,4,5,6,1,2,3,4,1,2,1,2,3,4,1,2,3,4,5,6,1,2,3,4,5,6,1,2,1,2,3,4,5,6,1,2,3,4,1,2,1,2,3,4,5,6,1,2,3,4,1,2,3,4,5,6,1,2,3,4,5,6 lpb $0 mov $2,$0 seq $2,46666 ; a(n) = n - (smallest prime dividing n). mov $3,$2 min $...
SECTION code_l_sdcc PUBLIC __moduschar EXTERN __divuschar_0 __moduschar: ; mixed 8-bit mod ; ; enter : stack = divisor (unsigned byte), dividend (signed byte), ret ; ; exit : hl = remainder ; de = quotient ld hl,5 call __divuschar_0 ex de,hl ret
/* * Copyright 2021 The Modelbox Project Authors. 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 * * Unless requi...
; A017785: Binomial coefficients C(69,n). ; 1,69,2346,52394,864501,11238513,119877472,1078897248,8361453672,56672074888,340032449328,1823810410032,8815083648488,38650751381832,154603005527328,566877686933536,1913212193400684,5964720367660956,17231414395464984,46252743903616536,115631859759041340,269807672771096460,5886...
; ; Amstrad CPC library ; (CALLER linkage for function pointers) ; ; void __LIB__ cpc_SetInkGphStrM1(char *color, char *valor); ; ; $Id: cpc_SetInkGphStrM1.asm $ ; SECTION code_clib PUBLIC cpc_SetInkGphStrM1 PUBLIC _cpc_SetInkGphStrM1 EXTERN cpc_SetIn...
; A081630: 2-(-3)^n. ; 1,5,-7,29,-79,245,-727,2189,-6559,19685,-59047,177149,-531439,1594325,-4782967,14348909,-43046719,129140165,-387420487,1162261469,-3486784399,10460353205,-31381059607,94143178829,-282429536479,847288609445,-2541865828327,7625597484989,-22876792454959,68630377364885,-205891132094647,61767339628394...
-- ChangeBorderColor.asm -- -- Changes the screen border color on a Commodore 64 as fast as -- possible, cycling through every possible color. -- -- Assembled to memory address $C000, though any free memory location is -- sufficient. Execute with SYS49152 in BASIC, or G $C000 in a machine -- language monitor. -- 1. D...
db 0 ; species ID placeholder db 95, 125, 79, 81, 60, 100 ; hp atk def spd sat sdf db WATER, FLYING ; type db 45 ; catch rate db 214 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 5 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/gyarados/f...
; A271751: Period 10 zigzag sequence; repeat: [0, 1, 2, 3, 4, 5, 4, 3, 2, 1]. ; 0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5 lpb $0 mul $0,9 mod $0,10 lpe mov $1,$0
; A133361: Multiply by 9 and reverse. ; Submitted by Jon Maiga ; 1,9,18,261,9432,88848,236997,3792312,80803143,782822727,3454045407,36680468013,711212421033,7929871190046,41401704886317,358679343516273,7546461904118223,70046073175181976,487736675856414036,4236277072800369834,60582330255639462183,746951557003279042545,5...
; A108514: If n is a power of 2, a(n)=n; otherwise a(n) = (p-1)*n/p where p = smallest odd prime divisor of n. ; 1,2,2,4,4,4,6,8,6,8,10,8,12,12,10,16,16,12,18,16,14,20,22,16,20,24,18,24,28,20,30,32,22,32,28,24,36,36,26,32,40,28,42,40,30,44,46,32,42,40,34,48,52,36,44,48,38,56,58,40,60,60,42,64,52,44,66,64,46,56,70,48,72...
; A220739: Number of ways to reciprocally link elements of an 2 X n array either to themselves or to exactly two horizontal, diagonal and antidiagonal neighbors, without consecutive collinear links. ; 1,2,5,13,32,85,221,578,1513,3961,10368,27145,71065,186050,487085,1275205,3338528,8740381,22882613,59907458,156839761,41...
// Copyright (c) 2012 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 "content/browser/renderer_host/media/audio_sync_reader.h" #include <algorithm> #include "base/command_line.h" #include "base/memory/shared_...
; A053834: Sum of digits of n written in base 14. ; 0,1,2,3,4,5,6,7,8,9,10,11,12,13,1,2,3,4,5,6,7,8,9,10,11,12,13,14,2,3,4,5,6,7,8,9,10,11,12,13,14,15,3,4,5,6,7,8,9,10,11,12,13,14,15,16,4,5,6,7,8,9,10,11,12,13,14,15,16,17,5,6,7,8,9,10,11,12,13,14,15,16,17,18 lpb $0 dif $0,14 sub $0,1 add $1,1 lpe
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ // Implementation of Brotli compressor. #include "./encode.h" #include <algorithm> #include <cstdlib> #include <cstring> #include <limits> #include "...
INCLUDE "macros.asm" INCLUDE "constants.asm" INCLUDE "battle/battle_engine.asm"
TrainerNames: db "YOUNGSTER@" db "BUG CATCHER@" db "LASS@" db "SAILOR@" db "JR.TRAINER♂@" db "JR.TRAINER♀@" db "POKéMANIAC@" db "SUPER NERD@" db "HIKER@" db "BIKER@" db "BURGLAR@" db "ENGINEER@" db "SWIMMER♀@" db "FISHERMAN@" db "SWIMMER♂@" db "CUE BALL@" db "GAMBLER@" db "BEAUTY@" db "PSYCHIC@" db ...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="fd, path, mode, dev"/> <%docstring> Invokes the syscall mknodat. See 'man 2 mknodat' for more information. Arguments: fd(int): fd path(char): path mode(mode_t): mode dev(dev_t): dev </%docstring> ${syscall('SYS_mknodat', fd,...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2014, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC/GEOS MODULE: mainProcess.asm FILE: mainProcess.asm AUTHOR: Gene Anderson, Jun 12, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTOR...
#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...
#include log.asm ; pcall PTEXT, PRINT_CHAR ; pcall PTEXT, PRINT_ASCIIZ ; pcall PTEXT, PRINT_FMT println: mov 0xA, r0 pcall PTEXT, PRINT_CHAR mov lr, pc print_hex: mov r0, r1 shr r1, 28, r0 and r0, 0xf, r0 ldr'b r0 [:print_hex_digits, r0] pcall PTEXT, PRINT_CHAR shr r1, 24, r0 ...
[XCX_BLADE_MORETICKETS] moduleMatches = 0xF882D5CF, 0x30B6E091, 0xAB97DE6B ; 1.0.1E, 1.0.2U, 1.0.1U .origin = codecave .int $mult .int $uncap ; ---------------------------------------------------------------------------- ; WHO : cfs::CfSocialManager::addTradeTicket((int, unsigned int)) ; WHAT : Multiply the reward ...
; ============================================================================= ; Pure64 -- a 64-bit OS loader written in Assembly for x86-64 systems ; Copyright (C) 2008-2016 Return Infinity -- see LICENSE.TXT ; ; INIT SMP ; ============================================================================= init_smp: mov...
# A MIPS program that calculates the first few Fibonacci numbers. .data message: .asciiz "The Fibonacci numbers below 1 million are\n1\n1\n" newline: .asciiz "\n" .text main: la $a0, message # Print out the message using syscall 4 li $v0, 4 syscall li $t0, 1 # Set registers $t0 and $t1 to be the...
// seed 2 lbi r0, 254 // icount 0 slbi r0, 221 // icount 1 lbi r1, 204 // icount 2 slbi r1, 150 // icount 3 lbi r2, 178 // icount 4 slbi r2, 6 // icount 5 lbi r3, 67 // icount 6 slbi r3, 98 // icount 7 lbi r4, 65 // icount 8 slbi r4, 98 // icount 9 lbi r5, 111 // icount 10 slbi r5, 198 // icount 11 lbi r6, 5 // icount ...
// // Created by Yee on 2021/9/9. // // 队列 同样也是操作受限的线性表 // 先进先出 FIFO 队尾插入 队头删除 // 顺序存储结构 的 队列 // 1。顺序队列: 存在假溢出的问题,入队中途执行出队操作会有假溢出的问题,出队留下的空间不能利用 // 2。循环队列:解决了假溢出的问题,但是会浪费一个存储单元 // 队满:(Q.rear+1)%MAXSIZE = Q.front // 对空:Q.front = Q.rear // 当前队列元素个数:(rear + ) // 解决循环队列会浪费一个存储单元的问题 // 方法1: 在结构体定义的时候 int s...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Compute the line coordinates and put into a vector ; Basic concept by Rafael de Oliveira Jannone (calculate_side) ; ; Stefano Bodrato - 13/3/2009 ; ; ; $Id: stencil_add_circle.asm,v 1.6 2016-04-22 20:29:...
#define BOOST_TEST_MODULE MyTest #define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include "pose.h" #include <cmath> #include <iostream> #include "Criteria/criterion.h" #include "mcdmfunction.h" #include "Criteria/criterioncomparator.h" #include <Criteria/sensingtimecriterion.h> #include <Criteria/trave...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x16bde, %r11 and $40089, %r14 movb (%r11), %bl nop nop nop nop nop sub $9265, %rdi lea addresses_WC_ht+0x1545e, %rcx nop nop nop nop nop and $34893, %r8 movb (%rcx), %r13b...
; A168662: a(n) = n^7*(n^5 + 1)/2. ; 0,1,2112,266814,8396800,122109375,1088531136,6921055372,34360786944,141217159725,500005000000,1569223931946,4458068140032,11649073935499,28347008894400,64873254375000,140737622573056,291311323784217,578415996823104,1106657906468950,2048000640000000,3677914656237591,6427502562703552,...
// // Created by mwo on 5/11/15. // #include "MicroCore.h" namespace xmreg { /** * The constructor is interesting, as * m_mempool and m_blockchain_storage depend * on each other. * * So basically m_mempool is initialized with * reference to Blockchain (i.e., Blockchain&) * and m_blockchain_storage is initial...
/* Copyright 2017 The TensorFlow Authors. 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 Unless required by applicable ...
/********************************************************************** * Online Judge : POJ * Problem Title : Yeehaa! * ID : 1799 * Date : 5/20/2009 * Time : 21:36:1 * Computer Name : EVERLASTING-PC ************************************************...
;* * * * * Small-C/Plus z88dk * * * * * ; Version: 16894-223f580fd-20200818 ; ; Reconstructed for z80 Module Assembler ; ; Module compile time: Sat Aug 21 15:22:05 2021 C_LINE 0,"sinf16.c" MODULE sinf16_c INCLUDE "z80_crt0.hdr" C_LINE 0,"math16.h" C_LINE 0,"/home/phillip/Z80/z88dk/lib/config/../..//includ...
; A340745: a(n) is the number of "add the square" iterations required to reach or exceed 1 starting at 1/n. ; 0,2,3,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70 mov $1,$0 lpb $1...
; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : rmouse.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 2021 ; Authors : Fred Bowen ; ; **...
; A142636: Primes congruent to 49 mod 55. ; Submitted by Jamie Morken(s4) ; 269,379,599,709,929,1039,1259,1699,2029,2579,2689,2909,3019,4229,4339,4889,4999,5659,5879,6869,7309,7529,7639,8629,8849,9619,9839,9949,10169,10499,10939,11159,11489,12149,12479,12589,12809,12919,13249,13469,13799,15559,15889,16879,17099,17209,1...
; A192754: Constant term of the reduction by x^2->x+1 of the polynomial p(n,x) defined below in Comments. ; 1,6,12,23,40,68,113,186,304,495,804,1304,2113,3422,5540,8967,14512,23484,38001,61490,99496,160991,260492,421488,681985,1103478,1785468,2888951,4674424,7563380,12237809,19801194,32039008,51840207,83879220,13571943...
; int getchar_unlocked(void) SECTION code_clib SECTION code_stdio PUBLIC getchar_unlocked EXTERN asm_getchar_unlocked defc getchar_unlocked = asm_getchar_unlocked
.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 ld a, b inc a inc a ldff(45), a ld c, 0f xor a, a ldff(0f), a ei .text@1000 lstatint: nop .text@10d7 ld a, 10 ldff(41), a ...
{ 'abc_class': 'AbcFile' , 'minor_version': 16 , 'major_version': 46 , 'int_pool': [ undefined ] , 'uint_pool': [ undefined ] , 'double_pool': [ undefined ] , 'utf8_pool': [ undefined , '' , 'Object' , 'Array' , 'RegExp' , 'print' ...
// // Boost.Process // ~~~~~~~~~~~~~ // // Copyright (c) 2006, 2007 Julio M. Merino Vidal // Copyright (c) 2008, 2009 Boris Schaeling // // 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) // /** * \file boost/process...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <memory> #include <gtest/gtest.h> #include <react/core/ConcreteShadowNode.h> #include <react/core/ShadowNode.h> #include...
/** * @file SerialNumberSignatureOfKnowledge.cpp * * @brief SerialNumberSignatureOfKnowledge class for the Zerocoin library. * * @author Ian Miers, Christina Garman and Matthew Green * @date June 2013 * * @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green * @license This pr...
; A268262: Number of length-(3+1) 0..n arrays with new repeated values introduced in sequential order starting with zero. ; 9,42,143,378,837,1634,2907,4818,7553,11322,16359,22922,31293,41778,54707,70434,89337,111818,138303,169242,205109,246402,293643,347378,408177,476634,553367,639018,734253,839762,956259,1084482,12251...
; A216106: The Wiener index of the tetrameric 1,3-adamantane TA(n) (see the Fath-Tabar et al. reference). ; 96,652,1968,4344,8080,13476,20832,30448,42624,57660,75856,97512,122928,152404,186240,224736,268192,316908,371184,431320,497616,570372,649888,736464,830400,931996,1041552,1159368,1285744,1420980 mov $2,1 mov $3,$...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/kms/model/RetireGrantRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::KMS::Model; using namespace Aws::Utils::Json; using namespace Aw...
; COPYRIGHT (c) 1997 xTech Ltd. All Rights Reserved. ; COPYRIGHT (c) 2002 Excelsior LLC. All Rights Reserved. ; ; DLL initialization stub cpu 386 bits 32 section .text use32 public align=4 public 'CODE' ; stub for "weak extern" global ...
; A132824: Row sums of triangle A132823. ; 1,2,2,4,10,24,54,116,242,496,1006,2028,4074,8168,16358,32740,65506,131040,262110,524252,1048538,2097112,4194262,8388564,16777170,33554384,67108814,134217676,268435402,536870856,1073741766,2147483588,4294967234,8589934528 mov $1,1 lpb $0 sub $0,1 mul $1,2 mov $2,$3 mov...
; A001870: Expansion of (1-x)/(1 - 3*x + x^2)^2. ; 1,5,19,65,210,654,1985,5911,17345,50305,144516,411900,1166209,3283145,9197455,25655489,71293590,197452746,545222465,1501460635,4124739581,11306252545,30928921224,84451726200,230204999425,626528283149,1702696141195,4621144002881,12526171163610,33914091513990,91720834160...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\pmc_bitwiseand.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC _Initialize_BitwiseAnd P...
endif(8) JIP: LABEL0 { align1 1Q }; endif(16) JIP: LABEL0 { align1 1H }; endif(32) JIP: LABEL0 { align1 }; LABEL0:
; A010201: Continued fraction for sqrt(142). ; 11,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1,10,1,22,1 pow $0,2 mul $0,2 mov $1,15 mov $2,12 mov $3,3 mul $3,$0 lpb $0 mov $0,1 mul $2,2 div $3,2 gcd $2,$...
; --COPYRIGHT--,BSD_EX ; Copyright (c) 2012, Texas Instruments Incorporated ; 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 co...
; A063124: a(n) = # { i prime | prime(n) <= i < prime(n)*2 } (prime(n) = A000040, the prime enumeration). ; 2,2,2,3,4,4,5,5,6,7,8,10,10,10,10,12,14,13,14,15,14,16,16,17,20,21,20,20,19,19,24,24,26,26,28,27,29,29,29,29,31,31,33,33,33,33,36,39,39,39,40,40,40,42,43,44,43,43,43,43,43,45,50,51,50,50,55,55,57,56,56,56,58,59,6...