text
stringlengths
1
1.05M
%ifdef CONFIG { "RegData": { "RAX": "0x1600", "RDI": "0xE000000C", "RSI": "0xE0000004" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x61626364 mov [rdx + 8 * 0], rax mov rax, 0x55565758 mov [rdx + 8 * 1], rax lea rdi, [rdx + 8 * 1] lea rsi, [rdx + 8 * 0]...
; A097195: Expansion of s(12)^3*s(18)^2/(s(6)^2*s(36)), where s(k) := subs(q=q^k, eta(q)) and eta(q) is Dedekind's function, cf. A010815. Then replace q^6 with q. ; Submitted by Jon Maiga ; 1,2,2,2,1,2,2,2,3,0,2,2,2,2,0,4,2,2,2,0,1,2,4,2,0,2,2,2,3,2,2,0,2,2,0,2,4,2,2,0,2,4,0,4,0,2,2,2,1,0,4,2,2,0,2,2,2,4,2,0,3,2,2,2,0,...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: et sw=2 ts=2 fdm=marker */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file excep...
//----------------------------------------------------------------------------- // Copyright (c) 2012 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...
; A146511: Numbers congruent to {5, 17} modulo 66. ; 5,17,71,83,137,149,203,215,269,281,335,347,401,413,467,479,533,545,599,611,665,677,731,743,797,809,863,875,929,941,995,1007,1061,1073,1127,1139,1193,1205,1259,1271,1325,1337,1391,1403,1457,1469,1523,1535,1589,1601,1655,1667,1721,1733,1787,1799,1853,1865,1919,1931,198...
%ifdef CONFIG { "RegData": { "MM0": "0xDFE0DFE0DFE0DFE0", "MM1": "0xDFE0DFE0DFE0DFE0" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax mov rax, 0x6162636465666768 mov [r...
/*************************************************************** * * Copyright (C) 1990-2011, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Yo...
#include "../cpudef.asm" move r1, 5 move r2, 3 add r1, r2 add r1, 2 if.ne r1, 10 error halt
// // write_at.hpp // ~~~~~~~~~~~~ // // Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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 ASIO_WRITE_AT_HPP #define ASIO_WRIT...
; A101875: Number of Abelian groups of order 4n+2. ; 1,1,1,1,2,1,1,1,1,1,1,1,2,3,1,1,1,1,1,1,1,1,2,1,2,1,1,1,1,1,1,2,1,1,1,1,1,2,1,1,5,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,2,1,2,1,3,1,1,1,1,3,1,1,1,1,1,2,1,1,2,1,1,1,1,1,1,1,2,2,1,2,1,1,1,1,1,1,3,1,1,1,1,1 mul $0,2 seq $0,46660 ; Excess of n = number of prime divisors (wi...
include w2.inc include noxport.inc include consts.inc include structs.inc createSeg exp_PCODE,exp,byte,public,CODE ; DEBUGGING DECLARATIONS ; EXTERNAL FUNCTIONS externFP <CbAllocSb, CbReallocSb, FreeSb, ReloadSb, CbSizeSb> sBegin data ; EXTERNALS externW mpsbps externW sbMac sE...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 The LightPayCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/...
.include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 104 card_no equ "104" card_sub equ "Mod Card 104" card_sub_x...
; --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 ...
CALL LOAD ; Altprogramı çağır LXI B, 0200H LXI H, 0202H LXI D, 0204H STC ; Eldeyi 1 yap CMC ; Eldeyi tümle C=0 MVI A, 2 ; A=2 (sayılar 2 byte tan oluşuyor) MORE: STA TMP ; A yı sakla LDAX B ; BC deki veriyi A ya yükle ADC M ; A=A+[HL]+C STAX D ; A yı D adresine kaydet INX B INX H ; 1 er arttır INX D LDA TMP ; TM...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x181e2, %rbp nop nop nop nop nop cmp %r14, %r14 mov $0x6162636465666768, %rcx movq %rcx, %xmm4 vmovups %ymm4, (%rbp) nop nop nop nop and $7857, %rdx lea addresses_WT_ht+0xfbe...
// // This file is part of www.nand2tetris.org // // and the book "The Elements of Computing Systems" // // by Nisan and Schocken, MIT Press. // // File name: projects/07/MemoryAccess/StaticTest/StaticTest.vm // // // Executes pop and push commands using the static segment. // push constant 111 @111 D=A ...
#include<iostream> using namespace std; \ string getDayOfWeek(int dayNum){ string dayName; switch (dayNum) { case 0: dayName = "Sunday"; break; case 1: dayName = "Monday"; break; case 2: dayName = "Tuesday"; break; case 3: dayName = ...
BITS 64 ; 64bit mode default rel ; relative mode SIGSTOP equ 19 ; Pushes an auxv pair to the stack. ; Arg1: auxv type, use the AT_n macros above ; Arg2: The value of the auxv entry %macro PUSH_AUX_ENT 2 push %1 push %2 %endmacro ; Calls sys_munmap. ; Arg1: Address to start unmapping from. Must be page al...
// (C) Copyright Gennadiy Rozental 2001-2012. // 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) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version ...
/* * Copyright (c) 2000, 2010, 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 ...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2019, Jens Petit * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
; A223082: Number of n-digit numbers N with distinct digits such that N divides the reversal of N. ; 9,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mov $3,$0 add $0,2 mul $0,2 add $0,6 mov $4,2 mov $1,$$3 trn $1,1
//===- llvm/CodeGen/TileShapeInfo.h - ---------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
ParryNoMatchText: text "Nothing can match" line "my @" text_ram wStringBuffer4 text " now." done UnknownText_0x66fc0: text "Yeah, we KO'd a" line "wild @" text_ram wStringBuffer4 text "!" para "That was OK, but I" line "wanted to get it…" done UnknownText_0x67001: text "And yesterday, we" line "spotted...
// Copyright (c) 2014-2016, The Monero Project // // 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 /...
/* * Copyright (c) 2011 The WebRTC 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 contribut...
/****************************************************************************** * * Project: CouchDB Translator * Purpose: Implements OGRCouchDBDriver. * Author: Even Rouault, even dot rouault at spatialys.com * ****************************************************************************** * Copyright (c) 20...
; A288699: 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 494", based on the 5-celled von Neumann neighborhood. ; 1,1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2...
/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundl...
; A319452: Numbers that are congruent to {0, 3, 6, 10} mod 12. ; 0,3,6,10,12,15,18,22,24,27,30,34,36,39,42,46,48,51,54,58,60,63,66,70,72,75,78,82,84,87,90,94,96,99,102,106,108,111,114,118,120,123,126,130,132,135,138,142,144,147,150,154,156,159,162,166,168,171,174,178,180,183,186,190,192,195,198,202,204,207,210,214,216,...
; A157736: a(n) = 388962*n^2 - 347508*n + 77617. ; 119071,938449,2535751,4910977,8064127,11995201,16704199,22191121,28455967,35498737,43319431,51918049,61294591,71449057,82381447,94091761,106579999,119846161,133890247,148712257,164312191,180690049,197845831,215779537,234491167,253980721,274248199,295293601,317116927,33...
COMMENT @----------------------------------------------------------------------- Copyright (c) Geoworks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: bootLog.asm AUTHOR: Cheng, 3/91 ROUTINES: Name Description ---- ----------- LogInit INTERNAL - Intialize log file LogWrite...
; A194986: a(n) = 1 + floor(n/sqrt(6)). ; Submitted by Jon Maiga ; 1,1,2,2,3,3,3,4,4,5,5,5,6,6,7,7,7,8,8,9,9,9,10,10,11,11,12,12,12,13,13,14,14,14,15,15,16,16,16,17,17,18,18,18,19,19,20,20,21,21,21,22,22,23,23,23,24,24,25,25,25,26,26,27,27,27,28,28,29,29,29,30,30,31,31,32,32,32,33,33,34,34,34,35,35,36,36,36,37,37,38,38...
; A111333: Number of odd numbers <= n-th prime. ; Submitted by Jamie Morken(s3) ; 1,2,3,4,6,7,9,10,12,15,16,19,21,22,24,27,30,31,34,36,37,40,42,45,49,51,52,54,55,57,64,66,69,70,75,76,79,82,84,87,90,91,96,97,99,100,106,112,114,115,117,120,121,126,129,132,135,136,139,141,142,147,154,156,157,159,166,169,174,175,177,180,18...
; ****************************************************************************** ; ****************************************************************************** ; ; Name : tokeniser.asm ; Purpose : Tokeniser for RPL/65 ; Author : Paul Robson (paul@robsons.org.uk) ; Created : 14th November 2019 ; ; ***********...
// Copyright (c) YugaByte, 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 in writ...
; ; Small C z88 Character functions ; Written by Dominic Morris <djm@jb.man.ac.uk> ; 22 August 1998 ; ; 17/2/99 djm Rewritten to remove the jp and thus be shorter ; ; $Id: islower.asm,v 1.7 2016-03-06 21:41:15 dom Exp $ ; SECTION code_clib PUBLIC _islower PUBLIC islower EXTERN asm_islower ; FASTCALL ._islow...
; A051336: Number of arithmetic progressions in {1,2,3,...,n}, including trivial arithmetic progressions of lengths 1 and 2. ; 1,3,7,13,22,33,48,65,86,110,138,168,204,242,284,330,381,434,493,554,621,692,767,844,929,1017,1109,1205,1307,1411,1523,1637,1757,1881,2009,2141,2282,2425,2572,2723,2882,3043,3212,3383,3560,3743,...
; A315653: Coordination sequence Gal.5.305.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. ; Submitted by Jon Maiga ; 1,6,12,16,22,28,34,38,44,50,56,62,66,72,78,84,88,94,100,106,112,116,122,128,134,138,144,150,156,162,166,172,178,184...
; A013636: n*nextprime(n). ; 0,2,6,15,20,35,42,77,88,99,110,143,156,221,238,255,272,323,342,437,460,483,506,667,696,725,754,783,812,899,930,1147,1184,1221,1258,1295,1332,1517,1558,1599,1640,1763 mov $2,$0 cal $0,151800 ; Least prime > n (version 2 of the "next prime" function). mov $1,$2 mov $2,$0 mul $2,$1 mul $1,$0 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rcx push %rdx lea addresses_WC_ht+0xe3a2, %r10 nop nop nop and $7484, %rdx and $0xffffffffffffffc0, %r10 vmovaps (%r10), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $1, %xmm3, %rcx add %rdx, %rdx pop %rdx pop %rcx pop %r10 ret .global s_faulty_load s_fau...
; ================================================================== ; The Mike Operating System bootloader ; Copyright (C) 2006 - 2014 MikeOS Developers -- see doc/LICENSE.TXT ; ; Based on a free boot loader by E Dehling. It scans the FAT12 ; floppy for KERNEL.BIN (the MikeOS kernel), loads it and executes it. ;...
; A035276: One seventh of deca-factorial numbers. ; 1,17,459,16983,798201,45497457,3048329619,234721380663,20420760117681,1980813731415057,211947069261411099,24797807103585098583,3149321502155307520041,431457045795277130245617,63424185731905738146105699,9957597159909200888938594743,1662918725704836548452745322081,29433...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_FPU_PE ;TEST_FILE_META_END FLD1 FLDZ ;TEST_BEGIN_RECORDING FYL2XP1 ;st1 = 1.0 * log2(0 + 1.0) ;TEST_END_RECORDING
INCLUDE "defines.asm" SECTION "Rst $00", ROM0[$00] NULL:: ; This traps jumps to $0000, which is a common "default" pointer ; $FFFF is another one, but reads rIE as the instruction byte ; Thus, we put two `nop`s that may serve as operands, before soft-crashing ; The operand will always be 0, so even j...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %r9 push %rbx push %rdi lea addresses_WC_ht+0x56ba, %r13 nop nop xor %r10, %r10 mov $0x6162636465666768, %r15 movq %r15, (%r13) inc %rbx lea addresses_normal_ht+0x1c63a, %r14 nop nop nop sub $23956, %r9 movb $0x61, (%r14) sub %rdi...
; A308570: a(n) = sigma_{2*n}(n). ; 1,17,730,65793,9765626,2177317874,678223072850,281479271743489,150094635684419611,100000095367432689202,81402749386839761113322,79496851942053939878082786,91733330193268616658399616010,123476696151234472370970011268514,191751059232885017991271870136000900,3402823670001666259960856891...
// stdafx.cpp : source file that includes just the standard includes // CornUnitTest.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
#include "ofApp.h" // we need to include the RegularExpression // header file and say that we are using that // name space #include "Poco/RegularExpression.h" using Poco::RegularExpression; // Some explanation on regular expressions // http://gnosis.cx/publish/programming/regular_expressions.html // more info // h...
; uint8_t z180_inp(uint16_t port) SECTION code_clib SECTION code_z180 PUBLIC _z180_inp_fastcall EXTERN asm_z180_inp defc _z180_inp_fastcall = asm_z180_inp
/*========================================================================= Program: Visualization Toolkit Module: TestNumberToString.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softwa...
; A308741: Decimal expansion of BesselI(1/4,1/2)/BesselI(-3/4,1/2). ; Submitted by Jon Maiga ; 8,3,6,3,3,8,5,3,1,2,0,1,2,9,6,6,0,0,7,6,3,6,7,2,7,9,9,1,1,7,4,6,7,8,2,9,4,3,5,8,5,0,2,9,8,9,5,4,6,6,1,6,1,3,1,7,8,1,1,6,6,3,3,2,1,6,6,4,7,5,3,5,3,9,3,5,8,5,4,2,4,6,2,9,7,5,3,4,3,0,2,4,2,0,4,9,3,9,5,6 add $0,1 mov $2,5 mov $3...
object_const_def ; object_event constants const ROUTE38ECRUTEAKGATE_OFFICER Route38EcruteakGate_MapScripts: db 0 ; scene scripts db 0 ; callbacks Route38EcruteakGateOfficerScript: jumptextfaceplayer Route38EcruteakGateOfficerText Route38EcruteakGateOfficerText: text "Where did you say" line "you're from?" ...
; A very simple printing routine for use in 32 bit protected mode since ; we won't be able to use the BIOS once we make the switch into 32 bit protected mode ; This function doesn't scroll, all prints start at the upper left corner. ; The address of the first character of the string to be printed should be passed ; in ...
#ifndef ROSUNIT_RESETSRV_HPP #define ROSUNIT_RESETSRV_HPP #include <ros/ros.h> #include <std_srvs/Empty.h> #include <string> #include "HEAR_core/ExternalTrigger.hpp" namespace HEAR{ class ROSUnit_ResetServer { private: ros::NodeHandle nh_; ResetTrigger* ext_trig; ros::ServiceServer m_server; bool sr...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld b, 98 call lwaitly_b ld a, 01 ldff(45), a ld a, 40 ldff(41), a ld a, 00 ld(8000), a ld a, 01 ld(c000), a ld a, c0 ldff(51), a xor a, a ...
// // Copyright © 2020 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include "IFrameReader.hpp" #include <opencv2/opencv.hpp> namespace od { class CvVideoFrameReader : public IFrameReader<cv::Mat> { public: /** * @brief Default constructor. * ...
; A100451: a(n) = 0 for n <= 2; for n >= 3, a(n) = (n-2)*floor((n^2-2)/(n-2)). ; 0,0,7,14,21,32,45,60,77,96,117,140,165,192,221,252,285,320,357,396,437,480,525,572,621,672,725,780,837,896,957,1020,1085,1152,1221,1292,1365,1440,1517,1596,1677,1760,1845,1932,2021,2112,2205,2300,2397,2496,2597,2700,2805,2912,3021,3132,324...
section .text global _start ;must be declared for linker (ld) _start: ;tell linker entry point xor ebx,ebx ;ebx=0 mov ecx,msg ;address of message to write lea edx,[ebx+len] ;message length lea eax,[ebx+4] ;system call number (sys_write) inc ebx ;file descriptor (stdout) int 0x80 ;call kernel xor...
CopycatsHouse1FObject: db $a ; border block db $3 ; warps db $7, $2, $0, $ff db $7, $3, $0, $ff db $1, $7, $0, COPYCATS_HOUSE_2F db $0 ; signs db $3 ; objects object SPRITE_MOM_GEISHA, $2, $2, STAY, DOWN, $1 ; person object SPRITE_FAT_BALD_GUY, $5, $4, STAY, LEFT, $2 ; person object SPRITE_CHANSEY, $1, $4,...
; A161731: Expansion of (1-3*x)/(1-8*x+14*x^2). ; Submitted by Christian Krause ; 1,5,26,138,740,3988,21544,116520,630544,3413072,18476960,100032672,541583936,2932214080,15875537536,85953303168,465368899840,2519604954368,13641675037184,73858930936320,399887996969984,2165078942651392,11722199583631360,63466491471931392,...
; void *tshr_saddrcup(void *saddr) SECTION code_clib SECTION code_arch PUBLIC _tshr_saddrcup_fastcall EXTERN _zx_saddrcup_fastcall defc _tshr_saddrcup_fastcall = _zx_saddrcup_fastcall
;; ;; Copyright (c) 2019, 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 the ...
; A089255: Odd numbers n such that 2*n-5 is a prime. ; 5,9,11,17,21,23,29,33,39,47,51,53,57,59,71,77,81,89,93,99,101,117,119,123,131,137,141,143,149,159,161,171,177,179,189,197,201,203,207,213,219,227,231,233,257,263,273,281,287,291,299,303,309,311,323,329,333 mov $2,$0 add $2,2 pow $2,2 lpb $2 sub $2,1 mov $3,$1 ...
.model tiny .data A db 1,-2,-3,-4,-5,-6,7,-8,9,-10 .code N: push cs pop ds xor ax,ax xor bx,bx mov cx,10 M: cmp A[bx],0 jg K mov A[bx],0 K: inc bx loop M mov ax,4c00h int 21h end N
; A120140: a(1)=13; a(n)=floor((26+sum(a(1) to a(n-1)))/2). ; 13,19,29,43,65,97,146,219,328,492,738,1107,1661,2491,3737,5605,8408,12612,18918,28377,42565,63848,95772,143658,215487,323230,484845,727268,1090902,1636353,2454529,3681794,5522691,8284036,12426054,18639081 add $0,1 mov $2,2 lpb $0 sub $0,1 mov $1,$2 di...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xc625, %rsi clflush (%rsi) nop nop nop nop sub $2581, %r9 mov (%rsi), %bx nop nop nop nop sub $58258, %r9 lea addresses_D_ht+0xe67, %rsi lea addresses_WC_ht+0x1db47, %rdi nop ...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "wallet.h" #include "walletdb.h" #include "bitcoinrpc.h" #include "init.h" #in...
mov ah, 0x0e ; tty mode mov al, 'H' int 0x10 mov al, 'e' int 0x10 mov al, 'l' int 0x10 int 0x10 ; 'l' is still on al mov al, 'o' int 0x10 jmp $ ; jump to current address = infinite loop ; padding and magic number times 510-($-$$) db 0 dw 0xaa55
; A183918: Characteristic sequence for cos(2Pi/n) being rational. ; 1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mov $2,$0 div $0,4 bin $2,5 cmp $0,$2
; A038720: a(n) = (n+3)*n!/2. ; 2,5,18,84,480,3240,25200,221760,2177280,23587200,279417600,3592512000,49816166400,741015475200,11769069312000,198766503936000,3556874280960000,67224923910144000,1338096104497152000,27978373094031360000,613091306060513280000,14050009097220096000000,336076217605504696320000,837605342339873...
; A091913: Triangle read by rows: a(n,k) = C(n,k)*(2^(n-k) - 1) for k<n, a(n,k) = 0 for k>=n, where k=0...max(n-1,0). ; Submitted by Jon Maiga ; 0,1,3,2,7,9,3,15,28,18,4,31,75,70,30,5,63,186,225,140,45,6,127,441,651,525,245,63,7,255,1016,1764,1736,1050,392,84,8,511,2295,4572,5292,3906,1890,588,108,9,1023,5110,11475,152...
if ~ defined VERSION_OS err 'VERSION_OS should be defined in a cmd line argument' end if if VERSION_OS <> 'L' & VERSION_OS <> 'W' & VERSION_OS <> 'X' err "unsupported VERSION_OS" end if VERSION_PRE = 'asmFish' macro SetDefault val*, sym* if ~ defined sym restore sym sym = val end if end macro SetDef...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xda1c, %r15 nop xor %r10, %r10 movw $0x6162, (%r15) nop add %r9, %r9 lea addresses_WT_ht+0x6d1f, %r10 nop nop nop add %rbx, %rbx mov (%r10), %r9w nop nop nop nop nop xor %rdi, ...
; The copyright in this software is being made available under the BSD ; License, included below. This software may be subject to other third party ; and contributor rights, including patent rights, and no such rights are ; granted under this license. ; ; ; Copyright(c) 2011 - 2014, Parabola Research Limited ; All ri...
; A021498: Decimal expansion of 1/494. ; 0,0,2,0,2,4,2,9,1,4,9,7,9,7,5,7,0,8,5,0,2,0,2,4,2,9,1,4,9,7,9,7,5,7,0,8,5,0,2,0,2,4,2,9,1,4,9,7,9,7,5,7,0,8,5,0,2,0,2,4,2,9,1,4,9,7,9,7,5,7,0,8,5,0,2,0,2,4,2,9,1,4,9,7,9,7,5,7,0,8,5,0,2,0,2,4,2,9,1 add $0,1 mov $1,10 pow $1,$0 mul $1,6 div $1,2964 mod $1,10 mov $0,$1
; ; Z88dk Generic Floating Point Math Library ; ; ; ; $Id: ddiv.asm,v 1.1 2008/07/27 21:44:57 aralbrec Exp $: XLIB ddiv LIB fdiv .ddiv pop hl ;ret address pop de pop ix pop bc push hl jp fdiv
; A098210: a(n) = -1 + A093137(n)^2. ; 0,15,1155,111555,11115555,1111155555,111111555555,11111115555555,1111111155555555,111111111555555555,11111111115555555555,1111111111155555555555,111111111111555555555555,11111111111115555555555555,1111111111111155555555555555,111111111111111555555555555555,111111111111111155555555...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__new_char_loop_01.cpp Label Definition File: CWE127_Buffer_Underread__new.label.xml Template File: sources-sink-01.tmpl.cpp */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated memory buf...
dnl Intel P55 mpn_hamdist -- mpn hamming distance. dnl Copyright 2000, 2002 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Lesser General Public License as dnl pub...
; ; Part of OS4, busy_wait.asm ; Author: Mikael Henriksson, miklhh ; ; Function for busy waiting. Used by certaion architecture specific routines ; written in C so that GCC wont optimize certaion parts away. global busy_wait busy_wait: jmp $
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
; ************************************************** ; PSGlib - C programming library for the SEGA PSG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "PSGlib_private.inc" SECTION code_clib SECTION code_PSGlib PUBLIC asm_PSGlib_SetMusicVolumeAttenuati...
CharacteristicStrings: dw .HP0 dw .HP1 dw .HP2 dw .HP3 dw .HP4 dw .Atk0 dw .Atk1 dw .Atk2 dw .Atk3 dw .Atk4 dw .Def0 dw .Def1 dw .Def2 dw .Def3 dw .Def4 dw .Spd0 dw .Spd1 dw .Spd2 dw .Spd3 dw .Spd4 dw .Spc0 dw .Spc1 dw .Spc2 dw .Spc3 dw .Spc4 .HP0: db "Loves to eat@" .HP1: db "Often dozes off@...
; A037674: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2,3. ; 1,4,18,75,301,1204,4818,19275,77101,308404,1233618,4934475,19737901,78951604,315806418,1263225675,5052902701,20211610804,80846443218,323385772875,1293543091501,5174172366004,20696689464018,82786757856075 m...
; A017473: a(n) = 11*n + 7. ; 7,18,29,40,51,62,73,84,95,106,117,128,139,150,161,172,183,194,205,216,227,238,249,260,271,282,293,304,315,326,337,348,359,370,381,392,403,414,425,436,447,458,469,480,491,502,513,524,535,546,557,568,579,590,601,612,623,634,645,656,667,678,689,700,711,722,733,744,755,766,777,788,799,810,821,...
ldx {m2}+1 bne {la1} cmp {m2} bcc {la1}
; A055341: Number of mobiles (circular rooted trees) with n nodes and 3 leaves. ; 1,3,8,19,37,66,110,172,257,371,518,705,939,1226,1574,1992,2487,3069,3748,4533,5435,6466,7636,8958,10445,12109,13964,16025,18305,20820,23586,26618,29933,33549,37482,41751,46375,51372,56762,62566,68803 mov $4,$0 add $4,1 mov $15,$0 lpb $4 ...
; A016744: a(n) = (2*n)^4. ; 0,16,256,1296,4096,10000,20736,38416,65536,104976,160000,234256,331776,456976,614656,810000,1048576,1336336,1679616,2085136,2560000,3111696,3748096,4477456,5308416,6250000,7311616,8503056,9834496,11316496,12960000,14776336,16777216,18974736,21381376,24010000,26873856,29986576,33362176,37015...
;Write an 8051 ASM program to add the first 15 natural numbers. ORG 0000H MOV R1,#01H MOV R2,#15 CLR A BEGIN: ADD A,R1 INC R1 DJNZ R2,BEGIN END; Deeptimaan Banerjee
; void *zx_saddrcup(void *saddr) SECTION code_arch PUBLIC zx_saddrcup zx_saddrcup: INCLUDE "arch/zx/display/z80/asm_zx_saddrcup.asm"
#include "tiroteleguiado.h" #include "3dsloader.h" static Vetor temp(0.f, 0.f, 1.f); Textura TiroTeleguiado::tMT("Texturas/Municao/m2.bmp",false); TiroTeleguiado :: TiroTeleguiado (Ponto *centro, Vetor *direcao, Vetor *lateral, float dn, float dv, float du) : Objeto3D (centro, direcao, lateral, dn, dv, d...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x14e3b, %rdx nop nop nop nop nop xor $2552, %r12 mov $0x6162636465666768, %r10 movq %r10, (%rdx) nop nop nop xor %r8, %r8 lea addresses_WT_ht+0x1393b, %rcx nop nop n...
; A133350: Dimensions of certain Lie algebra (see reference for precise definition). ; 1,90,1274,8568,38115,130130,369460,915552,2043621,4198810,8065134,14651000,25393095,42280434,68000360,106108288,161222985,239249178,347629282,495626040,694637867,958548690,1304114076,1751385440,2324174125,3050557146,3963426390 mul $...
;; ;; 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...
// Range v3 library // // Copyright Eric Niebler 2014-present // Copyright Tomislav Ivek 2015-2016 // // 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: ht...
; A240876: Expansion of (1 + x)^11 / (1 - x)^12. ; Submitted by Christian Krause ; 1,23,265,2047,11969,56695,227305,795455,2485825,7059735,18474633,45046719,103274625,224298231,464387817,921406335,1759885185,3248227095,5812626185,10113604735,17152640321,28418229623,46082942185,73265596607,114375683009,175560601111,2652...
{ 'abc_class': 'AbcFile' , 'minor_version': 16 , 'major_version': 46 , 'int_pool': [ undefined , '10' , '0' , '1' ] , 'uint_pool': [ undefined ] , 'double_pool': [ undefined ] , 'utf8_pool': [ undefined , '' , 'Object' , 'Array' ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x12b17, %r10 nop nop sub $26660, %rax mov (%r10), %r11w nop nop cmp $2888, %r12 lea addresses_WT_ht+0x1163, %r11 nop nop nop nop nop and %rax, %rax mov $0x6162636465666768, %r...