text
stringlengths
1
1.05M
LCDiamond4 label byte word C_LIGHT_RED Bitmap <71,100,BMC_PACKBITS,BMF_MONO> db 0xf8, 0x00 db 0xf8, 0x00 db 0xf8, 0x00 db 0xf8, 0x00 db 0x01, 0x00, 0x60, 0xfa, 0x00 db 0x01, 0x00, 0xe0, 0xfa, 0x00 db 0x01, 0x00, 0xe0, 0xfa, 0x00 db 0x01, 0x01, 0xe0, 0xfa, 0x00 db 0x01, 0x03, 0xe0, 0xfa, 0x00 db ...
; A192467: (A192466)/2. ; 1,3,12,45,176,693,2752,10965,43776,174933,699392,2796885,11186176,44741973,178962432,715838805,2863333376,11453289813,45813071872,183252112725,733008101376,2932031706453,11728125427712,46912498914645,187649990066176 add $0,3 mov $1,4 mov $2,2 pow $2,$0 add $1,$2 mul $1,$2 div $1,48 sub $1,2 d...
BAL _start SECTION .data _start: xor eax, eax xor ebx, ebx xor ecx, ecx add eax, 70 add bx, 1006 add cx, 1006 int 0x80 jmp do_call jmp_back: xor eax, eax add eax, 11 pop ebx mov [ebx+7], byte ah xor ecx, ecx xor edx, edx int 0x80 do_call: call jmp_b...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/Open (gadgets) FILE: copenRange.asm ROUTINES: Name Description ---- ----------- GLB OLRangeClass Open look numeric range gadget ...
; A131174: a(2n) = 2*A000217(n), a(2n+1) = A000217(n). ; 0,0,2,1,6,3,12,6,20,10,30,15,42,21,56,28,72,36,90,45,110,55,132,66,156,78,182,91,210,105,240,120,272,136,306,153,342,171,380,190,420,210,462,231,506,253,552,276,600,300,650,325,702,351,756,378,812,406,870,435,930,465,992,496,1056,528,1122,561,1190,595,1260,630,13...
/* * Copyright 2009-2017 Alibaba Cloud 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...
SHIP_STATE_ALIVE EQU 0 SHIP_STATE_DESTROYED EQU 1 SHIP_STATE_COUNT EQU 2 SHIP_MOVE_SPEED EQU 2 SHIP_X_MIN EQU 32 + 16 ; border + 16 SHIP_X_MAX EQU 32 + 256 - 16 - 32 ; border + ULA width - sprite width - 32 SHIP_START_X EQU SHIP_X_MIN SHIP_Y...
; A214489: Numbers m such that A070939(m) = A070939(m + A070939(m)), A070939 = length of binary representation. ; 0,4,8,9,10,11,16,17,18,19,20,21,22,23,24,25,26,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,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,...
; A284117: Sum of proper prime power divisors of n. ; Submitted by Christian Krause ; 0,0,0,4,0,0,0,12,9,0,0,4,0,0,0,28,0,9,0,4,0,0,0,12,25,0,36,4,0,0,0,60,0,0,0,13,0,0,0,12,0,0,0,4,9,0,0,28,49,25,0,4,0,36,0,12,0,0,0,4,0,0,9,124,0,0,0,4,0,0,0,21,0,0,25,4,0,0,0,28,117,0,0,4,0,0,0,12,0,9,0,4,0,0,0,60,0,49,9,29 add $0,1 ...
; MoveEffectsPointers indexes (see data/moves/effects_pointers.asm) const_def const EFFECT_NORMAL_HIT ; 00 const EFFECT_SLEEP ; 01 const EFFECT_POISON_HIT ; 02 const EFFECT_LEECH_HIT ; 03 const EFFECT_BURN_HIT ; 04 const EFFECT_FREEZE_HIT ; 05 const EFFECT_PARAL...
// Copyright 2018, OpenCensus 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 agree...
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2014 Igor Mironchik 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 witho...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x13365, %rax cmp %rdx, %rdx movb (%rax), %r12b nop nop nop nop xor %rdi, %rdi lea addresses_WT_ht+0x10f9d, %r11 nop nop nop dec %r10 mov $0x6162636465666768, %r9 mov...
!ADD = "CLC : ADC" !SUB = "SEC : SBC" !BLT = "BCC" !BGE = "BCS" !INVENTORY_SWAP = "$7EF38C" !INVENTORY_SWAP_2 = "$7EF38E" !NPC_FLAGS = "$7EF410" !NPC_FLAGS_2 = "$7EF411" !MAP_OVERLAY = "$7EF414" ; [2] !PROGRESSIVE_SHIELD = "$7EF416" ; ss-- ---- !HUD_FLAG = "$7EF416" ; --h- ---- !FORCE_PYRAMID = "$7EF416" ; ---- p---...
; A267812: Decimal representation of the n-th iteration of the "Rule 217" elementary cellular automaton starting with a single ON (black) cell. ; 1,1,27,119,495,2015,8127,32639,130815,523775,2096127,8386559,33550335,134209535,536854527,2147450879,8589869055,34359607295,137438691327,549755289599,2199022206975,8796090925...
; A095311: 47-gonal numbers. ; 1,47,138,274,455,681,952,1268,1629,2035,2486,2982,3523,4109,4740,5416,6137,6903,7714,8570,9471,10417,11408,12444,13525,14651,15822,17038,18299,19605,20956,22352,23793,25279,26810,28386,30007,31673,33384 mov $1,$0 add $1,1 add $0,$1 add $0,5 add $0,$1 sub $0,5 mov $3,5 lpb $0,1 sub $0,1...
; A028835: Numbers n such that iterated sum of digits of n is a prime. ; 2,3,5,7,11,12,14,16,20,21,23,25,29,30,32,34,38,39,41,43,47,48,50,52,56,57,59,61,65,66,68,70,74,75,77,79,83,84,86,88,92,93,95,97,101,102,104,106,110,111,113,115,119,120,122,124,128,129,131,133,137,138,140,142,146,147,149,151,155,156,158,160,164,165...
/* * (C) 1999-2003 Lars Knoll (knoll@kde.org) * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * ver...
/******************************************************************************* * Copyright 2020-2022 Intel Corporation * * 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://...
SECTION .DATA extern a_sig extern b_sig extern a_unsig extern b_unsig extern x_return global signedF, unsignedF ; signed ;;;;;;;;;;;;;;;;;;;;;;;; ;a == b signed_s1: mov ax, -1d mov [x_return], ax ret ;a > b ; a*b-1 если a > b signed_s2: mov bx, [b_sig] mov ax, [a_sig] imul bx sub ax, 1d ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: nimbusSegments.asm AUTHOR: Gene Anderson, May 27, 1990 ROUTINES: Name Description ---- ----------- Segments Process character com...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_wchar_t_alloca_snprintf_82_goodG2B.cpp Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.string.label.xml Template File: sources-sink-82_goodG2B.tmpl.cpp */ /* * @description * CWE: 121 Stack Based Buffer O...
#include <eepp/graphics/blendmode.hpp> #include <eepp/graphics/renderer/cgl.hpp> namespace EE { namespace Graphics { EE_BLEND_MODE BlendMode::sLastBlend = ALPHA_NORMAL; void BlendMode::SetMode( const EE_BLEND_MODE& blend, bool force ) { if ( sLastBlend != blend || force ) { if (blend == ALPHA_NONE) { GLi->Disa...
stx $ff ora $ff
/** * Copyright (C) 2016 Turi * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include <sframe/csv_writer.hpp> #include <flexible_type/string_escape.hpp> #include <logger/logger.hpp> namespace graphlab { void csv_...
; ; Generic pseudo graphics routines for text-only platforms ; SECTION code_clib PUBLIC respixel .respixel defc NEEDunplot = 1 INCLUDE "pixel.asm"
; A068605: Number of functions from [1,2,...,n] to [1,2,...,n] such that the image contains exactly two elements. ; 2,18,84,300,930,2646,7112,18360,45990,112530,270204,638820,1490762,3440430,7864080,17825520,40107726,89652906,199229060,440401500,968883762,2122317318,4630511064,10066329000,21810380150,47110421826 add $...
; A 64-bit program that displays its command line arguments, one per line. ; On entry, rdi will contain argc and rsi will contain argv. ; nasm -felf64 echo.asm && gcc echo.o && ./a.out dog 22 -zzz "hi there" global main extern puts section .text main: push rdi ; save registers that p...
;-------------------------------------; ; STACK FOR ATMEL328 ; ; ; ; Por: Prof. Carlo Requiao ; ; 22/Sep/2020 ; ;-------------------------------------; .device ATmega328 ;-------------------------------------; ; MACR...
SECTION code_stdio PUBLIC __stdio_nextarg_hl __stdio_nextarg_hl: ; return next 16-bit parameter from parameter list ; ; enter : hl = void *stack_param ; ; exit : hl = 16-bit parameter ; a = l ; ; uses : a, hl ;****************************** IF __SDCC | __SDCC_IX | __SDCC_IY ;****...
#include "TetrisGame.h" #include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { TetrisGame game; if (game.resourcesLoadedCorrectly()) { game.startGame(); } return 0; }
; ; Sprite Rendering Routine ; original code by Patrick Davidson (TI 85) ; modified by Stefano Bodrato - nov 2010 ; ; NEC PC-8801 version ; ; ; $Id: w_putsprite.asm $ ; SECTION smc_clib PUBLIC putsprite PUBLIC _putsprite EXTERN w_pixeladdress EXTERN swapgfxbk EXT...
; A112607: Number of representations of n as a sum of a triangular number and twelve times a triangular number. ; Submitted by Jamie Morken(s3) ; 1,1,0,1,0,0,1,0,0,0,1,0,1,1,0,2,0,0,1,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,0,0,2,1,0,1,1,0,1,0,0,1,1,0,1,0,0,1,0,0,0,1,0,2,0,0,0,0,0,0,1,0,1,1,0,0,0,0,2,1,0,1,0,0,3,0,0,1,1,0,0,0,0,...
; ; Sprite Rendering Routine ; original code by Patrick Davidson (TI 85) ; modified by Stefano Bodrato - nov 2010 ; ; MicroBEE high resolution version, 512x256 dots variant (2016) ; ; ; $Id: w_putsprite_512.asm,v 1.1 2016/11/25 14:45:01 stefano Exp $ ; SECTION smc_clib PUBLIC putsprite PUBLIC ...
// Copyright 2014 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 "services/view_manager/animation_runner.h" #include "base/strings/stringprintf.h" #include "mojo/converters/geometry/geometry_type_converters.h"...
#include <iostream> #include <fstream> #include <stdio.h> #include <stdlib.h> // This code is inspired from the book "Guide to Scientific Computing in C++" by Fancis and Whiteley using namespace std; double CalculateMinimum (double a, double b); int main (int argc, char* argv[]) { double x, y; cout << "Plea...
;----------------------------------------------------------------------------- ; ; Authors: Michael Schierl, Ege Balcı ; Version: 1.0 (01 December 2018) ;----------------------------------------------------------------------------- ; [BITS 64] ; Input: EBP - Data to decode ; ESI - key ; ECX - Data size ; EDI - ...
#include "LocalApicTimer.h" #include "pit.h" #include "irq/Apic.h" #include "irq/ApicRegs.h" #include <arch/spinlock.h> #include <log.h> using namespace platform::timer; /** * Since we have only one PIT, but multiple APICs (if there's many cores) we need to be sure that * only one core is using it to calculate th...
; ; ZX81 libraries ; ;-------------------------------------------------------------- ; This code comes from the 'HRG_Tool' ; by Matthias Swatosch ; Original function name: "HRG_Tool_TXTcopy" ;-------------------------------------------------------------- ; ; $Id: copytxt_arx.asm,v 1.2 2011/11/16 09:43:09 stefano Exp $...
; A175677: Binomial(n,4) mod n. ; 0,0,0,1,0,3,0,6,0,0,0,3,0,7,0,12,0,0,0,5,0,11,0,18,0,0,0,7,0,15,0,24,0,0,0,9,0,19,0,30,0,0,0,11,0,23,0,36,0,0,0,13,0,27,0,42,0,0,0,15,0,31,0,48,0,0,0,17,0,35,0,54,0,0,0,19,0,39,0,60,0,0,0,21,0,43,0,66,0,0,0,23,0 add $0,1 gcd $1,$0 bin $1,4 mod $1,$0 mov $0,$1
#include "DetectorDescription/Core/interface/DDAxes.h" #include <utility> AxesNames::AxesNames() : axesmap_{{"x", DDAxes::x}, {"y", DDAxes::y}, {"z", DDAxes::z}, {"rho", DDAxes::rho}, {"radial3D", DDAxes::radial3D}, {"phi", DDAxes::phi}, ...
; A247014: Number of binary centrosymmetric matrices of size n X n. ; 1,2,4,32,256,8192,262144,33554432,4294967296,2199023255552,1125899906842624,2305843009213693952,4722366482869645213696,38685626227668133590597632,316912650057057350374175801344,10384593717069655257060992658440192,3402823669209384634633746074317682114...
; A045944: Rhombic matchstick numbers: a(n) = n*(3*n+2). ; 0,5,16,33,56,85,120,161,208,261,320,385,456,533,616,705,800,901,1008,1121,1240,1365,1496,1633,1776,1925,2080,2241,2408,2581,2760,2945,3136,3333,3536,3745,3960,4181,4408,4641,4880,5125,5376,5633,5896,6165,6440,6721,7008,7301,7600,7905,8216,8533,8856,9185,9520,98...
// Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/mtucicoin-config.h" #endif #include <cstddef> #if defined(HAVE_SYS_SELECT_H) #includ...
; A297469: Solution (bb(n)) of the system of 3 complementary equations in Comments. ; 2,7,11,17,22,27,31,37,41,47,51,57,62,67,71,77,82,87,91,97,102,107,111,117,121,127,131,137,142,147,151,157,161,167,171,177,182,187,191,197,201,207,211,217,222,227,231,237,242,247,251,257,262,267,271,277,281,287,291,297,302,307,311,317,...
; A123565: a(n) is the number of positive integers k which are <= n and where k, k-1 and k+1 are each coprime to n. ; Submitted by Jon Maiga ; 1,0,0,0,2,0,4,0,0,0,8,0,10,0,0,0,14,0,16,0,0,0,20,0,10,0,0,0,26,0,28,0,0,0,8,0,34,0,0,0,38,0,40,0,0,0,44,0,28,0,0,0,50,0,16,0,0,0,56,0,58,0,0,0,20,0,64,0,0,0,68,0,70,0,0,0,32,0,...
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
// Copyright 2018 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 <ddk/binding.h> #include <ddk/debug.h> #include <ddk/device.h> #include <ddk/metadata.h> #include <ddk/platform-defs.h> #include <ddktl/protocol/c...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; ba_priority_queue_t * ; ba_priority_queue_init(void *p, void *data, size_t capacity, int (*compar)(const void *, const void *)) ; ; Initialize a byte array priority queue ...
; A022031: Define the sequence T(a(0),a(1)) by a(n+2) is the greatest integer such that a(n+2)/a(n+1) < a(n+1)/a(n) for n >= 0. This is T(4,17). ; Submitted by Jon Maiga ; 4,17,72,304,1283,5414,22845,96397,406757,1716352,7242319,30559689,128949662,544115986,2295951781,9687997993,40879475731,172495033261,727860031657,30...
# Zeynep Cankara -- 04/03/2019 # Course: CS223 # Section: 02 # Lab: 02 # preLIM2.asm -- Perfprms number conversions #************************ # * # text segment * # * #************************ .globl __start .text __start: # Print an intro message li $v0, 4 la $a0, intro syscall # Call menu intera...
; A141375: Primes of the form x^2+8*x*y-8*y^2 (as well as of the form x^2+10*x*y+y^2). ; 73,97,193,241,313,337,409,433,457,577,601,673,769,937,1009,1033,1129,1153,1201,1249,1297,1321,1489,1609,1657,1753,1777,1801,1873,1993,2017,2089,2113,2137,2161,2281,2377,2473,2521,2593,2617,2689,2713,2833,2857 mov $2,261241 lpb $2 ...
#include "coap-simple.h" #include "Arduino.h" #define LOGGING void CoapPacket::addOption(uint8_t number, uint8_t length, uint8_t *opt_payload) { options[optionnum].number = number; options[optionnum].length = length; options[optionnum].buffer = opt_payload; ++optionnum; } Coap::Coap( UDP& udp ) ...
// Time: O(n * k) // Space: O(k) class Solution { public: int minCostII(vector<vector<int>>& costs) { if (costs.empty()) { return 0; } vector<vector<int>> min_cost(2, costs[0]); const int n = costs.size(); const int k = costs[0].size(); ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2018 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "miner.h" #include ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xf4d8, %rdi clflush (%rdi) nop nop nop and $44955, %r11 movw $0x6162, (%rdi) nop nop nop nop cmp $9041, %rsi lea addresses_WC_ht+0x9498, %rsi lea addresses_WT_ht+0x15698, %rdi nop add %rbx, %rbx...
; A186444: The count of numbers <= n for which 3 is an infinitary divisor. ; 0,0,1,1,1,2,2,2,2,2,2,3,3,3,4,4,4,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,9,9,9,10,10,10,11,11,11,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,16,16,16,16,16,16,17,17,17,18,18,18,18,18,18,19,19,19,20,20,20,20,20,20,21,21,21,22,22,22,22,22,22,23,23...
#echo #echo ====== DATA-BANK ===== * = $8000 bank_data_begin: #include "game/data/data.asm" bank_data_stage_selection_extra_data_begin: #include "game/data/menu_stage_select/anims.asm" #include "game/data/menu_stage_select/screen.asm" bank_data_stage_selection_extra_data_end: bank_data_stage_selection_extra_code_beg...
stm8/ .tab 0,8,16,60 ;============================================= ; Contain all the varible definitions ;============================================= #include "constants.inc" #include "mapping.inc" ram0_start.b EQU $ram0_segment_start ram0_end.b EQU $ram0_segment_end ram1_start.w EQU $ram1_segment_start ram1_end...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017 The Cubis developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://...
_cat: 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: ...
; A053470: a(n) is the cototient of n (A051953) iterated twice. ; 0,0,0,1,0,2,0,2,1,4,0,4,0,4,1,4,0,8,0,8,3,8,0,8,1,8,3,8,0,12,0,8,1,12,1,16,0,12,7,16,0,22,0,16,9,16,0,16,1,22,1,16,0,24,7,16,9,22,0,24,0,16,9,16,1,24,0,24,5,24,0,32,0,20,11,24,1,36,0,32,9,30,0,44,9,24,1,32,0,46,1,32,13,32,1,32,0,32,15,44 seq $0,16035 ; ...
@256 D=A @0 M=D @133 0;JMP @15 M=D @0 AM=M-1 D=M A=A-1 D=M-D M=0 @19 D;JNE @0 A=M-1 M=-1 @15 A=M 0;JMP @15 M=D @0 AM=M-1 D=M A=A-1 D=M-D M=0 @35 D;JLE @0 A=M-1 M=-1 @15 A=M 0;JMP @15 M=D @0 AM=M-1 D=M A=A-1 D=M-D M=0 @51 D;JGE @0 A=M-1 M=-1 @15 A=M 0;JMP @5 D=A @1...
;//////////////////////////////////////////////////////////////////////////////////////////////////////// ;// Part of Injectable Generic Camera System ;// Copyright(c) 2019, Frans Bouma ;// All rights reserved. ;// https://github.com/FransBouma/InjectableGenericCameraSystem ;// ;// Redistribution and use in source and ...
db 0 ; species ID placeholder db 40, 40, 40, 20, 70, 40 ; hp atk def spd sat sdf db FIRE, FIRE ; type db 190 ; catch rate db 78 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/slugma/front...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_class_realloc_72b.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-72b.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management R...
#include <unistd.h> #include <fstream> #include <iostream> #include <string> #include <signal.h> #include <unistd.h> #include <netinet/in.h> #include <thread> #include <arpa/inet.h> #include <unordered_map> #include <mutex> #include <assert.h> #include <algorithm> #include <condition_variable> #include <poll.h> #includ...
/*++ Copyright (c) 2000 Microsoft Corporation Module Name: SecUtil.cxx Abstract: Utility functions for manipulating cell sections Author: Kamen Moutafov (kamenm) Dec 99 - Feb 2000 Revision History: --*/ #include <precomp.hxx> RPC_STATUS OpenDbgSection(OUT HANDLE *pHandle, ...
;[]-----------------------------------------------------------------[] ;| STAT87.ASM -- access floating-point status word | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 10.0 ; ; Copyright (c) 1991, 2000 by Inprise Corporation...
; Implementation of float-to-integer conversion as needed by MSVC. global __ftol2 global __ftol2_sse ; section ftol text __ftol2: __ftol2_sse: push eax fisttp dword [esp] pop eax cdq ret
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D38 move.l D0, (A4)+ 004D3A move.l D0, (A4)+ 074FF8 move.l A0, ($a0,A6) 074FFC move.w ($26,A6), D0 [etc+A0, etc+A2] 07544A clr.w ($a2,A6) [etc+A0] 07544E clr.w ($a4,A6) 075490 addi.w #$c, (...
; ; 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...
/* ** ClanLib SDK ** Copyright (c) 1997-2020 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
; Write· a program to read one of the hex digits A-F, and display it on the next line in decimal. .model small .stack 100h .data msg1 db 'enter a hex digit: $' msg2 db 'the decimal is: $' var db ? .code main proc ;initialization mov ax, @data mov ds, ax ;display msg 1 ...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; allocate 16 byte aligned stack space for the packed values lea ecx, [esp-33] and ecx, 0xfffffff0 ; load a 128 bit value into xmm0 mov DWORD [ecx], 0x01230415 mov DWORD [ecx+4], 0xa0a31011 mov DWORD [ecx+8], 0x1b11b10a mov DWORD [...
SFX_Intro_Hop_Ch4: duty 2 unknownsfx0x10 38 unknownsfx0x20 12, 194, 128, 6 unknownsfx0x10 8 endchannel
;; Created by Ywt. ;; Date: 12/4/2016 TITLE T27_YWT DATA SEGMENT A DW 1, 2, 3, 4, 8, 10 DUP(?) B DW 0, 1, 4, 5, 9, 15 DUP(?) C DW 15 DUP(?) ENDS CODE SEGMENT ASSUME CS:CODE, DS:DATA START: MOV AX, DATA MOV DS, AX ;; SI->A DI->B ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xfb23, %rsi lea addresses_D_ht+0x3123, %rdi nop nop nop nop nop sub %r12, %r12 mov $34, %rcx rep movsl nop nop xor $13977, %r14 lea addresses_D_ht+0x142d7, %r10 xor %rdi, %rdi...
SECTION rodata_font_fzx PUBLIC _ff_dkud2_Midnight _ff_dkud2_Midnight: BINARY "font/fzx/fonts/dkud2/Midnight/midnight.fzx"
ORG 000H ; Intialize MOV A, #62H ; Copy content of LSB of First number MOV B, #96H ; Copy content of LSB of Second Number SUBB A, B ; Subtract LSB of Both the numbers MOV R6, A ; Transfer the additon result from ACC to Reg 6 MOV 41H, R6 ; Store the result in given memory location MOV A, #27H ; Copy content of MSB of F...
; A057947: n has ambiguous representations in "bad hexadecimal": numbers with the digit 1 followed by a digit less than 6. ; 10,11,12,13,14,15,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,1...
; A187532: a(n) = 4^n mod 19. ; 1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1 mov $1,2 mov $2,$0 lpb $2 mul $1,4 mod $1,38 sub...
OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' ALIGN 32 __KeccakF1600 PROC PRIVATE mov rax,QWORD PTR[60+rdi] mov rbx,QWORD PTR[68+rdi] mov rcx,QWORD PTR[76+rdi] mov rdx,QWORD PTR[84+rdi] mov rbp,QWORD PTR[92+rdi] jmp $L$oop ALIGN 32 $L$oop:: mov r8,QWORD PTR[((-100))+rdi] mov r9,QWORD PTR[((-52))+rdi] mov ...
defop current_frame pop rax push fp push rax ret defop begin_frame pop rax push fp mov fp, rsp jmp rax defop drop_frame pop rax mov rsp, fp pop fp jmp rax defop end_frame mov fp, [fp] ret defalias pop_frame,end_frame ;;; ;;; Returns ;;; defop drop_locals pop rax mov rsp, fp j...
; A271519: Let n = (2*i + 1)*2^j; then a(n) = i + j. ; 0,1,1,2,2,2,3,3,4,3,5,3,6,4,7,4,8,5,9,4,10,6,11,4,12,7,13,5,14,8,15,5,16,9,17,6,18,10,19,5,20,11,21,7,22,12,23,5,24,13,25,8,26,14,27,6,28,15,29,9,30,16,31,6 mov $2,1 lpb $0 sub $0,$2 add $1,4 gcd $2,$0 mul $2,2 lpe div $1,4
assume cs:code, ds:data data segment ;a dd 0aa00bf12h ;a= 1010 1010 0000 0000 1011 1111 0001 0010 ; 5df ; 0000 0000 0000 0000 0000 0110 1101 1111 a dd 0fffffh bmask dw ? nbits dw 0 data ends code segment start: mov ax, data mov ds, ax mov ax, word ptr a mov dx, word ptr a + 2 mov cx, 16 mov s...
default rel section .text _0x00_nop: ret _0x01_aconst_null: ret _0x02_lconst_m1: ret _0x03_iconst_0: ret _0x04_iconst_1: ret _0x05_iconst_2: ret _0x06_iconst_3: ret _0x07_iconst_4: ret _0x08_iconst_5: ret _0x09_lconst_0: ret _0x0a_lconst_1: ret _0x0b_fconst_0: ret _0x0c_fconst_1: ret _0x0d_fconst...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/quicksight/model/CreateTemplateResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aw...
; A204644: Number of (n+1) X 2 0..1 arrays with column and row pair sums b(i,j)=a(i,j)+a(i,j-1) and c(i,j)=a(i,j)+a(i-1,j) nondecreasing in column and row directions, respectively. ; 8,16,28,48,80,132,216,352,572,928,1504,2436,3944,6384,10332,16720,27056,43780,70840,114624,185468,300096,485568,785668,1271240,2056912,33...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x43fe, %r15 nop and %r8, %r8 mov (%r15), %r12w nop nop nop add $29090, %rax lea addresses_normal_ht+0xddb6, %rcx nop nop nop nop lfence mov $0x6162636465666768, %r15 movq %r15...
; A152895: Partial sums of A152891. ; 0,2,11,40,123,349,951,2539,6710,17645,46290,121302,317706,831920,2178173,5702734,14930181,39087979,102333945,267914065,701408480,1836311627,4807526676,12586268700,32951279748,86267570894,225851433311 lpb $0 sub $0,1 add $2,1 add $3,$2 add $2,$3 add $4,$2 add $1,$4 lpe ...
START 200 EXTRN X MOVER AREG,=‘5’ MOVEM AREG,Y L1 MOVER BREG,=‘2’ ORIGIN L1+3 LTORG NEXT ADD AREG,=‘1’ SUB BREG,=‘2’ BC LT,BACK LTORG BACK EQU L1 ORIGIN NEXT+5 MULT CREG,=‘4’ STOP Y DS 1 END
// Copyright 2011 the V8 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. #include "src/v8.h" #include "src/base/bits.h" #include "src/base/platform/platform.h" #include "src/full-codegen.h" #include "src/heap/mark-compact.h"...
// Example 2: Assign current process to registry (non-elevate) //... Initializing stuffs int __cdecl main(int argc, wchar_t* argv[]) { EnableStartup(L"MyProgramName", "/onboot", L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"); return 0; }
/* * 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...
; void *b_vector_init_callee(void *p, size_t capacity, size_t max_size) SECTION code_adt_b_vector PUBLIC _b_vector_init_callee _b_vector_init_callee: pop hl pop de pop bc ex (sp),hl INCLUDE "adt/b_vector/z80/asm_b_vector_init.asm"
SECTION code_fp_math32 PUBLIC l_f32_mul EXTERN cm32_sccz80_fsmul_callee defc l_f32_mul = cm32_sccz80_fsmul_callee
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE590_Free_Memory_Not_on_Heap__delete_struct_alloca_72a.cpp Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete.pointer.label.xml Template File: sources-sink-72a.tmpl.cpp */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: alloca Data ...
# Group No. 54 # Assignment: 7 # Problem : 3 # Name : Avijit Mandal # Roll No. : 18CS30010 # Name : Sumit Kumar Yadav # Roll No.: 18CS30042 ##########Data Segment######################## .data input: .asciiz "Enter 9 numbers : " sorted_array: .asciiz "Array in ascending order is : " key_input: .asciiz "...