text
stringlengths
1
1.05M
; script start: ; asm readnumber r2 ; i: r3 set r3 0 store r3 r2 ; run real_write ; push used regsters ; i: r2 set r2 0 load r2 r2 push r2 run real_write ; pop parameters set r2 8 pushsp pop r3 add r3 r3 r2 push r3 ...
; A188716: a(n) = n + (n-1)*(2^n-2). ; 1,1,4,15,46,125,316,763,1786,4089,9208,20471,45046,98293,212980,458739,983026,2097137,4456432,9437167,19922926,41943021,88080364,184549355,385875946,805306345,1677721576,3489660903,7247757286,15032385509,31138512868,64424509411,133143986146,274877906913,566935683040,1168231104479,...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; MpFuncs.nasm ; ; Abstract: ; ; This is the assembly code for MP support ; ;------------------...
; Rectangle, Intervals and Points ; 05.2006 aralbrec SECTION code_clib PUBLIC r_IntersectRect8 PUBLIC _r_IntersectRect8 EXTERN RIntersectRect8 ; int r_IntersectRect8(struct r_Rect8 *r1, struct r_Rect8 *r2, struct r_Rect8 *result) .r_IntersectRect8 ._r_IntersectRect8 ld hl,7 add hl,sp ld d,(hl) dec hl ...
page ,132 ; SCCSID = @(#)tenv.asm 4.2 85/08/16 ; SCCSID = @(#)tenv.asm 4.2 85/08/16 TITLE Part6 COMMAND Transient routines. ;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ; Environment utilities a...
; A229702: Expansion of 1/((1-x)^4*(1-6x)). ; Submitted by Jamie Morken(s2) ; 1,10,70,440,2675,16106,96720,580440,3482805,20897050,125382586,752295880,4513775735,27082654970,162495930500,974975583816,5849853503865,35099121024330,210594726147310,1263568356885400,7581410141314171 add $0,1 lpb $0 sub $0,1 add $4,1 ...
; Civil Service Virus by Marvin Giskard ; Turbo Assember version 2 Exec equ 4B00h OpenFile equ 3D02h ReadFile equ 3Fh WriteFile equ 40h CloseFile equ 3Eh EXESign equ 5A4Dh SeekTop equ 4200h SeekEnd equ 4202h GetAttr equ 4300h SetAttr equ 4301h GetDT equ 5700h SetDT...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x4bcb, %rdi nop nop nop nop nop xor %r14, %r14 mov $0x6162636465666768, %r15 movq %r15, %xmm7 and $0xffffffffffffffc0, %rdi movntdq %xmm7, (%rdi) nop nop nop nop dec %rcx lea a...
#ruledef test { ld {val} => 0x00 @ val`8 ld x => 0xff @ 0x00 } ld x ; = 0xff00 x = 0x55
/* * Copyright (c) 2020 Huawei Device Co., Ltd. * 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 ...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
section .text global ft_list_size ft_list_size: xor rax, rax ft_list_size_next: cmp rdi, 0 je ft_list_size_null inc rax mov rdi, [rdi+8] jmp ft_list_size_next ft_list_size_null: ret
ORG 00H SJMP MAIN ORG 0BH ;TIMER 0 INT MOV P1, #00H RETI ORG 30H MAIN: MOV TMOD, #01H ; 00000001 MOV TH0, #0FFH MOV TL0, #0F0H SETB EA SETB ET0 SETB TR0 SJMP $ END
; A211434: Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and w+2x+5y=0. ; 1,1,5,9,17,25,33,45,57,73,89,105,125,145,169,193,217,245,273,305,337,369,405,441,481,521,561,605,649,697,745,793,845,897,953,1009,1065,1125,1185,1249,1313,1377,1445,1513,1585,1657,1729,1805,1881 mov $1,$0 pow $0,2 add $1,$...
/* cgeBilateralBlurFilter.cpp * * Created on: 2014-4-1 * Author: Wang Yang */ #include "BilateralBlurFilter.h" #include <cmath> ConstString s_fshBilateralBlur = CGE_SHADER_STRING_PRECISION_H ( varying vec2 textureCoordinate; ...
; A166515: Partial sum of A166514. ; 0,1,2,2,4,5,8,8,12,13,18,18,24,25,32,32,40,41,50,50,60,61,72,72,84,85,98,98,112,113,128,128,144,145,162,162,180,181,200,200,220,221,242,242,264,265,288,288,312,313,338,338,364,365,392,392,420,421,450,450,480,481,512,512,544,545,578,578,612,613,648,648,684,685,722,722,760,761,800,800...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Kernel VM Manager FILE: vmemEC.asm AUTHOR: Cheng, June 1989 ROUTINES: Name Description ---- ----------- GLB ECVMHandleVMFileOverride ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: MODULE: FILE: hugelmemEC.asm AUTHOR: Steve Jang, Apr 12, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descriptio...
; int __CALLEE__ strspn_callee(char *s1, char *s2) ; return length of prefix in s1 containing chars in s2 ; 01.2007 aralbrec XLIB strspn_callee XDEF ASMDISP_STRSPN_CALLEE LIB strchr_callee XREF ASMDISP_STRCHR_CALLEE .strspn_callee pop hl pop de ex (sp),hl ; enter : de = char *s2 ; hl = ch...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1028f, %r10 nop nop nop nop mfence movups (%r10), %xmm1 vpextrq $0, %xmm1, %rsi nop nop nop add $38119, %rsi lea addresses_WC_ht+0x61e8, %r11 nop add %r14, %r14 movw $0x6162,...
// // Created by toebs on 29.03.2020. // #include "interpreter.h" #include <unordered_map> #include "../lexer/lexer.h" #include "../parser/parser.h" #include "analysis/semantic/semantic_analyzer.h" #include "environment/binary_op.h" #include "environment/unary_op.h" #include "executor.h" namespace angreal::interpre...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "ImageWrapperPrivate.h" #include "CoreTypes.h" #include "Modules/ModuleManager.h" #include "Formats/BmpImageWrapper.h" #include "Formats/ExrImageWrapper.h" #include "Formats/IcnsImageWrapper.h" #include "Formats/IcoImageWrapper.h" #include "Format...
; A040788: Continued fraction for sqrt(817). ; Submitted by Jon Maiga ; 28,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1,2,1,1,56,1,1 seq $0,40258 ; Continued fraction for sqrt(275). add $0,4 ...
/* * Copyright 2018 NXP. * * 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 following disclaimer. * * Redistribut...
; A247160: Dynamic Betting Game D(n,4,3). ; 1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,96,97,98,99,100,10...
/* //@HEADER // ************************************************************************ // // runtime.cpp // DARMA // Copyright (C) 2017 Sandia Corporation // // Under the terms of Contract DE-NA-0003525 with NTESS, LLC, // the U.S. Government retains certain r...
/******************************************************************************* * Copyright (c) 2018-, UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License * which accompanies this distribution. * * Contributors: * Alexa...
; A060899: Number of walks of length n on square lattice, starting at origin, staying on points with x+y >= 0. ; 1,2,8,24,96,320,1280,4480,17920,64512,258048,946176,3784704,14057472,56229888,210862080,843448320,3186360320,12745441280,48432676864,193730707456,739699064832,2958796259328,11342052327424,45368209309696,1744...
; A339771: a(n) = Sum_{i=0..n} Sum_{j=0..n} 2^max(i,j). ; 1,7,27,83,227,579,1411,3331,7683,17411,38915,86019,188419,409603,884739,1900547,4063235,8650755,18350083,38797315,81788931,171966467,360710147,754974723,1577058307,3288334339,6845104131,14227079171,29527900163,61203283971 mov $1,$0 lpb $0,1 mul $1,2 add $1,...
/* //@HEADER // ************************************************************************ // // KokkosKernels 0.9: Linear Algebra and Graph Kernels // Copyright 2017 Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retain...
#a 5 second countdown will be printed to prepare the user for the game .data initialize: .word 0x10040000 #heap base address .text addi sp, sp, -24 sw a0, (sp) sw a7, 4(sp) sw t0, 8(sp) sw t1, 12(sp) sw t2, 16(sp) sw t3, 20(sp) #numbers will be drawn in white countdown_setup: #max value of loop -> first draw whi...
preset_kpdr21_crateria_ceres_elevator: dw #$0000 dw $078D, $AB58 ; DDB dw $079B, $DF45 ; MDB dw $07F3, $002D ; Music Bank dw $07F5, $0006 ; Music Track dw $090F, $0000 ; Screen subpixel X position dw $0911, $0000 ; Screen X position in pixels dw $0913, $0000 ; Screen subpixel Y p...
add_i 0x082
#include <QtGlobal> // Automatically generated by extract_strings_qt.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *diaz_strings[] = { QT_TRANSLATE_NOOP("diaz-core", "The %s developers"), QT_TRANSLATE_NOOP("diaz-core", "" "-maxtxfee is set very high! F...
;******************************************************************************* ;* TMS320C55x C/C++ Codegen PC v4.4.1 * ;* Date/Time created: Sat Sep 29 23:09:04 2018 * ;****************************************************************************...
; Update the save area for a sprite V1.01  1985 Tony Tebby ; 2005 Marcel Kilgus ; ; 2016-02-14 1.02 Change for SMSQmulator, do not move.l onto odd address (wl) ; 2005-01-25 1.01 Changes for mouse pointer clipping (MK) ; ; ; d0 s ; d1 s ; d2 s ; d3 s ; d4 s ; d5 c p width-1 of save area ; d6 c ...
; A017809: Binomial coefficients C(93,n). ; 1,93,4278,129766,2919735,51971283,762245484,9473622444,101841441273,961835834245,8079421007658,60962903966874,416579843773639,2595612872743443,14832073558533960,78115587408278856,380813488615359423,1724861095493098563,7282746847637527266,28747684924884976050,10636643422207441...
#include "Generic/common/leak_detection.h" #pragma warning(disable: 4996) #include <boost/algorithm/string.hpp> #include <vector> #include "PredFinder/common/ElfMultiDoc.h" #include "PredFinder/inference/EIDocData.h" #include "PredFinder/inference/EIFilterManager.h" #include "PredFinder/inference/EITbdAdapte...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>io_cancel(ctx_id, iocb, result) -> str Invokes the syscall io_cancel. See 'man 2 io_cancel' for more information. Arguments: ctx_id(aio_context_t): ctx_id iocb(iocb*): iocb result(io_event*)...
/*********************************************************************** * Copyright 2011-2013 Computer Graphics Group RWTH Aachen University. * * All rights reserved. * * Distributed under the terms of the MIT License (see LICENSE.TXT). * ***************************...
/* Copyright 2021 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...
; Delay until the start of the active video segment. ; Factored in: ; - 1 cycle to calculate the delay length. ; - 5 cycles of delay overhead. ; - 2 cycles to load the first byte of pixels. ; - 2 cycles to load it into the serial port. ; - 3 cycles to start the serial port. ldi r28, ACTIVE_VIDEO_START_CYCLES - 1 - 5 - ...
; A098452: One of three ordered sets of positive integers that solves the minimal magic die puzzle. ; 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,21,22,43 mov $1,3 mov $4,$0 mov $5,4 lpb $0,1 sub $0,$5 trn $0,2 add $2,$0 trn $0,1 trn $3,1 add $5,$1 add $1,$3 sub $1,1 add $2,3 trn $1,$2 mov $2,0 ...
; A210695: a(n) = 6*a(n-1) - a(n-2) + 6 with n>1, a(0)=0, a(1)=1. ; 0,1,12,77,456,2665,15540,90581,527952,3077137,17934876,104532125,609257880,3551015161,20696833092,120629983397,703083067296,4097868420385,23884127455020,139206896309741,811357250403432,4728936606110857,27562262386261716 mul $0,2 sub $0,1 mov $1,1 mov ...
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_GUI_EXCEPTION_HPP_INCLUDED #define SGE_GUI_EXCEPTION_HPP_INCLUDED #include <sge/core/e...
// stdafx.cpp : source file that includes just the standard includes // PSS_ClientManager.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h"
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x17dd8, %r8 nop nop nop nop nop inc %rbx mov $0x6162636465666768, %rdi movq %rdi, %xmm4 movups %xmm4, (%r8) nop nop nop nop inc %r12 lea addresses_WT_ht+0x1a1d8, %r8 nop nop no...
; A106318: Bhaskara twins: n such that 2*n^2 = X^3 and 2*n^3 = Y^2. ; 2,128,1458,8192,31250,93312,235298,524288,1062882,2000000,3543122,5971968,9653618,15059072,22781250,33554432,48275138,68024448,94091762,128000000,171532242,226759808,296071778,382205952,488281250,617831552,774840978,963780608,1189646642,1458000000,17...
; ; ANSI Video handling for the NASCOM1/2 ; ; BEL - chr(7) Beep it out ; ; Stefano Bodrato - Jul 2004 ; ; No sound on nascom (?). We'll look for some trick.. ; What about making buzz the tape relais ? ; ; $Id: f_ansi_bel.asm,v 1.2 2004/07/27 09:40:19 stefano Exp $ ; XLIB ansi_BEL LIB montest ; This could put ...
#import "copper64.asm" #importonce .filenamespace c64lib .macro @c64lib_copperEntry(raster, handler, arg1, arg2) { copperEntry(raster, handler, arg1, arg2) } .macro @c64lib_copperLoop() { copperLoop() } .macro @c64lib_startCopper(listStart, listPtr, handlersList) { startCopper(listStart, listPtr, handlersList) } .macr...
; A093051: Exponent of 2 in (3^n-3)*2^n. ; 0,1,4,3,7,5,8,7,12,9,12,11,15,13,16,15,21,17,20,19,23,21,24,23,28,25,28,27,31,29,32,31,38,33,36,35,39,37,40,39,44,41,44,43,47,45,48,47,53,49,52,51,55,53,56,55,60,57,60,59,63,61,64,63,71,65,68,67,71 mov $1,$0 lpb $1 mov $2,$1 dif $1,2 seq $2,236398 ; Period 4: repeat 1,1...
# $Id: 09_shf_1.asm,v 1.2 2001/03/22 00:39:03 ellard Exp $ # # Copyright 1999-2000 by the President and Fellows of Harvard College. # See LICENSE.txt for license information. # #@ tests bitwise SHIFT # OK lc r2, 0b00000001 lc r3, 0b11111111 lc r4, 1 lc r5, -1 shf r6, r2, r4 add r7, r1, r0 shf r8, r2, r5 add ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi // Store mov $0x645, %r8 nop nop nop sub $32304, %rbx movl $0x51525354, (%r8) nop nop nop nop dec %rcx // Store mov $0x585, %r13 nop nop nop nop dec %r11 movb ...
; A251720: a(n) = (p_n)^2 * p_{n+1}, where p_n is the n-th prime, A000040(n). ; Submitted by Jamie Morken(s2) ; 12,45,175,539,1573,2873,5491,8303,15341,26071,35557,56129,72283,86903,117077,165731,212341,249307,318719,367993,420991,518003,613121,768337,950309,1050703,1135163,1247941,1342553,1621663,2112899,2351057,26088...
; A131993: 1 + prime(n) + prime(n)^2 + prime(n)^3 + prime(n)^4 + prime(n)^5. ; 63,364,3906,19608,177156,402234,1508598,2613660,6728904,21243690,29583456,71270178,118752606,150508644,234330768,426237714,727250580,858672906,1370581548,1830004056,2101864254,3116505840,3987077724,5647514670,8676791718,10615201506,117063950...
;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' proc checkHit ;כניסה: אין ;יציאה: בודק אם הציפור פגעה במכוניתת אם כן אז bx = 1 dopush ax,dx,cx ;position of chickn mov di, [c_pos] ;pointing to extra segment (display) m...
; A066318: Number of necklaces with n labeled beads of 2 colors. ; 2,4,16,96,768,7680,92160,1290240,20643840,371589120,7431782400,163499212800,3923981107200,102023508787200,2856658246041600,85699747381248000,2742391916199936000,93241325150797824000,3356687705428721664000,127554132806291423232000,51021653122516569292800...
; void sms_vdp_set_read_address(unsigned int addr) SECTION code_clib SECTION code_arch PUBLIC _sms_vdp_set_read_address EXTERN asm_sms_vdp_set_read_address _sms_vdp_set_read_address: pop af pop hl push hl push af jp asm_sms_vdp_set_read_address
; A314669: Coordination sequence Gal.6.216.6 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. ; Submitted by Jon Maiga ; 1,5,9,13,17,21,25,29,33,37,41,46,51,55,59,63,67,71,75,79,83,87,92,97,101,105,109,113,117,121,125,129,133,138,143,14...
/* Amine Rehioui Created: May 1st 2013 */ #include "ShootTest.h" #include "AIManager.h" #include "PlayerCamera.h" #include "ConfigPoint.h" #include "TriggerSpawner.h" #include "GameManager.h" namespace shoot { DEFINE_OBJECT(AIManager); //! static vars AIManager* AIManager::ms_pInstance = NULL; //! construc...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="fd, path, mode"/> <%docstring> Invokes the syscall mkdirat. See 'man 2 mkdirat' for more information. Arguments: fd(int): fd path(char): path mode(mode_t): mode </%docstring> ${syscall('SYS_mkdirat', fd, path, mode)}
/*! * player_provider.cc (https://github.com/SamsungDForum/NativePlayer) * Copyright 2016, Samsung Electronics Co., Ltd * Licensed under the MIT license * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IM...
/* Matheus Tomieiro de Oliveira, 10734630 Victor Vieira Custodio Reis, 10734686 */ #include <stdio.h> #include <stdlib.h> #include<bits/stdc++.h> #include "../lib/Matriz.h" #include <iostream> using namespace std; /*-------------------------------- Vamos definir as variaveis importantes na recursao para montagem na P...
; A138564: a(1) = 1; a(n) = a(n-1) + (n!)^3. ; 1,9,225,14049,1742049,374990049,128399054049,65676719822049,47850402559694049,47832576242431694049,63649302669112063694049,109966989623147836159694049,241567605673714904675071694049,662801328154821495670649599694049 add $0,2 lpb $0 mov $2,$0 max $0,3 sub $0,1 pow ...
#define DPCT_USM_LEVEL_NONE #include <CL/sycl.hpp> #include <dpct/dpct.hpp> #include "OptionParser.h" #include "Timer.h" #include "Utility.h" // **************************************************************************** // Function: addBenchmarkSpecOptions // // Purpose: // Add benchmark specific options parsing ...
.thumb .org 0x0 @r4 has unit's class data ptr, r5 = ram char ptr ldrb r2,[r0,#0x5] @new class id lsl r2,#0x2 ldr r1,MagClassTable add r2,r1 mov r1,#0x3 ldsb r1,[r2,r1] @mag promo bonus mov r0,r5 add r0,#0x3A ldrb r7,[r0] @char mag add r7,r1,r7 ldrb r1,[r2,#0x2] @mag cap cmp r7,r1 ble NotCapped mov r7,r1 N...
; A168624: a(n) = 1 - 10^n + 100^n. ; 1,91,9901,999001,99990001,9999900001,999999000001,99999990000001,9999999900000001,999999999000000001,99999999990000000001,9999999999900000000001,999999999999000000000001,99999999999990000000000001,9999999999999900000000000001,999999999999999000000000000001,9999999999999999000000000...
; A138134: a(n) = Sum_{i=0..n} Fibonacci(5*i). ; 0,5,60,670,7435,82460,914500,10141965,112476120,1247379290,13833648315,153417510760,1701426266680,18869106444245,209261597153380,2320746675131430,25737475023599115,285432971934721700,3165500166305537820 lpb $0 mov $2,$0 sub $0,1 seq $2,49666 ; a(n) = Fibonacci(5*n...
// Copyright (c) 2012-2019 The ReBitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/test/unit_test.hpp> #include <cuckoocache.h> #include <script/sigcache.h> #include <test/util/setup_common.h...
TITLE Endless Recursion (Endless.asm) INCLUDE Irvine32.inc .data endlessStr BYTE "This recursion never stops",0 .code main PROC call Endless exit main ENDP .code Endless PROC mov EDX,offset endlessStr call WriteString call Endless ret ; never reaches this Endless ENDP END main
; size_t strcspn(const char *s1, const char *s2) SECTION code_clib SECTION code_string PUBLIC strcspn_callee EXTERN asm_strcspn strcspn_callee: pop hl pop de ex (sp),hl jp asm_strcspn ; SDCC bridge for Classic IF __CLASSIC PUBLIC _strcspn_callee defc _strcspn_callee = strcspn_callee ENDIF
/*! * UTF-8 validate: UTF-8 validation for WebSockets. * Copyright(c) 2015 Einar Otto Stangvik <einaros@gmail.com> * MIT Licensed */ #include <nan.h> NAN_METHOD(isValidUTF8) { if (!node::Buffer::HasInstance(info[0])) { Nan::ThrowTypeError("First argument needs to be a buffer"); return; } uint8_t* s...
// -------------------------------------------------------------------------------------- // Der Walker // // Läuft bis er an eine Wand kommt und kehrt dann um und schiesst, sobald er einen // bestimmten Abstand zum Spiel hat, geradeaus, läuft einen Schritt weiter, schiesst // wieder usw // ----------------------------...
; A134396: A007318 * A000125. ; Submitted by Jon Maiga ; 1,3,9,27,80,232,656,1808,4864,12800,33024,83712,208896,514048,1249280,3002368,7143424,16842752,39387136,91422720,210763776,482869248,1099956224,2492465152,5620367360,12616466432,28202500096,62797119488,139318001664,308029685760,678873268224,1491695828992,32684701...
;; ; wodOS Operating System ; Copyright © 2021-2022 wodOS Operating System Developers. All rights reserved. ; ; Use of this source code is governed by a BSD-style license that can be ; found in the LICENSE file. ; ; Contributor(s): ; - Ashwin Paudel <ashwonixer123@gmail.com> ;; [extern isr_handler] [extern i...
.file "project.c" .text .globl ConvertToCelsius .def ConvertToCelsius; .scl 2; .type 32; .endef .seh_proc ConvertToCelsius ConvertToCelsius: pushq %rbp .seh_pushreg %rbp movq %rsp, %rbp .seh_setframe %rbp, 0 .seh_endprologue movl %ecx, 16(%rbp) movl 16(%rbp), %eax subl $32, %eax pxor %xmm0, %xmm0 cvtsi2s...
; A064752: a(n) = n*6^n - 1. ; 5,71,647,5183,38879,279935,1959551,13436927,90699263,604661759,3990767615,26121388031,169789022207,1097098297343,7052774768639,45137758519295,287753210560511,1828079220031487,11577835060199423,73123168801259519,460675963447934975,2895677484529876991,18163795130232864767,113721152119718805...
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL: https://hpctoolkit.googlecode.com/svn/branches/hpctoolkit-hpcserver/src/tool/hpcserver/DebugUtils.hpp $ // $Id: DebugUtils.hpp 4317 2013-07-25 16:32:22Z felipet1326@gmail.com $ // // ----------------------...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "attributeiterators.hpp" #include "load_utils.h" #include "loadednumericvalue.h" #include "multinumericenumattribute.h" #include <vespa/fastlib/io/bufferedfile.h> #include <vesp...
// Copyright (c) 2018-2021 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 <addrdb.h> #include <banman.h> #include <chain.h> #include <chainparams.h> #include <deploymentstatus.h> #include <e...
; A124195: a(1)=1. a(n) = n - GCD(a(n-1),n). ; 1,1,2,2,4,4,6,6,6,8,10,10,12,12,12,12,16,16,18,18,18,20,22,22,24,24,24,24,28,28,30,30,30,32,34,34,36,36,36,36,40,40,42,42,42,44,46,46,48,48,48,48,52,52,54,54,54,56,58,58,60,60,60,60,60,60,66,66,66,68,70,70,72 mov $1,$0 seq $1,99427 ; a(1) = 1; for n > 1, a(n) = 1 + greate...
; A133186: Period 4: repeat [1, 2, 1, -4]. ; 1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4 add $0,1 gcd $0,4 lpb $0,1 sub $0,6 lpe mul $0,2 bin $0,3 mov $1,$0 div $1,4 add $1,1
.data sizeofarray: .word 3 array: .word 2, 4, 6, 8 .text .globl main main: la $s0, sizeofarray lw $s1, 0($s0) #$s1 = sizeofarray ori $s2, $0, 0 #$s2 = i la $s3, array #$s3 = &array loopFor: beq $s1, $s2, funcExit #if(i = sizeofarray) call funcExit lw $s4, 0($s3) #$s4 = array[i]...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
.segment "CODE_03" .include "pulsar.h" .include "screen.asm"
; A099198: A bisection of A002807. ; 0,7,197,8018,556014,59740609,9174170011,1904975488436,513771331467372,174548332364311563,72920994844093191553,36737130036755448717350,21961934137099746053158010,15369599839081193169161637861 mul $0,2 add $0,1 lpb $0 mov $2,$0 mul $3,$0 sub $0,1 add $1,$3 add $3,$2 lpe mov...
#include <iostream> using namespace std; template <typename Ret, typename Param0> class Callback { public: virtual Ret invoke(Param0 param0) = 0; }; template <typename Ret, typename Param0> class StaticFunctionCallback : public Callback<Ret, Param0> { private: Ret (*func_)(Param0); public: StaticFunctionCallb...
; A203777: Aliquot sequence starting at 220. ; 220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284,220,284 mod $0,2 mul $0,64 add $0,220
// Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "uritests.h" #include "guiutil.h" #include "walletmodel.h" #include <QUrl> void URITests::uriTests() { SendCoinsRe...
; A131176: a(n) = (n^5-n-10)/10. ; -1,-1,2,23,101,311,776,1679,3275,5903,9998,16103,24881,37127,53780,75935,104855,141983,188954,247607,319997,408407,515360,643631,796259,976559,1188134,1434887,1721033,2051111,2429996,2862911,3355439,3913535,4543538,5252183,6046613,6934391 mov $2,$0 pow $0,5 sub $0,10 sub $0,$2 div $0...
#include "DQMServices/Examples/interface/HarvestingDataCertification.h" HarvestingDataCertification::HarvestingDataCertification(const edm::ParameterSet& iPSet) { std::string MsgLoggerCat = "HarvestingDataCertification_HarvestingDataCertification"; fName = iPSet.getUntrackedParameter<std::string>("Name"); verbo...
################################################################################################# # Disclaimer: # ################################################################################################# # Made by: Giovanni Sullutrone # # Date: 8 march 2020 # #########################...
; ----------------------------------------- ; Boot sector ; TingOS Hobbyist Kernel ; MAIN DISK SECTOR CODE ; ; chia_jason96@live.com ; ----------------------------------------- ; ------------------------------------------------------------------ ; Beginning of disk sector ( Sector 2 ) (on CODE_SEGMENT:DISK_READ_BREG) ...
TITLE INSTSOFT - Copyright (C) 1994 SLR Systems INCLUDE MACROS INCLUDE CDDATA PUBLIC INSTALL_SOFT_REF ; ; DS:SI (CX) IS SYMBOL TO BE ADDED TO LIST OF COMDAT SOFT REFERENCES ; .DATA EXTERNDEF MYCOMDAT_LINDEX:DWORD .CODE PASS1_TEXT EXTERNDEF ALLOC_LOCAL:PROC INSTALL_SOFT_REF PROC ; ;EAX IS ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1afe7, %rdx clflush (%rdx) inc %rbp mov (%rdx), %rdi nop and %rdi, %rdi lea addresses_WC_ht+0x4b4f, %rax clflush (%rax) nop nop dec %r12 mov (%rax), %bx nop nop sub %rbp, %r...
// // Copyright (c) 2018 Johan Sköld // License: https://opensource.org/licenses/ISC // #pragma once #include <pantryman/host.hpp> #include <pantryman/window.hpp> #include "cmdbuffer.hpp" namespace pm { constexpr uint16_t MAX_WINDOW_TITLE_LEN = 255; struct CallbackArgs { uint16_t index; ...
// Copyright (c) 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 <base58.h> #include <chain.h> #include <clientversion.h> #include <core_io.h>...
HIDE EQU $11 SHOW EQU $15 ; MissableObjects indexes (see data/maps/hide_show_data.asm) ; this is a list of the sprites that can be enabled/disabled during the game ; sprites marked with an X are constants that are never used ; because those sprites are not (de)activated in a map's script ; (they are either items or sp...
; A010978: a(n) = binomial(n,25). ; 1,26,351,3276,23751,142506,736281,3365856,13884156,52451256,183579396,600805296,1852482996,5414950296,15084504396,40225345056,103077446706,254661927156,608359048206,1408831480056,3169870830126,6943526580276,14833897694226,30957699535776,63205303218876,126410606437752,247959266474052,...
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Video driver FILE: cmykManager.asm AUTHOR: Jim DeFrisco REVISION HISTORY: Name Date Description ---- ---- ----------- Jim 12/91 initial...