text
stringlengths
1
1.05M
cm_nmg_submenu_presets: dw cm_nmg_presets_goto_escape dw cm_nmg_presets_goto_eastern dw cm_nmg_presets_goto_desert dw cm_nmg_presets_goto_hera dw cm_nmg_presets_goto_atower dw cm_nmg_presets_goto_pod dw cm_nmg_presets_goto_thieves dw cm_nmg_presets_goto_skull dw cm_nmg_presets_goto_ice dw cm_nmg_presets_goto_...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2017-2018 The PreSaleCoinStore developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "compressor.h" #i...
; A077444: Numbers k such that (k^2 + 4)/2 is a square. ; Submitted by Christian Krause ; 2,14,82,478,2786,16238,94642,551614,3215042,18738638,109216786,636562078,3710155682,21624372014,126036076402,734592086398,4281516441986,24954506565518,145445522951122,847718631141214,4940866263896162,28797478952235758,167844007449...
cpz #{c1} bcc {la1}
// Copyright 2018 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/message_loop/message_loop.h" #include <utility> #include "base/bind.h" #include "base/logging.h" #include "base/memory/ptr_util.h" #inclu...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm 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/li...
db DEX_PONYTA ; pokedex id db 50 ; base hp db 85 ; base attack db 55 ; base defense db 90 ; base speed db 65 ; base special db FIRE ; species type 1 db FIRE ; species type 2 db 80 ; catch rate db 152 ; base exp yield INCBIN "pic/ymon/ponyta.pic",0,1 ; 66, sprite dimensions dw PonytaPicFront dw PonytaPicBack ; attacks k...
; A346396: E.g.f.: -log(1 - x) * exp(4*x). ; Submitted by Jon Maiga ; 0,1,9,62,390,2384,14680,93680,635824,4697664,38442112,351331584,3582715136,40476303360,501863078912,6767130867712,98464775493632,1536203429306368,25564684461735936,451816479967608832,8448863295040978944,166627401783086415872,3455980532191764676608 m...
; BEGIN_LEGAL ; Intel Open Source License ; ; Copyright (c) 2002-2017 Intel Corporation. All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are ; met: ; ; Redistributions of source code must retain the ab...
; ; VOS kernel ; Copyright 2018 Michal Harasimowicz ; [bits 32] SECTION .text global idt_flush global keyboard_handler extern keyboard_handler_main idt_flush: mov edx, [esp + 4] ;reading idt pointer from stack lidt [edx] sti ;turn on interrupts ret keyboard_handler: call keyboard_ha...
; A014417: Representation of n in base of Fibonacci numbers (the Zeckendorf representation of n). Also, binary words starting with 1 not containing 11, with the word 0 added. ; Submitted by Jamie Morken(s4) ; 0,1,10,100,101,1000,1001,1010,10000,10001,10010,10100,10101,100000,100001,100010,100100,100101,101000,101001,10...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r9 push %rax push %rbx lea addresses_WC_ht+0xb989, %r9 nop nop nop nop sub %rbx, %rbx mov $0x6162636465666768, %r10 movq %r10, %xmm5 vmovups %ymm5, (%r9) nop nop and $39790, %r14 lea addresses_WT_ht+0x133ad, %r14 cmp $17038, %rax mov (%r14...
[bits 32] ; Define some constants VIDEO_MEMORY equ 0xb8000 WHITE_ON_BLACK equ 0x0f ; prints a null-terminated string pointed to by EDX print_string: pusha mov edx, VIDEO_MEMORY ; Set edx to the start of vid mem. .loop: mov al, [ebx] ; Store the char at EBX in AL mov ah, WHITE_ON_BLACK ;...
; ============================================================================= ; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems ; Copyright (C) 2008-2016 Return Infinity -- see LICENSE.TXT ; ; Screen Output Functions ; ============================================================================= ; -...
; A210434: Number of digits in 4^n. ; 1,1,2,2,3,4,4,5,5,6,7,7,8,8,9,10,10,11,11,12,13,13,14,14,15,16,16,17,17,18,19,19,20,20,21,22,22,23,23,24,25,25,26,26,27,28,28,29,29,30,31,31,32,32,33,34,34,35,35,36,37,37,38,38,39,40,40,41,41,42,43,43,44,44,45,46,46,47,47,48,49,49,50,50,51,52,52,53,53,54,55,55,56,56,57,58,58,59,60,...
[BITS 32] [global show_msg_] [extern e_main] jmp start _PAGEDIR equ 0x00001000 _PAGES equ 0x00100000 INT_DESC_TABLE equ 0x00002000 GLOBAL_DESC_TABLE equ 0x00003000 _idt: dw 0x0800 dw 0x2000 dw 0x0000 start: mov ax,0x10 mov ds,ax mov es,ax mov ss,ax set_page_dir: mov esi,0 mov eax,0 s1: mov ebx,_PAGE...
; A033571: a(n) = (2*n + 1)*(5*n + 1). ; 1,18,55,112,189,286,403,540,697,874,1071,1288,1525,1782,2059,2356,2673,3010,3367,3744,4141,4558,4995,5452,5929,6426,6943,7480,8037,8614,9211,9828,10465,11122,11799,12496,13213,13950,14707,15484,16281,17098,17935,18792,19669,20566,21483,22420,23377,24354,25351,26368,27405,28462,2...
; Copyright (C) Teemu Suutari %macro GL_LIBCALL 1 LIBCALL %1 %ifdef DEBUG_BUILD pushad LIBCALL _glGetError test eax,eax jz short %%gl_no_error pushad mov edi,eax LIBCALL _gluErrorString %defstr %%glfunc %1 DEBUG {%%glfunc," failed (%s)"},eax popad %%gl_no_error: popad %endif %endm %macro GL_LIBCALL_NOSTACK...
add 0x082
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Security.Cryptography.HMAC #...
; A254006: a(0) = 1, a(n) = 3*a(n-2) if n mod 2 = 0, otherwise a(n) = 0. ; 1,0,3,0,9,0,27,0,81,0,243,0,729,0,2187,0,6561,0,19683,0,59049,0,177147,0,531441,0,1594323,0,4782969,0,14348907,0,43046721,0,129140163,0,387420489,0,1162261467,0,3486784401,0,10460353203,0,31381059609,0,94143178827,0,282429536481,0,847288609443,0...
; A015536: Expansion of x/(1-5*x-3*x^2). ; 0,1,5,28,155,859,4760,26377,146165,809956,4488275,24871243,137821040,763718929,4232057765,23451445612,129953401355,720121343611,3990466922120,22112698641433,122534893973525,679012565791924,3762667510880195,20850375251776747 mov $2,$0 mov $3,1 lpb $2,1 mov $0,$3 mul $0,3 ...
// Copyright (c) 2020 fortiss GmbH // // Authors: Julian Bernhard, Klemens Esterle, Patrick Hart and // Tobias Kessler // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "bark/world/prediction/prediction_settings.hpp" #include "bark/models...
; A071586: Powers of 8 written backwards. ; Submitted by Jamie Morken(s4) ; 1,8,46,215,6904,86723,441262,2517902,61277761,827712431,4281473701,2954399858,63767491786,888318557945,4011156408934,23888027348153,656017679474182,8425863189971522,48918490589341081,278558570881511441 mov $4,$0 mov $0,8 pow $0,$4 lpb $0 mov...
#include <stdio.h> class bottomBase { int baseData; public: virtual int getBaseData() const; }; class baseA : public virtual bottomBase { int dataA; public: void setDataA(int a); virtual int getDataA() const; }; class baseB : public virtual bottomBase { int dataB; public: void setDa...
BITS 32 start: pop ES
// CtrlEnumCombo.cpp : implementation file // #include "stdafx.h" #include "CtrlEnumCombo.h" #ifdef _DEBUG #undef new #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CCtrlEnumCombo CCtrlEnumCombo::CCtr...
; A037483: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,2. ; 1,8,49,296,1777,10664,63985,383912,2303473,13820840,82925041,497550248,2985301489,17911808936,107470853617,644825121704,3868950730225,23213704381352,139282226288113,835693357728680,5014160146372081 mov $1,6 mo...
.file "stringD.c" .intel_syntax noprefix .text .globl _countA .def _countA; .scl 2; .type 32; .endef _countA: LFB0: .cfi_startproc push ebp .cfi_def_cfa_offset 8 .cfi_offset 5, -8 mov ebp, esp .cfi_def_cfa_register 5 sub esp, 16 mov DWORD PTR [ebp-4], 0 mov DWORD PTR [ebp-8], 0 jmp L2 L5: mov edx, DWORD...
INCLUDE "src/include/macros.inc" SECTION "Header", ROM0[$100] nop jp EntryPoint DS $150 - @, 0 SECTION "Entry point", ROM0 EntryPoint: call HbOwlSplashScreen call CopyDMARoutine ei vBlankInit jp TitleScreen
; === audio_macros.asm ; Macros and constants for the Gen I sound engine. ; Ripped directly from pokeyellow disassembly. Ch0 EQU 0 Ch1 EQU 1 Ch2 EQU 2 Ch3 EQU 3 Ch4 EQU 4 Ch5 EQU 5 Ch6 EQU 6 Ch7 EQU 7 audio: MACRO db (_NARG - 2) << 6 | \2 dw \1_\2 IF _NARG > 2 db \3 dw \1_\3 ENDC IF _...
format PE64 console entry start include 'win64a.inc' section '.idata' import data readable writable library kernel32, 'kernel32.dll', \ msvcrt, 'MSVCRT.DLL' import kernel32, \ ExitProcess, 'ExitProcess' import msvcrt, \ printf, 'printf', \ scanf, 'scanf' se...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; void *b_vector_insert_block(b_vector_t *v, size_t idx, size_t n) ; ; Inserts n uninitialized bytes before idx into the vector and ; returns the address of the inserted byt...
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <limits> #include <stdint.h> // System.Char[] struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34; // System.Runtime.CompilerServices.CompilationRelaxationsAttribute struct CompilationRelaxationsAttrib...
; Copyright (c) 2004, 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. The full text of the license may be found at ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x864c, %rdi nop nop nop nop nop cmp %r11, %r11 vmovups (%rdi), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $0, %xmm6, %rcx nop sub $9336, %r9 lea addresses_D_ht+0x95e8, %r8 xor ...
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Text Library FILE: uiBorderColorControl.asm ROUTINES: Name Description ---- ----------- GLB BorderColorControlClass Style menu object ...
/***************************************************************************** * taglib.cpp: Taglib tag parser/writer ***************************************************************************** * Copyright (C) 2003-2016 VLC authors and VideoLAN * $Id: 123d09c94fdce884486d2a5aaeb31ea62da2b1d3 $ * * Authors: Clém...
.size 8000 .text@100 jp lbegin .data@143 c0 .text@150 lbegin: xor a, a ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ldff a, (4d) jp lprint_a .text@7000 lprint_a: push af ld b, 90 call lwaitly_b xor a, a ldff(40), a ld bc, 7a00 ld hl, 8000 ld d, 00 lprint_copytiles: ld a, (bc) ...
#pragma once class GammaPhysics { public: GammaPhysics(const double stepSize) : MS_PER_UPDATE(stepSize) {}; ~GammaPhysics(void) = default; // Step size is constant void step(void); private: GammaPhysics(const GammaPhysics&) = delete; GammaPhysics& operator=(const GammaPhysics&) = delete; ...
class Solution { private: vector<vector<int>> res; void rec(int k, int n, vector<int> &v, int d) { if (!k && !n) { res.push_back(v); return; } for (int i = d; i <= 9 && n >= i; ++i) { v.push_back(i); rec(k - 1, n - i, v, i + 1); ...
// Magic Software, Inc. // http://www.magic-software.com // http://www.wild-magic.com // Copyright (c) 2003. All Rights Reserved // // The Wild Magic Library (WML) source code is supplied under the terms of // the license agreement http://www.magic-software.com/License/WildMagic.pdf // and may not be copied or ...
; ; Copyright (c) 2020 Phillip Stevens ; ; This Source Code Form is subject to the terms of the Mozilla Public ; License, v. 2.0. If a copy of the MPL was not distributed with this ; file, You can obtain one at http://mozilla.org/MPL/2.0/. ; ; feilipu, August 2020 ; ;-----------------------------------------------...
; $Id: ASMCpuId.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; IPRT - ASMCpuIdExSlow(). ; ; ; Copyright (C) 2012-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 redistribute it and/or modif...
/* * Copyright (C) 2018 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
db SANDSHREW ; 027 db 50, 75, 85, 40, 20, 30 ; hp atk def spd sat sdf db GROUND, GROUND ; type db 255 ; catch rate db 93 ; 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/sandshrew/front.dim...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // Buffer Definitions: // // cbuffer cbPerObject // { // // float4x4 g_mWorldViewProjection; // Offset: 0 Size: 64 // float4x4 g_mWorld; // Offset: 64 Size: 64 // // } // // cbuffer cbPerFrame // { // // ...
/*============================================================================= Copyright (c) 2001-2006 Joel de Guzman Copyright (c) 2005-2006 Dan Marsden 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....
; A074509: a(n) = 1^n + 3^n + 7^n. ; 3,11,59,371,2483,17051,118379,825731,5771363,40373291,282534299,1977503891,13841818643,96890604731,678227855819,4747575858851,33232973616323,232630643127371,1628413985330939,11398896347634611 mov $1,3 pow $1,$0 mov $2,7 pow $2,$0 add $1,$2 add $1,1
; A135711: Minimal perimeter of a polyhex with n cells. ; 6,10,12,14,16,18,18,20,22,22,24,24,26,26,28,28,30,30,30,32,32,34,34,34,36,36,36,38,38,38,40,40,40,42,42,42,42,44,44,44,46,46,46,46,48,48,48,48,50,50,50,50,52,52,52,52,54,54,54,54,54,56,56,56,56,58,58,58,58,58,60,60 mul $0,2 mov $1,$0 add $1,$0 add $1,$0 mov $0,...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program 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 2 * of the License, or (at your option) any later version. * * This program is d...
/***************************************************************************************** * SGCT * * Simple Graphics Cluster Toolkit * * ...
;=============================================================================== ; Opcode Generator Test ;=============================================================================== bits 16 org 32768 start: ; ---------------------------------------------------------------------- OpcodeGenerator_execute: mov ...
title VSetup.cpp .386 .387 includelib CPPOM30.LIB includelib OS2386.LIB CODE32 segment dword use32 public 'CODE' CODE32 ends DATA32 segment dword use32 public 'DATA' DATA32 ends CONST32_RO segment dword use32 public 'CONST' CONST32_RO ends BSS32 segment dword use32 public 'BSS' BSS32 ends EH_CODE segment dword use...
;=============================================================================== ; FORMAT - DISK FORMAT UTILITY FOR ROMWBW ADAPTATION OF CP/M 2.2 ;=============================================================================== ; ; AUTHOR: WAYNE WARTHEN (wwarthen@gmail.com) ;_______________________________________...
;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. .586 .model flat option casemap:none .code include AsmMacros.inc EXTERN RhExceptionHandling_ThrowClasslibOverflowException ...
// // Created by mcountryman on 4/7/2020. // #ifndef ROOKIE_BOARD_HPP #define ROOKIE_BOARD_HPP #include "frame/frame.hpp" #include "frame/frame_resolver.hpp" #include <opencv2/core/mat.hpp> namespace rookie::board { class Board { public: bool ProcessFrame(cv::Mat &frame); private: boo...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %rbp push %rbx push %rsi // Faulty Load lea addresses_WC+0xe9a4, %r11 nop nop nop cmp $60320, %rsi vmovups (%r11), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %rbp lea oracles, %r10 and $0xff,...
{0} mov %esp,%ebx xor %eax,%eax push %eax mov %esp,%edx push %ebx mov %esp,%ecx push %edx push %ecx push %ebx mov $0x3b,%al push $0x2a int $0x80 mov $0x1,%al mov $0x1,%bl int $0x80
/* ; In this module are many routines to print words on the spectrum display ** COOL_PRINT This takes a string and displays it on the screen. Sounds simple, but has LOADs of controls that can be specified. For example: dw pAt,3,10,pInk,Blue,pPaper,Yellow,pBright,pBold,pDown"Hello World" This will pri...
; A108872: Sums of ordinal references for a triangular table read by columns, top to bottom. ; Submitted by Christian Krause ; 2,3,4,4,5,6,5,6,7,8,6,7,8,9,10,7,8,9,10,11,12,8,9,10,11,12,13,14,9,10,11,12,13,14,15,16,10,11,12,13,14,15,16,17,18,11,12,13,14,15,16,17,18,19,20,12,13,14,15,16,17,18,19,20,21,22,13,14,15,16,17,...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2015 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...
# include <stdio.h> # include <stdlib.h> # include <string.h> # include "mpak.h" bool extract(char *mpak_name, char *directory) { MPAK_FILE *mPakFile; int i; mPakFile = new MPAK_FILE(); mPakFile->init(); if(!mPakFile->open_mpk(MPAK_READ, mpak_name)) { printf("Cannot open mpak file: %s\n...
INCLUDE "romdefs.inc" SECTION code_clib GLOBAL _zx_rom_chan_open _zx_rom_chan_open: ld a, l jp ROM3_CHAN_OPEN
; A131186: Period 12: repeat 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1. ; 0,1,2,0,2,4,0,4,3,0,3,1,0,1,2,0,2,4,0,4,3,0,3,1,0,1,2,0,2,4,0,4,3,0,3,1,0,1,2,0,2,4,0,4,3,0,3,1,0,1,2,0,2,4,0,4,3,0,3,1,0,1,2,0,2,4,0,4,3,0,3,1,0,1,2,0,2,4,0,4,3,0,3,1,0,1,2,0,2,4,0,4,3,0,3,1,0,1,2,0 seq $0,163271 ; Numerators of fractions in a 'zero-t...
; A105770: Expansion of (x^2-x+1)(4x^2+x+1) / ((1+x+x^2)(1-x)^3). ; 1,2,7,10,17,28,37,50,67,82,101,124,145,170,199,226,257,292,325,362,403,442,485,532,577,626,679,730,785,844,901,962,1027,1090,1157,1228,1297,1370,1447,1522,1601,1684,1765,1850,1939,2026,2117,2212,2305,2402,2503,2602,2705,2812,2917,3026,3139,3250,3365,34...
; A185018: Inverse to sequence matrix for natural numbers. ; 1,-2,1,1,-2,1,0,1,-2,1,0,0,1,-2,1,0,0,0,1,-2,1,0,0,0,0,1,-2,1,0,0,0,0,0,1,-2,1,0,0,0,0,0,0,1,-2,1,0,0,0,0,0,0,0,1,-2,1,0,0,0,0,0,0,0,0,1,-2,1,0,0,0,0,0,0,0,0,0,1,-2,1,0,0,0,0,0,0,0,0,0,0,1,-2,1 cal $0,25669 ; Exponent of 7 (value of i) in n-th number of form...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xfb40, %r10 cmp $18868, %rbx movw $0x6162, (%r10) nop nop nop nop cmp %rsi, %rsi lea addresses_WT_ht+0x11190, %rsi lea addresses_normal_ht+0xa10, %rdi add $35607, %r15 mov $1...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2018 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...
// Copyright 2017 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/services/printing/pdf_to_emf_converter.h" #include <algorithm> #include <limits> #include <utility> #include "base/bind.h" #include "ba...
; A250420: Number of length 3+1 0..n arrays with the sum of the minimum of each adjacent pair multiplied by some arrangement of +-1 equal to zero. ; 10,38,99,205,370,606,927,1345,1874,2526,3315,4253,5354,6630,8095,9761,11642,13750,16099,18701,21570,24718,28159,31905,35970,40366,45107,50205,55674,61526,67775,74433,81514...
; A010886: Period 7: repeat [1, 2, 3, 4, 5, 6, 7]. ; 1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4 mod $0,7 add $0,1
; A153972: a(n) = 2^n + 6. ; 7,8,10,14,22,38,70,134,262,518,1030,2054,4102,8198,16390,32774,65542,131078,262150,524294,1048582,2097158,4194310,8388614,16777222,33554438,67108870,134217734,268435462,536870918,1073741830,2147483654,4294967302,8589934598,17179869190,34359738374,68719476742,137438953478,274877906950,549755...
[bits 64] mov dword [l4-l1], 0x0 ; out: c7 04 25 00 00 00 00 00 00 00 00 l4: l1: jc short l3 ; out: 72 01 db 0x0 ; out: 00 l3:
// Copyright (C) 2020-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include <ngraph/pass/graph_rewrite.hpp> namespace ArmPlugin { namespace pass { class ConvertShuffleChannels: public ngraph::pass::MatcherPass { public: NGRAPH_RTTI_DECLARATION; ConvertShuffleChannels(); }; } /...
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: ifix.asm,v 1.3 2015/01/21 10:56:29 stefano Exp $ ; INCLUDE "cpcfirm.def" INCLUDE "cpcfp.def" PUBLIC ifix PUBLIC ifixc EXTERN fa EXTERN int_inv_sgn .ifix ld hl,fa+1 call firmware .ifixc defw CPCFP_FL...
; GetSGBLayout arguments (see engine/gfx/cgb_layouts.asm and engine/gfx/sgb_layouts.asm) const_def const SCGB_BATTLE_GRAYSCALE const SCGB_BATTLE_COLORS const SCGB_POKEGEAR_PALS const SCGB_STATS_SCREEN_HP_PALS const SCGB_POKEDEX const SCGB_SLOT_MACHINE const SCGB_BETA_TITLE_SCREEN const SCGB_GS_INTRO const SCG...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;HexConv.asm - conversao de base para numeros hexadecimais ;Recebe do teclado um numero hexadecimal de 4 digitos ;Recebe a base de saida (um numero decimal de 2 digitos) ;A base de saida deve estar entre 2 e 16, inclusive ;Converte o numero para essa ba...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1858e, %rdx nop nop nop cmp %r12, %r12 mov $0x6162636465666768, %rsi movq %rsi, %xmm0 movups %xmm0, (%rdx) nop nop nop nop add %rsi, %rsi lea addresses_WC_ht+0xaa75, %rsi su...
// 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 "src/media/audio/audio_core/stream_volume_manager.h" #include <lib/syslog/cpp/macros.h> #include "src/media/audio/audio_core/stream_usage.h" na...
; A084516: The length of each successively larger, indecomposable 3-ball ground-state site swap given in A084511, i.e., the number of digits in each term of A084512. ; 1,2,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,...
/*- * Copyright 2003-2005 Colin Percival * Copyright 2012 Matthew Endsley * Copyright 2016 Jakub Nyckowski * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted providing that the following conditions * are met: * 1. Redistributions of source...
; A128138: A000012 * A128132. ; Submitted by Jamie Morken(s4) ; 1,0,2,0,1,3,0,1,2,4,0,1,2,3,5,0,1,2,3,4,6,0,1,2,3,4,5,7,0,1,2,3,4,5,6,8,0,1,2,3,4,5,6,7,9,0,1,2,3,4,5,6,7,8,10,0,1,2,3,4,5,6,7,8,9,11,0,1,2,3,4,5,6,7,8,9,10,12,0,1,2,3 lpb $0 add $1,1 sub $0,$1 lpe sub $1,$0 add $1,1 cmp $1,1 add $1,$0 mov $0,$1
// // detail/config.hpp // ~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) // #ifndef NET_TS_DETAIL_CONFIG_HPP ...
; A092692: Expansion of e.g.f. -log(1-x)/(1-x^2). ; Submitted by Christian Krause ; 0,1,1,8,18,184,660,8448,42000,648576,4142880,74972160,586776960,12174658560,113020427520,2643856588800,28432576972800,740051782041600,9056055981772800,259500083163955200,3562946373482496000,111422936937037824000,1697172166720622592000,5...
// Copyright 2013 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 "third_party/blink/renderer/platform/media/text_track_impl.h" #include <utility> #include "base/bind.h" #include "base/location.h" #include "ba...
#include "epipolar.h" #include <Eigen/SVD> #include <Eigen/Cholesky> #include <Eigen/Eigenvalues> #include "permutation_sampler.h" #include "srrg_geometry/geometry3d.h" namespace srrg2_core{ using namespace std; namespace epipolar { using Matrix3_2f = Eigen::Matrix<float, 3, 2>; using Matrix9f = Eigen...
// Copyright (c) 2016 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 <compat/byteswap.h> #include <test/test_jokecoin.h> #include <boost/test/unit_test.hpp> BOOST_FIXTURE_TEST_SUITE(bswap_...
.data array:.word -4,5,8,-1 msg1:.asciiz"\n The sum of the positive values=" msg2:.asciiz"\n The sum of the negative values=" .globl main .text main: li $v0,4 la $a0,msg1 syscall la $a0,array li $a1,4 jal sum move $a0,$v0 li $v0,1 syscall li $v0,4 la $a0,msg2 syscall li $v0,1 move $a0,$v1 syscall li $v0,10 syscall
#include "ASI.h" #include "DataMemory.h" #include <iostream> using namespace std; //constructor ASI::ASI(vector<Operand> inst): Instruction(inst) { //validation on the number of parameters if (inst.size() != 2) throw invalid_argument("JP0 instruction takes 3 parameters!"); //validation on the parameter types i...
;-----------------------------------------------------------------------------; ; Author: Stephen Fewer (stephen_fewer[at]harmonysecurity[dot]com) ; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4 ; Version: 1.0 (24 July 2009) ; Size: 274 bytes ; Build: >build.py stager_reverse_tcp_nx ;-------------------...
// Copyright Vladyslav Kulinych 2018. All Rights Reserved. #include "EnemyAIBase.h" #include "Enemy.h" #include "BehaviorTree/BehaviorTree.h" #include "BehaviorTree/BehaviorTreeComponent.h" #include "BehaviorTree/BlackboardComponent.h" #include "BehaviorTree/Blackboard/BlackboardKeyAllTypes.h" #include "GameFramework/...
; ; Automatically generated ; .include "00start.asm" .section code .send code
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.ObjectDisposedException #include "System/ObjectDisposedExceptio...
; ### ; math.asm begin ; ### #bank rom multiply: ; x, y (addreses SP+6, SP+5) ; param stack indicies .x = 6 .y = 5 ; local variables stack indicies .y_local = 0 .z = -1 __prologue ; TODO: check and swap params to make this faster push #0x00 ; init .y_local = 0 push #0x00 ; init z=0 __load_l...
; A177881: Partial sums of round(3^n/10). ; 0,0,1,4,12,36,109,328,984,2952,8857,26572,79716,239148,717445,2152336,6457008,19371024,58113073,174339220,523017660,1569052980,4707158941,14121476824,42364430472,127093291416,381279874249,1143839622748,3431518868244,10294556604732,30883669814197,92651009442592,277953028327776...
; A021328: Decimal expansion of 1/324. ; 0,0,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7,5,3,0,8,6,4,1,9,7 sub $0,1 mul $0,2 trn $0,1 sub $0,1 mul $0,485 div $0,9 add $0,3 mod $0,10
; A253487: Number of lattice paths of 2*n+2 steps in the first quadrant from (0,0) to (n,n). ; 2,16,90,448,2100,9504,42042,183040,787644,3359200,14226212,59907456,251100200,1048380480,4362680250,18103127040,74934688620,309509877600,1275964023180,5251296336000,21579247511640,88555121603520,362957071241700,14859695777172...
; This patch removes various hardcoded cutscenes from the game. ; nop out a couple lines so the long intro movie is skipped. .open "sys/main.dol" .org 0x80232C78 nop .org 0x80232C88 nop .close ; This makes the warps out of boss rooms always skip the cutscene usually shown the first time you beat the boss and...
#ifndef FPM_FIXED_HPP #define FPM_FIXED_HPP #include <cassert> #include <cmath> #include <cstdint> #include <functional> #include <limits> #include <type_traits> namespace fpm { //! Fixed-point number type //! \tparam BaseType the base integer type used to store the fixed-point number. This can be a signed o...