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... |
t e m p l a t e < |