text
stringlengths
1
1.05M
.file "project.c" .def __main; .scl 2; .type 32; .endef .section .rdata,"dr" .align 8 .LC0: .ascii "\12Enter values of a, b, c of quadratic equation (aX^2 + bX + c): \0" .LC1: .ascii "%f%f%f\0" .align 8 .LC5: .ascii "Two distinct and real roots exists: %.2f and %.2f\0" .align 8 .LC6: .ascii "Two equal and rea...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x17c1b, %r11 nop nop nop nop and $19665, %rax vmovups (%r11), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $0, %xmm5, %r13 nop sub $28179, %r15 lea addresses_WC_ht+0x109b, %rdx...
; Copyright (c) 2022 Sam Blenny ; SPDX-License-Identifier: MIT ; ; MarkabForth store and fetch words (meant to be included in ../libmarkab.nasm) ; This include path is relative to the working directory that will be in effect ; when running the Makefile in the parent directory of this file. So the ; include path is rel...
; A248583: The least number m == 1 (mod 6) that is divisible by prime(n). ; 25,7,55,13,85,19,115,145,31,37,205,43,235,265,295,61,67,355,73,79,415,445,97,505,103,535,109,565,127,655,685,139,745,151,157,163,835,865,895,181,955,193,985,199,211,223,1135,229,1165,1195,241,1255,1285,1315,1345,271,277,1405,283,1465,307 add $...
; A010938: Binomial coefficient C(22,n). ; 1,22,231,1540,7315,26334,74613,170544,319770,497420,646646,705432,646646,497420,319770,170544,74613,26334,7315,1540,231,22,1 mov $1,22 bin $1,$0
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D2A move.l D0, (A4)+ 004D2C move.l D0, (A4)+ 005AAC tst.b ($506,A5) [123p+ B8] 005AB0 bne $5bda 018E90 tst.b ($506,A5) 018E94 bne $18e9e [base+506] 0191C4 tst.b ($506,A5) 0191C8 bn...
; A008831: Discrete logarithm of n to the base 2 modulo 13. ; Submitted by Christian Krause ; 0,1,4,2,9,5,11,3,8,10,7,6 add $0,1 mov $1,$0 seq $1,196 ; Integer part of square root of n. Or, number of positive squares <= n. Or, n appears 2n+1 times. add $1,270 lpb $1 mov $2,2 sub $2,$0 lpb $2 mov $1,0 mov...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "addresstablemodel.h" ...
# Questo esempio è tratto da Appendice A Sez. A9 - Chiamate di sistema # pag. A33 (utima edizione italiana) # ATTENZIONE; guardare bene le istruzioi alla riga 22 e alla riga 34 con i relativi commenti. # il codice seguente stampa la stringa "La risposta e' 55": .data str: .asciiz "La risposta e' " .text li $v0, ...
; BCD TO HEX .model small .stack .data m1 DB 10,13, "hex equivalent is: $" number DW 14 .code Disp MACRO xx MOV AH, 09 LEA DX, XX INT 21H ENDM .startup MOV AX, number MOV BX, 16 MOV CL, 0 LOOP1: MOV DX, 0 DIV BX ...
db 0 ; species ID placeholder db 48, 72, 48, 48, 72, 48 ; hp atk def spd sat sdf db PSYCHIC, PSYCHIC ; type db 225 ; catch rate db 61 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 40 ; step cycles to hatch INCBIN "gfx/pokemon/unown_a/front.dimensions" db GROWTH_MED...
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 48 sub $0x48,%esp int i, n; int l, w, c, inword; l = w = c = 0; 6: c7...
; ; $Id: sdk56670x.asm,v 1.0 2017/11/7 10:47:36 prasanna Exp $ ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2020 Broadcom Inc. All rights reserved. ; ; ; This is the default program for the BCM56670. ; There s...
/* * _____ _____ ________ _ * / __// __// __/\ \// * | | _| \ | \ \ / * | |_//| /_ | /_ / \ * \____\\____\\____\/__/\\ * * Graphics Environment for EXperimentations. * Copyright (C) 2006 INRIA - Project ALICE * * This program is free software; you can redistribute it and/or modify * it ...
/* Copyright 2015 Google Inc. 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 agreed to in ...
; float __fssqrt (float number) SECTION code_clib SECTION code_fp_math32 PUBLIC cm32_sccz80_fssqrt EXTERN m32_fssqrt ; square root sccz80 float ; ; enter : stack = sccz80_float number, ret ; ; exit : DEHL = sccz80_float(number^0.5) ; ; uses : af, bc, de, hl, af', bc', de', hl' defc ...
/*========================================================================= * * 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 * * http://ww...
;------------------------------------------------------------------------------ ; ; SetMem() worker for ARM ; ; This file started out as C code that did 64 bit moves if the buffer was ; 32-bit aligned, else it does a byte copy. It also does a byte copy for ; any trailing bytes. It was updated to do 32-byte at a time. ...
;; ;; Copyright (c) 2019-2020, Intel Corporation ;; ;; 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 conditions and...
; A074544: a(n) = 2^n + 7^n + 8^n. ; Submitted by Jamie Morken(s4) ; 3,17,117,863,6513,49607,379857,2920823,22542273,174571847,1356218097,10567263383,82560768033,646644832487,5076269600337,39931933631543,314707907345793,2484430327803527,19642812107654577,155514083261753303,1232713770905507553,9781917900940156967,776967...
; uint __FASTCALL__ zx_aaddr2py(void *attraddr) ; aralbrec 06.2007 SECTION code_clib PUBLIC zx_aaddr2py PUBLIC _zx_aaddr2py .zx_aaddr2py ._zx_aaddr2py ld a,l and $e0 srl h rra srl h rra srl h rra ld l,a ld h,0 ret
// // Copyright (c) 2020 Gu.Qiwei(gqwmail@qq.com) // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #pragma once #include <fmt/format.h> #include <hiredis/hiredis.h> #include <coro_redis/impl/sync_connection.ipp> n...
; A195028: a(n) = n*(14*n + 13). ; 0,27,82,165,276,415,582,777,1000,1251,1530,1837,2172,2535,2926,3345,3792,4267,4770,5301,5860,6447,7062,7705,8376,9075,9802,10557,11340,12151,12990,13857,14752,15675,16626,17605,18612,19647,20710,21801,22920,24067,25242,26445,27676,28935,30222,31537,32880,34251,35650,37077,38532,40015,...
; A023576: Greatest prime divisor of prime(n)+3. ; Submitted by Jon Maiga ; 5,3,2,5,7,2,5,11,13,2,17,5,11,23,5,7,31,2,7,37,19,41,43,23,5,13,53,11,7,29,13,67,7,71,19,11,5,83,17,11,13,23,97,7,5,101,107,113,23,29,59,11,61,127,13,19,17,137,7,71,13,37,31,157,79,5,167,17,7,11,89,181,37,47,191,193,7,5,101,103,211,53,31,109,17...
; A019445: Form a permutation of the positive integers, p_1, p_2, ..., such that the average of each initial segment is an integer, using the greedy algorithm to define p_n; sequence gives p_1+..+p_n. ; Submitted by Jon Maiga ; 1,4,6,12,20,24,35,40,54,70,77,96,117,126,150,160,187,216,228,260,273,308,345,360,400,442,459...
; A162964: a(n) = sigma(sigma(sigma(sigma(sigma(n))))). ; Submitted by Jon Maiga ; 1,15,24,60,120,360,168,480,168,360,360,1170,480,1512,1512,210,360,1170,728,1680,576,480,1512,4800,210,1680,1344,3276,992,2016,576,1651,1560,3276,1560,1512,1512,4800,3276,4064,1680,5952,1560,5040,4800,2016,1560,5040,1020,1240,2016,1596,32...
INCLUDE "hardware.inc" SECTION "Header", rom0[$100] EntryPoint: di jp Start REPT $150 - $104 db 0 ENDR SECTION "Game Code", rom0 Start: .waitVBlank ld a, [rLY] cp a, 144 jr c, .waitVBlank xor a; ld a, 0 ld [rLCDC], a ld hl, $9000 ld de, FontTiles ld bc, FontTilesEnd -...
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA...
#include <dirent.h> #include <unistd.h> #include <sstream> #include <string> #include <vector> #include "linux_parser.h" using std::stof; using std::string; using std::to_string; using std::vector; // DONE: An example of how to read data from the filesystem string LinuxParser::OperatingSystem() { string line; st...
section .data msg db "Hello world!",10 section .text global _start _start: mov rax, 1 mov rdi, 1 mov rsi, msg mov rdx, 13 syscall mov rax, 60 mov rdi, 0 syscall
; A169374: Number of reduced words of length n in Coxeter group on 25 generators S_i with relations (S_i)^2 = (S_i S_j)^31 = I. ; 1,25,600,14400,345600,8294400,199065600,4777574400,114661785600,2751882854400,66045188505600,1585084524134400,38042028579225600,913008685901414400,21912208461633945600,525893003079214694400 ...
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h .DATA NUM1 DB ? NUM2 DB ? RESULT DB ? MSG1 DB 10,13,"ENTER FIRST NUMBER TO MULTIPLY : $" MSG2 DB 10,13,"ENTER SECOND NUMBER TO MULTIPLY : $" MSG3 DB 10,13,"RESULT OF MULT...
; A304605: a(n) = 48*2^n + 26 (n>=1). ; 122,218,410,794,1562,3098,6170,12314,24602,49178,98330,196634,393242,786458,1572890,3145754,6291482,12582938,25165850,50331674,100663322,201326618,402653210,805306394,1610612762,3221225498,6442450970,12884901914,25769803802,51539607578,103079215130,206158430234,412316860442,82463...
%ifdef CONFIG { "RegData": { "RAX": "0x4142434445464748", "RDX": "0x0", "RDI": "0xE0000018", "RSI": "0xE0000008" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax ...
#include "widgets/dialogs/ColorPickerDialog.hpp" #include "providers/colors/ColorProvider.hpp" #include "singletons/Theme.hpp" namespace chatterino { ColorPickerDialog::ColorPickerDialog(const QColor &initial, QWidget *parent) : BasePopup(BaseWindow::EnableCustomFrame, parent) , color_() , dialogConfirme...
/* $Id: UIDnDMIMEData.cpp 69500 2017-10-28 15:14:05Z vboxsync $ */ /** @file * VBox Qt GUI - UIDnDMIMEData class implementation. */ /* * Copyright (C) 2011-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free softw...
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "logdevice/admin/settings/AdminServerSettings.h" #include "logdevice/common/c...
global _start section .data msg db 'The Sum is: ' msgLen equ $ - msg num1 db '12345' ; ASCII number1 num2 db '23456' ; ASCII number2 sum db ' ' ; To store result with 5 space section .text _start: mov ecx, 5 ; Loop 5 times mov esi, 4 ; Pointing to the right most digit, shift 4 clc ; Clean carry f...
lui $1,11300 ori $1,$1,42846 lui $2,5464 ori $2,$2,3696 lui $3,58166 ori $3,$3,23012 lui $4,35539 ori $4,$4,5233 lui $5,6923 ori $5,$5,35366 lui $6,11700 ori $6,$6,9508 mthi $1 mtlo $2 sec0: nop nop nop and $5,$6,$6 sec1: nop nop nor $6,$3,$5 and $1,$6,$6 sec2: nop nop slti $6,$3,-31666 and $0,$6,$6 sec3: ...
INCLUDE "config_private.inc" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_ERROR ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; verbose mode SECTION code_clib SECTION code_error PUBLIC error_eoverflow_mc EXTERN __EOVERFLOW, errno_mc pop hl error_eoverflow_mc: ; set hl = -1 ...
; A274604: Running sum of Noergaard's "infinity sequence" A004718. ; Submitted by Jon Maiga ; 0,1,0,2,3,3,1,4,3,5,5,6,8,7,4,8,9,9,7,10,10,11,10,12,10,13,14,14,17,15,11,16,15,17,17,18,20,19,16,20,20,21,20,22,23,23,21,24,26,25,22,26,25,27,27,28,25,29,31,30,34,31,26,32,33,33,31,34,34,35,34,36,34,37,38,38,41,39,35,40,40,41...
.include "m328pdef.inc" ; 512-word TFTP ethernet bootloader ; written by mitxela ; mitxela.com/projects/kiloboot ; For ATmega328p and ENC28J60 ; Wiring: ; SPI pins are enforced by hardware and cannot be changed. ; PB3 MOSI ; PB4 MISO ; PB5 SCK ; CS, INT pins can be trivially changed here to any unus...
; A024050: a(n) = 5^n - n. ; 1,4,23,122,621,3120,15619,78118,390617,1953116,9765615,48828114,244140613,1220703112,6103515611,30517578110,152587890609,762939453108,3814697265607,19073486328106,95367431640605,476837158203104,2384185791015603,11920928955078102,59604644775390601,298023223876953100,1490116119384765599,74505...
copyright zengfr site:http://github.com/zengfr/romhack 00B82E move.b #$10, ($31,A6) [base+65C] 00B834 move.l #$0, ($32,A6) [base+65D] 00B866 subq.b #1, ($31,A6) 00B86A bmi $b8a6 [base+65D] copyright zengfr site:http://github.com/zengfr/romhack
CODE SEGMENT ASSUME CS:CODE,DS:CODE,ES:CODE,SS:CODE org 1000h CODE ENDS END
.size 8000 .text@100 jp lbegin .text@150 lbegin: ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a ld a, 02 ldff(ff), a xor a, a ld c, 44 halt nop nop nop nop jp l1000 .text@1000 l1000: nop .text@1068 ldff a, (c) and a, b jp lprint_a .text@...
CinnabarMart_Object: db $0 ; border block db 2 ; warps warp 3, 7, 4, -1 warp 4, 7, 4, -1 db 0 ; signs db 3 ; objects object SPRITE_MART_GUY, 0, 5, STAY, RIGHT, 1 ; person object SPRITE_ERIKA, 6, 2, STAY, NONE, 2 ; person object SPRITE_OAK_AIDE, 3, 4, STAY, NONE, 3 ; person ; warp-to warp_to 3, 7, CINNABA...
;******************************************************************************************************** ; uC/TCP-IP ; The Embedded TCP/IP Suite ; ; Copyright 2004-2020 Silicon Laboratories Inc. www.silabs.com ; ; ...
/** * @author Jonathan Cardoso Machado * @license MIT * @copyright 2015-2016, Jonathan Cardoso Machado * * 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 ...
.include "header.asm" .include "snes.asm" .include "MC_libks.asm" Main: SNES_INIT0 rep #$10 ;16 bit xy sep #$20 ; 8 bit a SNES_INIDISP $8F SNES_NMITIMEN $00 jsl LKS_Clear_RAM SNES_INIT Start: jsl LKS_INIT LKS_Clear_VRAM SNES_DMAX $01 SNES_DMAX_BADD $18 ;load font LKS_LO...
<% from pwnlib.shellcraft import pretty, value, common, registers from pwnlib.shellcraft.i386 import mov, pushstr, setregs from pwnlib import constants %> <%docstring> Calculate the length of the specified string. Arguments: string(str): Register or address with the string reg(str): Named register to return th...
dnl Pentium-4 mpn_copyd -- copy limb vector, decrementing. dnl dnl Copyright 1999, 2000, 2001 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Lesser General Public L...
; A130205: a(n) = n^2 - a(n-1) - a(n-2), with a(1) = 1 and a(2) = 2. ; 1,2,6,8,11,17,21,26,34,40,47,57,65,74,86,96,107,121,133,146,162,176,191,209,225,242,262,280,299,321,341,362,386,408,431,457,481,506,534,560,587,617,645,674,706,736,767,801,833,866,902,936,971,1009,1045,1082 add $0,2 mov $1,2 lpb $0 trn $0,2 add...
; A122188: Triangle read by rows, formed from the coefficients of characteristic polynomials of the following sequence of matrices: 2 X 2 {{0, 1}, {1, 1}}, 3 X 3 {{0, 1, 0}, {0, 0, 1}, {1, 1, 1}}, 4 X 4 {{0, 1,0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}, {1, 1, 1, 1}}, 5 X 5 {{0, 1, 0, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 0, 1, 0}, {0...
#include "connectiondb.h" #include <QDebug> #include <QtSql/QSqlDatabase> #include <QtSql/QSqlDriver> #include <QtSql/QtSql> ConnectionDB::ConnectionDB(QObject *parent) : QObject(parent) { } bool ConnectionDB::createConnectionMYSQLite(QString path) { QSqlDatabase dbsqlite = QSqlDatabase::addDatabase("QSQLITE", "dbsq...
; A102566: a(n) = {minimal k such that f^k(prime(n)) = 1} where f(m) = (m+1)/2^r, 2^r is the highest power of two dividing m+1. ; 2,1,2,1,2,2,4,3,2,2,1,4,4,3,2,3,2,2,5,4,5,3,4,4,5,4,3,3,3,4,1,6,6,5,5,4,4,5,4,4,4,4,2,6,5,4,4,2,4,4,4,2,4,2,8,6,6,5,6,6,5,6,5,4,5,4,5,6,4,4,6,4,3,4,3,2,6,5,6,5,5,5,3,5,3,3,6,5,4,3,4,2,3,3,3,...
#include <iostream> #include <iomanip> #include <boost/python.hpp> #include "../../def_submodule.hpp" #include "../../../../../render/engine.hpp" #include "../../../../../type/picture/memory.hpp" namespace { typedef GS_DDMRM::S_IceRay::S_render::GC_engine GFs_engine; typedef GS_DDMRM::S_IceRay:...
Name: zel_rmdt9.asm Type: file Size: 377096 Last-Modified: '2016-05-13T04:25:37Z' SHA-1: CDE2EE3B0E0F9C708EB2519C46DDBE34CB451E76 Description: null
; A122658: a(n) = if n mod 2 = 1 then n^3*(n-1)^2/2 else n^5/2. ; 0,0,16,54,512,1000,3888,6174,16384,23328,50000,66550,124416,158184,268912,330750,524288,628864,944784,1111158,1600000,1852200,2576816,2944414,3981312,4500000,5940688,6652854,8605184,9560488,12150000,13405950,16777216,18399744 mov $2,$0 div $0,-2 pow $2,...
/* Provided to you by Emlid Ltd (c) 2015. twitter.com/emlidtech || www.emlid.com || info@emlid.com Example: Read accelerometer, gyroscope and magnetometer values from inertial measurement unit: MPU9250 or LSM9DS1 over SPI on Raspberry Pi + Navio. Navio's onboard sensors are connected to the SPI bus on Raspberry Pi an...
#include "PAnimationWidget.h" #include "PSimulationThread.h" #include <QGridLayout> #include <QPushButton> #include <QSpinBox> #include <QLineEdit> #include <QSlider> #include <QScrollBar> #include <QIntValidator> namespace dyno { PAnimationWidget::PAnimationWidget(QWidget *parent) : QWidget(parent), m_startSi...
icl '../os/symbols.asm' ; this test is a direct read from storage, without BIOS support org BOOTADDR lda #0 ldx #OS_SET_VIDEO_MODE jsr OS_CALL sta ST_WRITE_RESET mwa DISPLAY_START VRAM_TO_RAM jsr lib_vram_to_ram ; Call command to open file lda #ST_CMD_OPEN jsr storage_write ...
; NOTE: compile with MASM 5.10. Later MASM's will produce code that crashes. ; ; static char sccs_id[] = "@(#)patch16.asm 1.10 1/12/95 15:41:19"; ; ; This code is being published by Intel to users of the Pentium(tm) ; processor. Recipients are authorized to copy, modify, compile, use and ; distribute the code....
#pragma once #include "scene/scene.hpp"
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
;****************************************************************** ; 6502 BBC Micro Compressed VGM (VGC) Music Player ; By Simon Morris ; https://github.com/simondotm/vgm-packer ;****************************************************************** ;--------------------------------------------------------------- ; VGM P...
; int adler32file(char* filepath, int* result); global adler32file extern CreateFileA extern CloseHandle extern ReadFile ; ======= Configure here the best size for your system ======= %define BUFFER_SIZE 65536 ; ============================================================ section .bss buffer resb BUFFER_SIZE se...
#include "../RadioHandler.h"
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1246b, %r10 nop xor $995, %r12 movb $0x61, (%r10) nop nop nop sub $35894, %rdx lea addresses_UC_ht+0xc47b, %r10 and %r12, %r12 movl $0x61626364, (%r10) nop nop nop nop inc %...
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { int n, m; cin >> n >> m; vector <double> v; for(int i = 1; i <= n; i++) { int a, b; cin >> a >> b; double cost = (a * 1.0) / (b * 1.0); v.push_back(cost); } sort(v.begin(), v.end()...
_usertests: formato do arquivo elf32-i386 Desmontagem da seção .text: 00000000 <main>: return randstate; } 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 pushl -0x4(%ecx) a: 5...
; A071239: a(n) = n*(n+1)*(n^2+2)/6. ; 0,1,6,22,60,135,266,476,792,1245,1870,2706,3796,5187,6930,9080,11696,14841,18582,22990,28140,34111,40986,48852,57800,67925,79326,92106,106372,122235,139810,159216,180576,204017,229670,257670,288156,321271,357162,395980,437880,483021,531566,583682,639540,699315,763186,831336,903952...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 (at your option) any later version. * * This program is d...
db DEX_VULPIX ; pokedex id db 38 ; base hp db 41 ; base attack db 40 ; base defense db 65 ; base speed db 65 ; base special db FIRE ; species type 1 db FIRE ; species type 2 db 190 ; catch rate db 63 ; base exp yield INCBIN "pic/ymon/vulpix.pic",0,1 ; 66, sprite dimensions dw VulpixPicFront dw VulpixPicBack ; attacks k...
; A154246: a(n) = ( (5 + sqrt(7))^n - (5 - sqrt(7))^n )/(2*sqrt(7)). ; Submitted by Jon Maiga ; 1,10,82,640,4924,37720,288568,2206720,16872976,129008800,986374432,7541585920,57661119424,440862647680,3370726327168,25771735613440,197044282245376,1506551581411840,11518718733701632,88069258871603200,673355651509402624,5148...
; A025744: Index of 10^n within sequence of numbers of form 6^i*10^j. ; 1,3,6,10,16,23,31,40,51,63,76,91,107,124,142,162,183,205,229,254,280,307,336,366,397,430,464,499,535,573,612,652,694,737,781,826,873,921,970,1021,1073,1126,1180,1236,1293,1351,1411,1472,1534,1597,1662,1728,1795 mov $3,$0 add $3,3 add $0,$3 add $3,...
Name: sccdrv.asm Type: file Size: 22054 Last-Modified: '2016-05-13T04:52:55Z' SHA-1: D911D2CA8090B2ADA1B46459AE28111BB5C073EC Description: null
; A133728: A128174 * A127775. ; Submitted by Jon Maiga ; 1,0,3,1,0,5,0,3,0,7,1,0,5,0,9,0,3,0,7,0,11,1,0,5,0,9,0,13,0,3,0,7,0,11,0,15,1,0,5,0,9,0,13,0,17,0,3,0,7,0,11,0,15,0,19,1,0,5,0,9,0,13,0,17,0,21,0,3,0,7,0,11,0,15,0,19,0,23 seq $0,128179 ; A097807 * A002260. mul $0,2 max $0,1 sub $0,1
; A112032: Denominator of 3/4 + 1/4 - 3/8 - 1/8 + 3/16 + 1/16 - 3/32 - 1/32 + 3/64 ... ; 4,1,8,2,16,4,32,8,64,16,128,32,256,64,512,128,1024,256,2048,512,4096,1024,8192,2048,16384,4096,32768,8192,65536,16384,131072,32768,262144,65536,524288,131072,1048576,262144,2097152,524288,4194304,1048576,8388608,2097152,16777216,41...
; A125117: First differences of A034887. ; 0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0 mov $6,$0 mov $7,2 lpb $7,1 mov $0,$6 sub $7,1 add $0,$7 ...
#include "vex.h" #include "drivetrain.h" void sensor_display() { //int line_y = 0; //Print(0, line_y += 20, "gyro deg: %.2f ", gyro_z.value(rotationUnits::deg)); // Print(0, line_y += 20, "gyro mv: %.2f ", gyro_z.value(analogUnits::mV) ); // Print(0, line_y += 20, "gyro_fa : %.2f ", GyroGetAbsAngle()); ...
############################################################################### # Copyright 2018 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...
; A190716: a(2*n) = 2*n and a(2*n-1) = A054569(n). ; 1,2,7,4,21,6,43,8,73,10,111,12,157,14,211,16,273,18,343,20,421,22,507,24,601,26,703,28,813,30,931,32,1057,34,1191,36,1333,38,1483,40,1641,42,1807,44,1981,46,2163,48,2353,50,2551,52,2757,54,2971,56,3193 mov $1,-2 lpb $1,$0 bin $1,$0 mul $0,$1 bin $1,$2 lpe mov ...
;; ;; Copyright (c) 2012-2018, Intel Corporation ;; ;; 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 conditions and...
/* * Copyright (c) 2018 Isetta */ #include "SinglePlayerLevel.h" #include <IsettaEngine.h> // GAME #include <Input/Input.h> #include "Consts.h" #include "Gameplay/Damageable.h" #include "Player/PlayerHealth.h" using namespace Isetta; using CameraProperty = CameraComponent::Property; void SinglePlayerLevel::Load() ...
.file "-" .file 1 "/home/mgodbold/dev/gcc-explorer/-" .file 2 "/home/mgodbold/dev/gcc-explorer/<stdin>" .section .debug_info,"",@progbits .Lsection_info: .section .debug_abbrev,"",@progbits .Lsection_abbrev: .section .debug_aranges,"",@progbits .section .debug_macinfo,"",@progbits .section .debug_line,"",@progb...
; Copyright 2005-2013 Intel Corporation. All Rights Reserved. ; ; This file is part of Threading Building Blocks. ; ; Threading Building Blocks is free software; you can redistribute it ; and/or modify it under the terms of the GNU General Public License ; version 2 as published by the Free Software Foundation. ; ; Th...
/** * Upbit Open API * ## REST API for Upbit Exchange - Base URL: [https://api.upbit.com] - Official Upbit API Documents: [https://docs.upbit.com] - Official Support email: [open-api@upbit.com] * * OpenAPI spec version: 1.1.6 * Contact: ujhin942@gmail.com * * NOTE: This class is auto generated by the swagger co...
#include <MyHeaders\Dialog.h> #include <MyHeaders\Button.h> #include <MyHeaders\CheckBox.h> #include <MyHeaders\ListView.h> #include <string> using std::wstring; using std::to_wstring; #include "resource.h" struct Controls { Button btn; CheckBox cbox; ListView lv; }; DIALOGPROC(proc, handle, msg, wp, lp) { //init...
; A049398: a(n) = (n+9)!/9!. ; 1,10,110,1320,17160,240240,3603600,57657600,980179200,17643225600,335221286400,6704425728000,140792940288000,3097444686336000,71241227785728000,1709789466857472000,42744736671436800000,1111363153457356800000,30006805143348633600000,840190544013761740800000,24365525776399090483200000,73096...
test_device(): sub rsp, 24 call rand mov rax, QWORD PTR [rsp] mov edx, DWORD PTR [rsp] shr rax, 12 and edx, -258049 add eax, 1 and eax, 63 mov ecx, eax sal ecx, 12 or edx, ecx mov ...
// Problem Code: abc158_c #include <iostream> #include <cmath> using namespace std; int tax_increase(int A, int B) { for (int i = ceil(A / 0.08); int(i * 0.08) == A; i++) if (int(i * 0.1) == B) return i; return -1; } int main() { int A, B; cin >> A >> B; cout << tax_increase(A, B); return 0; }
; A198309: Moore lower bound on the order of a (9,g)-cage. ; Submitted by Jon Maiga ; 10,18,82,146,658,1170,5266,9362,42130,74898,337042,599186,2696338,4793490,21570706,38347922,172565650,306783378,1380525202,2454267026,11044201618,19634136210,88353612946,157073089682,706828903570,1256584717458,5654631228562,1005267773...
; Assert that a particular label immediately follows; this documents where code ; falls through into following code and helps to detect problems if other code ; is accidentally interposed. macro fall_through_to target assert P% == target endmacro macro inc_word x inc x bne no_carry inc x+1 .no_carry en...
; ; jdcolss2.asm - colorspace conversion (SSE2) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright 2009 D. R. Commander ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext...
#include "EPoller.h" #include <cassert> #include <vector> #include <fcntl.h> class Pipe { int fd_[2]; public: Pipe() { int ret = pipe2(fd_, O_NONBLOCK | O_CLOEXEC); assert(ret == 0); } int getReadFD() { return fd_[0]; } int getWriteFD() { return fd_[1]; } ~Pipe() { close(...
// // Copyright (C) 2011-15 DyND Developers // BSD 2-Clause License, see LICENSE.txt // #pragma once #include <dynd/type.hpp> #include <dynd/types/base_string_type.hpp> namespace dynd { namespace ndt { class DYNDT_API fixed_string_kind_type : public base_string_type { public: fixed_string_kind_type(); ...
/* ********************************************************************************************************* * uC/Probe Communication * * (c) Copyright 2007; Micrium, Inc.; Weston, FL * * All rights reserved. Protected by international copyri...
; A060939: a(n) = (Sum of the first n primes) + n. ; 3,7,13,21,33,47,65,85,109,139,171,209,251,295,343,397,457,519,587,659,733,813,897,987,1085,1187,1291,1399,1509,1623,1751,1883,2021,2161,2311,2463,2621,2785,2953,3127,3307,3489,3681,3875,4073,4273,4485,4709,4937,5167,5401,5641,5883,6135,6393,6657,6927,7199,7477,7759,8...
Name: Poo.asm Type: file Size: 4791 Last-Modified: '1992-11-18T01:48:25Z' SHA-1: 5D009387589543EB857BDF69DD2B8B9315B0CD50 Description: null