text
stringlengths
1
1.05M
TITLE_FRAME_COUNT = 512 RASTER_BAR_START_Y = 220 RASTER_BAR_STEP_ANGLE = 240 RASTER_BAR_SPEED = 64 RASTER_BAR_SIZE = 128 RASTER_BAR_RESOLUTION = 18 RASTER_BAR_STEP = 65536 / RASTER_BAR_RESOLUTION TITLE_BG_COLOR = $1ff .rsset _zp_fx raster_bar_angle .rs 2 raster_bar_start_y .rs 4 raster_bar...
; This snippet, 0x07, sets rax with its initial value. ; Assemble with $ nasm -felf64 0x07.asm && ld 0x07.o && ./a.out global _start section .text _start: mov rax, 1 ; Initialize rax (can be any number) inc rax ; rax = rax + 1 (makes value negative) neg rax ; rax = ~rax + 1 inc rax ; rax = rax + 1 neg...
#include "RenderWindow_linux32.cpp"
; A176534: Decimal expansion of (35+sqrt(1295))/7. ; Submitted by Christian Krause ; 1,0,1,4,0,8,7,2,6,3,2,9,8,4,7,3,7,5,9,9,1,6,1,2,4,5,2,0,7,9,6,8,1,8,4,4,3,0,6,4,9,8,7,4,1,7,1,2,2,8,4,5,0,6,2,9,4,6,5,7,5,2,4,8,0,7,9,3,1,2,3,6,5,7,5,2,4,3,3,1,7,2,8,7,0,7,4,7,0,0,0,3,0,5,5,8,7,5,9,5 mov $2,1 mov $3,$0 lpb $3 add $1...
/* * 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...
section .realmode int_08_ticks_counter: dd 0 int_08_callback: dd 0 int_08_isr: bits 16 pushf inc dword [cs:int_08_ticks_counter] popf jmp far [cs:int_08_callback] bits 32 extern getchar_internal global _pit_sleep_and_quit_on_keypress _pit_sleep_and_quit_on_keypress: ; Hook int 0x08 ...
; A301672: Coordination sequence for node of type V2 in "krr" 2-D tiling (or net). ; 1,4,8,13,17,20,25,30,33,37,42,46,50,54,58,63,67,70,75,80,83,87,92,96,100,104,108,113,117,120,125,130,133,137,142,146,150,154,158,163,167,170,175,180,183,187,192,196,200,204,208,213,217,220,225,230,233,237,242,246,250,254,258,263,267,27...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x14dad, %rsi lea addresses_A_ht+0x12cad, %rdi nop nop nop and %rbx, %rbx mov $114, %rcx rep movsl nop nop dec %r12 lea addresses_WC_ht+0x12d6d, %rbx nop nop nop and $17379, %rbp movb (%rbx), %r1...
; =============================================================== ; Feb 2014 ; =============================================================== ; ; size_t w_vector_insert_n(w_vector_t *v, size_t idx, size_t n, void *item) ; ; Insert n words before vector.array[idx], fill that area with ; item and return the index of t...
// Copyright 2021 The Autoware Foundation // // 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...
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Heiko Strathmann, Soeren Sonnenburg, Soumyajit De, Thoralf Klein, * Pan Deng, Fernando Iglesias, Sergey Lisitsyn, Viktor Gal, * Michele Mazzoni, Yingrui Chang, Weijie Lin, Khaled Nasr, * Koen v...
COMMENT 0 DEFINE COMMENT 0 eJxTYWBg0JfRMAZSDPGWT9aBaN0rD96D6Cn1K5o9lk6Tf3u4ja1q+ZJZP/d1+qdfnygCkvNNk4vjjZaL yw39l5cbum8Cb/S8hb5p8xaC5G6n8thbJ4BwT9Pt1J4mkJiXlUwEl75MRJamjXuWZo0ql/4cES+rOSKv 7GtUX9mfsVtlAsJvdBlGwSgYBXQFAEEjMOw;
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x387e, %rsi lea addresses_normal_ht+0x2ebe, %rdi clflush (%rsi) nop nop nop nop mfence mov $37, %rcx rep movsl nop nop and %rsi, %rsi lea addresses_WT_ht+0x6d62, %r9 nop n...
; Super Face Right ; Sprite mode is 8 x 16 Meta_00: .byte $F6, $00, $00, $20, $02 .byte $06, $00, $02, $20, $02 .byte $F6, $10, $20, $20, $02 .byte $06, $10, $22, $20, $02 .byte $80 ;end of data ; Super Face Left ; Sprite mode is 8 x 16 Meta_01: .byte $F6, $00, $02, $60, $02 .byte $06, $00, $00, $60, $02 .byte $F6, $...
; ; Memory buffer writer ; Writer: MACRO ; a = value ; hl = return address ; ix = this Write: ld (0),a bufferPosition: equ $ - 2 inc (ix + Writer.bufferPosition) jr z,Write_Continue ; unlikely jp hl Write_Continue: push hl jp Writer_Write.Continue bufferStart: dw 0 bufferSize: dw 0 bufferEnd:...
; A159918: Number of ones in binary representation of n^2. ; 0,1,1,2,1,3,2,3,1,3,3,5,2,4,3,4,1,3,3,5,3,6,5,3,2,5,4,6,3,5,4,5,1,3,3,5,3,6,5,7,3,5,6,7,5,8,3,4,2,5,5,5,4,8,6,7,3,6,5,7,4,6,5,6,1,3,3,5,3,6,5,7,3,6,6,9,5,7,7,5,3,6,5,8,6,7,7,7,5,9,8,5,3,6,4,5,2,5,5,6 pow $0,2 mov $2,$0 lpb $0 div $2,2 sub $0,$2 lpe
section .data newline_char: db 10 codes: db '0123456789abcdef' section .text global _start print_newline: mov rax, 1 ; 'write' syscall identifier mov rdi, 1 ; stdout file descriptor mov rsi, newline_char ; where do we take data from mov rdx, 1 ; the amount of ...
2D sparse table? Range Max
; ---------------------------------------------------------------------------------------- ; Infinite Counter Runs on 64-bit Linux only. ; To assemble and run: ; ; nasm -felf64 randomOutput.asm && ld randomOutput.o && ./a.out ; ----------------------------------------------------------------------------------------...
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; ==++== ; ; ; ==--== ; *********************************************************************** ; File: JitHelpers_SingleAppDomain.asm ; ; Notes: JIT Static access helpers when corecl...
; A040461: Continued fraction for sqrt(483). ; 21,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42 mov $1,21 lpb $0 mod $0,2 mul $1,2 lpe gcd $1,$0
// Never Spawn Fat Race Penguin in CCM origin 0x0CB7FC base 0x803107FC b 0x8031083C // 813107FC 1000
;****************************************************************************** ;* I_TOFS16.ASM - 16 BIT STATE - * ;* * ;* Copyright (c) 1996 Texas Instruments Incorporated * ...
;***************************************************************** ;* - Description: Device definition file for RC Calibration ;* - File: m8535.asm ;* - AppNote: AVR053 - Production calibration of the ;* RC oscillator ;* ;* - Author: Atmel Corporation: http://www.atmel...
; KC Driver ; ; We need to be low in memory or we might get paged out ; ; The screen layout is "interesting" to say the least on the KC machines ; SECTION driver_clib PUBLIC generic_console_cls PUBLIC generic_console_scrollup PUBLIC generic_console_printc PUBLIC generic_console_se...
; A047589: Numbers that are congruent to {6, 7} mod 8. ; 6,7,14,15,22,23,30,31,38,39,46,47,54,55,62,63,70,71,78,79,86,87,94,95,102,103,110,111,118,119,126,127,134,135,142,143,150,151,158,159,166,167,174,175,182,183,190,191,198,199,206,207,214,215,222,223,230,231 mov $1,$0 div $0,2 mul $0,6 add $1,$0 add $1,6
_rm: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" 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 ...
-- 7 Billion Humans -- -- 07: Collation station -- -- Size: 8/6 -- -- Speed: 7/7 -- a: if c == nothing: step s jump a endif pickup c b: if s == nothing: step s jump b endif drop
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x935a, %rax nop nop nop cmp $57840, %r11 movups (%rax), %xmm5 vpextrq $0, %xmm5, %r10 nop nop nop xor $15443, %r9 lea addresses_UC_ht+0x1cd70, %rsi lea addresses_WC_ht+0x17932...
; Got this example from Nerdy Nights: ; http://www.nintendoage.com/forum/messageview.cfm?catid=22&threadid=7155 ; this is the scrolling example ; http://www.nintendoage.com/forum/messageview.cfm?catid=22&threadid=36958 .inesprg 1 ; 1x 16KB PRG code .ineschr 1 ; 1x 8KB CHR data .inesmap 0 ; ma...
#include "sineWaveController.h" #include "../../math/predefinedTaylorExpansions.h" #include "../../math/constants.h" namespace P3D { SineWaveController::SineWaveController(double minValue, double maxValue, double period) : minValue(minValue), maxValue(maxValue), period(period), currentStepInPeriod(0) { assert(m...
// Copyright 2017 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 "src/ui/lib/escher/shape/rounded_rect.h" #include <lib/syslog/cpp/macros.h> #include "src/ui/lib/escher/geometry/types.h" #include "src/ui/lib/e...
/* The MIT License (MIT) Copyright (c) 2013-2015 winlin 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, p...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 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...
; A108647: a(n) = (n+1)^2*(n+2)^2*(n+3)^2*(n+4)/144. ; 1,20,150,700,2450,7056,17640,39600,81675,157300,286286,496860,828100,1332800,2080800,3162816,4694805,6822900,9728950,13636700,18818646,25603600,34385000,45630000,59889375,77808276,100137870,127747900,161640200,202963200,253027456,313322240,385533225,471561300,57354...
; $Id: X86Stub.asm $ ;; @file ; VMM - World Switchers, X86 Stub. ; ; ; Copyright (C) 2006-2015 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modify it under the terms of the G...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0xf5c6, %r12 nop nop nop nop nop sub $11014, %r15 movl $0x61626364, (%r12) nop nop nop nop cmp $56070, %rsi lea addresses_UC_ht+0x1c8e6, %rsi lea addresses_D_ht+0xc3ca, %rdi su...
; A199805: G.f.: 1/(1 + x + 5*x^2 - x^3 + x^4). ; Submitted by Jon Maiga ; 1,-1,-4,10,8,-61,35,268,-512,-732,3525,-645,-17200,24682,57148,-197113,-46745,1064776,-1085312,-4088200,10626281,7664631,-63798924,40190250,275842720,-548257525,-726966901,3703906996,-893172736,-17805071620,26701809197,57726469171,-208147414040,...
; A169124: Number of reduced words of length n in Coxeter group on 15 generators S_i with relations (S_i)^2 = (S_i S_j)^26 = I. ; 1,15,210,2940,41160,576240,8067360,112943040,1581202560,22136835840,309915701760,4338819824640,60743477544960,850408685629440,11905721598812160,166680102383370240,2333521433367183360 add $0...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1bd30, %rsi lea addresses_D_ht+0x49a7, %rdi clflush (%rsi) nop nop nop nop nop sub %r9, %r9 mov $108, %rcx rep movsq nop nop nop nop add $32394, %r10 lea addresses_A_ht+0x17bf8, %rcx no...
; A017360: a(n) = (10*n + 7)^8. ; 5764801,6975757441,282429536481,3512479453921,23811286661761,111429157112001,406067677556641,1235736291547681,3282116715437121,7837433594376961,17181861798319201,35114532758015841,67675234241018881,124097929967680321,218041257467152161,369145194573386401,604967116961135041,963354501121...
; [fail] [cpu 8086] pause shl ax, 2 [cpu 386] fninit [cpu 386 fpu] fninit [cpu 8086] shl ax, 1 shl ax, 2 movsd push 0
.ORIG x3000 LEA R0, HELLOWORLD PUTS HALT HELLOWORLD .STRINGZ "Hello World\n" .END
zero .INT 0 six .INT 6;19 ltue .INT 42 outp .INT 0 ; Program values ret .BYT 10 EOT .BYT 3 ; End of text hw .BYT 'H' .BYT 'e' .BYT 'l' .BYT 'l' .BYT 'o' spc .BYT 32 .BYT 'w' .BYT 'o' .BYT 'r' .BYT 'l' .BYT 'd' .BYT '!' .BY...
; A029007: Expansion of 1/((1-x)(1-x^2)(1-x^4)(1-x^5)). ; 1,1,2,2,4,5,7,8,11,13,17,19,24,27,33,37,44,49,57,63,73,80,91,99,112,122,136,147,163,176,194,208,228,244,266,284,308,328,354,376,405,429,460,486,520,549,585,616,655,689,731,767,812,851,899,941,992,1037,1091,1139,1197,1248,1309,1363,1428,1486,1554,1615,1687,1752,1...
#include "blocks/FigureFactory.h" #include "blocks/BrickInfo.h" #include "blocks/FigureInfo.h" #include "SixCatsLogger.h" #include "SixCatsLoggerMacro.h" #include <sstream> USING_NS_CC; using namespace std; using namespace blocks; map<FigureType, FigureType> rotationVariants = { {kQuad, kQuad}, {kZR1, kZR2 }, ...
; A317637: a(n) = n*(n+1)*(n+3). ; 0,8,30,72,140,240,378,560,792,1080,1430,1848,2340,2912,3570,4320,5168,6120,7182,8360,9660,11088,12650,14352,16200,18200,20358,22680,25172,27840,30690,33728,36960,40392,44030,47880,51948,56240,60762,65520,70520,75768,81270,87032 mov $1,3 add $1,$0 add $0,1 mul $1,$0 sub $0,1 mul $1,$0...
// Copyright (c) 2016-2019 The XBit Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <versionbits.h> #include <consensus/params.h> ThresholdState AbstractThresholdConditionChecker::GetStateFor(const CBlo...
; Copyright 2018-2019 Brian Otto @ https://hackerpulp.com ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted, provided that the above ; copyright notice and this permission notice appear in all copies. ; ; THE SOFTWARE IS PROVIDED "AS I...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x19935, %rsi lea addresses_A_ht+0xffd7, %rdi nop nop nop nop nop and $58593, %r12 mov $25, %rcx rep movsb nop nop nop nop nop dec %rdx lea addresses_A_ht+0x12f35, %rbx nop nop...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team. * Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team. * Copyright (c) 2018,2019,2020,2021, by the ...
//********************************************* // This is auto generated by G4gen 0.6 // author:Qian #ifndef MyRunAction_h #define MyRunAction_h 1 #include "G4UserRunAction.hh" #include "globals.hh" class MyRunAction : public G4UserRunAction { public: MyRunAction(); virtual ~My...
;@DOES Close an open file slot ;@INPUT A = file handle ;@DESTROYS HL,DE,BC,AF,IX ;@NOTE does nothing if A==0 or A>31 fs_Close: call fs_GetFileHandlePtr ret nc ex hl,de ld bc,8 jq util_VoidPtr
SECTION rodata_font_fzx PUBLIC _ff_dkud2_Roman _ff_dkud2_Roman: BINARY "font/fzx/fonts/dkud2/Roman/roman.fzx"
; Assembly for testright-native.bas ; compiled with mcbasic -native ; Equates for MC-10 MICROCOLOR BASIC 1.0 ; ; Direct page equates DP_LNUM .equ $E2 ; current line in BASIC DP_TABW .equ $E4 ; current tab width on console DP_LPOS .equ $E6 ; current line position on console DP_LWID .equ $E7 ; current line width of con...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtWidgets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licens...
/* * Copyright (c) 2016, The OpenThread Authors. * 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 ...
section .text extern _init extern main extern exit extern envc extern envp extern _late_init_stdlib global _start _start: mov ebp,0 push ebp push ebp mov ebp,esp call _early_init_stdlib push ecx push eax call _init call _late_init_stdlib call main push eax call exit global _early_init_stdlib _e...
/* * Copyright 2007, 2011, Stephan Aßmus <superstippi@gmx.de>. * All rights reserved. Distributed under the terms of the MIT License. */ #include "NativeSaver.h" #include <stdio.h> #include <string.h> #include "FlatIconFormat.h" #include "MessageExporter.h" NativeSaver::NativeSaver(const entry_ref& ref) : Si...
; A053667: Product of digits of n^2. ; 0,1,4,9,6,10,18,36,24,8,0,2,16,54,54,20,60,144,24,18,0,16,128,90,210,60,252,126,224,32,0,54,0,0,30,20,108,162,64,10,0,48,168,288,162,0,12,0,0,0,0,0,0,0,108,0,54,216,216,96,0,42,384,1458,0,80,360,1152,192,168,0,0,160 pow $0,2 mov $3,34 lpb $0,1 mov $2,$0 div $0,10 mod $2,10 ...
_rm: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 20 ...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
; Copyright Oliver Kowalke 2009. ; 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) ; ---------------------------------------------------------------------------------- ; | 0 | 1 ...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; ; ------ ; $Id: ozexitto.asm,v 1.2 2003/10/27 16:56:57 stefano Exp $ ; XLIB ozexitto LIB ozkeyclear LIB ozungetch2 XREF cleanup ;exit ozexitto: call ozkeyclear ...
//---------------------------------------------------------------------------- //Borland C++Builder //Copyright (c) 1987, 1998-2002 Borland International Inc. All Rights Reserved. //---------------------------------------------------------------------------- //-------------------------------------------------------...
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2015-2019, Lawrence Livermore National Security, LLC. // // Produced at the Lawrence Livermore National Laboratory // // LLNL-CODE-716457 // // All rights reserved. // // This file is part of Ascent. // // For details, see:...
;=============================================================================== ; Constants PlayerIdleLeftAnim = 5 PlayerIdleRightAnim = 0 PlayerJumpLeftAnim = 9 PlayerJumpRightAnim = 4 PlayerFrame = 1 PlayerHorizontalSpeed = 2 PlayerXMinHigh = 0 ; 0*256 + 28 = ...
OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' EXTERN OPENSSL_ia32cap_P:NEAR PUBLIC sha256_block_data_order ALIGN 16 sha256_block_data_order PROC PUBLIC mov QWORD PTR[8+rsp],rdi ;WIN64 prologue mov QWORD PTR[16+rsp],rsi mov rax,rsp $L$SEH_begin_sha256_block_data_order:: mov rdi,rcx mov rsi,rdx mov rdx,r8 ...
#include<iostream> using namespace std; int main() { string s; cin>>s; int counta, countb; counta = countb = 0; for (int i = 0; i < s.length(); i++) { if (s[i] == '-') { counta++; } else { countb++; } } if (countb <= 1) { cout << "YES" << endl; } else { cout <<(counta % count...
x\0
SECTION code_driver PUBLIC asm_adv_curs GLOBAL __mode GLOBAL __console_x GLOBAL __console_y GLOBAL asm_scroll INCLUDE "target/gb/def/gb_globals.def" asm_adv_curs: PUSH HL LD HL,__console_x ; X coo...
; --------------------------------------------------------------------------- ; Sprite mappings - SLZ platforms ; --------------------------------------------------------------------------- Map_Plat_SLZ_internal: dc.w @platform-Map_Plat_SLZ_internal @platform: dc.b 2 dc.b $F8, $F, 0, $21, $E0 dc.b $F8, $F, 0, $21...
; ; Z88 Small C+ Run Time Library ; Long library functions ; SECTION code_clib SECTION code_l_sccz80 PUBLIC l_long_ugt EXTERN l_long_ucmp l_long_ugt: ; PRIMARY > SECONDARY, carry set if true ; HL set to 0 (false) or 1 (true) ; dehl = secondary ; stack = primary, ret call l_long_uc...
;************************************************************* ; ; TINY BASIC FOR ZILOG Z80 ; VERSION 2.5g ; ; ORIGINAL v2.0 ; BY LI-CHEN WANG ; ; MODIFIED AND TRANSLATED ; TO INTEL MNEMONICS ; BY R...
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. Module Name: ConvSymKernelNeonDot.asm Abstract: This module implements the kernels for the symmetric quantized integer convolution operation. --*/ #include "kxarm64.h" #define MLAS_CONV_SYM_FLAG_INPUT...
LMDiamondK label byte word C_BLACK Bitmap <71,100,0,BMF_MONO> db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 db 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 db 0...
//================================================================================================= /*! // \file src/mathtest/operations/smatsmatmult/UCaUCb.cpp // \brief Source file for the UCaUCb sparse matrix/sparse matrix multiplication math test // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserve...
// RH_RF95.cpp // // Copyright (C) 2011 Mike McCauley // $Id: RH_RF95.cpp,v 1.19 2018/09/23 23:54:01 mikem Exp $ #include <RH_RF95.h> // Interrupt vectors for the 3 Arduino interrupt pins // Each interrupt can be handled by a different instance of RH_RF95, allowing you to have // 2 or more LORAs per Arduino RH_RF95* ...
Name: Pause-p.asm Type: file Size: 45691 Last-Modified: '1992-07-29T15:00:00Z' SHA-1: 2551DE977DA0715564E8835295DB1CAA14AB56E6 Description: null
; A108679: a(n) = (n+1)*(n+2)^2*(n+3)^2*(n+4)^2*(n+5)^2*(n+6)/86400. ; 1,21,196,1176,5292,19404,60984,169884,429429,1002001,2186184,4504864,8836464,16604784,30046752,52581816,89311761,147685461,238369516,376372920,582481900,885069900,1322357400,1945206900,2820550005,4035556161,5702666256,7965629056,11006694336,15055133...
#include <PCP/Curvature/GlobalEstimationData.h> #include <PCP/Common/Log.h> #include <fstream> namespace pcp { GlobalEstimationData::GlobalEstimationData(int size) : m_data(size) { } bool GlobalEstimationData::load(const std::string& filename) { this->clear(); std::ifstream ifs(filename); if(!ifs.is_op...
; A060605: a(n) = sum of lengths of the iteration sequences of Euler totient function from 1 to n. ; 1,3,6,9,13,16,20,24,28,32,37,41,46,50,55,60,66,70,75,80,85,90,96,101,107,112,117,122,128,133,139,145,151,157,163,168,174,179,185,191,198,203,209,215,221,227,234,240,246,252,259,265,272,277,284,290,296,302 mov $27,$0 mo...
#include <iostream> #include <sstream> #include <utility> #include <vector> class TablePrinter { private: static void output(std::ostream& out, std::string str); static void output_repeat(std::ostream& out, std::string str, int count); static void output_cell(std::ostream& out, std::string str, int width...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__placement_new_82_goodG2B.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__placement_new.label.xml Template File: sources-sinks-82_goodG2B.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSour...
/* * Copyright 2014-2021 Real Logic Limited. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
; ; Getsprite - Picks up a sprite from display with the given size ; by Stefano Bodrato - Jan 2001 ; Apr 2002 - Fixed. (Long time, I know...) ; ; The original putsprite code is by Patrick Davidson (TI 85) ; ; Generic version (just a bit slow) ; ; ; $Id: getsprite.asm,v 1.9 2016-07-02 09:01:35 dom Exp $ ; ...
; A250754: Number of (n+1) X (7+1) 0..2 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing x(i,j)+x(i-1,j) in the j direction. ; 527,1707,5471,17211,53327,163467,497471,1506651,4548527,13702827,41223071,123898491,372154127,1117379787,3353974271,10065592731,30204118127,90627034347,27191046307...
; A090809: Coefficient of the irreducible character of S_m indexed by (m-2n+2,2n-2) in the n-th Kronecker power of the representation indexed by (m-2,2). ; 0,0,2,10,31,75,155,287,490,786,1200,1760,2497,3445,4641,6125,7940,10132,12750,15846,19475,23695,28567,34155,40526,47750,55900,65052,75285,86681,99325,113305,128712,...
dnl AMD K7 mpn_add_n/mpn_sub_n -- mpn add or subtract. dnl Copyright 1999-2003 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 Lesser General Publi...
; ; ANSI Video handling for the Commodore 128 (Z80 mode) ; By Stefano Bodrato - 22/08/2001 ; ; CLS - Clear the screen ; ; ; $Id: f_ansi_cls.asm,v 1.4 2015/01/19 01:33:18 pauloscustodio Exp $ ; PUBLIC ansi_cls .ansi_cls ld hl,$2000 ; Text ld d,h ld e,l inc de ld bc,1023 ld (hl),32 ldir ld hl,$1000 ; Color ...
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_flixel_FlxG #include <flixel/FlxG.h> #endif #ifndef INCLUDED_flixel_math_FlxPoint #include <flixel/math/FlxPoint.h> #endif #ifndef INCLUDED_flixel_system_scaleMo...
0D00 06 05 0D02 DD 21 00 0E 0D06 97 0D07 DD 86 00 0D0A EA 20 0D 0D0D DD 23 0D0F 05 0D10 C2 07 0D 0D13 DF 5B 0D20 DF 6B 0D22 DF 5B 0E00 38 0E01 F9 0E02 4B 0E03 05 0E04 10
; ; Amstrad CPC library ; ; void __LIB__ __CALLEE__ cpc_SetInkGphStr(char *color, char *valor); ; ; $Id: cpc_SetInkGphStrM1_callee.asm $ ; SECTION code_clib PUBLIC cpc_SetInkGphStrM1_callee PUBLIC _cpc_SetInkGphStrM1_callee PUBLIC asm_cpc_SetInkGphStrM1 ...
// Fill out your copyright notice in the Description page of Project Settings. #include "ShooterGame.h" #include "EnvironmentQuery/Contexts/EnvQueryContext_Querier.h" #include "EnvironmentQuery/Items/EnvQueryItemType_VectorBase.h" #include "EnvironmentQuery/Tests/EnvQueryTest_Trace.h" #include "Bots/ShooterAICon...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %r8 push %r9 push %rdi lea addresses_normal_ht+0x189b4, %r9 nop nop nop nop nop xor $8800, %rdi movw $0x6162, (%r9) nop nop nop nop nop add %r11, %r11 lea addresses_D_ht+0xd360, %r15 and %r13, %r13 movl $0x61626364, (%r15) nop sub...
Route1_Script: jp EnableAutoTextBoxDrawing Route1_TextPointers: dw Route1Text1 dw Route1Text2 dw Route1Text3 Route1Text1: TX_ASM CheckAndSetEvent EVENT_GOT_POTION_SAMPLE jr nz, .asm_1cada ld hl, Route1ViridianMartSampleText call PrintText lb bc, POTION, 1 call GiveItem jr nc, .BagFull ld hl, Route1Text_1...
/* @flow */ // Copyright (c) 2012-2013 The PPCoin developers // Copyright (c) 2015-2019 The PIVX developers // Copyright (c) 2018-2019 The ZENZO developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assi...
; int ilogb(float x) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_ilogb EXTERN cm48_sdccix_ilogb_fastcall cm48_sdccix_ilogb: pop af pop hl pop de push de push hl push af jp cm48_sdccix_ilogb_fastcall
; A037951: binomial(n,[ (n-3)/2 ]). ; 0,0,0,1,1,5,6,21,28,84,120,330,495,1287,2002,5005,8008,19448,31824,75582,125970,293930,497420,1144066,1961256,4457400,7726160,17383860,30421755,67863915,119759850,265182525 mov $1,$0 div $0,2 add $0,2 bin $1,$0
;/******************************************************************************** ; File:boot.asm ; Description:Bootloader ; ;********************************************************************************/ [BITS 16] ORG 0x7C00 ;/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ; ; B...