text
stringlengths
1
1.05M
.device ATtiny10 ; +====+ ; PWMA/PB0 |* | PB3 (RESET) ; GND | | Vcc ; PWMB/PB1 | | PB2 (CLKO) ; +====+ .fuses rstdisbl .eq SREG = 0x3F ; Status Register .eq SPH = 0x3E ; Stack Pointer Register (high byte) .eq SPL = 0x3D ; Stack Pointer Register (low byte) .eq PUEB = 0x0...
/****************************************************************************** * 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 ...
; CALLER linkage for function pointers XLIB outp LIB outp_callee XREF ASMDISP_OUTP_CALLEE .outp pop af pop de pop bc push bc push de push af jp outp_callee + ASMDISP_OUTP_CALLEE
/** @file kmp_stats_timing.cpp * Timing functions */ //===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.txt for ...
; A083036: Partial sums of A083035. ; 1,1,1,2,3,3,4,5,5,5,6,6,6,7,8,8,8,9,9,9,10,11,11,12,13,13,13,14,15,15,16,17,17,17,18,18,18,19,20,20,21,22,22,22,23,24,24,25,26,26,26,27,27,27,28,29,29,29,30,30,30,31,32,32,33,34,34,34,35,35,35,36,37,37,37,38 mov $2,$0 add $2,1 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 sub $0,$2 ...
%define BPM 100 %include "../src/sointu.inc" BEGIN_PATTERNS PATTERN 64, HLD, HLD, HLD, HLD, HLD, HLD, HLD, 0, 0, 0, 0, 0, 0, 0, 0, END_PATTERNS BEGIN_TRACKS TRACK VOICES(1),0 END_TRACKS BEGIN_PATCH BEGIN_INSTRUMENT VOICES(1) ; Instrument0 SU_LOADVAL MONO,VALUE(32) SU_LOADVAL MONO,VALUE(...
// 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 you under the Apache License, Version 2.0 (the // "License"); you may...
; A081406: a(n) = (n+1)*a(n-3), a(0)=a(1)=a(2)=1 for n>1. ; 1,1,1,4,5,6,28,40,54,280,440,648,3640,6160,9720,58240,104720,174960,1106560,2094400,3674160,24344320,48171200,88179840,608608000,1252451200,2380855680,17041024000,36321084800,71425670400,528271744000,1162274713600,2357047123200,17961239296000,40679614976000,84...
; A202391: Indices of the smallest of four consecutive triangular numbers summing up to a square. ; 5,39,237,1391,8117,47319,275805,1607519,9369317,54608391,318281037,1855077839,10812186005,63018038199,367296043197,2140758220991,12477253282757,72722761475559,423859315570605,2470433131948079 mul $0,2 mov $1,5 mov $4,4 ...
#include "../../include/graphics/CTextureAtlas.h" #include "../../include/core/IGraphicsContext.h" #include "../../include/core/IResourceManager.h" #include "../../include/core/CBaseFileSystem.h" #include "../../include/utils/Utils.h" #include "../../include/graphics/CBaseTexture2D.h" #include "../../include/graphics/I...
/**************************************************************************************** * @author: kzvd4729 created: Jul/12/2020 00:48 * solution_verdict: Wrong answer on test 7 language: GNU C++14 * run...
#pragma once #include "interface.hpp" #include "internal/sys.hpp" #include "pci.hpp" #include "progress.hpp" #include <ipmiblob/blob_interface.hpp> #include <cstdint> #include <vector> namespace host_tool { class P2aDataHandler : public DataInterface { public: P2aDataHandler(ipmiblob::BlobInterface* blob, co...
; A288663: Decimal representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 493", based on the 5-celled von Neumann neighborhood. ; 1,2,1,12,3,56,7,240,15,992,31,4032,63,16256,127,65280,255,261632,511,1047552,1023,4192256,2047,16...
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
; (proc.asm) ; This program shows how to use the PROC directive with ; different calling conventions. INCLUDE Irvine32.inc .code Example1 PROTO C, parm1:DWORD, parm2:DWORD Example2 PROTO STDCALL, parm1:DWORD, parm2:DWORD Example3 PROTO PASCAL, parm1:DWORD, parm2:DWORD main PROC INVOKE Example1, 2, 3 ...
; $Id: deps.asm $ ;; @file ; Solaris kernel module dependency ; ; ; Copyright (C) 2012 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 of the GNU ; Gen...
; A158628: a(n) = 44*n^2 - 1. ; 43,175,395,703,1099,1583,2155,2815,3563,4399,5323,6335,7435,8623,9899,11263,12715,14255,15883,17599,19403,21295,23275,25343,27499,29743,32075,34495,37003,39599,42283,45055,47915,50863,53899,57023,60235,63535,66923,70399,73963,77615,81355,85183,89099,93103,97195,101375,105643,109999,11444...
; A179571: Number of permutations of 1..n+4 with the number moved left exceeding the number moved right by n. ; 31,66,134,267,529,1048,2080,4137,8243,16446,32842,65623,131173,262260,524420,1048725,2097319,4194490,8388814,16777443,33554681,67109136,134218024,268435777,536871259,1073742198,2147484050,4294967727,858993505...
SYS_EXIT equ 1 SYS_WRITE equ 4 STDIN equ 0 STDOUT equ 1 section .data msg_1 db 'Hello, programmers!', 0xA, 0xD len_1 equ $ - msg_1 msg_2 db 'Welcome to the world of', 0x20 len_2 equ $ - msg_2 msg_3 db 'Linux assembly programming!', 0xA, 0xD len_3 equ $ - msg_3 section .text globa...
; A131133: a(0)=1; for n > 0, a(n) = (1/n + 1/a(n-1))*lcm(n, a(n-1)). ; Submitted by Simon Strandgaard ; 1,2,2,5,9,14,10,17,25,34,22,3,5,18,16,31,47,64,41,60,4,25,47,70,47,72,49,76,26,55,17,48,5,38,36,71,107,144,91,10,5,46,44,87,131,176,111,158,103,152,101,152,51,104,79,134,95,8,33,92,38,99,161,32,3,68,67,2,35,104,87,1...
/* Author: Mamnuya Rinki Summary: C++ notes program for quotes, affirmations, actions, and journal entries. //USAGE //g++ -std=c++17 notes.cpp -c //g++ -std=c++17 notes.cpp -o notes //./notes outputfile and (optional field) "default" and (optional field) inputfile */ #include <iostream> #include <fstream> #...
////////////////////////////////////////////////////////////////////////////// /// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand /// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI /// /// Distributed under the Boost Software License, Version 1.0 /// ...
; A053738: If k is in sequence then 2*k and 2*k+1 are not (and 1 is in the sequence); numbers with an odd number of digits in binary. ; 1,4,5,6,7,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,10...
Sound46_RingSpill_Header: smpsHeaderStartSong 2 smpsHeaderVoice Sound_Ring_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $02 smpsHeaderSFXChannel cFM4, Sound46_RingSpill_FM4, $00, $05 smpsHeaderSFXChannel cFM5, Sound46_RingSpill_FM5, $00, $08 ; FM4 Data Sound46_RingSpill_FM4: smpsSetvoice $00 ...
; A025923: Expansion of 1/((1-x^9)*(1-x^10)*(1-x^11)). ; 1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,2,1,1,0,0,0,0,1,1,2,2,2,1,1,0,0,1,1,2,2,3,2,2,1,1,1,1,2,2,3,3,3,2,2,2,2,2,2,3,3,4,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4 mov $3,$0 mov $5,2 lpb $5 mov $0,$3 sub $5,1 add $0,$5 trn $0,1 seq $0,29132 ; Expansion of ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xe93b, %rsi lea addresses_WT_ht+0x10fef, %rdi nop nop nop nop nop cmp %rbx, %rbx mov $37, %rcx rep movsw nop nop xor $23968, %r9 lea addresses_A_ht+0x125ba, %r14 clflush (%r14) nop ...
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; 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 push %ebp ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1442b, %rsi lea addresses_UC_ht+0x2357, %rdi nop add $45757, %rdx mov $125, %rcx rep movsw nop nop nop nop nop dec %r15 lea addresses_A_ht+0x19d3b, %rsi lea addresses_WC_ht+0x227, %rd...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>writev(fd, iovec, count) -> str Invokes the syscall writev. See 'man 2 writev' for more information. Arguments: fd(int): fd iovec(iovec*): iovec count(int): count Returns: ssize_t </%docstring> <%p...
// Copyright (c) 2014 Grant Mercer // // 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) #include <hpx/hpx_init.hpp> #include <hpx/hpx.hpp> #include <hpx/include/parallel_adjacent_find.hpp> #include <hpx/util/light...
// Copyright (c) 2014-2015 The Dash Developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017-2020 The Verizon Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode....
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR THE BIFROST*2 ENGINE ; ; See "bifrost2.h" for further details ; ---------------------------------------------------------------- SECTION code_clib SECTION code_bifrost2 PUBLIC asm_BIFROST2_stop defc asm_BIFROST2_stop = 5...
;****************************************************************************** ; ; (c) 2010 by BECK IPC GmbH ; http://www.beck-ipc.com ; ;****************************************************************************** ; ; Module: rtxdyn00.asm ; Function: Dynamic linking of RTX API Function ; ; ;******************...
; A188038: a(n) = [nr]-[kr]-[nr-kr], where r=sqrt(2), k=2, [ ]=floor. ; 1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1 mov $1,$0 lpb $1 mov $2,$1 sub $1,2 seq $...
; A041481: Denominators of continued fraction convergents to sqrt(257). ; Submitted by Jamie Morken(s2) ; 1,32,1025,32832,1051649,33685600,1078990849,34561392768,1107043559425,35459955294368,1135825612979201,36381879570628800,1165355971873100801,37327772979509854432,1195654091316188442625,38298258695097540018432,122673...
; ; ANSI Video handling for the Jupiter ACE ; ; Stefano Bodrato - Feb. 2001 ; ; ; set it up with: ; .text_cols = max columns ; .text_rows = max rows ; ; Display a char in location (ansi_ROW),(ansi_COLUMN) ; A=char to display ; ; ; $Id: f_ansi_char.asm,v 1.2 2016/11/17 09:39:03 stefano Exp $ ; SECTION code_cl...
#include "JSystem/J3D/J3DDrawBuffer.h" #include "JSystem/J3D/J3DSys.h" #include "JSystem/JUT/JUTException.h" #include "Sys/DrawBuffers.h" #include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_8049BAD8 lbl_8049BAD8: .4byte 0x73797344 .4by...
/* Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHO...
// // Created by sylvain on 27/01/17. // #include <iostream> #include <iomanip> #include "Characters/Character.hh" Character::Character(std::string const &name) : ACharacteristics(1, 1, 1, 1), _name(name), _health(100), _armor(0) {} Character::~Character() {} void Character::displayInfo() const { ...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: OpenLook/Win FILE: winFieldData.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 3/89 Initial version DESCRIPTION: ...
; A312606: Coordination sequence Gal.6.255.1 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,4,8,14,19,23,27,31,36,42,46,50,54,58,64,69,73,77,81,86,92,96,100,104,108,114,119,123,127,131,136,142,146,150,154,158,164,169,173,177,181,1...
%ifndef NSECS %assign NSECS 16384 %endif %assign NSECS ((NSECS+3) & ~3) %assign n 0 %rep NSECS %assign gcom (n & ~3) + 2 section .text %+ n progbits exec start_ %+ n: nop jmp start_ %+ gcom %assign n n+1 %endrep
// name=random ; gcc $name.cc -std=c++11 -lstdc++ -o /tmp/$name && /tmp/$name /** https://stackoverflow.com/questions/9878965/rand-between-0-and-1 https://stackoverflow.com/questions/31417957/encapsulated-random-number-generator-in-c-11-using-boost **/ #include <iostream> #include <iomanip> #include <random> int m...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x12a1e, %rsi lea addresses_UC_ht+0x19d6e, %rdi nop nop nop sub $42737, %r13 mov $87, %rcx rep movsb nop cmp %rdi, %rdi lea addresses_UC_ht+0xad1e, %rax nop cmp %r13, %r13 movups (%...
PROCESSOR 6502 ; Convert long int on stack to byte MAC F_cbyte_long pla pla ENDM ; Convert long int on stack to word MAC F_cword_long pla ENDM ; Convert long int on stack to int MAC F_cint_long pla ENDM ; Convert long int on stack to float MAC F_cfloat_long ; @pull @push IF !FPULL pla sta FAC...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "precomp.h" #include "ApiDispatchers.h" #include "../host/directio.h" #include "../host/getset.h" #include "../host/stream.h" #include "../host/srvinit.h" #include "../host/telemetry.hpp" #include "../host/cmdline.h" [...
; *************************************************************************** ; *************************************************************************** ; ; aplib.asm ; ; 65C816 decompressor for data stored in Jorgen Ibsen's aPLib format. ; ; Includes support for Emmanuel Marty's enhancements to the aPLib format. ;...
/* * Copyright (c) 2019, Zuse Institute Berlin. * * Licensed under the New BSD License, see LICENSE file for details. * */ #include "rpc_client.h" #include "paciofs.grpc.pb.h" #include "posix_io.grpc.pb.h" #include <grpcpp/grpcpp.h> #include <sys/types.h> #include <unistd.h> #include <fstream> #include <sstream...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld c, 41 ld b, 02 ld d, 03 lbegin_waitm2: ldff a, (c) and a, d cmp a, b jrnz lbegin_waitm2 ld a, 08 ldff(c), a xor a, a ldff(0f), a ld a, 02 ldff(ff), a ei ld c, 0f .text@1000 lstatint: ld a, 48 ldff(41), a ldff...
// 2003-03-08 Jerry Quinn <jlquinn@optonline.net> // Copyright (C) 2003 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 published by the // Free Softw...
global _start section .text _start: push 0xb pop eax cltd push edx push 0x6c6c6177 push 0x207c2021 push 0x64336b63 push 0x75685020 push 0x6f686365 mov esi, esp push edx push word 0x632d mov ecx, esp push edx push 0x68732f2f push 0x6e69622f mov ebx, esp push edx push esi push ...
; ; Create a file by the BASIC driver (open then close) ; ; Stefano - 5/7/2006 ; ; int creat(far char *name, mode_t mode); ; ; $Id: creat.asm,v 1.2 2015/01/21 08:09:27 stefano Exp $ PUBLIC creat EXTERN open EXTERN close .creat pop bc pop hl push hl push bc push bc push bc push hl call open pop bc po...
// Copyright Nikolay Mladenov 2007. // 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 FUNCTION_SIGNATURE_20070531_HPP #define FUNCTION_SIGNATURE_20070531_HPP #include <boost/python/converter/registrations....
aLine 0 gNew basePtr gMoveNext basePtr, Root gNewVPtr maxNext gNewVPtr rootNext gMoveNext rootNext, Root gNewVPtr basePrev gNew maxPtr, 1085, 800 gNewVPtr maxPrev gNew currentPtr, 1085, 920 aLine 1 gBeq basePtr, null, 46 aLine 3 gMove maxPtr, basePtr aLine 4 gMoveNext currentPtr, basePtr aLine 5 gBeq currentPtr, n...
; Chapter 7 ; 7.8 Example program, Sum of Squares ; Simple program to compute the of squares from 1 to n ; *********************************** ; Data declarations section .data ; ------ ; Define constants SUCCESS equ 0 SYS_exit equ 60 ; ----- ; Define data n dd 10...
// cmcstl2 - A concept-enabled C++ standard library // // Copyright Casey Carter 2015 // // Use, modification and distribution is 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) // // Project home: https://github.c...
; ; ; ZX Spectrum ZXMMC specific routines ; code by Alessandro Poppi ; ported to z88dk by Stefano Bodrato - Mar 2010 ; ; $Id: mmc_read_block.asm,v 1.3 2016-06-10 21:28:03 dom Exp $ ; ; Read a 512 byte data block from the MMC card ; extern int __LIB__ mmc_read_block(struct MMC mmc_descriptor, long card_address, unsi...
#include <iostream> #include <list> using namespace std; /* Application Crash test ! */ int main() { int a = 4; std::list<int> x[-a]; //result(Application Crash) }
; Q40 SMSQ BEEP emulation  1988 Tony Tebby section sms xdef hdop_beep xdef hdop_bpof xref hdop_poll xref hdop_ssss include 'dev8_keys_sys' include 'dev8_keys_iod' include 'dev8_keys_err' include 'dev8_keys_sss' include 'dev8_smsq_q40_hdop_data' hdop_beep hob.rege reg d1-d3/a0/a1/a2 hob.regx reg d1...
; A258598: a(n) = 17*3^n. ; 17,51,153,459,1377,4131,12393,37179,111537,334611,1003833,3011499,9034497,27103491,81310473,243931419,731794257,2195382771,6586148313,19758444939,59275334817,177826004451,533478013353,1600434040059,4801302120177,14403906360531 mov $1,3 pow $1,$0 mul $1,17
; ────┤ Trabalho de Prática em Organização Computacional │ Agosto 2021 ├──── ; Gabriel Victor Cardoso Fernandes - 11878296 ; Gabriel Alves Kuabara - 11275043 ; Lourenço de Salles Roselino - 11796805 ; Caracteres que constroem o Mapa ; boneco - z amarelo ; parede normal - } azul ; parede mortal - { vermelho ; bandeira ...
;;;;;;;;;;;;;;;; ; test branching ;;;;;;;;;;;;;;;; .org $8000 ;;;;;;;;;;;;;;;; ; test JMP (indirect) ;;;;;;;;;;;;;;;; LDX #$00 ; reset X register LDA #<ind_skip_1 ; low byte of target address STA $0250 LDA #>ind_skip_1 ; high byte of target address STA $0251 JMP ($0250) ; jump to address sp...
; A017115: a(n) = (8*n + 4)^3. ; 64,1728,8000,21952,46656,85184,140608,216000,314432,438976,592704,778688,1000000,1259712,1560896,1906624,2299968,2744000,3241792,3796416,4410944,5088448,5832000,6644672,7529536,8489664,9528128,10648000,11852352,13144256,14526784,16003008,17576000,19248832,21024576,22906304,24897088,2700...
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
// 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 "chrome/browser/notifications/notification.h" #include "chrome/browser/notifications/desktop_notification_service.h" Notification::Notifica...
DoMysteryGift: call ClearTileMap call ClearSprites call WaitBGMap call InitMysteryGiftLayout hlcoord 3, 8 ld de, .String_PressAToLink_BToCancel call PlaceString call WaitBGMap farcall PrepMysteryGiftDataToSend call MysteryGift_ClearTrainerData ld a, $2 ld [wca01], a ld a, $14 ld [wca02], a ldh a, [rIE] ...
.byte $01 ; Unknown purpose .byte OBJ_BONUSCONTROLLER, $00, $1C .byte OBJ_PARATROOPAGREENHOP, $12, $15 .byte OBJ_PARATROOPAGREENHOP, $17, $15 .byte OBJ_PARAGOOMBAWITHMICROS, $14, $17 .byte OBJ_PARATROOPAGREENHOP, $2D, $16 .byte OBJ_VENUSFIRETRAP_CEIL, $30, $11 .byte OBJ_VENUSFIRETRAP, $37, $17 .byte OBJ_PARAG...
; A083336: a(n)=4a(n-2)-a(n-4). ; Submitted by Christian Krause ; 3,3,9,12,33,45,123,168,459,627,1713,2340,6393,8733,23859,32592,89043,121635,332313,453948,1240209,1694157,4628523,6322680,17273883,23596563,64467009,88063572,240594153,328657725,897909603 mov $2,1 lpb $0 sub $0,2 add $1,$2 add $2,$1 add $2,$1 lp...
; A156561: Floor(Fibonacci(2n+1)/9). ; 0,0,0,1,3,9,25,67,177,464,1216,3184,8336,21824,57136,149585,391619,1025273,2684201,7027331,18397793,48166048,126100352,330135008,864304672,2262779008,5924032352,15509318049,40603921795,106302447337,278303420217 seq $0,122367 ; Dimension of 3-variable non-commutative harmonics (tw...
; ; ; Z88 Maths Routines ; ; C Interface for Small C+ Compiler ; ; 7/12/98 djm ; ; fmod(z,x) = z-x*floor(z/x) ; if x>0 then 0 <= fmod(z,x) < x ; if x<0 then x < fmod(z,x) <= 0 ; ;x is in the FA ;z is on the stack +8 (+2=x) INCLUDE "#fpp.def" ...
SECTION code_fp_math32 PUBLIC ___uchar2fs_callee EXTERN cm32_sdcc___uchar2fs_callee defc ___uchar2fs_callee = cm32_sdcc___uchar2fs_callee
.size 8000 .text@50 jp ltimaint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: xor a, a ldff(0f), a ldff(ff), a ld a, fe ldff(05), a ldff(06), a ld a, 04 ldff(ff), a ld a, 04 ldff(07), a ei nop halt .text@1000 ltimaint: nop .text@116f ld c, 05 ld a, 00 ldff(07), a ldff a, (c) .text@1202 ...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
; ; Copyright (c) 2010 The WebM 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 in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
/* * Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima). * * 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 * ...
MANIA_OT_ID EQU 00518 GiveShuckle: ; Adding to the party. xor a ld [wMonType], a ; Level 15 Shuckle. ld a, SHUCKLE ld [wCurPartySpecies], a ld a, 15 ld [wCurPartyLevel], a predef TryAddMonToParty jr nc, .NotGiven ; Caught data. ld b, 0 farcall SetGiftPartyMonCaughtData ; Holding a Berry. ld bc, PARTYMON...
; A192802: Coefficient of x in the reduction of the polynomial (x+2)^n by x^3->x^2+x+1. ; Submitted by Christian Krause ; 0,1,4,13,42,143,514,1915,7268,27805,106680,409633,1573086,6040587,23193782,89051615,341901032,1312664601,5039704492,19348873781,74285859698,285204660583,1094982340202,4203950929347,16140172668812 ...
.global s_prepare_buffers s_prepare_buffers: push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xa170, %rsi lea addresses_D_ht+0x7670, %rdi clflush (%rdi) nop cmp %rbx, %rbx mov $95, %rcx rep movsb nop nop nop nop sub $57436, %rax lea addresses_normal_ht+0x79e8, %rsi lea addresses_D_ht+0x1c770, %rdi...
/* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
; A160550: a(n) = A001065(n) mod A000005(n). ; Submitted by Christian Krause ; 0,1,1,0,1,2,1,3,1,0,1,4,1,2,1,0,1,3,1,4,3,2,1,4,0,0,1,4,1,2,1,1,3,0,1,1,1,2,1,2,1,6,1,4,3,2,1,6,2,1,1,4,1,2,1,0,3,0,1,0,1,2,5,0,3,6,1,4,3,2,1,3,1,0,1,4,3,2,1,6,0,0,1,8,3,2,1,4,1,0,1,4,3,2,1,0,1,1,3,0 add $0,1 mov $1,1 mov $2,$0 mov $4,1 lpb...
// 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 "chrome/browser/ash/certificate_provider/certificate_info.h" #include "net/cert/x509_certificate.h" namespace ash { namespace certificate_provi...
; A118265: Coefficient of q^n in (1-q)^4/(1-4q); dimensions of the enveloping algebra of the derived free Lie algebra on 4 letters. ; 1,0,6,20,81,324,1296,5184,20736,82944,331776,1327104,5308416,21233664,84934656,339738624,1358954496,5435817984,21743271936,86973087744,347892350976,1391569403904,5566277615616,2226511046...
; A048755: Partial sums of A048693. ; 1,7,20,52,129,315,764,1848,4465,10783,26036,62860,151761,366387,884540,2135472,5155489,12446455,30048404,72543268,175134945,422813163,1020761276,2464335720,5949432721,14363201167,34675835060,83714871292,202105577649,487926026595 mov $1,1 mov $3,1 lpb $0,1 sub $0,1 add $3,3 a...
/* * Copyright (c) 2017, 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 Software without restriction, including without limitation * the rights to use, copy, modify, merge, publi...
//===--- SwiftASTManager.cpp ----------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
C nettle, low-level cryptographics library C C Copyright (C) 2013 Niels Möller C C The nettle library is free software; you can redistribute it and/or modify C it under the terms of the GNU Lesser General Public License as published by C the Free Software Foundation; either version 2.1 of the License, or (at your C ...
;; ;; Copyright (c) 2020-2021, 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...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r14 push %r9 push %rdi push %rdx push %rsi // Store lea addresses_RW+0x15cf4, %r14 nop nop nop inc %r9 movw $0x5152, (%r14) nop nop add $2363, %rdi // Store lea addresses_normal+0xbb74, %r14 nop cmp $4...
; A059502: a(n) = (3*n*F(2n-1) + (3-n)*F(2n))/5 where F() = Fibonacci numbers A000045. ; 0,1,3,9,27,80,234,677,1941,5523,15615,43906,122868,342409,950727,2631165,7260579,19982612,54865566,150316973,411015705,1121818311,3056773383,8316416134,22593883752,61301547025,166118284299,449639574897,1215751720491,3283883157848,8...
############################################## # Fall 2015, CIS 314 Computer Organization # # Major Class Project # ############################################## # This tests for function calls ############# # By calculating (a*b) , (a* (b-1)), ...(a*1) #######################################...
//================================================================================================= /*! // \file src/mathtest/dmatdvecmult/M3x3aVDa.cpp // \brief Source file for the M3x3aVDa dense matrix/dense vector multiplication math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // ...
; A026587: a(n) = T(n, n-2), T given by A026584. Also a(n) = number of integer strings s(0),...,s(n) counted by T, such that s(n)=2. ; Submitted by Jamie Morken(w1) ; 1,1,5,9,28,62,167,399,1024,2518,6359,15819,39759,99427,249699,626203,1573524,3953446,9943905,25019005,62994733,158680545,399936573,1008438757,2543992514,...
#include <bits/stdc++.h> #define ll long long int using namespace std; int main() { ll t; cin >> t; while (t--) { ll n; cin >> n; ll a[n]; ll b[n]; for (ll i = 0; i < n; i++) { cin >> a[i]; b[i] = 0; } for (ll i = 0; i < n; i...
/* Copyright (c) 2018 PaddlePaddle 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 agr...
#include "PNGWriter.h" int PNGWriter::maxHeight = 600; int PNGWriter::maxOutBuf = 800 * 600 * 2; int PNGWriter::maxWriteBuf = 800 * 600 * 2 * 2; unsigned char* PNGWriter::outBuf = NULL; unsigned char* PNGWriter::writeBuf = NULL; png_bytep* PNGWriter::row_pointers = NULL; png_text PNGWriter::pngtext[2] = {0}; void P...
; A163827: a(n) = 6n^3 + 1, solution z in Diophantine equation x^3 + y^3 = z^3 - 2. It may be considered a Fermat near miss by 2. ; 7,49,163,385,751,1297,2059,3073,4375,6001,7987,10369,13183,16465,20251,24577,29479,34993,41155,48001,55567,63889,73003,82945,93751,105457,118099,131713,146335,162001,178747,196609,215623,2...
#include <string> #include "Warriors.hpp" //Default constructor Warrior::Warrior(){ this->damage = 5; this->health = 100; this->name = ""; this->bonusDamage = 0; this->bonusHealth = 0; } //Constructor with parameters Warrior::Warrior(int damage, int health, std::string name){ this-...
; A158535: a(n) = Hermite(n,11). ; Submitted by Jon Maiga ; 1,22,482,10516,228460,4941992,106439224,2282359024,48721749392,1035360742240,21900944840224,461113571640128,9662677789597888,201512185651790464,4182038461809845120,86362504961566459648,1774513955300166758656,36275706857833541981696,737732076392132253803008,149...
#ifndef UTIL___THREAD_POOL_CTRL__HPP #define UTIL___THREAD_POOL_CTRL__HPP /* $Id: thread_pool_ctrl.hpp 132195 2008-06-26 12:58:47Z ivanovp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotech...
[absolute 0] HOSTENT: .Name resd 1 .Aliases resd 1 .AddrList resd 1 HOSTENT_size: [section .bss] STRING_MAX equ 256 HOSTENT_ALIASES_MAX equ 16 HOSTENT_ADDRLIST_MAX equ 16 HostEnt_Name_static resb STRING_MAX HostEnt_Aliases_static resd HOSTENT_ALIASES_MAX HostEnt_AddrList_static resd HOSTENT_ADDRLIST_MAX HostEnt_A...