text
stringlengths
1
1.05M
; float _fmul2 (float number) __z88dk_fastcall SECTION code_clib SECTION code_fp_am9511 PUBLIC asm_fmul2 EXTERN asm_am9511_fmul2_fastcall ; Multiply a float by 2 ; ; enter : stack = ret ; DEHL = sccz80_float number ; ; exit : DEHL = 2 * sccz80_float ; ; uses : de, hl ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x17585, %r15 nop nop nop nop lfence movb $0x61, (%r15) nop nop nop xor %r12, %r12 lea addresses_WC_ht+0x14cf1, %rcx cmp $10208, %rbx mov $0x6162636465666768, %r10 movq %r1...
; int esxdos_f_fstat(uchar handle, void *buf) SECTION code_clib SECTION code_esxdos PUBLIC esxdos_f_fstat_callee EXTERN asm_esxdos_f_fstat esxdos_f_fstat_callee: pop af pop hl pop bc push af ld a,c jp asm_esxdos_f_fstat
; A057656: Number of points (x,y) in square lattice with (x-1/2)^2+y^2 <= n. ; 2,6,8,12,16,16,22,26,26,30,34,38,40,44,44,48,56,56,60,60,62,70,74,74,78,82,82,86,90,94,96,104,104,104,108,108,116,120,124,128,128,128,134,138,138,142,150,150,154,158,158,166,166,166,166,174 lpb $0 mov $2,$0 sub $0,1 seq $2,8441 ; Numb...
; A122507: Triangular in which row n contains first n terms of A018805. ; 1,1,3,1,3,7,1,3,7,11,1,3,7,11,19,1,3,7,11,19,23,1,3,7,11,19,23,35,1,3,7,11,19,23,35,43,1,3,7,11,19,23,35,43,55,1,3,7,11,19,23,35,43,55,63,1,3,7,11,19,23,35,43,55,63,83 seq $0,25675 ; Exponent of 8 (value of j) in n-th number of form 7^i*8^j. seq...
#ifndef OMG_DDS_TOPIC_ANY_TOPIC_DESCRIPTION_HPP_ #define OMG_DDS_TOPIC_ANY_TOPIC_DESCRIPTION_HPP_ /* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Corp. * Copyright 2010, Real-Time Innovations, Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "Licens...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r14 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0xc773, %r12 clflush (%r12) nop nop nop nop sub $24743, %r10 movb (%r12), %r14b nop nop nop nop xor $32409, %rcx lea addresses_WT_ht+0x18a3b, %r12 nop nop nop nop no...
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "fork test OK\n"); } int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push...
.extern err_display .extern hard_halt .global err_0_isr .type err_0_isr, @function err_0_isr: # divide by zero fault pusha cld mov $0,%edx call err_display popa call hard_halt .global err_1_isr .type err_1_isr, @function err_1_isr: # debug push...
; lzo1x_s1.asm -- lzo1x_decompress_asm ; ; 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) 2005 Markus...
// The MIT License (MIT) // // Copyright (c) 2017 Darrell Wright // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files( the "Software" ), to deal // in the Software without restriction, including without limitation the rights // to use,...
; A174836: a(n) = 1 + ((6*n-1)*2^n + (-1)^n)/3. ; 1,4,16,46,124,310,748,1750,4012,9046,20140,44374,96940,210262,453292,972118,2075308,4412758,9349804,19748182,41593516,87381334,183151276,383079766,799713964,1666536790,3467291308,7203018070,14942907052,30959555926,64066595500,132428158294 mov $2,$0 lpb $2 add $0,$1 ...
; A167300: Totally multiplicative sequence with a(p) = 8*(p-2) for prime p. ; Submitted by Jon Maiga ; 1,0,8,0,24,0,40,0,64,0,72,0,88,0,192,0,120,0,136,0,320,0,168,0,576,0,512,0,216,0,232,0,576,0,960,0,280,0,704,0,312,0,328,0,1536,0,360,0,1600,0,960,0,408,0,1728,0,1088,0,456,0,472,0,2560,0,2112,0,520,0,1344,0,552,0,568...
/** * @file timer_helper.cc * @brief 定时器辅助函数 * @author kurtlau * @date 2013-04-08 */ #include "timer_helper.h" namespace TimerHelper { int TimevalInterval(const struct timeval& tv1, const struct timeval& tv2) { return (tv1.tv_sec - tv2.tv_sec) * MILLISEC_PER_SEC + (tv1.tv_use...
; A113618: a(n) = 1 + 2*n + 3*n^2 + 4*n^3 + 5*n^4 + 6*n^5 + 7*n^6 + 8*n^7. ; 1,36,1793,24604,167481,756836,2620201,7526268,18831569,42374116,87654321,169343516,309160393,538155684,899445401,1451432956,2271560481,3460629668,5147732449,7495831836,10708033241,15034586596,20780659593 mov $2,$0 mov $3,8 lpb $3,1 mul $1,$...
/* * Copyright (c) 2013, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditi...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1994 -- All Rights Reserved PROJECT: MODULE: FILE: outboxRegister.asm AUTHOR: Adam de Boor, Apr 29, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Desc...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: sock_shutdown XLIB sock_shutdown LIB no_zsock INCLUDE "#packages.def" INCLUDE "#zsock.def" .sock_shutdown ld a,r_sock_shutdown call_pkg(tcp_all) ret nc ; We failed..are we installed? cp rc_pnf scf ;signa...
#include<iostream> using namespace std; int findS(int s) { if (s == 1) { return s; } if (s <= 2) { return -1; } if (s == 3) { return 2; } int l = 1, r = s / 2; while (l <= r) { int mid = (l + r) / 2; int sum = mid * (mid + 1) / 2; if (sum == s) { return mid; } else if (sum > s) { r = mid...
SECTION code_fp_math32 PUBLIC cm32_sccz80_sin EXTERN cm32_sccz80_fsread1, _m32_sinf cm32_sccz80_sin: call cm32_sccz80_fsread1 jp _m32_sinf
// Copyright WRLD Ltd (2018-), All Rights Reserved #include "SearchMenuSearchWithContextMessage.h" namespace ExampleApp { namespace SearchMenu { SearchMenuSearchWithContextMessage::SearchMenuSearchWithContextMessage(const std::string& searchQuery, ...
; A171480: a(n) = 6*a(n-1) - 8*a(n-2) + 4 for n > 1; a(0) = 1, a(1) = 9. ; 1,9,50,232,996,4124,16780,67692,271916,1089964,4364460,17467052,69886636,279583404,1118407340,4473776812,17895402156,71582198444,286329973420,1145322252972,4581293730476,18325184359084,73300756310700,293203062991532,1172812327463596,469124946084...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/algorithm/string/replace.hpp> #include <boost/filesystem.hpp> #inc...
; A190509: a(n) = n + [nr/s] + [nt/s] + [nu/s] where r=golden ratio, s=r^2, t=r^3, u=r^4, and [] represents the floor function. ; 4,11,15,22,29,33,40,44,51,58,62,69,76,80,87,91,98,105,109,116,120,127,134,138,145,152,156,163,167,174,181,185,192,199,203,210,214,221,228,232,239,243,250,257,261,268,275,279,286,290,297,304,...
; A041009: Denominators of continued fraction convergents to sqrt(7). ; Submitted by Christian Krause ; 1,1,2,3,14,17,31,48,223,271,494,765,3554,4319,7873,12192,56641,68833,125474,194307,902702,1097009,1999711,3096720,14386591,17483311,31869902,49353213,229282754,278635967,507918721,786554688,3654137473,4440692161,8094...
/* KJL 10:19:41 30/03/98 - ConsoleLog.hpp This file handles the mirroring of the console text to a log file. */ #ifndef ConsoleLog_h_included #define ConsoleLog_h_included extern void OutputToConsoleLogfile(char *messagePtr); extern void OutputBugReportToConsoleLogfile(char *messagePtr); #endif
; A044776: Numbers n such that string 6,3 occurs in the base 10 representation of n but not of n+1. ; Submitted by Christian Krause ; 63,163,263,363,463,563,639,663,763,863,963,1063,1163,1263,1363,1463,1563,1639,1663,1763,1863,1963,2063,2163,2263,2363,2463,2563,2639,2663,2763,2863,2963,3063,3163,3263,3363,3463,3563 ad...
#include "hash_functions.hpp" #include <fstream> #include <mhash.h> namespace organizer { static std::string hash_to_string( unsigned char const *const hash, unsigned const block_size ) { std::ostringstream string_builder; string_builder.fill( '0' ); ...
; A001823: Central factorial numbers: column 2 in triangle A008956. ; 0,9,259,1974,8778,28743,77077,179452,375972,725781,1312311,2249170,3686670,5818995,8892009,13211704,19153288,27170913,37808043,51708462,69627922,92446431,121181181,157000116,201236140,255401965,321205599,400566474,495632214,608796043,742714833,900327...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x8675, %r13 nop nop nop nop add %rbp, %rbp mov $0x6162636465666768, %rdx movq %rdx, %xmm3 and $0xffffffffffffffc0, %r13 movaps %xmm3, (%r13) nop nop cmp %r9, %r9 lea addresses_D_ht+0xdae...
; A157960: a(n) = 121*n^2 - n. ; 120,482,1086,1932,3020,4350,5922,7736,9792,12090,14630,17412,20436,23702,27210,30960,34952,39186,43662,48380,53340,58542,63986,69672,75600,81770,88182,94836,101732,108870,116250,123872,131736,139842,148190,156780,165612,174686,184002,193560,203360,213402,223686,234212,244980,255990,2672...
; A017398: a(n) = (11*n)^10. ; 0,25937424601,26559922791424,1531578985264449,27197360938418176,253295162119140625,1568336880910795776,7326680472586200649,27850097600940212224,90438207500880449001,259374246010000000000,672749994932560009201,1605976966052654874624,3575694237941010577249,7502520803928269464576,14956826027...
#include "MetaProperty.h" #include "MetaClass.h" #include "MetaAttribute.h" XE::MetaProperty::MetaProperty( const String & Name, bool IsStatic, bool IsConst, bool IsObject, bool IsPointer, bool IsSharedPtr, bool IsReference, MetaTypePtr Value, MetaClassPtr Owner, MetaModulePtr Module ) :MetaInfo( Name, MetaInfoType:...
// Copyright 2016 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 "ash/common/shelf/wm_shelf.h" #include "ash/common/shelf/shelf_controller.h" #include "ash/common/shelf/shelf_delegate.h" #include "ash/common/s...
; A190876: Numbers 1 through 8 together with numbers congruent to 9 mod 10. ; 1,2,3,4,5,6,7,8,9,19,29,39,49,59,69,79,89,99,109,119,129,139,149,159,169,179,189,199,209,219,229,239,249,259,269,279,289,299,309,319,329,339,349,359,369,379,389,399,409,419,429,439,449,459,469,479,489,499,509,519,529,539,549,559,569,579,589,5...
; A047544: Numbers that are congruent to {1, 3, 4, 7} mod 8. ; 1,3,4,7,9,11,12,15,17,19,20,23,25,27,28,31,33,35,36,39,41,43,44,47,49,51,52,55,57,59,60,63,65,67,68,71,73,75,76,79,81,83,84,87,89,91,92,95,97,99,100,103,105,107,108,111,113,115,116,119,121,123,124,127,129,131,132,135,137,139,140,143,145,147,148,151,153,155,...
; A184050: T(n,k) is the number of order-preserving and order-decreasing partial isometries (of an n-chain) with exactly k fixed points. ; Submitted by Christian Krause ; 1,1,1,2,2,1,5,3,3,1,12,4,6,4,1,27,5,10,10,5,1,58,6,15,20,15,6,1,121,7,21,35,35,21,7,1 lpb $0 add $1,1 sub $0,$1 mov $2,$1 sub $2,$0 lpe bin ...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "word_store.h" #include <vespa/searchlib/datastore/datastore.hpp> namespace search::memoryindex { constexpr size_t MIN_BUFFER_ARRAYS = 1024; WordStore::WordStore() : _store(), _n...
#ifdef SHASTA_HTTP_SERVER // Shasta. #include "LocalMarkerGraph.hpp" #include "ConsensusCaller.hpp" #include "Marker.hpp" #include "MemoryMappedVectorOfVectors.hpp" using namespace shasta; // Boost libraries. #include <boost/graph/graphviz.hpp> // Standard libraries. #include "fstream.hpp" // Write the graph in G...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xb9e6, %rsi lea addresses_UC_ht+0xe460, %rdi xor $9222, %r8 mov $84, %rcx rep movsb inc %r11 lea addresses_WT_ht+0x126b6, %rsi lea addresses_UC_ht+0x19c46, %rdi nop nop nop nop...
section .data msg1: db "Enter the 1st string :" len1: equ $-msg1 msg2: db "Enter the 2nd string :" len2: equ $-msg2 msg3: db "Enter your choice :" len3: equ $-msg3 msg4: db "-------------MENU--------------",0x0A db "1.Concatenate the String",0x0A db "2.Total Occurences of Substring",0x0A db "3.Exit",...
SECTION code_clib SECTION code_fp_math48 PUBLIC ___fsadd EXTERN cm48_sdccixp_dsadd defc ___fsadd = cm48_sdccixp_dsadd
// Copyright (c) 2015 The Chromium Embedded Framework 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 "include/base/cef_bind.h" #include "include/cef_pack_resources.h" #include "include/cef_request_context_handler.h" #includ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r15 push %rax push %rcx push %rdi push %rsi // REPMOV lea addresses_WC+0x1479b, %rsi lea addresses_A+0x921b, %rdi nop nop dec %rax mov $77, %rcx rep movsw nop nop nop nop nop xor %r15, %r15 // REPMOV l...
// Copyright (c) 2017 Cloudflare, Inc. and contributors // Licensed under the MIT License: // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitat...
; Try setting the origin/program counter to some ; dec/hex/binary values .ORG $0000 // Let's start at the beginning of code area .DEF UART 15 // This is the 300 baud UART port CLR A ` // Zero out the registers we'll work with since CLR B // the CPU reset in real life doesn't do that for us CLR ...
// Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8GCObservation.h" #include "binding...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC/GEOS FILE: keyboard.asm AUTHOR: Gene Anderson, Jul 8, 1991 REVISION HISTORY: Name Date Description ---- ---- ----------- Gene 7/ 8/91 Initial revision ...
#include <iostream> using namespace std; long long int iterations=0; long long int comparisons=0; long long int functionCalls=0; void insertSort(int *a,int n) { for (int i=1; i<n; ++i) { iterations++; int t=a[i]; int k; comparisons++; for (k=i-1; (k>=0)&&(a[k]>t); k--) { iterations++; comparison...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r8 push %rax push %rbp push %rbx push %rcx // Store lea addresses_WC+0x86e9, %rbp nop nop nop nop nop sub $3468, %rax mov $0x5152535455565758, %rbx movq %rbx, (%rbp) nop nop nop cmp %rbp, %rbp // Store...
generate_block: call procedure_delay ; Generamos un numero aleatorio mov bl,0x6 ; entre [0,5] este sera el color call procedure_generate_random_number ; de una de las secciones de una ; pieza inc al ...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 91 call lwaitly_b xor a, a ldff(40), a ld hl, fea0 lbegin_fill_oam: dec l ld(hl), a jrnz lbegin_fill_oam ld d, 10 ld a, d ld(hl), a inc l ld a, 08 ld(hl), a inc l inc l inc l ld a, d ...
#pragma once #include <string> #include <vector> namespace editor { enum class Mode { NormalMode, InsertMode, VisualMode }; enum class Status { OK, Quit }; enum class Operation { None, Command, Delete, Copy }; enum class CopyMode { Lines, Chars }; class KeyHandling { p...
; ; Configuration vars ; %define BOOT_PROTECTED_MODE 0 ; ; Index of storage - in QEMU this vale is from 'index=0,if=floppy' ; %define DRIVE 0 ; ; Address the bootlodaer Stage 2 will be loaded at ; %define BOOTLOADER_SECOND_STAGE_ADDR 0x7E00 ; ; Address the kernel image wil...
aci -128 ; CE 80 aci 127 ; CE 7F aci 255 ; CE FF adc (hl) ; 8E adc (ix) ; FD 8E 00 adc (ix+127) ; FD 8E 7F adc (ix-128) ; FD 8E 80 adc (iy) ; ...
;;; Spawns additional PLMs into rooms without needing to repoint anything ;;; ;;; compile with asar (https://www.smwcentral.net/?a=details&id=14560&p=section), ;;; or a variant of xkas that supports arch directive arch snes.cpu lorom ;;; HIJACKS (room load routines in bank 82) org $82e8d5 jsl add_plms ...
; --------------------------------------------------------------------------- ; Tell compiler to generate 64 bit code ; --------------------------------------------------------------------------- bits 64
; ; ZX Spectrum specific routines ; by Stefano Bodrato, 22/06/2006 ; ; This routine gives the length of the current BASIC program. ; Memory used by variables is not included. ; ; $Id: zx_basic_length.asm,v 1.1 2006/06/28 22:21:26 stefano Exp $ ; XLIB zx_basic_length zx_basic_length: ld de,($5c53) ...
; A141107: Upper Odd Swappage of Upper Wythoff Sequence. ; 3,5,7,11,13,15,19,21,23,27,29,31,35,37,39,41,45,47,49,53,55,57,61,63,65,69,71,73,75,79,81,83,87,89,91,95,97,99,103,105,107,109,113,115,117,121,123,125,129,131,133,137,139,141,143,147,149,151,155,157,159,163 add $0,1 mov $1,17 mul $1,$0 div $1,13 mul $1,2 add $...
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_dkud4_Font04 _ff_dkud4_Font04: BINARY "font/fzx/fonts/dkud4/Font04/font04.fzx"
// Copyright (c) 2014-2015 The ShadowCoin developers // Copyright (c) 2017 The Particl developers // Copyright (c) 2018 The Efin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <key/extkey.h> #include <k...
; A082585: a(1)=1, a(n) = ceiling(r(5)*a(n-1)) where r(5) = (1/2)*(5 + sqrt(29)) is the positive root of X^2 = 5*X + 1. ; 1,6,32,167,868,4508,23409,121554,631180,3277455,17018456,88369736,458867137,2382705422,12372394248,64244676663,333595777564,1732223564484,8994713599985,46705791564410,242523671422036 add $0,2 cal $...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_EngramEntry_Saddle_Paracer_Platform_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-------------------------------------...
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <set> #include <unordered_set> #include <vector> #include <ngraph/node.hpp> #include <ngraph/pass/graph_rewrite.hpp> #include <ngraph/variant.hpp> #include "low_precision/lpt_visibility.hpp...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "random.h" #include "util.h" #include "utilstrencodings....
/********************************************************* * Copyright (C) 2021, Val Doroshchuk <valbok@gmail.com> * * * * This file is part of QtAVPlayer. * * Free Qt Media Player based on FFmpeg. * ************************...
_bench: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #define vll volatile long long int #define MAX 100000000 int main(int argc, char *argv[]) { 0: f3 0f 1e fb endbr32 4: 8d 4c 24 04 lea 0x4(%esp),%ecx 8: 83 e4 f0 and $0xfffffff0,%esp ...
// stallTest - try progressive numbers of stalls. // // A test specifically for the pipelined implementation. // // CS/ECE 552, Spring 2006 // Andy Phelps 11 April 2006 // j .RealStart halt halt halt halt halt .Data1: halt halt .Data2: halt halt .Data3: halt halt .Data4: halt .Data5: halt halt halt halt halt halt ha...
;****************************************************************************** ;* MMX/SSE2-optimized functions for the VP3 decoder ;* Copyright (c) 2007 Aurelien Jacobs <aurel@gnuage.org> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of th...
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: Kernel FILE: heapInit.asm (heap initialization) AUTHOR: Tony Requist ROUTINES: Name Description ---- ----------- EXT InitHeap Initializ...
; A165897: a(n) = a(n-1) + largest proper divisor of a(n-1), a(1)=4. ; 4,6,9,12,18,27,36,54,81,108,162,243,324,486,729,972,1458,2187,2916,4374,6561,8748,13122,19683,26244,39366,59049,78732,118098,177147,236196,354294,531441,708588,1062882,1594323,2125764,3188646,4782969,6377292,9565938,14348907,19131876,28697814,430467...
/** @file Contains the LiquidScreen class definition. */ /* The MIT License (MIT) Copyright (c) 2016 Vasil Kalchev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including ...
//=========================================================================== /* Software License Agreement (BSD License) Copyright (c) 2003-2016, CHAI3D (www.chai3d.org) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitte...
/* Copyright (c) 2009-2014 Stanford University * Copyright (c) 2015 Diego Ongaro * Copyright (c) 2015 Scale Computing * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice app...
; A131895: a(n) = (n + 2)*(5*n + 1)/2. ; 1,9,22,40,63,91,124,162,205,253,306,364,427,495,568,646,729,817,910,1008,1111,1219,1332,1450,1573,1701,1834,1972,2115,2263,2416,2574,2737,2905,3078,3256,3439,3627,3820,4018,4221,4429,4642,4860,5083,5311,5544 mul $0,5 add $0,6 bin $0,2 div $0,5 sub $0,2
; void w_array_clear_fastcall(w_array_t *a) SECTION code_adt_w_array PUBLIC _w_array_clear_fastcall defc _w_array_clear_fastcall = asm_w_array_clear INCLUDE "adt/w_array/z80/asm_w_array_clear.asm"
; ::: include #ruledef test { ld {x} => { assert(x < 0x10) 0x55 @ x`8 } } ; ::: ld 0x5 ; = 0x5505 ; ::: ld -0x20 ; = 0x55e0 ; ::: ld 0x15 ; error: failed to resolve ; ::: ld var ; = 0x5505 var = 0x5 ; ::: ld var ; error: failed to resolve var = 0x15
; A133695: a(n) = 2*A008683 - 1. ; 1,-3,-3,-1,-3,1,-3,-1,-1,1,-3,-1,-3,1,1,-1,-3,-1,-3,-1,1,1,-3,-1,-1,1,-1,-1,-3,-3,-3,-1,1,1,1,-1,-3,1,1,-1,-3,-3,-3,-1,-1,1,-3,-1,-1,-1,1,-1,-3,-1,1,-1,1,1,-3,-1,-3,1,-1,-1,1,-3,-3,-1,1,-3,-3,-1,-3,1,-1,-1 seq $0,8683 ; Möbius (or Moebius) function mu(n). mu(1) = 1; mu(n) = (-1)^k if...
#include "GAMER.h" //------------------------------------------------------------------------------------------------------- // Function : Aux_Record_CorrUnphy // Description : Record the number of cells with unphysical results and are corrected by Flu_Close()->CorrectUnphysical() // // Note : 1. These...
section .rodata ; Base | Flags | Limit | Access | Base ; 31 24 | 3 0 | 19 16 | 7 0 | 23 16 ; Base | Limit ; 15 0 | 15 0 ; # Access byte ; 7 | 6 5 | 4 | 3 | 2 | 1 | 0 ; P | DPL | S | E | DC | R...
origin $0005CBA6 text_menu: gameMenu($06, "WEAPON ") gameMenu($05, "ITEMS ") gameMenu($06, "STATUS ") gameMenu($03, "MAP ") gameMenu($04, "SAVE ") gameMenu($03, "OK? ") status_menu: gameStatusMenu($04, $0E, $08, "RANK") gameStatusMenu($03, $0E, $0A, "H.P") gameStatusMenu($0...
; vars.asm ; Copyright 2020 Robin Verhagen-Guest ; ; 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 ...
.class while:Obj .method $constructor .local x,y enter load x const 10 load x const 10 store x jump labelwhilecmp0 labelwhilebody1: load y const 0 load y const 0 store y jump labelwhilecmp2 labelwhilebody3: load y load y const 1 roll 1 call Int:plu...
; CON2 16 bit Send characters to CONSOLE V2.01  1999 Tony Tebby ; 2016 Marcel Kilgus ; ; 2016-04-16 2.01 Added alpha blending (MK) section con xdef cn_sbyte xdef cn_smulc xref cn_cksize_p xref cn_donl xref bm_apixel include 'dev8_keys_con' include 'dev8_keys_k' include 'dev8_keys_err' i...
; A178744: Partial sums of floor(4^n/9). ; Submitted by Jamie Morken(s1.) ; 0,0,1,8,36,149,604,2424,9705,38832,155340,621373,2485508,9942048,39768209,159072856,636291444,2545165797,10180663212,40722652872,162890611513,651562446080,2606249784348,10424999137421,41699996549716,166799986198896,667199944795617,2668799779182...
; A014616: a(n) = solution to the postage stamp problem with 2 denominations and n stamps. ; 2,4,7,10,14,18,23,28,34,40,47,54,62,70,79,88,98,108,119,130,142,154,167,180,194,208,223,238,254,270,287,304,322,340,359,378,398,418,439,460,482,504,527,550,574,598,623,648,674,700,727,754,782,810,839,868,898,928,959,990,1022,10...
db 0 ; species ID placeholder db 30, 105, 90, 50, 25, 25 ; hp atk def spd sat sdf db WATER, WATER ; type db 225 ; catch rate db 115 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F0 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/krabby/fro...
; A344050: a(n) = Sum_{k=0..n} (-1)^(n-k)*binomial(n, k)*|Lah(n, k)|. Inverse binomial convolution of the unsigned Lah numbers A271703. ; Submitted by Christian Krause ; 1,1,-3,1,73,-699,3001,24697,-783999,10946233,-80958779,-656003919,40097528857,-944102982419,14449693290033,-81180376526759,-4110744092532479,203618771...
.MODEL SMALL .STACK 100H .DATA STRING DB 100 DUP(?) MSG1 DB "ENTER A STRING: $" MSG2 DB 0DH, 0AH, "NO. OF VOWELS_FOUNDS: $" VOWELS DW 0 .CODE MAIN PROC MOV AX, @DATA MOV DS, AX MOV ES, AX MOV AH, 9 LEA DX, MSG1 INT 21H LEA DI, STRING MOV AH, 1 ...
/************************************************************** * * 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...
Music_OreburghCity: channel_count 4 channel 1, Music_OreburghCity_Ch1 channel 2, Music_OreburghCity_Ch2 channel 3, Music_OreburghCity_Ch3 channel 4, Music_OreburghCity_Ch4 Music_OreburghCity_Ch1_sub_0: octave 3 note G_, 3 note G_, 1 note E_, 3 note E_, 1 note G_, 2 note G_, 1 note A#, 2 note G_, 1 note ...
; A004393: Binomial coefficient C(8n,n-12). ; 1,104,6216,280840,10668000,359933112,11143364232,323295330680,8917061687820,236236542585120,6057158960772920,151175678720167920,3689062737122341488,88326646952501966400,2080775440409128608600 mov $1,$0 add $0,12 mul $0,8 bin $0,$1
/* Sirikata * CommonOptions.cpp * * Copyright (c) 2009, Ewen Cheslack-Postava * 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 ...
; void dostm_from_tm(struct dos_tm *,struct tm *) SECTION code_time PUBLIC _dostm_from_tm_callee EXTERN asm_dostm_from_tm _dostm_from_tm_callee: pop af pop hl pop de push af jp asm_dostm_from_tm
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_utz_Phraktur _ff_utz_Phraktur: BINARY "font/fzx/fonts/utz/Phraktur/kphraktur.fzx"
; A055845: a(n) = 4*a(n-1) - a(n-2) with a(0)=1, a(1)=8. ; 1,8,31,116,433,1616,6031,22508,84001,313496,1169983,4366436,16295761,60816608,226970671,847066076,3161293633,11798108456,44031140191,164326452308,613274669041,2288772223856,8541814226383,31878484681676,118972124500321,444010013319608,1657067928778111,6184261701...
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <service-appmgr/Actions.hpp> #include <service-appmgr/messages/Message.hpp> #include <Service/Service.hpp> #include <SwitchData.hpp> #include <i18n/i18n.hpp> ...
; SUM OF TWO NUMBERS ; SUM OF THE NUMBERS MUST BE LESS THAN 10 .MODEL SAMLL .STACK 100H .DATA MSG1 DB 'ENTER THE FIRST NUMBER: $' MSG2 DB 0AH, 0DH, 'ENTER THE SECOND NUMBER: $' MSG DB 0AH, 0DH, 'THE SUM OF ' C1 DB ?, ' AND ' C2 DB ?, ' IS ', SUM DB ?, '$' .CODE MA...
// grepWin - regex search and replace for Windows // Copyright (C) 2012-2013, 2016-2020 - Stefan Kueng // 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...
IF DEF(@) PRINTLN "defined" ELSE PRINTLN "not defined" ENDC