text
stringlengths
1
1.05M
; Copyright (c) 2004, Intel Corporation ; All rights reserved. This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution...
; ; bootRogue game in 512 bytes (boot sector) ; ; by Oscar Toledo G. ; http://nanochess.org/ ; ; (c) Copyright 2019 Oscar Toledo G. ; ; Creation date: Sep/19/2019. Generates room boxes. ; Revision date: Sep/20/2019. Connect rooms. ...
// RUN: %clang_cc1 -fsyntax-only -verify %s template <int> class b; class c; // expected-note{{forward declaration}} ::b<0> struct c::d // expected-error{{incomplete type}} expected-error{{cannot combine}} expected-error{{expected unqualified-id}}
; Serial I/O program loader/monitor ; ; We initialise the system, mapping RAM into place, and then execute ; very simple (and not human-friendly) commands over serial. The real ; point of this is to provide a mechanism to allow programs to be ; loaded without reprogramming the EEPROM, speeding up the development ; cycl...
Name: zel_endt.asm Type: file Size: 216990 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: 1E6C972D773A43FE843C5EEBE403B72160A26AD1 Description: null
; -------------------------------------- ; Test opcode ANI. ; AND # (immediate db) with register A, storing the result in register A. ; -------------------------------------- ...
; A131064: Binomial transform of [1, 1, 5, 5, 5, ...]. ; 1,2,8,24,60,136,292,608,1244,2520,5076,10192,20428,40904,81860,163776,327612,655288,1310644,2621360,5242796,10485672,20971428,41942944,83885980,167772056,335544212,671088528,1342177164,2684354440,5368708996,10737418112,21474836348,42949672824,85899345780,17179869...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1c81e, %rdi nop nop nop nop add $2695, %rcx vmovups (%rdi), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $1, %xmm2, %r8 nop nop nop nop dec %rsi lea addresses_UC_ht+0x1291e, %r...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; SETB mov ecx, 0x010 mov ebx, 0x0F0 cmp ecx, ebx ;TEST_BEGIN_RECORDING setb al ;TEST_END_RECORDING
.386p ;****************************************************************************** title SEGFIX ;****************************************************************************** ; ; (C) Copyright MICROSOFT Corp. 1989-1991 ; (C) Copyright COMPAQ Computer Corp. 1989-1991 ; ; Title: EMM386.EXE - MICROSOFT Expan...
%include "mboot2hdr.inc.asm" global _initializer_start section .text ; C++ entry point extern start ; Bootloader boots us in 32-bit mode, so we start in it bits 32 _initializer_start: ;Setup stack mov esp, stack_top mov edi, ebx ; boot pointer call cls ; clear screen call check_mu...
; A325102: Number of ordered pairs of positive integers up to n with no binary carries. ; 0,0,2,2,8,10,12,12,26,32,38,40,46,48,50,50,80,94,108,114,128,134,140,142,156,162,168,170,176,178,180,180,242,272,302,316,346,360,374,380,410,424,438,444,458,464,470,472,502,516,530,536,550,556,562,564,578 mov $10,$0 mov $12,$0 lp...
; === [ text section ] ========================================================= section ".text" global _start _start: ; write(1, "Hello world!\n", 13) mov eax, 4 ; sys_write mov ebx, 1 ; fd: stdout mov ecx, hello ; buf: str mov edx, 13 ; len: len(str) int 0x80 ; syscall ; exit(0) mov eax, 1 ; ...
; A077239: Bisection (odd part) of Chebyshev sequence with Diophantine property. ; 7,37,215,1253,7303,42565,248087,1445957,8427655,49119973,286292183,1668633125,9725506567,56684406277,330380931095,1925601180293,11223226150663,65413755723685,381259308191447,2222142093424997,12951593252358535,75487417420726213 mul $0,2 ...
; A046163: Reduced denominators of (n-1)^2/(n^2+n+1). Arises in Routh's theorem. ; 1,7,13,7,31,43,19,73,91,37,133,157,61,211,241,91,307,343,127,421,463,169,553,601,217,703,757,271,871,931,331,1057,1123,397,1261,1333,469,1483,1561,547,1723,1807,631,1981,2071,721,2257,2353,817,2551,2653 mov $1,$0 add $1,3 mul $0,$1 add ...
global __get_ntdll_handle_64 global __get_ntdll_handle_64_end global __enumerate_import_table_2 global __enumerate_import_table_2_end global __enumerate_export_table_2 global __enumerate_export_table_2_end section .text ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; __get_ntdll_handle_64: ;;; mov rax, [...
/** * Copyright 2021 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...
GLOBAL cpuVendor GLOBAL readPort GLOBAL writePort %include "./asm/macros.m" section .text readPort: ;(Recibe el puerto a leer en rdi) push rbp mov rbp, rsp mov rdx, rdi in al, dx mov rsp, rbp pop rbp ret writePort: ;(Recibe el puerto a escribir en rdi y en rsi lo que hay que escribir) push rbp mov rbp, ...
# swap mov r0, 99 swap [s1], r0 halt .data s1: data 1
;############################# ;# Shock Raid # ;# # ;# by Richard Bayliss # ;# # ;# (C)2021 The New Dimension # ;# For Reset Magazine # ;############################# ;Game variables ;Map and tile memory data tilemem = $b0 ;Load addre...
; A108233: Numbers n such that 11*n + 5 is prime. ; Submitted by Christian Krause ; 0,6,12,16,24,28,34,36,42,52,54,58,64,72,78,82,84,94,96,106,108,112,114,118,138,142,154,156,162,166,184,196,208,216,222,232,234,244,246,252,258,262,264,268,274,276,292,306,322,328,336,342,348,352,358,384,388,394,408,418,426,436,444,448,4...
.data a: 12321 .text main: load %x0, $a, %x3 sub %x7, %x7, %x7 loop: divi %x3, 10, %x4 muli %x7, 10, %x7 add %x7, %x31, %x7 divi %x3, 10, %x3 bgt %x3, %x0, loop load %x0, $a, %x5 beq %x5, %x7, palindrome sub %x10, %x10, %x10 subi %x10, 1, %x10 end palindrome: sub %x10, %x10, %x10 addi %x10, 1, %x10 en...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args=""/> <%docstring> Invokes the syscall vfork. See 'man 2 vfork' for more information. Arguments: </%docstring> ${syscall('SYS_vfork')}
; A034584: Radon-Hurwitz numbers: log_2 of dimension of an irreducible R-module for Clifford algebra Cl_n. ; 0,1,2,2,3,3,3,3,4,5,6,6,7,7,7,7,8,9,10,10,11,11,11,11,12,13,14,14,15,15,15,15,16,17,18,18,19,19,19,19,20,21,22,22,23,23,23,23,24,25,26,26,27,27,27,27,28,29,30,30,31,31,31,31 add $0,5 mov $2,4 mov $4,3 lpb $0 ...
////////////////////////////////////////////////////////////////// // // lazy_ptr_tests.cpp // // Tests for ptr_to_fun, ptr_to_fun0 and ptr_to_mem_fun. // // /*============================================================================= Copyright (c) 2000-2003 Brian McNamara and Yannis Smaragdakis Copyright (c...
SECTION code_fp_math48 PUBLIC dadd EXTERN cm48_sccz80p_dadd defc dadd = cm48_sccz80p_dadd
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1ba7a, %rsi lea addresses_WC_ht+0x155ba, %rdi nop nop nop cmp %r12, %r12 mov $120, %rcx rep movsq nop nop nop nop dec %rdi pop %rsi pop %rdi pop %rcx pop %r12 ret .global s_faulty_load s_faulty_load: push...
; A056991: Numbers with digital root 1, 4, 7 or 9. ; 1,4,7,9,10,13,16,18,19,22,25,27,28,31,34,36,37,40,43,45,46,49,52,54,55,58,61,63,64,67,70,72,73,76,79,81,82,85,88,90,91,94,97,99,100,103,106,108,109,112,115,117,118,121,124,126,127,130,133,135,136,139,142,144,145,148,151,153,154,157,160,162,163,166,169,171,172,175,178...
; A105082: Expansion of (5+4x)/(1-2x-x^2). ; 5,14,33,80,193,466,1125,2716,6557,15830,38217,92264,222745,537754,1298253,3134260,7566773,18267806,44102385,106472576,257047537,620567650,1498182837,3616933324,8732049485,21081032294,50894114073,122869260440,296632634953,716134530346,1728901695645,4173937921636,1007677753891...
// A program to extract the BAT topology from the binary output of the PARENT program // Copyright (C) 2015 Markus Fleck (member of the laboratory of Bojan Zagrovic, University of Vienna) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Pub...
aLine 0 gBne Root, null, 3 aLine 1 Exception NOT_FOUND aLine 3 gNew currentPtr gMove currentPtr, Root aLine 4 sInit idx, 0 gNewVPtr currentNext gMoveNext currentNext, currentPtr aLine 5 gBeq currentNext, Root, 8 vBeq currentPtr, {0:D}, 7 aLine 6 gMove currentPtr, currentNext gMoveNext currentNext, currentNext aLi...
// Copyright RedPortal, mujjingun 2017 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef _MGCPP_EXPRESSIONS_DVEC_REDUCE_EXPR_HPP_ #define _MGCPP_EXPRESSIONS_DVEC_REDUCE_EXPR_HPP_ #in...
/* * Copyright 2010-2017 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" fil...
; A339597: When 2*n+1 first appears in A086799. ; 1,2,5,4,9,10,13,8,17,18,21,20,25,26,29,16,33,34,37,36,41,42,45,40,49,50,53,52,57,58,61,32,65,66,69,68,73,74,77,72,81,82,85,84,89,90,93,80,97,98,101,100,105,106,109,104,113,114,117,116,121,122,125,64,129,130,133,132,137,138,141,136,145,146,149,148,153,154,157,144,161,162...
; A285541: Binary representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 35", based on the 5-celled von Neumann neighborhood. ; Submitted by Christian Krause ; 1,11,110,1111,11100,111111,1111000,11111111,111110000,1111111111,11...
#include "pch.h" #include "float_curve_editor.h" #include "float_curve.h" using xray::editor::controls::float_curve_editor; using xray::editor::float_curve; PointF float_curve_editor::client_point_to_curve(Point client_point) { float sx = (Width-m_point_rect_sz.Width) / (m_curve->max_time-m_curve->min_time...
; A271800: Five steps forward, four steps back. ; 0,1,2,3,4,5,4,3,2,1,2,3,4,5,6,5,4,3,2,3,4,5,6,7,6,5,4,3,4,5,6,7,8,7,6,5,4,5,6,7,8,9,8,7,6,5,6,7,8,9,10,9,8,7,6,7,8,9,10,11,10,9,8,7,8,9,10,11,12,11,10,9,8,9,10,11,12,13,12,11,10,9,10,11,12,13,14,13,12,11,10,11,12,13,14,15,14,13,12,11,12,13,14,15,16,15,14,13,12,13,14,15,...
INP ; get the first input STA FIRST ; store it in FIRST INP ; get the second input STA SECOND ; store it in SECOND LDA FIRST ; load FIRST OUT ; output value LDA SECOND ; load SECOND OUT ; output value HLT ; end of program FIRST DAT ; storage SECOND DAT ; storage
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Local/CharModule FILE: cmapMulti.def AUTHOR: Gene Anderson, Aug 22, 1989 REVISION HISTORY: Name Date Description ---- ---- ----------- eca ...
; int fprintf_unlocked(FILE *stream, const char *format, ...) SECTION code_clib SECTION code_stdio PUBLIC fprintf_unlocked EXTERN asm_fprintf_unlocked defc fprintf_unlocked = asm_fprintf_unlocked
; A245489: a(n) = (1^n + (-2)^n + 4^n)/3. ; 1,1,7,19,91,331,1387,5419,21931,87211,349867,1397419,5593771,22366891,89483947,357903019,1431677611,5726579371,22906579627,91625794219,366504225451,1466014804651,5864063412907,23456245263019,93824997829291,375299957762731,1501199898159787,6004799458421419 mov $2,2 pow $2,$0 ...
; ; VGM HuC6280 chip ; HuC6280: MACRO super: Chip HuC6280_name, Header.huC6280Clock, System_Return ENDM ; ix = this ; iy = header HuC6280_Construct: equ Chip_Construct ; jp Chip_Construct ; ix = this HuC6280_Destruct: equ Chip_Destruct ; jp Chip_Destruct ; SECTION RAM HuC6280_instance: HuC6280 ENDS HuC6280_na...
#include <Encode/AlphaEncodingManager.h> #include <ctype.h> #include <map> #include <sstream> static enum class VRCommDataAlphaEncodingKey : int { FinSplayThumb, FinSplayIndex, FinSplayMiddle, FinSplayRing, FinSplayPinky, FinJointThumb0, FinJointThumb1, FinJointThumb2, FinJointThumb3, // unused in...
; A060459: a(n) = (n*(n+1))^3. ; 0,8,216,1728,8000,27000,74088,175616,373248,729000,1331000,2299968,3796416,6028568,9261000,13824000,20123648,28652616,40001688,54872000,74088000,98611128,129554216,168196608,216000000,274625000,345948408,432081216,535387328,658503000,804357000,976191488,1177583616,1412467848,1685159000,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1c384, %r12 sub %rcx, %rcx mov $0x6162636465666768, %r11 movq %r11, %xmm3 movups %xmm3, (%r12) nop nop nop nop nop sub $7369, %r13 lea addresses_D_ht+0x5a4c, %r8 cmp...
; ; Z88DK Graphics Functions - Small C+ stubs ; ; $Id: xorplot.asm,v 1.1 2002/03/28 09:41:14 stefano Exp $ ; ;Usage: xorplot(struct *pixel) XLIB xorplot LIB swapgfxbk LIB swapgfxbk1 LIB xorpixel .xorplot ld ix,0 add ix,sp ld...
* Reset the pointer areas, hit and outline, for a window and its * corresponding primary. * * 2005-11-14 1.01 Correctly restores screen for unbehaved windows (MK) * * Registers: * Entry Exit * D4-D7 smashed * A0 pointer to cdb to set preserved * section driver * include 'dev8_keys_con' include 'dev8_keys_...
; ; Generic pseudo graphics routines for text-only platforms ; ; PacMan Hardware port by Stefano Bodrato, 2017 ; ; ; char_address - internal sub ; in: b,c (x,y) out: hl (address) ; ; ; $Id:$ ; INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC char_address ...
; A100679: Floor of cube root of tetrahedral numbers. ; 0,1,1,2,2,3,3,4,4,5,6,6,7,7,8,8,9,9,10,10,11,12,12,13,13,14,14,15,15,16,17,17,18,18,19,19,20,20,21,22,22,23,23,24,24,25,25,26,26,27,28,28,29,29,30,30,31,31,32,33,33,34 add $0,3 mul $0,2 add $0,52 mul $0,2 add $0,3 mov $1,1 mov $2,$0 lpb $0 mov $0,1 mul $2,2 ...
[SECTION .text] ; 导出函数 global memcpy ; ------------------------------------------------------------------------ ; void* memcpy(void* es:p_dst, void* ds:p_src, int size); ; ------------------------------------------------------------------------ memcpy: push ebp mov ebp, esp push esi push edi push ecx mov edi...
; A020969: Expansion of 1/((1-7*x)*(1-8*x)*(1-12*x)). ; Submitted by Jamie Morken(s2) ; 1,27,493,7611,107293,1432011,18457741,232505307,2883927805,35398400235,431393410669,5231599117563,63232056214237,762504498009099,9180490786688077,110414131486397979,1326988747136473789,15940250950549257003,191415727699481566765,2298...
; org $400 move.b #$45,d1 move.b #$17,d2 abcd d1,d2 bcs abcd_fail cmpi.b #$62,d2 bne abcd_fail abcd d1,d2 bcc abcd_fail cmpi.b #$07,d2 bne abcd_fail abcd d2,d3 bcs abcd_fail cmpi.b #$08,d3 bne abcd_fail move.l d6,d1 ori.b #$10,CCR nop nop abc...
print_hex: pusha mov si, HEX_Map ; Pointer to hex-character table mov di, HEX_Out mov bx, ax ; BX = argument AX and bx, 00FFh ; Clear BH (just to be on the safe side) shr bx, 4 ; Isolate high nibble (i.e. 4 bits) mov dl, [...
// Copyright (c) 2018 Martyn Afford // Licensed under the MIT licence #ifndef DIAMOND_SQUARE_HPP #define DIAMOND_SQUARE_HPP #include <cassert> namespace heightfield { // Generate a heightfield using random midpoint displacement and the // diamond-square algorithm. // // \param size // Size of the desired heightfi...
; A098735: Numerator of sum of all matrix elements M(i,j) = i^2 + j^2 (i,j = 1..n) divided by n!. ; Submitted by Jamie Morken(w1) ; 2,10,14,10,55,91,7,17,19,11,253,13,13,29,31,17,17,703,19,41,43,23,1081,1,1,53,1,29,1711,1891,31,1,67,1,71,2701,37,1,79,41,3403,43,43,89,1,47,47,97,1,101,103,53,5671,109,1,113,1,59,59,61,61...
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosSetFileInfo DOS wrapper ; ; (c) osFree Project 2018, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokus...
#ifndef BOOST_MPL_AUX_CONFIG_GCC_HPP_INCLUDED #define BOOST_MPL_AUX_CONFIG_GCC_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2004 // // 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) // // See http://www.boost.org...
;**************************************** ;** Part 10. FLOATING-POINT CALCULATOR ** ;**************************************** PUBLIC L335B PUBLIC L33A9 PUBLIC L33B4 PUBLIC L33C0 PUBLIC L3406 PUBLIC L346E PUBLIC L34E9 PUBLIC L350B EXTERN L15E6 ...
%ifdef CONFIG { "RegData": { "XMM0": ["0x0506070801000000", "0x0000000000000012"], "XMM1": ["0x6576879821300000", "0x0000000000000000"], "XMM2": ["0xB90984060D300000", "0x000000000000C03B"], "XMM3": ["0xA83732340C000000", "0x000000000000C03B"], "XMM4": ["0xFFAA6DA436100000", "0x000000000000C0...
LDA 00A0H MVI B,64H MOV C,A CALL DIVISION ;Division by 100 MOV A,C STA 00B0H MOV C,B MVI B,0AH CALL DIVISION ;Division by 10 ADI 00H MOV A,C RLC RLC RLC RLC ORA B STA 00B1H HLT ; Input : B = divider, C = dividend ; Output : B = remainder, C = quotient DIVISION: MOV A,C ;4 ...
; A195014: Vertex number of a square spiral whose edges have length A195013. ; 0,2,5,9,15,21,30,38,50,60,75,87,105,119,140,156,180,198,225,245,275,297,330,354,390,416,455,483,525,555,600,632,680,714,765,801,855,893,950,990,1050,1092,1155,1199,1265,1311,1380,1428,1500,1550,1625,1677 mov $2,$0 add $2,$0 add $0,1 add $2,...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2020 Intel Corporation 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 so...
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2018 Intel Corporation #ifndef OPENCV_GAPI_CPU_CORE_API_HPP #define OPENCV_GAPI_CPU_CORE_API_HPP #inclu...
#include "common/config/solo_metadata.h" namespace Envoy { namespace Config { absl::optional<const std::string *> SoloMetadata::nonEmptyStringValue(const ProtobufWkt::Struct &spec, const std::string &key) { absl::optional<const ProtobufWkt::Value *> maybe_value = value(spec, key);...
; A076459: Sum of numbers that can be written as t*n + u*(n+1) for nonnegative integers t,u in exactly n ways. ; 1,57,390,1510,4335,10311,21532,40860,72045,119845,190146,290082,428155,614355,860280,1179256,1586457,2099025,2736190,3519390,4472391,5621407,6995220,8625300,10545925,12794301,15410682,18438490,21924435,25918...
;====================================================================== ; SN76489 sound driver ; ; WRITTEN BY: DEAN NETHERTON ;====================================================================== ; ; TODO: ; 1. PROVIDE SUPPORT FOR NOISE CHANNEL ; 2. DOES THIS WORK FOR FASTER CPUS? ONLY BEEN TESTED ON A Z80 7M...
#include "Base.h" #include "ScriptController.h" #include "lua_Terrain.h" #include "Animation.h" #include "AnimationTarget.h" #include "Base.h" #include "FileSystem.h" #include "Game.h" #include "Node.h" #include "Ref.h" #include "ScriptController.h" #include "ScriptTarget.h" #include "Terrain.h" #include "TerrainPatch....
/* ********************************************************** * Copyright (c) 2019 Google, Inc. All rights reserved. * Copyright (c) 2016 ARM Limited. All rights reserved. * **********************************************************/ /* * Redistribution and use in source and binary forms, with or without * modifi...
lorom !FEATURE_SD2SNES ?= 1 !FEATURE_DEV ?= 0 !FEATURE_PAL ?= 1 !ORIGINAL_MESSAGE_TEXT ?= 0 !PRESERVE_WRAM_DURING_SPACETIME ?= 1 !RAW_TILE_GRAPHICS ?= 1 !VERSION_MAJOR = 2 !VERSION_MINOR = 4 !VERSION_BUILD = 1 !VERSION_REV_1 = 0 !VERSION_REV_2 = 0 table ../resources/normal.tbl incsrc macros.asm incsrc defines.asm ...
#include "OLEDDisplay.h" #include "Defines.h" #ifdef USING_SERIAL extern HardwareSerial Serial; #endif #define OLED_RESET -1 // No reset pin on cheap OLED display Adafruit_SSD1306 *OLED; char lineBuffer[NUM_LCD_ROWS][NUM_LCD_COLS + 1]; // Leave an extra space for terminating null int lineSize[NUM_LCD_ROWS]...
; A040700: Continued fraction for sqrt(727). ; Submitted by Jamie Morken(s1) ; 26,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25 gcd $0,262156 mul $0,42 mod $0,13 mov $1,$0 div $1,5...
; A157505: a(n) = 1458*n + 18. ; 1476,2934,4392,5850,7308,8766,10224,11682,13140,14598,16056,17514,18972,20430,21888,23346,24804,26262,27720,29178,30636,32094,33552,35010,36468,37926,39384,40842,42300,43758,45216,46674,48132,49590,51048,52506,53964,55422,56880,58338,59796,61254,62712,64170,65628,67086,68544,70002,71460...
////////////////////////////////////////////////////////////////////////// // // Crytek Source code // Copyright (c) Crytek 2001-2004 // // File: smartptr.h // Description: Smart pointer class. // // History: // - September 2002: File created // - February 2005: Modified by Marco Corbetta for SDK release // /////...
#include <iostream> using namespace std; int main(){ int durasi, total_pembayaran, lama_sewa_1, lama_sewa_2, lama_sewa_3, harga_sewa_1, harga_sewa_2, harga_sewa_3; int total_1, total_2, total_3; cout<<"PROGRAM MENGHITUNG BIAYA PENYEWAAN"<<endl; cout<<"=================================="<<endl;...
INCLUDE "graphics/grafix.inc" EXTERN generic_console_printc EXTERN generic_console_plotc EXTERN generic_console_vpeek EXTERN generic_console_pointxy EXTERN textpixl EXTERN __console_w EXTERN __console_h ld a,(__console_w) add a dec a cp h ret c ld a,(__console_h) add a dec a cp l ret c ...
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
; A186379: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=4i and g(j)=j(j+1)/2 (triangular number). Complement of A186380. ; 3,5,7,9,10,12,13,15,16,18,19,21,22,24,25,26,28,29,30,32,33,34,36,37,38,39,41,42,43,44,46,47,48,49,51,52,53,54,56,57,58,59,61,62,63,64,65,67,68...
; A142525: Primes congruent to 37 mod 52. ; Submitted by Christian Krause ; 37,89,193,349,401,557,661,1129,1181,1493,1597,1753,2221,2273,2377,2689,2741,2897,3001,3209,3313,3469,3677,3833,3989,4093,4457,4561,5081,5237,5393,5653,5861,6121,6173,6277,6329,7057,7109,7213,7369,7577,7681,7993,8461,8513,8669,8929,9137,9241,929...
@1 // Início do programa principal D=M // DENOMINADOR @DIVISAOPORZERO D;JEQ // if (NUMERADOR == 0) goto DIVISAOPORZERO @0 D=M // NUMERADOR @TIPO2OU3 // classificação do TIPO D;JLT // if (NUMERADOR < 0) goto TIPO2OU3 @1 D=M ...
#include <iostream> #include <string> using namespace std; int digitos(int num, string &r){ if (num < 10){ r = to_string(num)+r; return num; } else{ r = to_string(num % 10) +r; r = " " + r; r = "+" + r; r = " " + r; return (num%10 + digitos(num / 10, r)); } } bool resuelveCaso(...
%include "boot.inc" section loader vstart=LOADER_BASE_ADDR LOADER_STACK_TOP equ LOADER_BASE_ADDR ; 这里其实就是GDT的起始地址,第一个描述符为空 GDT_BASE: dd 0x00000000 dd 0x00000000 ; 代码段描述符,一个dd为4字节,段描述符为8字节,上面为低4字节 CODE_DESC: dd 0x0000FFFF dd DESC_CODE_HIGH4 ; 栈段描述符,和数据段共用 DATA_STACK_DESC: dd 0x0000FFFF ...
; A122414: Triangle T(n,k) for 1 <= k <= n read by rows, where T(n,k) = 1 if gcd(n,k) is prime, 0 otherwise. ; 0,0,1,0,0,1,0,1,0,0,0,0,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,1,1,0 seq $0,5...
; width of east/west connections ; height of north/south connections MAP_BORDER EQU 3 ; connection directions EAST EQU 1 WEST EQU 2 SOUTH EQU 4 NORTH EQU 8
/* Copyright 2016 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...
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
include 'util/Macro.asm' org 0x8000 begin: di ld bc,(23672) ld (seed),bc ld a,colscr ld (23693),a call 3503 ld a,colbdr call 8859 ; Set up graphics ld hl,gfx ld (23675),hl call 3503 call terrain_init ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distr...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e336, %rax nop nop xor $16562, %rcx movups (%rax), %xmm6 vpextrq $0, %xmm6, %r10 nop nop nop nop nop dec %r8 lea addresses_A_ht+0x13c36, %rbx nop nop nop nop nop add %r10, %...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0xcea4, %rsi lea addresses_WC_ht+0x9e51, %rdi nop nop inc %r9 mov $25, %rcx rep movsl nop nop and %rdi, %rdi lea addresses_normal_ht+0x14245, %rdi sub %r11, %r11 movb $0x61, (%r...
; A191748: Sequence of all m in {1,2,3,...} such that A191747(m) = 1. ; 1,2,5,6,10,14,15,20,25,30,31,37,43,49,55,56,63,70,77,84,91,92,100,108,116,124,132,140,141,150,159,168,177,186,195,204,205,215,225,235,245,255,265,275,285,286,297,308,319,330,341,352,363,374,385,386,398 mov $2,$0 lpb $0 sub $0,1 mov $1,$0 add...
; A060471: Smallest positive a(n) such that number of solutions to a(n)=a(j)+a(k) j<k<n is three or less. ; 1,2,3,4,5,6,7,8,10,12,14,16,19,21,23,25,30,32,34,36,41,43,45,47,52,54,56,58,63,65,67,69,74,76,78,80,85,87,89,91,96,98,100,102,107,109,111,113,118,120,122,124,129,131,133,135,140,142,144,146,151,153,155,157 mov $...
; A004338: Binomial coefficient C(4n,n-8). ; 1,36,780,13244,194580,2598960,32468436,386206920,4426165368,49280065120,536211932256,5727160371180,60246643120300,625806790696080,6431976680401800,65516299116620976,662252084388541314 mov $1,$0 add $0,8 mul $0,4 bin $0,$1
;------------------------------------------------------------------------------ ; ; Copyright (c) 2014, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
//cpp #include "employee.h"
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1b4e9, %rbp nop nop nop sub $27720, %rdi movw $0x6162, (%rbp) sub %rbx, %rbx lea addresses_A_ht+0xf52d, %rsi lea addresses_D_ht+0x432d, %rdi nop nop inc %r15 mov $89, %rcx...
; A100166: Structured deltoidal hexacontahedral numbers (vertex structure 9). ; 1,62,295,812,1725,3146,5187,7960,11577,16150,21791,28612,36725,46242,57275,69936,84337,100590,118807,139100,161581,186362,213555,243272,275625,310726,348687,389620,433637,480850,531371,585312,642785,703902,768775,837516,910237,987050,106806...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __7B7A869E_ctype@h DB 01H __457DD326_basetsd@h DB 01H __4384A2D9_corecrt_memcpy_s@h DB 01H __4E51A221_corecrt_wstring@h DB 01H __2140C079_string@h DB 01H __1887E5...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="out_fd, in_fd, offset, count"/> <%docstring> Invokes the syscall sendfile. See 'man 2 sendfile' for more information. Arguments: out_fd(int): out_fd in_fd(int): in_fd offset(off_t): offset count(size_t): count </%docstring> ...
; A001968: v-pile positions of the 4-Wythoff game with i=3. ; 3,9,14,19,24,30,35,40,45,51,56,61,66,71,77,82,87,92,98,103,108,113,119,124,129,134,140,145,150,155,161,166,171,176,181,187,192,197,202,208,213,218,223,229,234,239,244,250,255,260,265,270,276,281,286,291,297,302,307,312,318,323,328,333,339,344,349,354,359,365...
.386p page 58,132 ;****************************************************************************** title EMMDATA - EMM data structures definitions ;****************************************************************************** ; ; (C) Copyright MICROSOFT Corp. 1986-1991 ; (C) Copyright COMPAQ Computer Corp. 1986-1991 ;...