text stringlengths 1 1.05M |
|---|
ViridianCity_h:
db OVERWORLD ; tileset
db VIRIDIAN_CITY_HEIGHT, VIRIDIAN_CITY_WIDTH ; dimensions (y, x)
dw ViridianCityBlocks, ViridianCityTextPointers, ViridianCityScript ; blocks, texts, scripts
db NORTH | SOUTH | WEST ; connections
NORTH_MAP_CONNECTION VIRIDIAN_CITY, ROUTE_2, 5, 0, Route2Blocks
SOUTH_MAP_CONNE... |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc ... |
; Addition of two 8 bit numbers
ORG 0000H ; Starting address of the program
MOV R1,#10H ; First number
MOV R2,#20H ; Second number
MOV A,R1 ; Input first number from R1 to A
MOV B,R2 ; Input second number from R2 to B
ADD A,B ; Add A and B
MOV R3,A ; Store the result in R3
RET
|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "precomp.h"
#include "AttrRow.hpp"
// Routine Description:
// - constructor
// Arguments:
// - cchRowWidth - the length of the default text attribute
// - attr - the default text attribute
// Return Value:
// - constructed... |
/**
*
* Lame ACM wrapper, encode/decode MP3 based RIFF/AVI files in MS Windows
*
* Copyright (c) 2002 Steve Lhomme <steve.lhomme at free.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software... |
; A142245: Expansion of 2*x*(6 + 5*x) / ((1 - x)*(1 - x - x^2)).
; 0,12,34,68,124,214,360,596,978,1596,2596,4214,6832,11068,17922,29012,46956,75990,122968,198980,321970,520972,842964,1363958,2206944,3570924,5777890,9348836,15126748,24475606,39602376,64078004,103680402,167758428,271438852,439197302,710636176,1149833500,... |
/*
Copyright (c) 2016-present Maximus5
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 list of conditions and the follo... |
/*
@printSHORTREAL
@printREAL
@float
*/
.proc @printSHORTREAL
jsr @expandToCARD.SMALL
jmp @printREAL
.endp
.proc @printREAL
stx @sp
lda :STACKORIGIN+STACKWIDTH*3,x
spl
jsr @printMINUS
sta dx+2
mva :STACKORIGIN,x fracpart+2 ; intpart := uvalue shr 8
mva :STACKORIGIN+STACKWIDT... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x424a, %rdx
nop
nop
nop
cmp $21816, %r13
movl $0x61626364, (%rdx)
nop
nop
nop
nop
xor %rdx, %rdx
lea addresses_WC_ht+0x1db96, %rsi
lea addresses_normal_ht+0x2ace, %rdi
nop
nop
and %rbp,... |
; A225491: Maximal frequency depth for multisets over an alphabet of n letters.
; 0,4,5,6,6,6,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
mov $2,2
lpb $0
add $0,$2
mov $1,8
mov $3,14
div $3,$0
mov $0,0
sub $1,$3
lpe
mov $0,$1
|
;
; Copyright (c) 2010 The VP8 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 projec... |
; A048477: a(n) = T(5,n), array T given by A048472.
; 1,7,25,73,193,481,1153,2689,6145,13825,30721,67585,147457,319489,688129,1474561,3145729,6684673,14155777,29884417,62914561,132120577,276824065,578813953,1207959553,2516582401,5234491393,10871635969,22548578305,46707769345,96636764161,199715979265,412316860417,850403... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args=""/>
<%docstring>
Invokes the syscall pause. See 'man 2 pause' for more information.
Arguments:
</%docstring>
${syscall('SYS_pause')}
|
; float __fspoly (const float x, const float d[], uint16_t n)
SECTION code_clib
SECTION code_math
PUBLIC cm32_sccz80_fspoly_callee
EXTERN m32_fspoly_callee
; evaluation of a polynomial function
;
; enter : stack = uint16_t n, float d[], float x, ret
;
; exit : dehl = 32-bit product
; ... |
; uint in_JoyKempston(void)
; 2002 aralbrec
XLIB in_JoyKempston
; exit : HL = F000RLDU active high
; uses : AF,DE,HL
.in_JoyKempston
in a,($1f)
and $1f
ld e,a
ld d,0
ld hl,kemptbl
add hl,de
ld l,(hl)
ld h,d
ret
.kemptbl
defb $00,$08,$04,$0c
defb $02,$0a,$06,$0e
defb $01,$09,$05... |
; ---------------------------------------------------------------------------
; Sprite mappings - rings
; ---------------------------------------------------------------------------
dc.w byte_9FA2-Map_obj25, byte_9FA8-Map_obj25
dc.w byte_9FAE-Map_obj25, byte_9FB4-Map_obj25
dc.w byte_9FBA-Map_obj25, byte_9FC0... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
// Store
lea addresses_PSE+0x1f30, %rdi
clflush (%rdi)
nop
nop
add %rdx, %rdx
mov $0x5152535455565758, %rcx
movq %rcx, (%rdi)
add $20276, %r9
// Faulty Load
l... |
; T2_Blink_MACRO_Enhanced.asm
;Macro magic with embedded Interrupt Vector and Interrupt
; service routine.
; Blink LED on specified port and pin using Timer 2 Overflow Interrupt
; If there is a #define SIM statement then Timer 2 Clock Select = MCU_clk/1
; else Timer 2 Clock Select = MCU_clk/1024
;
; Usage Ex... |
; A339012: Written in factorial base, n ends in a(n) consecutive non-0 digits.
; 0,1,0,2,0,2,0,1,0,3,0,3,0,1,0,3,0,3,0,1,0,3,0,3,0,1,0,2,0,2,0,1,0,4,0,4,0,1,0,4,0,4,0,1,0,4,0,4,0,1,0,2,0,2,0,1,0,4,0,4,0,1,0,4,0,4,0,1,0,4,0,4,0,1,0,2,0,2,0,1,0,4,0,4,0,1,0,4,0,4,0,1,0,4,0,4,0,1,0,2
mov $1,2
mov $3,$0
mov $4,$0
lpb $3
... |
playerPosTableX
.for l=0, l<=8, l=l+1
.byte 38+l*16
.next
playerPosTableY
.for l=0, l<=8, l=l+1
.byte 74+l*16
.next
|
; A327565: Number of transfers of marbles between two sets until the first repetition.
; 2,3,4,3,5,4,4,5,6,4,5,6,5,5,6,5,7,6,5,7,6,5,7,6,6,7,6,6,7,6,6,7,8,6,7,8,6,7,8,6,7,8,6,7,8,6,7,8,7,7,8,7,7,8,7,7,8,7,7,8,7,7,8,7,9,8,7,9,8,7,9,8,7,9,8,7,9,8,7,9
lpb $0
add $1,1
sub $2,$0
mod $2,2
mul $2,2
add $0,$2
div ... |
#include <chrono>
#include <functional>
double measure_time(std::function<void (void)> func_to_measure) {
std::chrono::steady_clock::time_point begin =
std::chrono::steady_clock::now();
for (unsigned int i{ 0 }; i < 100; ++i)
func_to_measure();
std::chrono::steady_clock::time_point end =
... |
/************************************************************************
* $Id$
* Copyright (c) 1997, Fort Gunnison, Inc.
*
* SimpleWin.cp: SimpleWinクラスの実装
*
* Author: Shin'ya Koga (koga@ftgun.co.jp)
* Created: Dec. 10, 1997
* Last update: Dec. 12, 1997
******************************************************... |
; A315631: Coordination sequence Gal.5.68.5 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,6,12,16,20,24,28,32,38,44,50,56,60,64,68,72,76,82,88,94,100,104,108,112,116,120,126,132,138,144,148,152,156,160,164,170,176,182,188,192,196... |
obj/__user_faultreadkernel.out: 文件格式 elf32-i386
Disassembly of section .text:
00800020 <__panic>:
#include <stdio.h>
#include <ulib.h>
#include <error.h>
void
__panic(const char *file, int line, const char *fmt, ...) {
800020: 55 push %ebp
800021: 89 e5 mov %esp,%ebp... |
; A033964: Trajectory of 1 under map n->13n+1 if n odd, n->n/2 if n even
; Submitted by Simon Strandgaard
; 1,14,7,92,46,23,300,150,75,976,488,244,122,61,794,397,5162,2581,33554,16777,218102,109051,1417664,708832,354416,177208,88604,44302,22151,287964,143982,71991,935884,467942
add $0,1
mov $1,$0
mov $0,1
lpb $1
mov... |
; A158249: 256n^2 - 2n.
; 254,1020,2298,4088,6390,9204,12530,16368,20718,25580,30954,36840,43238,50148,57570,65504,73950,82908,92378,102360,112854,123860,135378,147408,159950,173004,186570,200648,215238,230340,245954,262080,278718,295868,313530,331704,350390,369588,389298,409520,430254,451500,473258,495528,518310,54160... |
; A005752: a(n) = n^2 + n*floor(n*tau) - floor(n*tau)^2.
; 0,1,1,5,4,1,9,5,16,11,4,19,11,1,20,9,31,19,5,31,16,45,29,11,44,25,4,41,19,59,36,11,55,29,1,49,20,71,41,9,64,31,89,55,19,81,44,5,71,31,100,59,16,89,45,121,76,29,109
mov $1,$0
pow $0,2
mov $2,$0
lpb $2
sub $0,$1
sub $0,1
sub $2,1
sub $2,$1
add $1,2
lpe... |
; A238908: Number of (n+1) X (3+1) 0..2 arrays with no element equal to all horizontal neighbors or equal to all vertical neighbors, and new values 0..2 introduced in row major order.
; Submitted by Christian Krause
; 54,486,17496,408726,10789686,274834944,7073353350,181499433750,4661259221016,119679993219366,307306448... |
#include "Platform.inc"
radix decimal
udata
global lcdFlags
global lcdContrast
lcdFlags res 1
lcdContrast res 1
LcdContrastDummies code
end
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*
* GCENV.EE.CPP
*
* GCToEEInterface implementation
*
*
*/
#include "gcrefmap.h"
void GCToEEInterface::SuspendEE(SUSPEND_REASON reason)
{
WRAPPER_NO_CONTRACT;
stat... |
; DV3 QXL Hard Disk Hold / Release controller 1998 Tony Tebby
section dv3
xdef hd_hold
xdef hd_release
include 'dev8_dv3_keys'
include 'dev8_dv3_hd_keys'
include 'dev8_keys_sys'
include 'dev8_keys_err'
include 'dev8_mac_assert'
;+++
; This routine is called to take the disk controller
;
; d0 cr p prese... |
// SP = 256
@256
D=A
@SP
M=D
// call Sys.init 0
@$RET$0
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@5
D=A
@0
D=A+D
@SP
D=M-D
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
($RET$0)
// function Sys.init 0
(Sys.init)
... |
#include "ios_build_settings.h"
#include <engine/core/util/PathUtil.h>
#include <engine/core/io/IO.h>
#include <engine/core/main/Engine.h>
#include <thirdparty/pugixml/pugixml.hpp>
#include <QProcess>
#include "ImageHelper.h"
#include <engine/core/main/module.h>
#include <engine/core/io/stream/FileHandleDataStream.h>
... |
; A145849: a(n) = A145812(2n-1).
; 1,9,33,41,129,137,161,169,513,521,545,553,641,649,673,681,2049,2057,2081,2089,2177,2185,2209,2217,2561,2569,2593,2601,2689,2697,2721,2729,8193,8201,8225,8233,8321,8329,8353,8361,8705,8713,8737,8745,8833,8841,8865,8873,10241,10249,10273,10281,10369,10377,10401,10409,10753,10761,10785,1... |
;
; PX-8 routines
; by Stefano Bodrato, 2019
;
; Internal use routine, SLVFLG must be set first.
;
; $Id: subcpu_call.asm $
;
;
; IN: HL = packet descriptor
;
SECTION code_clib
PUBLIC subcpu_call
PUBLIC _subcpu_call
subcpu_call:
_subcpu_call:
ex de,hl ;
ld hl,(1) ; Use WBOOT address to find the first ... |
; Graciously aped from http://nocash.emubase.de/pandocs.htm .
; MBC3
MBC3SRamEnable EQU $0000
MBC3RomBank EQU $2000
MBC3SRamBank EQU $4000
MBC3LatchClock EQU $6000
MBC3RTC EQU $a000
SRAM_DISABLE EQU $00
SRAM_ENABLE EQU $0a
NUM_SRAM_BANKS EQU 4
RTC_S EQU $08 ; Seconds 0-59 (0-3Bh)
RTC_M EQU $09 ; Mi... |
//=================================================================================================
/*!
// \file src/eigen/TMat3TMat3Add.cpp
// \brief Source file for the Eigen 3D transpose matrix/transpose matrix addition kernel
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This file is... |
; =============================================================================
; Ultima Underworld Hacks -- additional character mappings
; -----------------------------------------------------------------------------
; mapScancodeToCharacter scancode, character
%macro mapScancodeToCharacter 2
%define scancode_%[... |
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Oct 06 06:37:32 2018 *
;****************************************************************************... |
#import "64spec/lib/64spec.asm"
#import "../lib/tiles-color-ram-shift.asm"
#import "common/lib/invoke-global.asm"
sfspec: init_spec()
describe("_shiftInterleavedLeft odd")
it("shifts mem left by 1 from [0,0]"); {
c64lib_pushParamW(initialScreenData0)
c64lib_pushParamW(testScreenDa... |
/// \file
// Range v3 library
//
// Copyright Eric Niebler 2014-present
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler... |
// Copyright (c) 2012 The Bitcoin developers
// Copyright (c) 2014 The Inutoshi developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "version.h"
#include <string>
// Name of client reported in the 'version' ... |
;/*
; * FreeRTOS Kernel <DEVELOPMENT BRANCH>
; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * SPDX-License-Identifier: MIT
; *
; * Permission is hereby granted, free of charge, to any person obtaining a copy of
; * this software and associated documentation files (the "Sof... |
;
; 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... |
;-----------------------------------------------------------------------------;
; Author: Michael Schierl (schierlm[at]gmx[dot]de)
; Version: 1.0 (29 December 2012)
;-----------------------------------------------------------------------------;
[BITS 32]
; Input: EBP - Data to decode
; ECX - Data length
... |
_ps: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "user.h"
#include "fcntl.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 ... |
; Copyright Oliver Kowalke 2009.
; 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)
; ---------------------------------------------------------------------------------
; | 0 | 1 ... |
CFG_DAMAGE_MULTIPLYER:
.byte 0x00
EXTERN_DAMAGE_MULTIPLYER:
.byte 0x00
.align 4
Apply_Damage_Multiplier:
li t7, CFG_DAMAGE_MULTIPLYER
lb t7, 0x00(t7)
li t8, EXTERN_DAMAGE_MULTIPLYER
lb t8, 0x00(t8)
add t7, t7, t8
bltz t7, @@DivDamage
li at, 3
blt t7, at, @@MulDamage
no... |
// Copyright (c) 2014-2018 The Bitcoin Core developers
// Copyright (c) 2017 The Raven Core developers
// Copyright (c) 2018 The Liquidcash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "peertablemodel... |
;PhaserX
;by utz 09'2016 * www.irrlichtproject.de
;Sharp MZ-700 port by MooZ 03'2018 * https://blog.blockos.org/
;*******************************************************************************
;include "equates.h"
mix_xor equ #ac00
mix_or equ #b400
mix_and equ #a400
fsid equ #4
fnoise equ #80
noupd1 equ #1... |
ori $1, $0, 15
ori $2, $0, 2
ori $3, $0, 6
ori $4, $0, 6
sw $3, 0($0)
sw $4, 4($0)
sw $3, 8($0)
sw $2, 12($0)
sw $3, 16($0)
sw $2, 20($0)
sw $4, 24($0)
sw $3, 28($0)
sw $1, 32($0)
sw $2, 36($0)
sw $1, 40($0)
sw $4, 44($0)
sw $2, 48($0)
sw $2, 52($0)
sw $2, 56($0)
sw $2, 60($0)
sw $4, 64($0)
sw $4, ... |
;Ascending order
ORG 0000H
mov r3,#0AH ;moving count(n) of array(arr)
dec r3 ;n=n-1
again: mov a,r3
mov r1,a ;storing number of remaining elements(m) in R1
mov dptr,#0D001H ;index(i) pointing at location of start of array
up: movx ... |
#include "stdafx.h"
#include "log.h"
#include "../../core_dispatcher.h"
#include "../../utils/gui_coll_helper.h"
using namespace Ui;
namespace
{
void log(const QString &type, const QString &area, const QString &text);
}
namespace Log
{
void trace(const QString& area, const QString& text)
{
s... |
; namespace DebugStub
; optionally exclude this serial version
; All information relating to our serial usage should be documented in this comment.
; http://wiki.osdev.org/Serial_ports
; We do not use IRQs for debugstub serial. This is becuase DebugStub (DS)
; MUST be:
; - As simple as possible
; - Interact as minimal... |
; A288998: Positions of 0 in A288997; complement of A288999.
; 1,2,4,5,6,8,9,11,12,13,15,16,18,19,21,22,23,25,26,28,29,30,32,33,35,36,38,39,40,42,43,45,46,47,49,50,52,53,54,56,57,59,60,62,63,64,66,67,69,70,71,73,74,76,77,79,80,81,83,84,86,87,88,90,91,93,94,95,97,98,100,101,103,104,105,107,108,110,111,112,114,115,117,11... |
;
; Fast background save
;
; ZX Spectrum version (speeded up with a row table)
;
; $Id: bksave.asm,v 1.2 2016/10/31 07:06:49 stefano Exp $
;
SECTION code_clib
PUBLIC bksave
PUBLIC _bksave
EXTERN zx_rowtab
EXTERN p3_peek
.bksave
._bksave
push ix
ld hl,4
add hl,sp
ld ... |
;
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2019 Broadcom Inc. All rights reserved.
;
;
;Here is an example program for programming the LEDs on the 5605.
;
;The situation is this:
;
; 26 ports (port 0-2... |
; ba_priority_queue_t *
; ba_priority_queue_init(void *p, void *data, size_t capacity, int (*compar)(const void *, const void *))
SECTION code_clib
SECTION code_adt_ba_priority_queue
PUBLIC ba_priority_queue_init
EXTERN asm_ba_priority_queue_init
ba_priority_queue_init:
pop af
pop ix
pop bc
pop de
... |
addi x10, x0, 10
addi x11, x0, -2
addi x12, x0, 34
addi x13, x0, 37
addi x14, x0, 4
sw x10, 0, x0 # memoria[0..3] = 10
sw x13, 4, x0 # memoria[4..7] = 37
amomaxu.w x20, x11, x0
amomaxu.w x21, x12, x14
|
#include "widgets/PianoWidget.hpp"
#include <QPainter>
#include <QScrollBar>
constexpr int KEYINDEX_NULL = -1;
constexpr int N_OCTAVES = 7;
constexpr int N_WHITEKEYS = 7;
constexpr int N_BLACKKEYS = 5;
// IMPORTANT! these widths must match the widths of the key images
constexpr int WKEY_WIDTH = 12;
constexpr int B... |
; A147560: a(n) = 4*A046162(n+1).
; 0,4,16,12,64,100,48,196,256,108,400,484,192,676,784,300,1024,1156,432,1444,1600,588,1936,2116,768,2500,2704,972,3136,3364,1200,3844,4096,1452,4624,4900,1728,5476,5776,2028,6400,6724,2352,7396,7744,2700,8464
mov $1,$0
gcd $0,3
pow $1,2
div $1,$0
mul $1,4
|
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_asinh
EXTERN am48_asinh
defc asm_asinh = am48_asinh
|
%define org_start 7c00h
boot:
org org_start
mov ax, cs
mov ds, ax
mov es, ax
call screenClean
call stringPrint
jmp $
screenClean:
push bp
mov bp, sp
pusha
mov ah, 07h ; tells BIOS to scroll down window
mov al, 00h ; clear entire window
mov bh, 07h ; white on black
mov cx, 00h ; specifies top le... |
;-------------------------------------------------------------------------------
; dabort.asm
;
; Copyright (C) 2009-2016 Texas Instruments Incorporated - www.ti.com
;
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; ar... |
; A045650: Numbers that cannot be expressed as k + floor(log(k)) where k is an integer.
; 3,9,23,58,153,409,1103,2988,8112,22036,59885,162766,442426,1202618,3269032,8886126,24154969,65659987,178482319,485165215,1318815755,3584912868,9744803469,26489122153,72004899362,195729609454
add $0,1
mov $2,1
mov $3,$0
mul $3,5
l... |
; A060161: a(n) = 2^n - 1 + 2*Fibonacci(n-1).
; 1,5,9,19,37,73,143,281,553,1091,2157,4273,8479,16849,33521,66755,133045,265337,529455,1056937,2110681,4216195,8424029,16834529,33647167,67258913,134460513,268828291,537506533,1074770281,2149147727,4297659833,8594291209,17186918339,34371144141,68737931665,137468814175,2749... |
SECTION "Evolutions and Attacks 3", ROMX
EvosAttacksPointers3::
dw CoinpurEvosAttacks
dw KatuEvosAttacks
dw AdbarstorkEvosAttacks
dw PupperonEvosAttacks
dw BipullaEvosAttacks
dw MoibelleEvoAttacks
CoinpurEvosAttacks:
dbbw EVOLVE_HAPPINESS, TR_MORNDAY, MEOWTH
db 0 ; no more evolutions
dbw 1, SCRATCH
dbw 1, G... |
//qbr echo this should print out 1 lines
//qbr echo 1
//nothing done on this line
//qbr echo 2
//qbr echo you should't see this, because a non-comment line exists in the code
//preceding it.
int main(int, char *[])
{
//qbr echo you should't see this
return 0;
}
//qbr echo you should't see this
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x180e4, %rax
nop
nop
nop
nop
inc %r10
movb (%rax), %r15b
nop
nop
nop
inc %rcx
lea addresses_WT_ht+0x1e094, %rsi
dec %rbp
mov $0x6162636465666768, %rcx
movq %rcx, %xmm5
vmovup... |
Origin 4x0000
SEGMENT CodeSegment:
; wb -> ex SR1
ADD R0, R0, 1
ADD R0, R0, 1
AND R1, R1, 0
NOP
NOP
NOP
NOP
NOP
NOP
NOP
; wb -> ex SR2
ADD R1, R1, 5
ADD R2, R0, R1
NOP
NOP
NOP
NOP
NOP
NOP
NOP
HALT:
BRnzp HALT
NOP
NOP
NOP
NOP
NOP
... |
; A013835: a(n) = 5^(5*n + 2).
; 25,78125,244140625,762939453125,2384185791015625,7450580596923828125,23283064365386962890625,72759576141834259033203125,227373675443232059478759765625,710542735760100185871124267578125
mul $0,5
add $0,2
mov $1,5
pow $1,$0
mov $0,$1
|
; A161714: a(n) = 28*n + 1.
; 1,29,57,85,113,141,169,197,225,253,281,309,337,365,393,421,449,477,505,533,561,589,617,645,673,701,729,757,785,813,841,869,897,925,953,981,1009,1037,1065,1093,1121,1149,1177,1205,1233,1261,1289,1317,1345,1373,1401,1429,1457,1485,1513,1541,1569,1597,1625,1653,1681,1709,1737,1765,1793,1821,1... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>fstatfs64(fildes, buf) -> str
Invokes the syscall fstatfs64.
See 'man 2 fstatfs64' for more information.
Arguments:
fildes(int): fildes
buf(statfs64*): buf
Returns:
int
</%docstring>
<%page args="filde... |
; A006325: 4-dimensional analog of centered polygonal numbers.
; 0,0,1,7,26,70,155,301,532,876,1365,2035,2926,4082,5551,7385,9640,12376,15657,19551,24130,29470,35651,42757,50876,60100,70525,82251,95382,110026,126295,144305,164176,186032,210001,236215,264810,295926,329707,366301,405860,448540,494501,543907,596926,653730... |
Route18GateUpstairsObject:
db $a ; border block
db $1 ; warps
db $7, $7, $4, ROUTE_18_GATE_1F
db $2 ; signs
db $2, $1, $2 ; Route18GateUpstairsText2
db $2, $6, $3 ; Route18GateUpstairsText3
db $1 ; objects
object SPRITE_COOK, $4, $2, WALK, $2, $1 ; person
; warp-to
EVENT_DISP ROUTE_18_GATE_2F_WIDTH, $7, $... |
;
; Z88dk Generic Floating Point Math Library
;
;
; $Id: fsub.asm,v 1.1 2008/07/27 21:44:57 aralbrec Exp $:
XLIB fsub
LIB minusfa
LIB fadd
.fsub
call minusfa
jp fadd
|
; A245467: a(n) = ( 4*n^2 - 2*n + 1 - (2*n^2 - 6*n + 1) * (-1)^n )/16.
; 0,0,1,2,3,7,6,15,10,26,15,40,21,57,28,77,36,100,45,126,55,155,66,187,78,222,91,260,105,301,120,345,136,392,153,442,171,495,190,551,210,610,231,672,253,737,276,805,300,876,325,950,351,1027,378,1107,406,1190,435,1276,465,1365,496,1457,528,1552,561,1... |
; A177099: a(n) = 81*n^2 + 2*n.
; 83,328,735,1304,2035,2928,3983,5200,6579,8120,9823,11688,13715,15904,18255,20768,23443,26280,29279,32440,35763,39248,42895,46704,50675,54808,59103,63560,68179,72960,77903,83008,88275,93704,99295,105048,110963,117040,123279,129680,136243,142968,149855,156904,164115,171488,179023,186720,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x32a2, %r10
and %r12, %r12
movw $0x6162, (%r10)
xor $29217, %rbp
lea addresses_WC_ht+0x13f52, %rsi
lea addresses_normal_ht+0xf422, %rdi
nop
nop
nop
nop
inc %rbx
mov $75, %rcx... |
%include "../utils/printf32.asm"
section .data
var_byte db 'A'
var_byte1 db 0x41
var_byte2 db 65
var_word dw 10
var_dword dd 1
var_qword dq 0x0123456789ABCDEF
str: db "salut", 0
str1 db 's', 'a', 'l', 'u', 't', 0
arr dd 0, 1, 2, 3
section .rodata
str2 db "salut", 0
section ... |
; A014682: The Collatz or 3x+1 function: a(n) = n/2 if n is even, otherwise (3n+1)/2.
; 0,2,1,5,2,8,3,11,4,14,5,17,6,20,7,23,8,26,9,29,10,32,11,35,12,38,13,41,14,44,15,47,16,50,17,53,18,56,19,59,20,62,21,65,22,68,23,71,24,74,25,77,26,80,27,83,28,86,29,89,30,92,31,95,32,98,33,101,34,104,35,107,36,110,37,113,38,116,39,11... |
;
; Fast background restore
;
; ZX Spectrum version (speeded up with a row table)
;
; $Id: bkrestore.asm,v 1.5 2016-04-13 21:09:09 dom Exp $
;
SECTION code_clib
PUBLIC bkrestore
PUBLIC _bkrestore
EXTERN zx_rowtab
.bkrestore
._bkrestore
; __FASTCALL__ : sprite ptr in HL
push ix
push hl
pop ix
ld d,... |
// Copyright 2016 National Renewable Energy Laboratory
//
// 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 ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x3347, %rsi
nop
nop
nop
dec %rdi
and $0xffffffffffffffc0, %rsi
movntdqa (%rsi), %xmm7
vpextrq $1, %xmm7, %rax
nop
nop
nop
inc %r14
lea addresses_WT_ht+0x1cc47, %rsi
lea addres... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x14541, %rsi
lea addresses_normal_ht+0x125, %rdi
clflush (%rdi)
nop
nop
nop
nop
sub %rdx, %rdx
mov $28, %rcx
rep movsb
and $17704, %rax
lea addresses_WC_ht+0xd25, %rsi
lea add... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x14d9, %rbx
nop
nop
nop
nop
sub $64944, %rcx
and $0xffffffffffffffc0, %rbx
vmovntdqa (%rbx), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $0, %xmm0, %r13
nop
nop
nop
add %r... |
#include "RigidBody/FineCollision/CollisionPrimitive.h"
using namespace cyclone;
void CollisionPrimitive::CalculateInternals()
{
if (body != nullptr)
{
transform = body->GetTransform() * offset;
}
}
Vector3 CollisionPrimitive::GetAxis(const unsigned index) const
{
return Vector3(transform.M[0... |
;;; Copyright 2020 Tadashi G. Takaoka
;;;
;;; 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 ... |
; A057087: Scaled Chebyshev U-polynomials evaluated at i. Generalized Fibonacci sequence.
; 1,4,20,96,464,2240,10816,52224,252160,1217536,5878784,28385280,137056256,661766144,3195289600,15428222976,74494050304,359689093120,1736732573696,8385686667264,40489676963840,195501454524416,943964525953024,4557863921909760
mov ... |
;===============================================================================
; Copyright 2014-2018 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("Material") co... |
#ruledef test
{
ld {x: u8} => 0x55 @ x
}
ld 0x123 ; error: failed / error: out of range |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H
#include "config/dreamteam3-config.h"
#endif
#include "neta... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x80ac, %rsi
lea addresses_normal_ht+0x13d74, %rdi
nop
nop
cmp %r11, %r11
mov $39, %rcx
rep movsl
nop
nop
dec %rbp
lea addresses_D_ht+0x2b2c, %r14
nop
sub $38555, %r11
and $0xffffffffffff... |
; A061066: a(n) = (prime(n)^2 - 1)/8.
; 1,3,6,15,21,36,45,66,105,120,171,210,231,276,351,435,465,561,630,666,780,861,990,1176,1275,1326,1431,1485,1596,2016,2145,2346,2415,2775,2850,3081,3321,3486,3741,4005,4095,4560,4656,4851,4950,5565,6216,6441,6555,6786,7140,7260,7875,8256,8646,9045,9180,9591,9870,10011,10731,11781,1... |
; A088580: a(n) = 1 + sigma(n).
; Submitted by Christian Krause
; 2,4,5,8,7,13,9,16,14,19,13,29,15,25,25,32,19,40,21,43,33,37,25,61,32,43,41,57,31,73,33,64,49,55,49,92,39,61,57,91,43,97,45,85,79,73,49,125,58,94,73,99,55,121,73,121,81,91,61,169,63,97,105,128,85,145,69,127,97,145,73,196,75,115,125,141,97,169,81,187,122,1... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: loader.asm
AUTHOR: Gene Anderson, Mar 21, 1994
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descrip... |
#include "FrameLib_Prioritise.h"
// Constructor
FrameLib_Prioritise::FrameLib_Prioritise(FrameLib_Context context, const FrameLib_Parameters::Serial *serialisedParameters, FrameLib_Proxy *proxy)
: FrameLib_Processor(context, proxy, &sParamInfo)
{
mParameters.addInt(kNumIns, "num_ins", 2, 0);
mParameters.setC... |
#pragma once
#include "sync.hpp"
#include "resources.hpp"
#include <random>
#include <vector>
#include <functional>
#include <thread>
#include <ncurses.h>
#include <chrono>
#include <ctime>
using namespace std::chrono_literals;
struct IJob
{
const int id;
const std::string name;
const int numOfRequiredCores;
std:... |
// Copyright (C) 2012 National ICT Australia (NICTA)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// ----------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.