text
stringlengths
1
1.05M
; A186738: a(0)=0, a(1)=0; for n>1, a(n) = a(n-1) + (n-1)*a(n-2) + 1. ; Submitted by Jamie Morken(s1) ; 0,0,1,2,6,15,46,137,460,1557,5698,21269,83948,339177,1430502,6178981,27636512,126500209,596320914,2873324677,14203422044,71669915585,369941778510,1946679921381,10455340827112,57175658940257,318559179618058,1805126312...
#ifndef OWL_PARSER_HPP #define OWL_PARSER_HPP #include "owl/lexer.hpp" #include "owl/model.hpp" /** * Parser. Build parse tree (model) from a stream of tokens. */ namespace owl { mod_unit *parse(context *ctx, const token *p_tokens, size_t n_tokens); } // owl #endif
org 100h MOV SI, 0200H MOV CX, 7D MOV AX, 0001H MOV DX, 0000H back: MUL CX DEC CX JNZ back MOV [SI],AX ret
SFX_Cymbal2_3_Ch7: noisenote 0, 10, 2, 17 endchannel
; A135536: a(n) = 8*a(n-2), with a(0) = 7, a(1) = 14. ; 7,14,56,112,448,896,3584,7168,28672,57344,229376,458752,1835008,3670016,14680064,29360128,117440512,234881024,939524096,1879048192,7516192768,15032385536,60129542144,120259084288,481036337152,962072674304,3848290697216,7696581394432,30786325577728,61572651155456,2...
// Copyright 2019 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/omnibox/common/omnibox_features.h" #include "build/build_config.h" namespace omnibox { constexpr auto enabled_by_default_desktop_o...
; A139283: Numbers of spots seen on ladybugs. ; 0,2,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,22,24,26,28 mov $2,$0 mov $3,10 mov $4,$0 lpb $0,1 trn $0,6 add $3,1 trn $3,$0 mov $0,1 add $3,1 sub $4,2 trn $4,3 lpe add $3,$4 add $3,3 add $1,$3 lpb $2,1 add $1,1 sub $2,1 lpe sub $1,13
; A081905: A sequence related to binomial(n+6, 6). ; Submitted by Jon Maiga ; 1,10,79,552,3567,21810,127905,725820,4009920,21664000,114840064,598865920,3078537216,15626600448,78431059968,389685706752,1918516592640,9367021682688,45387134009344,218388081147904,1044061452500992,4961718019031040,23449374679891968,110252343...
/**************************************************************************** ** Meta object code from reading C++ file 'mainwindow.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.5) ** ** WARNING! All changes made in this file will be lost! **********************************************************...
; A109614: n^3 followed by n followed by n^2. ; Submitted by Jon Maiga ; 1,1,1,8,2,4,27,3,9,64,4,16,125,5,25,216,6,36,343,7,49,512,8,64,729,9,81,1000,10,100,1331,11,121,1728,12,144,2197,13,169,2744,14,196,3375,15,225,4096,16,256,4913,17,289,5832,18,324,6859,19,361,8000,20,400,9261,21,441,10648,22,484,12167,23,529,13824...
mvi b,00h lhld 03000h xchg lhld 03002h mov a,l sub e jc borr sec: sta 04000h mov a,h sub d jc bofi st: sta 04001h hlt borr: dcr h jmp sec bofi: inr b jmp st
;************************************************************************** ;* ;* FILE scandump.asm ;* Copyright (c) 2010 Daniel Kahlin <daniel@kahlin.net> ;* Written by Daniel Kahlin <daniel@kahlin.net> ;* ;* DESCRIPTION ;* Common code for scanning tests providing a data-dump. ;* ;****** ;*************************...
.include "defaults_mod.asm" table_file_jp equ "exe5-utf8.tbl" table_file_en equ "bn5-utf8.tbl" game_code_len equ 3 game_code equ 0x4252424A // BRBJ game_code_2 equ 0x42524245 // BRBE game_code_3 equ 0x42524250 // BRBP card_type equ 1 card_id equ 1 card_no equ "001" card_sub equ "Mod Card 001" card_sub_x ...
; float __fssub (float left, float right) SECTION code_fp_math48 PUBLIC cm48_sdcciyp_dssub EXTERN cm48_sdcciyp_dread2, am48_dsub, cm48_sdcciyp_m482d cm48_sdcciyp_dssub: ; subtract two sdcc floats ; ; enter : stack = sdcc_float right, sdcc_float left, ret ; ; exit : dehl = sdcc_float(left-right) ...
_CeladonDinerText1:: text "Hi!" para "We're taking a" line "break now." done _CeladonDinerText2:: text "My #MON are" line "weak, so I often" cont "have to go to the" cont "DRUG STORE." done _CeladonDinerText3:: text "Psst! There's a" line "basement under" cont "the GAME CORNER." done _CeladonDinerText4...
#include <iostream> using namespace std; int main() { int w; cin>>w; if(w!=2 && w%2==0) { cout<<"YES"; } else { cout<<"NO"; } return 0; }
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %r9 push %rax push %rbp push %rbx push %rcx lea addresses_WC_ht+0x7580, %rcx nop lfence mov (%rcx), %r14d nop nop inc %r8 lea addresses_D_ht+0x1ec18, %rax nop nop nop nop xor %r9, %r9 movw $0x6162, (%rax) nop nop nop add $40956, %rax lea addresses_D_h...
.include "defaults_request.asm" table_file_jp equ "exe6-utf8.tbl" table_file_en equ "bn6-utf8.tbl" game_code_len equ 3 game_code equ 0x4252354A // BR5J game_code_2 equ 0x42523545 // BR5E game_code_3 equ 0x42523550 // BR5P card_type equ 4 card_id equ 5 card_no equ "005" card_sub equ "Request Event Card 005...
; A307124: a(n) is twice the square of the product of the first n primes each decreased by one. ; Submitted by Christian Krause ; 2,8,128,4608,460800,66355200,16986931200,5503765708800,2663822603059200,2088436920798412800,1879593228718571520000,2435952824419268689920000,3897524519070829903872000000,68752332516409439504...
assume cs:code, ds:data, ss:stack data segment dw 1234h, 1235h, 1236h, 1237h, 1238h, 1239h, 123ah, 123bh data ends statck segment dw 0h, 0h, 0h, 0h, 0h, 0h, 0h, 0h stack ends code segment start: mov ax, data mov dx, ax mov ax, statck mov ss, ax mov sp, 10h...
;............................................................................... PortAsInput .equ 0xFF PortAsOutput .equ 0x0 KeyPad .equ PORTC ; Out on the TRIS Lines used as ouputs LCD_CTRL .equ PORTB ; LCD control lines interface LCD_DATA...
; A245920: Limit-reverse of the (2,1)-version of the infinite Fibonacci word A014675 with first term as initial block. ; 2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2...
;if VERBOSE > 0 ; align 16 ; VerboseOutput rq 1024 ; VerboseTime rq 2 ;end if ;if DEBUG > 0 ; align 16 ; DebugBalance rq 1 ; DebugOutput rq 1024 ;end if calign 16 constd: ._0p03 dq 0.03 ._0p505 dq 0.505 ._1p0 dq 1.0 ._628p0 dq 628.0 if CPU_HAS_POPCNT...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- SECTION code_clib SECTION code_nirvanap PUBLIC asm_NIRVANAP_drawW EXTERN asm_N...
#include "guinsoodb/planner/expression/bound_unnest_expression.hpp" #include "guinsoodb/common/types/hash.hpp" #include "guinsoodb/common/string_util.hpp" namespace guinsoodb { BoundUnnestExpression::BoundUnnestExpression(LogicalType return_type) : Expression(ExpressionType::BOUND_UNNEST, ExpressionClass::BOUND_...
/// \file f_schwefel.hpp /// \brief cpp file for class Schwefel. /// /// A detailed file description. /// Refer "https://github.com/numbbo/coco/blob/master/code-experiments/src/f_schwefel.c" /// /// \author Furong Ye /// \date 2019-09-12 #ifndef _F_SCHWEFEL_HPP #define _F_SCHWEFEL_HPP #include "IOHprofiler_problem.hpp...
#ifndef DF955289_E34C_4A5D_B85B_9AD0ED647580 #define DF955289_E34C_4A5D_B85B_9AD0ED647580 #include <iostream> #include <unordered_map> #include <mutex> #include "i_provide_service_registrator.hpp" #include "i_request_service_registrator.hpp" /* prs: Request-Respons & Publisher-Subscriber */ namespace prs { t...
/* ** Copyright(C) 2017, StepToSky ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions are met: ** ** 1.Redistributions of source code must retain the above copyright notice, this ** list of conditions and the following di...
; A106845: n^2 * (n^3 + 2n^2 + 7n - 2) / 8. ; 0,1,14,72,244,650,1476,2989,5552,9639,15850,24926,37764,55432,79184,110475,150976,202589,267462,348004,446900,567126,711964,885017,1090224,1331875,1614626,1943514,2323972,2761844,3263400,3835351,4484864,5219577,6047614,6977600 mov $1,1 sub $1,$0 mov $2,$0 mul $0,3 mov $4,$...
; A102721: Numbers n such that 11*n + 13 is prime. ; 0,6,8,14,18,20,24,36,38,48,50,54,60,66,68,74,84,96,98,108,110,116,126,134,138,140,144,146,150,168,176,180,188,200,216,218,224,228,230,236,246,248,258,264,266,276,284,288,290,300,314,318,320,330,336,344,350,354,356,374,386,398,404,410,414,428,434,438,446,458,474,488,5...
CopySXX12ScaledToSXX18: CopyResultToSDrawCam: ldCopyByte SXX12 ,SXX18 ; XX12+0 => XX18+0 Set XX18(2 0) = dot_sidev ldCopyByte SXX12+1 ,SXX18+2 ; XX12+1 => XX18+2 ldCopyByte SXX12+2 ,SXX18+3 ; XX12+2 => XX18+3 Set XX12+1 => XX18+2 ldCo...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
NOT R1, R0 NOT R2, R0 AND r3, r1, r2 AND r4, r1, xF ADD r5, r4, r5 ADD r5, r5, xF NOT r6, r0 0x0
; ----------------------------------------------------------------------------- ; test program ; ----------------------------------------------------------------------------- label0: defb 10, 20, 30, label0, label1 defw 10, 20, 30, label0, label1 defd 10, 20, 30, label0, label1 defs "aaa" + "bbb" label1: defs 10 ...
; ; STARTER.ASM ; ; (c) Copyright 2002, P. Jakubco ml. ; ; ; .model compact .stack 16384 .386p .code extrn _main: near .startup call _main xor ax,ax .exit ...
; A170269: Number of reduced words of length n in Coxeter group on 20 generators S_i with relations (S_i)^2 = (S_i S_j)^41 = I. ; 1,20,380,7220,137180,2606420,49521980,940917620,17877434780,339671260820,6453753955580,122621325156020,2329805177964380,44266298381323220,841059669245141180,15980133715657682420 add $0,1 mo...
//----------------------------------- // Copyright Pierric Gimmig 2013-2017 //----------------------------------- #include "GlPanel.h" #include "GlCanvas.h" #include "BlackBoard.h" #include "HomeWindow.h" #include "ImmediateWindow.h" #include "CaptureWindow.h" #include "PluginCanvas.h" #include "RuleEditor.h" //-----...
// 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 <vector> #include "include/base/cef_bind.h" #include "include/cef_file_util.h" #include "include/cef_waitable_event.h" #i...
// Copyright (c) 2011-2013 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 "splashscreen.h" #include "clientversion.h" #include "util.h" #include <QPainter> #undef loop /* ugh, remove this wh...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x19598, %rsi lea addresses_WT_ht+0xb788, %rdi nop nop inc %r10 mov $38, %rcx rep movsb nop nop nop nop add $51896, %rbx lea addresses_normal_ht+0x1e596, %r13 nop nop xor %rcx, %rcx mov...
;=============================================================================== ; Copyright (c) 2004-2006 ATI Technologies Inc. ;=============================================================================== ; ; Email: gputools.support@amd.com ; ; dxtc_v11_compress_sse2.asm : A high-performance, reasonable qu...
0x0000 (0x000000) 0x2118- f:00020 d: 280 | A = OR[280] 0x0001 (0x000002) 0x8402- f:00102 d: 2 | P = P + 2 (0x0003), A = 0 0x0002 (0x000004) 0x7025- f:00070 d: 37 | P = P + 37 (0x0027) 0x0003 (0x000006) 0x1000- f:00010 d: 0 | A = 0 (0x0000) ...
; A122958: a(0)=1, a(n) = 2 - 2^(n-1) for n>0. ; 1,1,0,-2,-6,-14,-30,-62,-126,-254,-510,-1022,-2046,-4094,-8190,-16382,-32766,-65534,-131070,-262142,-524286,-1048574,-2097150,-4194302,-8388606,-16777214,-33554430,-67108862,-134217726,-268435454,-536870910,-1073741822,-2147483646,-4294967294,-8589934590,-17179869182,-34...
#include "AddrInfo.h" namespace Network { AddrInfo::AddrInfo( const AddrInfo & addrInfo ) { this -> ai_addr = NULL; this -> ai_canonname = NULL; this -> ai_next = NULL; *this = addrInfo; } AddrInfo::AddrInfo( const struct addrinfo & addrInfo ) { this -> ai_addr = NULL; this -> ai_canonname = NULL; ...
; A290113: Decimal representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 643", based on the 5-celled von Neumann neighborhood. ; 1,3,5,13,29,61,125,253,509,1021,2045,4093,8189,16381,32765,65533,131069,262141,524285,1048573,209...
; function calls: ; call <address> ; ret ; ; arguments: ; first six: rdi, rsi, rdx, rcx, r8, r9 ; rest: to the stack in reverse order ; ; return values: ; rax, rdx ; ; convention: ; callee-saved registers: rbx, rbp, rsp, r12-r15 %include "../lib/syscall.inc" section .data newline_char: db 10 codes: db '0123456789abcd...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
; A276300: Number of 3 X n 0..2 arrays with no element equal to any value at offset (-2,-1) (-1,1) or (0,-1) and new values introduced in order 0..2. ; 5,11,45,173,693,2765,11061,44237,176949,707789,2831157,11324621,45298485,181193933,724775733,2899102925,11596411701,46385646797,185542587189,742170348749,2968681394997,...
#pragma once /** * @file core.hpp * @brief Single include header for Legion-Core */ #include <core/platform/platform.hpp> #include <core/platform/shellinvoke.hpp> #include <core/math/math.hpp> #include <core/common/common.hpp> #include <core/types/types.hpp> #include <core/time/time.hpp> #include <core/async/async...
; A132759: a(n) = n*(n+13). ; 0,14,30,48,68,90,114,140,168,198,230,264,300,338,378,420,464,510,558,608,660,714,770,828,888,950,1014,1080,1148,1218,1290,1364,1440,1518,1598,1680,1764,1850,1938,2028,2120,2214,2310,2408 mov $1,$0 add $0,13 mul $1,$0
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
sendSPIBufferAsm: ; arguments are: r0 - buffer, r1 - data pin, r2 - clock pin push {r4,r5,r6,r7,lr} mov r6, r1 mov r7, r2 mov r4, r0 ; save buff mov r0, r4 bl BufferMethods::length mov r5, r0 ; r5 contains buffer length mov r0, r4 bl BufferMethods::getBytes ...
#include "victim_localization/victim_thermal_detector.h" victim_thermal_detector::victim_thermal_detector(): victim_detector_base() { ros::param::param<double>("~min_Dist_Between_Blobs", minDistBetweenBlobs_ , 40.0); ros::param::param<double>("~thermal_min_Area_Victim", minAreaVictim_ , 40.0); ros::param::para...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
//************************************************************************************ // // File Name: clusfunc.cpp // // Author: Nela Karpel // // Description : Implementation of functions that deal with clustered nodes // //*********************************************************************************...
; A184656: floor(nr+h), where r=(1+sqrt(5))/2, h=-1/2; complement of A184657. ; 1,2,4,5,7,9,10,12,14,15,17,18,20,22,23,25,27,28,30,31,33,35,36,38,39,41,43,44,46,48,49,51,52,54,56,57,59,60,62,64,65,67,69,70,72,73,75,77,78,80,82,83,85,86,88,90,91,93,94,96,98,99,101,103,104,106,107,109,111,112,114,115,117,119,120,122,124,...
; A028919: Congruent to 0, 6, 10, 12 (mod 14). ; 0,6,10,12,14,20,24,26,28,34,38,40,42,48,52,54,56,62,66,68,70,76,80,82,84,90,94,96,98,104,108,110,112,118,122,124,126,132,136,138,140,146,150,152,154,160,164,166,168,174,178,180,182,188,192,194,196,202,206,208,210,216,220,222,224,230,234,236 add $0,10 seq $0,47269 ; Numb...
aLine 0 gNewVPtr nextPtr gMoveNext nextPtr, Root gBne nextPtr, Root, 3 aLine 1 Exception EMPTY_LIST aLine 3 gNew prevPtr gMove prevPtr, Root aLine 4 gNew delPtr gMove delPtr, nextPtr gMoveNext nextPtr, delPtr aLine 5 gBeq nextPtr, Root, 7 aLine 6 gMove prevPtr, delPtr aLine 7 gMove delPtr, nextPtr gMoveNext nextP...
#include "config.hpp" #include "util/cpuid.hpp" namespace tblis { TBLIS_CONFIG_INSTANTIATE(piledriver); }
const unsigned char licence[] = { /* 00000000 */ 0x47, 0x4e, 0x55, 0x20, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, /* 00000010 */ 0x49, 0x43, 0x20, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, /* 00000020 */ 0x20, 0x20, 0x20, 0x20, 0x20, 0x...
; A098486: Odd numbers with replacement of all prime factors 3 by 2. ; 1,2,5,7,4,11,13,10,17,19,14,23,25,8,29,31,22,35,37,26,41,43,20,47,49,34,53,55,38,59,61,28,65,67,46,71,73,50,77,79,16,83,85,58,89,91,62,95,97,44,101,103,70,107,109,74,113,115,52,119,121,82,125,127,86,131,133,40,137,139,94,143,145,98,149,151,68,155,15...
xor a ld hl, basescradr + #0a0b ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0a2b ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0a4b ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0a6b ld (hl), a inc h ld (hl), a ...
; A131041: a(n) = 2*a(n-1) - a(n-2) - a(n-4). ; Submitted by Christian Krause ; 1,1,1,-1,-4,-8,-13,-17,-17,-9,12,50,105,169,221,223,120,-152,-645,-1361,-2197,-2881,-2920,-1598,1921,8321,17641,28559,37556,38232,21267,-24257,-107337,-228649,-371228,-489550,-500535,-282871,306021,1384463,2963440,4825288,6381115,6552479,37...
user/_cat: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <cat>: char buf[512]; void cat(int fd) { 0: 7179 addi sp,sp,-48 2: f406 sd ra,40(sp) 4: f022 sd s0,32(sp) 6: ec26 sd s1,24(sp) 8: e84a ...
; 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 you under the Apache License, Version 2.0 (the ; "License"); you may not u...
// Copyright (C) 2019-2020 Zilliz. 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 l...
#include <pch.cpp> #pragma hdrstop #include "csdisp.h" #include "csprop.h" #define __dwFILE__ __dwFILE_CERTLIB_POLDISP_CPP__ //+------------------------------------------------------------------------ // ICertPolicy dispatch support //+------------------------------------ // VerifyRequest method: ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r15 push %r9 push %rax lea addresses_WC_ht+0x10626, %r15 nop nop dec %r14 mov (%r15), %r10d nop nop and $30962, %rax lea addresses_D_ht+0xd08e, %r11 nop nop xor $64871, %r13 mov (%r11), %r9 and $47643, %r11 lea addresses_D_ht+0x6...
// Copyright (c) 2020 Isaac // Copyright (c) 2020 The Ubicoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <primitives/block.h> #include <hash.h> #include <tinyformat.h> #include <utilstrencodings.h>...
// // Copyright 2020 The AMP HTML 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...
#INCLUDE <P16F84A.INC> ORG 0X0000 BSF STATUS, 0x05 ; VAI PARA O BANCO 1 BSF TRISB, 0x00 ; RB0 COMO ENTRADA BCF TRISA, 0x02 ; RA2 COMO SAÍDA BCF STATUS, 0x05 ; VAI PARA O BANCO 0 BCF PORTA, 0x02 ; APAGA LED BTFSC PORTB, 0x00 ...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_FPU_PE|FLAG_FPU_C1 ;TEST_FILE_META_END ; set up st0 to be 3.141593 FLDPI FLD1 ;TEST_BEGIN_RECORDING FDIVRP mov edi, 0 ;TEST_END_RECORDING
;***************************************************** jslower txa ldx #5 bne jslowd+3 ; bra jslowd txa ldx #$0d ; insert 40 us. delay at 2 Mhz - dex bne - tax rts ;***************************************************** sav_pnt lda bmpnt ; sav...
; char *strncat(char * restrict s1, const char * restrict s2, size_t n) SECTION code_clib SECTION code_string PUBLIC strncat_callee EXTERN asm_strncat strncat_callee: pop hl pop bc pop de ex (sp),hl ex de,hl jp asm_strncat ; SDCC bridge for Classic IF __CLASSIC PUBLIC _strncat_callee defc _str...
; ----------------------------------------------------------------------------- ; Boot and interrupt handlers. ; Martin Heermance <mheermance@gmail.com> ; ----------------------------------------------------------------------------- ; ; Aliases ; ; ; Data segments ; .data BSS .space BRKvector 3 ; holds application b...
; A329015: a(n) = p(1,n), where p(x,n) is the strong divisibility sequence of polynomials based on sqrt(6) as in A327323. ; Submitted by Christian Krause ; 1,17,229,2873,35101,424337,729667,61370153,736832461,8843942657,106137077509,1273693758233,15284569239421,26202293082311,2200998722429749,26412015186735113,31694433...
/*Exercise 1 - Calculations Convert the C program given below which converts a length given in cm to inches to a C++ program. Please Note that the input command in C++ is std::cin. This is a representation of the Keyboard. e.g. float data1; int data2; scanf("%f", &data1); --> std::cin >> data1; scanf("%d", &data2)...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1ab4b, %r13 cmp $47350, %rsi mov (%r13), %r11w nop sub $1613, %rdi lea addresses_normal_ht+0x8ab7, %rsi lea addresses_D_ht+0x18f4b, %rdi nop cmp $28132, %rbx mov $7, %rcx re...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x13b95, %rsi lea addresses_D_ht+0x8e65, %rdi cmp $27715, %rbx mov $82, %rcx rep movsw nop nop cmp %r12, %r12 lea addresses_A_ht+0xfdb5, %r8 nop nop add %r10, %r10 mov (%r8...
; char *getenv(const char *name) INCLUDE "config_private.inc" SECTION code_env PUBLIC asm_getenv EXTERN __ENV_GETENV_VALUE, __ENV_FNAME, __ENV_BUF EXTERN asm_env_getenv, error_zc asm_getenv: ; Search for "name = value" pair in global environment ; ; enter : hl = char *name ; ; exit : success if va...
; A101860: a(n) = (3+n)*(2 + 33*n + n^2)/6. ; 1,24,60,110,175,256,354,470,605,760,936,1134,1355,1600,1870,2166,2489,2840,3220,3630,4071,4544,5050,5590,6165,6776,7424,8110,8835,9600,10406,11254,12145,13080,14060,15086,16159,17280,18450,19670,20941,22264,23640,25070,26555,28096,29694,31350,33065,34840,36676,38574,40535,4...
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2005. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: Implements an entity class which can serialize vehicle parts ------------------...
bipush 18 istore j bipush 3 istore k iload j iload k isub istore i iload i bipush 14 if_icmpeq l1 iload j bipush 4 isub istore j goto l2 l1 bipush 8 istore k l2 iload k
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x128ba, %rsi lea addresses_normal_ht+0x13b3a, %rdi nop nop xor %rax, %rax mov $120, %rcx rep movsw nop nop nop and %r14, %r14 lea addresses_A_ht+0xd166, %rdi nop and $22630, ...
; A262601: a(n) = n!*(e*Gamma(n,1)*(n-1)+1). ; Submitted by Stefano Spezia ; 1,6,66,1176,31320,1174320,59184720,3866728320,318176449920,32215365100800,3937433507884800,571715345296972800,97295556944518732800,19183440644220345292800,4338408884154346729728000,1115590855925401950302208000,323670093665823262135185408000,10...
; A060582: If the final digit of n in base 3 is the same as a([n/3]) then this digit, otherwise a(n)= mod 3-sum of these two digits, with a(0)=0. ; 0,2,1,1,0,2,2,1,0,2,1,0,0,2,1,1,0,2,1,0,2,2,1,0,0,2,1,1,0,2,2,1,0,0,2,1,0,2,1,1,0,2,2,1,0,2,1,0,0,2,1,1,0,2,2,1,0,0,2,1,1,0,2,1,0,2,2,1,0,0,2,1,0,2,1,1,0,2,2,1,0,2,1,0,0,2,...
/** * Copyright 2020 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 applicable law...
/* * Sumo Maze Bot Board Test Code * * org: 01/24/2015 * rev: * auth: Nels "Chip" Pearson * * Target: Sumo Maze Bot Board, 20MHz, ATmega164P, Sumo Bot base * * Dependentcies * * Resources * SRAM * * IO * */ .equ SMB_STATUS_LED = PORTD2 .DSEG smb_led1_toggle: .BYTE 1 .CSEG /* * PWM Test..Disable D...
/* BLAKE2 reference source code package - reference C implementations Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at your option. The terms of these licenses can be found at: - CC0 1.0 Universal :...
[bits 32] mov ax,[eax+ebx+ecx-eax] ; out: 66 8b 04 0b mov ax,[eax+ecx+ebx-eax] ; out: 66 8b 04 19 lea edi,[edi*8+eax+label] ; out: 8d bc f8 37 00 00 00 lea edi,[eax+edi*8+label] ; out: 8d bc f8 37 00 00 00 mov eax,[eax*2] ; out: 8b 04 00 mov eax,[nosplit eax*2] ; out: 8b 04 45 00 00 00 00 mov eax,[esi+ebp] ;...
; A076454: Sum of numbers that can be written as t*n + u*(n+1) for nonnegative integers t,u in exactly one way. ; 1,21,102,310,735,1491,2716,4572,7245,10945,15906,22386,30667,41055,53880,69496,88281,110637,136990,167790,203511,244651,291732,345300,405925,474201,550746,636202,731235,836535,952816,1080816,1221297,1375045...
/* Library functions. Copyright (C) 2000, 2003 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of GCC. GCC 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 * ei...
; A087161: Records in A087159, i.e., A087159(a(n)) = n, and satisfies the recurrence a(n+3) = 5*a(n+2) - 6* a(n+1) + 2*a(n) with a(1) = 1, a(2) = 2, and a(3) = 4. ; 1,2,4,10,30,98,330,1122,3826,13058,44578,152194,519618,1774082,6057090,20680194,70606594,241065986,823050754,2810071042,9594182658,32756588546,111837988866...
format PE GUI 4.0 entry Main include 'win32wx.inc' include 'nt.inc' include 'PebApi.inc' section '.text' code readable executable proc Main local DllName[MAX_PATH + 1]:WORD local Payload:DWORD local PayloadSize:DWORD ; LoadLibrary user32.dll lea eax, [DllName] lodstrw 'user32.dll' pebcall PEB_Kernel32Dll, P...
#pragma once #include <string> #include <vector> #include <fstream> #include "block.hpp" class Blockchain { public: Blockchain(); void addBlock(std::string data); void addBlock(); void sync(); private: int index = 0; int difficulty = 6; std::vector<Block *> chain; };
; A212698: Main transitions in systems of n particles with spin 3/2. ; 3,24,144,768,3840,18432,86016,393216,1769472,7864320,34603008,150994944,654311424,2818572288,12079595520,51539607552,219043332096,927712935936,3917010173952,16492674416640,69269232549888,290271069732864,1213860837064704,5066549580791808,211106232532...
; A074598: Numerator of 4 * H(n,4,1), a generalized harmonic number. See A075136. ; Submitted by Jon Maiga ; 4,24,236,3248,57556,416152,2136452,63349408,710302388,26725332056,1112171931196,375714836272,2662087948804,142662781936712,2738366988282628,168623511779891008,170109214167178588 mov $1,1 lpb $0 mov $2,$0 su...
#include "AntFindFood.hpp" #include "AntMoveToNode.hpp" #include "AntGoalHelper.hpp" #include "../agent/Ant.hpp" #include "../nav/Node.hpp" #include "../nav/Search.hpp" #include "../util/make_unique.hpp" // Christopher D. Canfield // November 2013 // AntFindFood.cpp using cdc::AntFindFood; using cdc::AntGoalHelper; ...
Route6Object: db $f ; border block db $4 ; warps db $1, $b, $2, ROUTE_6_GATE db $1, $c, $3, ROUTE_6_GATE db $5, $c, $1, ROUTE_6_GATE db $d, $11, $0, PATH_ENTRANCE_ROUTE_6 db $1 ; signs db $f, $13, $7 ; Route6Text7 db $6 ; objects object SPRITE_BLACK_HAIR_BOY_1, $a, $15, STAY, RIGHT, $1, OPP_JR_TRAINER_M, $...
/* This example aims to demonstrate the benefit of the override and final keywords. */ #include <iostream> class Base { public: virtual void OverrideMe() { std::cout << "Base\n"; } }; class DerivedBase : public Base { public: void OverrideMe() final override//virtual specifier can be omitted { std::cout << "...