text
stringlengths
1
1.05M
// Copyright (c) 2012 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 <stdint.h> #include <fcntl.h> #include <sys/types.h> #include <unistd.h> #include <cstdio> #include <cstdlib> #include <base/command_li...
/* Copyright (c) 2012 Cheese and Bacon Games, LLC */ /* This file is licensed under the MIT License. */ /* See the file docs/LICENSE.txt for the full license text. */ #include "image_data.h" #include "render.h" #include "world.h" using namespace std; Image_Data::Image_Data(){ texture=0; w=0.0; h=0.0; } ...
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems. 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 ...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-iparam-stdcall.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC ___local_stdio_printf_options PUBLIC __vfprintf_l PUBLIC...
;***************************************************************************** ;* MMX/SSE2-optimized H.264 deblocking code ;***************************************************************************** ;* Copyright (C) 2005-2008 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* ;* This program is f...
; Assembly for testdim3-native.bas ; compiled with mcbasic -native ; Equates for MC-10 MICROCOLOR BASIC 1.0 ; ; Direct page equates DP_LNUM .equ $E2 ; current line in BASIC DP_TABW .equ $E4 ; current tab width on console DP_LPOS .equ $E6 ; current line position on console DP_LWID .equ $E7 ; current line width of cons...
#include <bits/stdc++.h> using namespace std; int available[] = {1, 2, 5, 10, 20, 50, 100, 200 , 500, 1000 , 2000}; int n = sizeof(available)/sizeof(available[0]); void findMin(int value) { vector <int> res; for (int i = n-1; i >= 0; i-- ) { while (value >= available[i]) { value ...
level_tiles: DB 0, 0, 0, 0, 0, 0, 0, 0, 71 DB 255, 170, 212, 160, 194, 165, 194, 128, 111 DB 7, 43, 81, 35, 1, 35, 5, 11, 105 DB 0, 248, 215, 239, 171, 6, 160, 0, 69 DB 0, 15, 223, 91, 181, 128, 42, 0, 69 DB 0, 0, 0, 0, 0, 0, 0, 0, 56 DB 0, 65, 8, 128, 4, 137, 64, 171, 105 DB 1, 11, 33, 67, 1, 11, 23, 255, 40 l...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x7bdf, %r9 nop nop sub %r13, %r13 mov (%r9), %r14 nop sub $29229, %rax lea addresses_A_ht+0x1b6d0, %rsi lea addresses_normal_ht+0xcd8, %rdi nop xor %r10, %r10 mov $42, %rcx re...
; A140226: Binomial transform of [1, 3, 3, 1, 1, -1, 1, -1, 1, ...]. ; 1,4,10,20,36,60,94,140,200,276,370,484,620,780,966,1180,1424,1700,2010,2356,2740,3164,3630,4140,4696,5300,5954,6660,7420,8236,9110,10044,11040,12100,13226,14420 mov $1,1 lpb $0,1 add $2,$0 sub $0,1 add $3,4 mov $1,$3 add $3,$2 lpe
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. default rel %define XMMWORD %define YMMWORD %define ZMMWORD %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif section .text code align=64 EXTERN OPENSSL_ia32cap_P global sha1_bl...
// // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2016 // // Copyright: See COPYING file that comes with this distribution // #pragma once #include <wjrpc/outgoing/outgoing.hpp> #include <wjrpc/basic_types.hpp> #include <memory> namespace wjrpc{ template<typename T> struct outgoing_error: outgoing { ...
#include <iostream> #include <vector> using namespace std; class Solution { public: int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) { int m = obstacleGrid.size(); int n = obstacleGrid[0].size(); int64_t matrix[m][n]; matrix[0][0] = 1 - obstacleGrid[0][0]; fo...
;------------------------------------------------------------------------------ ; ; 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...
// Copyright (c) 2011-2017 The Cryptonote developers // Copyright (c) 2014-2017 XDN developers // Copyright (c) 2016-2017 BXC developers // Copyright (c) 2017 Doppler developers // Copyright (c) 2017 Doppler developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xeb1, %r11 nop nop nop cmp $39897, %rbp movb $0x61, (%r11) cmp %r14, %r14 lea addresses_A_ht+0x6491, %r9 clflush (%r9) nop nop nop nop sub %r10, %r10 mov (...
; A093383: One of the 16 sequences illustrating the fact that A093382(2) = 31. ; Submitted by Jamie Morken(s3) ; 0,0,0,1,1,0,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 sub $1,$0 mul $0,4 div $1,2 sub $1,1 div $0,$1 div $0,$1 mod $0,2
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0xddbf, %r10 clflush (%r10) nop nop nop nop xor $28845, %rsi movl $0x61626364, (%r10) nop nop nop nop nop and $55818, %r14 lea addresses_D_ht+0x10803, %rax nop nop cmp $62664, %...
; A212832: Decimal expansion of 5/24. ; Submitted by Jon Maiga ; 2,0,8,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 mul $0,36 div $0,27 mul $0,8 min $0,21 add $0,2 mod $0,10
INCLUDE "hardware.inc" SECTION "STAT Interrupt", ROM0[$0048] call StatInt ;call CheckInput ret SECTION "Header", ROM0[$0100] jp Boot /* Header: db 0 db NINTENDO_LOGO db "GDMA GUY ", 0 db CART_COMPATIBLE_GBC db 0, 0 db CART_INDICATOR_GB db CART_ROM db CART_ROM_32KB db CART_SRAM_NONE db CART_DEST_J...
; A288349: Partial sums of A059268. ; 1,2,4,5,7,11,12,14,18,26,27,29,33,41,57,58,60,64,72,88,120,121,123,127,135,151,183,247,248,250,254,262,278,310,374,502,503,505,509,517,533,565,629,757,1013,1014,1016,1020,1028,1044,1076,1140,1268,1524,2036 mov $10,$0 mov $12,$0 add $12,1 lpb $12 mov $0,$10 sub $12,1 sub $0,$...
#include "AbsPart.h" AbsPart::AbsPart (bool drawable_) { drawable = drawable_; volumeIndex = -1; logical = NULL; numberTriangles = -1; numberVertices = -1; }
_hello_test: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" #include "fcntl.h" 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...
// ------------------------------------------------------------------------------------------------- // Copyright 2017 - NumScale SAS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE.txt or copy at // ...
// normal_misc_examples.cpp // Copyright Paul A. Bristow 2007, 2010, 2014, 2016. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) // Example of using normal distribution. //...
[extern _foo] call _foo ; r_type=X86_64_RELOC_BRANCH, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo ; E8 00 00 00 00 call _foo+4 ; r_type=X86_64_RELOC_BRANCH, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo ; E8 04 00 00 00 mov rax, [rel _foo wrt ..gotpcrel] ; r_type=X86_64_RELOC_GOT_LOAD, r_length=2...
dc.w word_21250-Map_SurfboardSplash dc.w word_2125E-Map_SurfboardSplash dc.w word_2126C-Map_SurfboardSplash dc.w word_2127A-Map_SurfboardSplash dc.w word_21288-Map_SurfboardSplash dc.w word_21296-Map_SurfboardSplash dc.w word_212A4-Map_SurfboardSplash word_21250: dc.w 2 dc.b $F0, 9, 0, 0, 0, ...
.text .intel_syntax noprefix .literal16 .p2align 4 MASK1: .long 0 .long 0xffffffff .long 0 .long 0 MASK2: .long 0 .long 0 .long 0xffffffff .long 0 ...
; A060352: a(n) = n*3^n - 1. ; 2,17,80,323,1214,4373,15308,52487,177146,590489,1948616,6377291,20726198,66961565,215233604,688747535,2195382770,6973568801,22082967872,69735688019,219667417262,690383311397,2165293113020,6778308875543,21182215236074,66088511536553,205891132094648,640550188738907,1990280943581606,61767339...
; 1-warmup.asm ; ask user to enter 3 characters, store in ; an array, and display with MOV AH, 09H .MODEL SMALL .STACK 100 .DATA STRP DB "PASS$" STRF DB "FAIL$" SCORE DB 7 .CODE MAIN PROC MOV AX,@DATA MOV DS,AX ; IF (SCORE >= 5) CMP SCORE, 5 JL FAIL MOV AH, 9 ...
Route15Gate1F_h: db GATE ; tileset db ROUTE_15_GATE_1F_HEIGHT, ROUTE_15_GATE_1F_WIDTH ; dimensions (y, x) dw Route15Gate1F_Blocks ; blocks dw Route15Gate1F_TextPointers ; texts dw Route15Gate1F_Script ; scripts db 0 ; connections dw Route15Gate1F_Object ; objects
// Copyright (c) 2019 The Firo Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sigmawallet.h" #include "walletmodels.h" #include "../uint256.h" #include "../crypto/hmac_sha256.h" #include "../crypto/...
/********************************************************************** obconversion.cpp - Declaration of OBFormat and OBConversion Copyright (C) 2004 by Chris Morley Some portions Copyright (C) 2005-2006 by Geoffrey Hutchison This file is part of the Open Babel project. For more information, see <http://openbabel.o...
object_const_def ; object_event constants const AZALEAGYM_BUGSY const AZALEAGYM_BUG_CATCHER1 const AZALEAGYM_BUG_CATCHER2 const AZALEAGYM_BUG_CATCHER3 const AZALEAGYM_TWIN1 const AZALEAGYM_TWIN2 const AZALEAGYM_GYM_GUY AzaleaGym_MapScripts: db 0 ; scene scripts db 0 ; callbacks AzaleaGymBugsyScript: facep...
# # A blinking and counting LED as hello world # ldi 0x00 st r1 outer: ld r1 addi 0x01 st r1 io 0x0 ldi 0x7f st r3 loop3: ldi 0xff st r2 loop2: ldi 0xff loop: subi 0x01 brnz loop ld r2 subi 0x01 st r2 brnz loop2 ld r3 subi 0x01 st r3 brnz loop3 br outer
Route16House_h: db HOUSE ; tileset db ROUTE_16_HOUSE_HEIGHT, ROUTE_16_HOUSE_WIDTH ; dimensions (y, x) dw Route16HouseBlocks, Route16HouseTextPointers, Route16HouseScript ; blocks, texts, scripts db $00 ; connections dw Route16HouseObject ; objects
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/applicationcostprofiler/model/DeleteReportDefinitionResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/String...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D94 move.l D1, (A1)+ 004D96 dbra D0, $4d94 018B9E move.w #$168, ($ec,A6) 018BA4 addq.b #2, ($6,A6) [123p+ EC] 018CD4 move.w ($ec,A6), D0 018CD8 beq $18d00 [123p+ EC] 018CEA subq.w #1, ($...
move.b d0, temp ; Temp move.l a0, temp2 move.b (a0), d0 ; Get item from spot addr lsr #$01, d0 cmpi.b #$20, d0 ; Make sure item is >= 0x20, as that means its a spell beq check_spot bpl check_spot vanilla: move.b temp, d0 ; Retrieve temp move.l temp2, a0 ...
; A001973: Expansion of (1+x^3)/((1-x)*(1-x^2)^2*(1-x^3)). ; 1,1,3,5,8,12,18,24,33,43,55,69,86,104,126,150,177,207,241,277,318,362,410,462,519,579,645,715,790,870,956,1046,1143,1245,1353,1467,1588,1714,1848,1988,2135,2289,2451,2619,2796,2980,3172,3372,3581,3797,4023,4257,4500,4752,5014,5284,5565,5855,6155,6465,6786,711...
; A062026: a(n) = n(n+1)(n^2 -3n +6)/4 ; 0,2,6,18,50,120,252,476,828,1350,2090,3102,4446,6188,8400,11160,14552,18666,23598,29450,36330,44352,53636,64308,76500,90350,106002,123606,143318,165300,189720,216752,246576,279378,315350,354690,397602,444296,494988,549900,609260,673302,742266,816398,895950,981180,1072352,1169736...
#define DLL_EXPORT #include "Exports.h" #include "CGuiStrategy_MyGui.h" #include "Plugins/IGuiStrategyFactory.h" namespace Core { namespace Plugin { Core::GUI::CGuiStrategyFactory_MyGui* GuiStrategyFactory_MyGui = nullptr; extern "C" { DECLDIR void GetFactories(Vector<IGuiStrategyFactory*>& list) { GuiStra...
; A080343: a(n) = round(sqrt(2*n)) - floor(sqrt(2*n)). ; 0,0,0,0,1,0,0,1,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <protocol.h> #include <util/system.h> #include <util/strencodings.h> #...
title "Opcode 0f Instruction Emulation" ;++ ; ;Copyright (c) 1991 Microsoft Corporation ; ;Module Name: ; ; vdmop0f.asm ; ;Abstract: ; ; This module contains the support for the 0f opcodes that are emulated ; (such as LMSW, mov to/from CR0, mov to/from DR?). ; ; ;Author: ; ; Dave H...
; A022786: Place where n-th 1 occurs in A023124. ; 1,2,3,5,7,9,12,15,18,22,26,31,36,41,47,53,59,66,73,80,88,96,105,114,123,133,143,153,164,175,187,199,211,224,237,250,264,278,292,307,322,338,354,370,387,404,421,439,457,476,495,514,534,554,574 mov $2,$0 mov $3,$0 add $3,1 lpb $3 mov $0,$2 sub $3,1 sub $0,$3 mul...
TITLE txtdir.asm - Text Mgr's Direct Mode Statement support ;========================================================================== ; ;Module: txtdir.asm - Text Mgr's Direct Mode Statement support ;System: Quick BASIC Interpreter ; ;=========================================================================*/ ; ;...
.586 .model flat, c .data x dd 0h x1 dd 0h x2 dd 0h b dd 0 fractionalPart db ? two dd 2 buf dd 80 dup(0) decCode db ? buffer dd 128 dup(?) .code Mul_N_x_32_LONGOP proc push ebp mov ebp, esp mov esi, [ebp + 16] mov edi, [ebp + 12] mov ebx, [ebp + 8] mov x, ebx mov ecx, 8 xor ebx, ebx @cycle1:...
// Copyright (c) 2017 Google Inc. // // 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...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r14 push %r15 push %rbx push %rdx // Faulty Load lea addresses_WC+0x1bf99, %rdx clflush (%rdx) nop nop nop nop nop add $12076, %r11 mov (%rdx), %r14d lea oracles, %r11 and $0xff, %r14 shlq $12, %r14 mov (%r11,%r1...
; $Id: bs3-mode-SwitchToPAE16_32.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; BS3Kit - Bs3SwitchToPAE16_32 ; ; ; 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 redistr...
db DEX_EKANS ; pokedex id db 45 ; base hp db 60 ; base attack db 44 ; base defense db 55 ; base speed db 40 ; base special db POISON ; species type 1 db POISON ; species type 2 db 255 ; catch rate db 62 ; base exp yield INCBIN "pic/ymon/ekans.pic",0,1 ; 55, sprite dimensions dw EkansPicFront dw EkansPicBack ; attacks k...
; Startup fo SAM Coupe ; ; Stefano 26/3/2001 ; ; If an error occurs eg break we just drop back to BASIC ; ; $Id: sam_crt0.asm,v 1.20 2016-06-21 20:49:06 dom Exp $ ; PUBLIC THIS_FUNCTION_ONLY_WORKS_WITH_BASIC_SUBTYPE defc THIS_FUNCTION_ONLY_WORKS_WITH_BASIC_SUBTYPE = 1 defc ...
; A028148: Expansion of 1/((1-4x)(1-7x)(1-8x)(1-12x)). ; Submitted by Christian Krause ; 1,31,617,10079,147609,2022447,26547529,338695423,4238709497,52353238223,640806363561,7794824571807,94411354501465,1140149916014959,13741090450747913,165378493289389631 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov $0,$3 sub $2,1 s...
/* * License:The MIT License (MIT) * * Copyright (c) 2013,2014 Yanyu Su * State Key Laboratory of Robotics and System, Harbin Institute of Technology * * 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 ...
org 100h .code basla: call kurkon cmp dh, 5 je son inc dh mov bh, dh call satir loop basla satir: call yaz dec bh cmp bh, 0 jne satir ret kurkon proc ...
//********************************************************************** // // ShaderFramework.cpp // // Super simple C-style framework for Shader Demo // (NEVER ever write framework like this when you are making real games.) // // Author: Pope Kim // //****************************************************************...
#Tom Regan <noreply.tom.regan@gmail.com> #2011-07-04 #add.asm-- Computes the sum of 1 and 2 #modifies: t0 (result) # t1 (operand) main: addi $t0, $zero, 2 #t0 <- 2 addi $t1, $zero, 2 #t1 <- 2 add $t0, $t0, $t1 #t0 <- 2 + 2 slt $v0, $t0, $t1 #v0=1 iff t0<t1 else v0=0 ...
db "BAT@" ; species name dw 503, 1210 ; height, weight db "When it plunges" next "its fangs into its" next "prey, it instantly" page "draws and gulps" next "down more than ten" next "ounces of blood.@"
%ifdef CONFIG { "RegData": { "RBX": "0x8000000000000000", "RCX": "0x0000000000000000", "RDX": "0xC000000000000000", "RSI": "0x4000000000000000", "R8": "0x1", "R9": "0x1", "R10": "0x0", "R11": "0x0" } } %endif mov rbx, 0x0000000000000001 mov rcx, 0x0000000000000001 mov rdx, 0x80000...
; A262699: List of currency denominations such that any value x > 0 is represented in exactly x ways as a sum of distinct denominations, where a repeated value represents a bill and a coin which count as distinct denominations. ; 1,2,2,3,4,4,8,8,16,16,32,32,64,64,128,128,256,256,512,512,1024,1024,2048,2048,4096,4096,81...
;; ;; Copyright (c) 2012-2018, 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...
; A199313: 9*5^n+1. ; 10,46,226,1126,5626,28126,140626,703126,3515626,17578126,87890626,439453126,2197265626,10986328126,54931640626,274658203126,1373291015626,6866455078126,34332275390626,171661376953126,858306884765626,4291534423828126,21457672119140626,107288360595703126,536441802978515626,2682209014892578126,134110...
; $Id: bit_open_di.asm,v 1.3 2016-06-16 20:23:51 dom Exp $ ; ; TRS-80 1 bit sound functions ; ; Open sound and disable interrupts for exact timing ; ; Stefano Bodrato - 8/4/2008 ; SECTION code_clib PUBLIC bit_open_di PUBLIC _bit_open_di EXTERN bit_open .bit_open_di ._bit_open_di jp bit_o...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld b, 91 call lwaitly_b ld a, b1 ldff(40), a ld a, 00 ldff(4a), a ld a, a6 ldff(4b), a ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a x...
copyright zengfr site:http://github.com/zengfr/romhack 03B88E move.b D0, ($87,A6) 03B892 move.b D0, ($63,A6) 03B896 move.b #$b4, ($72,A6) 03B89C move.b D0, ($b5,A6) [enemy+12, enemy+32, enemy+52, enemy+72, enemy+92, enemy+B2] 03B8A0 jsr $32032.l 03B8AA jsr $3140c.l [enemy+16, enemy+36, enemy+56, ...
;***************************************************************************** ;* sad-a.asm: x86 sad functions ;***************************************************************************** ;* Copyright (C) 2003-2013 x264 project ;* Copyright (C) 2013-2017 MulticoreWare, Inc ;* ;* Authors: Loren Merritt <lorenm@u.washi...
; void *balloc_addmem(unsigned char q, size_t num, size_t size, void *addr) SECTION code_clib SECTION code_alloc_balloc PUBLIC _balloc_addmem EXTERN l0_balloc_addmem_callee _balloc_addmem: pop af pop ix pop bc pop hl pop de push de push hl push bc push hl push af jp l0_bal...
/****************************************************************************** This source file is part of the MoleQueue project. Copyright 2012 Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distribute...
/* * Copyright (C) Angel Newton * * 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...
; ; Undrawbox ; ; Generic high resolution version ; ; ; $Id: w_undrawb.asm,v 1.1 2016/10/18 06:52:34 stefano Exp $ ; INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC undrawb PUBLIC _undrawb EXTERN w_respixel EXTERN w_line_r EXTERN swapgfxbk EXTERN swapgfxbk1 EXTERN __graphics_end .undrawb ._undraw...
// Copyright 2010 Dean Michael Berris. // Copyright 2012 Google, Inc. // 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) #ifndef NETWORK_PROTOCOL_HTTP_MESSAGE_MODIFIERS_MAJOR_VERSION_HPP_20101120 #define NETWORK_P...
; A019694: Decimal expansion of 2*Pi/5. ; Submitted by Jon Maiga ; 1,2,5,6,6,3,7,0,6,1,4,3,5,9,1,7,2,9,5,3,8,5,0,5,7,3,5,3,3,1,1,8,0,1,1,5,3,6,7,8,8,6,7,7,5,9,7,5,0,0,4,2,3,2,8,3,8,9,9,7,7,8,3,6,9,2,3,1,2,6,5,6,2,5,1,4,4,8,3,5,9,9,4,5,1,2,1,3,9,3,0,1,3,6,8,4,6,8,2,7 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul $1,$3 mov...
; A016998: a(n) = (7*n + 1)^6. ; 1,262144,11390625,113379904,594823321,2176782336,6321363049,15625000000,34296447249,68719476736,128100283921,225199600704,377149515625,606355001344,941480149401,1418519112256,2081951752609,2985984000000,4195872914689,5789336458816,7858047974841,10509215371264,13867245015625,180754903347...
; float __fsub (float left, float right) SECTION code_clib SECTION code_fp_am9511 PUBLIC cam32_sdcc_fsub EXTERN cam32_sdcc_readr, asm_am9511_fsub .cam32_sdcc_fsub ; subtract sdcc float from sdcc float ; ; enter : stack = sdcc_float right, sdcc_float left, ret ; ; exit : DEHL = sdcc_float(left...
; int wv_priority_queue_resize(wv_priority_queue_t *q, size_t n) SECTION code_clib SECTION code_adt_wv_priority_queue PUBLIC wv_priority_queue_resize_callee EXTERN wa_priority_queue_resize_callee defc wv_priority_queue_resize_callee = wa_priority_queue_resize_callee ; SDCC bridge for Classic IF __CLASSIC PUBLIC _...
.thumb .org 0x0 .equ ClassGrowthOption, Extra_Growth_Boosts+4 @r0=battle struct or char data ptr ldr r1,[r0] ldrb r1,[r1,#29] @str growth ldr r2,ClassGrowthOption cmp r2,#0 beq GetExtraGrowthBoost ldr r2,[r0,#4] add r2,#28 ldrb r2,[r2] add r1,r2 GetExtraGrowthBoost: mov r2,#11 @index of str boost ldr r3,Ex...
$NOMOD51 ;------------------------------------------------------------------------------ ; This file is part of the C51 Compiler package ; Copyright (c) 1988-2005 Keil Elektronik GmbH and Keil Software, Inc. ; Version 8.01 ; ; *** <<< Use Configuration Wizard in Context Menu >>> *** ;-------------------------------...
title ersbch32 ; page 80,132 ;-----------------------------------------------------------------------; ; ersbch32.asm fast GF(2^8) stuff ; ; Copyright(c) 2020, Jeff Reid ; ; 2020JUN27 21:15 ; ;-----------------------------------------------------------------------; nrow equ 20 ;max # rows ...
;; Detect processor type. ;; Code by Richard C. Leinecker, from Dr. Dobbs Journal, June 1993 ;; Transcribed (with some deletions of code unnecessary for RIPEM ;; by Mark Riordan on 24 June 1993. ;; ;; Usage: ;; ;; extern int ProcessorType(void); ;; ;; Returns 0 for 8088/8086, 2 for 80286, 3 for 80386 or above...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Buffer Definitions: // // cbuffer cbblurVS // { // // int2 g_iWidthHeight; // Offset: 0 Size: 8 // int g_iKernelStart; // Offset: 8 Size: 4 [unused] // int g_iKernelEnd; ...
.size 8000 .text@48 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 ld a, 02 ldff(ff), a xor a, a ldff(0f), a ei ld a, b inc a inc a ldff(45), a ld c, 0f .text@1000 lstatint: xor a, a ldff(45), a ld a, 50 ldff(4...
; A309074: a(0) = 1; a(2*n) = 4*a(n), a(2*n+1) = a(n). ; Submitted by Jon Maiga ; 1,1,4,1,16,4,4,1,64,16,16,4,16,4,4,1,256,64,64,16,64,16,16,4,64,16,16,4,16,4,4,1,1024,256,256,64,256,64,64,16,256,64,64,16,64,16,16,4,256,64,64,16,64,16,16,4,64,16,16,4,16,4,4,1,4096,1024,1024,256,1024,256,256,64,1024,256,256,64 sub $1,$...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2013, 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 distributi...
.byte $01 ; Unknown purpose .byte OBJ_REDTROOPA, $12, $10 .byte OBJ_REDTROOPA, $1C, $15 .byte OBJ_FLYINGREDPARATROOPA, $29, $13 .byte OBJ_REDTROOPA, $38, $18 .byte OBJ_PARAGOOMBA, $43, $12 .byte OBJ_PARAGOOMBA, $44, $12 .byte OBJ_REDTROOPA, $4B, $16 .byte OBJ_OSCILLATING_H, $5B, $15 .byte OBJ_OSCILLATING_H, ...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * ...
;; ; ; Name: stager_sock_reverse_nf.asm ; Qualities: Null-Free ; Platforms: MacOS X / PPC ; Authors: H D Moore <hdm [at] metasploit.com> ; Version: $Revision: 1612 $ ; License: ; ; This file is part of the Metasploit Exploit Framework ; and is subject to the same licenses ...
//--------------------------------------------------------------------------- #pragma hdrstop #include "Models.h" //--------------------------------------------------------------------------- #pragma package(smart_init)
; A094027: Expansion of x(1+100x)/((1-x^2)(1-100x^2)). ; 0,1,100,101,10100,10101,1010100,1010101,101010100,101010101,10101010100,10101010101,1010101010100,1010101010101,101010101010100,101010101010101,10101010101010100,10101010101010101 lpb $0 sub $0,2 sub $2,1 mul $2,100 lpe sub $0,$2
; double __FASTCALL__ tgamma(double x) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sccz80_tgamma EXTERN am48_tgamma defc cm48_sccz80_tgamma = am48_tgamma
; A313721: Coordination sequence Gal.5.129.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,10,15,20,24,29,34,39,44,49,54,59,64,68,73,78,83,88,93,98,103,108,112,117,122,127,132,137,142,147,152,156,161,166,171,176,181,186,191,196...
; A093406: a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) + a(n-4). ; Submitted by Christian Krause ; 1,3,11,31,71,145,289,601,1321,2979,6683,14743,32111,69697,151777,332113,728689,1598883,3503627,7668079,16774775,36704017,80343361,175916521,385196761,843365379,1846290395,4041672871,8847607391,19368919297,42403014721,9283064553...
/* //@HEADER // ************************************************************************ // // qr_epetra_multi_vector_tsqr_impl.hpp // Pressio // Copyright 2019 // National Technology & Engineering Solutions of Sandia, LLC (NTESS) // // Under the terms of Contract ...
// Copyright 2021 Google LLC // // 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 ...
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include "ImageEditor.h" #include "Image.h" #include "Layer.h" #include "MoveTool.h" #include "Tool.h" #include <LibGUI/Command.h> #include <LibGUI/Painter.h> #include <LibGfx/DisjointRectSet.h> #include <Lib...
;----------------------------------------------- ; User interface sound effects SFX_ui_move: db 7,#b8 ;; SFX all channels to tone db 10,#0b ;; volume db 4,0, 5+MUSIC_CMD_TIME_STEP_FLAG,#02 ;; frequency db MUSIC_CMD_SKIP db MUSIC_CMD_SKIP db 10,#00 ;; silence db SFX_CMD_END SFX_u...
export SP_info_camp code proc SP_info_camp 4 8 ADDRLP4 0 ADDRFP4 0 INDIRP4 ASGNP4 ADDRLP4 0 INDIRP4 ARGP4 ADDRLP4 0 INDIRP4 CNSTI4 92 ADDP4 ARGP4 ADDRGP4 G_SetOrigin CALLV pop LABELV $53 endproc SP_info_camp 4 8 export SP_info_null proc SP_info_null 0 4 ADDRFP4 0 INDIRP4 ARGP4 ADDRGP4 G_FreeEntity CALLV pop LABELV $54 ...
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
89_Header: sHeaderInit ; Z80 offset is $CEC6 sHeaderPatch 89_Patches sHeaderTick $01 sHeaderCh $02 sHeaderSFX $80, $05, 89_FM5, $B6, $08 sHeaderSFX $80, $C0, 89_PSG3, $00, $00 89_FM5: sPatFM $00 ssModZ80 $01, $01, $FA, $84 dc.b nE5, $07 sLoop $00, $07, 89_FM5 sStop 89_PSG3: ssModZ80 $01, $01, $F0, ...