text
stringlengths
1
1.05M
#include "Graphics.hh" #include "Surfaces.hh" int main(void) { bool quit; Graphics g; Surfaces s; SDL_Surface *currentSurface; SDL_Event event; quit = false; currentSurface = NULL; if (g.init() == false) return EXIT_FAILURE; if (s.loadMedia() == f...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="fd, buf, n, offset"/> <%docstring> Invokes the syscall pwrite. See 'man 2 pwrite' for more information. Arguments: fd(int): fd buf(void): buf n(size_t): n offset(off_t): offset </%docstring> ${syscall('SYS_pwrite', fd, buf, ...
class Solution { public: void moveZeroes(vector<int>& nums) { int len = nums.size(), count = 0; for (int i = 0; i < len; i ++) { if (nums[i] == 0) { count ++; nums.push_back(0); } } auto it = nums.begin(); ...
; A170671: Number of reduced words of length n in Coxeter group on 38 generators S_i with relations (S_i)^2 = (S_i S_j)^49 = I. ; 1,38,1406,52022,1924814,71218118,2635070366,97497603542,3607411331054,133474219248998,4938546112212926,182726206151878262,6760869627619495694,250152176221921340678,9255630520211089605086 ad...
/* scheme/make_sob_integer.asm * Takes an integer, and place the corresponding Scheme object in R0 * * Programmer: Mayer Goldberg, 2010 */ MAKE_SOB_INTEGER: PUSH(FP); MOV(FP, SP); PUSH(IMM(2)); CALL(MALLOC); DROP(1); MOV(IND(R0), T_INTEGER); MOV(INDD(R0, 1), FPARG(0)); POP(FP); RETURN;
; A082392: Expansion of (1/x) * sum(k>=0, x^2^k/(1-2x^2^(k+1))). ; 1,1,2,1,4,2,8,1,16,4,32,2,64,8,128,1,256,16,512,4,1024,32,2048,2,4096,64,8192,8,16384,128,32768,1,65536,256,131072,16,262144,512,524288,4,1048576,1024,2097152,32,4194304,2048,8388608,2,16777216 lpb $0 mul $0,2 sub $0,2 dif $0,4 lpe div $0,2 mov $...
; A064201: 9 times octagonal numbers: a(n) = 9n(3n-2). ; 0,9,72,189,360,585,864,1197,1584,2025,2520,3069,3672,4329,5040,5805,6624,7497,8424,9405,10440,11529,12672,13869,15120,16425,17784,19197,20664,22185,23760,25389,27072,28809,30600,32445,34344,36297,38304,40365,42480,44649,46872,49149,51480,53865,56304,58797,61344,6...
noop # War program noop # Write cards to memory addi $3, $0, 0 # i = 0 addi $4, $0, 51 # limit = 51 WriteCards: noop # write each card sw $3, 0($s3) # *i = i sw $3, 52($3) # *(i+52) = i addi $3, $3, ...
############################################################################### # 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...
TITLE Binary File Program (Binfile.asm) ; Create a binary file containing an array ; of doublewords. ; Last update: 11/12/01 INCLUDE Irvine16.inc .data myArray DWORD 50 DUP(?) fileName BYTE "binary array file.bin",0 fileHandle WORD ? commaStr BYTE ", ",0 ; Set CreateFile to zero if you j...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x16ae8, %rsi lea addresses_A_ht+0x3ca8, %rdi nop nop nop nop nop dec %rbx mov $53, %rcx rep movsw cmp $50, %rdi lea addresses_WC_ht+0x72e8, %rcx nop nop nop nop nop sub %r15, %...
title 'Preliminary Z80 tests' ; prelim.z80 - Preliminary Z80 tests ; Copyright (C) 1994 Frank D. Cringle ; ; This program is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License ; as published by the Free Software Foundation; either version 2 ; of the License, o...
; A101605: a(n) = 1 if n is a product of exactly 3 (not necessarily distinct) primes, otherwise 0. ; 0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,1,0,1,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,0,0,1,0,0,1,0,0,0,0,1...
// Copyright 2018 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 "fidl.h" #include <utility> #include <fbl/algorithm.h> #include <fbl/unique_ptr.h> #include <lib/fidl/cpp/builder.h> #include <lib/fidl/cpp/mess...
; A102591: a(n) = Sum_{k=0..n} binomial(2n+1, 2k)*3^(n-k). ; Submitted by Jon Maiga ; 1,6,44,328,2448,18272,136384,1017984,7598336,56714752,423324672,3159738368,23584608256,176037912576,1313964867584,9807567290368,73204678852608,546407161659392,4078438577864704,30441879976280064 mul $0,2 mov $3,1 lpb $0 sub $0,1 a...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="fn, child_stack, flags, arg, vararg"/> <%docstring> Invokes the syscall clone. See 'man 2 clone' for more information. Arguments: fn(int): fn child_stack(void): child_stack flags(int): flags arg(void): arg vararg(int): var...
; A100304: Expansion of (1-x-6x^2)/(1-x-8x^2). ; 1,0,2,2,18,34,178,450,1874,5474,20466,64258,227986,742050,2565938,8502338,29029842,97048546,329287282,1105675650,3739973906,12585379106,42505170354,143188203202,483229566034,1628735191650,5494571719922 mov $7,$0 mov $9,2 lpb $9 clr $0,7 mov $0,$7 sub $9,1 add $0...
; --COPYRIGHT--,BSD_EX ; Copyright (c) 2012, Texas Instruments Incorporated ; 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 co...
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2013 Shuangyang Yang // // 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) //////////////////////////////////////////...
SECTION code_clib SECTION code_fp_math48 PUBLIC dread1, dread2 EXTERN cm48_sccz80p_dread1, cm48_sccz80p_dread2 defc dread1 = cm48_sccz80p_dread1 defc dread2 = cm48_sccz80p_dread2
; A052737: a(n) = ((2*n)!/n!)*2^(2*n+1). ; Submitted by Christian Krause ; 0,2,16,384,15360,860160,61931520,5449973760,566797271040,68015672524800,9250131463372800,1406019982432665600,236211357048687820800,43462889696958559027200,8692577939391711805440000,1877596834908609749975040000,435602465698797461994209280000 mov...
; ; 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 ww...
; A130664: a(1)=1. a(n) = a(n-1) + (number of terms from among a(1) through a(n-1) which are factorials). ; 1,2,4,6,9,12,15,18,21,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230,235,240,245,250,255,2...
############################################################################### # 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...
/* * OctoMap - An Efficient Probabilistic 3D Mapping Framework Based on Octrees * http://octomap.github.com/ * * Copyright (c) 2009-2013, K.M. Wurm and A. Hornung, University of Freiburg * All rights reserved. * License: New BSD * * Redistribution and use in source and binary forms, with or without * modificat...
/* * MIT License * * Copyright (c) 2016 Caetano Sauer * * 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, modif...
#include "stdafx.h" #include "DevConsole.h" DevConsole DevConsole::m_instance; void DevConsole::init(int maxHistory) { // TODO(Ben): Add setCapacity new (&m_history) CommandRing(maxHistory); } void DevConsole::addListener(const nString& command, FuncNewCommand f, void* meta) { EventBinding eb = { f, meta...
; Audio interfaces. MapSetup_Sound_Off:: push hl push de push bc push af ldh a, [hROMBank] push af ld a, BANK(_MapSetup_Sound_Off) ldh [hROMBank], a ld [MBC3RomBank], a call _MapSetup_Sound_Off pop af ldh [hROMBank], a ld [MBC3RomBank], a pop af pop bc pop de pop hl ret UpdateSound:: push hl p...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: sock_listen SECTION code_clib PUBLIC sock_pair_listen PUBLIC _sock_pair_listen EXTERN no_zsock INCLUDE "packages.def" INCLUDE "zsock.def" .sock_pair_listen ._sock_pair_listen ld a,r_sock_pair_listen ...
// https://www.interviewbit.com/problems/palindrome-string/ int Solution::isPalindrome(string A) { int len = A.length(); for(int i=0;i<len;i++) { A[i] = tolower(A[i]); } int l = 0; int h = len; while(l<=h) { if(!(A[l]>='a' && A[l]<='z') && !(A[l]>='0'...
; Copyright (c) 2004, 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. The full text of the license may be found at ...
; A024488: a(n) = (1/(3n-1))*M(3n; n,n,n), where M(...) is a multinomial coefficient. ; Submitted by Christian Krause ; 3,18,210,3150,54054,1009008,19953648,411543990,8764362750,191413682460,4266468608220,96706621786320,2223107844022800,51721284534408000,1215794995122150720,28837137540553512390 mov $1,$0 add $1,$0 add...
int aFxQA ,JAw/*nN8*/, MF, p ,Y5D ,kZ, Nsb , Z//nk ,/*pN*/ZYGs/*sl1R*/, y, //Gx GVw ,pmB , fiM , PR , PzIc//siEG , U6pU, Z3 ,jVy , hO2PU //acj , /*eWc*/ eTk5BM,L ,i59 , UG , AF , LnuO,hcGz , C9R, xoR1/*FU*/ , yXf , vZxuEv , Zg8GQ ,GUO ,hvIPx , Q,gN, ePCq ,OQN, U1D , L6,H , MejvO,Mw,g ...
/*************************************************************************** * Copyright (C) 2008 by Gabriella Caniglia * * gabriella.caniglia@oact.inaf.it * * * * This program is free software; you can redistribute it and/or modify * * ...
 
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> #include<algorithm> #include<queue> #include<stack> #include<vector> #define ri register int using namespace std; int ans,n,map[1005][1005],f[1005][1005]; inline int getint() { int num=0,bj=1; char c=getchar(); while(c<'0'||c>'9...
; struct sp1_update __CALLEE__ *sp1_GetUpdateStruct_callee(uchar row, uchar col) ; 01.2008 aralbrec, Sprite Pack v3.0 ; ts2068 hi-res version INCLUDE "ts2068hr/customize.asm" PUBLIC sp1_GetUpdateStruct_callee PUBLIC ASMDISP_SP1_GETUPDATESTRUCT_CALLEE .sp1_GetUpdateStruct_callee pop hl pop de ex (sp),hl ...
/****************************************************************************** * Copyright 2017 The Apollo 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 ...
; ; Startup for V-Tech Laser 350/500/700 ; module laser500_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- defc crt0 = 1 INCLUDE "zcc_opt.def" ;-------- ; Some scope definitions ;-------- EXTERN _main ;main() is always external to crt0 code PUB...
; ; Z88 Graphics Functions - Small C+ stubs ; Written around the Interlogic Standard Library ; Stubs Written by D Morris - 30/9/98 ; ; $Id: clga_callee.asm $ ; ;Usage: clga(struct *pixels) IF !__CPU_INTEL__ & !__CPU_GBZ80__ SECTION code_graphics PUBLIC clga_callee PUBLIC _cl...
; A211704: a(n) = n + [n/2] + [n/3] + [n/4] + [n/5], where []=floor. ; 1,3,5,8,10,13,14,17,19,22,23,27,28,30,33,36,37,40,41,45,47,49,50,54,56,58,60,63,64,68,69,72,74,76,78,82,83,85,87,91,92,95,96,99,102,104,105,109,110,113,115,118,119,122,124,127,129,131,132,137,138 add $0,1 mov $1,$0 lpb $1 mov $2,$1 mov $1,1 s...
//===-- src/config.h - Application configuration header file ----*- C++ -*-===// // // Licensed under BSD0. See LICENSE for more information. // //===----------------------------------------------------------------------===// /// /// \file /// This file contains the configuration structure, as well as declaring /// the...
0x0000 (0x000000) 0x2118- f:00020 d: 280 | A = OR[280] 0x0001 (0x000002) 0x1E00-0x0047 f:00017 d: 0 | A = A - 71 (0x0047) 0x0003 (0x000006) 0x8002- f:00100 d: 2 | P = P + 2 (0x0005), C = 0 0x0004 (0x000008) 0x704E- f:00070 d: 78 | P = P + 78 (0x0052) ...
; A304158: a(n) is the second Zagreb index of the linear phenylene G[n], defined pictorially in the Darafsheh reference (Fig. 3). ; 24,84,144,204,264,324,384,444,504,564,624,684,744,804,864,924,984,1044,1104,1164,1224,1284,1344,1404,1464,1524,1584,1644,1704,1764,1824,1884,1944,2004,2064,2124,2184,2244,2304,2364,2424,24...
MXETMRXR TITLE 'MXE COMMON TIMER EXIT ROUTINE' *--------+---------+---------+---------+---------+---------+---------+- * Name : MXETMRXR * ...
/* -*- c++ -*- */ /* * Copyright 2014 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option...
#include "Image.h" #include <Kore/Graphics4/Graphics.h> #include <Kore/IO/BufferReader.h> #include <Kore/IO/FileReader.h> #include <Kore/IO/Reader.h> #include <kinc/image.h> #include <kinc/log.h> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace Kore; namespace { static int read_callback(...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>symlinkat(from_, tofd, to) -> str Invokes the syscall symlinkat. See 'man 2 symlinkat' for more information. Arguments: from(char*): from tofd(int): tofd to(char*): to Returns: int </%do...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x177fb, %rbp nop and $33440, %rax movw $0x6162, (%rbp) nop nop lfence lea addresses_UC_ht+0xf53d, %rsi lea addresses_WC_ht+0x3d3d, %rdi nop nop and $60546, %rbx mov $114, %rcx ...
; A349355: Dirichlet convolution of A003958 with A063441 (Dirichlet inverse of A003959), where A003958 and A003959 are fully multiplicative with a(p) = p-1 and p+1 respectively. ; Submitted by Christian Krause ; 1,-2,-2,-2,-2,4,-2,-2,-4,4,-2,4,-2,4,4,-2,-2,8,-2,4,4,4,-2,4,-8,4,-8,4,-2,-8,-2,-2,4,4,4,8,-2,4,4,4,-2,-8,-2...
; A239123: a(n) = 128*n - 107 for n >= 1. Third column of triangle A238475. ; 21,149,277,405,533,661,789,917,1045,1173,1301,1429,1557,1685,1813,1941,2069,2197,2325,2453,2581,2709,2837,2965,3093,3221,3349,3477,3605,3733,3861,3989,4117,4245,4373,4501,4629,4757,4885,5013,5141,5269,5397,5525,5653,5781,5909,6037,6165,6293,6...
;------------------------------------------------------------------------------- ; rtexit.nasm - must be linked last. ;------------------------------------------------------------------------------- module libc.rtexit global text_end, data_end, bss_end publicproc _fini section .text proc _fini ret endp ;--------...
/* * * Copyright 2018 gRPC 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 applicable law or agree...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; Mov32RR mov eax, 0x8 mov ecx, 0x12 ;TEST_BEGIN_RECORDING mov ecx, eax ;TEST_END_RECORDING
; A258290: Arithmetic derivative of central binomial coefficients, cf. A000984. ; 0,1,5,24,59,456,1448,6868,19749,69364,236356,1526956,3717440,22858340,122553540,474051984,954720543,5726109024,19329586520,92051285020,319059863484,1271796704788,4829219746964,29791326914640,74372011398840,340296661452300,1491340256144172...
#include "resources.h" #include "shader_loader.h" #include "texture_loader.h" #include "mesh_loader.h" #include "../scene/scene.h" #include "../scene/scene_node.h" #include <t1_utility/string_id.h> #include <t1_utility/logging/log.h> #include <stack> #include <vector> namespace T1 { std::map<unsigned int, Shad...
.386 .model flat,C PUBLIC setdta ; Not supported in 0.93 yet, don't use until 0.94 is out! ; Use the default DTA at psp:[80h] instead. .code setdta proc near mov ah,1Ah mov edx,[esp+4] int 21h ret setdta endp end
VDC_0 .equ $0000 VDC_1 .equ $0001 VDC_2 .equ $0002 VDC_3 .equ $0003 VDC2_0 .equ $0010 VDC2_1 .equ $0011 VDC2_2 .equ $0012 VDC2_3 .equ $0013 VPC_0 .equ $0008 VPC_1 .equ $0009 VPC_2 .equ $000A VPC_3 .equ $000B VPC_4 .equ $000C VPC_5 .equ $000D VPC_6 .equ $000E VPC_7 .equ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xea6a, %rsi lea addresses_A_ht+0xe02a, %rdi nop nop nop add $6316, %r10 mov $19, %rcx rep movsl nop nop nop nop and $45760, %r8 lea addresses_WC_ht+0x11c2a, %r8 clflush (%r8) ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x190ad, %rbx nop nop xor $29292, %rdi mov $0x6162636465666768, %rbp movq %rbp, %xmm5 movups %xmm5, (%rbx) add %rbp, %rbp lea addresses_WT_ht+0x11c86, %r13 nop nop and $22968, %rbp m...
section .rodata format: db 'Hello, %s', 10, 0 name: db 'Holberton', 0 section .text global main extern printf main: ;; printf(format, name) mov rdi, format mov rsi, name ;; no XMM registers mov rax, 0 call printf ;; return 0 mov rax, 0 ret
; A061419: a(n) = ceiling(a(n-1)*3/2) with a(1) = 1. ; 1,2,3,5,8,12,18,27,41,62,93,140,210,315,473,710,1065,1598,2397,3596,5394,8091,12137,18206,27309,40964,61446,92169,138254,207381,311072,466608,699912,1049868,1574802,2362203,3543305,5314958,7972437,11958656,17937984,26906976,40360464,60540696,90811044,136216566,2043...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2015, 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 distr...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES PUBLIC ?sum_result@@3HA ; sum_result PUBLIC ?multi_result@@3HA ; multi_result _BSS SEGMENT ?sum_result@@3HA DD 01H DUP (?) ; sum_result ?multi_result@@3HA DD 01H DUP (?) ...
; A131865: Partial sums of powers of 16. ; 1,17,273,4369,69905,1118481,17895697,286331153,4581298449,73300775185,1172812402961,18764998447377,300239975158033,4803839602528529,76861433640456465,1229782938247303441,19676527011956855057,314824432191309680913,5037190915060954894609,80595054640975278313745,12895208742556044...
; A169508: Number of reduced words of length n in Coxeter group on 15 generators S_i with relations (S_i)^2 = (S_i S_j)^34 = I. ; 1,15,210,2940,41160,576240,8067360,112943040,1581202560,22136835840,309915701760,4338819824640,60743477544960,850408685629440,11905721598812160,166680102383370240,2333521433367183360 add $0...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; CpuId.Asm ; ; Abstract: ; ; AsmCpuid function ; ; Notes: ; ;-------------------------...
;************************************************************************ ;** An Assembly File Listing to generate a 16K ROM for the ZX Spectrum ** ;************************************************************************ ; ------------------------- ; Last updated: 13-DEC-2004 ; ------------------------- ; TASM cross...
; A343560: a(n) = (n-1)*(4*n+1). ; 0,9,26,51,84,125,174,231,296,369,450,539,636,741,854,975,1104,1241,1386,1539,1700,1869,2046,2231,2424,2625,2834,3051,3276,3509,3750,3999,4256,4521,4794,5075,5364,5661,5966,6279,6600,6929,7266,7611,7964,8325 sub $2,$0 mul $2,4 sub $2,2 bin $2,2 mov $0,$2 sub $0,3 div $0,2
/* file: split_layer_forward_fpt.cpp */ /******************************************************************************* * Copyright 2014-2017 Intel Corporation * * 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 ...
.filenamespace c64lib .label CHARSET_ADDR = $E000 .label SCREEN_ADDR = $C000 start: jsr configureC64 jsr unpackData jsr configureVic2 loop: jmp loop configureC64: { sei configureMemory(RAM_IO_RAM) disableNMI() disableCIAInterrupts() cli rts } unpackData: { // char...
UpdateSpriteFacingOffsetAndDelayMovement:: ld h, HIGH(wSpriteStateData2) ldh a, [hCurrentSpriteOffset] add $8 ld l, a ld a, $7f ; maximum movement delay ld [hl], a ; x#SPRITESTATEDATA2_MOVEMENTDELAY dec h ; HIGH(wSpriteStateData1) ldh a, [hCurrentSpriteOffset] add $9 ld l, a ld a, [hld] ; x#SPRITESTATEDATA1_...
use64 LoadGDT: lgdt [rdi] mov ax, 0x10 mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ss, ax pop rdi mov rax, 0x08 push rax push rdi retfq
IslandMonsB4: db $0A IF DEF(_BLUE) db 31,KRABBY db 31,SHELLDER db 33,KRABBY db 33,JYNX db 29,SLOWPOKE db 31,SEEL db 31,SLOWPOKE db 29,SEEL db 39,SLOWBRO db 37,KINGLER ELSE db 31,KRABBY db 31,STARYU db 33,KRABBY db 33,STARYU db 29,PSYDUCK db 31,SEEL db 31,PSYDUCK db 29,SEEL db 39,GOLDUCK db 37,KINGL...
; A188258: Positions of 0 in A188257; complement of A188259. ; 1,2,5,6,9,10,13,14,17,18,19,22,23,26,27,30,31,34,35,36,39,40,43,44,47,48,51,52,53,56,57,60,61,64,65,68,69,70,73,74,77,78,81,82,85,86,89,90,91,94,95,98,99,102,103,106,107,108,111,112,115,116,119,120,123,124,125,128,129,132,133,136,137,140,141,142,145,146,149...
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 2000 // // File: tasksymbol.cpp // // History: 17-Jan-2000 Vivekj added //-------------------------------------------------------------------------- #incl...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x15303, %rsi lea addresses_D_ht+0xec69, %rdi nop and $30540, %r15 mov $97, %rcx rep movsl nop nop cmp $45047, %r8 lea addresses_normal_ht+0x8b37, %rbp nop cmp $29775, %r11 movw $0x6...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: MODULE: FILE: saverUtils.asm AUTHOR: Adam de Boor, Dec 9, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descript...
; Copyright (c) Piotr Durlej ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain the above copyright notice, ; this list of conditions and the followi...
DB 0 1
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xc1ea, %rsi lea addresses_WT_ht+0xb7ea, %rdi nop nop nop nop nop cmp %rbx, %rbx mov $121, %rcx rep movsw dec %r10 lea addresses_UC_ht+0x5ca, %rsi lea addresses_normal_ht+0x153aa, %rdi n...
.thumb .org 0x0 @r0=char data push {r14} ldrb r1,[r0,#0xB] mov r2,#0xC0 tst r1,r2 beq GetPortrait mov r1,#0x1 @blank mug b GoBack GetPortrait: ldr r1,PortraitGetter mov r14,r1 .short 0xF800 mov r1,r0 GoBack: sub r4,#0x4 mov r0,#0x3 pop {r2} str r0,[sp] bx r2 .align PortraitGetter: .long 0x080192B8
/** * @file * @copyright defined in eos/LICENSE */ #include <eosio/mongo_db_plugin/mongo_db_plugin.hpp> #include <eosio/chain/eosio_contract.hpp> #include <eosio/chain/config.hpp> #include <eosio/chain/exceptions.hpp> #include <eosio/chain/transaction.hpp> #include <eosio/chain/types.hpp> #include <fc/io/json.hpp...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; The MIT License ; ; Copyright (c) 2014 Intel Corporation ; ; 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 Softwa...
; ######################################################################### .386 .model flat, stdcall option casemap :none ; case sensitive ; ######################################################################### include \masm32\include\windows.inc include \masm32\include\user32.in...
; A094951: a(n) = A081038(n) + A077616(n). ; 6,31,144,621,2538,9963,37908,140697,511758,1830519,6456024,22497669,77590386,265189059,899198172,3027619377,10130328342,33705582543,111577100832,367662044061,1206427402746,3943553157531,12845313733284,41705428220361,135001318437918,435788774790183,1403109937237608,4506728113...
; DRAW OR SPRITE 2 BYTE DEFINITION ROTATED ; 01.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version INCLUDE "clib_target_cfg.asm" SECTION code_clib SECTION code_temp_sp1 PUBLIC _SP1_DRAW_OR2 EXTERN _SP1_DRAW_OR2NR EXTERN SP1RETSPRDRAW ; following data segment copied into struct sp1_cs ld hl,0 ld ix...
; A156024: n(n+1)/2 - A156022(n) ; 0,1,2,4,6,9,12,15,19,23,27,32,37,42,48,54,60,66,73,80,87,94,101,109,117,125,133,142,151,160,169 mov $2,$0 mov $3,$0 lpb $2 mov $0,$3 sub $2,1 sub $0,$2 mov $4,$0 mul $0,4 add $0,$4 add $0,5 mul $0,2 div $4,2 add $4,18 div $0,$4 add $1,$0 lpe
; int __CALLEE__ strspn_callee(char *s1, char *s2) ; return length of prefix in s1 containing chars in s2 ; 01.2007 aralbrec PUBLIC strspn_callee PUBLIC ASMDISP_STRSPN_CALLEE EXTERN strchr_callee EXTERN ASMDISP_STRCHR_CALLEE .strspn_callee pop hl pop de ex (sp),hl ; enter : de = char *s2 ; ...
/home/arnold/pulp-sdk/pkg/pulp_riscv_gcc/1.0.13/bin/riscv32-unknown-elf-objdump -Mmarch=rv32imfcxpulpv2 /home/arnold/PULP-DSP/test/mrWolf/mat_mul/test_fct/singlecore_riscy/build/wolfe/test/test -d /home/arnold/PULP-DSP/test/mrWolf/mat_mul/test_fct/singlecore_riscy/build/wolfe/test/test: file format elf32-littleris...
#include "license.hunspell" #include "license.myspell" #include <stdlib.h> #include <string.h> #include <stdio.h> #include "filemgr.hxx" #ifdef HUNSPELL_CHROME_CLIENT #include "google/bdict_reader.h" FileMgr::FileMgr(hunspell::LineIterator* iterator) : iterator_(iterator) { } FileMgr::~FileMgr() { } char * FileMg...
// Copyright 2015 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 "components/proximity_auth/device_to_device_secure_context.h" #include <memory> #include "base/bind.h" #include "base/memory/ptr_util.h" #inclu...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/v8.h" #if V8_TARGET_ARCH_X87 #include "src/code-factory.h" #include "src/code-stubs.h" #include "src/codegen.h" #include "src/compiler.h...
; A306535: Number of permutations p of [2n] having no index i with |p(i)-i| = n. ; 1,1,9,265,14833,1334961,176214841,32071101049,7697064251745,2355301661033953,895014631192902121,413496759611120779881,228250211305338670494289,148362637348470135821287825,112162153835443422680893595673,97581073836835777732377428235481,96...
SECTION "Map_1A73", ROM0[$B800] Map_1A73_Header: hdr_tileset 18 hdr_dimensions 7, 5 hdr_pointers_a Map_1A73_Blocks, Map_1A73_TextPointers hdr_pointers_b Map_1A73_Script, Map_1A73_Objects hdr_pointers_c Map_1A73_InitScript, Map_1A73_RAMScript hdr_palette $06 ...
SECTION code_clib SECTION code_fp_math48 PUBLIC asm_tgamma EXTERN am48_tgamma defc asm_tgamma = am48_tgamma
; A106586: Digit next to last in squares ending in 6. ; 1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7,7,5,9,3,1,1,3,9,5,7 mov $1,$0 lpb $0,1 mul $1,4 add $0,$1 mod $0,2 ...
; A076775: Greatest common divisor of n and the binary representation of n interpreted decimally. ; Submitted by Jon Maiga ; 1,2,1,4,1,2,1,8,1,10,1,4,1,2,1,16,1,2,1,20,21,2,1,8,1,2,1,4,1,10,1,32,11,2,1,4,1,2,1,40,1,42,1,4,1,2,1,16,1,10,1,4,1,2,1,8,1,2,1,20,1,2,21,64,1,22,1,4,3,10,1,8,1,2,1,4,1,2,1,80,3,2,1,84,1,2,1,8,1...
BITS 32 section .text foo: fld1 fldl2t fldl2e fldpi fldlg2 fldln2 fldz fsin fcos fsincos fptan fpatan f2xm1 fyl2x fyl2xp1 fincstp fdecstp finit fninit fclex fnclex fwait wait fnop fcompp fucompp ftst fxam fprem fprem1 fabs fchs frndint fscale fsqrt fxtract