text
stringlengths
1
1.05M
ORG $100 INICIO LDX #$50 LDY #$50 LDAA #$0A STAA $50 LDAA #$02 STAA $51 LDAA #$0A STAA $52 LDAA #$04 ...
printh: push cx push di push bx mov si, HEX_PATTERN ; Load HEX_PATTERN memory location to si mov cl, 12 mov di, 2 .hexLoop: mov bx, dx ; copy dx to bx to preserve original hex value shr bx, cl ; Shift value in bx 12 bits (3 bytes) right and bx, 0x000f ; mask first 3 digits mov bx, [bx + HEX_TABLE] ; loa...
; A104738: Positions of records in A104706. ; 1,2,3,5,6,9,11,15,17,21,24,29,30,39,41,51,54,59,66,75,77,87,96,105,107,120,129,137,141,161,165,180,186,201,209,221,227,249,255,270,285,306,311,324,336,359,366,390,401,420,435,459,465,495,501,527,534,561,587,600,606,639,666,696,701,714,744,774,779,816,831,857,885,917,924,941...
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x189ca, %rsi lea addresses_A_ht+0x88ea, %rdi clflush (%rsi) nop nop nop nop nop lfence mov $76, %rcx rep movsw nop nop nop nop add $38837, %rsi pop %rsi pop %rdi pop %rcx pop %r8 ret .global s_faulty_load s_fau...
/******************************************************************************* The content of this file includes portions of the AUDIOKINETIC Wwise Technology released in source code form as part of the SDK installer package. Commercial License Usage Licensees holding valid commercial licenses to the AUDIOKINETIC W...
SFX_Cry14_2_Ch4: dutycycle 240 unknownsfx0x20 8, 228, 144, 7 unknownsfx0x20 15, 245, 192, 7 unknownsfx0x20 8, 209, 216, 7 endchannel SFX_Cry14_2_Ch5: dutycycle 165 unknownsfx0x20 10, 196, 113, 7 unknownsfx0x20 15, 182, 162, 7 unknownsfx0x20 8, 161, 183, 7 endchannel SFX_Cry14_2_Ch7: unknownnoise0x20 8, 2...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x362, %rdx clflush (%rdx) sub $12723, %r13 mov (%rdx), %r8d nop add $51104, %rdx lea addresses_D_ht+0x1c5eb, %rax nop nop and %r11, %r11 movb (%rax), %r10b nop nop x...
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <arc/StringConv.h> #include "JobStateEMIES.h" namespace Arc { std::string JobStateEMIES::FormatSpecificState(const std::string& state) { EMIESJobState st_; st_ = XMLNode(state); // Return format: <state>[:<attribute1>[,<attribute2>[...]]] ...
.global s_prepare_buffers s_prepare_buffers: push %r9 push %rbp push %rsi lea addresses_A_ht+0x1d420, %rbp nop add %rsi, %rsi mov $0x6162636465666768, %r9 movq %r9, %xmm5 vmovups %ymm5, (%rbp) add %r9, %r9 pop %rsi pop %rbp pop %r9 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r15 push %rax pu...
/** @file Context.hpp @author David Hirvonen @brief Public API for continuous face filter. \copyright Copyright 2014-2018 Elucideye, Inc. All rights reserved. \license{This project is released under the 3 Clause BSD License.} This file contains the public API of the Context class. This class will st...
; A095860: Triangle read by rows: T(n,k) = n^(k^2), n>=1, 1<=k<=n. ; 1,2,16,3,81,19683,4,256,262144,4294967296,5,625,1953125,152587890625,298023223876953125,6,1296,10077696,2821109907456,28430288029929701376,10314424798490535546171949056,7,2401,40353607,33232930569601 mov $2,1 lpb $0 mov $1,$0 pow $1,2 add $2,1 ...
; A065223: Fill a triangular array by rows by writing numbers 1 up to b(0), 1 up to b(1), etc., where b(n) are the heptagonal numbers (A000566). The final elements of the rows form a(n). ; Submitted by Jon Maiga ; 1,2,5,2,7,13,2,10,19,29,6,18,31,45,5,21,38,56,75,14,35,57,80,104,17,43,70,98,127,9,40,72,105,139,174,21,58...
; epRISC development platform - BIOS SPI master control routines ; ; written by John C. Lemme, jclemme (at) proportionallabs (dot) com ; this file is part of the epRISC project, released under the epRISC license - see "license.txt" for details. ; ; These routines command the onboard I/O controller's SPI bus master. Wil...
┌ (fcn) sym._sc 1225 │ sym._sc (); │ ; var int local_a4ch @ ebp-0xa4c │ ; var int local_a48h @ ebp-0xa48 │ ; var int local_a46h @ ebp-0xa46 │ ; var int local_a44h @ ebp-0xa44 │ ; var int local_a40h @ ebp-0xa40 │ ; var int local_a3ch @ ebp-0xa3c │ ;...
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2013 Intel Corporation. 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 copyr...
; A167353: Totally multiplicative sequence with a(p) = (p+1)*(p+3) = p^2+4p+3 for prime p. ; Submitted by Jon Maiga ; 1,15,24,225,48,360,80,3375,576,720,168,5400,224,1200,1152,50625,360,8640,440,10800,1920,2520,624,81000,2304,3360,13824,18000,960,17280,1088,759375,4032,5400,3840,129600,1520,6600,5376,162000,1848,28800,...
; WriteZSColumn called once per frame from the menu, and prints one character column for ; the two zoomed scrollers. .WriteZSColumn ld hl,(ZSCharPtr) ; pointer to msg text starting at label ZoomScrollMsg ld a,(ZSCharCol) ; 0-7, column number of pixels to print this frame inc a and a,7 ld (ZSCharCol...
ldy {c2},x cmp {c1},y bcc {la1}
#include "MainHandler.h" #include "validateODBCConnectionString.h" #include "ODBCBlockInputStream.h" #include "ODBCBlockOutputStream.h" #include "getIdentifierQuote.h" #include <DataStreams/copyData.h> #include <DataTypes/DataTypeFactory.h> #include <Formats/FormatFactory.h> #include <Server/HTTP/WriteBufferFromHTTPSe...
page ,132 title memcpy - Copy source memory bytes to destination ;*** ;memcpy.asm - contains memcpy and memmove routines ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ;Purpose: ; memcpy() copies a source memory buffer to a destination buffer. ; Overlapping buffers...
// Boost.Convert test and usage example // Copyright (c) 2009-2014 Vladimir Batov. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. See http://www.boost.org/LICENSE_1_0.txt. // This code has been adapted from libs/spirit/optimization/qi/int_parser.cpp. // This code...
// Copyright (c) 2014-2019, The Monero Project // Copyright (c) 2018, The Loki 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 reta...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x40e2, %r13 clflush (%r13) nop nop nop xor %rdx, %rdx movl $0x61626364, (%r13) nop nop nop and %rcx, %rcx lea addresses_normal_ht+0xd2c2, %rsi lea addresses_WT_ht+0x1de28, %rd...
; A241955: a(n) = 2^(4*n+3) - 1. ; 7,127,2047,32767,524287,8388607,134217727,2147483647,34359738367,549755813887,8796093022207,140737488355327,2251799813685247,36028797018963967,576460752303423487,9223372036854775807,147573952589676412927,2361183241434822606847,37778931862957161709567,604462909807314587353087,967140655...
; A032973: Numbers with the property that all pairs of consecutive digits differ by more than 1. ; 1,2,3,4,5,6,7,8,9,13,14,15,16,17,18,19,20,24,25,26,27,28,29,30,31,35,36,37,38,39,40,41,42,46,47,48,49,50,51,52,53,57,58,59,60,61,62,63,64,68,69,70,71,72,73,74,75,79,80,81,82,83,84 mov $1,1 mov $2,$0 lpb $2 add $1,$0 ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xeb, %rsi lea addresses_WC_ht+0xa3eb, %rdi nop nop nop nop xor $5741, %rbx mov $31, %rcx rep movsl nop dec %rsi lea addresses_A_ht+0x4eb, %r13 sub $15598, %r11 movl $0x616263...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2020 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 <chainparams.h> #include <chainparamsseeds.h> #include <consensus/merkle.h> ...
// Copyright 2017 The Ray 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 agreed to i...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x137ee, %rbx nop sub %r13, %r13 movb $0x61, (%rbx) nop nop xor %rax, %rax lea addresses_WT_ht+0x12872, %r8 clflush (%r8) nop nop nop nop nop xor %rcx, %rcx mov (%r8)...
#ifndef _w32_mm_Allocator_hpp__ #define _w32_mm_Allocator_hpp__ // Copyright (c) 2009-2012, Andre Caron (andre.l.caron@gmail.com) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * ...
; A000933: Genus of complete graph on n nodes. ; 0,0,0,0,1,1,1,2,3,4,5,6,8,10,11,13,16,18,20,23,26,29,32,35,39,43,46,50,55,59,63,68,73,78,83,88,94,100,105,111,118,124,130,137,144,151,158,165,173,181,188,196,205,213,221,230,239,248,257,266,276,286,295,305,316,326,336,347,358,369,380,391,403,415,426,438,451,463,475,488,5...
section .multiboot_header multiboot_header_start: ; see multiboot2 specification for meaning dd 0xe85250d6 dd 0 dd multiboot_header_end - multiboot_header_start dd -( 0xe85250d6 + 0 + ( multiboot_header_end - multiboot_header_start ) ) ; end tag dw 0 dw 0 dd 8 multiboot_header_end:
/* * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibCrypto/Hash/SHA2.h> #include <stddef.h> #include <stdint.h> extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { Crypto::Hash::SHA256::hash(data, size); return 0; }
;Contants SignMask8Bit equ %01111111 SignMask16Bit equ %0111111111111111 SignOnly8Bit equ $80 SignOnly16Bit equ $8000 Bit7Only equ %10000000 Bit6Only equ %01000000 Bit5Only equ %00100000 Bit4Only equ %00010000 Bit3Only equ %00001000 Bit2Only ...
/* * This file is part of the KDE libraries * Copyright (C) 1999-2001 Harri Porten (porten@kde.org) * Copyright (C) 2001 Peter Kelly (pmk@post.com) * Copyright (C) 2003 Apple Computer, Inc. * Copyright (C) 2008, 2009 Maksim Orlovich (maksim@kde.org) * * This library is free software; you can redistribute i...
Sound58_BonusBumper_Header: smpsHeaderStartSong 2 smpsHeaderVoice Sound58_BonusBumper_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM5, Sound58_BonusBumper_FM5, $00, $07 ; FM5 Data Sound58_BonusBumper_FM5: smpsSetvoice $00 dc.b nD4, $06, nD4, $15 smpsStop Sound58_Bo...
extern scanf extern printf section .data tablica TIMES 20 dd 0 napis db "Podaj liczbę: ",0 format db "%d",0 temp dd 0 licznik dd 10 napis2 db "Wprowadzone liczby to:",0 format2 db " %d,",0 endl db 10,0 section .text global main main: mov ebx, 0 _petla: xor rax, rax mov rdi, napis call printf xor rax...
#include "../resample.h" #include <gtest/gtest.h> TEST(DownSampling, Constant) { auto storage = new chunked_voxel_storage<bit_t>(0., 0., 0., 0.1, 100, 100, 100, 32); storage->create_constant(make_vec<size_t>(0U,0U,0U), 1); auto result = resampler(-4)(storage); ASSERT_EQ(storage->count(), result->count() * 4 * 4 *...
; void __CALLEE__ sp1_MoveSprAbs_callee(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uchar row, uchar col, uchar vrot, uchar hrot) ; 04.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version ; *** PLEASE HELP ME I'VE BEEN MADE UGLY BY BUGFIXES PUBLIC sp1_MoveSprAbs_callee PUBLIC ASMDISP_SP1_MOVESPRABS_...
;************************************************************************ ;* SIMD-optimized HuffYUV encoding functions ;* Copyright (c) 2000, 2001 Fabrice Bellard ;* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> ;* ;* MMX optimization by Nick Kurshev <nickols_k@mail.ru> ;* Conversion to NASM format by ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r15 push %rax push %rcx push %rsi // Store lea addresses_A+0x1c15b, %r11 sub $23242, %rax movl $0x51525354, (%r11) cmp %rsi, %rsi // Faulty Load lea addresses_US+0x145b, %r10 nop sub %r15, %r...
; ; Copyright (C) 2007-2012 Intel Corporation. ; SPDX-License-Identifier: MIT ; PUBLIC ReadFlags_asm .686 .model flat, c .code ReadFlags_asm PROC pushfd pop eax ret ReadFlags_asm ENDP end
; A188341: Numbers having no 0's and not more than one 1 in their representation in base 3. ; Submitted by Jamie Morken(s1) ; 1,2,5,7,8,17,23,25,26,53,71,77,79,80,161,215,233,239,241,242,485,647,701,719,725,727,728,1457,1943,2105,2159,2177,2183,2185,2186,4373,5831,6317,6479,6533,6551,6557,6559,6560,13121,17495,18953,19...
LN_NAMESPACE_BEGIN //------------------------------------------------------------------------- // //------------------------------------------------------------------------- inline bool Matrix::IsIdentity() const { return (memcmp(this, &Matrix::Identity, sizeof(Matrix)) == 0); } //----------------------------------...
/**************************************************************************** ** Meta object code from reading C++ file 'EnterpriseAccountListItem.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2) ** ** WARNING! All changes made in this file will be lost! ******************************************...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r9 push %rax push %rbx lea addresses_WT_ht+0xd131, %r14 inc %r15 mov $0x6162636465666768, %rbx movq %rbx, (%r14) nop add $24658, %rax lea addresses_A_ht+0x14cc1, %r12 nop sub $63387, %r9 mov (%r12), %rax nop nop nop nop sub %rbx, %rbx pop ...
.686p .mmx .model flat,stdcall option casemap:none include g:\masm32\include\windows.inc include g:\masm32\include\user32.inc include g:\masm32\include\kernel32.inc include g:\masm32\include\advapi32.inc includelib g:\masm32\lib\user32.lib includelib g:\masm32\lib\kernel32.lib includelib g:\masm32\lib\oleaut32.lib inc...
; ; Copyright 2018-2021 Mahdi Khanalizadeh ; ; 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 t...
/* * TemplateWidget.cpp * * Created on: November 23, 2017 * Author: Marco Tranzatto (marco-tranzatto) */ #include "rqt_template_plugin/TemplateWidget.hpp" #include "ui_template_widget.h" namespace rqt_template_plugin { /*****************************************************************************/ /* Con...
; A207656: Number of n X 3 0..1 arrays avoiding 0 0 0 and 1 1 1 horizontally and 0 0 1 and 1 0 0 vertically. ; Submitted by Jamie Morken(w3) ; 6,36,84,198,474,1140,2748,6630,16002,38628,93252,225126,543498,1312116,3167724,7647558,18462834,44573220,107609268,259791750,627192762,1514177268,3655547292,8825271846,213060909...
#ifndef UNIFORM_LOCATION_HPP #define UNIFORM_LOCATION_HPP #include <GL/glew.h> namespace GL { class Program; } namespace GL { template<typename T> class UniformLocation { private: const Program& program; GLuint location; public: UniformLocation(const Program& _program, GLuint _location) : program(_program), ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x8766, %rsi lea addresses_WT_ht+0x1ebe, %rdi nop nop nop nop nop inc %r13 mov $102, %rcx rep movsq nop add $136, %r11 pop %rsi pop %rdi pop %rcx pop %r13 pop %r11 ret .global s_faulty_load s_faulty_l...
#include "QJsonIO.hpp" #include "QJsonStruct.hpp" #include "TestIO.hpp" #include "TestOut.hpp" #include <QCoreApplication> #include <QJsonDocument> #include <iostream> int main(int argc, char *argv[]) { Q_UNUSED(argc) Q_UNUSED(argv) { ToJsonOnlyData data; data.x = "1string"; data....
lda {m1}+1 sta {m1}+3 lda {m1} sta {m1}+2 lda #0 sta {m1} sta {m1}+1
; A055264: Possible values of A055263; numbers equal to 0, 1, 3 or 6 modulo 9. ; 0,1,3,6,9,10,12,15,18,19,21,24,27,28,30,33,36,37,39,42,45,46,48,51,54,55,57,60,63,64,66,69,72,73,75,78,81,82,84,87,90,91,93,96,99,100,102,105,108,109,111,114,117,118,120,123,126,127,129,132,135,136,138,141 mov $2,$0 lpb $2 add $1,3 su...
; Pull down a website and display it to the terminal ; API calls found in this example program: ; socketcall(socket,connect), write, read, close, exit ; High level description of what theis example program does: ; Create a socket with the socket part of socketcall API ; Connect to the socket with connect p...
; A189317: Expansion of 5*(1-6*x+x^2)/(1-10*x+5*x^2) ; Submitted by Jamie Morken(s1) ; 5,20,180,1700,16100,152500,1444500,13682500,129602500,1227612500,11628112500,110143062500,1043290062500,9882185312500,93605402812500,886643101562500,8398404001562500,79550824507812500,753516225070312500,7137408128164062500 seq $0,16...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xa3af, %rsi lea addresses_WT_ht+0x14467, %rdi dec %r14 mov $43, %rcx rep movsq cmp $13836, %rbx lea addresses_D_ht+0x132e7, %r12 nop nop nop add %rsi, %rsi mov (%r12), %edi nop nop nop nop xor $...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 Intel Corporation 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 so...
GLOBAL _sys_call EXTERN system_call_interrupt SECTION .text ; ----------------------------------------------------------------------------- ; Wrapper for the System Call function in C. ; Parametres: ; -rax: the number of system call. ; -rbx, rcx, rdx, rsi and rdi: system call parameters. ; Return; ; -rax: the ret...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; gfx functions ; ; int ozputch (int x, int y, char c); ; ; ------ ; $Id: ozputch.asm,v 1.3 2016-06-28 14:48:17 dom Exp $ ; SECTION code_clib PUBLIC ozputch PUBLIC _ozputch EXTERN ozpu...
; Floating-Point PrecisionLoss (LossOfPrecision.asm) ; This program demonstrates a simple rounding error in ; often encountered in floating-point operations. Also, the ; program shows how to compare real numbers by examining the ; epsilon (absolute value of the difference) between the numbers. INCLUDE Irvin...
// Copyright 2014 Fonero Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #define FONERO_CORE_REAL_TIMER_FOR_CERTAIN_NOT_JUST_VIRTUAL_TIME #include "process/ProcessManage...
; A154635: Ratio of the sum of the bends of the 5-dimensional spheres added in the n-th generation of Apollonian packing to the sum of the bends of the initial configuration of seven mutually tangent spheres. ; Submitted by Jamie Morken(s4.) ; 1,2,15,108,774,5544,39708,284400,2036952,14589216,104492016,748400832,536025...
_Route14BattleText1:: text "You need to use" line "TMs to teach good" cont "moves to #MON!" done _Route14EndBattleText1:: text "Not" line "good enough!" prompt _Route14AfterBattleText1:: text "You have some HMs," line "right? #MON" cont "can't ever forget" cont "those moves." done _Route14BattleText2:: ...
/* * @author Nickel_Angel (1239004072@qq.com) * @copyright Copyright (c) 2021 */ #include <algorithm> #include <cctype> #include <cstdio> #include <cstring> #include <iostream> const int maxn = 1010; const int p = 1e9 + 7; int n, T, C[maxn][maxn]; int head[maxn], to[maxn << 1], dir[maxn << 1], next[maxn << 1], tot = ...
// Copyright 2016 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 "ash/system/palette/palette_tool.h" #include <memory> #include "ash/assistant/util/assistant_util.h" #include "ash/system/palette/palette_tool_...
; Initialize the stack pointer and the base pointer MOV XL, 0xFF MOV XH, 0xFF MOV SP, X ; Push the function arguments onto the stack MOV D, 1 MOV [SP - D], 4 MOV D, 2 MOV [SP - D], 00000011b MOV D, 3 MOV [SP - D], 0xAB MOV D, 4 MOV [SP - D], 0xEE MOV E, [SP - 1] MOV F, [SP - 2] MOV G, [SP - 3] MOV H, [SP - 4] ; Writ...
#include "../../../include/xd/graphics/sprite_batch.hpp" #include "../../../include/xd/graphics/texture.hpp" #include "../../../include/xd/graphics/vertex_batch.hpp" #include "../../../include/xd/graphics/shader_program.hpp" #include "../../../include/xd/graphics/utility.hpp" #include <deque> namespace xd { namespace ...
#include "stdfsc.h" #include "fstype.h" #include "fsexception.h" void FSThrowMemoryException() { throw CFSMemoryException(); }
; A180143: Eight rooks and one berserker on a 3 X 3 chessboard. G.f.: (1 + x^2)/(1 - 4*x + x^2 + 2*x^3). ; 1,4,16,58,208,742,2644,9418,33544,119470,425500,1515442,5397328,19222870,68463268,243835546,868433176,3092970622,11015778220,39233275906,139731384160,497660704294,1772444881204,6312656052202 seq $0,7482 ; a(n) is...
; A335648: Partial sums of A006010. ; 0,1,6,26,78,195,420,820,1476,2501,4026,6222,9282,13447,18984,26216,35496,47241,61902,80002,102102,128843,160908,199068,244140,297037,358722,430262,512778,607503,715728,838864,978384,1135889,1313046,1511658,1733598,1980883,2255604,2560004,2896404,3267285,3675210,4122910,4613202,5149...
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "fork test OK\n"); } 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...
/*! @file @brief 外部コマンドの実行 @author Norio Nakatani @date 1998/03/13 作成 @date 2008/04/13 CEditView.cppから分離 */ /* Copyright (C) 1998-2002, Norio Nakatani Copyright (C) 2000, genta, JEPRO, MIK Copyright (C) 2001, genta, GAE, MIK, hor, asa-o, Stonee, Misaka, novice, YAZAKI Copyright (C) 2002, YAZAKI, hor, aroka,...
; ; Otrona Attachè graphics routines ; console driven video HW access ; ; Stefano Bodrato 2018 ; ; ; ; $Id: w_undrawto.asm $ ; INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC undrawto PUBLIC _undrawto EXTERN drawto EXTER...
; A089903: Sum of digits of numbers between 0 and (1/9)*(10^n-1). ; Submitted by Christian Krause ; 0,1,48,960,14572,195684,2456796,29567908,345679020,3956790132,44567901244,495679012356,5456790123468,59567901234580,645679012345692,6956790123456804,74567901234567916,795679012345679028 mov $2,$0 lpb $0 sub $0,1 add...
INCLUDE "clib_cfg.asm" SECTION code_driver SECTION code_driver_terminal_input PUBLIC zx_01_input_lastk_iterm_msg_getc EXTERN zx_01_input_lastk_proc_lastk, error_zc, error_mc zx_01_input_lastk_iterm_msg_getc: ; enter : ix = & FDSTRUCT.JP ; ; exit : a = keyboard char after character set translation ...
#include "SmallImage.h" #include <fstream> SmallImage::SmallImage(unsigned int width, unsigned int height, unsigned int iComponentCount) : m_size(width, height), m_iComponentCount(iComponentCount), m_pData(0) { InitData(); } SmallImage::SmallImage(const std::string& filename) : m_size(0,0), m_...
.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 131 card_no equ "131" card_sub equ "Mod Card 131" card_sub_x...
//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
; int p_list_empty(p_list_t *list) SECTION code_adt_p_list PUBLIC p_list_empty defc p_list_empty = asm_p_list_empty INCLUDE "adt/p_list/z80/asm_p_list_empty.asm"
; A010016: a(0) = 1, a(n) = 26*n^2 + 2 for n>0. ; 1,28,106,236,418,652,938,1276,1666,2108,2602,3148,3746,4396,5098,5852,6658,7516,8426,9388,10402,11468,12586,13756,14978,16252,17578,18956,20386,21868,23402,24988,26626,28316,30058,31852,33698,35596,37546,39548,41602,43708,45866,48076,50338,52652,55018,57436,59906,62428,...
; Perform BCD addition on two 32-bit numbers. ; 12345678H + 94562145H .MODEL TINY .486 .CODE .STARTUP ; initialize registers MOV EBX, 12345678H ; BH = 56H BL = 78H MOV EDX, 94562145H ; DH = 21H DL = 45H ; perform ADDition ADD DL, BL ; DL = 45H + 78H = BDH ; perform Decimal Adjust after Additi...
; A097512: a(n) = 6*Lucas(2n) - Fibonacci(2n+2). ; 11,15,34,87,227,594,1555,4071,10658,27903,73051,191250,500699,1310847,3431842,8984679,23522195,61581906,161223523,422088663,1105042466,2893038735,7574073739,19829182482,51913473707,135911238639,355820242210,931549487991,2438828221763,6384935177298,16715977310131,437629...
\ ****************************************************************************** \ \ DISC ELITE SHIP BLUEPRINTS FILE B \ \ Elite was written by Ian Bell and David Braben and is copyright Acornsoft 1984 \ \ The code on this site has been disassembled from the version released on Ian \ Bell's personal website at http://w...
; A070444: a(n) = n^2 mod 22. ; 0,1,4,9,16,3,14,5,20,15,12,11,12,15,20,5,14,3,16,9,4,1,0,1,4,9,16,3,14,5,20,15,12,11,12,15,20,5,14,3,16,9,4,1,0,1,4,9,16,3,14,5,20,15,12,11,12,15,20,5,14,3,16,9,4,1,0,1,4,9,16,3,14,5,20,15,12,11,12,15,20,5,14,3,16,9,4,1,0,1,4,9,16,3,14,5,20,15,12,11 pow $0,2 mod $0,22
; @copyright ; Copyright (C) 2020 Assured Information Security, Inc. ; ; @copyright ; 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 right...
dnl IA-64 mpn_and_n, mpn_andn_n, mpn_nand_n, mpn_ior_n, mpn_iorn_n, dnl mpn_nior_n, mpn_xor_n, mpn_xnor_n -- mpn bitwise logical operations. dnl Copyright 2003, 2004, 2005 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 redistrib...
;; ;; Copyright (c) 2018-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...
.mode flat,c .code ; extern "C" int SignedMinA_(int a, int b, int c) ; Description: get the minimun of these integers ; Return min(a,b,c) signedMinA_ proc push ebp mov ebp,esp mov eax,[ebp+8] ; eax = 'a' mov evx,[ebp+12] ; ecx = 'b' ; Determine min(a,b) mov ecx,ecx jle @F mov eax,ecx ;...
.data .text main: li $v0, 5 syscall sw $v0, 2048($0) # 2048 store n addiu $sp, $sp, -20 sw $0, 0($sp) jal FA li $v0, 10 syscall FA: lw $s0, 0($sp) # $s0 = index lw $t0, 2048($0) # $t0 = n li $t1, 0 # $t1 = for i beq $s0, $t0, print reFA: beq $t1, $t0, exit # if i==n, break sll $t...
; A044834: Positive integers having more base-8 runs of even length than odd. ; Submitted by Jamie Morken(s1) ; 9,18,27,36,45,54,63,576,585,594,603,612,621,630,639,1152,1161,1170,1179,1188,1197,1206,1215,1728,1737,1746,1755,1764,1773,1782,1791,2304,2313,2322,2331,2340,2349,2358,2367,2880,2889 mov $2,$0 add $0,1 div $0...
#include "caffe2/utils/thread_name.h" #include <algorithm> #if defined(__GLIBC__) && !defined(__APPLE__) && !defined(__ANDROID__) #define CAFFE2_HAS_PTHREAD_SETNAME_NP #endif #ifdef CAFFE2_HAS_PTHREAD_SETNAME_NP #include <pthread.h> #endif namespace caffe2 { void setThreadName(std::string name) { #i...
SECTION code_fp_math48 PUBLIC _floor EXTERN cm48_sdccix_floor defc _floor = cm48_sdccix_floor
; #################################################### ; William F. Cravener Tue . 12/02/08 ; #################################################### .486 .model flat,stdcall option casemap:none ; case sensitive ; #################################################### i...
// Copyright (c) Microsoft Corporation // SPDX-License-Identifier: MIT #pragma warning(push) #pragma warning(disable : 26451) // Arithmetic overflow #pragma warning(disable : 26450) // Arithmetic overflow #pragma warning(disable : 26439) // This kind of function may not throw. Declare it 'noexcept' #pragma warning(dis...
; DRAW XOR 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_XOR2 EXTERN _SP1_DRAW_XOR2NR EXTERN SP1RETSPRDRAW ; following data segment copied into struct sp1_cs ld hl,0 ld...
; A027796: a(n) = 55*(n+1)*C(n+3,11)/3. ; 165,2200,15730,80080,325325,1121120,3403400,9335040,23556390,55426800,122862740,258658400,520550030,1006778080,1879537000,3399510400,5975701875,10236025800,17125658550,28042014000,45017447475,70963464000,109993369200,167844019200,252421669500,374501967840,548619964200,794192710...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x929, %rbp nop nop nop nop and %rdi, %rdi mov $0x6162636465666768, %r14 movq %r14, %xmm6 vmovups %ymm6, (%rbp) nop nop nop nop and %r14, %r14 lea addresses_UC_ht+0xc129, %rsi lea addre...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: mainHeader.asm AUTHOR: John Wedgwood, May 6, 1991 METHODS: Name Description ---- ----------- REVISION HISTORY: Name Date Des...