text
stringlengths
1
1.05M
SECTION code_clib SECTION code_l_sdcc PUBLIC ____sdcc_4_cpl_src_mhl_dst_debc ____sdcc_4_cpl_src_mhl_dst_debc: ld a,(hl) cpl ld c,a inc hl ld a,(hl) cpl ld b,a inc hl ld a,(hl) cpl ld e,a inc hl ld a,(hl) cpl ld d,a ret
; A010901: Pisot sequences E(4,7), P(4,7). ; 4,7,12,21,37,65,114,200,351,616,1081,1897,3329,5842,10252,17991,31572,55405,97229,170625,299426,525456,922111,1618192,2839729,4983377,8745217,15346786,26931732,47261895,82938844,145547525,255418101,448227521,786584466,1380359512,2422362079,4250949112,7459895657,13091204281,2...
; A066999: a(n) = 3^n * Sum_{i=1..n} i^3/3^i. ; Submitted by Jamie Morken(s2) ; 1,11,60,244,857,2787,8704,26624,80601,242803,729740,2190948,6575041,19727867,59186976,177565024,532699985,1598105787,4794324220,14382980660,43148951241,129446864371,388340605280,1165021829664,3495065504617,10485196531427,31455589613964,9436...
; $Id: bs3-wc32-U8RS.asm $ ;; @file ; BS3Kit - 32-bit Watcom C/C++, 64-bit unsigned integer right shift. ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it a...
.include "msp430g2553.inc" ; Includes file defining names of addresses/bytes/words org 0xc000 ; Tells assembler where to put the program in memory start: mov.w #WDTPW|WDTHOLD, &WDTCTL ; Disables the watchdog counter mov.b #0x41, &P1DIR ; 0x41 in...
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012-2014 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby g...
******************************************** * struct REGS * { * unsigned int R0; * unsigned int R1; * unsigned int R15; * }; * void EXSVC(int svc, struct REGS *regs); ******************************************** COPY PDPTOP CSECT * Program text area DS 0F * X-func EXSVC prologue EX...
/////////////////////////////////////////////////////////////////////// // File: linerec.cpp // Description: Top-level line-based recognition module for Tesseract. // Author: Ray Smith // Created: Thu May 02 09:47:06 PST 2013 // // (C) Copyright 2013, Google Inc. // Licensed under the Apache License, Ve...
/** * @brief Robust estimation library * * @author Andrey Kudryavtsev (avkudr.github.io) * @author Mark Anisimov (github:qM4RCp) * @date 01/03/2018 * @version 1.0 */ #ifndef ROBUST_ESTIMATOR_H #define ROBUST_ESTIMATOR_H #include <vector> #include <random> #include <numeric> #include <functional> #inc...
title "Interprocessor Interrupts" ;++ ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt). ; If you do not agree to the terms, do not use the code. ; ; ; Module Nam...
; A094788: Number of (s(0), s(1), ..., s(2n+1)) such that 0 < s(i) < 10 and |s(i) - s(i-1)| = 1 for i = 1,2,....,2n+1, s(0) = 1, s(2n+1) = 6. ; Submitted by Jon Maiga ; 1,6,27,110,428,1624,6069,22458,82555,302082,1101816,4009616,14567657,52865230,191684283,694609494,2515972324,9110338728,32981059485,119377761602,432046...
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */ /* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */ /* 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 ob...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 include listing.inc INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC __local_stdio_printf_options PUBLIC _vfprintf_l PUBLIC printf PUBLIC func PUBLIC main PUBLIC ??_C@_0N@NJAPOBLP@?$CFf?5?$CFf?5?$CFf?5?$CFs?6?$AA@ ; `string' PUB...
; void *zx_saddrcdown_fastcall(void *saddr) SECTION code_arch PUBLIC _zx_saddrcdown_fastcall _zx_saddrcdown_fastcall: INCLUDE "arch/zx/display/z80/asm_zx_saddrcdown.asm"
// Copyright (c) 2012 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 "base/file_path.h" #include "base/utf_string_conversions.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_tabstr...
MOVE R2, R6 ; Write value 0x0222 to register 6 MOVE R3, @R6 ; Write value 0x0333 to memory 0x0222 MOVE @R6, R4 ; Write value 0x0333 to register 4 MOVE @R6, @R7 ; Write value 0x0333 to memory 0x0777 ADD R2, R9 ; Write value 0x0BBB to register 9 ADD R3, @R9 ; Write valu...
// Copyright 2014 HcNet Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "main/CommandLine.h" #include "main/DeprecatedCommandLine.h" #include "util/Logging.h" ...
; A098179: Expansion of (1-3*x+3*x^2)/(1-5*x+10*x^2-10*x^3+4*x^4). ; 1,2,3,5,11,27,63,135,271,527,1023,2015,4031,8127,16383,32895,65791,131327,262143,523775,1047551,2096127,4194303,8390655,16781311,33558527,67108863,134209535,268419071,536854527,1073741823,2147516415 add $0,2 cal $0,38504 ; Sum of every 4th entry of r...
; A280560: a(n) = (-1)^n * 2 if n!=0, with a(0) = 1. ; 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,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2 sub $0,1 mod $0,2 mul $0,12 add $0,1 pow $0,2 mov $1,$0 sub $1,79 div $1,39
; A060788: a(n) = 9*(n-2)^2 * (n^2 - 2*n - 1). ; 0,18,252,1134,3312,7650,15228,27342,45504,71442,107100,154638,216432,295074,393372,514350,661248,837522,1046844,1293102,1580400,1913058,2295612,2732814,3229632,3791250,4423068,5130702,5919984,6796962,7767900,8839278,10017792,11310354,12724092,14266350,15944688,17766882,1...
; ; Copyright (c) 2020 Phillip Stevens ; ; 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/. ; ; feilipu, August 2020 ; ;-----------------------------------------------...
.global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rax push %rsi lea addresses_WT_ht+0x10efc, %rsi xor $63533, %r9 movw $0x6162, (%rsi) nop nop sub %r8, %r8 pop %rsi pop %rax pop %r9 pop %r8 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r15 push %r8 push %rbp push %rcx push %...
.section ".text" .global syscall syscall: push {lr} mov r7, r0 // syscall number mov r0, r1 // 1st arg mov r1, r2 // 2nd arg mov r2, r3 // 3rd arg mov r3, r4 // 4th arg mov r4, r5 // 5th arg mov r5, r6 // 6th arg swi 0 pop {lr} bx lr
; A142800: Primes congruent to 2 mod 61. ; Submitted by Jon Maiga ; 2,307,673,1039,1283,2137,2381,2503,3967,4211,4943,5309,5431,6163,6529,7993,8237,8969,9091,10067,10433,10799,11287,11897,12263,14947,15313,15679,15923,16411,17021,17387,17509,18119,18973,19583,19949,20071,20681,21169,22511,22877,23609,24097,25073,25439,...
; ; Grundy Newbrain Specific libraries ; ; Stefano Bodrato - 30/03/2007 ; ; ; Print a character on LCD display ; ; ; ; $Id: fputc_lcd.asm,v 1.3 2007/06/03 15:13:06 stefano Exp $ ; XLIB fputc_lcd .fputc_lcd ld hl,2 add hl,sp ld e,(hl) ; char inc hl inc hl ld a,(hl) cp 16 ret nc ...
// // bypslib.cpp // bypslib // // Created by Wolfgang Imig on 30.12.17. // Copyright © 2017 Wolfgang Imig. All rights reserved. // #include "Bypshttp.hpp" #include "AllTests.h" #include <iostream> #include "bypslib.hpp" #include "bypslibPriv.hpp" void bypslib::HelloWorld(const char * s) { bypslibPriv *theO...
; A135497: a(n) = n^5 - n^2. ; 0,0,28,234,1008,3100,7740,16758,32704,58968,99900,160930,248688,371124,537628,759150,1048320,1419568,1889244,2475738,3199600,4083660,5153148,6435814,7962048,9765000,11880700,14348178,17209584,20510308,24299100,28628190,33553408,39134304,45434268,52520650,60464880,69342588,79233724,9022267...
// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2013-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as publishe...
.data saudacao: .asciiz "ola. Por favor, forneca sua idade: " saida: .asciiz "Sua idade e: " .text li $v0, 4 #imprimir string la $a0, saudacao # armazena a string no registrador ($a0) syscall li $v0, 5 # leitura de inteiro syscall # apartir desse comando a entrada de inteiro sera armazenada em ($v0). mov...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x9bf, %r11 nop xor %rdx, %rdx mov (%r11), %rsi and %rbp, %rbp lea addresses_UC_ht+0x6c37, %r14 nop nop nop nop nop and $39853, %r10 movw $0x6162, (%r14) nop nop xor...
db 0 ; species ID placeholder db 70, 65, 60, 90, 90, 75 ; hp atk def spd sat sdf db BUG, POISON ; type db 75 ; catch rate db 138 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/venomoth/fr...
/** * @file {{ name }}-cliTest.cpp * {{ license_text_for_cxx }} */ #include "{{ name }}-cli.h" #include <gmock/gmock.h> // NOLINTNEXTLINE TEST ({{ name }}CliTest, does_not_fail) { ASSERT_EQ(0, run()); }
; A194881: A number of sum-free sets related to fractional parts of multiples of a rational number in the range 1/3 to 2/3. ; 2,3,6,8,12,15,21,25,34,38,48,54,66,72,84,92,108,117,135,143,161,171,193,205,225,237,264,276,304,316,346,362,392,408,432,450,486,504,540,556,596,614,656,676,712,734,780,804,846 lpb $0 mov $2,$...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %r9 push %rbx push %rdi push %rdx lea addresses_normal_ht+0x107e1, %r13 nop nop nop nop and %r8, %r8 movl $0x61626364, (%r13) nop nop nop sub $24429, %rdi lea addresses_WT_ht+0x1c1e1, %rbx nop nop and %rdx, %rdx movl $0x61626364, (%rbx) nop add %r13, ...
bits 32 section .text ;;; ;;; Paging ;;; ;;; Stolen from OSDynamix: ;;; #define INVLPG(virt) ASMV("invlpg (%%eax)" : : "a" (virt)) ;;; #define SWITCH_ADDRESS_SPACE(x) ASMV("mov %0, %%CR3" : : "r" ((dword) (x))) ;;; invalidatePage: func (virt: Pointer) global invalidatePage invalidatePage: mov eax,...
; tests RAM, stack and the sub routine calls ASUB and RSUB ; expects RAM to start at $8000, so works for example in environment "env1" ; done by sy2002 on August, 2nd 2015 .ORG 0x0000 ; Start address MOVE 0x8020, R13 ; setup stack pointer MOVE 0x8000, R8 ; s...
; A142513: Primes congruent to 11 mod 52. ; Submitted by Jon Maiga ; 11,167,271,479,739,947,1051,1103,1259,1571,1831,1987,2039,2143,2351,2663,2767,2819,3079,3391,3547,3911,4327,4483,4639,4691,4951,5003,5107,5419,5471,5783,5939,6043,6199,6563,6719,6823,7187,7499,7603,7759,8123,8539,8747,9007,9059,9319,9371,9631,9787,983...
; Set Owner of channel V2.00  1994 Tony Tebby QJUMP section ioa xdef ioa_sown include dev8_keys_err include dev8_keys_sys include dev8_keys_chn include dev8_keys_iod include dev8_keys_qdos_sms ;+++ ; d0 r error return 0, or not found ; d1 c p new owner ; a0 c s channel id ; ; all other registers pre...
.386p ASSUME CS:CODE PUBLIC CLEAR_VRAM PUBLIC WRITE_TO_VRAM1 PUBLIC SEARCH_VRAM3 ; GDT SEG_PSP EQU 0004H SEG_CODE EQU 000CH SEG_DATA EQU 0014H SEG_PSP_MUTABLE EQU 0024H SEG_DOSENV EQU 002CH SEG_LOWMEM EQU 0034H ; LDT SEG_VRAM1 EQU 001CH ; 80000000H SEG_VRAM2 ...
// Copyright (c) 2014 Baidu.com, Inc. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: qinzuoyan01@baidu.com (Qin Zuoyan) #include <sofa/pbrpc/rpc_server_impl.h> #include <sofa/pbrpc/rpc_controller_impl.h> #include <sofa/pbrpc/tr...
; A097110: Expansion of (1 + 2x - 2x^3) / (1 - 3x^2 + 2x^4). ; 1,2,3,4,7,8,15,16,31,32,63,64,127,128,255,256,511,512,1023,1024,2047,2048,4095,4096,8191,8192,16383,16384,32767,32768,65535,65536,131071,131072,262143,262144,524287,524288,1048575,1048576,2097151,2097152 mov $1,2 lpb $0 sub $0,2 mul $1,2 lpe add $1,$0 ...
; A209330: Triangle defined by T(n,k) = binomial(n^2, n*k), for n>=0, k=0..n, as read by rows. ; Submitted by Christian Krause ; 1,1,1,1,6,1,1,84,84,1,1,1820,12870,1820,1,1,53130,3268760,3268760,53130,1,1,1947792,1251677700,9075135300,1251677700,1947792,1,1,85900584,675248872536,39049918716424,39049918716424,6752488725...
#pragma once #include <steemit/protocol/authority.hpp> #include <steemit/protocol/steem_operations.hpp> #include <steemit/chain/steem_object_types.hpp> #include <steemit/chain/witness_objects.hpp> #include <boost/multi_index/composite_key.hpp> namespace steemit { namespace chain { using protocol::beneficiary_r...
; A102126: Minimum number of pieces needed to dissect a square into n smaller squares (not necessarily of the same size). ; 1,4,4,4,6,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29 mov $2,$0 lpb $2 sub $0,$2 add $0,3 bin $2,4 lpe mov $1,$0 add $1,1
object_const_def ; object_event constants const CERULEANCITY_COOLTRAINER_M1 const CERULEANCITY_ROCKET const CERULEANCITY_GUARD const CERULEANCITY_COOLTRAINER_F const CERULEANCITY_SLOWBRO const CERULEANCITY_LASS const CERULEANCITY_COOLTRAINER_M2 const CERULEAN_CITY_POKEFAN CeruleanCity_MapScripts: db 0 ; scen...
.define BUILD 6310 .define VERSION "1.1 " .define BUILD_DATE "Mon 06/12/2017 18:43" .define SPLASH_MESSAGE "Post-Contest Build" .define COPYRIGHT "Copyright 2016-2017 cpprograms" .define COMMIT_COUNT 228 .define CODE_LINE_COUNT 9607 .define SHOW_VERSION_STRING 0
page 0 cpu 56000 include stddef56k.inc segment code org $300 nop enddo illegal reset rti rts stop swi wait jmp $214 jsr $889 jmp $3567 jsr $2340 jmp (r3) jsr (r5) jmp (r6)+ jsr (r1)+ jmp (r4)- jsr (r2)- jmp -(r5) jsr -(r0) jmp (r3+n3) jsr (r7+n7...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x11281, %r14 nop nop nop inc %rax movw $0x6162, (%r14) nop nop nop nop nop xor %r13, %r13 lea addresses_WT_ht+0x3001, %rsi lea addresses_A_ht+0x2b81, %rdi nop nop and $37336,...
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h .model small .data .code main proc mov ah,1 ;4 input assci 52 int 21h mov bl,al mov ah,1 ;3 input 51 in...
copyright zengfr site:http://github.com/zengfr/romhack 0075C4 move.b ($2e,A1), ($3e,A3) [boss+68, enemy+68] 0075CA exg A1, A3 [1p+3E] 00A2C6 dbra D0, $a2c0 00A304 clr.b ($3e,A4) 00A308 clr.b ($3f,A4) copyright zengfr site:http://github.com/zengfr/romhack
fr0L = $70; fr0H = $71; moleX = $72; moleY = $73; XW = $74; // block X postion+Width YH = $75; // block Y postion+Height bm = $76; // number of landslide blocks. 0 means that no blocks have fallen tb = $77; // total blocks on screen Xpos = $78; Ypos = $79; Block = $7a; Color = $7b; BlockW = $7c; BlockH...
; ; Small C z88 File functions ; Written by Dominic Morris <djm@jb.man.ac.uk> ; 22 August 1998 ** UNTESTED ** ; ; 11/3/99 Revised to allow input from stdin ; ; *** THIS IS A Z88 SPECIFIC ROUTINE!!! *** ; ; Is this better now garry?!?! djm 1/4/2000 ; ; Now goes back to the correct print position ; ; ; $Id: fgets_cons.as...
/*---------------------------------------------------------------------------*\ Copyright (C) 2015-2018 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it ...
// $Id: MQ_Server.cpp 91671 2010-09-08 18:39:23Z johnnyw $ #include "ace/Signal.h" #include "ace/SV_Message_Queue.h" // FUZZ: disable check_for_streams_include #include "ace/streams.h" #include "test.h" #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_unistd.h" #include "ace/OS_NS_stdlib.h" #if defined (ACE_HAS_S...
BITS 64 global getFrequencyInfo getFrequencyInfo: mov r10,rbx mov eax, 0x16 cpuid mov [rdi], ax mov [rdi+2], bx mov [rdi+4], cx mov rbx, r10 ret
//===- ComprehensiveBufferize.cpp - Single pass bufferization -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
; uti_beep_asm include dev8_keys_qdos_sms section utility xdef beep_ok xdef beep_err,beep_err1 *++++ * OK-Beep * * all regs preserved *---- dat_ok dc.b $0a,$08 ; sound, 8 parameters dc.l %1010101010101010 ; all 8 bits of each dc.b 8 ; pitch1=8 dc.b 0 ; pitch2=0 dc.b 0,0 ; no interval dc.b 4000&$F...
<% from pwnlib.shellcraft import common %> <% from pwnlib.shellcraft.mips.linux import dup2 %> <% from pwnlib.shellcraft.mips import mov %> <%page args="sock = '$s0'"/> <%docstring> Args: [sock (imm/reg) = s0] Duplicates sock to stdin, stdout and stderr </%docstring> <% dup = common.label("dup") looplab...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The KenFMcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "amount.h" #include "chain.h" #include "chainparams.h" ...
ld (hl), 0x2 ; @@ 0x11dc 36 02 .instr dec hl ; @@ 0x11de 2b cp h ; @@ 0x11df bc jr nz, 0x11dc ; @@ 0x11e0 20 fa
/********************************************************************** * Copyright (c) 2008-2013, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
TMHMPocket: ld a, $1 ldh [hInMenu], a call TMHM_PocketLoop ld a, $0 ldh [hInMenu], a ret nc call PlaceHollowCursor call WaitBGMap ld a, [wCurItem] dec a ld [wCurItemQuantity], a ld hl, wTMsHMs ld c, a ld b, 0 add hl, bc ld a, BANK(wTMsHMs) call GetFarWRAMByte ; ld a, [hl] ld [wItemQuantityBuffer], a ...
0D00 3E 00 0D02 0E 05 0D04 81 0D05 0D 0D06 C2 04 0D 0D09 76
page ,132 title _innative_internal_env_memcmp - compare to blocks of memory ;*** ;memcmp.asm - compare two blocks of memory ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ;Purpose: ; defines memcmp() - compare two memory blocks lexically and ; find their order. ; ...
#include <os> #include <sys/utsname.h> int main() { struct utsname struct_test; CHECKSERT(uname(&struct_test) == 0, "uname with buffer returns no error"); CHECKSERT(strcmp(struct_test.sysname, "IncludeOS") == 0, "sysname is IncludeOS"); CHECKSERT(strcmp(struct_test.nodename, "IncludeOS-node") == 0, "n...
; A036122: a(n) = 2^n mod 29. ; 1,2,4,8,16,3,6,12,24,19,9,18,7,14,28,27,25,21,13,26,23,17,5,10,20,11,22,15,1,2,4,8,16,3,6,12,24,19,9,18,7,14,28,27,25,21,13,26,23,17,5,10,20,11,22,15,1,2,4,8,16,3,6,12,24,19,9,18,7,14,28,27,25,21,13,26,23,17,5,10,20,11,22,15,1,2,4,8,16,3,6,12,24,19,9,18,7,14,28,27 mov $1,1 mov $2,$0 lpb...
92 instructions in 1 segments; (no label): 92 instructions push 0x0; #arg count; start of __$boot push -0x1; #arg ptr call_pc 0x45; #call to __$global ; initialize globals call_pc 0x1b; #call to main ; transfer control to main halt; #end of platform main push_thread; #; start of stackem_getthreadid pull 0x1; j; main2...
extern m7_ippsGFpECESGetBuffersSize_SM2:function extern n8_ippsGFpECESGetBuffersSize_SM2:function extern y8_ippsGFpECESGetBuffersSize_SM2:function extern e9_ippsGFpECESGetBuffersSize_SM2:function extern l9_ippsGFpECESGetBuffersSize_SM2:function extern n0_ippsGFpECESGetBuffersSize_SM2:function extern k0_ippsGFpECESGetBu...
/* Copyright 2017 The MathWorks, Inc. */ #ifndef MATLAB_DATA_VISITORS_HPP #define MATLAB_DATA_VISITORS_HPP #include <complex> #include <type_traits> #include "ArrayType.hpp" #include "TypedArray.hpp" #include "Struct.hpp" #include "Object.hpp" #include "ObjectArray.hpp" #include "StructArray.hpp" #include "EnumArr...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r8 push %rax push %rbp push %rcx push %rsi // Faulty Load lea addresses_WT+0x1ee98, %r13 nop nop xor $28356, %rcx movb (%r13), %r8b lea oracles, %rax and $0xff, %r8 shlq $12, %r8 mov (%rax,%r8,1), %r8 p...
#include "quickVtkHedgeHog.hpp" namespace quick { namespace Vtk { Qml::Register::Class<HedgeHog> HedgeHog::Register(true); HedgeHog::HedgeHog() : PolyDataAlgorithm(vtkSmartPointer<vtkHedgeHog>::New()) { this->m_vtkObject = vtkHedgeHog::SafeDownCast(Algorithm::getVtkObject()); ...
copyright zengfr site:http://github.com/zengfr/romhack 03396A move.b D0, ($bb,A6) 03396E move.b D0, ($bc,A6) 033C72 cmpi.b #$c, ($bb,A6) 033C78 beq $33c94 [enemy+BB] 033C80 addq.b #4, ($bb,A6) [enemy+BA] 033C84 bsr $33c9e [enemy+BB] 033CB4 move.b ($bb,A6), D1 033CB8 movea.l (A1,D1.w), A1 [enem...
/* * c64lib/copper64/examples/e03-bitmap-demo.asm * * Demo program for copper64 routine. * * Author: Maciej Malecki * License: MIT * (c): 2018 * GIT repo: https://github.com/c64lib/copper64 */ #import "chipset/lib/mos6510.asm" #import "chipset/lib/vic2-global.asm" #import "text/lib/text.asm" #impor...
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <limits> #include <stdint.h> template <typename R> struct VirtFuncInvoker0 { typedef R (*Func)(void*, const RuntimeMethod*); static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj) { const Virt...
; A132353: a(n) = 3*a(n-1) - a(n-3) + 3*a(n-4), starting with 1, 2, 6, 20. ; Submitted by Christian Krause ; 1,2,6,20,61,183,547,1640,4920,14762,44287,132861,398581,1195742,3587226,10761680,32285041,96855123,290565367,871696100,2615088300,7845264902,23535794707,70607384121,211822152361,635466457082,1906399371246,571919...
; A016766: a(n) = (3*n)^2. ; 0,9,36,81,144,225,324,441,576,729,900,1089,1296,1521,1764,2025,2304,2601,2916,3249,3600,3969,4356,4761,5184,5625,6084,6561,7056,7569,8100,8649,9216,9801,10404,11025,11664,12321,12996,13689,14400,15129,15876,16641,17424,18225,19044,19881,20736,21609,22500,23409,24336,25281,26244,27225,28224,...
/* $Id: dir-win.cpp $ */ /** @file * IPRT - Directory, Windows. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms ...
; void __CALLEE__ *memmove_callee(void *s1, void *s2, uint n) ; copy n chars from s2 to s1, overlap safe ; 01.2007 aralbrec PUBLIC memmove_callee PUBLIC ASMDISP_MEMMOVE_CALLEE .memmove_callee pop hl pop bc pop de ex (sp),hl ; enter : bc = uint n ; de = void *s2 ; hl = void *s...
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_dkud3_TrnsDeutch _ff_dkud3_TrnsDeutch: BINARY "font/fzx/fonts/dkud3/Deutch/trnsdeutch.fzx"
// Original Recurrence dp[i][j] = min(dp[i-1][k] + C[k][j]) for k < j // Sufficient condition: A[i][j] <= A[i][j+1] where A[i][j] = smallest k that gives optimal answer // How to use: // // compute i-th row of dp from L to R. optL <= A[i][L] <= A[i][R] <= optR // compute(i, L, R, optL, optR) // 1. special cas...
%PAGESIZE 255, 255 IDEAL P486N MODEL small STACK 200h PUBLIC Main INCLUDE "Types.inc" DATASEG BorderSmb sString <1, "#"> ; SnakeSmb sString <1, "*"> ; FoodSmb sString <1, "@"> ; VoidSmb sString <1, " "> ; SystemTime sTime <> ; FakeTime sTime <> ; SysTimeString sString <> ; FakeTimeString sString...
#include "telemetry_impl.h" #include "system.h" #include "math_conversions.h" #include "global_include.h" #include <cmath> #include <functional> #include <string> #include <array> #include <cassert> namespace mavsdk { TelemetryImpl::TelemetryImpl(System& system) : PluginImplBase(system) { _parent->register_plugin...
extern m7_ippsGFpAdd_PE:function extern n8_ippsGFpAdd_PE:function extern y8_ippsGFpAdd_PE:function extern e9_ippsGFpAdd_PE:function extern l9_ippsGFpAdd_PE:function extern n0_ippsGFpAdd_PE:function extern k0_ippsGFpAdd_PE:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment .data align 8 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x92c7, %rsi lea addresses_UC_ht+0x86ef, %rdi nop nop nop and %rbp, %rbp mov $71, %rcx rep movsl nop xor $49706, %r11 lea addresses_D_ht+0x4d67, %r15 nop nop nop cmp $60084, %...
global add section .text add: mov rax, rdi add rax, rsi ret
; A334414: First differences of A334415. ; 0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0 mov $8,$0 mov $10,2 lpb $10 clr $0,8 mov $0,$8 sub $10,1 add $0,$10 mul $0,13 mov $1,3...
; Original address was $B7AA ; 7-6 .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKLOW .byte LEVEL4_BGBANK_INDEX(0) | LEVEL4_INITACT_NOTHING ...
// Copyright (c) 2012 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 "base/command_line.h" #include "base/file_util.h" #include "base/memory/scoped_ptr.h" #include "base/path_service.h" #include "base/strings/s...
TITLE Console Demo #2 (Console2.asm) ; Demonstration of SetConsoleCursorPosition, ; GetConsoleCursorInfo, SetConsoleCursorInfo, ; SetConsoleScreenBufferSize, SetConsoleCursorPosition, ; SetConsoleTitle, and GetConsoleScreenBufferInfo. ; Last update: 9/28/01 INCLUDE SmallWin.inc .data outHan...
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // The following ...
/* Copyright 2018 The TensorFlow Authors. 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 Unless required by applicable law or a...
* Sprite f7 * * Mode 4 * +|-------+ * -ggg gggg- * |g g g| * |g g| * |gg g | * |g g | * |g g | * |g g | * +|-------+ * section sprite xdef sp_f7 xref sp_zero sp_f7 dc.w $0100,$0000 dc.w 8,7,0,0 dc.l sc4_f7-* dc.l sp_zero-* dc.l 0 sc4_f7 dc.w $EF00,$0000 dc.w $8900,$0000 dc.w $8100,$0000 dc....
db 0 ; species ID placeholder db 37, 25, 41, 25, 25, 41 ; hp atk def spd sat sdf db BUG, BUG ; type db 255 ; catch rate db 54 ; 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/kricketot/fron...
; A183264: Number of singly defective permutations of 1..n with exactly 1 maximum. ; 0,2,15,64,220,672,1904,5120,13248,33280,81664,196608,465920,1089536,2519040,5767168,13090816,29491200,65994752,146800640,324796416,715128832,1567621120,3422552064,7444889600,16139681792,34879832064,75161927680,161531035648,346281738240...
; A102781: Number of positive even numbers less than the n-th prime. ; 0,1,2,3,5,6,8,9,11,14,15,18,20,21,23,26,29,30,33,35,36,39,41,44,48,50,51,53,54,56,63,65,68,69,74,75,78,81,83,86,89,90,95,96,98,99,105,111,113,114,116,119,120,125,128,131,134,135,138,140,141,146,153,155,156,158,165,168,173,174,176,179,183,186,189,191...
############################################################################### # Copyright 2019 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") containe...
; A229004: Indices of Bell numbers divisible by 3. ; 4,8,9,11,17,21,22,24,30,34,35,37,43,47,48,50,56,60,61,63,69,73,74,76,82,86,87,89,95,99,100,102,108,112,113,115,121,125,126,128,134,138,139,141,147,151,152,154,160,164,165,167,173,177,178,180,186,190,191,193,199,203,204,206,212,216,217,219,225,229,230,232,238,242,243,...
; A079484: a(n) = (2n-1)!! * (2n+1)!!, where the double factorial is A006882. ; Submitted by Jon Maiga ; 1,3,45,1575,99225,9823275,1404728325,273922023375,69850115960625,22561587455281875,9002073394657468125,4348001449619557104375,2500100833531245335015625,1687568062633590601135546875,1321365793042101440689133203125,11...
; A016852: (5n)^4. ; 0,625,10000,50625,160000,390625,810000,1500625,2560000,4100625,6250000,9150625,12960000,17850625,24010000,31640625,40960000,52200625,65610000,81450625,100000000,121550625 mul $0,5 mov $1,$0 pow $1,4
; A053191: a(n) = n^2 * phi(n). ; 1,4,18,32,100,72,294,256,486,400,1210,576,2028,1176,1800,2048,4624,1944,6498,3200,5292,4840,11638,4608,12500,8112,13122,9408,23548,7200,28830,16384,21780,18496,29400,15552,49284,25992,36504,25600,67240,21168,77658,38720,48600,46552,101614,36864,100842,50000,83232,64896,146068,52488,121...