text
stringlengths
1
1.05M
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 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 %ebp ...
#include "GameLayer.h" #include "AppDelegate.h" GameLayer::GameLayer(){} GameLayer::~GameLayer(){} bool GameLayer::init(){ if(Layer::init()) { //get the origin point of the X-Y axis, and the visiable size of the screen Size visiableSize = Director::getInstance()->getVisibleSize(); Point origin = Director::get...
#ifndef __SQUARED_DIFFERENCE_HPP__ #define __SQUARED_DIFFERENCE_HPP__ #include "operator.hpp" namespace TEngine { class SquaredDifference : public OperatorNoParam<SquaredDifference> { public: SquaredDifference() { name_ = "SquaredDifference"; } SquaredDifference(const SquaredDifference& src) ...
/* Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5 Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> */ /* DO NOT EDIT THIS FILE - the content was created using a source code generator */ #include "QFontDialogSlots.h" QFontDialogSlots::QFontDialog...
SECTION "Flag routines", ROM0 ; Get flag with ID de in carry ; Format : XFFF FFFF FFFF FFFF (F = flag ID bit, X is ignored) ; Flags are grouped by eight in a byte, of course ; Returns : ; - B = Prev WRAM bank | $ ; - C = 0 ; - A = Copy of B ; - D = [hl] rotated E times ; - E = number of times D has been ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x547d, %rsi lea addresses_D_ht+0x104fd, %rdi nop nop nop and $12308, %r13 mov $114, %rcx rep movsl inc %r12 lea addresses_D_ht+0x69fd, %rsi lea addresses_A_ht+0x17c9d, %rdi c...
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild #include "dns_packet.h" dns_packet_t::dns_packet_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, dns_packet_t* p__root) : kaitai::kstruct(p__io) { m__parent = p__parent; m__root = this; m_flags = null...
db 0 ; species ID placeholder db 30, 60, 45, 20, 35, 45 ; hp atk def spd sat sdf db BUG, GRASS ; type db 190 ; catch rate db 70 ; base exp db TINYMUSHROOM, BIG_MUSHROOM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/paramite/front.dimensions" db GROWTH_ME...
/**************************************************************************** * Copyright (C) from 2009 to Present EPAM Systems. * * This file is part of Indigo toolkit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
; External code can call print, print_newline or print_with_newline ; String args should be passed in bx print: pusha jmp print_ascii_start print_with_newline: pusha call print call print_newline popa ret ; while (str[x] != 0) { ; print(str[x]); ; x++; ; } ; bx holds the base address...
#pragma once #include "task.hpp" /** @file flow_builder.hpp @brief flow builder include file */ namespace tf { /** @class FlowBuilder @brief building methods of a task dependency graph */ class FlowBuilder { friend class Executor; public: /** @brief creates a static task @tparam C ca...
; A158329: 484n^2 - 2n. ; 482,1932,4350,7736,12090,17412,23702,30960,39186,48380,58542,69672,81770,94836,108870,123872,139842,156780,174686,193560,213402,234212,255990,278736,302450,327132,352782,379400,406986,435540,465062,495552,527010,559436,592830,627192,662522,698820,736086,774320,813522,853692,894830,936936,98001...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 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 "util.h" #include "sync.h" #include "strlcpy.h" #include "version.h" #inc...
; A165479: a(n) = Least i in range [A165478(n),A165478(n+1)] for which abs(A165477(i)) gets the maximum value in that range. ; 43690,131070,174761,262141,305832,393212,436903,524283,567974,655354,699045,786425,830116,917496,961187,1048567,1092258,1179638,1223329,1310709,1354400,1441780,1485471,1572851,1616542,1703922 ...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 73 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %54 OpExecutionMode %4 OriginUp...
start: mov eax, 1 mov ebx, 0 mov ecx, 1 loop: add eax, ebx add ebx, eax prn eax prn ebx inc ecx cmp ecx, 15 je end cmp eax, 0 jl end cmp ebx, 0 jg loop end:
;; NextZXOS dot command to test functionality of GetZ80NOpcodeSize ;; ;; © Peter Helcmanovsky 2020, license: https://opensource.org/licenses/MIT ; switch sjasmplus to correct syntax variant OPT reset --zxnext --syntax=abfw IFNDEF snafile ; dot command is raw binary targetting $2000 ORG ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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...
\ -*- mode:beebasm -*- \ ****************************************************************** \ * SPECIAL FX \ ****************************************************************** SLOT_SPECIAL_FX = SLOT_BANK0 ; A = next screen buffer HI ; X = display screen buffer HI ; Y = prev screen buffer HI .prepare_static { sta ...
/* Copyright (C) Vinicius Mesquita - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * Written by Vinicius M. de Pinho <viniciusmesquita@poli.ufrj.br> * September 2016 * * Electronic and Computing Engineering Department (DEL) * Polytec...
; load 'dh' sectors from drive 'dl' into ES:BX disk_load: pusha ; reading from disk requires setting specific values in all registers ; so we will overwrite our input parameters from 'dx'. Let's save it ; to the stack for later use. push dx mov ah, 0x02 ; ah <- int 0x13 function. 0x02 =...
; ; Copyright (c) 2016, Alliance for Open Media. All rights reserved ; ; This source code is subject to the terms of the BSD 2 Clause License and ; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License ; was not distributed with this source code in the LICENSE file, you can ; obtain it at www.aome...
; A298473: a(n) = n * lambda(n) * 2^omega(n) for n >= 1. ; Submitted by Christian Krause ; 1,-4,-6,8,-10,24,-14,-16,18,40,-22,-48,-26,56,60,32,-34,-72,-38,-80,84,88,-46,96,50,104,-54,-112,-58,-240,-62,-64,132,136,140,144,-74,152,156,160,-82,-336,-86,-176,-180,184,-94,-192,98,-200,204,-208,-106,216,220,224,228,232,-118,...
BITS 64 GLOBAL _start _start: ;stack frame push rbp mov rbp, rsp sub rsp, 0x200 ;lets print message: rdi and rdx already set! print: mov rdi, 1 mov rsi, msg1 mov rdx, 0x27 mov rax, 1 syscall ;now read input 1 byte at a time: mov rsi, rsp read: mov rax, 0 mov r10, rsp add r10, 0x200 mov rdi, 0 mov rdx, 1 syscall ;co...
; A330357: a(n) = (2*n^2 + 9 - (-1)^n)/4. ; 2,3,4,7,10,15,20,27,34,43,52,63,74,87,100,115,130,147,164,183,202,223,244,267,290,315,340,367,394,423,452,483,514,547,580,615,650,687,724,763,802,843,884,927,970,1015,1060,1107,1154,1203,1252,1303,1354,1407 pow $0,2 add $0,5 div $0,2
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * 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 a...
;-------------------------------------------------------------------------- ; divunsigned.s ; ; Copyright (C) 2000-2010, Michael Hope, Philipp Klaus Krause, Marco Bodrato ; ; This library is free software; you can redistribute it and/or modify it ; under the terms of the GNU General Public License as published by t...
/* * Copyright 2019-2020 Douglas Kaip * * 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 t...
/* * 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 "watchman/Errors.h" #include "watchman/InMemoryView.h" #include "watchman/watcher/Watcher.h" #include "watchman/watchman_r...
#include "platforms.inc" #include "defines.inc" #include "keys.inc" #include "kernelmem.inc" #include "constants.asm" #include "00.sym" .org 0x4000 #include "crypto.asm" #include "time.asm" #include "compression.asm" #include "sort.asm" #include "graphics.asm" #include "strings.asm" .echo "Bytes remaining on page 02...
test bl, 0x07 ; sum of odd numbers in the array. ;mov al, [10] ;enter 10, 20 ;mov dx, bx ;mov [ds:si], dx ;shr byte [bp], cl ;inc ax ;inc cx ;inc dx ;inc bx ;inc sp ;inc bp ;inc si ;inc di ;dec ax ;dec cx ;dec dx ;dec bx ;dec sp ;dec bp ...
// Copyright (c) 2009-2012 Era Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <fstream> #include <iostream> #include "base58.h" #include "init.h" // for pwalletMain #include "rpcserver.h" #include "ui_i...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x2e59, %rdi clflush (%rdi) and $23658, %r14 movw $0x6162, (%rdi) nop nop nop cmp $3167, %rsi lea addresses_A_ht+0xc5c5, %rsi lea addresses_D_ht+0x1edf9, %rdi nop xor $18658, %r12 mov $...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 73 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %54 OpExecutionMode %4 OriginUp...
; [fail] [bits 32] ;vmread [ebx], rcx ;vmwrite rbp, [ebp] [bits 64] vmread [rax], eax vmwrite eax, [rcx]
; A186325: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the squares and octagonal numbers. Complement of A186324. ; 2,4,7,10,13,15,18,21,24,26,29,32,34,37,40,43,45,48,51,54,56,59,62,64,67,70,73,75,78,81,84,86,89,92,95,97,100,103,105,108,111,114,116,119,122,1...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x3e75, %rsi lea addresses_normal_ht+0x1edf5, %rdi clflush (%rsi) nop sub %r12, %r12 mov $114, %rcx rep movsw nop nop nop nop and $44112, %rdx lea addresses_UC_ht+0x4b8d, %rbp nop cmp %r...
// Copyright (c) 2021 by Rockchip Electronics Co., Ltd. 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 // // Unl...
; A100109: a(n) = n^3 - 2*n^2 + 2. ; 1,2,11,34,77,146,247,386,569,802,1091,1442,1861,2354,2927,3586,4337,5186,6139,7202,8381,9682,11111,12674,14377,16226,18227,20386,22709,25202,27871,30722,33761,36994,40427,44066,47917,51986,56279,60802,65561,70562 mov $1,$0 pow $1,2 add $1,$0 sub $1,1 mul $1,$0 add $1,1
Preamble: ld hl,WelcomeBanner call Println call NewGame ret include io.asm include strings.asm include math.asm include board.asm include game.asm WelcomeBanner: defm 'Welcome to QC Coders' defb 27H defm ' Tic Tac Toe! You' defb 27H defm 're ' defb 27H defm 'X' defb 27H defm ' and you' defb 27H d...
; A153085: Numbers k such that 4*k + 5 is not prime. ; Submitted by Jamie Morken(w2) ; 1,4,5,7,10,11,13,15,16,18,19,20,22,25,28,29,30,31,32,34,35,37,39,40,41,43,45,46,49,50,51,52,53,54,55,58,60,61,62,64,65,67,70,71,73,74,75,76,79,80,81,82,84,85,88,89,90,91,93,94,95,97,100,102,103,105,106,108,109,110,112,115,116,117,118...
#include "FlightModule.hpp" #include <RED4ext/RED4ext.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/HudWidgetSpawnEntry.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/WidgetLibraryResource.hpp> #include "LoadResRef.hpp" namespace vehicle { namespace flight { struct HUDLayerUnknown { uint64_t unk[11...
CR EQU 0dh LF EQU 0ah MAX EQU 0ffh ; 0-max .286 .MODEL HUGE .CODE begin: ; data section init mov ax, @data mov ds, ax mov dx, 1234h call print_register_detail ;int 3 call dump_all mov ax, 4c00h int 21h ret dump_all: pusha ; stack dump push dx mov dx, offset ...
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
// Copyright 2021 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 <fuchsia/gpu/magma/cpp/fidl_test_base.h> #include <fuchsia/media/cpp/fidl.h> #include <fuchsia/mediacodec/cpp/fidl.h> #include <fuchsia/sysinfo/cp...
stx $ff sec sbc $ff
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0xd1e3, %rsi lea addresses_D_ht+0x12053, %rdi nop nop cmp %r12, %r12 mov $100, %rcx rep movsq sub %r10, %r10 lea addresses_normal_ht+0x1d8c3, %r8 and $15945, %rbp mov (%r8), %ed...
; Original address was $AD26 .word W5F1_AltL ; Alternate level layout .word W5F1_AltO ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_140 .byte LEVEL2_BGPAL_04 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_02 | LEVEL3_VSCROLL_FREE | LEVEL3_PIPENOTEXIT .byte LEVEL4_BGBANK_INDEX(2) | LE...
#include <cassert> #include <cmath> #include <cstdio> #include <vector> #include "absl/strings/string_view.h" int main(int argc, char** argv) { int x = 0, y = 0, aim = 0; char action[256]; int value; while (fscanf(stdin, "%s %d", action, &value) == 2) { absl::string_view a(action); if (a == "forward"...
; A158538: a(n) = Hermite(n,12). ; Submitted by Jon Maiga ; 1,24,574,13680,324876,7687584,181253256,4257827136,99650305680,2323482102144,53969864949216,1248807116738304,28784033772836544,660845439746357760,15111905675818836096,344182063906754049024,7807012363487532093696,176354470678684640679936,39670688759298552851328...
; A272058: Start with all terms set to 0. Then add n to the next n+3 terms for n=0,1,2,... . ; 0,0,1,3,6,10,14,20,25,33,39,49,56,68,76,90,99,115,125,143,154,174,186,208,221,245,259,285,300,328,344,374,391,423,441,475,494,530,550,588,609,649,671,713,736,780,804,850,875,923,949,999,1026,1078,1106 mov $2,$0 add $0,2 lpb ...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: tcp_settimeout XLIB tcp_settimeout LIB no_zsock INCLUDE "#packages.def" INCLUDE "#zsock.def" .tcp_settimeout ld a,r_tcp_settimeout call_pkg(tcp_all) ret nc ; We failed..are we installed? cp rc_pnf scf ;s...
; A132723: Binomial transform of A132429. ; 3,4,4,0,-8,-16,-16,0,32,64,64,0,-128,-256,-256,0,512,1024,1024,0,-2048,-4096,-4096,0,8192,16384,16384,0,-32768,-65536,-65536,0,131072,262144,262144,0,-524288,-1048576,-1048576,0,2097152,4194304,4194304,0,-8388608,-16777216,-16777216,0,33554432,67108864,67108864,0,-134217728,-...
; A173692: a(n) = ceiling(A000931(n)/2). ; 0,1,1,1,1,1,2,2,3,4,5,6,8,11,14,19,25,33,43,57,76,100,133,176,233,308,408,541,716,949,1257,1665,2205,2921,3870,5126,6791,8996,11917,15786,20912,27703,36698,48615,64401,85313,113015,149713,198328,262728,348041,461056,610769,809096,1071824,1419865,1880920,2491689,3300785,4372609...
/** * @file Coin.cpp * * @brief PublicCoin and PrivateCoin classes 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 project is released under...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rax push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1e927, %rdx nop nop nop nop sub %r13, %r13 movb (%rdx), %al nop nop nop nop nop xor %rsi, %rsi lea addresses_normal_ht+0x7427, %rsi nop nop nop and %rdi, %rdi mov $0x6162636465666768, %r10 movq...
; A000125: Cake numbers: maximal number of pieces resulting from n planar cuts through a cube (or cake): C(n+1,3)+n+1. ; 1,2,4,8,15,26,42,64,93,130,176,232,299,378,470,576,697,834,988,1160,1351,1562,1794,2048,2325,2626,2952,3304,3683,4090,4526,4992,5489,6018,6580,7176,7807,8474,9178,9920,10701,11522,12384,13288,14235,1...
#include "SupernovaSokol.h" #include "sokol_gfx.h" #include "sokol_app.h" #include "sokol_glue.h" SupernovaSokol::SupernovaSokol(){ } int SupernovaSokol::getScreenWidth(){ return sapp_width(); } int SupernovaSokol::getScreenHeight(){ return sapp_height(); } sg_context_desc SupernovaSokol::getSokolContext(...
; A273790: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 931", based on the 5-celled von Neumann neighborhood. ; 1,6,31,80,161,282,451,676,965,1326,1767,2296,2921,3650,4491,5452,6541,7766,9135,10656,12337,14186,16211,18420,20821,2342...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Body FILE: bodyTest.asm AUTHOR: Steve Scholl, Feb 13, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: ...
; A122553: a(0)=1, a(n)=3 for n > 0. ; Submitted by Christian Krause ; 1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3 cmp $0,0 gcd $0,3
; A003600: Maximal number of pieces obtained by slicing a torus (or a bagel) with n cuts: (n^3 + 3*n^2 + 8*n)/6 (n > 0). ; 1,2,6,13,24,40,62,91,128,174,230,297,376,468,574,695,832,986,1158,1349,1560,1792,2046,2323,2624,2950,3302,3681,4088,4524,4990,5487,6016,6578,7174,7805,8472,9176,9918,10699,11520,12382,13286,14233,1...
; A256700: Positive part of the minimal alternating triangular-number representation of n (defined at A255974). ; 1,3,3,7,6,6,10,11,10,10,18,15,16,15,15,22,24,21,22,21,21,28,29,31,28,29,28,28,39,36,37,39,36,37,36,36,48,48,45,46,48,45,46,45,45,56,58,58,55,56,58,55,56,55,55,66,67,69,69,66,67,69,66,67,66,66,85,78,79,81,81...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
//----------------------------------------------------------------------------------------------- // The following example program runs cyclicly and never stops; at each cycle it reads the value, // of 0x100 and displays it on the led, with a interruption subprogram that increments the // content of memory address 0x1...
; A004330: Binomial coefficient C(3n,n-12). ; 1,39,861,14190,194580,2349060,25827165,264385836,2558620845,23667689815,210980549208,1823810410032,15363284301456,126600387152400,1023729916348425,8144022047817960,63871405575418665 mov $1,$0 add $0,12 mul $0,3 bin $0,$1
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017 The Fecal E.coli developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "policy/fees.h" #inclu...
// // Copyright (c) 2008-2019 the Urho3D project. // // 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, including without limitation the rights // to use, copy, mod...
db "ICE BREAK@" ; species name db "It shatters ice" next "drifts with its" next "strong tusks. Its" page "thick layer of" next "blubber can repel" next "enemy attacks.@"
%include "sconst.inc" _NR_sendmessage equ 0 _NR_receivemessage equ 1 _NR_write equ 2 _NR_get_ticks equ 3 INT_VECTOR_SYS_CALL equ 0x90 ; GLOBAL get_ticks GLOBAL write GLOBAL sendmessage GLOBAL receivemessage BITS 32 section .text ; get_ticks: ; mov eax,_NR_get_ticks ; int INT_VECTOR_SYS_CALL ; ret write: mov eax,...
/****************************************************************************** ** Filename: outfeat.c ** Purpose: Definition of outline-features. ** Author: Dan Johnson ** History: 11/13/90, DSJ, Created. ** ** (c) Copyright Hewlett-Packard Company, 1988. ** Licensed under the Apache License, Ve...
; A183222: Complement of the 10-gonal numbers. ; 2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,86,87,88,89,90,91,92,93,94,95,96,97,98,...
; ; Small C z88 Misc functions ; ; sleep(time) ; ; Pause for time seconds ; ; djm 22/3/2000 Rewritten to: ; - Not loop (was causing problems) ; - Return number of seconds left ; ; ----- ; $Id: sleep.asm,v 1.6 2015/01/21 08:09:27 stefano Exp $ INCLUDE "time.def" PUBLIC sleep EXTERN l_mult EXTERN l_div_...
.size 8000 .text@48 ei jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld c, 44 ld b, 90 lbegin_waitly90: ldff a, (c) cmp a, b jrnz lbegin_waitly90 ld a, 11 ldff(40), a ld hl, 8000 ld b, 08 lbegin_setbank0tile0data: ld a, 00 ld(hl++), a ld a, 7e ld(hl++), a dec b jrnz lbegin_setban...
// Copyright (c) 2011-2018 The Bitcoin Core developers // Copyright (c) 2021 The Vivuscoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <interfaces/node.h> #include <qt/trafficgraphwidget.h> #include ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r9 push %rbx push %rdi push %rsi // Store lea addresses_A+0xc1cb, %r9 nop nop add $58034, %rbx movw $0x5152, (%r9) nop nop nop nop nop xor %r14, %r14 // Store lea addresses_WC+0x2c9f, %r14 no...
<% from pwnlib.shellcraft import common from pwnlib.shellcraft import i386 from socket import htons %> <%page args="port"/> <%docstring> Args: port(int): the listening port Waits for a connection. Leaves socket in EBP. ipv4 only </%docstring> <% acceptloop = common.label("acceptloop...
; A216100: 11^n mod 100. ; 1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,11,21,31,41,51,61,71,81,91,1,1...
;Inicialização addi $1 $0 7 addi $2 $0 6 addi $3 $0 5 addi $4 $0 4 addi $5 $0 5 addi $6 $0 6 addi $7 $0 7 ; Or simples or $7 $1 $2 or $6 $3 $4 or $5 $6 $7 or $4 $7 $1 or $3 $6 $2 or $2 $5 $3 or $1 $4 $5 ; $0 como destino or $0 $1 $2 or $0 $3 $4 or $0 $5 $6 or $0 $0 $0 or $0 $1 $1 or $0 $7 $7 ; Or como cópia or $7 $1...
; A021896: Decimal expansion of 1/892. ; Submitted by Jon Maiga ; 0,0,1,1,2,1,0,7,6,2,3,3,1,8,3,8,5,6,5,0,2,2,4,2,1,5,2,4,6,6,3,6,7,7,1,3,0,0,4,4,8,4,3,0,4,9,3,2,7,3,5,4,2,6,0,0,8,9,6,8,6,0,9,8,6,5,4,7,0,8,5,2,0,1,7,9,3,7,2,1,9,7,3,0,9,4,1,7,0,4,0,3,5,8,7,4,4,3,9 seq $0,199685 ; a(n) = 5*10^n+1. div $0,446 mod $0,10
; A080800: Similar to A080799 but count only division steps. ; 4,4,5,5,5,5,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,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,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9 lpb $0 div $0,2 sub $0,1 add $1,1 lpe ad...
; A257890: Expansion of the g.f. (x^2-x+1)*(x^2-3*x+3)/(x-1)^6. ; 3,12,34,80,166,314,553,920,1461,2232,3300,4744,6656,9142,12323,16336,21335,27492,34998,44064,54922,67826,83053,100904,121705,145808,173592,205464,241860,283246,330119,383008,442475,509116,583562,666480,758574,860586,973297,1097528,1234141,1384040,1548172...
#include "nSkinz.hpp" #include "Hooks/Hooks.hpp" #include "Renderer.hpp" #include "KitParser.hpp" #include "UpdateCheck.hpp" #include "Configuration.hpp" IBaseClientDLL* g_client; IClientEntityList* g_entity_list; IVEngineClient* g_engine; IVModelInfoClient* g_model_info; IGameEventManager2* g_game_event_manager; IL...
; A157440: a(n) = 121*n^2 - 204*n + 86. ; 3,162,563,1206,2091,3218,4587,6198,8051,10146,12483,15062,17883,20946,24251,27798,31587,35618,39891,44406,49163,54162,59403,64886,70611,76578,82787,89238,95931,102866,110043,117462,125123,133026,141171,149558,158187,167058,176171,185526,195123,204962,215043,225366,235931,246738...
; Shows that the square timer's period is (raw + 1) * 2, not raw + 1 ; with a divide-by-two before the duty sequencer. ; ; I also ran the square at highest pitch ($4002 = 8), quickly ; wrote 255 to $4002 then 8 to $4002 again. This would cause the ; timer to be loaded once with the higher value. Looking in a sound ; ed...
frame 1, 09 frame 2, 09 frame 3, 09 frame 4, 09 frame 5, 14 endanim
.386 .model flat, stdcall option casemap :none include \masm32\include\windows.inc include \masm32\include\masm32.inc include \masm32\include\kernel32.inc includelib \masm32\lib\masm32.lib includelib \masm32\lib\kernel32.lib .data TheMessage db "This is the message", 0 .code start: invoke StdOut, addr ...
; A077262: Second member of the Diophantine pair (m,k) that satisfies 5*(m^2 + m) = k^2 + k; a(n) = k. ; 0,5,14,99,260,1785,4674,32039,83880,574925,1505174,10316619,27009260,185124225,484661514,3321919439,8696898000,59609425685,156059502494,1069647742899,2800374146900,19194049946505,50250675141714,344423251294199,90171...
/* Store user data on the Zivid camera. */ #include <Zivid/Zivid.h> #include <clipp.h> #include <iostream> namespace { enum class Mode { read, write, clear }; void write(Zivid::Camera &camera, const std::string &string) { camera.writeUserData(std::vector<uint8_t>...
.size 8000 .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(26), a ld a, 80 ldff(26), a ld b, ff ld c, 0e lwaitbegin: dec b jrnz lwaitbegin dec c jrnz lwaitbegin nop nop nop nop ld a, 77 ldff(24), a ld a, 22 ldff(25), a ld a, 00 ldff(16), a ld a, 09 ldff(17), a ld a, 00 ldff...
; ASM source file created by SevenuP v1.21 ; SevenuP (C) Copyright 2002-2007 by Jaime Tejedor Gomez, aka Metalbrain ;GRAPHIC DATA: ;Pixel Size: ( 48, 16) ;Char Size: ( 6, 2) ;Sort Priorities: X char, Char line, Y char ;Data Outputted: Gfx ;Interleave: Column ;Mask: No tile8: DEFB 0,...
#include "hello.h" #include <boost/python.hpp> BOOST_PYTHON_MODULE(hello) { boost::python::def("greet", greet; }
_pl: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "user.h" #define NCHILD 10 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 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1f23, %r10 nop nop nop nop nop and $63358, %rdx mov (%r10), %di nop nop nop xor $50486, %r13 lea addresses_A_ht+0x1de63, %rsi lea addresses_UC_ht+0xa073, %rdi clflush (%rdi) ...
;-------------------------------------------------------------------------- ; Simple test program for Sys9080 project https://github.com/zpekic/sys9080 ; (c) zpekic@hotmail.com - 2017, 2018 ;-------------------------------------------------------------------------- ACIA0_STATUS EQU 0x10; status read-only ACIA0_D...
; ------------------------------------------------------------------ ; MichalOS VESA mode checker ; ------------------------------------------------------------------ BITS 16 %INCLUDE "michalos.inc" ORG 100h start: mov di, 16384 mov cx, 100h .loop: mov ax, 4F01h int 10h cmp ah, 00h jne .not_good mov a...
; Console IO routine table V2.01  1998 Tony Tebby ; ; 2016-04-16 2.01 Added iow.salp (MK) section con include 'dev8_keys_iod' xref cn_io xref cn_test xref cn_fbyt xref cn_fmul xref cn_flin xref cn_edln xref cn_sbyte xref cn_smulc xref cn_pixqy xref cn_chrqy xref cn_defbd xref cn_defwn xref cn_ecu...
TITLE MODNAME - Copyright (C) 1994 SLR Systems INCLUDE MACROS INCLUDE MODULES PUBLIC INSTALL_MODULE,FORCE_INSTALL_MODULE .DATA EXTERNDEF MODULE_HASH:DWORD,MODULE_HASH_TABLE_PTR:DWORD,FIRST_MODULE_GINDEX:DWORD,LAST_MODULE_GINDEX:DWORD EXTERNDEF MODULE_COUNT:DWORD EXTERNDEF MODULE_GARRAY:STD_PTR_S ...
db 0 ; species ID placeholder db 50, 65, 64, 43, 44, 48 ; hp atk def spd sat sdf db WATER, WATER ; type db 45 ; catch rate db 66 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F12_5 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/totodile/...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ecs/model/Cluster.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace ECS { n...