text
stringlengths
1
1.05M
; A188732: Decimal expansion of (5+sqrt(61))/6. ; Submitted by Jon Maiga ; 2,1,3,5,0,4,1,6,1,2,6,5,1,1,0,9,0,6,5,6,8,8,2,8,7,1,2,2,6,2,6,5,1,6,9,0,2,2,6,1,3,8,4,1,8,9,4,4,1,4,2,7,2,1,6,6,9,6,2,0,7,2,9,3,3,6,5,1,3,0,9,3,1,4,8,9,4,5,4,5,0,9,0,7,0,9,0,5,5,0,8,7,1,1,1,6,7,4,8,2 mov $1,1 mov $3,$0 mul $3,4 lpb $3 add $1,...
; void heap_info_unlocked(void *heap, void *callback) SECTION code_alloc_malloc PUBLIC heap_info_unlocked EXTERN l0_heap_info_unlocked_callee heap_info_unlocked: pop af pop de pop bc push bc push de push af jp l0_heap_info_unlocked_callee
SFX_Fly_3_Ch1: unknownnoise0x20 2, 241, 18 unknownnoise0x20 2, 0, 0 unknownnoise0x20 2, 161, 18 unknownnoise0x20 2, 0, 0 unknownnoise0x20 2, 209, 18 unknownnoise0x20 2, 0, 0 unknownnoise0x20 2, 129, 18 unknownnoise0x20 2, 0, 0 unknownnoise0x20 2, 177, 18 unknownnoise0x20 2, 0, 0 unknownnoise0x20 2, 97, 18 u...
ori $ra,$ra,0xf ori $5,$6,34618 mthi $5 mfhi $4 mflo $1 mult $6,$6 lui $4,29084 mult $0,$2 mtlo $4 mtlo $5 sb $1,0($0) divu $4,$ra srav $0,$4,$4 mthi $0 mthi $1 srav $3,$5,$3 lui $2,27209 addiu $5,$2,4312 sll $6,$2,6 div $1,$ra lui $0,60233 div $5,$ra mflo $1 div $1,$ra lb $1,15($0) lui $1,41704 div $2,$ra mfhi $0 mthi...
// // Add --log_level=message to see the messages! // #define BOOST_TEST_MODULE "Layer Updaters Tests" #include <boost/test/unit_test.hpp> #include <sstream> #include "core/types.h" #include "core/utils.h" #include "core/updaters.h" #include "test_utils.h" #include "timer.h" #include "mnist_test.h" using namespace ...
; A051494: Expansion of (1 - x + x^2 + x^3)/(1 - x^2)^3. ; 1,-1,4,-2,9,-3,16,-4,25,-5,36,-6,49,-7,64,-8,81,-9,100,-10,121,-11,144,-12,169,-13,196,-14,225,-15,256,-16,289,-17,324,-18,361,-19,400,-20,441,-21,484,-22,529,-23,576,-24,625,-25,676,-26,729,-27,784,-28,841,-29,900,-30,961,-31,1024,-32,1089,-33,1156,-34,1225,-3...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x17b5e, %r11 nop nop cmp $64876, %rdi mov (%r11), %r12w nop nop nop nop nop dec %rbp lea addresses_UC_ht+0xfee6, %r10 nop inc %rsi mov $0x6162636465666768, %rbp movq %rbp, %x...
-- 7 Billion Humans (2053) -- -- 2: Welcome, New Employees -- -- Author: soerface -- Size: 3 -- Speed: 1 step s pickup c drop
// dear imgui, v1.68 WIP // (main code and documentation) // Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. // Newcomers, read 'Programmer guide' below for notes on how to setup Dear ImGui in your codebase. // Get latest version at https://github.com/ocornut/imgui // Releases change-log at http...
;Tyler Wilding ;DESKTOP-EVD5HKS ;8/8/2016 11:02:59 AM ;Question_C ;Implement the following C++ expression in assembly language, using 32-bit signed ;operands: ; val1 = (val2 / val3) * (val1 + val2) INCLUDE Irvine32.inc .data val1 SDWORD 1 val2 SDWORD 6 val3 SDWORD 3 .co...
// ヘッダのインクルード // 独自のヘッダ #include "height_max.h" // class_height_max // メンバの定義 // メンバ関数max int class_height_max::max(class_measurable objs[], int size){ // 変数の初期化. int max_height = -1; // int型max_heightを-1で初期化. // 幅の最大値を求める. for (int i = 0; i < size; i++){ // height_を比較 if (max_height < objs[i].heigh...
swap: pushq (%RSI) pushq (%RDI) popq (%RSI) popq (%RDI) retq
; Small C+ Z88 Support Library ; ; Convert signed long to int ; NB. This routine will only work if long < +/-32767ish (obvious) SECTION code_l_sccz80 PUBLIC l_long2int_s l_long2int_s: ; copy sign of d into h ld a,d xor h ret p and $80 xor h ld h,a ret
SECTION code_clib SECTION code_fp_math48 PUBLIC _log10 EXTERN cm48_sdccix_log10 defc _log10 = cm48_sdccix_log10
; Palettes to be used by various maps. ; Each byte in map_palette_sets.asm refers to one of these palettes. MapPalettes: ; 0x00: GAMEFREAK_GRAY RGB 31,31,31 RGB 21,21,21 RGB 12,12,12 RGB 0,0,0 ; 0x01: OUTDOOR_GRAY RGB 27,31,27 RGB 21,21,21 RGB 13,13,13 RGB 7,7,7 ; 0x02: OUTDOOR_RED RGB 27,31,27 RGB 31,19,2...
; A284850: a(n) = 4^n - 3^n - n. ; 0,5,34,171,776,3361,14190,58967,242452,989517,4017146,16245763,65514528,263652473,1059392902,4251920559,17050729004,68332056229,273715645458,1096024843355,4387586157880,17560804984785,70274600998814,281192547174151,1125052618233156,4501057761542141 mov $4,$0 sub $0,1 mov $6,2 add $6,...
; A142151: a(n) = OR{k XOR (n-k): 0<=k<=n}. ; Submitted by Jon Maiga ; 0,1,2,3,6,5,6,7,14,13,14,11,14,13,14,15,30,29,30,27,30,29,30,23,30,29,30,27,30,29,30,31,62,61,62,59,62,61,62,55,62,61,62,59,62,61,62,47,62,61,62,59,62,61,62,55,62,61,62,59,62,61,62,63,126,125,126,123,126,125,126,119,126,125,126,123,126,125,126,111,1...
; ; file: dmax.asm global _dmax segment _TEXT public align=1 class=CODE use32 ; function _dmax ; returns the larger of its two double arguments ; C prototype ; double dmax( double d1, double d2 ) ; Parameters: ; d1 - first double ; d2 - second double ; Return value: ; larger of d1 and d2 (in ST0) ; nex...
; DRAW OR SPRITE 2 BYTE DEFINITION ROTATED, ON LEFT BORDER ; 01.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version INCLUDE "clib_target_cfg.asm" SECTION code_clib SECTION code_temp_sp1 PUBLIC _SP1_DRAW_OR2LB EXTERN _SP1_DRAW_OR2NR EXTERN SP1RETSPRDRAW ; following data segment copied into struct sp1_cs ...
#include <algorithm> #include <set> #include "cm_abilities.h" #include "cm_actor.h" #include "cm_game_world.h" #include "cm_logger.h" #include "cm_effect.h" #include "cm_random.h" #include "cm_enemy.h" namespace cm { // AbilitySet void AbilitySet::SetAbility(int slot, std::unique_ptr<Ability> ability) { ...
%ifdef CONFIG { "RegData": { "XMM0": ["0x4142434445464748", "0x5152535455565758"], "XMM1": ["0x4142434445464748", "0x5152535455565758"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0 mov [rdx + 8 * 0], rax mov [rdx + 8 * 1], rax mov rax, 0x4142434445464748 m...
; ============================================================================= ; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems ; Copyright (C) 2008-2016 Return Infinity -- see LICENSE.TXT ; ; System Call Section -- Accessible to user programs ; ========================================================...
; A008818: Expansion of (1+2*x^3+x^4)/((1-x^2)^2*(1-x^4)); Molien series for 3-dimensional representation of group 2x = [ 2+,4+ ] = CC_4 = C4. ; 1,0,2,2,5,4,8,8,13,12,18,18,25,24,32,32,41,40,50,50,61,60,72,72,85,84,98,98,113,112,128,128,145,144,162,162,181,180,200,200,221,220,242,242,265,264,288,288,313,312,338,338,365...
; A049716: a(n) = 2*n + 1 - prevprime(2*n + 1). ; Submitted by Jamie Morken(s3) ; 1,2,2,2,4,2,2,4,2,2,4,2,4,6,2,2,4,6,2,4,2,2,4,2,4,6,2,4,6,2,2,4,6,2,4,2,2,4,6,2,4,2,4,6,2,4,6,8,2,4,2,2,4,2,2,4,2,4,6,8,10,12,14,2,4,2,4,6,2,2,4,6,8,10,2,2,4,6,2,4,6,2,4,2,4,6,2,4,6,2,2,4,6,8,10,2,2,4,2,2 mul $0,2 add $0,1 seq $0,64722 ;...
// // Color chooser test program for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2018 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see th...
#include "hello.h" std::string hello() { return "hello"; }
; A160927: a(n) = n + reversal(n-1). ; 1,3,5,7,9,11,13,15,17,19,12,23,34,45,56,67,78,89,100,111,23,34,45,56,67,78,89,100,111,122,34,45,56,67,78,89,100,111,122,133,45,56,67,78,89,100,111,122,133,144,56,67,78,89,100,111,122,133,144,155,67,78,89,100 mov $1,$0 seq $1,4086 ; Read n backwards (referred to as R(n) in many se...
; A051927: Number of independent vertex sets in the n-prism graph Y_n = K_2 X C_n (n > 2). ; Submitted by Jon Maiga ; 3,1,7,13,35,81,199,477,1155,2785,6727,16237,39203,94641,228487,551613,1331715,3215041,7761799,18738637,45239075,109216785,263672647,636562077,1536796803,3710155681,8957108167,21624372013,52205852195,126...
;------------------------------------------------- ; libScroller ; ----------- ;------------------------------------------------- ;--------------------------------------- ; UpdateLayerPos ; -------------- ; [Input] ; X register : position type ; 0 - Layer1 X ; 2 - Layer1 Y ; 4 - Layer2 X ...
; uint __FASTCALL__ zx_aaddr2cx(void *attraddr) ; aralbrec 06.2007 XLIB zx_aaddr2cx .zx_aaddr2cx ld a,l and $1f ld l,a ld h,0 ret
; A176058: Decimal expansion of (3+sqrt(15))/2. ; Submitted by Jon Maiga ; 3,4,3,6,4,9,1,6,7,3,1,0,3,7,0,8,4,4,2,5,8,9,6,3,2,6,9,9,8,9,1,1,9,9,8,0,5,4,1,6,4,6,0,8,5,2,6,4,5,7,9,5,4,1,3,2,9,3,7,8,6,8,8,3,0,5,6,7,4,1,5,4,5,9,6,8,4,8,9,5,1,6,7,5,9,6,4,3,6,8,8,4,2,9,3,3,6,7,5,8 mov $1,3 mov $2,1 mov $3,$0 mul $3,2 lpb $3 ...
;/*********************** (C) COPYRIGHT 2010 Libraworks ************************* ;* File Name : os_cpu_a.asm ;* Author : Librae ;* Version : V1.0 ;* Date : 06/10/2010 ;* Description : μCOS-II asm port for STM32 ;*******************************************************************************/ IMPORT OSRunning...
; A302338: a(n) = 3*n + 2^v(n) where v(n) denotes the 2-adic valuation of n. ; 4,8,10,16,16,20,22,32,28,32,34,40,40,44,46,64,52,56,58,64,64,68,70,80,76,80,82,88,88,92,94,128,100,104,106,112,112,116,118,128,124,128,130,136,136,140,142,160,148,152,154,160,160,164,166,176,172,176,178,184,184,188,190,256,196,200,202,208,20...
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/client/World.h" #include "carla/Logging.h" #include "carla/client/Actor.h" #in...
; A029609: Central numbers in the (2,3)-Pascal triangle A029600. ; Submitted by Jon Maiga ; 1,5,15,50,175,630,2310,8580,32175,121550,461890,1763580,6760390,26001500,100291500,387793800,1502700975,5834015550,22687838250,88363159500,344616322050,1345644686100,5260247409300,20583576819000,80619009207750,316026516094380,12...
SECTION code_driver SECTION code_driver_terminal_output PUBLIC console_01_output_char_proc_move_right EXTERN console_01_output_char_proc_move_down EXTERN console_01_output_char_proc_move_down_check_y console_01_output_char_proc_move_right: ; move right, wrap, snap to window ; ; enter : e = x coord ; ...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; char *strchr(const char *s, int c) ; ; Return ptr to first occurrence of c in string s or NULL ; if c is not found. ; ; ===================================================...
/***************************************************************************************/ /* Tabulate the tensor for the local element contribution */ void SpecificFEM::Tabulate_Tensor(const CLASS_geom_Gamma_embedded_in_Omega_restricted_to_Gamma& Mesh) { const unsigned int NQ = 5; // Compute element tensor usi...
bootblock.o: 文件格式 elf32-i386 Disassembly of section .text: 00007c00 <start>: # with %cs=0 %ip=7c00. .code16 # Assemble for 16-bit mode .globl start start: cli # BIOS enabled interrupts; disable 7c00: fa cli # Zero data segment regist...
0, 0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0
; Copyright (c) 2009-2012, Michael Alyn Miller <malyn@strangeGizmo.com>. ; 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 notic...
copyright zengfr site:http://github.com/zengfr/romhack 00818E move.b ($30,A0), ($79,A1) [123p+ 86] 008194 bra $7e4a [123p+ 79, enemy+79] 008784 move.w ($3a,A0), ($6a,A1) [123p+ 79, enemy+79] 0094DC move.b ($30,A0), D6 [enemy+79] 022CEC move.b D0, ($79,A0) 022CF0 lea ($e0,A0), A0 copyright zengfr si...
Name: ys_boss1.asm Type: file Size: 72901 Last-Modified: '2016-05-13T04:51:16Z' SHA-1: AAC9DDADCD2E5ED17D88C3C33518E90DC6A064F2 Description: null
; CRT0 for the Sharp OZ family ; ; Stefano Bodrato 13 Aug. 2002 ; ; Mix of the Dominic's work and the Hi-Tech C modifications ; by the OZDEV team (Alexander R. Pruss, Green, etc..) ; ; all the "$" prefixes have been changed to "s_"; ; the "$sp$" label is been changed to "s_sp". ; ; the "-DOZDK" enables the...
; A061420: a(n) = a(ceiling((n-1)*2/3)) + 1 with a(0) = 0. ; 0,1,2,3,3,4,4,4,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,...
/* Copyright 2015 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...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // ============================================================ // // AssemblyBinder.hpp // // // Defines the AssemblyBinder class // // ============================================...
; A112704: Partial sum of Catalan numbers A000108 multiplied by powers of 10. ; Submitted by Christian Krause ; 1,11,211,5211,145211,4345211,136345211,4426345211,147426345211,5009426345211,172969426345211,6051569426345211,214063569426345211,7643063569426345211,275087063569426345211,9969932063569426345211 lpb $0 mul ...
#include <iostream> #include <sstream> #include "priorityQueueLL.h" using namespace std; PriorityQueue::PriorityQueue(){ } PriorityQueue::PriorityQueue(string inName, int inTimeToDelivery, int inTreatmentTime){ Patient *newp = new Patient(inName, inTimeToDelivery, inTreatmentTime); head = newp; } PriorityQueue...
; A146880: A symmetrical triangle sequence of coefficients : p(x,n)=If[n == 0, 1, (x + 1)^n + Sum[(1 + Mod[Binomial[n, m], 2])*x^m*(1 + x^(n - 2*m)), {m, 1, n - 1}]]. ; 1,1,1,1,4,1,1,7,7,1,1,6,8,6,1,1,9,12,12,9,1,1,8,19,22,19,8,1,1,11,25,39,39,25,11,1,1,10,30,58,72,58,30,10,1,1,13,38,86,128,128,86,38,13,1,1,12,49,122,2...
;; Tells the assembler that we're bootsector & sets our offset in memory. [org 0x7c00] mov [BOOT_DRIVE], dl ; BIOS stores our boot drive in dl. mov bp, 0x9000 ; Sets the stack. mov sp, bp mov bx, STR_REAL_MODE call puts16 call load_kernel call switch_to_pm ...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
/* Copyright 2015 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...
InitialiseAll: lda #0 .assembler_controlhandler lda #0 .device_controlhandler lda #0 .interaction_controlhandler lda #0 .main_controlhandler lda #0 .string_controlhandler lda #0 .tokeniser_controlhandler lda #0 .variable_controlhandler rts
#include "drape_frontend/frontend_renderer.hpp" #include "drape_frontend/animation/interpolation_holder.hpp" #include "drape_frontend/animation_system.hpp" #include "drape_frontend/debug_rect_renderer.hpp" #include "drape_frontend/drape_measurer.hpp" #include "drape_frontend/drape_notifier.hpp" #include "drape_frontend...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1ad26, %r9 dec %r8 mov $0x6162636465666768, %rcx movq %rcx, %xmm4 and $0xffffffffffffffc0, %r9 movntdq %xmm4, (%r9) nop nop nop nop nop xor %r10, %r10 lea addresses_D_ht+0...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r9 push %rax push %rbp push %rsi lea addresses_UC_ht+0x13d4b, %r11 dec %rsi movl $0x61626364, (%r11) nop nop nop nop nop and %rax, %rax lea addresses_WT_ht+0x9aab, %rsi nop nop and $3270, %r12 mov $0x6162636465666768, %rbp movq %rbp, (%rsi...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2017-2019 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifdef HAVE_CONFIG_H #include "conf...
; ; Startup for the CCE MC-1000 ; ; Stefano Bodrato - Feb. 2013 ; ; $Id: mc1000_crt0.asm,v 1.22 2016/07/15 21:03:25 dom Exp $ ; ; There are a couple of #pragma optimization directives ; this file: ; ; #pragma output nostreams - No stdio disc files ; #pragma output nogfx - Saves memory...
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include <cstdio> #include "PatchConsOperator.H" #include "FourthOrderUtil.H...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: ConView Library MODULE: Main FILE: mainSpecialLink.asm AUTHOR: Cassie Hartzog, January 26, 1995 MESSAGES: ROUTINES: Name Description ---- ----------- ...
// Fill out your copyright notice in the Description page of Project Settings. #include "EZOnlineFunctionLibrary.h" #include "IPAddress.h" #include "SocketSubsystem.h" #include "Engine/Engine.h" #include "Engine/GameInstance.h" #include "Engine/World.h" #include "Engine/LocalPlayer.h" #include "OnlineSubsystemTypes.h"...
; A145068: Zero followed by partial sums of A059100, starting at n=1. ; 0,3,9,20,38,65,103,154,220,303,405,528,674,845,1043,1270,1528,1819,2145,2508,2910,3353,3839,4370,4948,5575,6253,6984,7770,8613,9515,10478,11504,12595,13753,14980,16278,17649,19095,20618,22220,23903,25669 mov $2,2 lpb $0 add $2,$0 sub $0,1 ad...
// seed 8 lbi r0, 128 // icount 0 slbi r0, 0 // icount 1 lbi r1, 128 // icount 2 slbi r1, 0 // icount 3 lbi r2, 128 // icount 4 slbi r2, 0 // icount 5 lbi r3, 128 // icount 6 slbi r3, 0 // icount 7 lbi r4, 128 // icount 8 slbi r4, 0 // icount 9 lbi r5, 128 // icount 10 slbi r5, 0 // icount 11 lbi r6, 128 // icount 12 s...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 40 call lwaitly_b ld a, 40 ldff(41), a ld a, 02 ldff(ff), a xor a, a ldff(0f), a ei ld a, 44 ldff(45), a .text@1000 lstatint: nop .text@1020 ld a, 77 ldff(44), a ldff a, (41) jp lprin...
// 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 <time.h> #include <algorithm> #include <sstream> #include <string> #include "base/memory/scoped_ptr.h" #include "base/message_loop/message_...
; lzo1x_f2.asm -- lzo1x_decompress_asm_fast_safe ; ; This file is part of the LZO real-time data compression library. ; ; Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x888e, %rsi lea addresses_UC_ht+0x37ef, %rdi nop inc %r14 mov $100, %rcx rep movsw nop nop and $28437, %rdx lea addresses_D_ht+0x134c5, %r10 nop sub %rbp, %rbp mov (%r10), %r...
; A215555: a(n) = binomial(11*n,n)*(9*n+1)/(10*n+1). ; Submitted by Jon Maiga ; 1,10,209,4928,122507,3137706,81921840,2167714560,57928578191,1559830082888,42254306265171,1150225193717600,31437550449182800,862165662720962754,23713320186494219820,653855026849948319616,18068367354658442882775,500254126810079793897130,1387...
; Inicialização para VM leaw $Main.main, %A jmp nop ; 0 - Declarando função mult mult: leaw $0,%A movw %A,%D leaw $SP,%A movw (%A),%A movw %D,(%A) leaw $SP,%A movw (%A),%D incw %D movw %D,(%A) leaw $0,%A movw %A,%D leaw $SP,%A movw (%A),%A movw %D,(%A) leaw $SP,%A movw (%A),%D incw %D movw %D,(%A) ; 1 - PUSH constant 0...
/** * Copyright 2019-2021 Huawei Technologies 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 applicabl...
#ifndef __SCENE_H__ #define __SCENE_H__ #include "light.hpp" #include "Objects.hpp" class Scene { public: Scene(std::vector<float> cam_param, std::vector<float> light_param, std::vector<glm::vec3> floor_param); void object_init(glm::vec3 position = glm::vec3(0,0,0), glm::vec3 rotation = glm::vec3(0,...
; A166648: Totally multiplicative sequence with a(p) = 8*(p+1) for prime p. ; Submitted by Jon Maiga ; 1,24,32,576,48,768,64,13824,1024,1152,96,18432,112,1536,1536,331776,144,24576,160,27648,2048,2304,192,442368,2304,2688,32768,36864,240,36864,256,7962624,3072,3456,3072,589824,304,3840,3584,663552,336,49152,352,55296,4...
section .data msg1 db'enter the size of array',0ax len1 equ $-msg1 msg2 db'the average is',0ax len2 equ $-msg2 msg3 db'count of numbers above average is:',0ax len3 equ $-msg3 section .bss num resd 1 size resd 1 temp resb 1 num1 resd 1 count resd 1 array resd 100 counter resd 1 sum resd 1 section .text global _start: ...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Buffer Definitions: // // cbuffer cb // { // // row_major float4x4 g_matWVP; // Offset: 0 Size: 64 // float2 g_tess_edge_length_scale; // Offset: 64 Size: 8 // int num_triangles; // Offset: 72...
.include "m328Pdef.inc" .org 0x000 _blinks: ldi r23, 0xa add r24, r23 clr r1 clr r25 ret
; A092270: If n mod 2 == 0 then 3^n else 2^n. ; 1,2,9,8,81,32,729,128,6561,512,59049,2048,531441,8192,4782969,32768,43046721,131072,387420489,524288,3486784401,2097152,31381059609,8388608,282429536481,33554432,2541865828329,134217728,22876792454961,536870912,205891132094649 mov $1,$0 gcd $0,2 add $0,1 pow $0,$1
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: GEOS MODULE: Bitmap Library FILE: drawRectTool.asm AUTHOR: Steve Yegge, Oct 6, 1992 REVISION HISTORY: Name Date Description ---- ---- ----------- SY 10/ 6...
; A056120: a(n) = (3^3)*4^(n-3) with a(0)=1, a(1)=1 and a(2)=7. ; 1,1,7,27,108,432,1728,6912,27648,110592,442368,1769472,7077888,28311552,113246208,452984832,1811939328,7247757312,28991029248,115964116992,463856467968,1855425871872 mov $1,3 lpb $0,1 sub $0,1 mul $1,2 lpe mov $2,$1 mul $1,2 mul $1,$2 div $1,16 sub ...
; A054567: a(n) = 4*n^2 - 7*n + 4. ; 1,6,19,40,69,106,151,204,265,334,411,496,589,690,799,916,1041,1174,1315,1464,1621,1786,1959,2140,2329,2526,2731,2944,3165,3394,3631,3876,4129,4390,4659,4936,5221,5514,5815,6124,6441,6766,7099,7440,7789,8146,8511,8884,9265,9654,10051,10456,10869,11290,11719,12156,12601,13054,13515,13...
; A074155: Group the natural numbers so that the product of members of a group is a multiple of the sum: (1),(2,3,4,5,6),(7,8,9),(10,11,12),(13,14,15),(16,17,18),(19,20,21),(22,23,24),.... This is the sequence of the ratio of product /sum. ; 1,36,21,40,65,96,133,176,225,280,341,408,481,560,645,736,833,936,1045,1160,128...
// Bindings for the python frontend #include <optional> #include <string> #include "taichi/ir/snode.h" #if TI_WITH_LLVM #include "llvm/Config/llvm-config.h" #endif #include "pybind11/functional.h" #include "pybind11/pybind11.h" #include "pybind11/eigen.h" #include "pybind11/numpy.h" #include "taichi/ir/expression_o...
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Car_Icon.asm R.J.Evans 4/11/17 Section 001 ; ; Icon colors per pixel for an 8x8 car icon ; ; .ORIG x4000 Car_Icon .FILL x0000 .FILL x0000 .FILL x0000 .FILL x0000 .FILL x0000 .FILL x0000 .FILL x0000 .FILL x0000 .FI...
#include "SignalProcessing.h" /* * SignalProcessing.cpp * * Created on: Dec 6, 2018 * Author: JD */ constexpr COMPUTATION_TYPE hanning_window(int n, int total) { return std::sin(PI * n / (total - 1)) * sin(PI * n / (total - 1)); } constexpr COMPUTATION_TYPE real_filter(int n, int total) { return st...
; A107858: a(n) = b(k), where b(k) = Fibonacci(n-1) and k = floor( n*(1+sqrt(5))/2 ). ; 1,1,2,3,7,11,28,45,117,189,494,799,2091,3383,8856,14329,37513,60697,158906,257115,673135,1089155,2851444,4613733,12078909,19544085,51167078,82790071,216747219,350704367,918155952,1485607537,3889371025 mul $0,6 div $0,4 seq $0,18710...
PewterCityObject: db $a ; border block db $7 ; warps db $7, $e, $0, MUSEUM_1F db $5, $14, $2, MUSEUM_1F db $11, $10, $0, PEWTER_GYM db $d, $1d, $0, PEWTER_HOUSE_1 db $11, $17, $0, PEWTER_MART db $1d, $7, $0, PEWTER_HOUSE_2 db $19, $d, $0, PEWTER_POKECENTER db $7 ; signs db $1d, $13, $6 ; PewterCityText6 d...
.intel_syntax noprefix .global _Z4mainv .global _Z10Start_Testv .section .text #.text _Z10Start_Testv: mov ecx, 6 #Return_Value100, 6 jmp Return_Here_132 #Return_Here_132 Return_Here_132: mov r8d, ecx #REG_Return_Value1000, Return_Value100 mov r9, rdx #REG_Return_Value1000_REMAINDER28253, REMAINDER_6868 ...
// Copyright (c) 2019-2020 The Ocvcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <bench/bench.h> #include <crypto/chacha20.h> /* Number of bytes to process per iteration */ static const uint64_t ...
INCLUDE "./src/include/hardware.inc" INCLUDE "./src/include/util.inc" INCLUDE "./src/include/hUGE.inc" INCLUDE "./src/definitions/definitions.inc" DEF GAME_TIMER_INCREMENT EQU $04 SECTION "Game Level WRAM", WRAM0 wGameLevelTileMap:: ds 1024 ; Every game level is made of 1024 tiles. .end:: wGameTimer:: ds 2 ;...
; ; 6502 LFSR PRNG - 16-bit ; Brad Smith, 2019 ; http://rainwarrior.ca ; ; A 16-bit Galois LFSR ; Possible feedback values that generate a full 65535 step sequence: ; $2D = %00101101 ; $39 = %00111001 ; $3F = %00111111 ; $53 = %01010011 ; $BD = %10111101 ; $D7 = %11010111 ; $39 is chosen for its compact bit pattern ...
; A052200: Number of n-state, 2-symbol, d+ in {LEFT, RIGHT}, 5-tuple (q, s, q+, s+, d+) (halting or not) Turing machines. ; 1,64,20736,16777216,25600000000,63403380965376,232218265089212416,1180591620717411303424,7958661109946400884391936,68719476736000000000000000000,739696442014594807059393047166976,97119675412955800...
; $Id: bit_fx3.asm,v 1.4 2016/04/23 21:06:32 dom Exp $ ; ; Generic platform sound effects module. ; Alternate sound library by Stefano Bodrato ; SECTION code_clib PUBLIC bit_fx3 PUBLIC _bit_fx3 INCLUDE "games/games.inc" EXTERN bit_open EXTER...
; A348312: a(n) = n! * Sum_{k=0..n-1} 3^k / k!. ; Submitted by Jamie Morken(s2) ; 0,1,8,51,312,1965,13248,97839,800208,7260921,72806040,801515979,9620317512,125071036389,1751016829968,26265324194055,420245416687392,7144172815479921,128595113003161512,2443307154421058019,48866143111666389720,1026189005418216656541,22576...
// 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/views/confirm_bubble_views.h" #include <utility> #include "chrome/browser/ui/browser_dialogs.h" #include "chrome/browser...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x6d57, %rsi lea addresses_UC_ht+0xac97, %rdi clflush (%rsi) nop nop nop nop sub %r12, %r12 mov $124, %rcx rep movsq nop nop nop nop sub $60959, %r10 lea addresses_normal_ht+0x80fb, %rsi lea addr...
; A037758: Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1,2. ; Submitted by Christian Krause ; 3,12,49,198,795,3180,12721,50886,203547,814188,3256753,13027014,52108059,208432236,833728945,3334915782,13339663131,53358652524,213434610097,853738440390,3414953761563,136598...
[BotW_Gamespeed_V208] moduleMatches = 0x6267BFD0 .origin = codecave # Constants const_0.0: .float 0.0 const_0.5: .float 0.5 const_1: .float 1 const_1.5: .float 1.5 const_30: .float 30 busSpeed: .float 62156250 convSub: .uint 0x43300000 .uint 0x80000000 # Variables ; Cemu doesn't parse the variables correctly u...
/* This file is part of the PhantomJS project from Ofi Labs. Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2011 Ivan De Marino <ivan.de.marino@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following cond...
; A288712: Positions of 0 in A288711; complement of A288713. ; 2,3,4,5,6,8,9,10,11,12,14,15,16,18,19,20,21,22,24,25,26,27,28,30,31,32,34,35,36,37,38,40,41,42,44,45,46,47,48,50,51,52,53,54,56,57,58,60,61,62,63,64,66,67,68,69,70,72,73,74,76,77,78,79,80,82,83,84,86,87,88,89,90,92,93,94,95,96,98,99,100,102,103,104,105,106,...
; A049867: a(n)=Sum{a(k): k=0,1,2,...,n-4,n-2,n-1}; a(n-3) is not a summand; 3 initial terms required. ; Submitted by Stefano Spezia ; 1,1,4,5,10,17,33,61,115,214,400,746,1393,2600,4854,9061,16915,31576,58945,110036,205411,383453,715815,1336255,2494468,4656574,8692708,16227203,30292300,56548466,105562437,197059777,3678...