text
stringlengths
1
1.05M
; --------------------------------------------------------------------------- ; Object - Coffee ; ; input REG : [u] pointer to Object Status Table (OST) ; --------- ; ; Animated full screen Background ; ; --------------------------------------------------------------------------- INCLUDE "./Engine/Macros.asm" ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1854e, %r13 nop dec %r11 movb (%r13), %dl nop nop dec %rbp lea addresses_UC_ht+0x1ddde, %rsi lea addresses_WC_ht+0x4d62, %rdi nop nop nop nop and %rdx, %rdx mov $9, %rcx rep ...
; A050514: Cards left over after dealing evenly to n people. ; 0,0,1,0,2,4,3,4,7,2,8,4,0,10,7,4,1,16,14,12,10,8,6,4,2,0,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52 add $0,1 mov $1,52 mod $1,$0
;Testname=unoptimized; Arguments=-O0 -fbin -oavx.bin; Files=stdout stderr avx.bin ;Testname=optimized; Arguments=-Ox -fbin -oavx.bin; Files=stdout stderr avx.bin bits 64 blendvpd xmm2,xmm1,xmm0 vblendvpd xmm2,xmm1,xmm0,xmm0 vblendvpd xmm2,xmm1,xmm0 vblendvpd ymm2,ymm1,ymm0,ymm0 vblendvpd ymm2,ymm1,ymm0 ...
; ///////////////////////////////////////////////////////////////////////////// ; Znake (ZX Spectrum 48K) ; ----------------------------------------------------------------------------- ; find_free_space.asm ; ----------------------------------------------------------------------------- ; Copyright (C) 2016, Chris W...
; A169861: Ceiling of n inches converted to millimeters. ; 0,26,51,77,102,127,153,178,204,229,254,280,305,331,356,381,407,432,458,483,508,534,559,585,610,635,661,686,712,737,762,788,813,839,864,889,915,940,966,991,1016,1042,1067,1093,1118,1143,1169,1194,1220,1245,1270 add $0,2 mul $0,254 div $0,10 sub $0,50
/* * Software License Agreement (BSD License) * * Copyright (c) 2018, Locus Robotics * 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 re...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0 TITLE C:\Users\libit\source\repos\L023A\L023A\L023A.cpp .686P .XMM include listing.inc .model flat INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG5556 DB '0', 0aH, 00H ORG $+1 $SG5559 DB '0', 0aH, 00H ORG $+1 $SG5560 DB '3...
; ;================================================================================================== ; SC131 STANDARD CONFIGURATION ;================================================================================================== ; ; THE COMPLETE SET OF DEFAULT CONFIGURATION SETTINGS FOR THIS PLATFORM ARE FOU...
_echo: file format elf32-i386 Disassembly of section .text: 00001000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 57 push %edi 1004: 56 ...
; A236225: Sum of the seventeenth powers of the first n primes. ; 131072,129271235,763068724360,233393582711567,505680422082005338,9156096341463343271,836396358227800107448,6316783216012602293387,147366822776675571219490,7404514559506748686057599,29954631333669491864740510,486442572159704647268887427,310056283966047987...
S SEGMENT PARA PUBLIC 'CODE' ASSUME CS: S ORG 1000H START: ;TURN ON CONTROL REGISTER MOV AL, 80H OUT 1EH, AL ;LOOP CONTROL VARIABLE MOV BL, 00H JMP L0 ;new code starts here LL: MOV CX, 01FFH ;MOV CX, 03150H LPL: LOOP LPL JMP L1 L0: MOV SI, OFFSET DATA L1: MOV AL, BYTE PTR CS:[SI] ...
;This slide isn't the patched one that contains the magic bytes to make the checksum match %include 'textmode.h' call draw_border mov di, 160 * 2 + 8 ;where to place cursor mov si, line01 ;fetch the text mov ah, 0x0A ;color call slide_line mov di, 160 * 4 + 16 ;where to place cursor mov si, line02 ;fetch...
; A004959: a(n) = ceiling(n*phi^4), where phi is the golden ratio, A001622. ; 0,7,14,21,28,35,42,48,55,62,69,76,83,90,96,103,110,117,124,131,138,144,151,158,165,172,179,186,192,199,206,213,220,227,234,240,247,254,261,268,275,282,288,295,302,309,316,323,329,336,343,350,357,364,371,377,384,391,398,405,412,419,425,432,439...
; A099215: a(n)=4a(n-1)-4a(n-2)+3a(n-3). ; Submitted by Jamie Morken(s1) ; 1,2,4,11,34,104,313,938,2812,8435,25306,75920,227761,683282,2049844,6149531,18448594,55345784,166037353,498112058,1494336172,4483008515,13449025546,40347076640,121041229921,363123689762,1089371069284 mov $2,-2 lpb $0 sub $0,1 add $2,$4 ad...
// This file is just for syntax checking the wrapper classes #include <SWIncludes.h> #ifdef SW_NAMESPACE using namespace SW_NAMESPACE; #endif class TError error("", kNoError); class TSpriteWorldScrolling spriteWorld; class TTileMap tileMap; class TSpriteLayer layer; class TSprite sprite; class TFrame frame;
SECTION code_fp_mbf32 PUBLIC ___mbf32_FPINT EXTERN FPINT defc ___mbf32_FPINT = FPINT
#ifndef SPROUT_ITERATOR_SET_UNION_ITERATOR_HPP #define SPROUT_ITERATOR_SET_UNION_ITERATOR_HPP #include <iterator> #include <utility> #include <type_traits> #include <sprout/config.hpp> #include <sprout/iterator/next.hpp> #include <sprout/iterator/type_traits/common.hpp> #include <sprout/functional/less.hpp> ...
code proc CG_ResetEntity 8 4 ADDRFP4 0 ADDRFP4 0 INDIRP4 ASGNP4 ADDRFP4 0 INDIRP4 CNSTI4 448 ADDP4 INDIRI4 ADDRGP4 cg+107604 INDIRI4 CNSTI4 300 SUBI4 GEI4 $72 ADDRFP4 0 INDIRP4 CNSTI4 428 ADDP4 CNSTI4 0 ASGNI4 LABELV $72 ADDRFP4 0 INDIRP4 CNSTI4 436 ADDP4 ADDRGP4 cg+36 INDIRP4 CNSTI4 8 ADDP4 INDIRI4 ASGNI4 ADDRFP4 0 IN...
; A120305: a(n) = Sum_{i=0..n} Sum_{j=0..n} (-1)^(i+j) * (i+j)!/(i!j!). ; 1,1,3,9,31,111,407,1513,5679,21471,81643,311895,1196131,4602235,17757183,68680169,266200111,1033703055,4020716123,15662273839,61092127491,238582873475,932758045123,3650336341239,14298633670931,56055986383411,219931273282347,863504076182883,339259...
/* Copyright(c) 2002-2017 Anatoliy Kuznetsov(anatoliy_kuznetsov at yahoo.com) 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 appl...
#include "Platform.inc" #include "FarCalls.inc" #include "Motor.inc" #include "TestFixture.inc" radix decimal udata global numberOfEnableCalls global numberOfDisableCalls global expectedPortValue global expectedTrisValue global portValue global trisValue numberOfEnableCalls res 1 numberOfDisableCalls res...
; A050534: Tritriangular numbers: a(n) = binomial(binomial(n,2),2) = n(n + 1)(n - 1)(n - 2)/8. ; 0,0,0,3,15,45,105,210,378,630,990,1485,2145,3003,4095,5460,7140,9180,11628,14535,17955,21945,26565,31878,37950,44850,52650,61425,71253,82215,94395,107880,122760,139128,157080,176715,198135,221445,246753,274170,303810,335790...
SilphCo7F_h: db FACILITY ; tileset db SILPH_CO_7F_HEIGHT, SILPH_CO_7F_WIDTH ; dimensions (y, x) dw SilphCo7F_Blocks ; blocks dw SilphCo7F_TextPointers ; texts dw SilphCo7F_Script ; scripts db 0 ; connections dw SilphCo7F_Object ; objects
; A221574: Number of 0..n arrays of length 3 with each element differing from at least one neighbor by something other than 1. ; 2,9,26,59,114,197,314,471,674,929,1242,1619,2066,2589,3194,3887,4674,5561,6554,7659,8882,10229,11706,13319,15074,16977,19034,21251,23634,26189,28922,31839,34946,38249,41754,45467,49394,53541,...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwa...
; A128589: A051731 * A127647. ; Submitted by Christian Krause ; 1,1,1,1,0,2,1,1,0,3,1,0,0,0,5,1,1,2,0,0,8,1,0,0,0,0,0,13,1,1,0,3,0,0,0,21,1,0,2,0,0,0,0,0,34,1,1,0,0,5,0,0,0,0,55 seq $0,127093 ; Triangle read by rows: T(n,k)=k if k is a divisor of n; otherwise, T(n,k)=0 (1 <= k <= n). seq $0,45 ; Fibonacci numbers: F(n...
#include "edhec.h" void displayImage(std::string image) { sf::RenderWindow window(sf::VideoMode(1000, 1000), "SFML works!"); sf::Texture texture; sf::Sprite sprite; if (!texture.loadFromFile(image, sf::IntRect(0, 0, 1000, 1000))) printf ("File not found"); sprite.setTexture(texture); ...
codeseg macro make_vector name, sh, _bytes struc name data dw ? len dw ? max dw ? ends BX_PTR equ (name ptr bx) ; void vec_newcap(vector* output, int cap) proc sh&_newcap push bp mov bp, sp push ax push bx mov bx, [bp + 6] mo...
PokemonTower2Object: db $1 ; border block db $2 ; warps db $9, $3, $0, POKEMONTOWER_3 db $9, $12, $2, POKEMONTOWER_1 db $0 ; signs db $2 ; objects object SPRITE_BLUE, $e, $5, STAY, NONE, $1 ; person object SPRITE_MEDIUM, $3, $7, STAY, RIGHT, $2 ; person ; warp-to EVENT_DISP POKEMONTOWER_2_WIDTH, $9, $3 ; ...
[GLOBAL copy_page_physical] copy_page_physical: push ebx pushf cli mov ebx,[esp+12] mov ecx,[esp+16] mov edx,cr0 and edx,0x7fffffff mov cr0,edx mov edx,1024 .loop mov eax,[ebx] mov [ecx],eax add ebx,4 add ecx,4 dec edx jnz .loop mov edx,cr0 or edx,0x80000000 mov cr0,edx popf pop ebx ret...
;****************************************************************************** ;* ALAC DSP SIMD optimizations ;* ;* Copyright (C) 2015 James Almer ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* License as...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x13860, %rsi lea addresses_D_ht+0xf7e8, %rdi nop nop nop cmp $21859, %r9 mov $22, %rcx rep movsq nop nop nop nop dec %r11 lea addresses_WC_ht+0xf5a0, %rsi lea addresses_D_ht+0x...
org 100h ;#include <stdio.h> starting add - 0000, ending - FFFF; prog start, assembler, return ; 02 --- 02H; ; int main(){ MOV AX, 02 MOV BX, 02 ADD AX, BX ; AX=AX+BX ; int a=2, b= 2, c=0; ; c = a+b; ; printf(c); ; r...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r8 push %r9 push %rax push %rdx lea addresses_UC_ht+0x1a4d9, %r15 nop nop nop nop nop cmp $56305, %r12 mov $0x6162636465666768, %r13 movq %r13, (%r15) nop nop dec %r8 lea addresses_normal_ht+0x1019, %r9 clflush (%r9) nop nop nop nop add $1...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/06/max/Max.asm // Computes R2 = max(R0, R1) (R0,R1,R2 refer to RAM[0],RAM[1],RAM[2]) @R0 D=M // D = first number @R1 D=D-M //...
// // Created by NebulorDang on 2021/12/20. // 线程池任务类HTTP连接 // #include "HttpConnection.h" /* 定义HTTP响应的一些状态信息 */ const char *ok_200_title = "OK"; const char *error_400_title = "Bad Request"; const char *error_400_form = "Your request has bad syntax or is inherently impossible to satisfy.\n"; const char *error_403_tit...
SECTION code_clib PUBLIC generic_console_vpeek EXTERN __laser500_mode EXTERN generic_console_xypos EXTERN generic_console_font32 EXTERN generic_console_udg32 EXTERN screendollar EXTERN screendollar_with_count INCLUDE "target/laser500/def/laser5...
#include <boost/program_options.hpp> #include <DataStreams/IBlockOutputStream.h> #include <DataStreams/AsynchronousBlockInputStream.h> #include <DataTypes/DataTypeFactory.h> #include <Storages/IStorage.h> #include <Storages/ColumnsDescription.h> #include <Storages/ConstraintsDescription.h> #include <Interpreters/Contex...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %rbx push %rcx push %rdx // Faulty Load lea addresses_PSE+0x9636, %rbx nop nop nop nop nop and $10173, %r11 mov (%rbx), %dx lea oracles, %r12 and $0xff, %rdx shlq $12, %rdx mov (%r12,%rdx,1), %rdx pop %r...
; A272130: a(n) = 16*n^3 + 10*n^2 + 4*n + 1. ; 1,31,177,535,1201,2271,3841,6007,8865,12511,17041,22551,29137,36895,45921,56311,68161,81567,96625,113431,132081,152671,175297,200055,227041,256351,288081,322327,359185,398751,441121,486391,534657,586015,640561,698391,759601,824287,892545,964471,1040161,1119711,1203217,1290...
/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/test/unit_test/aub_tests/fixtures/run_kernel_fixture.h" #include "opencl/test/unit_test/fixtures/two_walker_fixture.h" using namespace NEO; namespace ULT { class AUBRunKernelIntegrateTest : public RunKernelFix...
#include <iostream> #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/shared_ptr.hpp> #include <boost/function.hpp> using namespace std; using namespace boost::asio; class a_timer { private: int count, count_max; boost::function<void()> f; boost::asio::deadline_timer t; public: templ...
;;***************************************************************************** ;;! \file source/vcu0/vcu0_crc_8.asm ;;! ;;! \brief 32-bit CRC that uses the polynomial 0x04c11db7 ;; ;; \date Apr 7, 2011 ;;! ;; ;; Group: C2000 ;; Target Family: F2837x ;; ;; Copyright (C) 2018 Texas Instruments Incor...
; A314825: Coordination sequence Gal.6.118.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; Submitted by Simon Strandgaard ; 1,5,9,14,18,22,26,30,34,38,43,47,52,57,61,66,70,74,78,82,86,90,95,99,104,109,113,118,122,126,130,134,138,14...
/* Copyright (C) 2001, 2009 Free Software Foundation, Inc. This file was adapted from glibc sources. 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; either version 3, or (at your...
UnknownDungeon3Object: db $7d ; border block db $1 ; warps db $6, $3, $8, UNKNOWN_DUNGEON_1 db $0 ; signs db $5 ; objects object SPRITE_MEW, $1b, $d, STAY, DOWN, $1, MEWTWO, 70 object SPRITE_BALL, $1a, $1, STAY, NONE, $2, ULTRA_BALL object SPRITE_BALL, $2, $d, STAY, NONE, $3, ULTRA_BALL object SPRITE_BALL, ...
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
; ; ANSI Video handling for the Philips VG-5000 ; ; set it up with: ; .__console_w = max columns ; .__console_h = max rows ; ; Display a char in location (__console_y),(__console_x) ; A=char to display ; ; Stefano Bodrato - 2014 ; ; ; $Id: f_ansi_char.asm,v 1.4 2016-06-12 16:06:43 dom Exp $ ; SECTION code_cli...
//function SimpleFunction.test 2 (SimpleFunction.SimpleFunction.test) //push constant 0 @0 D=A @SP A=M M=D @SP M=M+1 //push constant 0 @0 D=A @SP A=M M=D @SP M=M+1 //push local 0 @0 D=A @1 A=D+M D=M @SP A=M M=D @SP M=M+1 //push local 1 @1 D=A @1 A=D+M D=M @SP A=M M=D @SP M=M+1 //add @SP AM=M-1 D=M A=A-1 M=M+D //not ...
; A024483: a(n) = binomial(2*n, n) mod binomial(2*n-2, n-1). ; 0,2,10,42,168,660,2574,10010,38896,151164,587860,2288132,8914800,34767720,135727830,530365050,2074316640,8119857900,31810737420,124718287980,489325340400,1921133836440,7547311500300,29667795388452,116686713634848,459183826803800,1807872323816104,71211946972...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: ConView Library MODULE: Main FILE: mainFile.asm AUTHOR: Jonathan Magasin, May 10, 1994 METHODS: Name Description ---- ----------- MSG_CGV_LOAD_CONTENT_FIL...
#ifndef CRUD_STATICCONTROLLER_HPP #define CRUD_STATICCONTROLLER_HPP #include "oatpp/web/server/api/ApiController.hpp" #include "oatpp/parser/json/mapping/ObjectMapper.hpp" #include "oatpp/core/macro/codegen.hpp" #include "oatpp/core/macro/component.hpp" #include OATPP_CODEGEN_BEGIN(ApiController) //<- Begin Codegen ...
; A167342: Totally multiplicative sequence with a(p) = p*(p+3) = p^2+3p for prime p. ; 1,10,18,100,40,180,70,1000,324,400,154,1800,208,700,720,10000,340,3240,418,4000,1260,1540,598,18000,1600,2080,5832,7000,928,7200,1054,100000,2772,3400,2800,32400,1480,4180,3744,40000,1804,12600,1978,15400,12960,5980,2350,180000,4900,...
; void dzx0_mega_back_callee(void *src, void *dst) SECTION code_clib SECTION code_compress_zx0 PUBLIC dzx0_mega_back_callee EXTERN asm_dzx0_mega_back dzx0_mega_back_callee: IF __CPU_GBZ80__ pop bc pop de pop hl push bc ELSE pop hl pop de ex (sp),hl ENDIF jp asm_dzx0_mega_back
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x47c3, %r11 nop nop nop nop nop xor %rbx, %rbx mov $0x6162636465666768, %r14 movq %r14, %xmm4 movups %xmm4, (%r11) nop nop nop nop xor $55918, %rcx lea addresse...
Pila Segment PARA Stack 'stack' db 20 Dup(?) Pila EndS Datos Segment PARA 'data' num1 db 0000000000 ;99999 num2 db 0000000000 ;99999 Datos EndS Codigo Segment PARA 'code' Start: Assume DS:Datos,CS:Codigo,SS:Pila ; CARGA LOS REGISTROS CON LAS DIRECCIONES PERTINENTES PARA INVERTID LOS NUMEROS Xo...
; ; MSX specific routines ; ; GFX - a small graphics library ; Copyright (C) 2004 Rafael de Oliveira Jannone ; ; extern bool __FASTCALL__ msx_set_mode(unsigned char id); ; ; set screen mode - used for MSX and SVI only ; ; $Id: msx_set_mode.asm $ ; SECTION code_clib PUBLIC msx_set_mode PUBLIC _msx_set_mode ...
; Control the snake using arrow keys. ; ; Any other keys stop the snake. ; ; Press Esc to exit. name "snake" org 100h ; jump over data section: jmp start ; ------ data section ------ s_size equ 7 ; the snake coordinates ; (from head to tail) ; low byte is left, high byte ; is top - [top, left] snake...
/* Copyright 2018 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...
; A164608: Expansion of (1+4*x)/(1-8*x+8*x^2). ; 1,12,88,608,4160,28416,194048,1325056,9048064,61784064,421888000,2880831488,19671547904,134325731328,917233467392,6263261888512,42768227368960,292039723843584,1994171971796992,13617057983627264 mov $1,1 mov $2,2 lpb $0 sub $0,1 mul $1,4 add $1,2 mul $2,2 add $...
Music_MeetProfOak_Ch0:: tempo 112 volume 7, 7 duty 3 toggleperfectpitch notetype 12, 11, 4 octave 3 F# 1 B_ 1 octave 4 D# 1 E_ 1 F# 12 notetype 12, 10, 2 octave 3 E_ 6 B_ 10 E_ 6 B_ 10 E_ 6 D# 4 F# 2 F# 4 E_ 6 D# 4 F# 2 F# 4 E_ 6 B_ 10 E_ 6 B_ 10 E_ 6 D# 4 F# 2 F# 4 E_ 6 D# 4 F# 2 ...
; A204708: Number of (n+1) X 4 0..1 arrays with the permanents of all 2 X 2 subblocks equal and nonzero. ; Submitted by Jamie Morken(s2) ; 25,81,257,833,2689,8705,28161,91137,294913,954369,3088385,9994241,32342017,104660993,338690049,1096024065,3546808321,11477712897,37142659073,120196169729,388962975745,1258710630401,...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
; PROLOGUE(mpn_lshift1) ; Copyright 2008 Jason Moxham ; ; Windows Conversion Copyright 2008 Brian Gladman ; ; This file is part of the MPIR Library. ; ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Fre...
; A131421: Triangle read by rows (n>=1, 1<=k<=n): T(n,k) = 2*(n+k) - 3. ; 1,3,5,5,7,9,7,9,11,13,9,11,13,15,17,11,13,15,17,19,21,13,15,17,19,21,23,25,15,17,19,21,23,25,27,29,17,19,21,23,25,27,29,31,33,19,21,23,25,27,29,31,33,35,37,21,23,25,27,29,31,33,35,37,39,41,23,25,27,29,31,33,35,37,39,41,43,45,25,27,29,31,33,35,37,...
; A169098: Number of reduced words of length n in Coxeter group on 37 generators S_i with relations (S_i)^2 = (S_i S_j)^25 = I. ; 1,37,1332,47952,1726272,62145792,2237248512,80540946432,2899474071552,104381066575872,3757718396731392,135277862282330112,4870003042163884032,175320109517899825152,6311523942644393705472 ad...
; A177346: Decimal expansion of (1+sqrt(10))/3. ; Submitted by Jon Maiga ; 1,3,8,7,4,2,5,8,8,6,7,2,2,7,9,3,1,1,0,6,6,6,2,9,7,8,4,8,1,4,4,2,3,9,5,1,1,2,3,9,8,5,1,7,1,3,1,0,8,4,0,5,6,0,8,9,5,2,5,0,1,6,1,7,5,9,7,5,3,1,4,7,9,5,4,6,4,1,2,7,4,0,4,4,8,0,8,2,7,0,2,7,9,3,1,0,0,0,9,8 mov $1,2 mov $2,1 mov $3,$0 mul $3,4 lpb $3 ...
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; bool arr[1005]={0}; int f1=1,f2=1; arr[1]=1; for(int i=1;f1<=n&&f2<=n;i++) { int temp=f2; f2=f1+f2; f1=temp; if(f2<=n) arr[f2]=1; } for(int i=1;i<=n;i++) { if(...
/* Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file was adapted from glibc sources. 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; either version 2, or (at your...
SECTION code_fp_math48 PUBLIC _isgreater EXTERN cm48_sdccix_isgreater defc _isgreater = cm48_sdccix_isgreater
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %r9 push %rcx push %rdx lea addresses_WC_ht+0x1ccc2, %r8 clflush (%r8) nop nop inc %r14 movl $0x61626364, (%r8) nop nop cmp $4196, %r9 lea addresses_WT_ht+0x4682, %rdx nop nop nop add $61102, %r15 mov $0x6162636465666768, %rcx movq %rcx, %xm...
db 0 ; species ID placeholder db 90, 130, 80, 55, 65, 85 ; hp atk def spd sat sdf db FIGHTING, FIGHTING ; type db 45 ; catch rate db 193 ; 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/macha...
/* * 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 ...
/* Copyright Oliver Kowalke 2009. Copyright Thomas Sailer 2013. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ /***********************************************************...
SECTION code_clib INCLUDE "target/msx/def/msxdos2.def" PUBLIC close PUBLIC _close EXTERN MSXDOS EXTERN msxdos_error .close ._close pop hl pop bc push bc push hl ld c,_CLOSE call MSXDOS ld (msxdos_error),a ld hl,0 and a ret z dec hl ret
LCClubQ label byte word C_BLACK Bitmap <71,100,BMC_PACKBITS,BMF_4BIT or mask BMT_MASK> db 0x00, 0x1f, 0xfa, 0xff, 0x00, 0xf0 db 0x01, 0xdd, 0xd0, 0xe1, 0x00, 0x01, 0xdd, 0xd0 db 0x00, 0x7f, 0xfa, 0xff, 0x00, 0xfc db 0x01, 0xd0, 0x0f, 0xe1, 0xff, 0x01, 0x00, 0xd0 db 0x00, 0x7f, 0xfa, 0xff, 0x00, 0xfc db ...
.386p _DATA segment use32 dword public 'DATA' ;IGNORE var1 db 2,5,6 var2 dw 4,6,9 var3 dd 11,-11,2,4 var4 db 100 dup (1) var5 db 'abcd' _DATA ends ;IGNORE _TEXT segment use32 dword public 'CODE' ;IGNORE assume cs:_TEXT,ds:_DATA start: ;IGNORE push ds pop es mov esi,offset var1 mov edi,offset var4 mov eax,...
; A024772: Expansion of 1/((1-x)(1-8x)(1-9x)(1-11x)). ; Submitted by Jon Maiga ; 1,29,554,8794,125715,1681143,21476668,265496948,3202922789,37927649617,442690769742,5108795150862,58428053357623,663418639575851,7489021847982176,84142202352592936,941752569789292617 add $0,2 lpb $0 sub $0,1 add $2,2 mul $2,8 mul ...
// Copyright (c) 2014-2016 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(HPX_PARALLEL_TEST_COUNT_SEP_08_2014_1010AM) #define HPX_PARALLEL_TEST_COUNT_SEP_08_2014_1010AM #include ...
; A171814: Triangle T : T(n,k)= A007318(n,k)*A001700(n-k). ; Submitted by Christian Krause ; 1,3,1,10,6,1,35,30,9,1,126,140,60,12,1,462,630,350,100,15,1,1716,2772,1890,700,150,18,1,6435,12012,9702,4410,1225,210,21,1,24310,51480,48048,25872,8820,1960,280,24,1 lpb $0 add $1,1 sub $0,$1 mov $2,$1 sub $2,$0 lpe bi...
.const szsolskipline db 10,7,'section' db 10,7,'include' db 10,6,'invoke' db 0,0,0 szsolword1 db 10,4,'proc' db 11,5,'struc' db 11,6,'struct' db 11,5,'union' db 12,5,'macro' db 13,4,'enum' db 0,0,0 szsolword2 db 10,3,'equ' ...
; $Id: bs3-cmn-SelProtFar16DataToRealMode.asm $ ;; @file ; BS3Kit - Bs3SelProtFar16DataToRealMode. ; ; ; Copyright (C) 2007-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 ...
; program to add two integers ; and display their sum cla add first add second out hlt first: .data 1 5 second: .data 1 2
#ifndef MOUSE_HPP_DOKUN #define MOUSE_HPP_DOKUN #include "platform.hpp"// specify the platform #include "window.hpp"// allows the mouse to move within the window instead of the desktop #include "image.hpp" // to apply to cursor extern "C" { //#include <xdo.h> } //#include <X11/extensions/XTest.h> #define DOKUN_MOUSE_L...
.8086 PUBLIC lis_selEnvironment PUBLIC lis_offCmdLine PUBLIC lis_pidCurrent PUBLIC lis_pidParent PUBLIC lis_tidCurrent _LINFOSEG SEGMENT PARA PUBLIC 'LDATA' USE16 lis_pidCurrent dw ? ;current process id lis_pidParent dw ? ;process id of parent lis_prtyCurrent dw ? ;priority of cu...
; A022090: Fibonacci sequence beginning 0, 7. ; 0,7,7,14,21,35,56,91,147,238,385,623,1008,1631,2639,4270,6909,11179,18088,29267,47355,76622,123977,200599,324576,525175,849751,1374926,2224677,3599603,5824280,9423883,15248163,24672046,39920209,64592255,104512464 mov $3,1 lpb $0,1 sub $0,1 mov $2,$1 mov $1,$3 add...
// Copyright (c) 2013 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/test/chromedriver/key_converter.h" #include <stddef.h> #include "base/cxx17_backports.h" #include "base/format_macros.h" #include "...
/* Copyright (C) 2009 Free Software Foundation, 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; either version 3, or (at your option) any later version. GCC ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_D_ht+0x91b4, %rdi nop nop nop nop nop and $39677, %rcx movl $0x61626364, (%rdi) nop cmp %r13, %r13 lea addresses_UC_ht+0x1df44, %r15 sub $39096, %rcx mov (%r15), %r11 nop nop nop no...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: fsdInit.asm AUTHOR: Adam de Boor, Oct 17, 1991 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Desc...
; A034787: a(n) = n-th sextic factorial number divided by 5. ; 1,11,187,4301,124729,4365515,178986115,8412347405,445854412465,26305410335435,1709851671803275,121399468698032525,9347759089748504425,775864004449125867275,69051896395972202187475,6559930157617359207810125,662552945919353279988822625,70893165213370800958804...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1c6d7, %rdi nop nop nop nop mfence mov (%rdi), %r13 cmp $57955, %r14 lea addresses_WC_ht+0xe737, %rsi lea addresses_WT_ht+0x1e137, %rdi nop nop nop sub $7581, %r12 mov $48, %...
; A290650: a(1) = 1. For n > 1, a(n) = a(n-1)/2 if a(n-1) is even, a(n) = a(n-1)*n otherwise. ; Submitted by Christian Krause ; 1,2,1,4,2,1,7,56,28,14,7,84,42,21,315,5040,2520,1260,630,315,6615,145530,72765,1746360,873180,436590,218295,6112260,3056130,1528065,47370015,1515840480,757920240,378960120,189480060,94740030,4...
; A147623: The 3rd Witt transform of A040000. ; 0,2,6,12,22,34,48,66,86,108,134,162,192,226,262,300,342,386,432,482,534,588,646,706,768,834,902,972,1046,1122,1200,1282,1366,1452,1542,1634,1728,1826,1926,2028,2134,2242,2352,2466,2582,2700,2822,2946,3072,3202,3334,3468,3606,3746,3888,4034,4182,4332,4486,4642,4800,4962,51...
// // Created by zeyi on 1/10/19. // #include "thundergbm/parser.h" #include <thundergbm/dataset.h> #include "thundergbm/predictor.h" int main(int argc, char **argv) { el::Loggers::reconfigureAllLoggers(el::ConfigurationType::Format, "%datetime %level %fbase:%line : %msg"); el::Loggers::addFlag(el::LoggingFla...
; A046646: Number of certain rooted planar maps. ; 1,2,6,24,110,546,2856,15504,86526,493350,2861430,16829280,100134216,601661144,3645533040,22249511328,136657509918,844061090670,5239262085330,32665844580600,204480219795390,1284624902435490,8097029688078240,51188807482263360,324500476003633800,2062295966319564456,131370...
; 03.2022 stefano ; void __FASTCALL__ mz_border(uchar colour) SECTION code_clib PUBLIC mz_border PUBLIC _mz_border mz_border: _mz_border: LD BC,$6CF OUT (C),L RET
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="path"/> <%docstring> Invokes the syscall chroot. See 'man 2 chroot' for more information. Arguments: path(char): path </%docstring> ${syscall('SYS_chroot', path)}
if not defined @SRL_DE ; In: DE, A = 4*(SHIFT + 1) = 4..4*(MANT_BITS+1) ; Out: DE = (( DE & 11 1111 1111 ) | 100 0000 0000 ) >> ((A/4)-2) @SRL_DE: SRL_DE: SRL_DE_POSUN EQU (SRLDEC_DE_SWITCH - SRL_DE_SWITCH - 4) ADD A, SRL_DE_POSUN ; LD (SRL_DE_SWITCH), A ; 3:13 LD A...