text
stringlengths
1
1.05M
; A097804: a(n) = 3*(2*5^n + 1). ; 9,33,153,753,3753,18753,93753,468753,2343753,11718753,58593753,292968753,1464843753,7324218753,36621093753,183105468753,915527343753,4577636718753,22888183593753,114440917968753,572204589843753,2861022949218753,14305114746093753,71525573730468753,357627868652343753,1788139343261718753...
; @file ; This file provides assembly 64-bit atomic reads/writes required for memory initialization. ; ; Copyright (c) 2019 Intel Corporation. All rights reserved. <BR> ; ; SPDX-License-Identifier: BSD-2-Clause-Patent ; SECTION .text ;----------------------------------------------------------------------------- ; ; ...
; Z88 Small C+ Run time Library ; l_gint variant to be used sometimes by the peephole optimizer ; PUBLIC l_gintspsp .l_gintspsp add hl,sp inc hl inc hl ld a,(hl) inc hl ld h,(hl) ld l,a ex (sp),hl jp (hl)
#pragma once #include <xgt/chain/xgt_fwd.hpp> #include <xgt/protocol/authority.hpp> #include <xgt/protocol/operations.hpp> #include <xgt/protocol/xgt_operations.hpp> #include <xgt/chain/buffer_type.hpp> #include <xgt/chain/xgt_object_types.hpp> #include <xgt/chain/witness_objects.hpp> namespace xgt { namespace chai...
// Copyright 2019 Your Name <your_email> #include <gtest/gtest.h> #include "header.hpp" #include <iostream> #include <string> #include <any> #include <map> #include <vector> #include <sstream> #include <fstream> TEST(Parse, Text){ std::string json = "{\n" " \"lastname\" : \"Ivanov\",\n" ...
; ;================================================================================================== ; ROMWBW 2.X CONFIGURATION DEFAULTS FOR ZETA V2 ;================================================================================================== ; ; THIS FILE CONTAINS THE FULL SET OF DEFAULT CONFIGURATION SE...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2018 ArangoDB GmbH, Cologne, Germany /// /// 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...
/* MIT License Copyright (c) 2018 Antonio Alexander Brewer (tonton81) - https://github.com/tonton81 Designed and tested for PJRC Teensy 4.0. Forum link : https://forum.pjrc.com/threads/56035-FlexCAN_T4-FlexCAN-for-Teensy-4?highlight=flexcan_t4 Thanks goes to skpang, mjs513, and collin for tech/te...
; A253887: Row index of n in A191450: a(3n) = 2n, a(3n+1) = 2n+1, a(3n+2) = a(n+1). ; 1,1,2,3,1,4,5,2,6,7,3,8,9,1,10,11,4,12,13,5,14,15,2,16,17,6,18,19,7,20,21,3,22,23,8,24,25,9,26,27,1,28,29,10,30,31,11,32,33,4,34,35,12,36,37,13,38,39,5,40,41,14,42,43,15,44,45,2,46,47,16,48,49,17,50,51,6,52,53,18,54,55,19,56,57,7,58,5...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1d3ca, %r15 clflush (%r15) nop nop nop dec %r14 vmovups (%r15), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $0, %xmm7, %rax nop nop nop dec %rax lea addresses_D_ht+0xd98...
; Static Name Aliases ; TITLE bn_mulw.c .386 F_TEXT SEGMENT WORD USE16 PUBLIC 'CODE' F_TEXT ENDS _DATA SEGMENT WORD USE16 PUBLIC 'DATA' _DATA ENDS _CONST SEGMENT WORD USE16 PUBLIC 'CONST' _CONST ENDS _BSS SEGMENT WORD USE16 PUBLIC 'BSS' _BSS ENDS DGROUP GROUP _CONST, _BSS, _DATA ASSUME DS: DGROUP, SS: DGROUP F...
dnl MIPS32 umul_ppmm -- longlong.h support. dnl Copyright 1999, 2002 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 ...
//===-- SlotIndexes.cpp - Slot Indexes Pass ------------------------------===// // // 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 // //===---------------------------...
; ; 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 ; ;-----------------------------------------------...
INCLUDE "graphics/grafix.inc" IF !__CPU_INTEL__ & !__CPU_GBZ80__ SECTION code_graphics PUBLIC Line EXTERN Line_r EXTERN __gfx_coords ; ; $Id: line.asm,v 1.7 2016-07-02 09:01:35 dom Exp $ ; ; ****************************************************************************** ; ; Draw a pixel line from (x0,y0) defi...
// 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 "third_party/blink/renderer/platform/graphics/animation_worklet_mutator_dispatcher_impl.h" #include "base/run_loop.h" #include "base/single_thre...
; A001700: a(n) = binomial(2*n+1, n+1): number of ways to put n+1 indistinguishable balls into n+1 distinguishable boxes = number of (n+1)-st degree monomials in n+1 variables = number of monotone maps from 1..n+1 to 1..n+1. ; 1,3,10,35,126,462,1716,6435,24310,92378,352716,1352078,5200300,20058300,77558760,300540195,11...
.file "vadd_c.c" .text .globl main .type main, @function main: .LFB2: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 movl %edi, -4(%rbp) movq %rsi, -16(%rbp) movl $0, %eax popq %rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE2: .size main, .-mai...
org $82FA00 print pc, " presets bank82 start" preset_load: { PHP LDA !MUSIC_DATA : STA !SRAM_MUSIC_DATA LDA !MUSIC_TRACK : STA !SRAM_MUSIC_TRACK JSL $809E93 ; Clear timer RAM JSR $819B ; Initialize IO registers JSR $82E2 ; Load standard BG3 tiles and sprite tiles, clear tilemaps JSR...
#ifndef VIENNACL_TOOLS_MATRIX_PROD_KERNEL_CLASS_DEDUCER_HPP_ #define VIENNACL_TOOLS_MATRIX_PROD_KERNEL_CLASS_DEDUCER_HPP_ /* ========================================================================= Copyright (c) 2010-2013, Institute for Microelectronics, Institute for Analysis and Scien...
;; ;; Copyright (c) 2012-2020, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
list p=18f4550 #include<p18f4550.inc> CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT)) CONFIG PWRT = ON ; Power-up Timer Enable bit (PWRT enabled) CONFIG BOR = OFF ; Brown-out Reset Enable bits (Brown-out Reset disabled in hardware and softwar...
// c:/Users/user/Documents/Programming/Error/IgnoredError/a_Macro.hpp #pragma once #include "../a_Macro.hpp" #ifdef DEBUG #define IGNORED_ERR( ... ) \ BREAK; \ IndicateIgnoredError( POSITION , ARGUMENTS( __VA_ARGS__ ) ) #else #define IGNORED_ERR( ... ) IndicateIgnoredError( POSITION , A...
#include <iostream> #include <thread> #include <mutex> enum order { ping, pong }; std::mutex m; int turn; void print_ping() { while (true) { std::lock_guard<std::mutex> lock(m); if (turn == order::ping) { std::cout << "ping" << ' '; turn = order::pong; } } } void p...
; A081555: a(n) = 6*a(n-1) - a(n-2) - 4, a(0)=3, a(1)=7. ; 3,7,35,199,1155,6727,39203,228487,1331715,7761799,45239075,263672647,1536796803,8957108167,52205852195,304278004999,1773462177795,10336495061767,60245508192803,351136554095047,2046573816377475,11928306344169799,69523264248641315,405211279147678087,2361744410637...
section .data msg1 : db 'debug here --',10 l1 : equ $-msg1 msg2 : db 'Enter your string : ' l2 : equ $-msg2 msg3 : db 'The balanced string is : ' l3 : equ $-msg3 msg4 : db 'msg 4 here' l4: equ $-msg4 msg5 : db 'msg 5 here',10 l5: equ $-msg5 space:db ' ' newline:db '',10 section .bss num: resd 1 ...
324 06A0 324 06A0 324 06A0 ;void l2_draw_scan_line(uint8_t x, uint8_t y1, uint8_t y2, uint8_t color) 324 06A0 C_LINE 326,"Graphics\L2graphics.c" 326 06A0 ;{ 326 06A0 C_LINE 327,"Graphics\L2graphics.c" 327 06A0...
// Copyright 2020 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 "ui/gfx/mac/io_surface.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/hdr_metadata.h" #include "ui/gfx/mac/io_surface_hdr_met...
; A266302: Decimal representation of the n-th iteration of the "Rule 15" elementary cellular automaton starting with a single ON (black) cell. ; 1,6,1,126,1,2046,1,32766,1,524286,1,8388606,1,134217726,1,2147483646,1,34359738366,1,549755813886,1,8796093022206,1,140737488355326,1,2251799813685246,1,36028797018963966,1 m...
#pragma once template <typename K, typename V> struct TreeAbst { virtual void insert(const K& key, const V& val) = 0; virtual void erase(const K& key) = 0; virtual bool find(const K& key, V& res) = 0; };
; A239463: A239460(n) / n^2. ; 11,12,103,104,1005,1006,1007,1008,1009,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,100022,100023,100024,100025,100026,100027,100028,100029,100030,100031,100032,100033,100034,100035,100036,100037,100038,100039,100040,100041,100042,100043,100044,100045,100046,100...
#include <spdlog/spdlog.h> int main(int argc, char* argv[]) { auto console = spdlog::stdout_logger_mt("console"); console->info("Hello from INFO"); }
; A167527: n^5 mod 49. ; 0,1,32,47,44,38,34,0,36,4,40,37,10,20,0,22,25,33,30,31,6,0,8,46,26,23,3,41,0,43,18,19,16,24,27,0,29,39,12,9,45,13,0,15,11,5,2,17,48,0,1,32,47,44,38,34,0,36,4,40,37,10,20,0,22,25,33,30,31,6,0,8,46,26,23,3 pow $0,5 mod $0,49
// Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and University of // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and Th...
INCLUDE "config_private.inc" SECTION code_driver SECTION code_driver_terminal_input PUBLIC console_01_input_proc_getc EXTERN console_01_input_proc_echo, l_setmem_hl, asm_b_array_clear EXTERN console_01_input_proc_oterm, l_inc_sp, l_jpix, l_offset_ix_de EXTERN asm_b_array_push_back, asm_b_array_at, asm_toupper, erro...
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT A...
#include "Interface/HLE/Syscalls.h" #include <stddef.h> #include <stdint.h> #include <signal.h> #include <time.h> namespace FEXCore::Core { struct InternalThreadState; } namespace FEXCore::HLE { uint64_t Timer_Create(FEXCore::Core::InternalThreadState *Thread, clockid_t clockid, struct sigevent *sevp, timer_t *tim...
; ba_priority_queue_t * ; ba_priority_queue_init(void *p, void *data, size_t capacity, int (*compar)(const void *, const void *)) SECTION code_adt_ba_priority_queue PUBLIC _ba_priority_queue_init EXTERN l0_ba_priority_queue_init_callee _ba_priority_queue_init: pop af pop hl pop de pop bc exx pop...
[org 0x7c00] KERNEL_OFFSET equ 0x1000 ; The same one we used when linking the kernel mov [BOOT_DRIVE], dl ; Remember that the BIOS sets us the boot drive in 'dl' on boot mov bp, 0x9000 mov sp, bp mov bx, MSG_REAL_MODE call print_string call print_nl call load_kernel ; read t...
/* * Logger I2C Output Service * * org: 11/17/2014 * auth: Nels "Chip" Pearson * * Target: Tank Bot Demo Board, 20MHz, ATmega164P * * Logger: LCD_CDM-16100 Demo board with a five line 1x16 character display. * * This service is used to output debugging text to an I2C Logger device. * * A table of predefined...
; Floppy drive interface routines datasector dw 0x0000 cluster dw 0x0000 absoluteSector db 0x00 absoluteHead db 0x00 absoluteTrack db 0x00 ; Convert Cluster number to Linear-Block-Addressing (LBA) ; ; LBA = First data sector + (cluster - 2) * sectors per cluster ; ; Input: AX = Cluster number...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
include 'format/format.inc' format PE64 GUI entry start section '.text' code readable executable start: sub rsp,8*5 ; reserve stack for API use and make stack dqword aligned mov r9d,0 lea r8,[_caption] lea rdx,[_message] mov rcx,0 call [MessageBoxA] mov ecx,eax call [ExitProcess] s...
#include <iostream> #include <fstream> #include <exception> #include "BiChuLi.h" #include "KxianChuLi.h" using namespace std; bool ifChengbi(vector<Kxian> &tempKxianList, int direction) { if (tempKxianList.size() < 4) { // 如果连4根K线都没有的话肯定不是笔 return false; } if (direction...
// Copyright (c) 2014 Grant Mercer // Copyright (c) 2015 Daniel Bourgeois // Copyright (c) 2016-2018 Hartmut Kaiser // // 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) /// \file parallel/algorithms/copy.hpp #i...
section .bss res resb 1 section .data msg db "The result is:", 0x20, 0xA, 0xD len equ $ - msg section .text global _start _start: mov ax, '8' sub ax, '0' mov bl, '2' sub bl, '0' div bl add ax, '0' mov [res], ax mov ecx, msg mov edx, len call _print mov e...
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; See the LICENSE file in the project root for more information. ; ==++== ; ; ; ==--== ifdef FEATURE_COMINTEROP include AsmMacros.inc include asmconstants.inc extern CallDescrWorke...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once #include <krabs.hpp> #include <string> #include "../NativePtr.hpp" #include "Predicate.hpp" using namespace System; using namespace System::Runtime::In...
MXECOMRC TITLE 'MXE COMMON RECOVERY' *--------+---------+---------+---------+---------+---------+---------+- * Name : MXECOMRC * ...
; A004759: Binary expansion starts 111. ; 7,14,15,28,29,30,31,56,57,58,59,60,61,62,63,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,448,449,450,451,452,453,454,455,456,457,45...
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_dkud3_QuaUni _ff_dkud3_QuaUni: BINARY "font/fzx/fonts/dkud3/QuaUni/qua+uni.fzx"
/* * Copyright 2013+ Ruslan Nigmatullin <euroelessar@yandex.ru> * * 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 ...
; =============================================================== ; Jun 2007 ; =============================================================== ; ; uint zx_aaddr2px(void *attraddr) ; ; Attribute address to pixel x coordinate. ; ; =============================================================== SECTION code_clib SECTIO...
; Addr3Bytes.asm - returns an address that was 3 bytes higher in memory than the return address currently on the stack INCLUDE Irvine32.inc .code main PROC mov eax, 4 call AddrUp3 invoke ExitProcess, 0 main ENDP AddrUp3 PROC pop eax add eax, 0Ch push eax ret AddrUp3 endp END main
title Display Registers page 65,131 include struct.mac ; ; regdisp.asm ; ; Displays all the 8086 registers on the right side of the screen. ; The registers are sampled and displayed roughly 18 times per second. ; Toggle on and off by holding down both shift keys. ; To use with the monochromatic monitor,...
* Close file V0.05  1985 Tony Tebby QJUMP * section utils * xdef ut_fclos close file xdef ut_fceof close file eof is OK xdef ut_eofok set eof to OK xdef ut_ok * include dev8_sbsext_ext_keys * ut_fceof ...
; A106189: Expansion of 1/((1-2x^2)sqrt(1-4x)). ; Submitted by Jamie Morken(w3) ; 1,2,8,24,86,300,1096,4032,15062,56684,214880,818800,3133916,12038200,46384432,179193920,693849254,2691994060,10462833808,40729251920,158772196436,619716378280,2421643356592,9472863484160,37090890396284 mov $2,$0 add $2,1 lpb $2 mov $0,...
; A344510: a(n) = Sum_{k=1..n} k * gcd(k,n). ; Submitted by Jamie Morken(s4) ; 1,5,12,24,35,63,70,112,135,185,176,312,247,371,450,512,425,729,532,920,903,935,782,1488,1125,1313,1458,1848,1247,2475,1426,2304,2277,2261,2660,3672,2035,2831,3198,4400,2501,4977,2752,4664,5265,4163,3290,6912,4459,6125,5508,6552 add $0,1 mov...
#ifndef BELLMAN #define BELLMAN 1 namespace nutshell { #include <iostream> #include <vector> #include "graph" using std::cout; using std::endl; using std::vector; class BellmanFord { public: bool _negativeCycle = false; vector<long> _dist; BellmanFord(Graph g, int source) { _dist.resize(g._n, ...
#pragma once #include "routing_common/maxspeed_conversion.hpp" #include "base/small_map.hpp" #include "base/stl_helpers.hpp" #include <array> #include <cstdint> #include <functional> #include <initializer_list> #include <limits> #include <memory> #include <optional> #include <sstream> #include <string> #include <uno...
#ifndef CENTURION_RASPBERRY_PI_HINTS_HEADER #define CENTURION_RASPBERRY_PI_HINTS_HEADER #include <SDL.h> #include "../core/str.hpp" #include "../detail/hints_impl.hpp" namespace cen::hint::raspberrypi { /// \addtogroup hints /// \{ struct video_layer final : detail::int_hint<video_layer> { [[nodiscard]] constexp...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/quic/reliable_quic_stream.h" #include "net/quic/quic_connection.h" #include "net/quic/quic_utils.h" #include "net/quic/test_tools/quic_...
/******************************************************************** * COPYRIGHT: * Copyright (c) 1997-2010, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /* Modification History: * Date Name Desc...
; Program 5.1 ; Conditional Jump - NASM (64-bit) ; Copyright (c) 2020 Hall & Slonka SECTION .data wages: DQ 46000 SECTION .bss taxes: RESQ 1 SECTION .text global _main _main: mov rax, 50000 cmp QWORD [wages], rax jae higher mov QWORD [taxes], 2000 jmp done higher: mov QWORD [taxes], 4000 done: mov ra...
; William Barden, Jr. 'TRS-80 Assembly-Language Programming', 1979 pg 189. ; ; Fills a block of memory with a given 8-bit value. ; ; Uses: a, bc, d, hl ; ; Entry: d data to be filled (the 8-bit value) ; hl start addr of the fill area ; bc # of bytes to fill ; Exit: d same ; hl end addr of t...
; ; Routine to handle menu options ; ; Called from getk() getkey() ; ; We've just read in 0 from os_*in so we need to get the command ; code - this should never occur from BASIC, so the basic crt0 ; file can just be a ret ; ; ; $Id: getcmd.asm,v 1.4 2015/01/19 01:33:22 pauloscustodio Exp $...
.686p .model flat, stdcall option casemap:none .code option prologue:none option epilogue:none get_frdepackersize proc export mov eax, unpacker_end - KKrunchyDepacker ret get_frdepackersize endp get_frdepackerptr proc export mov eax, KKrunchyDepacker ret get_frdepackerptr endp unpacker_start: KKru...
; A271743: Number of set partitions of [n] such that 4 is the largest element of the last block. ; 10,15,29,63,149,375,989,2703,7589,21735,63149,185343,547829,1627095,4848509,14479983,43308869,129664455,388469069,1164358623,3490978709,10468741815,31397836829,94176733263,282496645349,847422827175,2542134263789,762613435...
.size 8000 .text@58 jp lstartserial .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(0f), a ld a, 08 ldff(ff), a ld a, 81 ldff(02), a ei .text@1000 lstartserial: xor a, a ldff(01), a ld a, 81 ldff(02), a .text@1200 ldff(02), a .text@1500 xor a, a ldff(0f), a .text@15f0 ldff a, ...
#include "System.h" #include "Component.h" #include "Application.h" #include "ModuleFileSystem.h" System::System() { stringBuffer = new rapidjson::StringBuffer(); writer = new rapidjson::PrettyWriter<rapidjson::StringBuffer>(*stringBuffer); writer->StartObject(); } System::~System() { delete writer; delete strin...
// Ceres Solver - A fast non-linear least squares minimizer // Copyright 2015 Google Inc. All rights reserved. // http://ceres-solver.org/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of so...
; Note - character's animations included first, for anim_invisible address to be as stable as possible (require a server update when it change) #include "game/data/characters/characters-common-animations/characters-common-animations.asm" #include "game/data/characters/characters-index.asm" #include "game/data/character...
; A004760: List of numbers whose binary expansion does not begin 10. ; 0,1,3,6,7,12,13,14,15,24,25,26,27,28,29,30,31,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,96,97,98,99,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,192,193,194,195,196,197,198,199...
; A010762: a(n) = floor( n/2 ) * floor( n/3 ). ; 0,0,1,2,2,6,6,8,12,15,15,24,24,28,35,40,40,54,54,60,70,77,77,96,96,104,117,126,126,150,150,160,176,187,187,216,216,228,247,260,260,294,294,308,330,345,345,384,384,400,425,442,442,486,486,504,532,551,551,600,600,620,651,672,672,726,726,748,782,805,805,864,864,888,925,950,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xf0b7, %rsi lea addresses_D_ht+0x74b7, %rdi nop nop nop nop and %r11, %r11 mov $0, %rcx rep movsb nop nop nop add %rbx, %rbx lea addresses_A_ht+0x18b7, %rsi lea addresses_A_ht...
; $Id: bit_fx2.asm $ ; ; Generic platform sound effects module. ; Alternate sound library by Stefano Bodrato ; IF !__CPU_GBZ80__ && !__CPU_INTEL__ SECTION smc_clib PUBLIC bit_fx2 PUBLIC _bit_fx2 INCLUDE "games/games.inc" EXTERN bit_open EXTE...
; A132727: a(n) = 3 * 2^(n-1) * a(n-1) with a(0) = 1. ; 1,3,18,216,5184,248832,23887872,4586471424,1761205026816,1352605460594688,2077601987473440768,6382393305518410039296,39213424469105111281434624,481854559876363607426268659712,11842057663521512016107978581082112,582060818277409358615739363217347969024,5721890667994...
; A020906: Triangle where n-th row is the first n terms of the sequence in reverse order, starting with a(1) = 1 and a(2) = 2. ; 1,2,1,1,2,1,1,1,2,1,2,1,1,2,1,1,2,1,1,2,1,1,1,2,1,1,2,1,1,1,1,2,1,1,2,1,2,1,1,1,2,1,1,2,1,1,2,1,1,1,2,1,1,2,1,2,1,2,1,1,1,2,1,1,2,1,1,2,1,2,1,1,1,2,1,1,2,1,1,1,2,1,2,1,1,1,2,1,1 lpb $0 seq...
.mode dbg .stack 1 .text cvti2f r6,r2 cvti2f r7,r1 movi2fp f0,r6 movi2fp f1,r7 addf f2,f0,f1 subf f3,f0,f1 cvtf2i f4,f2 cvtf2i f5,f3
;; encoding: utf-8 ; ff3_commands.asm ; ; description: ; replaces command handlers ; ; version: ; 0.9 (2018-12-17) ; ; note: ; 'ff3_executeAction.asm' and 'ff3_command_window.asm' must be included before this file ;==============================================================================================...
// Copyright (c) YugaByte, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
#include "Vector2DI.h" #include "Vector2DF.h" namespace altseed { Vector2DI::Vector2DI() : X(0), Y(0) {} Vector2DI::Vector2DI(int32_t x, int32_t y) : X(x), Y(y) {} bool Vector2DI::operator==(const Vector2DI& right) { return X == right.X && Y == right.Y; } bool Vector2DI::operator!=(const Vector2DI& right) { return ...
INCLUDE "hardware.inc" SECTION "Helper Functions",HOME ;-------------------------------------------------------------------------- ;- wait_ly() b = ly to wait for - ;-------------------------------------------------------------------------- wait_ly:: ld c,rLY & $FF .no...
; intmax_t strtoimax(const char *nptr, char **endptr, int base) SECTION code_clib SECTION code_inttypes PUBLIC asm_strtoimax EXTERN asm_strtol defc asm_strtoimax = asm_strtol
; A080335: Diagonal in square spiral or maze arrangement of natural numbers. ; 1,5,9,17,25,37,49,65,81,101,121,145,169,197,225,257,289,325,361,401,441,485,529,577,625,677,729,785,841,901,961,1025,1089,1157,1225,1297,1369,1445,1521,1601,1681,1765,1849,1937,2025,2117,2209,2305,2401,2501,2601,2705,2809,2917,3025,3137,3249...
db 0 ; species ID placeholder db 55, 40, 85, 40, 80, 105 ; hp atk def spd sat sdf db NORMAL, FLYING ; type db 75 ; catch rate db 114 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F12_5 ; gender ratio db 100 ; unknown 1 db 10 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/togeti...
; A229803: Domination number for rook graph HR(n) on a triangular board of hexagonal cells. The rook can move along any row of adjacent cells, in any of the three directions. ; 1,1,2,2,3,3,3,4,4,5,5,6,6,7,7,8,8,9,9,9 mul $0,6 add $0,15 div $0,13
// // Created by limenghua on 18-3-12. // #include <iostream> #include <boost/config.hpp> #include "modulepp/module.h" #include "modulepp/plugin/plugin_config.h" #include "modulepp/plugin/plugin_module.h" #include "core/service.h" namespace my_namespace { using namespace modulepp; using modulepp::plugin::pl...
; A003893: a(n) = Fibonacci(n) mod 10. ; Coded manually 2021-03-31 by Simon Strandgaard, https://github.com/neoneye ; 0,1,1,2,3,5,8,3,1,4,5,9,4,3,7,0,7,7,4,1,5,6,1,7,8,5,3,8,1,9,0,9,9,8,7,5,2,7,9,6,5,1,6,7,3,0,3,3,6,9,5,4,9,3,2,5,7,2,9,1,0,1,1,2,3,5,8,3,1,4,5,9,4,3,7,0,7,7,4,1,5,6,1,7,8,5,3,8,1,9,0,9,9,8,7,5,2,7,9,6,5,...
; A007844: Least positive integer k for which 3^n divides k!. ; 1,3,6,9,9,12,15,18,18,21,24,27,27,27,30,33,36,36,39,42,45,45,48,51,54,54,54,57,60,63,63,66,69,72,72,75,78,81,81,81,81,84,87,90,90,93,96,99,99,102,105,108,108,108,111,114,117,117,120,123,126,126,129,132,135,135,135,138,141,144,144,147,150,153,153,156,159,16...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/chromeos/login/error_screen_handler.h" #include "base/time/time.h" #include "chrome/browser/chromeos/login/screens/...
.MODEL SMALL .DATA .CODE MAIN PROC MOV AX,@DATA MOV DX,AX MOV AX, 0 MOV BX, 1 MOV CX, 8 MOV DX , AX MOV DX, BX FIBO: MOV DX,AX ADD DX,BX ...
; A017395: a(n) = (11*n)^7. ; 0,19487171,2494357888,42618442977,319277809664,1522435234375,5455160701056,16048523266853,40867559636992,93206534790699,194871710000000,379749833583241,698260569735168,1222791080775407,2054210978157184,3329565857578125,5231047633534976,7996339888664083,11930436453209472,17419031429960369,2...
; A049386: Binary order of 2^n-th prime. ; 1,2,3,5,6,8,9,10,11,12,13,15,16,17,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72 mov $2,$0 mul $0,3 lpb $0 sub $0,1 div $0,2 add $1,$2 mov $2,1 lpe mov $3,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1bf52, %r9 nop nop nop nop nop add $9864, %r13 mov $0x6162636465666768, %rsi movq %rsi, (%r9) nop nop nop nop nop inc %rcx lea addresses_D_ht+0x16466, %rsi lea addresses_D_ht+...
;************************************************************************** ;* ;* FILE playerdata.asm ;* Copyright (c) 1994, 2003 Daniel Kahlin <daniel@kahlin.net> ;* Written by Daniel Kahlin <daniel@kahlin.net> ;* $Id: playerdata.asm,v 1.14 2003/08/09 19:12:23 tlr Exp $ ;* ;* DESCRIPTION ;* The actual music data in...
namespace menu { seek(codeCursor) //Bahamut Lagoon shares a lot of code routines between each screen, //which interferes greatly with tile allocation strategies. //the dispatcher attempts to record when screens are entered into, //in order to disambiguate shared routines, and call handlers for //specific screens inst...
/** * Copyright 2018 The Android Open Source Project * * 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 applic...
// 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 "components/webdata/common/web_database_table.h" WebDatabaseTable::WebDatabaseTable() : db_(nullptr), meta_table_(nullptr) {} WebDatabaseTab...
; A120892: a(n)=3*a(n-1)+3*a(n-2)-a(n-3);a(0)=1,a(1)=0,a(2)=3. a(n)=4*{a(n-1)+(-1)^n}-a(n-2);a(0)=1,a(1)=0. ; 1,0,3,8,33,120,451,1680,6273,23408,87363,326040,1216801,4541160,16947843,63250208,236052993,880961760,3287794051,12270214440,45793063713,170902040408,637815097923,2380358351280,8883618307201,33154114877520,1237...