text
stringlengths
1
1.05M
;------------------------------------------------------------------------------ ; ; Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ExceptionHandlerAsm.Asm ; ; Abstract: ; ; x64 CPU Exception Handler ; ; Notes: ;...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1db3f, %r15 nop and $30047, %rdi mov (%r15), %rsi nop nop xor %r10, %r10 lea addresses_normal_ht+0xcaeb, %rsi lea addresses_normal_ht+0x1c93f, %rdi nop xor $42015, %r9 mov $51...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0xc6b0, %rsi lea addresses_D_ht+0x1ccd0, %rdi nop nop inc %r13 mov $34, %rcx rep movsw nop nop sub %rbp, %rbp lea addresses_WC_ht+0x82d0, %r14 nop nop add %rax, %rax mov $0x616263646566...
; float nan(const char *tagp) SECTION code_fp_math48 PUBLIC cm48_sdcciy_nan EXTERN cm48_sdcciy_nan_fastcall cm48_sdcciy_nan: pop af pop hl push hl push af jp cm48_sdcciy_nan_fastcall
dnl AMD64 mpn_mod_1s_2p dnl Contributed to the GNU project by Torbjorn Granlund. dnl Copyright 2009-2012, 2014 Free Software Foundation, Inc. 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 modify dnl it under the terms of either: dnl dnl...
; A123650: a(n) = 1 + n^2 + n^3 + n^5. ; 4,45,280,1105,3276,8029,17200,33345,59860,101101,162504,250705,373660,540765,762976,1052929,1425060,1895725,2483320,3208401,4093804,5164765,6449040,7977025,9781876,11899629,14369320,17233105,20536380,24327901,28659904,33588225,39172420,45475885,52565976,60514129,69395980,7929148...
#if defined (RUN_CATCH) #define CATCH_CONFIG_RUNNER #include <catch2/catch.hpp> auto main (int argc, char* argv[]) -> int { int result = Catch::Session().run( argc, argv ); return result; } #else #include "test.hpp" auto main (int argc, char* argv[]) -> int { return run (); } #endif
#include <iostream> #include <fstream> #include <string> using namespace std; void executePcdown() { try { ofstream pcdown("pcdown.bat"); pcdown << "shutdown -p"; cout << "\nFile creato con successo!\n"; pcdown.close(); } catch (...) { cout << "Errore durante la creazi...
; ; Routine called when there is no ; Zsock library/packages installed ; ; djm 12/2/2000 XLIB no_zsock LIB exit INCLUDE "stdio.def" .no_zsock ld hl,message call_oz(gn_sop) call_oz(os_in) ld hl,0 jp exit .message defb 1,'7','#','3',32+7,32+1,32+34,32+7,131 ;dialogue box defb 1,'2'...
#include "ofxGuiExtended2.h" #include "ofxGuiSliderGroup.h" #include "../view/JsonConfigParser.h" using namespace std; template<class VecType> ofxGuiVecSlider_<VecType>::ofxGuiVecSlider_() :ofxGuiGroup2(){ setup(); } template<class VecType> ofxGuiVecSlider_<VecType>::ofxGuiVecSlider_(const ofJson &config) :ofxGu...
; A340761: Number of partitions of n into 4 parts whose 'middle' two parts have the same parity. ; 0,0,0,0,1,1,1,2,4,4,5,7,10,11,13,16,21,23,26,31,38,41,46,53,62,67,74,83,95,102,111,123,138,147,159,174,192,204,219,237,259,274,292,314,340,358,380,406,436,458,484,514,549,575,605,640,680,710,745,785,830,865,905,950,1001 ...
bin_to_hex equ $029D send_byte equ $02D3 recv_byte equ $02E4 recv_wait equ $02F6 asci0_xmit equ $0330 ymodem_upload equ $034A recv_packet equ $040A flush_rx equ $0489 ym_crc equ $0496 BIOS_end equ $0540
// // Created by mrlukasbos on 1-2-19. // #include "interface/widgets/RobotsWidget.h" #include <QScrollArea> #include <QtWidgets/QGroupBox> #include <QtWidgets/QLabel> #include "interface/widgets/mainWindow.h" namespace rtt::ai::interface { RobotsWidget::RobotsWidget(QWidget *parent) : QWidget(parent) { // make ...
; A020544: Second Bernoulli polynomial evaluated at x=n! (multiplied by 6). ; 1,1,13,181,3313,85681,3106081,152379361,9753972481,790089189121,79009114867201,9560105293939201,1376655193941350401,232654728224433715201,45600326738788914892801,10260073516337350497792001,2626578820184244778524672001 seq $0,142 ; Factorial ...
db (((0x52<<3)^(((0x52>>5)&1)*0x11b)^(((0x52>>5)&2)*0x11b)^(((0x52>>5)&4)*0x11b)) ^ ((0x52<<2)^(((0x52>>6)&1)*0x11b)^(((0x52>>6)&2)*0x11b)) ^ ((0x52<<1)^(((0x52>>7)&1)*0x11b))), (((0x52<<3)^(((0x52>>5)&1)*0x11b)^(((0x52>>5)&2)*0x11b)^(((0x52>>5)&4)*0x11b)) ^ 0x52), (((0x52<<3)^(((0x52>>5)&1)*0x11b)^(((0x52>>5)&2)*0x11...
; A052768: A simple grammar. ; 0,0,0,0,0,120,360,840,1680,3024,5040,7920,11880,17160,24024,32760,43680,57120,73440,93024,116280,143640,175560,212520,255024,303600,358800,421200,491400,570024,657720,755160,863040,982080,1113024 bin $0,4 lpb $0 bin $0,2 lpe mov $1,$0 mul $1,24
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rbp push %rdi lea addresses_normal_ht+0x18e0d, %r8 nop xor %rbp, %rbp mov $0x6162636465666768, %r10 movq %r10, %xmm1 and $0xffffffffffffffc0, %r8 vmovaps %ymm1, (%r8) nop nop nop and %rdi, %rdi pop %rdi pop %rbp pop %r8 pop %r10 ret .global s_fa...
;=============================================================================== ; Copyright 2016-2021 Intel Corporation ; ; 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.apa...
#ifdef PEGASUS_OS_HPUX #ifndef __UNIX_SAPSTATISTICS_PRIVATE_H #define __UNIX_SAPSTATISTICS_PRIVATE_H #endif #endif
#include "transactiontablemodel.h" #include "guiutil.h" #include "transactionrecord.h" #include "guiconstants.h" #include "transactiondesc.h" #include "walletmodel.h" #include "optionsmodel.h" #include "addresstablemodel.h" #include "bitcoinunits.h" #include "wallet.h" #include "ui_interface.h" #include <QList> #inc...
; A235988: Sum of the partition parts of 3n into 3 parts. ; 3,18,63,144,285,486,777,1152,1647,2250,3003,3888,4953,6174,7605,9216,11067,13122,15447,18000,20853,23958,27393,31104,35175,39546,44307,49392,54897,60750,67053,73728,80883,88434,96495,104976,113997,123462,133497,144000,155103,166698,178923,191664,205065,219006,...
; submitted by Anonymous jmp $700 *=$700 ldx #0 ldy #0 ;init screen lda #0 sta $0 sta $3 lda #2 sta $1 loop: lda colors,x bpl ok inc $0 ldx #0 lda colors,x ok: inx sta ($0),y iny bne ok2 inc $1 lda $1 cmp #6 beq end ok2: jmp loop end: inc $3 lda $3 and #$3f tax ldy #0 lda #2 sta $1 st...
; A142008: Primes congruent to 4 mod 31. ; Submitted by Jamie Morken(s4) ; 97,283,593,1151,1213,1399,1523,1709,2081,2143,2267,2887,3011,3259,3631,4003,4127,4561,4871,4933,5119,5801,5987,6173,6359,6421,6607,6793,6917,7103,7351,7537,7723,8219,8467,8839,8963,9397,9521,9769,10079,10141,10513,11071,11257,11443,11939,12373,1...
db 0 ; species ID placeholder db 80, 82, 78, 85, 95, 80 ; hp atk def spd sat sdf db WATER, WATER ; type db 75 ; catch rate db 174 ; 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/golduck/fro...
include ksamd64.inc EXTERNDEF ?Te@rdtable@CryptoPP@@3PA_KA:FAR EXTERNDEF ?g_cacheLineSize@CryptoPP@@3IA:FAR EXTERNDEF ?SHA256_K@CryptoPP@@3QBIB:FAR .CODE ALIGN 8 Baseline_Add PROC lea rdx, [rdx+8*rcx] lea r8, [r8+8*rcx] lea r9, [r9+8*rcx] neg rcx ; rcx is negative index jz $1@Baseline_A...
;------------------------------------------------------------------------------ ; ; 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...
// ImGui GLFW binding with OpenGL3 + shaders // In this binding, ImTextureID is used to store an OpenGL 'GLuint' texture identifier. Read the FAQ about ImTextureID in imgui.cpp. // You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding ...
#include "utils.h" #include <random> static std::mt19937 static_gen; int singleeyefitter::random(int min, int max) { std::uniform_int_distribution<> distribution(min, max); return distribution(static_gen); } int singleeyefitter::random(int min, int max, unsigned int seed) { std::mt19937 gen(seed); std...
SECTION code_error PUBLIC error_lzc EXTERN error_zc pop hl error_lzc: ; set dehl = 0 ; set carry flag ld de,0 jp error_zc
############################################################################### # 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...
load x add y stor w sub w jzero zerostuff load y zerostuff: load z stor q load x jpos posstuff load y posstuff: stor r jump jumpstuff load y jumpstuff: load y stor s halt x:5 y:1 z:4 w:0 q:0 r:0 s:0
; A198270: Ceiling(n*sqrt(13)). ; 0,4,8,11,15,19,22,26,29,33,37,40,44,47,51,55,58,62,65,69,73,76,80,83,87,91,94,98,101,105,109,112,116,119,123,127,130,134,138,141,145,148,152,156,159,163,166,170,174,177,181,184,188,192,195,199,202,206,210,213,217,220,224,228,231,235,238,242,246,249,253,256,260,264,267,271,275,278,282,2...
SECTION code_clib SECTION code_adt_b_array PUBLIC __array_at EXTERN l_ltu_bc_hl __array_at: ; Return & array.data[idx] ; ; enter : hl = array * ; bc = idx ; ; exit : bc = idx ; de = array.size ; ; success ; ; hl = & array.data[idx] ; ...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_BaseNoteMeshAnimBP_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //------------------------------------------------------...
COMMENT | -*- Mode: asm; tab-width: 8; c-basic-offset: 4 -*- ***** BEGIN LICENSE BLOCK ***** Version: MPL 1.1/GPL 2.0/LGPL 2.1 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy ...
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="name, length"/> <%docstring> Invokes the syscall setdomainname. See 'man 2 setdomainname' for more information. Arguments: name(char): name len(size_t): len </%docstring> ${syscall('SYS_setdomainname', name, length)}
; A158231: a(n) = 256*n + 1. ; 257,513,769,1025,1281,1537,1793,2049,2305,2561,2817,3073,3329,3585,3841,4097,4353,4609,4865,5121,5377,5633,5889,6145,6401,6657,6913,7169,7425,7681,7937,8193,8449,8705,8961,9217,9473,9729,9985,10241,10497,10753,11009,11265,11521,11777,12033,12289,12545,12801,13057,13313,13569,13825,14081,1...
; A118543: Start with 1 and repeatedly reverse the digits and add 25 to get the next term. ; 1,26,87,103,326,648,871,203,327,748,872,303,328,848,873,403,329,948,874,503,330,58,110,36,88,113,336,658,881,213,337,758,882,313,338,858,883,413,339,958,884,513,340,68,111,136,656,681,211,137,756,682,311,138 mov $2,$0 mov $0,1...
bootblock.o: file format elf32-i386 Disassembly of section .text: 00007c00 <start>: # with %cs=0 %ip=7c00. .code16 # Assemble for 16-bit mode .globl start start: cli # BIOS enabled interrupts; disable 7c00: fa cli # Zero data segment...
; Generated at 4/14/2019 1:59:47 AM DebugStub_ComAddr dd 1016 %ifndef Exclude_IOPort_Based_Serial DebugStub_WriteRegister: push dword EDX add DX, 0x3F8 out DX, AL pop dword EDX DebugStub_WriteRegister_Exit: mov dword [INTs_LastKnownAddress], DebugStub_WriteRegister_Exit Ret DebugStub_ReadRegister: push dword EDX ...
_test2: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" #include "fs.h" int main() { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.4 #12246 (Mac OS X x86_64) ;-------------------------------------------------------- .module scene_3 .optsdcc -mgbz80 ;-------------------------------------------------------- ; Public v...
; =========================================================================== ; --------------------------------------------------------------------------- ; Routine for pausing the sound driver ; ; thrash: ; d4 - Various values ; d5 - YM command values ; d6 - dbf counters and key off channel ; a4 - Used by oth...
// *=$3000 "Lookup tables" outer_chars_hi: .byte $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d9, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8, $d8,...
; A032513: Sum of the integer part of 5th roots of positive integers less than or equal to n. ; 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107 mov $1,$0 add $1,4 ...
; ::: cpu/cpu.asm #ruledef test { halt => 0x55 } ; ::: code/code.asm halt ; ::: code/code2.asm #include "code.asm" ; ::: code3.asm #include "code/code.asm" ; ::: code/code4.asm #include "../code3.asm" ; ::: code/code5.asm #include "/code3.asm" ; ::: #include "cpu/cpu.asm" #include "code/code.asm" ; =...
; A171071: A bisection of A178482. ; 3,7,10,18,21,25,28,47,50,54,57,65,68,72,75,123,126,130,133,141,144,148,151,170,173,177,180,188,191,195,198,322,325,329,332,340,343,347,350,369,372,376,379,387,390,394,397,445,448,452,455,463,466,470,473,492,495,499,502,510,513,517,520,843,846,850,853,861,864,868,871,890,893,897,900,...
/** * @file Denominations.cpp * * @brief Functions for converting to/from Zerocoin Denominations to other values library. * * @copyright Copyright 2017 PIVX Developers * @license This project is released under the MIT license. **/ // Copyright (c) 2019 The Diytube Core Developers #include "Denomi...
name: .asciiz "Eduardo " _start: mov r7, 0 mov r6, 1 loop: mov r1, name mov r0, 1 # 1 is print string service syscall mov r1, 0 add r1, r1, r7 mov r0, 3 # 3 is integer print service syscall mov r0, 2 # 2 is newline print service syscall add r7, r7, r6 jump loop
;; ; ; Name: stager_sock_reverse ; Qualities: Can Have Nulls ; Version: $Revision: 1512 $ ; License: ; ; This file is part of the Metasploit Exploit Framework ; and is subject to the same licenses and copyrights as ; the rest of this package. ; ; Description: ; ; Implement...
; library to work with default for MS DOS CGA mode (80 x 25) %PAGESIZE 255, 255 IDEAL P486N MODEL small STACK 200h INCLUDE "Types.inc" PUBLIC PrintString, ClearScreen, SetCursorPosition, DisableCursor, GetCharAtCursor DATASEG CurYPos DB 0 ; Cursor Y position CurXPos DB 0 ; Cursor X position BytesPerRow DB Sc...
; void dzx7_mega(void *src, void *dst) SECTION code_clib SECTION code_compress_zx7 PUBLIC dzx7_mega EXTERN asm_dzx7_mega dzx7_mega: pop af pop de pop hl push hl push de push af jp asm_dzx7_mega
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Print Driver FILE: stylesSRSuperscript.asm AUTHOR: Dave Durran ROUTINES: Name Description ---- ----------- REVISION HISTO...
/**************************************************************************** Copyright (C) 2013 Henry van Merode. All rights reserved. Copyright (c) 2015 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
#pragma once #include "Engine/Rendering/buffers.hpp" #include "OpenGLVertexBufferLayout.hpp" #include "OpenGLTexture.hpp" namespace Engine { //::::::::::VERTEX::BUFFER:::::::::::: class GLvertexBuffer : public vertexBuffer { public: GLvertexBuffer(const uint32_t size, const void* data, const uint32_t usage); ...
#include <any> #include <limits> #include <common/logger_useful.h> #include <Columns/ColumnConst.h> #include <Columns/ColumnString.h> #include <Columns/ColumnVector.h> #include <Columns/ColumnFixedString.h> #include <Columns/ColumnNullable.h> #include <DataTypes/DataTypeNullable.h> #include <DataTypes/DataTypeLowCar...
; ======================================================================================= ; Sega CD Boot loader by Luke Usher/SoullessSentinel (c) 2010 ; Used with permission. This code is not released under the GPL. ; ======================================================================================= ;align ...
// Created on: 2004-09-03 // Created by: Oleg FEDYAEV // Copyright (c) 2004-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as ...
function1: ld b,a ret
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
page 58,82 ; ; stacktrace using BP. Go through BP chain, attempting to find calls to ; current procedure and displaying name (if it exists symbolicly) and ; arguments. ; include noxport.inc include newexe.inc SEGI STRUC ;* result of GetCodeInfo sectorSegi DW ? ; logical sector number in file of sta...
/* * Copyright (c) 2003-2020 Rony Shapiro <ronys@pwsafe.org>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ // FileV3Test.cpp: Uni...
/* * Copyright 2009-2017 Alibaba Cloud 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...
addiu $1,$4,5611 addu $5,$4,$3 sra $3,$1,19 slti $1,$4,25808 sra $3,$3,23 sh $3,14($0) lw $4,8($0) xor $1,$3,$3 sllv $0,$4,$3 sh $1,14($0) sh $4,16($0) addiu $5,$3,-29630 slt $3,$3,$3 slti $5,$4,-1435 sw $1,16($0) or $5,$5,$3 sb $5,6($0) sltu $5,$4,$3 addiu $4,$3,522 addu $4,$3,$3 nor $3,$1,$3 xori $4,$4,60938 addiu $5...
#include <stdio.h> #include <unistd.h> #include <time.h> #include <sys/time.h> #include <sched.h> #include <wiring.h> #include <getopt.h> #include <signal.h> #include <string.h> #include <AP_Common.h> #include <AP_Param.h> #include "desktop.h" void setup(void); void loop(void); // the state of the des...
; A116702: Number of permutations of length n which avoid the patterns 123, 3241. ; Submitted by Jon Maiga ; 1,2,5,13,32,74,163,347,722,1480,3005,6065,12196,24470,49031,98167,196454,393044,786241,1572653,3145496,6291202,12582635,25165523,50331322,100662944,201326213,402652777,805305932,1610612270,3221224975,6442450415,...
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
; A250128: Number of triforces generated at iteration n in a Koch-Sierpiński Ninja Star. ; Submitted by Jamie Morken(s4) ; 0,1,3,9,30,96,309,996,3207,10329,33267,107142,345072,1111371,3579384,11528097,37128459,119579361,385128390,1240380240,3994883733 add $0,1 mov $2,1 lpb $0 sub $0,1 mul $1,2 add $1,$4 add $1...
; A210616: Digit reversal of n-th semiprime. ; Submitted by Jamie Morken(w3) ; 4,6,9,1,41,51,12,22,52,62,33,43,53,83,93,64,94,15,55,75,85,26,56,96,47,77,28,58,68,78,19,39,49,59,601,111,511,811,911,121,221,321,921,331,431,141,241,341,541,641,551,851,951,161,661,961,771,871,381,581,781,491,102,202,302,502,602,902,312,412...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_CF|FLAG_OF|FLAG_PF|FLAG_SF|FLAG_AF ;TEST_FILE_META_END ; BSR16rr mov ax, 0x0800 ;TEST_BEGIN_RECORDING bsr bx, ax ;TEST_END_RECORDING
// // RYCountdown.hpp // Mine-mobile // // Created by ray on 2019/5/21. // #ifndef RYCountdown_hpp #define RYCountdown_hpp #include "ccry-util.h" RY_NAMESPACE_BEGIN class Countdown { public: static Countdown *create(float duration, int repeatTime, const std::function<void(int)>& onceOverCallback); ...
; A328034: a(n) = 3n minus the largest power of 2 not exceeding 3n. ; 1,2,1,4,7,2,5,8,11,14,1,4,7,10,13,16,19,22,25,28,31,2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59,62,1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109 mov $2,$0 mul $0,2 mov $3...
section .data msg1 : db 'Enter first number: ',10 l1 : equ $-msg1 msg2 : db 'Enter second number: ',10 l2 : equ $-msg2 formate1 : db '%lf',0 formate2 : db 'Multiply of these two numbers is: %lf',10 section .bss temp : resq 1 section .text global main extern scanf extern printf main: mov eax,4 mov...
; A168989: Number of reduced words of length n in Coxeter group on 24 generators S_i with relations (S_i)^2 = (S_i S_j)^23 = I. ; 1,24,552,12696,292008,6716184,154472232,3552861336,81715810728,1879463646744,43227663875112,994236269127576,22867434189934248,525950986368487704,12096872686475217192,278228071788929995416 a...
#include "selfdrive/boardd/boardd.h" #include <sched.h> #include <sys/cdefs.h> #include <sys/resource.h> #include <sys/types.h> #include <unistd.h> #include <algorithm> #include <atomic> #include <bitset> #include <cassert> #include <cerrno> #include <chrono> #include <cmath> #include <cstdint> #include <cstdio> #inc...
SECTION code_clib PUBLIC psg_envelope PUBLIC _psg_envelope ; ; $Id: psg_envelope.asm $ ;======================================================================================== ; void psg_envelope(unsigned int waveform, int period, unsigned int channel) __smallc; ;=============================================...
; A127739: Triangle read by rows, in which row n contains the triangular number T(n) = A000217(n) repeated n times; smallest triangular number greater than or equal to n. ; 1,3,3,6,6,6,10,10,10,10,15,15,15,15,15,21,21,21,21,21,21,28,28,28,28,28,28,28,36,36,36,36,36,36,36,36,45,45,45,45,45,45,45,45,45,55,55,55,55,55,55,...
; void sp1_MoveSprAbs(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uchar row, uchar col, uchar vrot, uchar hrot) ; CALLER linkage for function pointers XLIB sp1_MoveSprAbs LIB sp1_MoveSprAbs_callee XREF ASMDISP_SP1_MOVESPRABS_CALLEE .sp1_MoveSprAbs pop af pop de pop bc ld b,e pop de pop ...
/* Copyright 2015 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...
<% from pwnlib.shellcraft import common %> <%docstring>Returns code to switch from i386 to amd64 mode.</%docstring> <% helper, end = common.label("helper"), common.label("end") %> [bits 32] push 0x33 ; This is the segment we want to go to call $+4 ${helper}: db 0xc0 add dword [esp], ${end} - ${helper} ...
; A213820: Principal diagonal of the convolution array A213819. ; 2,18,60,140,270,462,728,1080,1530,2090,2772,3588,4550,5670,6960,8432,10098,11970,14060,16380,18942,21758,24840,28200,31850,35802,40068,44660,49590,54870,60512,66528,72930,79730,86940,94572,102638,111150,120120,129560,139482,149898,160820,172260,184230,19...
/* $Id$ */ // Copyright (C) 2007, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #ifndef ClpAmplObjective_H #define ClpAmplObjective_H #include "ClpObjective.hpp" #include "CoinPackedMatrix.hpp" //########...
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ _ // | | | | // __ _| |_ ___| | __ _ _ __ __ _ // / _` | __/ __| |/ _` | '_ \ / _` | // | (_| | || (_...
title decimal_to_binary .model small .stack 100h .data msg db 'Entry a decimal number:$' msg1 db 0dh, 0ah, 'Invalid entry $' msg2 db 0dh, 0ah, 'Its binary equivalent: $' .code main proc mov ax, @data mov ds, ax lea dx, msg mov ah, 9 int 21h mov ah, 1 int 21h cmp al, 30h ...
; ; Copyright (C) 1990-1992 Mark Adler, Richard B. Wales, and Jean-loup Gailly. ; Permission is granted to any individual or institution to use, copy, or ; redistribute this software so long as all of the original files are included ; unmodified, that it is not sold for profit, and that this copyright notice ; is retai...
; A290651: a(n) = 5 - 2^(n - 1) + 3^(n - 1) + n - 2. ; 4,6,11,26,73,220,675,2070,6317,19184,58039,175114,527361,1586148,4766603,14316158,42981205,129009112,387158367,1161737202,3485735849,10458256076,31376865331,94134790246,282412759293,847255055040,2541798719495,7625463267290 mov $2,1 mov $3,$0 lpb $0 sub $0,1 mu...
/* * * bitcoin_transaction_tests.cpp * ledger-core * * Created by Pierre Pollastri on 28/03/2018. * * The MIT License (MIT) * * Copyright (c) 2017 Ledger * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), t...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the...
#include "util/funcs_sal.h" #include "util/bitmap.h" #include "environment/snow_atmosphere.h" #include "../gamecore/util/token.h" #include <math.h> using namespace std; static int screenX(){ return 320; } static int screenY(){ return 240; } SnowAtmosphere::SnowAtmosphere(): Atmosphere(){ for ( int i = 0; i < 150...
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) ) ftyp_start: dd BE(ftyp_end - ftyp_start) db "ftyp" db "isom" dd BE(0x00) db "mif1", "miaf" ftyp_end: meta_start: dd BE(meta_end - meta_start) db "meta" dd BE(0) hdlr_start: dd BE(hdlr_end - hdlr...
; A300402: Smallest integer i such that TREE(i) >= n. ; 1,1,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,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3 min $0,4 div $0,2 add $0,1
#include <csignal> #include <reproc++/run.hpp> #include "common_options.hpp" #include "mamba/api/configuration.hpp" #include "mamba/api/install.hpp" #ifndef _WIN32 extern "C" { #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fc...
; A023457: n-15. ; -15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,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 sub $0,15
; A030894: [ exp(6/17)*n! ]. ; Submitted by Christian Krause ; 1,2,8,34,170,1024,7173,57385,516468,5164680,56811482,681737791,8862591291,124076278077,1861144171155,29778306738485,506231214554248,9112161861976473,173131075377552995,3462621507551059902 add $0,1 mov $2,1 lpb $0 mul $1,2 mul $2,$0 sub $0,1 add $1,...
; A056450: a(n) = (3*2^n - (-2)^n)/2. ; 1,4,4,16,16,64,64,256,256,1024,1024,4096,4096,16384,16384,65536,65536,262144,262144,1048576,1048576,4194304,4194304,16777216,16777216,67108864,67108864,268435456,268435456,1073741824,1073741824,4294967296,4294967296,17179869184,17179869184,68719476736,68719476736,274877906944,274...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="rgid, egid, sgid"/> <%docstring> Invokes the syscall setresgid. See 'man 2 setresgid' for more information. Arguments: rgid(gid_t): rgid egid(gid_t): egid sgid(gid_t): sgid </%docstring> ${syscall('SYS_setresgid', rgid, egid, sgi...
;============================================================== ; Example 5-3 ; Opening top and bottom borders with self modifying interrupt ;============================================================== !cpu 6502 !to "build/example5-4.prg",cbm * = $1000 ;----------------------------------------------------...
print: pusha start: mov al, [bx] cmp al, 0 je done ; if done call ret after discarding unused data ; print letter (if not done bc above) mov ah, 0x0e int 0x10 ; s add bx, 1 ; increment pointer? jmp start ; do loop done: popa ; do the ret ; return print_nl: pusha ...
; CRT0 for the ZX81 ; ; Stefano Bodrato Apr. 2000 ; ; If an error occurs (eg. out if screen) we just drop back to BASIC ; ; ZX81 will be thrown in FAST mode by default. ; The "startup=2" parameter forces the SLOW mode. ; Values for "startup" from 3 to 6 activate the WRX HRG modes ; ...
#pragma once // PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_InGameReplayMenu_structs.hpp" namespace SDK { //--------------------------------------------------------------------------- //Classes //----------------------------------...