text
stringlengths
1
1.05M
; void __FASTCALL__ sp1_RemoveCharStruct(struct sp1_cs *cs) ; 05.2007 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version XLIB sp1_RemoveCharStruct LIB SP1RemoveSprChar ; remove an independent char struct that may be ; inserted into a struct_sp1_update's draw list ; ; enter : hl = struct sp1_cs * ; uses : af, b...
; A114846: Numbers of the form p^p - p!, where p is a prime. ; Submitted by Christian Krause ; 2,21,3005,818503,285271753811,302868879571453,827239906198908668177,1978419534015213180291979,20880467973995895295470056270567,2567686153152369372568088512776472510483469,17069174130715013119956465106241589193164734431 seq $...
; A270257: Number of 2X2X2 triangular 0..n arrays with some element plus some adjacent element totalling n exactly once. ; 0,12,24,48,72,108,144,192,240,300,360,432,504,588,672,768,864,972,1080,1200,1320,1452,1584,1728,1872,2028,2184,2352,2520,2700,2880,3072,3264,3468,3672,3888,4104,4332,4560,4800,5040,5292,5544,5808,6...
; Small C+ Maths Routines ; ; transcendental floating point routines ; SECTION code_fp PUBLIC atan EXTERN evenpol EXTERN hlsub EXTERN odd EXTERN sgn EXTERN fdiv EXTERN dload EXTERN fa PUBLIC __halfpi PUBLIC __pi ;double atan(double val) ...
; A020768: Decimal expansion of 1/sqrt(11). ; Submitted by Jamie Morken(s4) ; 3,0,1,5,1,1,3,4,4,5,7,7,7,6,3,6,2,2,6,4,6,8,1,2,0,6,6,9,7,0,0,6,2,4,2,5,8,1,1,5,5,3,5,0,4,1,4,4,4,8,6,6,9,0,6,4,1,6,9,8,3,7,6,9,1,9,6,8,0,4,2,2,0,5,5,3,6,7,6,2,2,4,2,8,0,7,6,6,7,2,6,4,8,0,2,6,4,2,2,8 mov $1,1 mov $2,1 mov $3,$0 add $3,8 mov ...
; A293615: a(n) = Pochhammer(n, 5) / 2. ; 0,60,360,1260,3360,7560,15120,27720,47520,77220,120120,180180,262080,371280,514080,697680,930240,1220940,1580040,2018940,2550240,3187800,3946800,4843800,5896800,7125300,8550360,10194660,12082560,14240160,16695360,19477920,22619520,26153820,30116520,34545420,39480480,44963880,51...
; 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,4,16,7,9,17,11,6,5,1,4,16,7,9,17,11,6,5,1,4,16,7,9,17,1...
; A133496: a(n) = (29*n)^2. ; 0,841,3364,7569,13456,21025,30276,41209,53824,68121,84100,101761,121104,142129,164836,189225,215296,243049,272484,303601,336400,370881,407044,444889,484416,525625,568516,613089,659344,707281,756900,808201,861184,915849,972196,1030225,1089936,1151329,1214404,1279161,1345600,1413721,1483524,...
/* * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * 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...
test: int 0 ; will generate division by zero exception/panic jmp $
; A087420: a(n) is the sum of the squares of the sizes of the conjugacy classes in the dihedral group D_2n. ; 2,4,14,14,34,28,62,46,98,68,142,94,194,124,254,158,322,196,398,238,482,284,574,334,674,388,782,446,898,508,1022,574,1154,644,1294,718,1442,796,1598,878,1762,964,1934,1054,2114,1148,2302,1246,2498,1348,2702,1454...
// Copyright (c) 2011 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 "base/files/file_path_watcher.h" #include "base/bind.h" #include "base/files/file.h" #include "base/files/file_path.h" #include "base/files/...
; CONFIGURATION {{{ cm_main_goto_config: %cm_submenu("Configuration", cm_submenu_config) cm_submenu_config: dw cm_gameplay_rerandomize dw cm_config_music dw cm_config_autoload_preset dw cm_config_preset_category dw cm_config_hud_font dw !menu_end %cm_header("CONFIGURATION") cm_gameplay_rerandomize: %cm_toggl...
ADDI $t0, $zero, 0x9 ADDI $t1, $zero, 0x9 MULT $t0, $t1 DIV $t0, $t1 MULT $t0, $t1 MFHI $t0
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
add $sp, $zero, $imm, 1500 #set $sp to random place to start stack add $sp, $sp, $imm, -4 #make place for 4 variables sw $s0, $sp, $imm, 0 # save $s0 sw $s1, $sp, $imm, 1 # save $s1 sw $s2, $sp, $imm, 2 # save $s2 sw $a0, $sp, $imm, 3 #save $a0 add $t3, $zero, $imm, -1 #init $t3 =0 = hitwall add $s...
.nds .relativeinclude on .erroronwarning on .open "ftc/overlay9_19", 021FFDE0h .org 0x022130E8 ; Code run for the intro logos. push r1, r14 mov r0, 1h ldr r1, =021075F1h strb r0, [r1] ; Set this to 1 (loading a save) so equipment stays equipped. ; Load the save file. mov r0, 0h ; Save file 0. ldr r1, =0...
; A086594: a(n) = 8*a(n-1) + a(n-2), starting with a(0)=2 and a(1)=8. ; Submitted by Jon Maiga ; 2,8,66,536,4354,35368,287298,2333752,18957314,153992264,1250895426,10161155672,82540140802,670482282088,5446398397506,44241669462136,359379754094594,2919279702218888,23713617371845698,192628218676984472,1564739366787721474,...
; A165797: a(n) = n^( sigma(n) - tau(n) ). ; Submitted by Christian Krause ; 1,2,9,256,625,1679616,117649,8589934592,3486784401,100000000000000,25937424601,552061438912436417593344,23298085122481,83668255425284801560576,332525673007965087890625,20282409603651670423947251286016,48661191875666868481,265456074833292280954...
/* * VueceAACDecoder.cc * * Created on: Nov 1, 2014 * Author: jingjing */ //Note - Must use extern "C" here otherwise you will get 'undefined reference' errors extern "C" { #include "libavformat/avformat.h" #include "libavutil/log.h" #include "libavcodec/avcodec.h" #include "libavutil/mem.h" } #include "...
; ; Copyright(c) 2019 Intel Corporation ; SPDX - License - Identifier: BSD - 2 - Clause - Patent ; %include "x64inc.asm" %include "x64Macro.asm" section .text ; ---------------------------------------------------------------------------------------- cglobal _picture_copy_kernel_sse2 cglobal picture_copy_kernel_sse2...
//===-- StopInfo.cpp ------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios LLC. 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 t...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ZX_01_OUTPUT_CHAR_32_TTY_Z88DK ; implemented tty_z88dk terminal emulation ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Windowed output terminal for fixed width fonts. ; Implements tty_z88dk terminal emulation. ; ; ;;;;;;;;;;;;;;;;...
/*========================================================================= Program: Visualization Toolkit Module: vtkSSAAPass.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is d...
; name: print_string ; desc: Prints a string terminated by 0x00 ; input: ; si: pointer to string ; output: ; none print_string: pusha .loop: lodsb cmp al, 0 je .end call print_char jmp .loop .end: popa ret read_key: push bx mov bh, ah mov ah,0x00 int 0x16 mov ah, bh pop bx ; name: print_ch...
; A104099: n * (10n^2 - 6n + 1), or n*A087348(n). ; 0,5,58,219,548,1105,1950,3143,4744,6813,9410,12595,16428,20969,26278,32415,39440,47413,56394,66443,77620,89985,103598,118519,134808,152525,171730,192483,214844,238873,264630,292175,321568,352869,386138,421435 mov $2,$0 mul $0,4 add $0,$2 mov $1,$0 bin $0,3 mul $0,12 ...
; A037582: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3. ; 1,13,131,1313,13131,131313,1313131,13131313,131313131,1313131313,13131313131,131313131313,1313131313131,13131313131313,131313131313131,1313131313131313,13131313131313131,131313131313131313,131313131313...
; A066266: Product of first n primorials + 1. ; Submitted by Jon Maiga ; 3,13,361,75601,174636001,5244319080001,2677277333530800001,25968760179275365452000001,5793445238736255798985527240000001,37481813439427687898244906452608585200000001,7517370874372838151564668004911177464757864076000000001,5578444072096851381336800...
; reloads text box tile patterns, current map view, and tileset tile patterns ReloadMapData:: ldh a, [hLoadedROMBank] push af ld a, [wCurMap] call SwitchToMapRomBank call DisableLCD call LoadTextBoxTilePatterns call LoadCurrentMapView call LoadTilesetTilePatternData call EnableLCD pop af ldh [hLoadedROMBank]...
bits 64 VGATHERQPS xmm1, [xmm0 + rsi], xmm2 ; OK VGATHERQPS xmm1, [ymm0 + rsi], xmm2 ; fail: error: invalid effective address VGATHERDPD ymm1, [xmm0 + rsi], ymm2 ; OK VGATHERDPD xmm1, [xmm0 + rsi], xmm2 ; OK VGATHERQPD xmm1, [xmm0 + rsi], xmm2 ; OK VGATHERQPD ymm1, [ymm0 + rsi], ymm2 ; OK VPGATHERQD ...
; A104234: Number of k >= 1 such that k+n == 0 mod 2^k. ; Submitted by Christian Krause ; 0,1,1,1,0,2,1,1,0,1,1,1,1,2,1,1,0,1,1,1,0,2,1,1,0,1,1,2,1,2,1,1,0,1,1,1,0,2,1,1,0,1,1,1,1,2,1,1,0,1,1,1,0,2,1,1,0,1,2,2,1,2,1,1,0,1,1,1,0,2,1,1,0,1,1,1,1,2,1,1,0,1,1,1,0,2,1,1,0,1,1,2,1,2,1,1,0,1,1,1 add $0,1 mov $2,$0 mov $4,1 l...
dnl ARM mpn_cnd_add_n, mpn_cnd_sub_n dnl Copyright 2012, 2013 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 Public License as publ...
; A062112: a(0)=0; a(1)=1; a(n) = a(n-1) + (3 + (-1)^n)*a(n-2)/2. ; Submitted by Jamie Morken(s2) ; 0,1,1,2,4,6,14,20,48,68,164,232,560,792,1912,2704,6528,9232,22288,31520,76096,107616,259808,367424,887040,1254464,3028544,4283008,10340096,14623104,35303296,49926400,120532992,170459392,411525376,581984768,1405035520,198...
#include "./managed.hpp" #include "../fixed.hpp" using namespace GS_DDMRM::S_system::S_allocator::S_chunk; GC_managed::GC_managed( T_allocator *P_allocator, T_ptr P_ptr ) : T_simple( P_ptr ) , M2_allocator( P_allocator ) { if( nullptr != M2_allocator ) { // TODO if( false == M2_allocator->F_che...
; A037778: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,1,0,2. ; Submitted by Jon Maiga ; 3,31,310,3102,31023,310231,3102310,31023102,310231023,3102310231,31023102310,310231023102,3102310231023,31023102310231,310231023102310,3102310231023102,31023102310231023,31...
/** @file MovingAverageTest.cpp * * Copyright (c) 2019 IACE */ #define BOOST_TEST_MODULE MovingAverageTest #include "MovingAverage.h" #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_CASE( ConstValueTest ) { const int LEN = 5; MovingAverage<int, LEN> myMovingAverage; for (unsigned int i = 0; i < ...
; ; Z88 Small C+ Run Time Library ; Long support functions ; ; ; aralbrec 01/2007 ; sped up some more ; ; djm 25/2/99 ; Rewritten for size and speed (untested, but should be OK) ; ; djm 22/3/99 Unsigned version PUBLIC l_long_asr_u ; Shift primary (on stack) right by secon...
; DV3 java HD format 1.01 @ W. Lenerz 2020 ; ; 2020-04-08 1.01 Changed for new ddf_mname definition (length word) (wl) ; based on ; DV3 QXL Floppy Disk Format (actually HD format)  1993 Tony Tebby section dv3 xdef hd_mformat xref hd_hold xref hd_release xref hd_fchk xref dv3_slen xref gu_achp0 xr...
; A113646: a(n) is the smallest composite integer which is >= n. ; 4,4,4,4,6,6,8,8,9,10,12,12,14,14,15,16,18,18,20,20,21,22,24,24,25,26,27,28,30,30,32,32,33,34,35,36,38,38,39,40,42,42,44,44,45,46,48,48,49,50,51,52,54,54,55,56,57,58,60,60,62,62,63,64,65,66,68,68,69,70,72,72,74,74,75,76,77,78,80,80,81,82,84,84,85,86,87,8...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x2977, %rsi nop nop nop nop and $40464, %rdx mov (%rsi), %r15 nop sub %r9, %r9 lea addresses_normal_ht+0x9837, %rbp nop nop add %r8, %r8 vmovups (%rbp), %ymm6 vextracti128 $0, %...
.size 8000 .text@60 pop af ldff a, (80) inc a ldff(80), a ei jp lprint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld b, 90 call lwaitly_b xor a, a ldff(40), a ld bc, 7a00 ld hl, 8000 ld d, 00 lbegin_copytiles: ld a, (bc) inc bc ld(hl++), a dec d jrnz lbegin_copytiles xor a, a ld(9800),...
/* stuff needed for libgcc on win32. * * Copyright (C) 1996, 1998, 2001, 2003 Free Software Foundation, Inc. * Written By Steve Chamberlain * * This file is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundat...
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1994. // // File: stalloc.cxx // // Contents: CStackAllocator // // History: 29-Sep-94 DrewB Created // // Notes: Loosely based on BobDay's original...
.gba .create "output.bin",0 .arm // Test message too long (> 120) .msg "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901" // Test non-ASCII characters .msg "é" .thumb // Test message too long (> 120) .msg "123456789012345678901234567890123456...
; A320877: a(n) = 1 + Sum_{k=1..n} 2^prime(k). ; 1,5,13,45,173,2221,10413,141485,665773,9054381,545925293,2693408941,140132362413,2339155617965,11135248640173,151872736995501,9159071991736493,585619824295159981,2891462833508853933,150465415423185266861,2511648656858007873709,11956381622597298301101 mov $1,$0 bin $1,$0...
; A174889: First column of A174888. ; 1,0,0,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,0,0,1,1,1,1,1,0,1,1,1,0,0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,0,1,1,1,1 mov $1,1 cal $0,8683 ; Möbius (or Moebius) function mu(n). mu(1) = 1; mu(n) = (-1)^k if n is the product of k different primes;...
%ifdef CONFIG { "RegData": { "RAX": "0x4142434445464748", "RDX": "0x0", "RDI": "0xE0000018", "RSI": "0xE0000008" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax ...
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "UMGEditorPrivatePCH.h" #include "SPaletteView.h" #include "UMGEditorActions.h" #include "PreviewScene.h" #include "SceneViewport.h" #include "BlueprintEditor.h" #include "DecoratedDragDropOp.h" #include "WidgetTemplateDragDropOp.h" #include "W...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xbc01, %rax nop sub %r13, %r13 movw $0x6162, (%rax) nop nop nop xor %r8, %r8 lea addresses_WC_ht+0x2b52, %rsi lea addresses_normal_ht+0x1d3e1, %rdi nop nop nop and %r12, %...
data segment welcome db "********************************************************** ",13,10 db "** _ _ _ _ _____ __ __ _ _ ** ",13,10 db "** | | | | /\ | \ | |/ ____| \/ | /\ | \ | | ** +-------+ ",13,10 d...
nolist org &a000 run &a000 write direct "a:disc.bin" ; check system memory ld hl,&4000 xor a ld (hl),a ; now do bank switch ld bc,&7fc7 out (c),c inc a ld (hl),a ld bc,&7fc0 out (c),c ld a,(hl) or a jp nz,AbortLoading ; ld hl,(&be7d) ld a,(hl) ld (drive+1),a ...
; Assembly for testfor3-bytecode.bas ; compiled with mcbasic ; 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 console ; ...
_Route8BattleText1:: text "You look good at" line "#MON, but" cont "how's your chem?" done _Route8EndBattleText1:: text "Ow!" line "Meltdown!" prompt _Route8AfterBattleText1:: text "I am better at" line "school than this!" done _Route8BattleText2:: text "All right! Let's" line "roll the dice!" done _Ro...
; A348327: Characteristic function of numbers that have no middle divisors. ; Submitted by Jon Maiga ; 0,0,1,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,1,1,1,0,0,1,1,0,1,0,1,0,1,1,0,0,1,1,1,0,1,0,1,1,0,1,1,0,0,0,1,1,1,0,1,0,1,1,1,0,1,1,0,0,1,0,1,1,1,0,1,0,1,1,1,1,0,1,1,0,0,1,1,0,1,1,1,0,1,0,0,1,1,1,1,0,1,0,0,0 seq $0,347266 ; ...
/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/execution_environment/execution_environment.h" #include "shared/source/helpers/aligned_memory.h" #include "shared/source/helpers/basic_math.h" #include "shared/source/memory_manager/memory_manager.h" #incl...
#include "renderer.h" #include "vector_math.cuh" #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable: 4996) #endif #include <boost/gil/image.hpp> #include <boost/gil/image_view.hpp> #include <boost/gil/extension/io/bmp.hpp> #ifdef _MSC_VER #pragma warning(pop) #endif #include <chrono> #include <iostream>...
.pushaddr .addr =MapperTable+4*2 .data16 _Mapper4__Main .addr =Mapper_Memory Mapper4_BankSelect: .fill 1 Mapper4_BankValues: // 2 bytes per bank; [0] = current bank, [1] = non-zero when changed at least once .fill 12 Mapper4_IRQ_Latch: .fill 1 Mapper4_IRQ_Line: .fill 1 Mapper4_IRQ_Enabled: .fill 1 ...
******************************************************************************** * Draw an interlaced image to data area * !!! IRQ should be disabled !!! * * input REG : [x] image data address ******************************************************************************** DrawFullscreenInterlacedEvenImage ...
%include "include/u7si-all-includes.asm" %include "../u7-common/patch-eop-displayVersion.asm"
VIDMEM equ 0xB8000 White_on_Black equ 0x0F VDriver: .X: dd 0x00 ; Characters X .Y: dd 0x00 ; Characters Y .N: dd 0x00 ; Characters # (X + Y*80) .W: dd 0x50 ; Screen width .H: dd 0x18 ; Screen height .printChr: pusha mov ax, bx push edi ...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L ; ; See "bifrost_h.h" for further details ; ---------------------------------------------------------------- ; unsigned char *BIFROSTH_findAttrH(unsigned int lin,unsigned int col) SECTI...
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2021 Metrological * * 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 ...
#pragma once #include <array.hpp> #include <type.hpp> #include <tuple.hpp> #include <core/arch.hpp> namespace eospp::core { struct IDT_FLAGS { estd::uint8_t TYPE : 4; estd::uint8_t ZERO : 1; estd::uint8_t DPL : 2; estd::uint8_t PRESENT : 1; } __attribute__((packed)); static_assert(sizeof(IDT...
// -*- C++ -*- // // $Id$ #include "RepoIdSet.h" #include "EntryExit.h" ACE_INLINE TAO::DCPS::RepoIdSetMap::RepoIdSetMap() { DBG_ENTRY("RepoIdSetMap","RepoIdSetMap"); } ACE_INLINE TAO::DCPS::RepoIdSet* TAO::DCPS::RepoIdSetMap::find(RepoId key) { DBG_ENTRY("RepoIdSetMap","find"); RepoIdSet_rch value; if (t...
; ; ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2019 Broadcom Inc. All rights reserved. ; ; This example is used for showing the serial EGPHY LEDs on ; bcm956174r on option 11b. ; ; To start it, use the follo...
; ; Copyright (c) 2010 The VP8 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 projec...
/* GNU/Linux/AArch64 specific low level interface, for the remote server for GDB. Copyright (C) 2009-2020 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Publi...
/* Copyright 2019 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...
; ; jidctred.asm - reduced-size IDCT (MMX) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assembled...
org $5200 import '../lib/barden_fill.asm' import 'dist_to_hh.asm' import 'screen.asm' import 'step_dist.asm' import 'timer.asm' ; _ _ _ _ _____ ;| | | | | | | | |_ _| ;| |_| | __ _ _ _ _ __ | |_ ___ __| | | | _____ _____ _ __ ;| _ |/ _` | | | | '...
stack push 1 push 2 stack push 3 stack pop stack push 5 stack pop pop push 6 stack pop pop stack
@loop1 mov r2, 0 @loop2 mov r3, r1 band r3, r2 cge r3, 1 mov r3, .* cmov r3, 32 out r3 clt r2, 63 cadd r2, 1 cjn %loop2 out 10 clt r1, 63 cadd r1, 1 cjn %loop1
; A336627: Coordination sequence for the Manhattan lattice. ; 1,2,4,8,11,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224 mov $2,$0 sub $0,1 lpb $2 add $0,$2 mov $1,$0 add...
; A244049: Sum of all proper divisors of all positive integers <= n. ; 0,0,0,2,2,7,7,13,16,23,23,38,38,47,55,69,69,89,89,110,120,133,133,168,173,188,200,227,227,268,268,298,312,331,343,397,397,418,434,483,483,536,536,575,607,632,632,707,714,756,776,821,821,886,902 lpb $0,1 add $3,1 lpb $2,1 add $1,$3 trn $...
#include "lib.h" //## BUG: ALL THE *_obj_mem_size RETURN A 64-BIT INTEGER, BUT //## I THINK THEY'RE DOING THEIR CALCULATION IN 32-BIT ARITHMETIC uint64 seq_obj_mem_size(uint64 capacity) { assert(capacity > 0); return sizeof(SEQ_OBJ) + (capacity - 1) * sizeof(OBJ); } uint64 uint8_seq_obj_mem_size(uint64 capacity...
GLOBAL _cli GLOBAL _sti GLOBAL picMasterMask GLOBAL picSlaveMask GLOBAL haltcpu GLOBAL _hlt GLOBAL _exception0Handler GLOBAL _exception6Handler GLOBAL _irq00Handler GLOBAL _irq01Handler GLOBAL _irq02Handler GLOBAL _irq03Handler GLOBAL _irq04Handler GLOBAL _irq05Handler GLOBAL getStackPointer GLOBAL _syscallHandler ...
SECTION code_sound_bit PUBLIC _bitfx_4 INCLUDE "clib_target_cfg.asm" _bitfx_4: ; Our old squelch... ld b,0 zap1_1: push bc xor __sound_bit_toggle INCLUDE "sound/bit/z80/output_bit_device_2.inc" zap1_2: nop nop djnz zap1_2 pop bc djnz zap1_1 ret
#include <nano/lib/jsonconfig.hpp> #include <nano/node/vote_processor.hpp> #include <nano/test_common/system.hpp> #include <nano/test_common/testutil.hpp> #include <gtest/gtest.h> using namespace std::chrono_literals; TEST (vote_processor, codes) { nano::system system (1); auto & node (*system.nodes[0]); nano::ke...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 90 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %13 %77 OpExecutionMode %4 Orig...
; QXL_KBD.ASM Keyboard server and setup ; 2006.10.01 1.01 uses 32 bits transfer,"turn off typematic" function suppressed , optimised qxl_kbd_setup: ASSUME ds:DGROUP ASSUME es:DGROUP mov cx, OFFSET qxl_kbd_server mov bp, OFFSET qxl_kbd_servend-4 mov si, OFFSET int_kbdi call qxl_setvc ;...
; A054489: Expansion of (1+4*x)/(1-6*x+x^2). ; 1,10,59,344,2005,11686,68111,396980,2313769,13485634,78600035,458114576,2670087421,15562409950,90704372279,528663823724,3081278570065,17959007596666,104672767009931,610077594462920,3555792799767589,20724679204142614,120792282425088095,704029015346385956,4103381809653227641...
SECTION code_fp_math16 PUBLIC ___uint2h_callee PUBLIC _f16_u16_fastcall EXTERN cm16_sdcc___uint2h_callee EXTERN cm16_sdcc___uint2h_fastcall defc ___uint2h_callee = cm16_sdcc___uint2h_callee defc _f16_u16_fastcall = cm16_sdcc___uint2h_fastcall
; mem_file struct: ; !set mem_file_struct_start = $00 ; start ptr 2 bytes !set mem_file_struct_current = mem_file_struct_start + ptr_sizeof ; current ptr 2 bytes !set mem_file_struct_end = mem_file_struct_current + ptr_sizeof ; end ptr 2 bytes !set mem_file_struct_length = mem_file_struct_current + ptr_sizeof ; len...
#include <QApplication> #include "guiutil.h" #include "bitcoinaddressvalidator.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "util.h" #include "init.h" #include <QDateTime> #include <QDoubleValidator> #include <QFont> #include <QLineEdit> #if QT_VERSION >= 0x050000 #include <QUrlQuery> #else #inclu...
/** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #pragma once #include "thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/ParamService.h" #include <thrift/lib/cpp2/gen/service_tcc.h> namespace some { namespace valid { namespace ns { typedef a...
; A091001: Number of walks of length n between adjacent nodes on the Petersen graph. ; 0,1,0,5,4,33,56,253,588,2105,5632,18261,52052,161617,473928,1443629,4287196,12948969,38672144,116365957,348398820,1046594561,3136987480,9416554845,28238479724,84737808793,254168687136,762595539893,2287607662708,6863180902065,20588826...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
; A332206: Numbers k such that A332205(k) = 0. ; 0,1,3,4,12,13,15,16,48,49,51,52,60,61,63,64,192,193,195,196,204,205,207,208,240,241,243,244,252,253,255,256,768,769,771,772,780,781,783,784,816,817,819,820,828,829,831,832,960,961,963,964,972,973,975,976 seq $0,98871 ; Sums of distinct powers of 4 plus 1. mul $0,12 div ...
; FV-1 Testing ; ; Program: Read reg 0x08 ; ; POT0: Test Value ; ; Check read register 0x08 ; skp RUN,main wlds SIN0,0x03f,0x7fff ; SIN0 wlds SIN1,0x07f,0x7fff ; SIN1 wldr RMP0,0x2000,4096 ; RMP0 wldr RMP0,0x4000,4096 ; RMP1 main: clr rdax 0x08,1.0 ; load reg 0x08 wrax DACL,0.0 ; write to DACL cho sof,SIN0,...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 96 call lwaitly_b ld a, 80 ldff(68), a ld a, ff ld c, 69 ldff(c), a ldff(c), a ldff(c), a ldff(c), a ldff(c), a...
; A271027: a(n) = 3661529 + 11184810*n. ; 3661529,14846339,26031149,37215959,48400769,59585579,70770389,81955199,93140009,104324819,115509629,126694439,137879249,149064059,160248869,171433679,182618489,193803299,204988109,216172919,227357729,238542539,249727349,260912159,272096969,283281779,294466589 mul $0,11184810 a...
#include "engine.h" VAR(importcuberemip, 0, 1024, 2048); struct cubeloader { enum { DEFAULT_LIQUID = 1, DEFAULT_WALL, DEFAULT_FLOOR, DEFAULT_CEIL }; enum // block types, order matters! { C_SOLID = 0, // entirely...
//================================================================================================= /*! // \file src/mathtest/dmatsmatschur/LDbMIa.cpp // \brief Source file for the LDbMIa dense matrix/sparse matrix Schur product math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This fil...
#ifndef liborangepower_containers_vec3_classes_hpp #define liborangepower_containers_vec3_classes_hpp #include "../gen_class_innards_defines.hpp" #include "vec2_classes.hpp" namespace liborangepower { namespace containers { template<typename Type> class Vec3 { public: // variables Type x, y, z; public: // functi...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 include listing.inc INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC __local_stdio_printf_options PUBLIC _vfprintf_l PUBLIC printf PUBLIC func PUBLIC main EXTRN __imp___acrt_iob_func:PROC EXTRN __imp___stdio_common_vfprintf:PROC...
db DEX_JIGGLYPUFF ; pokedex id db 115, 45, 20, 20, 25 ; hp atk def spd spc db SOUND, SOUND ; type db 170 ; catch rate db 76 ; base exp INCBIN "gfx/pokemon/front/jigglypuff.pic", 0, 1 ; sprite dimensions dw JigglypuffPicFront, JigglypuffPicBack db SING, NO_MOVE, NO_MOVE, NO_MOVE ; level 1 learnset...
; A152835: a(0) = -22; a(n) = n-a(n-1). ; Submitted by Jamie Morken(s2.) ; -22,23,-21,24,-20,25,-19,26,-18,27,-17,28,-16,29,-15,30,-14,31,-13,32,-12,33,-11,34,-10,35,-9,36,-8,37,-7,38,-6,39,-5,40,-4,41,-3,42,-2,43,-1,44,0,45,1,46,2,47,3,48,4,49,5,50,6,51,7,52,8,53,9,54,10,55,11,56,12,57,13,58,14,59,15,60,16,61,17,62,18...
; $Id: bs3-mode-PagingGetRootForLM64.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; BS3Kit - Bs3PagingGetRootForLM64 ; ; ; Copyright (C) 2007-2017 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...
/* libgcc routines for M68HC11 & M68HC12. Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version...