text
stringlengths
1
1.05M
_cd: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #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...
/* * Copyright (c) 2018, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
; A168333: a(n) = (14*n + 7*(-1)^n + 1)/4. ; 2,9,9,16,16,23,23,30,30,37,37,44,44,51,51,58,58,65,65,72,72,79,79,86,86,93,93,100,100,107,107,114,114,121,121,128,128,135,135,142,142,149,149,156,156,163,163,170,170,177,177,184,184,191,191,198,198,205,205,212,212,219,219,226,226,233,233,240,240,247,247,254,254,261,261,268,2...
// Copyright 2017 The Fuchsia 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 "src/modular/bin/sessionmgr/agent_runner/agent_runner.h" #include <fuchsia/modular/cpp/fidl.h> #include <fuchsia/sys/cpp/fidl.h> #include <fuchsi...
;*********************************************** ; G-PASCAL COMPILER ; for Ben Eater's breadboard computer ; ; Author: Nick Gammon ; Date: 20 January 2022 ; ; To compile: ; ; vasm6502_oldstyle gpascal.asm -wdc02 -esc -Fbin -o gpascal.bin -dotdir -L gpascal.list ; ; To program EEPROM: ; ; minipro -p AT28C256 -w gpasca...
/* Copyright (c) <2014> <Thomas Mörwald, Vienna University of Technology> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistribut...
segment .data fmt: dq "%lld ",10,0 ffmt: dq "Sum: %lld ",10,0 ppp: dq "Numbers: ",10,0 prr: dq "",10,0 ssfmt: dq "%lld",0 segment .bss a: resq 255 b: resq 2 c: resq 2 d: resq 2 segment .text global main extern printf extern scanf main: push RBP xor rcx, rcx mov [c] , rcx ll: mov rbx , rcx mov [b], rcx xor rax, rax...
%include "debug.asm" section .rodata red: db "RED", 0 orange: db "ORANGE", 0 yellow: db "YELLOW", 0 green: db "GREEN", 0 blue: db "BLUE", 0 indigo: db "INDIGO", 0 violet: db "VIOLET", 0 jump_table: dd label_red - jump_table dd label_orange - jump_table dd label_yellow - jump_table dd label_green - jump_table dd label...
################################################################################ # Dice example: # # > (roll d6) # 5 # > (roll dHIT) # "right leg" # > (attack) # You hit the Orc in the head for 6 damage! #################### (function roll [dice] # Dice rolling function. (if (tuple...
; Functions dealing with VRAM. DMATransfer:: ; Return carry if the transfer is completed. ldh a, [hDMATransfer] and a ret z ; Start transfer ldh [rHDMA5], a ; Execution is halted until the transfer is complete. xor a ldh [hDMATransfer], a scf ret UpdateBGMapBuffer:: ; Copy [hBGMapTileCount] 16x8 tiles fro...
_ls: file format elf32-i386 Disassembly of section .text: 00000000 <main>: close(fd); } 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 push %eb...
; ; 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...
#include "JSONNode.h" #define IMPLEMENT_CTOR(type)\ JSONNode::JSONNode(const json_string & name_t, type value_t) json_nothrow : internal(internalJSONNode::newInternal()){\ internal -> Set(value_t);\ internal -> setname(name_t);\ LIBJSON_CTOR;\ } IMPLEMENT_FOR_ALL_TYPES(IMPLEMENT_CTOR) #ifndef JSON...
processor 6502 include "standard.asm" ORG MEMPOS_STANDARD_SONG include "player_const.asm" include "player_symbols.asm" include "welt4_star1.asm"
################################################################ ## Bundle compilation script for use in ASM68K-based programs ## ################################################################ #define DEBUG #define BUNDLE-ASM68K #file bundle-asm68k-debug/Debugger.asm #include Debugger.asm #endf #file bundle-asm68k...
/*========================================================================= Program: Visualization Toolkit Module: vtkImageFoo.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is d...
; hello64.asm ; ; A simple x86_64 Hello World application that shows how to make system ; calls. ; ; Copyright (C) 2016 Gabriele N. Tornetta <phoenix1987@gmail.com>. All ; rights reserved. ; ; This program is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as ...
; A201219: a(1) = 0; for n>1, a(n) = 1 if n is a power of 2, otherwise a(n) = 2. ; 0,1,2,1,2,2,2,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2...
; A146535: Numerator of (2*n-1)/3. ; 1,1,5,7,3,11,13,5,17,19,7,23,25,9,29,31,11,35,37,13,41,43,15,47,49,17,53,55,19,59,61,21,65,67,23,71,73,25,77,79,27,83,85,29,89,91,31,95,97,33,101,103,35,107,109,37,113,115,39,119,121,41,125,127,43,131,133,45 mov $1,$0 sub $0,1 gcd $0,3 div $1,$0 mul $1,2 add $1,1
#include <boost/lambda/lambda.hpp> #include <iostream> #include <iterator> #include <algorithm> int main() { using namespace boost::lambda; typedef std::istream_iterator<int> in; std::for_each(in(std::cin), in(), std::cout << (_1 * 3) << " "); return 0; }
; A084128: a(n) = 4*a(n-1) + 4*a(n-2), a(0)=1, a(1)=2. ; 1,2,12,56,272,1312,6336,30592,147712,713216,3443712,16627712,80285696,387653632,1871757312,9037643776,43637604352,210700992512,1017354387456,4912221519872,23718303629312,114522100596736,552961616904192,2669934870003712,12891585947631616,62246083270541312,30055067...
; A303814: Generalized 24-gonal (or icositetragonal) numbers: m*(11*m - 10) with m = 0, +1, -1, +2, -2, +3, -3, ... ; 0,1,21,24,64,69,129,136,216,225,325,336,456,469,609,624,784,801,981,1000,1200,1221,1441,1464,1704,1729,1989,2016,2296,2325,2625,2656,2976,3009,3349,3384,3744,3781,4161,4200,4600,4641,5061,5104,5544,5589...
; A176320: Decimal expansion of (15 + sqrt(255))/6. ; Submitted by Jon Maiga ; 5,1,6,1,4,5,3,2,3,7,1,1,1,8,8,5,3,3,3,1,7,8,3,7,4,1,9,6,1,6,3,4,3,5,6,4,0,2,6,1,2,2,4,9,5,0,7,2,9,2,3,7,7,7,8,8,7,2,8,0,6,2,7,4,3,4,3,7,3,2,4,2,0,9,7,9,3,9,0,4,8,7,1,4,1,0,9,3,7,1,8,5,7,0,9,7,3,1,9,8 mov $2,1 mov $3,$0 mul $3,4 lpb $3 mov...
#include "Service.h" Service::Service(const std::vector<Component *> &components) { this->components = components; } Service::~Service() { } std::vector<Component *> & Service::getComponents() { return this->components; }
; A033570: Pentagonal numbers with odd index: a(n) = (2*n+1)*(3*n+1). ; 1,12,35,70,117,176,247,330,425,532,651,782,925,1080,1247,1426,1617,1820,2035,2262,2501,2752,3015,3290,3577,3876,4187,4510,4845,5192,5551,5922,6305,6700,7107,7526,7957,8400,8855,9322,9801,10292,10795,11310,11837,12376,12927,13490,14065,14652,15251,1...
//------------------------------------------------------------------------ // SceneManager // // Created: 2012/12/23 // Author: Carel Boers // // A simple scene manager to manage our models and camera. //------------------------------------------------------------------------ #include "SceneManager.h" #include <algo...
TITLE OUT - Output utilities ;*** ; OUT - Text Output utilities ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; ;****************************************************************************** INCLUDE switch.inc ;Runtime switch file INCLUDE rmacros.inc ;General runtime macros useSeg _DATA ;Uses the Dat...
; Stub for the Philips P2000 family ; ; Stefano Bodrato - 7/4/2014 ; ; $Id: p2000_crt0.asm,v 1.12 2016-07-15 21:03:25 dom Exp $ ; MODULE p2000_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- defc crt0 = 1 INCLUDE "zcc_opt.def" ;-------- ; So...
; Copyright (c) 2009-2014, Berend-Jan "SkyLined" Wever <berendjanwever@gmail.com> ; and Peter Ferrie <peter.ferrie@gmail.com> ; Project homepage: http://code.google.com/p/win-exec-calc-shellcode/ ; All rights reserved. See COPYRIGHT.txt for details. ; Windows x64 null-free shellcode that executes calc.exe. ; Wor...
/// @ref gtx_integer /// @file gtx/integer.hpp /// /// @see core (dependence) /// /// @defgroup gtx_integer GLM_GTX_integer /// @ingroup gtx /// /// Include <gtx/integer.hpp> to use the features of this extension. /// /// Add support for integer for core functions #pragma once // Dependency: #include "../glm.hpp" #in...
; A072229: Witt index of the standard bilinear form <1,1,1,...,1> over the 2-adic rationals. ; 0,0,0,0,1,2,3,4,4,4,4,5,6,7,8,8,8,8,9,10,11,12,12,12,12,13,14,15,16,16,16,16,17,18,19,20,20,20,20,21,22,23,24,24,24,24,25,26,27,28,28,28,28,29,30,31,32,32,32,32,33,34,35,36,36,36,36,37,38,39,40,40,40,40,41,42,43,44,44,44,44,4...
; size_t dtoa(double x, char *buf, uint16_t prec, uint16_t flag) __z88dk_callee SECTION code_clib SECTION code_stdlib PUBLIC _dtoa_callee, l0_dtoa_callee EXTERN dcallee1, asm_dtoa _dtoa_callee: call dcallee1 ; AC' = x pop af pop hl pop de pop bc push af l0_dtoa_callee: pus...
; A091691: (10^(n-1)-1) * (n-10) / 9. ; Submitted by Christian Krause ; 1,0,-8,-77,-666,-5555,-44444,-333333,-2222222,-11111111,0,1111111111,22222222222,333333333333,4444444444444,55555555555555,666666666666666,7777777777777777,88888888888888888,999999999999999999,11111111111111111110,122222222222222222221 mov $1,$0 s...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0 TITLE C:\Users\libit\source\repos\L018\L018\L018.cpp .686P .XMM include listing.inc .model flat INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG5554 DB '0000000000000000', 0aH, 00H ORG $+2 $SG5556 DB '1111111111111111', 0aH,...
; @@@ _TEXT segment public setjmp align 16 setjmp proc ; int setjmp(jmp_buf); ; jmp_buf に rbx, rbp, r12, r14, r15 レジスタを保存 mov qword ptr [rcx], rbx mov qword ptr [rcx + 8 * 1], rsi mov qword ptr [rcx + 8 * 2], rdi mov qword ptr [rcx + 8 * 3], rbp mov qword ptr [rcx + 8 ...
;--- helix display interface library --- SPACE = 32 #bank ".data" _ready: #d8 1 #bank ".instr" init_display: ldi $a 1 je0 .ret ldi $a 0 .ret: st $a _ready ret print_char: jal _display_ready exw 0 2 ret print_int: jal _display_ready exw 0 1 ret clear_display: jal _display_ready exw 0 3 ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE23_Relative_Path_Traversal__char_file_open_44.cpp Label Definition File: CWE23_Relative_Path_Traversal.label.xml Template File: sources-sink-44.tmpl.cpp */ /* * @description * CWE: 23 Relative Path Traversal * BadSource: file Read input from a file * GoodSou...
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosPeekQueue DOS wrapper ; ; (c) osFree Project 2022, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushe...
;----------------------------------------------------------------------------- ; Copyright (c) 2013 GarageGames, LLC ; ; 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, inc...
default rel section .rodata black: db "black", 0 brown: db "brown", 0 red: db "red", 0 orange: db "orange", 0 yellow: db "yellow", 0 green: db "green", 0 blue: db "blue", 0 violet: db "violet", 0 grey: db "grey", 0 white: db "white", 0 color_array: dq black dq brown dq red dq orange dq yellow dq green dq blue dq viol...
; A133602: The matrix-vector product A133080 * A000108. ; Submitted by Jamie Morken(w1) ; 1,2,2,7,14,56,132,561,1430,6292,16796,75582,208012,950912,2674440,12369285,35357670,165002460,477638700,2244901890,6564120420,31030387440,91482563640,434542177290,1289904147324,6151850548776 mov $3,$0 mod $0,2 mov $2,$0 add $2,1 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x12aaa, %rsi lea addresses_A_ht+0xfd2a, %rdi clflush (%rsi) clflush (%rdi) nop nop nop cmp $58032, %r10 mov $18, %rcx rep movsq nop nop nop cmp %rax, %rax lea addresses_WC_ht+0x1ab0e, %...
;Copyright (c) 2013, Daniel Lopez All rights reserved. ;Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ;Redistributions of source code must retain the above copyright notice, this list of conditions and the following discl...
/* * GUIView.cpp * * Copyright (C) 2018 by Universitaet Stuttgart (VIS). * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "GUIView.h" using namespace megamol; using namespace megamol::gui; GUIView::GUIView() : core::view::AbstractView() , overrideCall(nullptr) , render_view_slot("renderv...
// Show Timer in Castle origin 0x09DF18 base 0x802E2F18 nop // 812E2F18 2400
; A052206: Partial sums of A050405. ; 1,16,100,408,1290,3432,8052,17160,33891,62920,110968,187408,304980,480624,736440,1100784,1609509,2307360,3249532,4503400,6150430,8288280,11033100,14522040,18915975 lpb $0,1 mov $1,$0 cal $1,50405 ; Partial sums of A051879. sub $0,1 add $2,$1 add $1,$2 mov $2,$1 lpe div...
mov cx, 0 calc_len: cmp byte [bx], 0 je end_calc inc bx inc cx jmp calc_len end_calc: ret
; A170091: Number of reduced words of length n in Coxeter group on 34 generators S_i with relations (S_i)^2 = (S_i S_j)^37 = I. ; 1,34,1122,37026,1221858,40321314,1330603362,43909910946,1449027061218,47817893020194,1577990469666402,52073685498991266,1718431621466711778,56708243508401488674,1871372035777249126242,617552...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x14d9b, %r15 nop sub %rdx, %rdx vmovups (%r15), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $0, %xmm3, %r13 add $7125, %r9 lea addresses_D_ht+0x9f1b, %...
org 0 mov A,#0h mov A,#0ffh mov B,#0fh mov R0,#0f0h mov A,#15 mov A,#10101010b mov A,#HIGH(0fh) mov B,#LOW(0fh) mov A,#HIGH(65535) mov B,#low(65535) ;mov A,#(255 - 250) ;mov A,#high(255-240) ;mov B,#low(255-240) mov A,#'A' mov B,#'B' end
TinTower2F_MapScripts: db 0 ; scene scripts db 0 ; callbacks TinTower2F_MapEvents: db 0, 0 ; filler db 2 ; warp events warp_event 10, 14, TIN_TOWER_3F, 1 warp_event 10, 2, TIN_TOWER_1F, 3 db 0 ; coord events db 0 ; bg events db 0 ; object events
db DEX_VICTREEBEL ; pokedex id db 80 ; base hp db 105 ; base attack db 65 ; base defense db 70 ; base speed db 100 ; base special db GRASS ; species type 1 db POISON ; species type 2 db 45 ; catch rate db 191 ; base exp yield INCBIN "pic/bmon/victreebel.pic",0,1 ; 77, sprite dimensions dw VictreebelPicFront dw Victreeb...
; A277636: Number of 3 X 3 matrices having all elements in {0,...,n} with determinant = permanent. ; 1,343,6859,50653,226981,753571,2048383,4826809,10218313,19902511,36264691,62570773,103161709,163667323,251239591,374805361,545338513,776151559,1083206683,1485446221,2005142581,2668267603,3504881359,4549540393,5841725401...
#include "manager.h" #include <algorithm> #include <unistd.h> #include "critical_loop.h" #include "stat.h" #include "core/constants.h" #include "util/log.h" namespace cpu { CpuResourceManager::CpuResourceManager(const core::Options &options) : ResourceManager(options), jiffy_ms_(cpu::GetJiffyMillisecond...
/* * Copyright Andrey Semashev 2007 - 2015. * 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 global_logger_storage.hpp * \author Andrey Semashev * \date 21.04.2008 * ...
title os2ilck.asm .486 CODE32 segment dword use32 public 'CODE' CODE32 ends DATA32 segment dword use32 public 'DATA' DATA32 ends DGROUP group DATA32 assume cs:FLAT, ds:FLAT, ss:FLAT, es:FLAT CODE32 segment align 04h os2InterlockedCompareExchange proc mov ecx, [esp+4] mov edx, [esp+8] ...
.equ MAILBOX_BASE, 0x2000B880 .equ MAILBOX_STATUS, #(MAILBOX_BASE + 0x18) .equ MAILBOX_WRITE, #(MAILBOX_BASE + 0x20) .equ FRAMEBUFFER, #1 .equ FULL, 0x80000000 .equ EMPTY, 0x40000000 .equ LEVEL, 0x40000000 .text globl _start _start: ldr r0, =MAILBOX_WRITE bl write_mailbox block_until_mailbox_writable: push {r0...
INCLUDE "constants/hardware.inc" INCLUDE "constants/engine.inc" SECTION "Null Pointer", ROM0[$0000] ; Don't use this unless the code responsible for jumping to the pointer ; checks for this! ; The only parts of the game that do are the ActorsUpdate function when ; calling an actor's update routine and TransitionUpdat...
; ;-------------------------------- ; BUZZKICK ; ------------------------------ ;#define defb db ;#define defw dw ;#define db db ;#define dw dw ;#define end end ;#define org org ;#define DEFB db ;#define DEFW dw ;#define DB db ;#define DW dw ;#define END end ;#define ORG org ;#define equ equ ;#de...
#ifndef _w32_gdi_AtomProperty_hpp__ #define _w32_gdi_AtomProperty_hpp__ // Copyright (c) 2009-2012, Andre Caron (andre.l.caron@gmail.com) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: /...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="addr, length"/> <%docstring> Invokes the syscall munmap. See 'man 2 munmap' for more information. Arguments: addr(void): addr len(size_t): len </%docstring> ${syscall('SYS_munmap', addr, length)}
_ps: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "fcntl.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp cps(); 6: e8 fe 02 00 00 call ...
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "aboutdialog.h" #include "ui_aboutdialog.h" #include "clientmodel.h" #include "clientversion.h" // Copyright year (...
// This source file is part of the polarphp.org open source project // // Copyright (c) 2017 - 2018 polarphp software foundation // Copyright (c) 2017 - 2018 zzu_softboy <zzu_softboy@163.com> // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://polarphp.org/LICENSE.txt for license info...
IF !(__page_zero_present) SECTION code_crt_init XOR A ; Zero Accumulator ; Clear Refresh Control Reg (RCR) OUT0 (RCR),A ; DRAM Refresh Enable (0 Disabled) ; Clear INT/TRAP Control Register (ITC) OUT0 (I...
#include "concurrencpp/concurrencpp.h" #include <iostream> void test_worker_thread_executor(); void test_thread_pool_executor(); void test_thread_executor(); void test_manual_executor(); int main() { std::cout << "concurrencpp::worker_thread_executor" << std::endl; test_worker_thread_executor(); std::cou...
; ; ; ZX Maths Routines ; ; 21/03/03 - Stefano Bodrato ; ; ; $Id: tanh.asm,v 1.2 2009/06/22 21:44:17 dom Exp $ ; ;double tanh(double) ; e = exp(x) ; ; return (e-1.0/e)/(e+1.0/e) ; IF FORzx INCLUDE "zxfp.def" ELSE INCLUDE "81fp.def" ENDIF XLIB tanh LIB fset...
; A179278: Largest nonprime integer not less than n. ; Submitted by Christian Krause ; 1,1,1,4,4,6,6,8,9,10,10,12,12,14,15,16,16,18,18,20,21,22,22,24,25,26,27,28,28,30,30,32,33,34,35,36,36,38,39,40,40,42,42,44,45,46,46,48,49,50,51,52,52,54,55,56,57,58,58,60,60,62,63,64,65,66,66,68,69,70,70,72 lpb $0 add $1,2 mov $...
SFX_Ball_Toss_Ch5: duty_cycle 2 pitch_sweep 2, -7 square_note 15, 15, 2, 1920 sound_ret SFX_Ball_Toss_Ch6: duty_cycle 2 square_note 15, 12, 2, 1922 sound_ret
; A314671: Coordination sequence Gal.5.95.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. ; Submitted by Jon Maiga ; 1,5,9,13,17,21,25,29,33,38,43,47,51,55,59,63,67,71,76,81,85,89,93,97,101,105,109,114,119,123,127,131,135,139,143,147...
; A266377: Triangle read by rows giving successive states of cellular automaton generated by "Rule 21" initiated with a single ON (black) cell. ; 1,0,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,...
; A140205: Partial sums of A140085. ; 0,1,2,4,5,7,9,12,12,13,14,16,17,19,21,24,24,25,26,28,29,31,33,36,36,37,38,40,41,43,45,48,48,49,50,52,53,55,57,60,60,61,62,64,65,67,69,72,72,73,74,76,77,79,81,84,84,85,86,88,89,91,93,96,96,97,98,100,101,103,105,108 mov $10,$0 mov $12,$0 lpb $12 clr $0,10 mov $0,$10 sub $12,1 ...
; A061349: Sum of antidiagonals of A060736. ; 0,1,6,17,40,75,130,203,304,429,590,781,1016,1287,1610,1975,2400,2873,3414,4009,4680,5411,6226,7107,8080,9125,10270,11493,12824,14239,15770,17391,19136,20977,22950,25025,27240,29563,32034,34619,37360,40221 mov $2,$0 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 sub $0,$2 mov ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x14da1, %rsi nop nop nop nop nop xor $17989, %rdx movw $0x6162, (%rsi) nop nop nop nop cmp %rsi, %rsi lea addresses_D_ht+0x7da1, %r10 nop nop sub %rbx, %rbx vmov...
; ;================================================================================================== ; UNA STANDARD CONFIGURATION ;================================================================================================== ; ; THE COMPLETE SET OF DEFAULT CONFIGURATION SETTINGS FOR THIS PLATFORM ARE FOUND...
%define MOD_BITMAP ; module: Bitmap %include "lib/bitmap.inc" %include "defs/common.inc" %ifdef TEST_BITMAP %include "debug/debug.inc" %endif ; TEST_BITMAP [section .text] [bits 64] [global BitmapBitSet] BitmapBitSet: push rax push rcx push rdx ; TODO: pointer check ; TODO: bounds check ; Get the offse...
; A080148: Positions of primes of the form 4*k+3 (A002145) among all primes (A000040). ; 2,4,5,8,9,11,14,15,17,19,20,22,23,27,28,31,32,34,36,38,39,41,43,46,47,48,49,52,54,56,58,61,63,64,67,69,72,73,75,76,81,83,85,86,90,91,92,93,94,95,96,99,101,103,105,107,109,111,114,115,117,118,120,124,125,128,129,131,132,133,138,141,...
; A161199: Numerators in expansion of (1-x)^(-5/2). ; 1,5,35,105,1155,3003,15015,36465,692835,1616615,7436429,16900975,152108775,339319575,1502700975,3305942145,115707975075,251835004575,1091285019825,2354878200675,20251952525805,43397041126725,185423721177825,395033145117975,6715563467005575,14236994550051819,60233438...
db 0 ; 283 DEX NO db 40, 30, 32, 65, 50, 52 ; hp atk def spd sat sdf db BUG, WATER ; type db 200 ; catch rate db 63 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 15 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/hoenn/surskit/front.dime...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x11f71, %rsi lea addresses_D_ht+0xea79, %rdi nop nop nop nop nop cmp $17562, %rbp mov $50, %rcx rep movsb add %rdi, %rdi lea addresses_WT_ht+0x14991, %rbx nop nop inc %r10 movl $0x6162...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG5322 DB 'Hello World!', 0aH, 00H ORG $+2 $SG5323 DB '%d', 0aH, 00H CONST ENDS PUBLIC __local_stdio_printf_options PUBLIC _vfprintf_l PUBLIC printf PUBLIC ?f@@YAH...
// ********************************************************************************** // // BSD License. // This file is part of an Otsu implementation. // // Copyright (c) 2017, Bruno Keymolen, email: bruno.keymolen@gmail.com // All rights reserved. // // Redistribution and use in source and binary forms, with or with...
// Конструктор Z80Spectrum::Z80Spectrum() { #ifndef NO_SDL sdl_screen = NULL; #endif width = 320*3; height = 240*3; sdl_enable = 1; first_sta = 1; auto_keyb = 0; frame_id = 0; diff_prev_frame = 1; // Первый кадр все...
; A051673: Cubic star numbers: a(n) = n^3 + 4*Sum_{i=0..n-1} i^2. ; 0,1,12,47,120,245,436,707,1072,1545,2140,2871,3752,4797,6020,7435,9056,10897,12972,15295,17880,20741,23892,27347,31120,35225,39676,44487,49672,55245,61220,67611,74432,81697,89420,97615,106296,115477,125172,135395,146160,157481,169372,181847,194920,2086...
copyright zengfr site:http://github.com/zengfr/romhack 03DB86 move.b #$1, ($95,A6) [boss+9A, boss+9C] 03DD02 move.l A0, ($9a,A6) [boss+4] 03DD06 bra $40b46 [boss+9A, boss+9C] copyright zengfr site:http://github.com/zengfr/romhack
; A211955: Triangle of coefficients of a polynomial sequence related to the Morgan-Voyce polynomials A085478. ; Submitted by Jon Maiga ; 1,1,1,1,3,2,1,6,10,4,1,10,30,28,8,1,15,70,112,72,16,1,21,140,336,360,176,32,1,28,252,840,1320,1056,416,64,1,36,420,1848,3960,4576,2912,960,128,1,45,660,3696,10296,16016,14560,7680,217...
; A327916: Triangle T(k, n) read by rows: Array A(k, n) = 2^k*(k + 1+ n), k >= 0, n >= 0, read by antidiagonals upwards. ; Submitted by Jon Maiga ; 1,4,3,12,8,5,32,20,12,7,80,48,28,16,9,192,112,64,36,20,11,448,256,144,80,44,24,13,1024,576,320,176,96,52,28,15,2304,1280,704,384,208,112,60,32,17,5120,2816,1536,832,448,240...
; A303812: Generalized 28-gonal (or icosioctagonal) numbers: m*(13*m - 12) with m = 0, +1, -1, +2, -2, +3, -3, ... ; 0,1,25,28,76,81,153,160,256,265,385,396,540,553,721,736,928,945,1161,1180,1420,1441,1705,1728,2016,2041,2353,2380,2716,2745,3105,3136,3520,3553,3961,3996,4428,4465,4921,4960,5440,5481,5985,6028,6556,6601...
setrepeat 2 frame 0, 06 frame 4, 06 dorepeat 1 endanim
#include "configuration.h" #include <inipp.h> #include <fstream> #include "logging.h" namespace dll_loader { namespace fs = std::filesystem; // LoaderConfiguration bool LoaderConfiguration::LoadFromFile(const fs::path& configuration_path) { std::ifstream is(configuration_path); if (!is.is_open()) { LOG("...
#ifndef SPROUT_RANGE_ALGORITHM_SET_INTERSECTION_HPP #define SPROUT_RANGE_ALGORITHM_SET_INTERSECTION_HPP #include <sprout/config.hpp> #include <sprout/range/algorithm/fixed/set_intersection.hpp> #include <sprout/range/algorithm/fit/set_intersection.hpp> #endif // #ifndef SPROUT_RANGE_ALGORITHM_SET_INTERSECTION_...
; A179545: The sum of the elements within a jump in a Sieve of Eratosthenes table. ; 3,9,30,63,165,234,408,513,759,1218,1395,1998,2460,2709,3243,4134,5133,5490,6633,7455,7884,9243,10209,11748,13968,15150,15759,17013,17658,18984,24003,25545,27948,28773,33078,33975,36738,39609,41583,44634,47793,48870,54435,55584,57918,59...
; A133356: a(n)=2a(n-1)+16a(n-2) for n>1, a(0)=1, a(1)=1 . ; 1,1,18,52,392,1616,9504,44864,241792,1201408,6271488,31765504,163874816,835997696,4293992448,21963948032,112631775232,576686718976,2955481841664,15137951186944,77563611840512,397334442672128,2035686674792448,10428724432338944,53428435661357056,273716462240137...
#ifndef OMG_DDS_SUB_COND_QUERY_CONDITION_HPP_ #define OMG_DDS_SUB_COND_QUERY_CONDITION_HPP_ /* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Corp. * Copyright 2010, Real-Time Innovations, Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); ...
*= $1300 ;.D X-XFER 1300 JMP SENDFIL JMP RECVCHK JMP SENDFIL JMP RECVCRC PRINT2 NOP ;OPEN1,8,15,"S0:X-XFER 1300,ML1300X":CLOSE1:SAVE"ML1300X",8:STOP ;********** ;CRC TABLES ;********** CRCLSB BYTE 0,33,66,99,132,165,198,231 BYTE 8,41,74,107,1...
; A055377: a(n) = largest prime <= n/2. ; 2,2,3,3,3,3,5,5,5,5,7,7,7,7,7,7,7,7,11,11,11,11,13,13,13,13,13,13,13,13,17,17,17,17,19,19,19,19,19,19,19,19,23,23,23,23,23,23,23,23,23,23,23,23,29,29,29,29,31,31,31,31,31,31,31,31,31,31,31,31,37,37,37,37,37,37,37,37,41,41,41,41,43,43,43,43,43,43,43,43,47,47,47,47,47,47,47,47,47...
[bits 32] [section .text] ; Bad 8042 CPU reset / reboot code [global reboot_8042] reboot_8042: in al, 0x64 test al, 00000010b jne reboot_8042 mov al, 0xFE out 0x64, al
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="request, vararg"/> <%docstring> Invokes the syscall ptrace. See 'man 2 ptrace' for more information. Arguments: request(ptrace_request): request vararg(int): vararg </%docstring> ${syscall('SYS_ptrace', request, vararg)}
SECTION code_clib PUBLIC generic_console_vpeek EXTERN __sv8000_mode EXTERN generic_console_text_xypos EXTERN vpeek_MODE1 INCLUDE "target/sv8000/def/sv8000.def" ;Entry: c = x, ; b = y ; e = rawmode ;Exit: nc = success ; a = character, ; c = failure generic_console_vpeek:...
bits 32 pinsrw mm0,eax,0 pinsrw mm1,si,0 pinsrw mm2,[ecx],0 pinsrw mm3,word [ecx],0 pinsrb xmm0,eax,0 pinsrb xmm1,sil,0 ; pinsrb xmm1,bh,0 pinsrb xmm2,[ecx],0 pinsrb xmm3,byte [ecx],0 pinsrw xmm0,eax,0 pinsrw xmm1,si,0 pinsrw xmm2,[ecx],0 pinsrw xmm3,word [ecx],0 pinsrd xmm0,eax,0 ...