text
stringlengths
1
1.05M
#pragma once // posit_test_helpers.hpp : posit verification functions // Needs to be included after posit type is declared. // // Copyright (C) 2017-2019 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <vector> #incl...
SECTION code_clib SECTION code_l PUBLIC l_cpl_dehl, l_cpl_dehl_hl l_cpl_dehl: ; uses : af, de, hl ld a,d cpl ld d,a ld a,e cpl ld e,a l_cpl_dehl_hl: ld a,h cpl ld h,a ld a,l cpl ld l,a ret
#include <fstbt/lib/utility.hpp> #include <windows.h> void rai::work_thread_reprioritize () { auto SUCCESS (SetThreadPriority (GetCurrentThread (), THREAD_MODE_BACKGROUND_BEGIN)); }
; program to compute Factorial(n) scall 0 add r0,r1,r3 ; x dans r3 add r0,1,r5 ; tmp add r0,1,r2 ; i=1 LOOP: sle r2,r3,r4 ; i<=x braz r4, END mul r5,r2,r5 add r2,1,r2 jmp LOOP,r0 END: add r5,r0,r1 scall 1 stop
; ; ; ZX Spectrum ZXMMC specific routines ; code by Stefano Bodrato, Mar 2010 ; ; $Id: sd_size.asm,v 1.1 2012/07/10 05:55:38 stefano Exp $ ; ; Get the size in bytes of an MMC/SD card ; unsigned long sd_size(struct SD_INFO descriptor); ; Offset in bytes for the CSD field in the MMC struct. ; 1 (slot number) + 1 (...
; ; ANSI Video handling for the Mattel Aquarius ; ; Handles colors ; ; Scrollup ; ; Stefano Bodrato - Dec. 2001 ; ; $Id: f_ansi_scrollup.asm,v 1.2 2015/01/19 01:33:18 pauloscustodio Exp $ ; PUBLIC ansi_SCROLLUP EXTERN aquarius_attr .ansi_SCROLLUP ld hl,$3050 ld de,$3028 ld bc,920 ldir ld h,d ld l,e ld (hl...
; A221741: a(n) = -4*(((n+1)^(n+1)-(n+1))/((n+1)-1)^2-1)/((-3+(-1)^n)*n). ; Submitted by Jon Maiga ; 1,5,9,97,373,7625,48913,1513361,13717421,570623341,6698798233,350549891889,5057809205989,319164643134737,5465701947765793,403925909124187873,8008631808527689309,678470389458269406421,15287592943577781017641,146064675459...
main: PRINT "Input something will ya: " INPUT r0 PRINT "\nYou inputted: " PRINT r0 CMP r0 100 >= PRINT "\nToo old\n" >= JMP end CMP r0 20 >= PRINT "\nJust right\n" >= JMP end PRINT "\nToo young\n" end: PRINT "\nDone!\n"
; A022325: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 11. ; 1,11,13,25,39,65,105,171,277,449,727,1177,1905,3083,4989,8073,13063,21137,34201,55339,89541,144881,234423,379305,613729,993035,1606765,2599801,4206567,6806369,11012937,17819307,28832245,46651553,75483799,122135353,197619153,319754507,517373661,837128...
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
extern m7_ippsECCPGetPoint:function extern n8_ippsECCPGetPoint:function extern y8_ippsECCPGetPoint:function extern e9_ippsECCPGetPoint:function extern l9_ippsECCPGetPoint:function extern n0_ippsECCPGetPoint:function extern k0_ippsECCPGetPoint:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function s...
cmp {m1} beq !+ bcs {la1} !:
// Copyright 2007-2008 Google Inc. 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 // notice, this list of conditi...
; A124724: a(n) = (4/(n + 1)) * C(5*n, n). ; Submitted by Christian Krause ; 4,10,60,455,3876,35420,339300,3362260,34179860,354465254,3735373880,39884521950,430571952300,4691735290080,51534335175776,570003171679020,6343110854237300,70968228417131850,797820661622862900 mov $1,$0 mov $2,$0 add $2,$0 mul $2,2 add $0,$2 b...
; A021180: Decimal expansion of 1/176. ; 0,0,5,6,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8 mov $3,2 mov $9,$0 lpb $3 mov $0,$9 sub $3,1 add $0,$3 sub $0,1 mov $5...
; A008501: 7-dimensional centered tetrahedral numbers. ; 1,9,45,165,495,1287,3003,6435,12869,24301,43713,75417,125475,202203,316767,483879,722601,1057265,1518517,2144493,2982135,4088655,5533155,7398411,9782829,12802581,16593929,21315745,27152235,34315875,43050567,53635023,66386385,81664089,99873981,121472693,146972287,...
/* * Copyright (c) 2021, NVIDIA 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
/* * Copyright (c) 2017, 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, merge, publi...
SECTION code_sound_bit PUBLIC _bitfx_30 INCLUDE "clib_target_cfg.asm" EXTERN asm_bit_beep_raw _bitfx_30: ; fx7 effect ld hl,1000 ld de,1 fx7_1: push de push hl call asm_bit_beep_raw pop hl pop de push de push hl ld bc,200 sbc hl,bc call asm_bit_beep...
; A215036: 2 followed by "1,0" repeated. ; 2,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1 pow $1,$0 add $0,$1 mod $0,2 add $1,$0 mov $0,$1
/** * Copyright 2020 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...
; A047310: Numbers that are congruent to {0, 1, 3, 4, 5, 6} mod 7. ; 0,1,3,4,5,6,7,8,10,11,12,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,31,32,33,34,35,36,38,39,40,41,42,43,45,46,47,48,49,50,52,53,54,55,56,57,59,60,61,62,63,64,66,67,68,69,70,71,73,74,75,76,77,78 mul $0,7 add $0,4 div $0,6
IDEAL SEGMENT image ORG 0100h ASSUME CS:image, DS:image, SS:image, ES:image start: JA target nop nop nop nop nop early: nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop no...
; ; ZX81 libraries - Stefano 7/8/2009 ; ;---------------------------------------------------------------- ; ; $Id: filltxt.asm,v 1.7 2015/01/19 01:33:26 pauloscustodio Exp $ ; ;---------------------------------------------------------------- ; ; Fill text memory with specified character code ; ;------------------------...
; A169712: The function W_n(8) (see Borwein et al. reference for definition). ; 1,70,639,2716,7885,18306,36715,66424,111321,175870,265111,384660,540709,740026,989955,1298416,1673905,2125494,2662831,3296140,4036221,4894450,5882779,7013736,8300425,9756526,11396295,13234564,15286741,17568810,20097331,22889440,25962849,293...
; A134967: List of quadruples: [-2n-1, 2n+2, -2n-1, 2n+2]. ; -1,2,-1,2,-3,4,-3,4,-5,6,-5,6,-7,8,-7,8,-9,10,-9,10,-11,12,-11,12,-13,14,-13,14,-15,16,-15,16,-17,18,-17,18,-19,20,-19,20,-21,22,-21,22,-23,24,-23,24,-25,26,-25,26,-27,28,-27,28,-29,30,-29,30,-31,32,-31,32,-33,34,-33,34,-35,36,-35,36,-37,38,-37,38,-39,40,-39,...
Name: set-obj.asm Type: file Size: 36852 Last-Modified: '2000-11-08T02:03:12Z' SHA-1: 10489EBD1AA7B1B77A8F90E403F77151305BBC37 Description: null
; A211661: Number of iterations log_3(log_3(log_3(...(n)...))) such that the result is < 1. ; 1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,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,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 div $0,2 add $0,3 log $0,4 mov $1,$0 add $1,1
; A025705: Index of 4^n within sequence of numbers of form 4^i*10^j. ; 1,2,4,6,9,13,17,22,27,33,40,47,55,63,72,82,92,103,114,126,139,152,166,180,195,211,227,244,261,279,298,317,337,357,378,400,422,445,468,492,517,542,568,594,621,649,677,706,735,765,796,827,859,891,924,958,992,1027 mov $2,$0 mul $0,2 add $0,7 add $0,$2...
#include <iostream> #include <memory> class Abstract { public: void templateMethod() { f(); g(); h(); } virtual ~Abstract() = default; private: virtual void f() = 0; virtual void g() = 0; virtual void h() = 0; }; class A : public Abstract { private: void f() override { std::cout...
PUBLIC TestAccessViolations .686 .model flat, c .XMM .code TestAccessViolations PROC push ebx push ebp push edi push esi xor ebx, ebx xor edx, edx mov eax, 1234h mov ecx, 2345h mov ebp, 0abcdh mov edi, 0bcdeh mov esi, 0cdefh cmpxchg8b QWORD PTR [edx] cmp ...
<% from pwnlib.shellcraft import thumb from pwnlib.context import context as ctx # Ugly hack, mako will not let it be called context %> <%page args="dest, src"/> <%docstring> Thin wrapper around :func:`pwnlib.shellcraft.thumb.mov`, which sets `context.os` to `'linux'` before calling. Example: >>> print(pwnli...
// Copyright (c) 2021 MIT Digital Currency Initiative, // Federal Reserve Bank of Boston // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "controller.hpp" #include "util/common/config.hpp" #include <c...
;/* ; * FreeRTOS Kernel <DEVELOPMENT BRANCH> ; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * SPDX-License-Identifier: MIT ; * ; * Permission is hereby granted, free of charge, to any person obtaining a copy of ; * this software and associated documentation files (the "Sof...
; A009980: Powers of 36. ; 1,36,1296,46656,1679616,60466176,2176782336,78364164096,2821109907456,101559956668416,3656158440062976,131621703842267136,4738381338321616896,170581728179578208256,6140942214464815497216,221073919720733357899776,7958661109946400884391936,286511799958070431838109696,103144247984905355461719490...
#include "extensions/filters/network/ratelimit/config.h" #include <chrono> #include <string> #include "envoy/extensions/filters/network/ratelimit/v3/rate_limit.pb.h" #include "envoy/extensions/filters/network/ratelimit/v3/rate_limit.pb.validate.h" #include "envoy/registry/registry.h" #include "common/protobuf/utilit...
SECTION code_clib PUBLIC respixel EXTERN __gfx_coords EXTERN textpixl ; ; $Id: respixl.asm,v 1.6 2016/07/02 09:01:36 dom Exp $ ; ; ****************************************************************** ; ; Clear pixel at (x,y) coordinate. ; ; ZX 80 version. ; 64x48 dots. ; ; .respixel ld a,h cp 64...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1395e, %r14 nop nop nop nop nop cmp %r15, %r15 movups (%r14), %xmm7 vpextrq $0, %xmm7, %r13 nop nop nop nop dec %rbp lea addresses_WT_ht+0xabd6, %rsi lea addresses_WT_ht+0x1...
db "POISONMOTH@" ; species name db "The scales it" next "scatters will" next "paralyze anyone" page "who touches them," next "making that person" next "unable to stand.@"
extern m7_ippsECCPGetSizeStd192r1:function extern n8_ippsECCPGetSizeStd192r1:function extern y8_ippsECCPGetSizeStd192r1:function extern e9_ippsECCPGetSizeStd192r1:function extern l9_ippsECCPGetSizeStd192r1:function extern n0_ippsECCPGetSizeStd192r1:function extern k0_ippsECCPGetSizeStd192r1:function extern ippcpJumpInd...
PewterCity_Object: db $a ; border block db 7 ; warps warp 14, 7, 0, MUSEUM_1F warp 19, 5, 2, MUSEUM_1F warp 16, 17, 0, PEWTER_GYM warp 29, 13, 0, PEWTER_NIDORAN_HOUSE warp 23, 17, 0, PEWTER_MART warp 7, 29, 0, PEWTER_SPEECH_HOUSE warp 13, 25, 0, PEWTER_POKECENTER db 7 ; signs sign 19, 29, 6 ; PewterCityTex...
; A186339: a(n)=A006125(n+1)*2^A001840(n). ; 1,4,32,512,32768,4194304,1073741824,1099511627776,2251799813685248,9223372036854775808,151115727451828646838272,4951760157141521099596496896,324518553658426726783156020576256,85070591730234615865843651857942052864 mul $0,2 lpb $0 gcd $1,2 add $2,$0 trn $0,3 lpe pow $1...
; A304163: a(n) = 9*n^2 - 3*n + 1 with n>0. ; 7,31,73,133,211,307,421,553,703,871,1057,1261,1483,1723,1981,2257,2551,2863,3193,3541,3907,4291,4693,5113,5551,6007,6481,6973,7483,8011,8557,9121,9703,10303,10921,11557,12211,12883,13573,14281,15007,15751,16513,17293,18091,18907,19741,20593,21463,22351,23257,24181,25123,260...
INCLUDE "config_private.inc" SECTION code_driver SECTION code_driver_character_input PUBLIC _asci0_interrupt EXTERN asci0RxBuffer, asci0RxCount, asci0RxIn EXTERN asci0TxBuffer, asci0TxCount, asci0TxOut _asci0_interrupt: push af push hl ...
; ; Generic pseudo graphics routines for text-only platforms ; Version for the 2x3 graphics symbols ; ; Written by Stefano Bodrato 05/09/2007 ; ; ; Get pixel at (x,y) coordinate. ; ; ; $Id: pointxy.asm,v 1.5 2015/01/19 01:32:51 pauloscustodio Exp $ ; INCLUDE "graphics/grafix.inc" PUBLIC point...
/* Panel List * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include <QFile> #include <QTextStream> #include "Common/Cpp/Exception.h" #include "Common/Qt/QtJsonTools.h" #include "Tools/PersistentSettings.h" #include "UI/MainWindow.h" #include "JsonSettings.h" #include "JsonProgr...
; A100312: Number of 3 X n binary matrices avoiding simultaneously the right angled numbered polyomino patterns (ranpp) (10;0) and (01;1). ; 1,8,32,104,304,832,2176,5504,13568,32768,77824,182272,421888,966656,2195456,4947968,11075584,24641536,54525952,120061952,263192576,574619648,1249902592,2709520384,5855248384,12616...
;Fast String standalone methods .386 .model flat _TEXT segment dword public use32 'CODE' WinMain segment virtual @WinMain: ret WinMain ends _TEXT ends _DATA segment dword public use32 'DATA' _DATA ends _BSS segment dword public use32 'BSS' _BSS ends DGROUP group _BSS,_DATA end
; Original address was $BBB3 ; Unused "Dark" hammer bro fight area .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKLOW .byte LEVEL4_BGBANK_IN...
; LISTING GENERATED: 1/27/2018 2:43:43 by MLDL Manager version 1.70.0 by MLDL Manager version ; OPEN FILE: Z:\home\geir\Dropbox\Cur\0_HP-41CL\2_AMASTRO\ALPHA.rom .HP ; HP Mnemonics .MCODE _XROM A000 006 .XR...
* * Copyright 2020-2021 Niklas Ekström * RTC_MATCHWORD: equ $4afc RTF_AUTOINIT: equ (1<<7) NT_DEVICE: equ 3 VERSION: equ 1 PRIORITY: equ 0 section code,code moveq #-1,d0 rts romtag: dc.w RTC_MATCHWORD dc.l romtag dc.l endcode dc.b RTF_AUTOINIT dc.b VERSION dc.b NT_DEVICE dc.b PRIORITY dc.l _de...
; See also data/battle/held_heal_status.asm StatusHealingActions: ; item, party menu action text, status db ANTIDOTE, PARTYMENUTEXT_HEAL_PSN, 1 << PSN db BURN_HEAL, PARTYMENUTEXT_HEAL_BRN, 1 << BRN db ICE_HEAL, PARTYMENUTEXT_HEAL_FRZ, 1 << FRZ db AWAKENING, PARTYMENUTEXT_HEAL_SLP, SLP db P...
; A002491: Smallest number of stones in Tchoukaillon (or Mancala, or Kalahari) solitaire that make use of n-th hole. ; 1,2,4,6,10,12,18,22,30,34,42,48,58,60,78,82,102,108,118,132,150,154,174,192,210,214,240,258,274,282,322,330,360,372,402,418,442,454,498,510,540,570,612,622,648,672,718,732,780,802,840,870,918,930,990,1...
INCLUDE "graphics/grafix.inc" SECTION code_graphics PUBLIC xorpixel EXTERN pixeladdress EXTERN __gfx_coords ; ; $Id: xorpixl.asm,v 1.8 2016-07-02 09:01:35 dom Exp $ ; ; ****************************************************************** ; ; Plot pixel at (x,y) coordinate. ; ; Design & programming by Gunther St...
; A158463: a(n) = 12*n^2 - 1. ; -1,11,47,107,191,299,431,587,767,971,1199,1451,1727,2027,2351,2699,3071,3467,3887,4331,4799,5291,5807,6347,6911,7499,8111,8747,9407,10091,10799,11531,12287,13067,13871,14699,15551,16427,17327,18251,19199,20171,21167,22187,23231,24299,25391,26507,27647,28811,29999,31211,32447,33707,34991,...
* Queue maintenance: error returns V2.00  Tony Tebby QJUMP * section ioq * xdef ioq_empty test for eof on empty queue xdef ioq_nc set not complete xdef ioq_eof set end of file * include dev8_keys_err include dev8_keys_qu * * empty queue, test for eof * ioq_empty tst.b (a2) end of file? bmi.s ioq_eo...
; char *strstrip(const char *s) SECTION code_clib SECTION code_string PUBLIC _strstrip EXTERN asm_strstrip _strstrip: pop af pop hl push hl push af jp asm_strstrip
;flags=-x [bits 32] db 65536 rcl r1, 0 nav r1 raw .[ out .1 clr r1 raw .] out .0
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1e1ba, %r15 nop add %rdi, %rdi mov (%r15), %rsi nop nop nop xor %rbp, %rbp lea addresses_UC_ht+0x11f3a, %rsi lea addresses_D_ht+0x4ba, %rdi nop nop dec %r13 mov $64, %rc...
; A156619: Numbers congruent to {7, 18} mod 25. ; 7,18,32,43,57,68,82,93,107,118,132,143,157,168,182,193,207,218,232,243,257,268,282,293,307,318,332,343,357,368,382,393,407,418,432,443,457,468,482,493,507,518,532,543,557,568,582,593,607,618,632,643,657,668,682,693,707,718,732,743,757,768,782,793,807,818,832,843,857,868...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Stone_Door_Placement_Emitter_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //-----------------------------------------...
; (C) Copyright 2018 ; Georgescu Alin %include "io.inc" %define MAX_INPUT_SIZE 4096 section .bss expr resb MAX_INPUT_SIZE section .data ten dd 10 section .text global CMAIN CMAIN: enter 0, 0 GET_STRING expr, MAX_INPUT_SIZE xor eax, eax mov ecx, 0 r...
; A002104: Logarithmic numbers. ; 0,1,3,8,24,89,415,2372,16072,125673,1112083,10976184,119481296,1421542641,18348340127,255323504932,3809950977008,60683990530225,1027542662934915,18430998766219336,349096664728623336,6962409983976703337,145841989688186383359,3201192743180799343844,73474260073510897435000,176002787600143...
; A017481: a(n) = (11*n + 7)^9. ; 40353607,198359290368,14507145975869,262144000000000,2334165173090451,13537086546263552,58871586708267913,208215748530929664,630249409724609375,1689478959002692096,4108400332687853397,9223372036854775808,19370159742424031659,38443359375000000000,72683006647681947041,1317516376635717713...
; A214682: Remove 2s that do not contribute to a factor of 4 from the prime factorization of n. ; Submitted by Jamie Morken(s2) ; 1,1,3,4,5,3,7,4,9,5,11,12,13,7,15,16,17,9,19,20,21,11,23,12,25,13,27,28,29,15,31,16,33,17,35,36,37,19,39,20,41,21,43,44,45,23,47,48,49,25,51,52,53,27,55,28,57,29,59,60,61,31,63,64,65,33,67,6...
//===-- LiveIntervalAnalysis.cpp - Live Interval Analysis -----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
db "MAJESTIC@" ; species name db "Because it has a" next "massive body, it" next "is nimble in water" page "but bulky on land." next "Can easily hold" next "its ground.@"
// // syntax_ptr.cpp // TameParse // // Created by Andrew Hunter on 17/09/2011. // // Copyright (c) 2011-2012 Andrew Hunter // // 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 Softwar...
; Test Program for BOOT-51 ; ======================== ; W.W. Heinz, 25. 6. 2002 ; ; This program simply toggles the logic level of the port pin LEDPIN ; every second (12 MHz) to verify, whether all components of the chain ; assembly -> serial interface -> target syste...
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <G4TriangularFacet.hh> #include <G4AffineTransform.hh> #include <G4VoxelLimits.hh> #include <G4VPVParameterisation.hh> #include <G4VPhysicalVolume.hh> #include <G4VGraphicsScene.hh> #include <G4Polyhedron.hh> #include <G4VisExtent.hh> #includ...
// string i/o example #include <iostream> #include <string> #include <sstream> using namespace std; int main () { int i; unsigned j = 0; string mystr; cout << "Please enter an integer: "; getline (cin , mystr); cout << "The digits of your integer are: "; for (char c : mystr) { j++; cou...
START DS CL5 * * TEST1 - Reader * TEST2 - Punch * TEST DS XL1 DS CL12 * * Address of first instruction executed after load (STRT) * DC XL2'0080' DS XL2 * * Instruction executed after Clear - Start * B RSET * ...
; A178459: Partial sums of floor(2^n/31). ; 0,0,0,0,1,3,7,15,31,64,130,262,526,1054,2111,4225,8453,16909,33821,67646,135296,270596,541196,1082396,2164797,4329599,8659203,17318411,34636827,69273660,138547326,277094658,554189322,1108378650,2216757307,4433514621,8867029249,17734058505,35468117017,70936234042,141872468092,...
; A083077: Fifth row of number array A083075. ; 1,9,97,1065,11713,128841,1417249,15589737,171487105,1886358153,20749939681,228249336489,2510742701377,27618169715145,303799866866593,3341798535532521,36759783890857729,404357622799435017,4447933850793785185,48927272358731637033,538199995946048007361,5920199955406528080969...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Minimal Commander X16 library ;; Time-stamp: <2019-10-17 10:21:25 schol-r-lea> .include "sys.inc" .import parsehex .export newline .export printsz .export printhex .proc newline lda #CR jsr BASOUT rts .endproc ...
; A130821: 2n-1 appears 2n times. ; 1,1,3,3,3,3,5,5,5,5,5,5,7,7,7,7,7,7,7,7,9,9,9,9,9,9,9,9,9,9,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15 mov $1,1 lpb $0 add $1,2 sub $0,$1 lpe
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>mq_unlink(name) -> str Invokes the syscall mq_unlink. See 'man 2 mq_unlink' for more information. Arguments: name(char*): name Returns: int </%docstring> <%page args="name=0"/> <% abi = pwnl...
; A217400: Numbers starting with 7. ; 7,70,71,72,73,74,75,76,77,78,79,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,76...
; A310461: Coordination sequence Gal.6.350.1 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. ; 1,4,10,15,20,26,30,34,40,45,50,56,60,64,70,75,80,86,90,94,100,105,110,116,120,124,130,135,140,146,150,154,160,165,170,176,180,184,190,195,20...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x1abf6, %r10 clflush (%r10) nop nop nop nop nop inc %r13 vmovups (%r10), %ymm1 vextracti128 $0, %ymm1, %xmm1 vpextrq $1, %xmm1, %r9 nop nop nop cmp $36242, %rbp lea addresses_U...
Total: 814.66MB ROUTINE ======================== main.(*Graph).buildAdjList 375.14MB 375.14MB (flat, cum) 46.05% of Total . . 10ca6a0: MOVQ GS:0x30, CX ;graph.go:102 . . 10ca6a9: LEAQ -0x60(SP), AX . . 10ca6ae: CMPQ 0x10(CX), AX ...
#include <bits/stdc++.h> using namespace std; int ans[100009]; int main() { cin.tie(0); ios::sync_with_stdio(false); unsigned long long t, n; cin >> t; while(t--){ cin >> n; if(n & 1) cout << n * (n + 1) << endl; else cout << "-" << n * (n + 1) << endl; } return 0; }
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x651f, %rsi lea addresses_WT_ht+0x161ef, %rdi nop inc %r8 mov $101, %rcx rep movsq nop nop xor %rbx, %rbx lea addresses_UC_ht+0x1199f, %rbp nop nop nop nop sub $30699, %r12 mov $0x616263...
/**************************************************************************** * libwiigui * * Tantric 2009 * * gui_sound.cpp * * GUI class definitions ***************************************************************************/ #include "gui.h" /** * Constructor for the GuiSound class. */ Gui...
# Will the loader recursively load the superclass of the superclass? # We need two levels of derived class to find out. This is level 2 # .class RecursiveLoadSuperDuper:RecursiveLoadSuper .method yell forward .method $constructor enter const "This is RecursiveLoadSuperDuper's constructor\n" call String:pri...
/* * minimum steiner tree */ #include <iostream> #include <cassert> #include <vector> #include "../steiner_tree.hpp" using namespace std; int main(int argc, char *argv[]) { cout << "-- test for steiner tree start --" << endl; SteinerTree<int> st(5); st.adde(0, 1, 1); st.adde(1, 0, 1); st.adde(0, 2, 1); ...
; A126274: Partial sum of A005915. ; 1,15,72,220,525,1071,1960,3312,5265,7975,11616,16380,22477,30135,39600,51136,65025,81567,101080,123900,150381,180895,215832,255600,300625,351351,408240,471772,542445,620775,707296,802560,907137,1021615,1146600,1282716,1430605,1590927,1764360,1951600,2153361,2370375,2603392,2853180,3...
// $Id: SSLIOP_OpenSSL_st_T.cpp 71526 2006-03-14 06:14:35Z jtc $ #ifndef TAO_SSLIOP_OPENSSL_ST_T_CPP #define TAO_SSLIOP_OPENSSL_ST_T_CPP #include "orbsvcs/SSLIOP/SSLIOP_OpenSSL_st_T.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #if !defined (__ACE_INLINE__) #include "orbs...
extern printf section .data msg db "written by DipuKumar", 0 section .text global start start: enter 0, 0 push msg call printf add esp, 4 leave ret
; A025904: Expansion of 1/((1-x^6)(1-x^9)(1-x^10)). ; 1,0,0,0,0,0,1,0,0,1,1,0,1,0,0,1,1,0,2,1,1,1,1,0,2,1,1,2,2,1,3,1,1,2,2,1,4,2,2,3,3,1,4,2,2,4,4,2,5,3,3,4,4,2,6,4,4,5,5,3,7,4,4,6,6,4,8,5,5,7,7,4,9,6,6,8,8,5,10,7 mov $3,2 mov $4,$0 lpb $3 sub $3,1 add $0,$3 sub $0,1 mov $2,$3 mov $5,$0 max $5,0 seq $5,...
/* * Copyright (c) 2017, 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, merge, publi...
/* * Created on: May 2, 2012 * Author: mdonahue * * Copyright (C) 2012-2016 VMware, Inc. All rights reserved. -- VMware Confidential */ #include "stdafx.h" #include "Exception/CCafException.h" #include "AmqpCommon.h" using namespace Caf::AmqpClient; void* AmqpCommon::AMQP_Calloc( size_t nmemb, size_...
; More than 65,279 data sections %assign NSECS 131072 %include "manysecs.asm"
; A243580: Integers of the form 8k + 7 that can be written as a sum of four distinct squares of the form m, m + 1, m + 3, m + 5, where m == 2 (mod 4). ; 87,287,615,1071,1655,2367,3207,4175,5271,6495,7847,9327,10935,12671,14535,16527,18647,20895,23271,25775,28407,31167,34055,37071,40215,43487,46887,50415,54071,57855,617...
; $Id: tstAsmPop-1.asm $ ;; @file ; Disassembly testcase - Valid pop sequences and related instructions. ; ; This is a build test, that means it will be assembled, disassembled, ; then the disassembly output will be assembled and the new binary will ; compared with the original. ; ; ; Copyright (C) 2008-2017 Oracle Co...
;***************************************************************** ;* - Description: Device definition file for RC Calibration ;* - File: t261.asm ;* - AppNote: AVR053 - Production calibration of the ;* RC oscillator ;* ;* - Author: Atmel Corporation: http://www.atmel....
; A021230: Decimal expansion of 1/226. ; Submitted by Jamie Morken(m2) ; 0,0,4,4,2,4,7,7,8,7,6,1,0,6,1,9,4,6,9,0,2,6,5,4,8,6,7,2,5,6,6,3,7,1,6,8,1,4,1,5,9,2,9,2,0,3,5,3,9,8,2,3,0,0,8,8,4,9,5,5,7,5,2,2,1,2,3,8,9,3,8,0,5,3,0,9,7,3,4,5,1,3,2,7,4,3,3,6,2,8,3,1,8,5,8,4,0,7,0 seq $0,83811 ; Numbers n such that 2n+1 is the d...
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="inc"/> <%docstring> Invokes the syscall nice. See 'man 2 nice' for more information. Arguments: inc(int): inc </%docstring> ${syscall('SYS_nice', inc)}
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <printf>: #define N 1000 void printf(int fd, char *s, ...) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 18 sub $0x18,%esp write(fd, s, strlen(s)); 6: 8b 45 0c ...