text
stringlengths
1
1.05M
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 2.4.9 // ---------------------------------------------------------------------------- // Standard Morphology Process Module Version 1.0.1 // -------------------------...
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="fd, addr, addr_len"/> <%docstring> Invokes the syscall accept. See 'man 2 accept' for more information. Arguments: fd(int): fd addr(SOCKADDR_ARG): addr addr_len(socklen_t): addr_len </%docstring> ${syscall('SYS_accept', fd, addr, ...
; A020330: Numbers whose base-2 representation is the juxtaposition of two identical strings. ; 3,10,15,36,45,54,63,136,153,170,187,204,221,238,255,528,561,594,627,660,693,726,759,792,825,858,891,924,957,990,1023,2080,2145,2210,2275,2340,2405,2470,2535,2600,2665,2730,2795,2860,2925,2990,3055,3120,3185,3250,3315,3380,34...
#include <bits/stdc++.h> using namespace std; /* Conway's Game of Life takes place on an infinite two-dimensional board of square cells. Each cell is either dead or alive, and at each tick, the following rules apply: Any live cell with less than two live neighbours dies. Any live cell with two or three live neighbour...
INCLUDE "config_private.inc" SECTION rodata_env PUBLIC __ENV_TMPNAM_TEMPLATE PUBLIC __ENV_TMPNAM_TEMPLATE_XXXX_OFFSET __ENV_TMPNAM_TEMPLATE: defm "c:/tmp/tmpXXXX", 0 ; must be exactly __ENV_LTMPNAM bytes defc __ENV_TMPNAM_TEMPLATE_XXXX_OFFSET = __ENV_LTMPNAM - 5
; uchar tshr_bitmask2px(uchar bitmask) SECTION code_clib SECTION code_arch PUBLIC tshr_bitmask2px EXTERN zx_bitmask2px defc tshr_bitmask2px = zx_bitmask2px
.global s_prepare_buffers s_prepare_buffers: push %r13 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xbaa0, %rsi lea addresses_UC_ht+0x8b9c, %rdi and %r13, %r13 mov $52, %rcx rep movsl nop nop nop sub $47033, %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %r13 ret .global s_faulty_load s_faulty_load: ...
; A271512: a(n) = (p+1)*(p+2)*(p+3)/6 where p is the n-th prime. ; Submitted by Jon Maiga ; 10,20,56,120,364,560,1140,1540,2600,4960,5984,9880,13244,15180,19600,27720,37820,41664,54740,64824,70300,88560,102340,125580,161700,182104,192920,215820,227920,253460,357760,392084,447580,467180,573800,596904,669920,748660,80444...
; A245334: A factorial-like triangle read by rows: T(0,0) = 1; T(n+1,0) = T(n,0)+1; T(n+1,k+1) = T(n,0)*T(n,k), k=0..n. ; Submitted by Simon Strandgaard ; 1,2,1,3,4,2,4,9,12,6,5,16,36,48,24,6,25,80,180,240,120,7,36,150,480,1080,1440,720,8,49,252,1050,3360,7560,10080,5040,9,64,392,2016,8400,26880,60480,80640,40320,10,81...
cont(8) JIP: LABEL0 UIP: LABEL2 { align1 1Q }; LABEL0: cont(16) JIP: LABEL1 UIP: LABEL2 { align1 1H }; LABEL1: cont(8) JIP: LABEL2 UIP: LABEL2 { align16 1Q }; LABEL2:
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Print Drivers FILE: stylesSRCondensed.asm AUTHOR: Dave Durran ROUTINES: Name Description ---- ----------- REVISION HISTOR...
; A208976: Row sums of the triangle in A208101. ; Submitted by Christian Krause ; 1,2,4,8,15,29,54,104,195,377,713,1385,2639,5147,9866,19304,37179,72929,140997,277133,537471,1058147,2057509,4056233,7904455,15600899,30458899,60174899,117675359,232676279,455657714,901620584,1767883499,3500409329,6871173869,13612702949,26...
include 'loonyvm.inc' inc r1 int 6 jmp $ rb 0x60000 - ($-$$) file 'out.pic'
PIN_UART = 0 MASK_UART = 1<<(PIN_UART) START_DELAY = 4 DATA_DELAY = 3 RESET_TIMEOUT = 64 ;state flags IDLE=0 NEW_DATA=1 LOW_BYTE=2 RESET=3 .macro nop2 ?l1 goto l1 l1: .endm .macro uart_init mov a, #MASK_UART mov paph, a clear error mov a, #( (1<<IDLE) | (1<<RESET) ) mov uart_state, a clear shiftreg clea...
; A183061: First differences of A183060. ; 0,1,3,3,7,3,7,7,19,3,7,7,19,7,19,19,55,3,7,7,19,7,19,19,55,7,19,19,55,19,55,55,163,3,7,7,19,7,19,19,55,7,19,19,55,19,55,55,163,7,19,19,55,19,55,55,163,19,55,55,163,55,163,163,487,3 mov $3,2 mov $5,$0 lpb $3 mov $0,$5 sub $3,1 add $0,$3 trn $0,1 seq $0,183060 ; Numbe...
; A079314: Number of first-quadrant cells (including the two boundaries) born at stage n of the Holladay-Ulam cellular automaton. ; 1,2,2,4,2,4,4,10,2,4,4,10,4,10,10,28,2,4,4,10,4,10,10,28,4,10,10,28,10,28,28,82,2,4,4,10,4,10,10,28,4,10,10,28,10,28,28,82,4,10,10,28,10,28,28,82,10,28,28,82,28,82,82,244,2,4,4,10,4,10,10,...
// --- Predefined References -- define GC_ALLOC 10001h define HOOK 10010h define INIT_RND 10012h define INIT 10013h define NEWFRAME 10014h define INIT_ET 10015h define ENDFRAME 10016h define RESTORE_ET 10017h define ...
DisplayPokemonCenterDialogue_: ld a, [wCurMap] cp PEWTER_POKECENTER jr nz, .regularCenter call CheckPikachuFollowingPlayer jr z, .regularCenter ld hl, LooksContentText ; if pikachu is sleeping, don't heal call PrintText ret .regularCenter call SaveScreenTilesToBuffer1 ; save screen ld hl, PokemonCenterWelcome...
#include <assert.h> #include <errno.h> #include <libgen.h> #include <limits.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <wait.h> #include "auxlib.h" static int exitstatus = EXIT_SUCCESS; static const char* execname = NULL; static const char* debugflags = ""; static bool...
; A017600: (12n+6)^8. ; 1679616,11019960576,656100000000,9682651996416,72301961339136,360040606269696,1370114370683136,4304672100000000,11716593810022656,28525864220672256,63527879748485376,131532383853732096 mul $0,12 add $0,6 pow $0,8
#pragma once #include "pipeline_state.hpp" #include <hitagi/graphics/resource.hpp> #include <hitagi/resource/enums.hpp> #include <functional> namespace hitagi::graphics { class IGraphicsCommandContext { public: virtual ~IGraphicsCommandContext() ...
; A287992: Number of (undirected) paths in the prism graph Y_n. ; Submitted by Jon Maiga ; 1,26,129,444,1285,3366,8281,19544,44829,100770,223201,488916,1061749,2289854,4910505,10480176,22275661,47178234,99605809,209704940,440390181,922733526,1929364729,4026514824,8388588925,17448283346,36238762881,75161901444,155692535...
# MATRICE RISULTANTE IL PRODOTTO VETTORE COLONNA X VETTORE RIGA .data riga: .word 1,2,3,4 colonna: .word 2,3,4 matrice: .word 0:12 .text li $t0,0 li $t1,0 li $t2,0 li $t9,0 scorri: beq $t2,12,stampa sll $t3,$t0,2 lw $t6,riga($t3) sll $t4,$t1,2 lw $t7,colonna($t4) mul $t8,$t6,$t7 sll $t5,$t2,2 sw $t8,matrice($t5...
// componentManager.hpp // Loops through all components and calls their relavent functions #pragma once #include "fe/flatEngineExport.hpp" #include "fe/subsystems/memory/poolAllocater.hpp" #include <memory> #include <type_traits> #include <sol.hpp> #include <unordered_map> #include "fe/entity/component/component.hpp" #...
#include "Platform.inc" #include "PollChain.inc" radix decimal PollAfterButtonsDummy code global POLL_AFTER_BUTTONS POLL_AFTER_BUTTONS: return end
INCLUDE "config_private.inc" SECTION code_clib SECTION code_math PUBLIC l_mulu_16_16x8 ; compute: hl = hl * e ; alters : af, bc, de, hl IF __CPU_Z180__ && ((__CLIB_OPT_IMATH = 0) || (__CLIB_OPT_IMATH = 100)) EXTERN l_z180_mulu_16_16x8 defc l_mulu_16_16x8 = l_z180_mulu_16_16x8 - 1 ELSE IF __CPU_Z80...
; Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. ; ; This file is part of the GNU MP Library. ; ; The GNU MP Library is free software; you can redistribute it and/or ; modify it under the terms of the GNU Lesser General Public License as ; published by the Free Software Foundation; either versi...
; A173661: Logarithmic derivative of the squares of the Fibonacci numbers (A007598, with offset). ; 1,7,16,47,121,322,841,2207,5776,15127,39601,103682,271441,710647,1860496,4870847,12752041,33385282,87403801,228826127,599074576,1568397607,4106118241,10749957122,28143753121,73681302247,192900153616,505019158607 add $0...
#include <zmq_addon.hpp> #include "testutil.hpp" #if defined(ZMQ_CPP11) && defined(ZMQ_BUILD_DRAFT_API) #include <array> #include <memory> TEST_CASE("create destroy", "[active_poller]") { zmq::active_poller_t active_poller; CHECK(active_poller.empty()); } static_assert(!std::is_copy_constructible<zmq::acti...
//================================================================================================= /*! // \file src/mathtest/dvecdvecouter/V3aV2b.cpp // \brief Source file for the V3aV2b dense vector/dense vector outer product math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This...
; A052549: a(n) = 5*2^(n-1) - 1, n>0, with a(0)=1. ; 1,4,9,19,39,79,159,319,639,1279,2559,5119,10239,20479,40959,81919,163839,327679,655359,1310719,2621439,5242879,10485759,20971519,41943039,83886079,167772159,335544319,671088639,1342177279,2684354559,5368709119,10737418239,21474836479,42949672959,85899345919,171798691...
class Int { public: Int() : value(0) {} Int(int i) : value(i) {} Int(const Int &i) : value(i.value) {} Int(Int &&i) : value(i.value) {} Int &operator=(const Int &rhs) &; Int &operator=(Int &&rhs) & noexcept; Int operator+(const Int &rhs) const; operator int() const; private: int val...
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. Module Name: SymQgemmS8KernelNeon.asm Abstract: This module implements the kernels for the quantized integer matrix/matrix multiply operation (QGEMM), where the right hand side is symmetrically quantized, ...
#include "ISMQ.h" #include <algorithm> #include <string.h> using namespace std; #define MAXN 16777216 static uint32_t x; struct Node { uint32_t value; int32_t parent, left; } nodes[MAXN]; static int findp(int x) { return nodes[x].parent == x ? x : (nodes[x].parent = findp(nodes[x].parent)); } static inline int join...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x113fe, %rsi lea addresses_A_ht+0x15bfe, %rdi nop add $13663, %rax mov $22, %rcx rep movsq nop nop nop nop xor %r10, %r10 lea addresses_WC_ht+0x13ffe, %r13 nop nop nop nop...
; A251743: Pairs of nodes in a complete binary tree that are at an absolute height difference of less than 2 from each other. ; 3,13,49,185,713,2793,11049,43945,175273,700073,2798249,11188905,44747433,178973353,715860649,2863377065,11453377193,45813246633,183252462249,733008800425,2932033104553,11728128223913,469125045...
/* * Copyright © <2010>, Intel Corporation. * * 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 rights to use, copy, modify, merg...
%ifdef CONFIG { "RegData": { "RAX": "0x8700", "RBX": "0x8300", "RCX": "0x0200", "RSI": "0x0300" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax mov rax, 0x616263...
;generated via makeasms.bat include raster.i include rastlib.i CGROUP group code code segment dword 'CODE' assume cs:CGROUP,ds:CGROUP RASTLIB_JUMP pj__get_rectpix RL_GET_RPIX code ends end
; A207590: Number of 3 X n 0..1 arrays avoiding 0 0 0 and 0 0 1 horizontally and 0 0 1 and 1 1 1 vertically. ; Submitted by Christian Krause ; 6,36,60,144,324,756,1728,3996,9180,21168,48708,112212,258336,594972,1369980,3154896,7264836,16729524,38524032,88712604,204284700,470422512,1083276612,2494544148,5744373984,13228...
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 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 push %ebp ...
; locates kernel32.dll base address ; requires legacy_stdio_definitions.lib while linking global main extern printf section .data fmt: db "%p", 0xA, 0 section .text main: push r15 ; usage of not clobber registers seems push r12 ; so hacky (requires releasing) sub rsp, 38h ; re...
############################################################################### # 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...
; A161718: Expansion of (1+3*x^2)/(1+x)^2. ; Submitted by Jon Maiga ; 1,-2,6,-10,14,-18,22,-26,30,-34,38,-42,46,-50,54,-58,62,-66,70,-74,78,-82,86,-90,94,-98,102,-106,110,-114,118,-122,126,-130,134,-138,142,-146,150,-154,158,-162,166,-170,174,-178,182,-186,190,-194,198,-202,206,-210,214,-218,222,-226,230,-234,238,-242,...
; 1 2 3 4 5 6 7 ;234567890123456789012345678901234567890123456789012345678901234567890 ;===================================================================== ; ; *** TEST *** ; ;-------------------------------------------------------------...
; ----------------------------------------------------------------------------- ; A 64-bit function that returns the maximum value of its three 64-bit integer ; arguments. The function has signature: ; ; int64_t maxofthree(int64_t x, int64_t y, int64_t z) ; ; Note that the parameters have already been passed in rdi,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x4fe4, %rax nop nop nop nop dec %r12 mov (%rax), %r11 nop nop nop xor $42634, %r14 lea addresses_UC_ht+0xba6, %rdx nop nop nop nop nop cmp $12177, %r10 mov...
; A141914: Primes congruent to 10 mod 23. ; 79,263,401,631,677,769,907,953,1091,1229,1321,1367,1459,1597,1873,2011,2287,2333,2609,3023,3253,3299,3391,3529,3851,3943,3989,4127,4219,4357,4679,4817,4909,5231,5323,5507,5737,5783,6151,6197,6427,6473,6703,6841,7393,7577,7669,7853,8221,8543,8681,8819,9049,9187,9371,9463,9601,...
10 ORG $E000 20 LST OFF 30 XC OFF ;6502 only 40 EXP ON ;print only macro call 50 LSTDO OFF ;don't list conditional code 60 TR OFF ;don't truncate listing to 3 bytes 70 CYC OFF ;don't print cycle times 80 USE MACROS 90 LST ON 100 *********************************...
#include <iostream> const int MAX = 3; using namespace std; class MyArray { int array[MAX]; public: MyArray(); int &operator [] (int n) { if (n < 0 || n >= MAX) { cout << "The index number is out of bound\n"; exit(1); } return ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xba88, %r10 clflush (%r10) nop nop cmp $11660, %rbp mov (%r10), %edi nop nop nop xor $34910, %r9 lea addresses_UC_ht+0x1ada8, %rsi nop nop nop and $16959, %rcx mov $0x616263646...
; *************************************************************************************************************** ; *************************************************************************************************************** ; ; File: vtl2.asm ; Purpose: Main Program. ; Author: Paul Robson (paul@robsons.org.uk)...
#ifndef APG_NO_GL #include <cstdint> #include <stdexcept> #include <sstream> #include <fstream> #include <string> #include <vector> #include <new> #include <memory> #include "APG/GL.hpp" #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include "APG/graphics/ShaderProgram.hpp" #include "APG/graphics/VertexAt...
; A325905: Decimal expansion of 2/e^2. ; Submitted by Christian Krause ; 2,7,0,6,7,0,5,6,6,4,7,3,2,2,5,3,8,3,7,8,7,9,9,8,9,8,9,9,4,4,9,6,8,8,0,6,8,1,5,2,6,3,0,9,1,8,1,9,1,5,1,7,6,2,9,3,6,3,1,7,7,4,5,3,0,8,1,4,6,7,4,8,2,0,2 add $0,1 mov $3,$0 mul $3,4 lpb $3 mov $1,60 add $5,$2 add $1,$5 mul $2,$3 add $2,$1 ...
; A102421: To get a(n), start with 2n+1, multiply by 3 and add 1 and divide out any power of 2; then multiply by 3 and subtract 1 and divide out any power of 2. ; Submitted by Jon Maiga ; 1,7,1,1,5,25,7,17,19,43,1,13,7,61,1,35,37,79,5,11,23,97,25,53,55,115,7,31,1,133,17,71,73,151,19,5,41,169,43,89,91,187,1,49,25,205,13...
; A073551: Number of Fibonacci numbers F(k), k <= 10^n, which end in 3. ; 2,12,132,1332,13332,133332,1333332,13333332,133333332,1333333332,13333333332,133333333332,1333333333332,13333333333332,133333333333332,1333333333333332,13333333333333332 mov $2,2 lpb $0,1 add $1,$2 sub $0,1 mov $2,$1 mul $1,2 add $2,$1...
; A083862: Main diagonal of array A083857. ; Submitted by Christian Krause ; 0,1,3,10,39,171,819,4229,23247,135088,824163,5255361,34876647,240130801,1710323667,12572548582,95183606559,740843916471,5918533467075,48463830575837,406239439253175,3481899731310196 mov $2,$0 mov $3,1 lpb $0 sub $0,1 add $1,$3 mul $3,2 ...
//---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // Fractal Example for Kick Assembler //---------------------------------------------------------------------------- //----------------------------------...
SECTION "Utilities", ROM0 ClearORM: ld a, 0 ld hl, _OAMRAM .do ld [hl], 0 inc hl inc a .while cp a, $9F+1 jp c, .do .end ret CleanWRAM: ld a, 0 ld hl, _RAM .while ld a, h cp $D0 jp nc, .end .do ld [hl], 0 inc hl jp .while .end ret WaitVblank: .do halt .while ld a, [rLY] cp 144 jp c, ...
;; ;; Copyright (c) 2012-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...
; This links together the C and Assembly code so that you won't have to push arguments to the stack yourself global kernel_set_break_c kernel_set_break_c: ; We have to comply with the i386 system V ABI push ebp ; Create a new stack frame mov ebp, esp push ebx ; Push the offset mov ebx, [ebp+8] call kernel_...
PROCESSOR 65C816 abs EQU 'AB' absl EQU 'ABL' dir EQU 'D' ; zero/direct page imm EQU 'I' idx EQU 'X' BRK ; 00 ORA (idx,X) ; 01 58 COP $FF ; 02 FF ORA idx,S ; 03 58 TS...
; A006308: Coefficients of period polynomials. ; Submitted by Jon Maiga ; 3,10,21,55,78,136,171,253,406,465,666,820,903,1081,1378,1711,1830,2211,2485,2628,3081,3403,3916,4656,5050 seq $0,298252 ; Even integers n such that n-3 is prime. mul $0,2 sub $0,7 mul $0,3 pow $0,2 div $0,9 mul $0,4 div $0,32
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #include "ot/timer/timer.hpp" #include "inou_liberty.hpp" #include "lbench.hpp" #include "lgedgeiter.hpp" #include "lgraph.hpp" // WARNING: opentimer has a nasty "define has_member" that overlaps with perfetto methods #undef has_m...
############################################################################### # 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...
// // Created by konradvonkirchbach on 7/16/20. // #ifndef MINIFE_REF_SRC_AUTOTUNERCONNECTION_H #define MINIFE_REF_SRC_AUTOTUNERCONNECTION_H #include <mpi.h> #include <iostream> #include <sys/socket.h> #include <arpa/inet.h> #include <string> #include <unistd.h> #include <cstring> #include <vector> #define PRINT(ra...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rcx push %rdi push %rsi lea addresses_A_ht+0x38cb, %rsi lea addresses_UC_ht+0x701b, %rdi nop nop nop nop xor %r12, %r12 mov $26, %rcx rep movsq nop nop mfence pop %rsi pop %rdi pop %rcx pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load:...
#include "duckdb/storage/table/persistent_segment.hpp" #include "duckdb/storage/table/persistent_table_data.hpp" #include "duckdb/storage/statistics/base_statistics.hpp" namespace duckdb { PersistentTableData::PersistentTableData(idx_t column_count) { } PersistentTableData::~PersistentTableData() { } PersistentColu...
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // Name : // Author : Avi // Revision : $Revision: #85 $ // // Copyright 2009- ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/...
; A169832: a(n) = 15*2^(n+1) - (5*n^2+22*n+30). ; 0,3,26,99,282,695,1578,3411,7154,14727,29970,60563,121866,244599,490202,981555,1964418,3930311,7862274,15726387,31454810,62911863,125826186,251655059,503313042,1006629255,2013261938,4026527571,8053059114,16106122487,32212249530,64424503923,128849013026,257698031559,5153...
;=============================================================================== ; Constants ; use joystick 2, change to CIAPRB for joystick 1 JoystickRegister = CIAPRA GameportUpMask = %00000001 GameportDownMask = %00000010 GameportLeftMask = %00000100 GameportRightMask = %000010...
; --------------------------------------------------------------------------- ; Sprite mappings - SCORE, TIME, RINGS ; --------------------------------------------------------------------------- dc.w byte_1C5BC_SS-Map_obj21SS, byte_1C5F0_SS-Map_obj21SS dc.w byte_1C624_SS-Map_obj21SS, byte_1C658_SS-Map_obj21SS ...
// Copyright (c) 2018 brinkqiang (brink.qiang@gmail.com) // // 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 rights // to use, c...
; VirusName : ETERNITY! ; Origin : Sweden ; Author : The Unforgiven ; Date : 15/12/93 ; This is a "mutation", of Tormentor's .EXE lession. It's HIGHLY ; modified, and I'd nearly dare to call it a "new" virus. But well, ; the infection routine are the same, so I really dunno. ; Anyway, it's a non-overwriti...
_lab3_test: file format elf32-i386 Disassembly of section .text: 00001000 <main>: #include "types.h" #include "user.h" int main(int argc, char* argv[]) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 83 e4 f0 and $0xfffffff0,%esp 1006...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.4 #12246 (Mac OS X x86_64) ;-------------------------------------------------------- .module scene_5_colors .optsdcc -mgbz80 ;-------------------------------------------------------- ; P...
#include <bits/stdc++.h> using namespace std; void print_array(int arr[], int n) { for (int i = 0; i < n; i++) { cout << arr[i] << ' '; } cout << endl; } void Bubble_sort(int *arr, int n) { // no point of running for last element , bcoz arr[j+1] won't be available for (int i = 0; i < n...
; A020708: Pisot sequences E(4,9), P(4,9). ; 4,9,20,44,97,214,472,1041,2296,5064,11169,24634,54332,119833,264300,582932,1285697,2835694,6254320,13794337,30424368,67103056,148000449,326425266,719953588,1587907625,3502240516,7724434620,17036776865,37575794246,82876023112,182788823089,403153440424,889182903960,19611546310...
;; ;; MBR for TinyFDISK ;; ;; Copyright (c) 1998-2013, MEG-OS project ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without modification, ;; are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright not...
/******************************************************************************* * Copyright 2016-2018 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...
;################################################################################################## ;COMPILAR ; nasm -FELF64 exemplo.asm -o exemplo.o ;LINKER ; gcc -o exemplo exemplo.o -no-pie ;################################################################################################## BITS 64 ;################...
;/*++ ; ;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. The full text of the license may be foun...
; Copyright © 2018, VideoLAN and dav1d authors ; Copyright © 2018, Two Orioles, LLC ; 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. Redistributions of source code must retain the above copy...
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="sig, handler"/> <%docstring> Invokes the syscall signal. See 'man 2 signal' for more information. Arguments: sig(int): sig handler(sighandler_t): handler </%docstring> ${syscall('SYS_signal', sig, handler)}
; A212772: Floor((n+1)*(n-3)*(n-4)/12). ; 1,1,0,0,0,1,3,8,15,25,38,56,78,105,137,176,221,273,332,400,476,561,655,760,875,1001,1138,1288,1450,1625,1813,2016,2233,2465,2712,2976,3256,3553,3867,4200,4551,4921,5310,5720,6150,6601,7073,7568,8085,8625,9188,9776,10388,11025,11687,12376,13091,13833,14602,15400,16226,17081,1796...
; A211065: Number of 2 X 2 matrices having all terms in {1,...,n} and odd determinant. ; 0,6,40,96,288,486,1056,1536,2800,3750,6120,7776,11760,14406,20608,24576,33696,39366,52200,60000,77440,87846,110880,124416,154128,171366,208936,230496,277200,303750,360960,393216,462400,501126,583848,629856,727776,781926,896800,9600...
# # Sara R. Susskind -- 11/18/01 # printChar-- A function that prints a character # one argument: character to be printed # Registers used: # # g3 - argument register, holds character to be printed printChar: ld4 g3, fp, 12 # read the argument from the stack cout g3 # Print the character. addi sp, fp,...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; SUB8i8 mov al, 0xa1 ;TEST_BEGIN_RECORDING sub al, 0x5 ;TEST_END_RECORDING
// Copyright (c) 2012 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 "gpu/config/gpu_test_config.h" #include "base/logging.h" #include "base/sys_info.h" #include "gpu/config/gpu_info.h" #include "gpu/config/gp...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x13016, %rdi nop nop nop nop dec %r15 movb $0x61, (%rdi) nop nop nop nop dec %r12 lea addresses_UC_ht+0x13b3e, %r11 nop nop nop nop nop sub %r9, %r9 mov $0x6162636465666768, %r...
; A208891: Pascal's triangle matrix augmented with a right border of 1's. ; 1,1,1,1,1,1,1,2,1,1,1,3,3,1,1,1,4,6,4,1,1,1,5,10,10,5,1,1,1,6,15,20,15,6,1,1,1,7,21,35,35,21,7,1,1,1,8,28,56,70,56,28,8,1,1,1,9,36,84,126,126,84,36,9,1,1,1,10,45,120,210,252,210,120,45 seq $0,71919 ; Number of monotone nondecreasing functions ...
; Copyright 2013 (c) Michael Williams, All rights reserved. ; The following code is licensed under the terms specified in LICENSE.md. [BITS 32] %include "multiboot.asm" ; ============================================================================ ; ; Multiboot Header (multiboot): ...
db DEX_MARILL ; pokedex id db 70 ; base hp db 20 ; base attack db 50 ; base defense db 50 ; base speed db 50 ; base special db WATER ; species type 1 db FAIRY ; species type 2 db 83 ; catch rate db 66 ; base exp yield INCBIN "pic/ymon/marill.pic",0,1 ; 55, sprite dimensions dw MarillPicFront dw MarillPicBack ; attacks ...
%include "defaults_bin.asm" mov ax,8 cwd mov cx,3 idiv cl push dx outputHex outputCharacter ' ' pop ax outputHex outputCharacter ' ' outputCharacter ' ' mov ax,8 cwd mov cx,-3 idiv cl push dx outputHex outputCharacter ' ' pop ax outputHex outputCharacter ' ' outputChar...
Snd_ALZ_Header: smpsHeaderStartSong 3 smpsHeaderVoice Snd_ALZ_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $01, $00 smpsHeaderDAC Snd_ALZ_DAC smpsHeaderFM Snd_ALZ_FM1, $00, $12 smpsHeaderFM Snd_ALZ_FM2, $00, $08 smpsHeaderFM Snd_ALZ_FM3, $00, $12 smpsHeaderFM S...
print_hex: ; Push all registers to stack pusha ; Use cx as our counter mov cx, 4 ; Define a loop for every char we write char_loop: ; Decrement cx dec cx ; Make a copy of our hex into ax, and shift dx 4 bits right so we keep only the first 4 bits of each byte in dx mov ax, dx...
#ifndef FLOWGRAPHUTIL_DYNINST_HPP #define FLOWGRAPHUTIL_DYNINST_HPP #include "CodeObject.h" #include "InstructionDecoder.h" #include "disassembly/flowgraphwithinstructions.hpp" #include "disassembly/flowgraphutil.hpp" #include "disassembly/flowgraph.hpp" // Builds a CFG using a Dyninst Function* as input. uint64_t B...
//==- CheckSizeofPointer.cpp - Check for sizeof on pointers ------*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
// // Created by Morteza Ahmadi on 2020-01-22. // #include "Token.h" #include "TokenType.h" #include <iostream> #include <unordered_map> #include <utility> Token::Token(TokenType type, int lineno, std::string value) { this->type = type; this->lineno = lineno; this->value = std::move(value); } TokenType T...
; A250814: Number of (2+1) X (n+1) 0..2 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction. ; 129,379,873,1731,3097,5139,8049,12043,17361,24267,33049,44019,57513,73891,93537,116859,144289,176283,213321,255907,304569,359859,422353,492651,571377,659179,7...