text
stringlengths
1
1.05M
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x11eb5, %r13 clflush (%r13) nop nop nop nop nop and $5779, %rcx mov $0x6162636465666768, %r9 movq %r9, %xmm1 vmovups %ymm1, (%r13) sub $62728, %rax lea addresses_UC_ht+0x40b5,...
// Copyright (c) 2014 Antony Arciuolo. See License.txt regarding use. #include <oCompiler.h> #include <oString/string.h> #include <iterator> namespace ouro { char* ampersand_encode(char* oRESTRICT dst, size_t dst_size, const char* oRESTRICT src) { *dst = 0; char* d = dst; char* end = d + dst_size - 1;...
; Let us now switch to 32 bit protected mode [org 0x7c00] ; Place where we load kernel from KERNEL_OFFSET equ 0x1000 mov [BOOT_DRIVE], dl ; Set stack mov bp, 0x9000 mov sp, bp ; Print the 16 bit mode declaration mov bx, MSG_REAL_MODE call print_str call print_nl ; Load kernel call load_kernel ; Switch to 32 bit a...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: bnfStrings.asm AUTHOR: Adam de Boor, Sep 21, 1991 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date D...
; A262142: The first of ten consecutive positive integers the sum of the squares of which is equal to the sum of the squares of nine consecutive positive integers. ; Submitted by Christian Krause ; 171,6660,253071,9610200,364934691,13857908220,526235577831,19983094049520,758831338304091,28815607761506100,10942342635989...
#note: r40 (the exception handler) and r46 (the start of usermode code) must #be specified in hex (0xwhatever) #I just don't see any reason not to, and it makes programming the script #much nicer to deal with... #load exception handler lc r40, 0x80000050 leh r40 #enable exceptions cle #load TLB ent...
SECTION code_himem PUBLIC respixel .respixel defc NEEDunplot = 1 INCLUDE "target/lviv/graphics/pixel.inc"
; A128880: Triangular numbers congruent to 1 or 5 mod 6. ; 1,55,91,253,325,595,703,1081,1225,1711,1891,2485,2701,3403,3655,4465,4753,5671,5995,7021,7381,8515,8911,10153,10585,11935,12403,13861,14365,15931,16471,18145,18721,20503,21115,23005,23653,25651,26335,28441,29161,31375,32131,34453,35245,37675,38503,41041,41905,4...
; A157739: a(n) = 388962*n^2 - 1764*n + 1. ; 387199,1552321,3495367,6216337,9715231,13992049,19046791,24879457,31490047,38878561,47044999,55989361,65711647,76211857,87489991,99546049,112380031,125991937,140381767,155549521,171495199,188218801,205720327,223999777,243057151,262892449,283505671,304896817,327065887,3500128...
; A094632: A trace sequence for a Napoleon graph. ; Submitted by Jon Maiga ; 1,0,3,4,21,55,198,609,2021,6460,21033,67859,219926,711165,2302233,7448804,24107061,78008495,252446598,816924969,2643639901,8554973900,27684516753,89588913979,289915919446,938187455205,3036038652273 mov $2,1 mov $5,-1 lpb $0 sub $0,1 add $...
%ifdef CONFIG { "RegData": { "RAX": "0x3fe0000000000000" }, "Env": { "FEX_X87REDUCEDPRECISION" : "1" } } %endif mov rdx, 0xe0000000 mov rax, 0x4000000000000000 ; 2.0 mov [rdx + 8 * 0], rax mov rax, 0x4010000000000000 ; 4.0 mov [rdx + 8 * 1], rax fld qword [rdx + 8 * 0] fld qword [rdx + 8 * 1] fdivr st0, s...
#include <iostream> #include <string> #include <string.h> #include "utils/base64.h" #include "../../IRLib/RemoteFinder.h" #include "../../IRLib/Encoder.h" #include "../../IRLib/Decoder.h" using namespace std; int main(int argc, char *argv[]) { if (argc < 3) { std::cout << "Please pass at least 2 argument...
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <QtGui> #include "SkDebugger.h" #include "SkDrawCommandGeometryWidget.h" SkDrawCommandGeometryWidget::SkDrawCommandGeometryWidget(SkDebugger *debugger) : QFram...
SECTION code_clib SECTION code_l PUBLIC l_small_btoul l_small_btoul: ; ascii binary string to unsigned long ; whitespace is not skipped ; char consumption stops on overflow ; ; enter : de = char *buffer ; ; exit : bc = & next char to interpret in buffer ; dehl = unsigned result (0 o...
dc.w word_19AF8-Map_FireShield dc.w word_19B0C-Map_FireShield dc.w word_19B20-Map_FireShield dc.w word_19B34-Map_FireShield dc.w word_19B48-Map_FireShield dc.w word_19B62-Map_FireShield dc.w word_19B76-Map_FireShield dc.w word_19B8A-Map_FireShield dc.w word_19B9E-Map_FireShield dc.w word_19BB2-Map_F...
global @ASM_strnlen@8 extern @ASM_memchr@12 %define ASM_memchr @ASM_memchr@12 segment .text align=16 %define string ecx %define maxLength edx %define startString esi %define startMaxLength ebx %define searchedChar edx %define searchedString ecx %define result eax %define memchrRet eax @ASM_strnlen@8: ...
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 10005; const int maxm = 5; const int maxs = (1<<5)-1; const int INF = 0x3f3f3f3f; int N, K; int num[maxn][maxm+5], rec[maxs+5]; void cal (int a[maxm+5]) { for (int s = 0; s <= maxs; s++) { int tmp = 0; for (int j = ...
; A262208: a(n) = prime(n)^prime(n) mod n^n. ; Submitted by Christian Krause ; 0,3,20,247,1861,28669,202564,12127115,115222124,6126483469,19465244918,4282552771669,4226847828547,3334905643119667,311202902635062863,13506468355090939237,455126377640041434982,3558300899222541879853 mov $1,$0 seq $0,40 ; The prime numbers...
lc r4, 0xffffffff lc r5, 0xfffffffe geu r6, r4, r5 halt #@expected values #r4 = 0xffffffff #r5 = 0xfffffffe #r6 = 0x00000001 #pc = -2147483632 #e0 = 0 #e1 = 0 #e2 = 0 #e3 = 0
// (C) Copyright John Maddock 2000. // Use, modification and distribution are 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) #include "test.hpp" #include "check_integral_constant.hpp" #ifdef TEST_STD # include <typ...
;; Author: Moss Gallagher ;; Date: 14-Oct-21 %ifndef _Mycelium_std_arg_ %define _Mycelium_std_arg_ %include "std/exception.asm" %include "std/cstr.asm" usage: db "Usage: ", 0 ; Args ; rax: the index of the args ; Returns ; rsi: pointer to the string args~get: push rbx ...
; A052659: E.g.f. (1-2x)(1-x)/(1-4x+2x^2). ; Submitted by Simon Strandgaard ; 1,1,8,84,1152,19680,403200,9636480,263208960,8087869440,276137164800,10370703974400,424893579264000,18858806481715200,901431900123955200,46165215285116928000,2521886466187984896000 cmp $1,$0 mov $2,1 mov $3,$0 lpb $3 mul $1,$3 mul $1,2 ...
; A348899: a(n) = 332640*4^n*Gamma(n + 1/2)/(sqrt(Pi)*Gamma(n + 7)); super ballot numbers, row 5 of A135573. ; Submitted by Christian Krause ; 462,132,99,110,154,252,462,924,1980,4488,10659,26334,67298,177100,478170,1320660,3721860,10680120,31150350,92205036,276615108,840090328,2580277436,8007757560,25090973688,7931985...
// 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 <QApplication> #include "paymentserver.h" #include "guiconstants.h" #include "ui_interface.h" #include "util.h" #i...
init: move r1 0 # Initialise counter move r8 1000 # Number of iterations start: sai r0 0 addi r1 r1 1 subi r2 r2 0 bne r3 r4 1 sai r5 1 addi r6 r6 1 subi r7 r7 0 blt r1 r8 start
; ; TIKI-100 specific routines ; by Stefano Bodrato, Fall 2015 ; ; int set_psg(int reg, int val); ; ; Play a sound by PSG ; ; ; $Id: set_psg_callee.asm,v 1.2 2016-06-10 21:13:58 dom Exp $ ; SECTION code_clib PUBLIC set_psg_callee PUBLIC _set_psg_callee PUBLIC ASMDISP_SET_PSG_CALLEE set_psg_callee: _set_psg...
; A074942: a(n) = phi(n) mod 3. ; 1,1,2,2,1,2,0,1,0,1,1,1,0,0,2,2,1,0,0,2,0,1,1,2,2,0,0,0,1,2,0,1,2,1,0,0,0,0,0,1,1,0,0,2,0,1,1,1,0,2,2,0,1,0,1,0,0,1,1,1,0,0,0,2,0,2,0,2,2,0,1,0,0,0,1,0,0,0,0,2,0,1,1,0,1,0,2,1,1,0,0,2,0,1,0,2,0,0,0,1 seq $0,10 ; Euler totient function phi(n): count numbers <= n and prime to n. mod $0,...
; ;/* ; * FreeRTOS V202111.00 ; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * 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 restric...
; A050453: Sum_{d|n, d=3 mod 4} d^2. ; Submitted by Jamie Morken(s2) ; 0,0,9,0,0,9,49,0,9,0,121,9,0,49,234,0,0,9,361,0,58,121,529,9,0,0,738,49,0,234,961,0,130,0,1274,9,0,361,1530,0,0,58,1849,121,234,529,2209,9,49,0,2610,0,0,738,3146,49,370,0,3481,234,0,961,4027,0,0,130,4489,0,538,1274,5041,9,0,0,5859,361,170,1530,6241,...
branches: ; Tests for branches t150: ; THUMB 18: b label mov r7, 150 b t151 t152: mov r7, 152 b t153 t151: mov r7, 151 b t152 t153: ; THUMB 19: bl label mov r7, 153 bl t154 t155: m...
/* =============================================================================== FILE: laszip_common_v3.hpp CONTENTS: Common defines and functionalities for version 3 of LASitemReadCompressed and LASitemwriteCompressed. PROGRAMMERS: martin.isenburg@rapidlasso.com - http://rapidlasso....
; A235890: Number of (n+1) X (5+1) 0..3 arrays with the minimum plus the upper median equal to the lower median plus the maximum in every 2 X 2 subblock. ; 4480,5272,6952,10696,19720,43912,116872,361096,1242760,4578952,17542792,68636296,271486600,1079840392,4307160712,17204252296,68768239240,274975428232,1099706666632,...
; A126590: Multiples of 3 or 5 but not both. ; Submitted by Jon Maiga ; 3,5,6,9,10,12,18,20,21,24,25,27,33,35,36,39,40,42,48,50,51,54,55,57,63,65,66,69,70,72,78,80,81,84,85,87,93,95,96,99,100,102,108,110,111,114,115,117,123,125,126,129,130,132,138,140,141,144,145,147,153,155,156,159,160,162,168,170,171,174,175,177,183,...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ namespace AzFramework { template<typename T> bool Scene::SetSubsystem(T&& system) { ...
// Copyright 2010-2018, 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 condit...
#include "Mesh.h" namespace ArcanaTools { Mesh::Mesh(std::vector<Vertex3D>& _vertices, std::vector<unsigned int>& _indices, std::vector<Texture2D*>& _textures) { vertices = _vertices; indices = _indices; textures = _textures; VertexBuffer* vertexBuffer = VertexBuffer::Create(vertices.data(), vertices...
// Copyright (c) 2011-2013 The RubleBit developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "clientmodel.h" #include "guiconstants.h" #include "optionsmodel.h" #include "addresstablemodel.h" #include "transa...
; A274979: Integers of the form m*(m + 7)/8. ; 0,1,15,18,46,51,93,100,156,165,235,246,330,343,441,456,568,585,711,730,870,891,1045,1068,1236,1261,1443,1470,1666,1695,1905,1936,2160,2193,2431,2466,2718,2755,3021,3060,3340,3381,3675,3718,4026,4071,4393,4440,4776,4825,5175,5226,5590,5643,6021,6076,6468,6525,6931,6990,7410...
/**************************************************************************** Copyright (C) 2013 Henry van Merode. All rights reserved. Copyright (c) 2015 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
dnl ARM mpn_lshift. dnl Contributed to the GNU project by Torbjörn Granlund. dnl Copyright 2012 Free Software Foundation, Inc. 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 modify dnl it under the terms of either: dnl dnl * the GNU L...
; A047260: Numbers that are congruent to {0, 1, 4, 5} mod 6. ; 0,1,4,5,6,7,10,11,12,13,16,17,18,19,22,23,24,25,28,29,30,31,34,35,36,37,40,41,42,43,46,47,48,49,52,53,54,55,58,59,60,61,64,65,66,67,70,71,72,73,76,77,78,79,82,83,84,85,88,89,90,91,94,95,96,97,100,101,102,103,106,107,108,109,112,113,114,115,118,119,120,121,1...
;;----------------------------------------------------------------------------;; ;; Increase textbox size in request menu ;; Copyright 2014 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You ...
; A204429: Symmetric matrix: f(i,j)=(2*i + 2*j) mod 3, by antidiagonals. ; 1,0,0,2,2,2,1,1,1,1,0,0,0,0,0,2,2,2,2,2,2,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0 mul $0,2 mov $1,1 lpb $0 sub $0,1 add $1,2...
*********************************************************************** * File: IQNasinTable.asm * Devices: TMS320F2812, TMS320F2811, TMS320F2810 * Author: David M. Alter, Texas Instruments Inc. * History: * 04/29/04 - original (D. Alter) *********************************************************************** ;;====...
; A169110: Number of reduced words of length n in Coxeter group on 49 generators S_i with relations (S_i)^2 = (S_i S_j)^25 = I. ; 1,49,2352,112896,5419008,260112384,12485394432,599298932736,28766348771328,1380784741023744,66277667569139712,3181328043318706176,152703746079297896448,7329779811806299029504,351829430966702...
; size_t ba_priority_queue_capacity_fastcall(ba_priority_queue_t *q) SECTION code_clib SECTION code_adt_ba_priority_queue PUBLIC _ba_priority_queue_capacity_fastcall EXTERN asm_ba_priority_queue_capacity defc _ba_priority_queue_capacity_fastcall = asm_ba_priority_queue_capacity
Name: zel_msge2.asm Type: file Size: 198270 Last-Modified: '2016-05-13T04:22:15Z' SHA-1: C9631C6715A24AF865001E08B6F25842CC8B0F0E Description: null
; int b_array_resize_callee(b_array_t *a, size_t n) SECTION code_clib SECTION code_adt_b_array PUBLIC _b_array_resize_callee EXTERN asm_b_array_resize _b_array_resize_callee: pop af pop hl pop de push af jp asm_b_array_resize
// Copyright (c) 2014-2017 The Othercoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "governance-votedb.h" CGovernanceObjectVoteFile::CGovernanceObjectVoteFile() : nMemoryVotes(0), lis...
; A183219: Complement of the heptagonal (7-gonal) numbers. ; 2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,90,91,92,93,94,95...
; Z88 Small C+ Graphics Functions ; Draw a circle on the Z88 map ; Adapted from my Spectrum Routine ; (C) 1995-1998 D.J.Morris ; ; HiRez, NO radius correction square pixels assumed ; variant: no table on stack, only one index register is used ; ; $Id: w_dcircle.asm $ ; IF !__CPU_INTEL__ SECTI...
;--------------------------------------------------------------- ;-- NOTE: normally, this file would contain plain sprite data. ;-- however, since the sprites are 8x8 pixels only, they ;-- have been moved to tiles.asm in order to save some ;-- space. they get copied to their final memory locations ;--...
%ifdef CONFIG { "RegData": { "XMM0": ["0x20A121A222A323A4", "0x28A929AA2AAB2BAC"], "XMM1": ["0x0041424300454647", "0x0051525300555657"], "XMM2": ["0x0000414200004546", "0x0000515200005556"], "XMM3": ["0x0", "0x0"], "XMM4": ["0x0", "0x0"] }, "MemoryRegions": { "0x100000000": "4096" } } %e...
;======================================================================= ; VIRUS 1808 ; Virus se napojuje na preruseni 08 (hodiny) a zpomaluje chod pocitace. ; ; ; 45AD:0100 E99200 JMP 0195 0100 E9 92 00 73 55 4D 73 44-6F 73 00 01 77 14 00 00 i..sUMsDos..w... 0110 00 00 01 2C 02 70 00 1C-02 BC 0F EB 04 ...
// Copyright (c) 2009-2015 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 "clientversion.h" #include "coins.h" #include "consensus/consensus.h" #include "core_io.h" #incl...
/* * Special support for eabi and SVR4 * * Copyright (C) 1995, 1996, 1998, 2000, 2001 Free Software Foundation, Inc. * Written By Michael Meissner * 64-bit support written by David Edelsohn * * This file is free software; you can redistribute it and/or modify it * under the terms of the GNU General Publi...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %r9 push %rax push %rbx push %rcx lea addresses_normal_ht+0x103b3, %rax nop nop nop nop nop xor %r8, %r8 mov $0x6162636465666768, %r14 movq %r14, %xmm5 movups %xmm5, (%rax) nop dec %rcx lea addresses_WT_ht+0x184b3, %rbx nop nop dec %r12 movl...
.ORG 0000H LXI SP,0020H MVI A,05H SUI 02H PUSH PSW POP D STA 2000H HLT
/*************************************************************************/ /* script_create_dialog.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
; A016836: (4n+2)^12. ; 4096,2176782336,1000000000000,56693912375296,1156831381426176,12855002631049216,95428956661682176,531441000000000000,2386420683693101056,9065737908494995456,30129469486639681536 mul $0,4 add $0,2 pow $0,12
/* * Copyright 2019 Xilinx 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 ...
section .data msg db "Let's try and make this a long string just for the 2 reason",10,"this is an extention" section .text global _start: _start: mov rsi,msg mov rax,msg call len mov rax,1 mov rdi,1 syscall mov rax,60 mov rdi,0 syscall len: push rsi mov rsi,rax next:...
; A059557: Beatty sequence for 1 + gamma^2, (gamma is the Euler-Mascheroni constant A001620). ; 1,2,3,5,6,7,9,10,11,13,14,15,17,18,19,21,22,23,25,26,27,29,30,31,33,34,35,37,38,39,41,42,43,45,46,47,49,50,51,53,54,55,57,58,59,61,62,63,65,66,67,69,70,71,73,74,75,77,78,79,81,82,83,85,86,87,89,90,91,93,94,95,97,98,99,101,10...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xf682, %r10 nop nop nop xor $27193, %r11 mov (%r10), %rcx nop nop nop nop cmp $60841, %rdi lea addresses_WT_ht+0x1b38, %rbx clflush (%rbx) nop and $35462, %rsi mov (%rbx), %r...
#include "PbbamInternalConfig.h" #include <pbbam/BgzipFastqWriter.h> #include <sstream> #include <stdexcept> #include <pbbam/BamRecord.h> #include <pbbam/FastqSequence.h> #include <pbbam/FormatUtils.h> namespace PacBio { namespace BAM { BgzipFastqWriter::BgzipFastqWriter(const std::string& fn) : BgzipFastqWrit...
; A088740: Greatest semiprime divisor of n-th composite number. ; Submitted by Jon Maiga ; 4,6,4,9,10,6,14,15,4,9,10,21,22,6,25,26,9,14,15,4,33,34,35,9,38,39,10,21,22,15,46,6,49,25,51,26,9,55,14,57,58,15,62,21,4,65,33,34,69,35,9,74,25,38,77,39,10,9,82,21,85,86,87,22,15,91,46,93,94,95,6,49,33,25,51,26,35,106,9,55,111,14...
// ***************************************************************************** // // Copyright (c) 2012, Pleora Technologies Inc., All rights reserved. // // ***************************************************************************** #include "sourcewidget.h" #include <QtGui/QHBoxLayout> #include <QtGui/QGrou...
; Author: Cezar Begu 104808191 include Irvine32.inc .data string BYTE 129 DUP (0) numberOFChar DWORD 0 numberOfUpper DWORD 0 ; Messages used as display for this program message BYTE 'Enter a string of at most 128 characters: ', 0 message1 BYTE 'Here it is, with all lowercases and uppercases flipped, and in reverse or...
// Copyright 2017 Esri. // 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 writing, software...
#include <PhysXPluginPCH.h> #include <Core/Utils/WorldGeoExtractionUtil.h> #include <Core/WorldSerializer/WorldReader.h> #include <Core/WorldSerializer/WorldWriter.h> #include <PhysXPlugin/Components/PxStaticActorComponent.h> #include <PhysXPlugin/Utilities/PxConversionUtils.h> #include <PhysXPlugin/WorldModule...
############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
#include <bits/stdc++.h> #define ll long long int #define nl endl using namespace std; int main(void){ map<string, int> M; //Cria uma variável do tipo map que mapeia strings em int M.insert(make_pair("Alana", 10)); //Inserimos uma variável do tipo pair diretamente no map M["Alana"] = 10; //Relacionando ...
SECTION code_font_fzx PUBLIC __fzx_puts_single_spacing __fzx_puts_single_spacing: ; enter : ix = struct fzx_state * ; ; exit : de = font_height ; hl = y + font_height ; ; uses : f, de, hl ld l,(ix+3) ld h,(ix+4) ; hl = struct fzx_font * ld e,(hl) ld d,...
; 3-ex1-1.asm ; display 3 rows of 'AAAA' .MODEL SMALL .STACK 100 .DATA CHAR DB 'A' NL DB 10, 13, "$" .CODE MAIN PROC MOV AX,@DATA MOV DS,AX MOV CX, 3 L1: MOV BX, CX ; Display 3 @@@ MOV CX, 4 L2: MOV AH, 02H MOV DL, CHAR ...
/* The MIT License (MIT) Copyright (c) 2016 British Broadcasting Corporation. This software is provided by Lancaster University by arrangement with the BBC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to dea...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: taskStrings.asm AUTHOR: Adam de Boor, Sep 21, 1991 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date ...
INCLUDE "core.asm" INCLUDE "stdlib.asm" LABEL foobar AUTO $00001000: ; Let's put some values in the general-purpose registers so that we can see something ; in the register dump later. LD $01 A LD $02 B LD $03 C LD $04 D LD $05 E LD $06 G LD $07 H LD $08 J LD $09 K ...
; uint16_t esx_f_write(unsigned char handle, void *src, size_t nbytes) SECTION code_esxdos PUBLIC esx_f_write EXTERN asm_esx_f_write esx_f_write: pop af pop bc pop hl pop de push de push hl push bc push af ld a,e jp asm_esx_f_write
; A017129: a(n) = (8*n + 5)^5. ; 3125,371293,4084101,20511149,69343957,184528125,418195493,844596301,1564031349,2706784157,4437053125,6956883693,10510100501,15386239549,21924480357,30517578125,41615795893,55730836701,73439775749,95388992557,122298103125,154963892093,194264244901,241162079949,296709280757,362050628125,4...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r14 push %r15 push %r8 push %rcx push %rdi push %rsi // Store lea addresses_PSE+0xb59f, %r15 nop nop nop dec %r8 movl $0x51525354, (%r15) nop nop nop nop nop sub %r8, %r8 // Store lea addresses_D+0x2f1...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017-Present Couchbase, Inc. * * Use of this software is governed by the Business Source License included * in the file licenses/BSL-Couchbase.txt. As of the Change Date specified * in that file, in accordance...
_grep: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } int main(int argc, char *argv[]) { 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 b:...
// ============================================================================ // == Copyright (c) 2015, Smirnov Denis == // == See license.txt for more information == // ============================================================================...
; ; Copyright(c) 2018 Intel Corporation ; SPDX - License - Identifier: BSD - 2 - Clause - Patent ; %include "x64inc.asm" %include "x64Macro.asm" section .text ; ---------------------------------------------------------------------------------------- cglobal PictureCopyKernel_SSE2 ; Requirement: areaWidthInBytes = ...
0D00 97 0D01 C6 FF 0D03 C6 02 0D05 76
; A095117: a(n) = pi(n) + n, where pi(n) = A000720(n) is the number of primes <= n. ; 0,1,3,5,6,8,9,11,12,13,14,16,17,19,20,21,22,24,25,27,28,29,30,32,33,34,35,36,37,39,40,42,43,44,45,46,47,49,50,51,52,54,55,57,58,59,60,62,63,64,65,66,67,69,70,71,72,73,74,76,77,79,80,81,82,83,84,86,87,88,89,91,92,94,95,96,97,98,99,101,...
; The following code is covered under the terms of The Unlicense BITS 16 [org 0x7c00] section .text main: pusha ; if not using org, then set ds = 0x7c0 ;mov ax, 0x7c0 ; ax = 0x7c0 ;mov ds, ax ; ds = ax mov si, msg ; load start address of msg in si call print_string call print_nl jmp $ ...
#include "core.h" #include <unordered_set> #include <unordered_map> #include <chrono> #include <fstream> std::unordered_set<std::string> blacklist; std::unordered_set<std::string> whitelist; std::unordered_map<std::string, std::chrono::steady_clock::time_point> last_packets; Core::Proc* ban_callback; bool flood_topic...
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0001 (0x000002) 0x292D- f:00024 d: 301 | OR[301] = A 0x0002 (0x000004) 0x2121- f:00020 d: 289 | A = OR[289] 0x0003 (0x000006) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001) ...
ESCAPE: ; \ -> &20C1 \ your Escape capsule launch call res2 ; RES2 \ reset2 ld a,11 ; Cobra Mk3 # CYL ld (TYPE),a ; type used for drawing call FRS1 ; escape capsule launch, missile launch. jr c,ES1 ; carry flag set so ship was added ld a,24 ; CYCL2 call ...
INCLUDE "finit.asm" INCLUDE "size_settings.asm" ; Lookup tables ; Subroutines INCLUDE "fmod.asm"
# ORG 80A2 # DB FF # ORG 80A3 # DB A2 # ORG 80A4 # DB 00 # ORG 80A5 # DB 26 # ORG 8000 LHLD 80A2 INX H SHLD 80A2 LHLD 80A4 DCX H SHLD 80A4 HLT
// Copyright (c) 2019 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 <amount.h> #include <arith_uint256.h> #include <compressor.h> #include <consensus/merkle.h> #include <core_io.h> #include...
// 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/extensions/api/web_request/web_request_api_constants.h" namespace extension_web_request_api_constants { const char kChallen...
#include "engine/IAlicaCommunication.h" #include <engine/syncmodule/SyncModule.h> #include "engine/AlicaEngine.h" #include "engine/TeamObserver.h" #include "engine/allocationauthority/AuthorityManager.h" #include "engine/constraintmodul/VariableSyncModule.h" #include "engine/teammanager/TeamManager.h" using std::shar...
; A021952: Decimal expansion of 1/948. ; Submitted by Jon Maiga ; 0,0,1,0,5,4,8,5,2,3,2,0,6,7,5,1,0,5,4,8,5,2,3,2,0,6,7,5,1,0,5,4,8,5,2,3,2,0,6,7,5,1,0,5,4,8,5,2,3,2,0,6,7,5,1,0,5,4,8,5,2,3,2,0,6,7,5,1,0,5,4,8,5,2,3,2,0,6,7,5,1,0,5,4,8,5,2,3,2,0,6,7,5,1,0,5,4,8,5 seq $0,199685 ; a(n) = 5*10^n+1. div $0,474 mod $0,10
; void *memcpy(void * restrict s1, const void * restrict s2, size_t n) SECTION code_clib SECTION code_string PUBLIC memcpy EXTERN asm_memcpy memcpy: pop af pop bc pop hl pop de push de push hl push bc push af jp asm_memcpy
extern m7_ippsGFpMethod_pArb:function extern n8_ippsGFpMethod_pArb:function extern y8_ippsGFpMethod_pArb:function extern e9_ippsGFpMethod_pArb:function extern l9_ippsGFpMethod_pArb:function extern n0_ippsGFpMethod_pArb:function extern k0_ippsGFpMethod_pArb:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeIni...
/* * This file is distributed under the MIT License. * See LICENSE file for details. */ #include "CZetScript.h" #include <istream> using namespace zetscript; int main(int argc, char * argv[]) { CZetScript *zetscript = CZetScript::getInstance(); if (argc >= 2) { if(!zetscript->eval_file(...
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "args.h" #include <fuchsia/boot/llcpp/fidl.h> #include <lib/fdio/directory.h> #include <stdlib.h> #include <cstring> namespace { int ParseCommo...