text
stringlengths
1
1.05M
; A251578: E.g.f.: exp(8*x*G(x)^7) / G(x)^7 where G(x) = 1 + x*G(x)^8 is the g.f. of A007556. ; Submitted by Christian Krause ; 1,1,8,176,6896,397888,30584128,2948178304,342418882688,46582810477568,7268517454045184,1279982790328858624,251155319283837571072,54344039464582833577984,12855960226911391575670784,330116700128...
/* * 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...
#include "utility.h" #include <chrono> #include <cstdint> #include <memory> #include <string> #include "envoy/event/dispatcher.h" #include "envoy/network/connection.h" #include "common/api/api_impl.h" #include "common/buffer/buffer_impl.h" #include "common/common/assert.h" #include "common/common/fmt.h" #include "co...
GLOBAL _syscall ;_syscall(int id, int arg1, int arg2, int arg3) _syscall: push rbp mov rbp, rsp int 80h leave ret
<% from pwnlib.shellcraft import common %> <% from pwnlib.shellcraft.i386 import linux %> <%docstring> Findpeer + stager Args: size, the size of the payload port, the port given to findpeer (defaults to any) </%docstring> <%page args="size, port = None"/> ${linux.findpeer(port)} ${linux.stager("esi", size)}
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x6b0a, %r14 nop nop nop nop and %r11, %r11 movw $0x6162, (%r14) inc %rax lea addresses_UC_ht+0x176ba, %rcx cmp $29197, %r11 movl $0x61626364, (%rcx) nop nop nop cmp $48977, %r14 le...
/******************************************************************************** * Copyright 2015 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x13260, %rsi lea addresses_D_ht+0x5860, %rdi nop nop nop nop nop sub $33162, %r14 mov $9, %rcx rep movsw nop nop cmp $46063, %r9 lea addresses_WC_ht+0x51b4, %rsi lea addresses...
_usertests: file format elf64-x86-64 Disassembly of section .text: 0000000000001000 <failexit>: char name[3]; char *echoargv[] = { "echo", "ALL", "TESTS", "PASSED", 0 }; void failexit(const char * const msg) { 1000: f3 0f 1e fa endbr64 1004: 55 push %rbp 1005: 48 89 ...
; A166977: Jacobsthal-Lucas numbers A014551, except a(0) = 0. ; 0,1,5,7,17,31,65,127,257,511,1025,2047,4097,8191,16385,32767,65537,131071,262145,524287,1048577,2097151,4194305,8388607,16777217,33554431,67108865,134217727,268435457,536870911,1073741825,2147483647,4294967297,8589934591,17179869185,34359738367,68719476737...
; A071840: Number of primes == 3 mod 8 <= n. ; 0,0,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 mov $2,$0 mov $3,$0 lpb $3,1 mov $0,$2 sub $3,1 sub $0,$...
/**************************************************************************** * * Copyright (C) 2019 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
; A345176: a(n) = Sum_{k=1..n} floor(n/k)^k. ; Submitted by Jamie Morken(s3) ; 1,3,5,10,12,26,28,52,73,115,117,295,297,439,713,1160,1162,2448,2450,4644,6832,8902,8904,23536,25639,33857,53247,84961,84963,192237,192239,318477,493909,625015,695789,1761668,1761670,2285996,3872598,6255230,6255232,13392362,13392364,21608510,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xe56, %rbx clflush (%rbx) nop add %rcx, %rcx mov $0x6162636465666768, %rax movq %rax, %xmm2 movups %xmm2, (%rbx) nop add $26187, %rbp lea addresses_D_ht+0x105f6, %r1...
; A069996: Number of spanning trees on the bipartite graph K_{3,n}. ; 1,12,81,432,2025,8748,35721,139968,531441,1968300,7144929,25509168,89813529,312487308,1076168025,3673320192,12440502369,41841412812,139858796529,464904586800,1537671920841,5062810950252,16600580533161 add $0,1 mov $1,$0 pow $0,2 lpb $1 mul $0,3 ...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/CMain FILE: cmainDocPhysical.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 1/90 Initial version DESCRIPT...
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; loader.asm ; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; Forrest Yu, 2005 ; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++...
// Copyright 2015 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 "content/browser/loader/async_revalidation_driver.h" #include <utility> #include "base/callback_helpers.h" #include "base/location.h" #include ...
; ; Copyright (c) 2016, Alliance for Open Media. All rights reserved ; ; This source code is subject to the terms of the BSD 2 Clause License and ; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License ; was not distributed with this source code in the LICENSE file, you can ; obtain it at https://...
// sol2 // The MIT License (MIT) // Copyright (c) 2013-2021 Rapptz, ThePhD and contributors // 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 withou...
// Author - Dvir Sadon #include "Soldier.hpp" namespace WarGame { class ParamedicCommander : public Soldier { public: ParamedicCommander(){ this->hp = 200;} ParamedicCommander(int player) { this->player = player;} }; }
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * Copyright (C) 1999-2015, International Business Machines Corporation and * others. All Rights Reserved. ********************...
; A211266: Number of integer pairs (x,y) such that 0<x<y<=n and x*y<=2n. ; 0,1,3,5,7,10,12,15,18,21,24,28,30,34,38,41,44,49,51,56,60,63,67,72,75,79,83,88,91,97,99,104,109,112,117,123,125,130,135,140,143,149,152,157,163,167,170,177,180,186,190,194,199,205,209,215,219,223 mov $6,$0 mov $8,$0 lpb $8 clr $0,6 mov $0,$...
; ; Old School Computer Architecture - SD Card driver ; Taken from the OSCA Bootcode by Phil Ruston 2011 ; Port by Stefano Bodrato, 2012 ; ; int sd_read_sector(struct SD_INFO descriptor, long sector, unsigned char *address); ; ; sd_card_info and card_select must be accessible, ; a good place to put them is in the vars...
org 00100000h jmp start _c db ? _max proc push ebp mov ebp,esp sub esp,1 _max_a equ byte ptr [ebp+9] _max_b equ byte ptr [ebp+8] _max_t0 equ byte ptr [ebp-1] mov al,_max_a mov bl,_max_b cmp al,bl jg _max_1 mov al,0 jmp short _max_2 _max_1: ...
; float __fssub (float left, float right) __z88dk_callee SECTION code_clib SECTION code_math PUBLIC asm_fssub EXTERN m32_fssub_callee ; subtract sccz80 float from sccz80 float ; ; enter : stack = sccz80_float left, ret ; DEHL = sccz80_float right ; ; exit : DEHL = sccz80_float(le...
;代码清单5-1 ;文件名:c05_mbr.asm ;文件说明:硬盘主引导扇区代码 ;创建日期:2011-3-31 21:15 mov ax,0xb800 ;指向文本模式的显示缓冲区 mov es,ax ;以下显示字符串"Label offset:" mov byte [es:0x00],'L' mov byte [es:0x01],0x07 mov byte [es:0x02],'a' mov byt...
.code ALIGN 16 add_scalar_e proc push rdi push rsi mov rdi, rcx mov rsi, rdx mov rdx, r8 ;# Clear registers to propagate the carry bit xor r8d, r8d xor r9d, r9d xor r10d, r10d xor r11d, r11d xor eax, eax ;# Begin addition chain add rdx, qword ptr [rsi + 0] mov qword ptr [rdi + 0], rdx a...
; float acosh(float x) __z88dk_fastcall SECTION code_fp_math48 PUBLIC cm48_sdcciy_acosh_fastcall EXTERN cm48_sdcciyp_dx2m48, am48_acosh, cm48_sdcciyp_m482d cm48_sdcciy_acosh_fastcall: call cm48_sdcciyp_dx2m48 call am48_acosh jp cm48_sdcciyp_m482d
; A206641: Fibonacci sequence beginning 14, 9. ; 14,9,23,32,55,87,142,229,371,600,971,1571,2542,4113,6655,10768,17423,28191,45614,73805,119419,193224,312643,505867,818510,1324377,2142887,3467264,5610151,9077415,14687566,23764981,38452547,62217528,100670075,162887603,263557678,426445281,690002959,1116448240,1806451199,2...
// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/common/native_mate_converters/v8_value_converter.h" #include <map> #include <string> #include <utility> #include "base/logging.h" #include "base/memory/scoped_ptr.h" #...
format PE64 console entry start include 'win64w.inc' section '.data' data readable writeable stdout dq ? section '.text' code readable executable start: fastcall setStdout mov ecx, 90 sub ecx, 9 fastcall iprintLF fastcall quitProgram include 'procs.inc' section '.idata' import data r...
; A011843: a(n) = floor(binomial(n,5)/6). ; 0,0,0,0,0,0,1,3,9,21,42,77,132,214,333,500,728,1031,1428,1938,2584,3391,4389,5608,7084,8855,10963,13455,16380,19792,23751,28318,33562,39556,46376,54105,62832,72649,83657 mov $1,$0 bin $1,5 div $1,6
#ifndef PVL_GRAPHS_MST_PRIM_HPP_ #define PVL_GRAPHS_MST_PRIM_HPP_ 1 #include <queue> #include <vector> #include <utility> #include "./graphs/weighted_graphs.hpp" namespace pvl { graph_edge_list_weighted<int> prim( const graph_adj_list_weighted<int>& g, int s = 0) { graph_edge_list_weighted<int> res(0); usin...
/** * Copyright (C) 2015 Dato, Inc. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include <sframe/csv_writer.hpp> #include <flexible_type/string_escape.hpp> #include <logger/logger.hpp> namespace graphlab { voi...
; A015249: Gaussian binomial coefficient [ n,2 ] for q = -2. ; 1,3,15,55,231,903,3655,14535,58311,232903,932295,3727815,14913991,59650503,238612935,954429895,3817763271,15270965703,61084037575,244335800775,977343902151,3909374210503,15637499638215,62549992960455,250199983026631,1000799909736903,4003199683686855,1601279...
; A171892: 0, 1 and all numbers >= 9. ; 0,1,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77 mov $1,1 bin $1,$0 cmp $1,0 mul $1,7 add $1,$0 mov $0,$1
/*============================================================================= Copyright (c) 2001-2008 Joel de Guzman Copyright (c) 2001-2008 Hartmut Kaiser http://spirit.sourceforge.net/ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http:...
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: substring.asm ; Purpose: Substring code for mid$ left$ right$ ; Created: 28th February 2021 ; Reviewed: 8t...
Sound_95_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_95_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM5, Sound_95_FM5, $00, $02 ; FM5 Data Sound_95_FM5: smpsSetvoice $00 dc.b nBb0, $13 smpsFMAlterVol $14 smpsLoop $00, $02, Sound_95_FM5 smps...
; A195241: Expansion of (1-x+19*x^3-3*x^4)/(1-x)^3. ; 1,2,3,23,59,111,179,263,363,479,611,759,923,1103,1299,1511,1739,1983,2243,2519,2811,3119,3443,3783,4139,4511,4899,5303,5723,6159,6611,7079,7563,8063,8579,9111,9659,10223,10803,11399,12011,12639,13283,13943,14619,15311,16019,16743,17483,18239,19011,19799,20603,21423,...
.text .syntax unified .eabi_attribute 67, "2.09" @ Tag_conformance .cpu arm1156t2f-s .eabi_attribute 6, 8 @ Tag_CPU_arch .eabi_attribute 8, 1 @ Tag_ARM_ISA_use .eabi_attribute 9, 2 @ Tag_THUMB_ISA_use .fpu vfpv2 .eabi_attribute 17, 1 @ Tag_ABI_PCS_GOT_use .eabi_attribute 20, 1 @ Tag_ABI_FP_denormal .eabi_att...
[BITS 32] section .text extern handle_irq extern hang idtr DW 0 ;limit DD 0 ;base global loadidt loadidt: mov eax, [esp + 4] mov [idtr + 2], eax mov ax, [esp + 8] mov [idtr], ax lidt [idtr] ret %macro IDTES 1 ;exception handler irq no parameter global _idtx%1 _idtx%...
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include <gtest/gtest-param-test.h> #include <gtest/gtest.h> #include <boost/algorithm/string.hpp> #include <cctype> #include <functional> #include <iterator> #include <utility> #include "backend/protobuf/query_respo...
; struct adt_Stack *adt_StackCreate(void) ; 09.2005, 11.2006 aralbrec SECTION code_clib PUBLIC adt_StackCreate PUBLIC _adt_StackCreate EXTERN l_setmem EXTERN _u_malloc ; create an empty stack ; ; exit : if fail HL = 0 and carry reset ; if successful HL = new stack handle and carry set .adt_StackCreate ._adt_...
@111 D=A @0 A=M M=D @0 M=M+1 @333 D=A @0 A=M M=D @0 M=M+1 @888 D=A @0 A=M M=D @0 M=M+1 @0 M=M-1 @16 D=A @8 D=D+A @13 M=D @0 A=M D=M @13 A=M M=D @0 M=M-1 @16 D=A @3 D=D+A @13 M=D @0 A=M D=M @13 A=M M=D @0 M=M-1 @16 D=A @1 D=D+A @13 M=D @0 A=M D=M @13 A=M M=D @16 D=A @3 A=D+A D=M @0 A=M M=D @0 M=M+1 @16 D=A @1 A=D+A D=M ...
/*------------------------------------------------------------------------------ Copyright © 2016 by Nicola Bombieri Mangrove is provided under the terms of The MIT License (MIT): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Sof...
format PE GUI entry Start macro GetFunc lib*,name* { push name#$ push [lib] call [w32GetProcAddress] mov [name],eax } section '.text' code readable executable CreateShader: push ebx esi push 0 ; hTemplateFile ...
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: vramprocess.asm ; Purpose: Load VRAM format data ; Created: 13th March 2021 ; Reviewed: 27th April 2021 ; ...
## Alunos: ## Amadeus Dabela - 1621101005 ## Mateus Koppe - 1821101023 .globl main .data msg_menu_header: .string "\n -- List manager --\n" msg_menu_insert: .string "\t [1] Insert value\n" msg_menu_remove_value: .string "\t [2] Remove by value\n" msg_menu_remove_index: .string "\t [3] Remove by index\n" msg_me...
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { int num,a[100],sum=0,c; cout << "Enter the no. of numbers you want to add"; cin >> num; cout << "Enter the numbers"; for( c=1;c<=num;c++ ) { cin >> a[c]; sum=sum+a[c]; } cout << "Su...
offsets: dd 0x0000d134, 0x0000d137, 0x0000d13d, 0x0000d140, 0x0000d146, 0x0000d148 dd 0x0000d14f, 0x0000d152, 0x0000d158, 0x0000d15b, 0x0000d498, 0x0000d49f dd 0x0000d4a6, 0x0000d4ad, 0x0000d4b4, 0x0000d4bb, 0x0000d4be, 0x0000d4c4 dd 0x0000d4cb, 0x0000d4ce, 0x0000d4d4, 0x000a3e18, 0x000a3e1f, 0x000ae729...
; A017234: a(n) = (9*n + 6)^2. ; 36,225,576,1089,1764,2601,3600,4761,6084,7569,9216,11025,12996,15129,17424,19881,22500,25281,28224,31329,34596,38025,41616,45369,49284,53361,57600,62001,66564,71289,76176,81225,86436,91809,97344,103041,108900,114921,121104,127449,133956,140625,147456,154449,161604,168921,176400,184041,1...
; A077651: Initial digit of phi(n), where phi is Euler totient function, A000010. ; 1,1,2,2,4,2,6,4,6,4,1,4,1,6,8,8,1,6,1,8,1,1,2,8,2,1,1,1,2,8,3,1,2,1,2,1,3,1,2,1,4,1,4,2,2,2,4,1,4,2,3,2,5,1,4,2,3,2,5,1,6,3,3,3,4,2,6,3,4,2,7,2,7,3,4,3,6,2,7,3,5,4,8,2,6,4,5,4,8,2,7,4,6,4,7,3,9,4,6,4 seq $0,10 ; Euler totient function ...
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ;; ==++== ;; ;; ;; ==--== #include "ksarm.h" #include "asmconstants.h" #include "asmmacros.h" IMPORT JIT_InternalThrow IMPORT JIT_WriteBarrier IMPORT TheUMEntryPrestubW...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC DllMain EXTRN AllocateHeapArea:PROC EXTRN DeallocateHeapArea:PROC ; COMDAT pdata pdata SEGMENT $pdata$DllMain DD imagerel $LN15 DD imagerel $LN15+59 DD imagerel $unwind$D...
; A006357: Number of distributive lattices; also number of paths with n turns when light is reflected from 4 glass plates. ; 1,4,10,30,85,246,707,2037,5864,16886,48620,139997,403104,1160693,3342081,9623140,27708726,79784098,229729153,661478734,1904652103,5484227157,15791202736,45468956106,130922641160,376976720745,1085...
; A269161: Formula for Wolfram's Rule 86 cellular automaton: a(n) = 4n XOR (2n OR n). ; Submitted by Simon Strandgaard ; 0,7,14,11,28,27,22,19,56,63,54,51,44,43,38,35,112,119,126,123,108,107,102,99,88,95,86,83,76,75,70,67,224,231,238,235,252,251,246,243,216,223,214,211,204,203,198,195,176,183,190,187,172,171,166,163,15...
/* * Copyright 2004 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
; A315738: Coordination sequence Gal.6.343.6 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,6,12,18,23,27,32,37,41,46,52,58,64,70,76,82,87,91,96,101,105,110,116,122,128,134,140,146,151,155,160,165,...
; $Id: VBoxHlp.asm $ ;; @file ; VBox Qt GUI - Implementation of OS/2-specific helpers that require to reside in a DLL. ; ; This stub is used to avoid linking the helper DLL to the C runtime. ; ; ; Copyright (C) 2008-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available f...
; A070379: a(n) = 5^n mod 29. ; 1,5,25,9,16,22,23,28,24,4,20,13,7,6,1,5,25,9,16,22,23,28,24,4,20,13,7,6,1,5,25,9,16,22,23,28,24,4,20,13,7,6,1,5,25,9,16,22,23,28,24,4,20,13,7,6,1,5,25,9,16,22,23,28,24,4,20,13,7,6,1,5,25,9,16,22,23,28,24,4,20,13,7,6,1,5,25,9,16,22,23,28,24,4,20,13,7,6,1,5,25,9,16,22,23,28,24,4,20,13,7,6,...
db 0 ; species ID placeholder db 144, 120, 60, 50, 40, 60 ; hp atk def spd sat sdf db FIGHTING, FIGHTING ; type db 200 ; catch rate db 184 ; base exp db NO_ITEM, KINGS_ROCK ; items db GENDER_F25 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/...
; ; NewBrain driver support file, used by "open" and "close" ; ; Stefano - 29/5/2007 ; ; $Id: nbhandl.asm,v 1.3 2016/06/19 20:26:58 dom Exp $ SECTION bss_clib PUBLIC nbhandl ; handles: ; 10 files open at once should be enough. ; we use stream numbers startimg from 100 ; ; 1...
/* * Copyright 2016 The Cartographer Authors * * 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...
; ; long fdtell(int fd, long posn, int whence) ; ; Set position in file ; ; Not written as yet! ; ; $Id: lseek.asm,v 1.2 2015/01/21 08:09:27 stefano Exp $ PUBLIC lseek .lseek ld hl,-1 ld d,h ld e,l ret
// Copyright (c) 2020 The Orbit 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 "ClientData/ModuleManager.h" #include <absl/container/flat_hash_map.h> #include <algorithm> #include <filesystem> #include <map> #include <uti...
;0x215336C MenuKartIDOrder: dcd 0x02, 0x00, 0x01, 0x16, 0x15,\ 0x17, 0x0E, 0x0C, 0x0D, 0x13, \ 0x12, 0x14, 0x07, 0x06, 0x08, \ 0x05, 0x03, 0x04, 0x10, 0x0F, \ 0x11, 0x0B, 0x09, 0x0A, 0x1D, \ 0x1B, 0x1C, 0x1A, 0x18, 0x19, \ 0x1F, 0x1E, 0x20, 0x22, 0x21, \ 0x23, 0x24
; float atan2(float y, float x) __z88dk_callee SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_atan2_callee, l0_cm48_sdccix_atan2_callee EXTERN am48_atan2, cm48_sdccixp_dcallee2, cm48_sdccixp_m482d cm48_sdccix_atan2_callee: call cm48_sdccixp_dcallee2 ; AC'= y ; AC = x l0_cm48_sdccix_atan...
############################################################################### # 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...
/* * Copyright information and license terms for this software can be * found in the file LICENSE that is included with the distribution */ /** * @author mrk * @date 2016.06.17 */ /* Author: Marty Kraimer */ #include <cstddef> #include <cstdlib> #include <cstddef> #include <string> #include <cstdio> #include ...
TITLE LZ-EXPANDER Copyright (c) SLR Systems 1989 INCLUDE MACROS PUBLIC QUIKPACK_PARAS PUBLIC QUIK_STACK_ADR,QUIK_START_ADR,QUIK_PACK_LEN,QUIK_SKIP_PARAS PUBLIC QUIK_UNPACK,QUIK_FIX_INT21 PACK_QUIK SEGMENT PARA PUBLIC 'UNPACK_DATA' ASSUME NOTHING,CS:PACK_QUIK QUIK_UNPACK: DB 87H,0C0H JMP SHORT QUIKU...
frame 0, 04 frame 1, 08 frame 2, 24 frame 1, 08 frame 4, 10 frame 0, 10 frame 4, 10 endanim
.proc @AllocMem ;(.word ztmp .byte ztmp+2) .var sta ztmp+1 sty ztmp+2 loop lda (psptr),y sta ztmp+3 lda (ztmp),y sta (psptr),y lda ztmp+3 sta (ztmp),y dey bpl loop lda psptr sec adc ztmp+2 sta psptr scc inc psptr+1 rts .endp .proc @FreeMem ;(.word ztmp .byte ztmp+2...
; A065730: Largest square <= n-th prime. ; 1,1,4,4,9,9,16,16,16,25,25,36,36,36,36,49,49,49,64,64,64,64,81,81,81,100,100,100,100,100,121,121,121,121,144,144,144,144,144,169,169,169,169,169,196,196,196,196,225,225,225,225,225,225,256,256,256,256,256,256,256,289,289,289,289,289,324,324,324,324,324,324,361,361,361,361,361,...
; A025726: Index of 7^n within sequence of numbers of form 7^i*9^j. ; 1,2,4,7,11,16,22,29,37,45,54,64,75,87,100,114,129,145,161,178,196,215,235,256,278,301,325,349,374,400,427,455,484,514,545,576,608,641,675,710,746,783,821,860,899,939,980,1022,1065,1109,1154,1200,1247,1294,1342 mov $17,$0 mov $19,$0 add $19,1 lpb $19...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="fdin, fdout, length, flags"/> <%docstring> Invokes the syscall tee. See 'man 2 tee' for more information. Arguments: fdin(int): fdin fdout(int): fdout len(size_t): len flags(unsigned): flags </%docstring> ${syscall('SYS_t...
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "Animation/BsAnimationManager.h" #include "Animation/BsAnimat...
format PE64 console entry start include 'win64w.inc' section '.data' data readable writeable stdout dq ? filename TCHAR 'filecreate.txt', 0h fail db 'failed to create file', 0h section '.text' code readable executable start: fastcall setStdout invoke CreateFile, filename,\ GENERIC_RE...
#include <pigne/Image.h> using namespace cimg_library; Image::Image(char*path, bool forceLoading) { this->path = path; this->textureId = -1; if (forceLoading) this->load(); } void Image::load() { if (this->loaded) { getEngineInstance()->getDebugger()->printError("Image %s has alre...
; A225373: a(n) = 1 + Sum_{i=0..floor(n/2)} phi(n-2*i). ; 1,2,2,4,4,8,6,14,10,20,14,30,18,42,24,50,32,66,38,84,46,96,56,118,64,138,76,156,88,184,96,214,112,234,128,258,140,294,158,318,174,358,186,400,206,424,228,470,244,512,264,544,288,596,306,636,330,672,358,730 seq $0,106481 ; An Euler phi transform of 1/(1-x^2). ad...
; A255413: Row 3 of Ludic array A255127: a(n) = A007310((5*n)-3). ; 5,19,35,49,65,79,95,109,125,139,155,169,185,199,215,229,245,259,275,289,305,319,335,349,365,379,395,409,425,439,455,469,485,499,515,529,545,559,575,589,605,619,635,649,665,679,695,709,725,739,755,769,785,799,815,829,845,859,875,889,905,919,935,949,965,...
._CPU = 6502 ; For the Atari2600 ; Hardware definitions .include stella.asm ; RAM Usage .TMP0 = 128 .TMP1 = 129 .TMP2 = 130 .PLAYR0Y = 131 .PLAYR1Y = 132 .MUS_TMP0 = 133 .MUS_TMP1 = 134 .SCANCNT = 135 .MODE = 136 .WALL_INC = 137 .WALLCNT = 138 .WALLDELY = 139 .WALLDELYR = 140 .ENTROPY...
; A051406: a(n) = (3^n+1) * (3^(n+1)+1) / 8. ; 1,5,35,287,2501,22265,199655,1794707,16145801,145292525,1307573675,11767985927,105911341901,953200482785,8578799562095,77209181709947,694882592342801,6253943201945045,56285488430084915,506569394708502767,4559124548889740501,41032120929547311305,369289088334544742135,332360...
; =============================================================== ; Tables ; =============================================================== chartable: ;getcsc to alpha character, $0B relative, extends to $2F .db 'W' .db 'R' .db 'M' .db 'H' .db 0 .db 0 ;'?' .db 0 .db 0 .db 'V' .db 'Q' .db 'L' .db 'G' .db 0 .db 0 ....
global _start section .data element_size equ 4 buf1 dd 0x01, 0x80, 0x48000 len equ ($-buf1) LF db 0xa section .bss buf2 resd len / element_size section .text ; void print_dword(DWORD x) print_dword: push ebp mov ebp, esp sub esp, 1 xor ecx, ecx .next_iter: mov ebx, 10 xor edx, edx div ...
/* * MIT License * * Copyright (c) 2018 Michele Biondi, Andrea Salvatori * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
; A004763: Numbers whose binary expansion does not begin 101. ; Submitted by Jamie Morken(s2) ; 0,1,2,3,4,6,7,8,9,12,13,14,15,16,17,18,19,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,96,97,98,99 mov $2,$0 lpb $2 mov $1...
ld a, #1 ld [$2100], a
#include "huaweicloud/vod/v1/model/ShowAssetTempAuthorityResponse.h" namespace HuaweiCloud { namespace Sdk { namespace Vod { namespace V1 { namespace Model { ShowAssetTempAuthorityResponse::ShowAssetTempAuthorityResponse() { signStr_ = ""; signStrIsSet_ = false; } ShowAssetTempAuthorityResponse::~ShowAs...
; A293497: Triangular array read by rows: row n >= 1 is the list of integers from 0 to 2n-1. ; 0,1,0,1,2,3,0,1,2,3,4,5,0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,10,11,0,1,2,3,4,5,6,7,8,9,10,11,12,13,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8 mov $1,$0 add $0,1 lpb $0 sub $1,$2 add $2,2 ...
; QXL extended colour mode section init xdef pt_xmodec ; check if mode can be set xdef pt_xmode ; set mode xdef qxl_xmode ; set QXL on mode change xref qxl_mess_add include 'dev8_keys_err' include 'dev8_keys_sys' include 'dev8_keys_con' include 'dev8_smsq_qxl_keys' include 'dev8_smsq_qxl_comm_keys' ...
SilphCo7F_Object: db $2e ; border block db 6 ; warps warp 16, 0, 1, SILPH_CO_8F warp 22, 0, 0, SILPH_CO_6F warp 18, 0, 0, SILPH_CO_ELEVATOR warp 5, 7, 3, SILPH_CO_11F warp 5, 3, 8, SILPH_CO_3F warp 21, 15, 3, SILPH_CO_5F db 0 ; signs db 11 ; objects object SPRITE_LAPRAS_GIVER, 1, 5, STAY, NONE, 1 ; person...
; A273109: Numbers n such that in the difference triangle of the divisors of n (including the divisors of n) the diagonal from the bottom entry to n gives the divisors of n. ; 1,2,4,8,12,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432,671...
############################################################################### # 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...
; A216271: Expansion of (1-x)/((1-2x)(1-4x+x^2)). ; Submitted by Jamie Morken(s3) ; 1,5,21,83,319,1209,4549,17051,63783,238337,890077,3322995,12403951,46296905,172791861,644886923,2406788599,8982333009,33522674509,125108627171,466912358463,1742541855257,6503257159717,24270490977915,90578715140551,338044386361505,126159...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.6 #12555 (Linux) ;-------------------------------------------------------- ; Processed by Z88DK ;-------------------------------------------------------- EXTERN __divschar EXTERN __divsc...
; A093916: a(2*k-1)=(2*k-1)^2+2-k, a(2*k)=6*k^2+2-k: First column of the triangle A093915. ; 2,7,9,24,24,53,47,94,78,147,117,212,164,289,219,378,282,479,353,592,432,717,519,854,614,1003,717,1164,828,1337,947,1522,1074,1719,1209,1928,1352,2149,1503,2382,1662,2627,1829,2884,2004,3153,2187,3434,2378,3727,2577,4032,2784,43...
; CALLER linkage for function pointers PUBLIC lseek EXTERN lseek_callee EXTERN ASMDISP_LSEEK_CALLEE .lseek pop af pop bc pop hl pop de exx pop hl push hl push hl push hl push hl push af jp lseek_callee + ASMDISP_LSEEK_CALLEE