text
stringlengths
1
1.05M
MVI B, 99H LXI SP, 000FH PUSH B LXI B, 00H LXI D, 89H PUSH D LXI D, 00H POP B POP D HLT
.size 8000 .text@48 ld a, ff ldff(45), a jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 96 call lwaitly_b ld a, 40 ldff(41), a xor a, a ldff(0f), a ld a, 02 ldff(ff), a ei ld a, b inc a inc a ldff(45), a .text@1000 lstatint: ld a, 48 ldff(41), a ld ...
;***************************************************************************** ;* SIMD-optimized pixel operations ;***************************************************************************** ;* Copyright (c) 2000, 2001 Fabrice Bellard ;* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> ;* ;* This file i...
/* Copyright 2015-2022 Igor Petrovic Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
;extern function extern cstart extern exception_handler extern spurious_irq ;extern variable extern dwDispPos extern gdt_ptr extern idt_ptr ;include inc %include "sconst.inc" [section .bss] StackSpace resb 2*1024 StackTop: [section .text] ;declare ;entry declare global _start ;int function declare ...
; AI_SMART prefers these moves during rain. RainDanceMoves: db WATER_GUN db HYDRO_PUMP db SURF db BUBBLEBEAM db THUNDER db WATERFALL db CLAMP db BUBBLE db CRABHAMMER db OCTAZOOKA db WHIRLPOOL db -1 ; end
; A232600: a(n) = Sum_{k=0..n} k^p*q^k, where p=1, q=-2. ; 0,-2,6,-18,46,-114,270,-626,1422,-3186,7054,-15474,33678,-72818,156558,-334962,713614,-1514610,3203982,-6757490,14214030,-29826162,62448526,-130489458,272163726,-566697074,1178133390,-2445745266,5070447502,-10498808946,21713445774,-44858547314,92580406158,-1908...
/** * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * * 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 b...
; ; ZX Spectrum OPUS DISCOVERY specific routines ; ; Stefano Bodrato - 2014 ; ; Get a sector. ; A standard 178K Opus disk has 0..718 sectors ; Each sector is 256 bytes long ; ; int __CALLEE__ opus_getsect_callee(int drive, int sector, char * buffer); ; ; $Id: opus_getsect_callee.asm,v 1.5 2016-07-14 17:44:17 pauloscus...
PUBLIC asm_check_ISBN .386 .model flat, c .data sum DWORD ? .code asm_check_ISBN PROC push ebp mov sum, 0 ;reset the sum counter to remove previous loop interference mov ebp, esp mov ebx, 0 ;bl will hold data, so ebx must be clear mov ebx, [ebp+8] mov ecx, 10 ;loop ten times for the ten numbers mov ...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include <ngraph/op/util/attr_types.hpp> #include "single_layer_tests/rnn_sequence.hpp" #include "common_test_utils/test_constants.hpp" using namespace LayerTestsDefinitions; namespace { std::vector<ngraph::h...
.data _array: .word 1,2,3,4,5,6,7,8,9,2,3 _size: .word 11 .text .globl main main: jal clear1 li $v0, 10 syscall clear1: la $a0, _array lw $a1, _size # prologo { add $t0, $zero, $zero # } # corpo { Loop1: slt $t3, $t0, $a1 beq $t3, $zero, Exit sll $t1, $t0,...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args=""/> <%docstring> Invokes the syscall getegid. See 'man 2 getegid' for more information. Arguments: </%docstring> ${syscall('SYS_getegid')}
#include "app.h" #include <glad/glad.h> #include <spdlog/spdlog.h> #include <debug_break/debug_break.h> #include <imgui.h> #include <imgui_impl_opengl3.h> #include <imgui_impl_sdl.h> bool App::m_instanciated = false; App::App() { assert(!m_instanciated && "App already created !"); m_instanciated = true; sp...
; A037168: a(n) = 2*prime(n) - 2. ; 2,4,8,12,20,24,32,36,44,56,60,72,80,84,92,104,116,120,132,140,144,156,164,176,192,200,204,212,216,224,252,260,272,276,296,300,312,324,332,344,356,360,380,384,392,396,420,444,452,456,464,476,480,500,512,524,536,540,552,560,564,584,612,620,624,632,660,672,692,696,704,716,732,744,756,76...
; A169297: Number of reduced words of length n in Coxeter group on 44 generators S_i with relations (S_i)^2 = (S_i S_j)^29 = I. ; 1,44,1892,81356,3498308,150427244,6468371492,278139974156,11960018888708,514280812214444,22114074925221092,950905221784506956,40888924536733799108,1758223755079553361644,75603621468420794550...
Name: zel_char0.asm Type: file Size: 109797 Last-Modified: '2016-05-13T04:20:48Z' SHA-1: 2CFD78301427D41D7F8976C29FABF9F3A29ED69D Description: null
; A080029: a(n) is taken to be the smallest positive integer not already present which is consistent with the condition "n is a member of the sequence if and only if a(n) is a multiple of 3". ; 0,2,3,6,5,9,12,8,15,18,11,21,24,14,27,30,17,33,36,20,39,42,23,45,48,26,51,54,29,57,60,32,63,66,35,69,72,38,75,78,41,81,84,44,8...
; Copyright (c) 1990-1991 Central Point Software, Inc. ; All rights reserved ; ; This is the 1st module of MIRROR.COM ; ; Change Log: ; ; Date Who # Description ; -------- --- ---- ----------------------------------------------------- ; 02/11/91 DLB M006 Changed "entry" symbol to "$entry"...
; ; 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...
// Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/ftcoin-config.h" #endif #include <cstddef> #if defined(HAVE_SYS_SELECT_H) #incl...
;; ;; Copyright (c) 2018-2020, Intel Corporation ;; ;; 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...
jsr wrtbm frets jsr freuse sec bne fre10 ; free already lda (bmpnt),y ; not free, free it ora bmask,x sta (bmpnt),y jsr dtybam ldy t0 ; point to blks free clc lda (bmpnt),y adc #1 ; add one ...
; A134159: a(n) = 13 + 165 n + 756 n^2 + 1470 n^3 + 1029 n^4. ; 13,3433,31591,130351,370273,846613,1679323,3013051,5017141,7885633,11837263,17115463,23988361,32748781,43714243,57226963,73653853,93386521,116841271,144459103,176705713,214071493,257071531,306245611 mul $0,14 mov $1,5 add $1,$0 mov $0,1 pow $1,2 sub $1,5 ...
spawn: MACRO ; map, x, y map_id \1 db \2, \3 ENDM SpawnPoints: ; entries correspond to SPAWN_* constants spawn PLAYERS_HOUSE_2F, 3, 3 spawn VIRIDIAN_POKECENTER_1F, 5, 3 spawn PALLET_TOWN, 5, 6 spawn VIRIDIAN_CITY, 23, 26 spawn PEWTER_CITY, 13, 26 ...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="status"/> <%docstring> Invokes the syscall exit. See 'man 2 exit' for more information. Arguments: status(int): status </%docstring> ${syscall('SYS_exit', status)}
#include "atrthread.h" AtrThread::AtrThread() { method_euler = 0; sig = 10.0; r = 28.0; b = 8.0 / 3.0; err = 0.00000002; x0 = 2.0; y0 = 3.0; z0 = 2.5; t0 = 30.0; } double AtrThread::dX(double x, double y) { return sig * (y - x); } double AtrThread::dY(double x, double y, doubl...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xbe1, %rcx and $4574, %r13 movups (%rcx), %xmm5 vpextrq $0, %xmm5, %r12 nop nop nop nop and %rdx, %rdx lea addresses_UC_ht+0x197e1, %rdi nop nop nop xor $24166, %r8 movw $0x61...
; A001791: a(n) = binomial coefficient C(2n, n-1). ; 0,1,4,15,56,210,792,3003,11440,43758,167960,646646,2496144,9657700,37442160,145422675,565722720,2203961430,8597496600,33578000610,131282408400,513791607420,2012616400080,7890371113950,30957699535776,121548660036300,477551179875952,1877405874732108,7384942649010080 m...
dnl HPPA 64-bit time stamp counter access routine. dnl Copyright 2000, 2002, 2005 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Lesser General Public License as dn...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rax push %rbp push %rcx lea addresses_WT_ht+0x52cc, %rcx nop nop nop cmp %r9, %r9 movups (%rcx), %xmm0 vpextrq $0, %xmm0, %r12 nop nop nop and $16032, %rcx lea addresses_UC_ht+0xb3ec, %r11 nop nop nop and %rbp, %rbp mov (%r11), %a...
SECTION code_clib SECTION code_fp_math48 PUBLIC _tgamma EXTERN cm48_sdcciy_tgamma defc _tgamma = cm48_sdcciy_tgamma
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x878d, %rbp nop nop xor %r9, %r9 movups (%rbp), %xmm3 vpextrq $0, %xmm3, %r15 sub $4269, %r10 lea addresses_WC_ht+0x1d38d, %rsi lea addresses_D_ht+0xa91d, %rdi nop sub $27882, %r9 mov $7...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "graph_transformer_tests.hpp" namespace vpu { namespace ie = InferenceEngine; class MarkFastStagesTests : public GraphTransformerTest { protected: void SetUp() override { ASSERT_NO_FATAL_FAILURE(GraphTransfor...
#include "shader\RadianceMapShader.h" RadianceMapShader::RadianceMapShader(std::vector<PhotonMap*> photonMap) { shaderType = SHADER_TYPE_RADIANCE_CACHE_UNIFORM_GRID; addMain(SHADER_SOURCE_RADIANCE_MAP_VERT, __shaderLinesVert); addMain(SHADER_SOURCE_RADIANCE_MAP_GEOM, __shaderLinesGeom); addMain(SHADER_SOU...
/* * \file message.cpp */ #include "logog.hpp" namespace logog { Message::Message( const LOGOG_LEVEL_TYPE level, const LOGOG_CHAR *sFileName , const int nLineNumber, const LOGOG_CHAR *sGroup, const LOGOG_CHAR *sCategory, const LOGOG_CHAR *sMessage, ...
; A101688: Once 1, once 0, repeat, twice 1, twice 0, repeat, thrice 1, thrice 0... and so on. ; 1,0,1,0,1,1,0,0,1,1,0,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1 seq $0,127948 ; Triangl...
; A114201: C(1+2*n,1+n)*C(6+2*n,0+n) ; Submitted by Jon Maiga ; 1,24,450,7700,126126,2018016,31855824,498841200,7773608700,120784604512,1873533922260,29034766346040,449790717967500,6967723880880000,107959904588606400,1673378521123399200,25949671331244477300,402629171550425820000,6250759024406391495000 mov $1,$0 mov $2...
#include <iostream> #include <cmath> #include "bullet.h" Bullet::Bullet(const string& name, const Drawable * o) : MultiSprite(name), distance(0), maxDistance(Gamedata::getInstance().getXmlInt(name+"/distance")), tooFar(false), collided(false), owner( o ) { } Bullet::Bullet(const Bullet& b) : MultiS...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x17fbb, %r13 nop nop nop and $19455, %r11 vmovups (%r13), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $1, %xmm5, %rsi nop nop nop sub %r14, %r14 lea addresses_A_ht+0x1d8b, %r1...
#include "FixedJoint.h" std::string FixedJoint::getPositionName(int index) const { throw std::runtime_error("bad index"); } Eigen::VectorXd FixedJoint::randomConfiguration(std::default_random_engine& generator) const { return Eigen::VectorXd::Zero(0); }
; A054489: Expansion of (1+4*x)/(1-6*x+x^2). ; 1,10,59,344,2005,11686,68111,396980,2313769,13485634,78600035,458114576,2670087421,15562409950,90704372279,528663823724,3081278570065,17959007596666,104672767009931,610077594462920 mov $2,3 lpb $0,1 sub $0,1 add $2,1 add $3,$2 add $2,$3 add $2,$3 add $3,$2 s...
;****************************************************************************** ;* Core video DSP functions ;* Copyright (c) 2012 Ronald S. Bultje <rsbultje@gmail.com> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General ...
; A045419: Primes congruent to {1, 3, 7} mod 8. ; Submitted by Jon Maiga ; 3,7,11,17,19,23,31,41,43,47,59,67,71,73,79,83,89,97,103,107,113,127,131,137,139,151,163,167,179,191,193,199,211,223,227,233,239,241,251,257,263,271,281,283,307,311,313,331,337,347,353,359,367,379,383,401,409,419,431,433,439,443,449,457,463,467,4...
BattleTowerMons: ; 10 groups of 21 mons. ; Each mon is several bytes too long; the initial species, item and move IDs must be converted to 8-bit when loading. BattleTowerMons1: dw JOLTEON db MIRACLEBERRY dw THUNDERBOLT, HYPER_BEAM, SHADOW_BALL, ROAR dw 0 ; OT ID dt 1000 ; Exp ; Stat exp bigdw 50000 bigdw 400...
; A127985: a(n) = floor(2^n*(n/3 + 4/9)). ; 0,1,4,11,28,67,156,355,796,1763,3868,8419,18204,39139,83740,178403,378652,800995,1689372,3553507,7456540,15612131,32622364,68040931,141674268,294533347,611436316,1267611875,2624702236,5428361443,11214636828,23145101539,47721858844,98307029219,202340681500,416134609123,8551757...
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif %ifidn __OUTPUT_FORMAT__,obj section code use32 class=code align=64 %elifidn __OUTPUT_FORMAT__,win32 $@feat.00 equ 1 sec...
; A218073: Number of profiles in domino tiling of a 2*n checkboard. ; 0,1,2,9,12,50,60,245,280,1134,1260,5082,5544,22308,24024,96525,102960,413270,437580,1755182,1847560,7407036,7759752,31097794,32449872,130007500,135207800,541574100,561632400,2249204040,2326762800,9316746045,9617286240,38504502630,39671305740,15881486...
/** Copyright (c) 2017, Philip Deegan. 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 follow...
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2007 Ferdinando Ametrano Copyright (C) 2007 Mark Joshi This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free so...
BITS 16 %INCLUDE "michalos.inc" ORG 100h disk_buffer equ 16384 start: mov al, [0] mov [.drive], al call .draw_background mov dl, 0 mov dh, 4 call os_move_cursor mov si, .hexchars call os_print_string mov cx, 512 mov di, disk_buffer mov al, 88 rep stosb .draw_loop: call .ba...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WT_ht+0xb786, %r10 nop nop nop cmp $47279, %r14 mov $0x6162636465666768, %r8 movq %r8, (%r10) nop nop nop add %r13, %r13 lea addresses_WC_ht+0xb8fa, %r8 clflush (%r8) nop nop nop nop...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h" #include "ash/shell.h" #include "ash/system/tray/system_tray_notifier.h" ...
#include "monster2.hpp" const float GenericHolyWaterEffect::RISE_SPEED = 0.1f; void GenericCureEffect::finalize(Combatant *target) { if (!battle) return; int tx, ty; if (target->getLocation() == LOCATION_RIGHT) { tx = (int)(target->getX() - target->getAnimationSet()->getWidth()/2); } else { tx = (int)(t...
; A142607: Primes congruent to 8 mod 55. ; Submitted by Jon Maiga ; 173,283,503,613,1163,1493,1823,1933,2153,2593,3253,3583,3803,4133,4243,4463,4793,4903,5233,5563,5783,6113,6553,6883,7103,7213,7433,7873,8093,8423,8753,8863,9413,9743,10513,10733,11173,11393,11503,11833,12163,12713,12823,13043,14033,14143,15683,16453,16...
; A026355: a(n) = least k such that s(k) = n+1, where s = A026354. ; 1,2,3,5,6,8,10,11,13,14,16,18,19,21,23,24,26,27,29,31,32,34,35,37,39,40,42,44,45,47,48,50,52,53,55,57,58,60,61,63,65,66,68,69,71,73,74,76,78,79,81,82,84,86,87,89,90,92,94,95,97,99,100,102,103,105,107,108,110 sub $0,1 mul $0,55 div $0,34 add $0,2
; A077591: Maximum number of regions into which the plane can be divided using n (concave) quadrilaterals. ; 1,2,18,50,98,162,242,338,450,578,722,882,1058,1250,1458,1682,1922,2178,2450,2738,3042,3362,3698,4050,4418,4802,5202,5618,6050,6498,6962,7442,7938,8450,8978,9522,10082,10658,11250,11858,12482,13122,13778,14450,15...
; A070644: n^6 mod 21. ; 0,1,1,15,1,1,15,7,1,15,1,1,15,1,7,15,1,1,15,1,1,0,1,1,15,1,1,15,7,1,15,1,1,15,1,7,15,1,1,15,1,1,0,1,1,15,1,1,15,7,1,15,1,1,15,1,7,15,1,1,15,1,1,0,1,1,15,1,1,15,7,1,15,1,1,15,1,7,15,1,1,15,1,1,0,1,1,15,1,1 pow $0,6 mod $0,21 mov $1,$0
; A199556: 9*8^n+1. ; 10,73,577,4609,36865,294913,2359297,18874369,150994945,1207959553,9663676417,77309411329,618475290625,4947802324993,39582418599937,316659348799489,2533274790395905,20266198323167233,162129586585337857,1297036692682702849,10376293541461622785,83010348331692982273,664082786653543858177,5312662293228...
// Tests that array-indexing by a word variable is turned into pointer addition // Commodore 64 PRG executable file .file [name="derefidx-word-0.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [star...
; A126237: Length of row n in table A126014. ; Submitted by Jamie Morken(s2) ; 1,2,1,2,2,3,3,3,2,3,3,3,3,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,6,6,6,6,6,6,6 lpb $0 mov $2,$0 seq $2,291268 ; The...
; A138200: a(n) = (14^(2*n+1) + 3^(2*n+1)) / 17. ; Submitted by Jon Maiga ; 1,163,31651,6200923,1215356851,238209726283,46689104402851,9151064445421243,1793608631144725651,351547291702945685803,68903269173764569541251,13505040758057740566199963 mul $0,2 add $0,1 mov $1,3 pow $1,$0 mov $2,14 pow $2,$0 add $1,$2 mov $0,...
; float log(float x) __z88dk_fastcall SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_log_fastcall EXTERN cm48_sdccixp_dx2m48, am48_log, cm48_sdccixp_m482d cm48_sdccix_log_fastcall: call cm48_sdccixp_dx2m48 call am48_log jp cm48_sdccixp_m482d
include "ppu.inc" include "controller.inc" include "sprite.inc" include "ggsound.inc" ;**************************************************************** ;iNES header ;**************************************************************** .byte "NES",$1a .byte $02 ; 1 PRG-ROM block .byte $01 ; 1 CHR-ROM block ; ROM...
Snd_PPZ2_Header: smpsHeaderStartSong 3 smpsHeaderVoice Snd_PPZ2_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $01, $1C smpsHeaderDAC Snd_PPZ2_DAC smpsHeaderFM Snd_PPZ2_FM1, $00, $11 smpsHeaderFM Snd_PPZ2_FM2, $0C, $0E smpsHeaderFM Snd_PPZ2_FM3, $00, $12 smpsHeaderFM ...
; A168415: a(n) = 2^n + 7. ; 8,9,11,15,23,39,71,135,263,519,1031,2055,4103,8199,16391,32775,65543,131079,262151,524295,1048583,2097159,4194311,8388615,16777223,33554439,67108871,134217735,268435463,536870919,1073741831,2147483655,4294967303,8589934599,17179869191,34359738375,68719476743,137438953479,274877906951,549755...
/* * Silly demo program for the NCursesPanel class. * * written by Anatoly Ivasyuk (anatoly@nick.csh.rit.edu) * * Demo code for NCursesMenu and NCursesForm written by * Juergen Pfeifer * * $Id: demo.cc,v 1.32 2005/08/13 18:14:44 tom Exp $ */ #include "internal.h" #include "cursesapp.h" #include "curse...
db 0 ; species ID placeholder db 40, 35, 30, 105, 120, 70 ; hp atk def spd sat sdf db PSYCHIC, PSYCHIC ; type db 100 ; catch rate db 145 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F25 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/kadab...
; A094527: Triangle T(n,k), read by rows, defined by T(n,k) = binomial(2*n,n-k). ; 1,2,1,6,4,1,20,15,6,1,70,56,28,8,1,252,210,120,45,10,1,924,792,495,220,66,12,1,3432,3003,2002,1001,364,91,14,1,12870,11440,8008,4368,1820,560,120,16,1,48620,43758,31824,18564,8568,3060,816,153,18,1,184756,167960,125970,77520,38760,15504,...
; A123877: Expansion of (1+2*x)/(1+3*x+3*x^2). ; Submitted by Jon Maiga ; 1,-1,0,3,-9,18,-27,27,0,-81,243,-486,729,-729,0,2187,-6561,13122,-19683,19683,0,-59049,177147,-354294,531441,-531441,0,1594323,-4782969,9565938,-14348907,14348907,0,-43046721,129140163,-258280326,387420489,-387420489,0,1162261467,-3486784401,6973...
Microsoft (R) Macro Assembler Version 14.25.28614.0 05/01/20 15:58:03 AddTwo.asm Page 1 - 1 ; AddTwo.asm - adds two 32-bit integers. ; Chapter 3 example .386 .model flat,stdcall .stack 4096; 4kb of data for the stack, from 4 * 1024bytes(=1kb) ExitProcess proto,dwExitCode:dword; ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %rsi lea addresses_A_ht+0x4390, %rsi nop xor %r14, %r14 mov (%rsi), %r11 nop nop inc %r11 pop %rsi pop %r14 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %r14 push %r8 push %r9 push %rbp // Store lea addre...
#d le(1234`16) ; = 0xd204
; void *w_vector_at(b_vector_t *v, size_t idx) SECTION code_clib SECTION code_adt_w_vector PUBLIC _w_vector_at EXTERN _w_array_at defc _w_vector_at = _w_array_at
; A180167: a(0) = 1, a(1) = 7; a(n)= 6*a(n-1) + 6*a(n-2) for n>1. ; 1,7,48,330,2268,15588,107136,736344,5060880,34783344,239065344,1643092128,11292944832,77616221760,533454999552,3666427327872,25199293964544,173194327754496,1190361730314240,8181336348412416,56230188472359936 mov $2,$0 mov $0,1 mov $1,2 mov $3,1 lpb $2...
/** * @file meta_info_extractor.hpp * @author Kirill Mishchenko * * Tools for extracting meta information about machine learning algorithms. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD...
; A162664: a(n) = sigma(n) + tau(n)^2. ; Submitted by Christian Krause ; 2,7,8,16,10,28,12,31,22,34,16,64,18,40,40,56,22,75,24,78,48,52,28,124,40,58,56,92,34,136,36,99,64,70,64,172,42,76,72,154,46,160,48,120,114,88,52,224,66,129,88,134,58,184,88,184,96,106,64,312,66,112,140,176,100,208,72,162,112,208,76,339,78,130,160,...
global _start extern ExitProcess %include "lib.h" section .data inMSG db "enter a string: ", 0 outMSG1 db " Vowel Count", 0 outMSG2 db "a or A: ", 0 outMSG3 db "e or E: ", 0 outMSG4 db "i or I: ", 0 outMSG5 db "o or O: ", 0 outMSG6 db "u or U: ", 0 nwln db 10, 0 char_tabl...
.globl Tela09 Tela09: addi $10, $0, 0xcff8cf sw $10, 268500992($0) addi $10, $0, 0x00d800 sw $10, 268500996($0) addi $10, $0, 0x00d800 sw $10, 268501000($0) addi $10, $0...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/lock/screen_locker_tester.h" #include <string> #include "base/macros.h" #include "base/strings/string_util.h" #i...
INCLUDE<P16F84A.INC> #DEFINE BOTAO0 PORTA,0 ;define o pino 0 de A como o botao 0. SOMA #DEFINE BOTAO1 PORTA,1 ;define o pino 1 de A como o botao 1. SUBTRAI TEMP EQU 0X2C ;registrador temporario ORG 0X00 GOTO INICIO ;--- A CONTÉM 2 BOTÕES, U...
#include <particle_structs.hpp> #include "read_particles.hpp" int migrateSendRight(const char* name, PS* structure) { printf("migrateSendRight %s, rank %d\n", name, comm_rank); int fails = 0; kkLidView failures("fails", 1); kkLidView new_element("new_element", structure->capacity()); kkLidView new_process("...
; A099260: Number of decimal digits in (10^n)-th prime number. ; 1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75 mov $1,$0 lpb $1 add $0,1 sub $1,40 t...
; A061321: Column 5 of A061315. ; Submitted by Jon Maiga ; 0,1,28,1216,37324,700876,8719921,78503068,547643916,3114359073,14992411852,62860750876,234647983648,793316418076 add $0,1 bin $0,2 add $0,1 pow $0,2 add $0,4 bin $0,2 div $0,18 add $0,2 pow $0,2 div $0,5
; A087211: Floor((1+2^n+3^n)/3). ; 1,2,4,12,32,92,264,772,2272,6732,20024,59732,178512,534172,1599784,4793892,14370752,43090412,129227544,387595252,1162610992,3487483452,10461751304,31383855812,94148771232,282440721292,847310979064,2541910567572,7625686963472,22876971411932,68630735278824,205891847922532,61767482793971...
; ; Collection of ASM patches that enable Bink movie support. ; ; Author: CCHyper ; %include "TiberianSun.inc" %include "macros/patch.inc" cextern Windows_Procedure_Should_Blit_Patch cextern CompositeSurface cextern WWMouse cextern InScenario cextern BinkFullscreenMovie cextern Current_Movie_Ptr cextern IngameVQ_Count...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/04/Fill.asm // Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program blackens the screen, // i.e. writes...
// Copyright Aleksey Gurtovoy 2000-2004 // Copyright Jaap Suter 2003 // // 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) // // Preprocessed version of "boost/mpl/shift_left.hpp" header // -- DO NOT m...
; A236535: a(n)*Pi is the total length of irregular spiral (center points: 2, 3, 1; pattern 1) after n rotations. ; 2,5,8,10,13,16,18,21,24,26,29,32,34,37,40,42,45,48,50,53,56,58,61,64,66,69,72,74,77,80,82,85,88,90,93,96,98,101,104,106,109,112,114,117,120,122,125,128,130,133,136,138,141,144,146,149,152,154,157,160,162,...
//===---------------- Size.cpp - Lowering Size Op //-------------------===// // // Copyright 2019 The IBM Research Authors. // // ============================================================================= // // This file lowers the ONNX Size Operator to Krnl dialect. // //===-----------------------------------------...
; A186262: Expansion of 3F2( 2, 1/2, 3/2; 3, 4;16 x). ; Submitted by Christian Krause ; 1,2,9,56,420,3564,33033,327184,3413124,37119160,417733316,4837527072,57397642640,695394516600,8579210711625,107541060458400,1367139314643300,17599273282621800,229116465142280100,3013124257920348000,39991185556010816400,5352305462303...
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="path, mode, dev"/> <%docstring> Invokes the syscall mknod. See 'man 2 mknod' for more information. Arguments: path(char): path mode(mode_t): mode dev(dev_t): dev </%docstring> ${syscall('SYS_mknod', path, mode, dev)}
/*========================================================================= Program: Visualization Toolkit Module: vtkDirectedGraph.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...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x9ac8, %rsi lea addresses_normal_ht+0x915a, %rdi clflush (%rdi) nop nop nop nop nop sub %r10, %r10 mov $123, %rcx rep movsq nop nop nop nop nop cmp %r15, %r15 lea addresses_A_ht+0x675a, ...
// Copyright 2021 The Chromium OS 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 "rmad/state_handler/components_repair_state_handler.h" #include <memory> #include <string> #include <unordered_map> #include <unordered_set> ...
_RemovePokemon: ld hl, wPartyCount ld a, [wRemoveMonFromBox] and a jr z, .asm_7b74 ld hl, wNumInBox .asm_7b74 ld a, [hl] dec a ld [hli], a ld a, [wWhichPokemon] ld c, a ld b, $0 add hl, bc ld e, l ld d, h inc de .asm_7b81 ld a, [de] inc de ld [hli], a inc a jr nz, .asm_7b81 ld hl, wPartyMonOT ld d...
.equ PORTD,0x12 .equ DDRD,0x11 ;.org 0x00 Start: ldi r16,0b00001111 out DDRD,r16 ldi r16,0b00000101 out PORTD,r16 Loop: rjmp Loop
//===--- ASTScopeSourceRange.cpp - Swift Object-Oriented AST Scope --------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#not the best option checkout the sommaSelettiva.asm for the best solution .data .align 2 arr: .space 20 .align 2 msg_num: .asciiz "Inserisci un numero: " result: .asciiz "Risultato: " .text .globl main main: la $s1 arr addi $t0 $0 5 #array dim n loop: beq $t0 0 end li $v0 4 la $a0 msg_num syscall li $v...
while(8) JIP: -20 { align1 1Q }; while(16) JIP: -20 { align1 1H }; while(8) JIP: -30 { align16 1Q }; (-f0.0) while(8) JIP: -48 { align1 1Q }; (-f...