text
stringlengths
1
1.05M
.segment "INIT" .segment "STARTUP" .segment "ONCE" .segment "CODE" .data start_data: .code ;================================================= ;================================================= ; ; Headers ; ;------------------------------------------------- .include "debug.inc" .include "vera.inc" .include "system...
; LZEee depacker for Z80 sjasm (lzee with f5 option) 72bytes ; ; license:zlib license ; ; Copyright (c) 2020 uniabis ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is g...
; asmsyntax=nasm ; This GDT does not support multitasking. ; Borrowed with love from a prior operating system development excursion. ; https://github.com/duckinator/dux/blob/main/src/lib/hal/gdt.asm bits 32 global hal_gdt_init extern stack_top section .text hal_gdt_init: ; Load the GDT and reload cs to...
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QtNetwork> #include <stdio.h> #include <string.h> #include "ui_mainwindow.h" #include <QJsonDocument> #include <QJsonArray> #include <QJsonObject> #include <QFile> #include "codificador.h" #define TOPEVECTOR 200 MainWindow::MainWindow(QWidget *parent) : ...
;=============================================================================== ; Copyright 2014-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") co...
S SEGMENT ;Stack Segment S ENDS D SEGMENT ;Data Segment MSAGE1 DB "Enter Character OR String To Reverse:", '$' MSAGE2 DB 35 DUP(?) MSAGE3 DB "Do Show Reverse? (Y/n):", '$' MSAGE4 DB "You Select No !", '$' MSAGE5 DB "Your Text Reverse Is:", '$' D ENDS C SEGMENT ;Code...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rax push %rbp push %rsi lea addresses_D_ht+0x1302d, %r15 nop nop nop inc %rax movl $0x61626364, (%r15) nop nop nop nop sub %r8, %r8 lea addresses_WT_ht+0x1942d, %rax and $21188, %r15 and $0xffffffffffffffc0, %rax vmovaps (%rax), %ymm0 vextracti128 $0...
; A132119: A002260 + A000027 - A000012 as infinite lower triangular matrices. ; 1,3,3,6,5,6,10,8,9,10,15,12,13,14,15,21,17,18,19,20,21,28,23,24,25,26,27,28,36,30,31,32,33,34,35,36,45,38,39,40,41,42,43,44,45,55,47,48,49,50,51,52,53,54,55 mov $1,$0 seq $0,130296 ; Triangle read by rows: T[i,1]=i, T[i,j]=1 for 1 < j <= i...
0200 12 62 JUMP $262 0202 ea ac UNK 0xeaac 0204 aa ea MVI I,#$aea 0206 ce aa RND VE,#$aa 0208 aa ae MVI I,#$aae 020a e0 a0 UNK 0xe0a0 020c a0 e0 MVI I,#$0e0 020e c0 40 RND V0,#$40 0210 40 e0 SKIP.NE V0,#$e0 0212 e0 20 UNK 0xe020 0214 c0 e0 RND V0,#...
; A099774: Number of divisors of 2*n-1. ; 1,2,2,2,3,2,2,4,2,2,4,2,3,4,2,2,4,4,2,4,2,2,6,2,3,4,2,4,4,2,2,6,4,2,4,2,2,6,4,2,5,2,4,4,2,4,4,4,2,6,2,2,8,2,2,4,2,4,6,4,3,4,4,2,4,2,4,8,2,2,4,4,4,6,2,2,6,4,2,4,4,2,8,2,3,6,2,6,4,2,2,4,4,4,8,2,2,8,2,2,4,4,4,6,4,2,4,4,4,4,4,2,9,2,2,8,2,4,4,2,2,6,6,4,4,2,4,8,2,4,6,2,4,4,2,2,8,6,2,...
#ifndef EX5_CODE_GEN #define EX5_CODE_GEN #include <vector> #include <string> class CodeBuffer{ public: CodeBuffer(); CodeBuffer(CodeBuffer const&); void operator=(CodeBuffer const&); std::vector<std::string> buffer; std::vector<std::string> dataDefs; static CodeBuffer &instance(); // ******** Methods to han...
; A017292: a(n) = (10*n + 1)^12. ; 1,3138428376721,7355827511386641,787662783788549761,22563490300366186081,309629344375621415601,2654348974297586158321,16409682740640811134241,79766443076872509863361,322475487413604782665681,1126825030131969720661201,3498450596935634189769921,9849732675807611094711841,2554203806993626...
; A089658: Let S1 := (n,t)->add( k^t * add( binomial(n,j), j=0..k), k=0..n); a(n) = S1(n,1). ; 0,2,11,42,136,400,1104,2912,7424,18432,44800,107008,251904,585728,1347584,3072000,6946816,15597568,34799616,77201408,170393600,374341632,818937856,1784676352,3875536896,8388608000,18102616064,38956695552,83617644544,179046449...
/* Generated by Cython 0.29.11 */ /* BEGIN: Cython Metadata { "distutils": { "depends": [], "extra_compile_args": [ "-Wno-unused-function", "-Wno-maybe-uninitialized", "-O3", "-ffast-math", "-fopenmp", "-std=c++11" ], ...
#pragma once #include "../util/screen.hpp" class SkyDome : public rs::util::PostEffect { public: SkyDome(rs::Priority p); //! 仮想スカイドームの距離計算で使用(X=大気の横幅反比, Y=大気の厚さ) void setScale(float w, float h); //! 仮想スカイドームの補正比率 void setDivide(float d); //! レイリー散乱係数 void setRayleighCoeff(const spn::Vec3& r); //! ミー散乱...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x2187, %r8 cmp $65342, %rbp movw $0x6162, (%r8) nop nop nop nop nop and %r8, %r8 lea addresses_A_ht+0xfdb, %rsi lea addresses_UC_ht+0x12c6b, %rdi nop nop nop nop add %r13, %r1...
#include "visit_context.hpp" #include <kdb.hpp> #include <iostream> class CountryAustriaLayer : public kdb::Layer { public: std::string id() const { return "country"; } std::string operator()() const { return "Austria"; } }; class LanguageGermanLayer : public kdb::Layer { public: std::string id() const override ...
org 100h .model small Draw MACRO Y, X, Color mov ah,0ch mov al, Color MOV dx, Y MOV cx, X int 10h ENDM .data ;Will be used for Bar Previous Top Location [- Future Level planning -] eggX dw 0 ;Will b...
TITLE LLTEXT - text screen mode support ;*** ;LLTEXT - text screen mode support ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; Support for text screen modes (BIOS 0,1,2,3,7). ; Note that this module module contains support ; code for all adapters capable of handling these ; screen modes and also attempts...
; A269457: a(n) = 5*(n + 1)*(n + 4)/2. ; 10,25,45,70,100,135,175,220,270,325,385,450,520,595,675,760,850,945,1045,1150,1260,1375,1495,1620,1750,1885,2025,2170,2320,2475,2635,2800,2970,3145,3325,3510,3700,3895,4095,4300,4510,4725,4945,5170,5400,5635 mov $1,$0 add $1,3 bin $1,2 sub $1,1 mul $1,5
MODULE __printf_print_aligned SECTION code_clib PUBLIC __printf_print_aligned EXTERN __printf_doprint EXTERN l_ge __printf_print_aligned: ld l,(ix-6) ;width ld h,(ix-5) ld a,h or l jr z,width_done push bc call l_ge ...
; A138894: Expansion of (1+x)/(1-10*x+9*x^2). ; 1,11,101,911,8201,73811,664301,5978711,53808401,484275611,4358480501,39226324511,353036920601,3177332285411,28595990568701,257363915118311,2316275236064801,20846477124583211,187618294121248901,1688564647091240111,15197081823821161001,136773736414390449011,1230963627729514...
; A268896: Start at a(0)=1. a(n) = a(n-1)+2 if n == 1,2 (mod 3) and a(n)=a(n-1)+a(n-3) if n == 0 (mod 3). ; 1,3,5,6,8,10,16,18,20,36,38,40,76,78,80,156,158,160,316,318,320,636,638,640,1276,1278,1280,2556,2558,2560,5116,5118,5120,10236,10238,10240,20476,20478,20480,40956,40958 mov $2,$0 mul $2,2 mov $1,$2 add $1,1 lpb ...
; ; ANSI Video handling for the ABC80 ; ; Scrollup ; ; ; $Id: f_ansi_scrollup.asm,v 1.3 2007/10/31 14:01:47 stefano Exp $ ; XLIB ansi_SCROLLUP .ansi_SCROLLUP jp $241
.text .globl partition # Setup the left address, right address, and pivot stuff partition: addi $sp, $sp, -12 sw $a0, 0($sp) #left sw $a1, 4($sp) #right sw $ra, 8($sp) #return addi $a1, $a1, -1 addi $t0, $a0, -1 #left address addi $t1, $a1, 1 #right address addi $t2, $a1, -1 #pivot address lw $t2, 0($t2) ja...
; A292291: Number of vertices of type B at level n of the hyperbolic Pascal pyramid. ; 0,0,0,3,12,36,99,264,696,1827,4788,12540,32835,85968,225072,589251,1542684,4038804,10573731,27682392,72473448,189737955,496740420,1300483308,3404709507,8913645216,23336226144,61095033219,159948873516,418751587332,1096305888483,287016...
PAGE 58,132 ;****************************************************************************** TITLE MonoUMB -- Dummy VDD2 device to fool old VDDs ;****************************************************************************** ; ; (C) Copyright MICROSOFT Corp., 1992 ; ; Title: MonoUMB -- Dummy VDD2 device to fool old ...
; A277592: Numbers k such that k/10^m == 5 mod 10, where 10^m is the greatest power of 10 that divides n. ; 5,15,25,35,45,50,55,65,75,85,95,105,115,125,135,145,150,155,165,175,185,195,205,215,225,235,245,250,255,265,275,285,295,305,315,325,335,345,350,355,365,375,385,395,405,415,425,435,445,450,455,465,475,485 add $0,...
; A264851: a(n) = n*(n + 1)*(n + 2)*(4*n - 3)/6. ; 0,1,20,90,260,595,1176,2100,3480,5445,8140,11726,16380,22295,29680,38760,49776,62985,78660,97090,118580,143451,172040,204700,241800,283725,330876,383670,442540,507935,580320,660176,748000,844305,949620,1064490,1189476 mov $3,$0 lpb $0,1 sub $0,1 add $4,$3 add $2...
const_def const MARTTEXT_HOW_MANY const MARTTEXT_COSTS_THIS_MUCH const MARTTEXT_NOT_ENOUGH_MONEY const MARTTEXT_BAG_FULL const MARTTEXT_HERE_YOU_GO const MARTTEXT_SOLD_OUT OpenMartDialog:: call GetMart ld a, c ld [wMartType], a call LoadMartPointer ld a, [wMartType] ld hl, .dialogs rst JumpTable ret .d...
InitBattle: ld a, [wCurOpponent] and a jr z, asm_f6003 InitOpponent: ld a, [wCurOpponent] ld [wcf91], a ld [wEnemyMonSpecies2], a jr asm_f601d asm_f6003: ld a, [wd732] bit 1, a jr z, .asm_f600f ld a, [hJoyHeld] bit 1, a ; B button pressed? ret nz .asm_f600f ld a, [wNumberOfNoRandomBattleStepsLeft] and a...
/*Consider the following program and fill in the blanks in LINE-1 with appropriate function header so that it will take one argument as call by reference and in LINE-2 for the return statement.*/ #include <iostream> using namespace std; int Double(int a) { // LINE-1 return a*2; // LINE-2 } int main() { i...
.include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 18 card_no equ "018" card_sub equ "Mod Card 018" card_sub_x ...
define sysRandom $fe ; an address define a_dozen $0c ; a constant LDA sysRandom ; equivalent to "LDA $fe" LDX #a_dozen ; equivalent to "LDX #$0c"
/* ID: apiv2002 PROG: money LANG: C++11 */ #include <bits/stdc++.h> using namespace std; long long dp[27][10002]; int vals[26]; int n, v; int main() { freopen("money.in", "r", stdin); freopen("money.out", "w", stdout); cin >> v >> n; for (int i = 1; i <= v; i++) { cin >> vals[i]; } for (int i...
INCLUDE "config_private.inc" SECTION code_driver SECTION code_driver_terminal_output PUBLIC rc_01_output_siob_oterm_msg_bell PUBLIC rc_01_output_siob_oterm_msg_bell_0 EXTERN rc_01_output_siob_oterm_msg_putc_send rc_01_output_siob_oterm_msg_bell: ; can use: af, bc, de, hl bit 0,(ix+7) ret z ...
// This is core/vnl/io/tests/test_matrix_fixed_io.cxx #include <vcl_iostream.h> #include <vnl/vnl_matrix_fixed.h> #include <vnl/io/vnl_io_matrix_fixed.h> #include <testlib/testlib_test.h> #include <vpl/vpl.h> void test_matrix_fixed_double_2_2_io() { vcl_cout << "***************************************\n" ...
; A142933: Primes congruent to 17 mod 64. ; Submitted by Jon Maiga ; 17,337,401,593,977,1297,1361,1489,1553,1873,2129,2833,2897,3089,3217,3793,4049,4177,4241,4561,4817,5009,5393,5521,6353,6481,6673,6737,7057,7121,8017,8081,8209,8273,8849,9041,10193,10321,10513,12049,12113,12241,12433,12497,12689,13009,13457,13649,13841...
%include "x86-helpers.asm" nasm_util_assert_boilerplate thunk_boilerplate ; a variant of define_bench that puts a "touch" function immediately following ; the %macro make_touch 0 %ifndef current_bench %error "current_bench must be defined for this to work" %endif GLOBAL current_bench %+ _touch:function current_bench ...
; WARNING: do not edit! ; Generated from openssl/crypto/sha/asm/sha512-x86_64.pl ; ; Copyright 2005-2020 The OpenSSL Project Authors. All Rights Reserved. ; ; Licensed under the OpenSSL license (the "License"). You may not use ; this file except in compliance with the License. You can obtain a copy ; in the fi...
;*! ;* \copy ;* Copyright (c) 2009-2013, Cisco Systems ;* 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 abo...
;******************************************************************************************* ; SIDH: an efficient supersingular isogeny cryptography library ; ; Abstract: utility functions in x64 assembly for P751 on Windows ;******************************************************************************************* ...
; A051724: Numerator of n/12. ; 0,1,1,1,1,5,1,7,2,3,5,11,1,13,7,5,4,17,3,19,5,7,11,23,2,25,13,9,7,29,5,31,8,11,17,35,3,37,19,13,10,41,7,43,11,15,23,47,4,49,25,17,13,53,9,55,14,19,29,59,5,61,31,21,16,65,11,67,17,23,35,71,6,73,37,25,19,77,13,79,20,27,41,83,7,85,43,29,22,89,15,91,23,31,47,95,8,97,49,33,25,101,17,103,26,35...
// Copyright 2009-2021 NTESS. Under the terms // of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Copyright (c) 2009-2021, NTESS // All rights reserved. // // This file is part of the SST software package. For license // information, see the LICENSE file in the ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r13 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi // Store lea addresses_WT+0x1c706, %rbp nop nop nop nop nop sub %rdx, %rdx mov $0x5152535455565758, %rdi movq %rdi, %xmm3 and $0xffffffffffffffc0, %rbp movaps ...
title HMem ;HMem.asm - huge memory functions HMemCpy, etc include gpfix.inc include kernel.inc externFP Int21Handler DataBegin externW WinFlags ifdef WOW externD pFileTable externW cur_dos_PDB externW Win_PDB endif DataEnd ifdef WOW externFP WOWFileRead externFP WOWFileWrite endif sBegin COD...
; A301653: Expansion of x*(1 + 2*x)/((1 - x)*(1 + x)*(1 - x - x^2)). ; Submitted by Jon Maiga ; 0,1,3,5,10,16,28,45,75,121,198,320,520,841,1363,2205,3570,5776,9348,15125,24475,39601,64078,103680,167760,271441,439203,710645,1149850,1860496,3010348,4870845,7881195,12752041,20633238,33385280,54018520,87403801,141422323,22...
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "%d %d %d %s\n", l, w, c, name); } int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 57 push %edi 4: 56 p...
; ; Template ; XXX: .block ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Definitions ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Vars ; .section section_ZP .send section_ZP .section section_BSS .send section_BSS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
/* * Copyright (c) 2021, 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, publis...
; A145134: Expansion of x/((1 - x - x^4)*(1 - x)^5). ; Submitted by Jon Maiga ; 0,1,6,21,56,127,259,490,876,1498,2472,3963,6204,9522,14374,21397,31477,45844,66203,94915,135247,191717,270570,380435,533232,745424,1039745,1447585,2012282,2793666,3874331,5368292,7432934,10285505,14225881,19667988,27183173,37560068,51887219...
; A028169: Expansion of 1/((1-5x)(1-6x)(1-7x)(1-12x)). ; Submitted by Christian Krause ; 1,30,577,9114,129349,1723086,22075129,275977218,3397380877,41418850902,501892142401,6058699871562,72968197588885,877537225626078,10544318356835593,126631590349302546,1520293638382550173 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov $0...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Epson 24-pin driver FILE: epshi24dual34Info.asm AUTHOR: Tsutomu Owa REVISION HISTORY: Name Date Description ---- ---- ----------- ...
/*! \file */ /* ************************************************************************ * Copyright (c) 2019-2020 Advanced Micro Devices, Inc. * * 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 S...
; A013761: a(n) = 17^(3*n + 2). ; 289,1419857,6975757441,34271896307633,168377826559400929,827240261886336764177,4064231406647572522401601,19967568900859523802559065713,98100666009922840441972689847969,481968572106750915091411825223071697 mov $1,4913 pow $1,$0 mul $1,196 div $1,962752 mul $1,1419568 add $1,289 mov $0,...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0xea6c, %rsi nop nop add $14516, %rdi mov (%rsi), %ecx nop nop nop sub %r13, %r13 lea addresses_A_ht+0x3b44, %rsi lea addresses_A_ht+0x1e684, %rdi clflush (%rsi) nop xor $30065, %r9 mov $75, %rcx rep mo...
/* MIT License Copyright (c) 2021 Maciej Malecki 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,...
; A289399: Total path length of the complete ternary tree of height n. ; 0,3,21,102,426,1641,6015,21324,73812,250959,841449,2790066,9167358,29893557,96855123,312088728,1000836264,3196219035,10169787837,32252755710,101988443730,321655860993,1012039172391,3177332285412,9955641160956,31137856397031,97226367933585,30311750...
// Copyright 2020 the V8 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. #include "src/api/api.h" #include "src/base/platform/semaphore.h" #include "src/handles/handles-inl.h" #include "src/handles/local-handles-inl.h" #inclu...
; void __FASTCALL__ sp1_Validate(struct sp1_Rect *r) ; 01.2008 aralbrec, Sprite Pack v3.0 ; ts2068 hi-res version XLIB sp1_Validate XDEF ASMDISP_SP1_VALIDATE LIB sp1_GetUpdateStruct_callee XREF ASMDISP_SP1_GETUPDATESTRUCT_CALLEE, SP1V_DISPWIDTH .sp1_Validate ld d,(hl) inc hl ld e,(hl) inc hl ld b,(hl...
; void *z80_otir_callee(void *src, uint16_t port) SECTION code_z80 PUBLIC _z80_otir_callee EXTERN asm_z80_otir _z80_otir_callee: pop af pop hl pop bc push af jp asm_z80_otir
; A157664: a(n) = 80000*n^2 + 800*n + 1. ; 80801,321601,722401,1283201,2004001,2884801,3925601,5126401,6487201,8008001,9688801,11529601,13530401,15691201,18012001,20492801,23133601,25934401,28895201,32016001,35296801,38737601,42338401,46099201,50020001,54100801,58341601,62742401,67303201,72024001,76904801,81945601,8714...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r9 push %rax push %rbp push %rbx lea addresses_WC_ht+0xffe5, %rbp nop and $34518, %r14 movb (%rbp), %r11b nop nop nop nop and $56375, %rax lea addresses_normal_ht+0x1357d, %r9 and %r14, %r14 movw $0x6162, (%r9) nop nop nop and $4221, %r14 pop %rbx p...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2015 Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Redistributions of so...

; A186228: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the triangular numbers and heptagonal numbers. Complement of A186227. ; 2,5,8,11,15,18,21,24,27,31,34,37,40,44,47,50,53,57,60,63,66,70,73,76,79,82,86,89,92,95,99,102,105,108,112,115,118,121,125,128,131,...
changeNetworkConfig:: call loadTextAsset ; Change SSID ld hl, changeSSIDText call displayText xor a call typeText ; Set harware SSID ld bc, $100 ld de, myCmdBuffer ld hl, typedTextBuffer call copyStr push bc push de ; Change passwd ld hl, networkPasswdText call displayText ld a, "*" call typeText ...
// Copyright 2019 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 "chrome/browser/ui/app_list/search/files/zero_state_file_provider.h" #include <string> #include "ash/constants/ash_features.h" #include "ash/co...
// Copyright (c) 2009-2012 The Darkcoin developers // Copyright (c) 2017-2018 The Zumy developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bignum.h" #include "sync.h" #include "net.h" #include "key.h" #incl...
; A164015: 5 times centered pentagonal numbers: 5*(5*n^2 + 5*n + 2)/2. ; 5,30,80,155,255,380,530,705,905,1130,1380,1655,1955,2280,2630,3005,3405,3830,4280,4755,5255,5780,6330,6905,7505,8130,8780,9455,10155,10880,11630,12405,13205,14030,14880,15755,16655,17580,18530,19505,20505,21530,22580,23655,24755,25880,27030,28205,...
<% from pwnlib.shellcraft import i386 from pwnlib.context import context as ctx # Ugly hack, mako will not let it be called context %> <%page args="value"/> <%docstring> Thin wrapper around :func:`pwnlib.shellcraft.i386.push`, which sets `context.os` to `'freebsd'` before calling. Example: >>> print(pwnlib.s...
/*******************************************************************\ Module: Coverage Instrumentation Author: Daniel Kroening \*******************************************************************/ /// \file /// Coverage Instrumentation for Conditions #include "cover_instrument.h" #include <langapi/language_util.h...
/* welcome.cc ---------- */ #ifndef __amigaos4__ // Mac OS X #ifdef __APPLE__ #include <Carbon/Carbon.h> #endif // Mac OS #ifndef __MACWINDOWS__ #include <MacWindows.h> #endif // missing-macos #ifdef MAC_OS_X_VERSION_10_7 #ifndef MISSING_QUICKDRAW_H #include "missing/Quickdraw.h" #endif #ifndef MISSING_QUICKDRAW...
// // bind_noexcept_test.cpp // // Copyright 2017 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #include <boost/bind/bind.hpp> #include <boost/core/lightweight_test.hpp> #include <boost/config...
; A037537: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,1. ; 1,6,25,101,406,1625,6501,26006,104025,416101,1664406,6657625,26630501,106522006,426088025,1704352101,6817408406,27269633625,109078534501,436314138006,1745256552025,6981026208101,27924104832406 mov $1,4 pow $...
; move ids ; indexes for: ; - Moves (see data/moves/moves.asm) ; - MoveNames (see data/moves/names.asm) ; - MoveDescriptions (see data/moves/descriptions.asm) ; - BattleAnimations (see data/moves/animations.asm) const_def const NO_MOVE ; 00 const POUND ; 01 const KARATE_CHOP ; 02 const DOUBLESLAP ; ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x73b3, %r11 nop nop nop nop and %r10, %r10 movb $0x61, (%r11) nop nop nop nop nop add $50784, %r8 lea addresses_normal_ht+0x1acbf, %r14 nop nop nop nop nop inc %r...
SECTION "Intro", ROMX Intro:: jr @
# PowerPC-32 mpn_submul_1 -- Multiply a limb vector with a limb and subtract # the result from a second limb vector. # Copyright (C) 1995, 1997, 1998, 2000 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...
include 'hardware/custom.i' include 'hardware/cia.i' include 'exec/memory.i' ChipStart equ $400 ChipEnd equ $80000 SlowStart equ $c00000 SlowEnd equ $c80000 ; custom chips addresses custom equ $dff000 ciaa equ $bfe001 ciab equ $bfd000 ; 512kB kickstart begin address ...
; Credits SE02B: DEFM "Code, GFX, Story etc",0 SE02D: DEFM "Patrick Prendergast",0 SE02F: DEFM "Acknowledgements",0 SE031: DEFM "Durk Kingma - Grayscale",0 SE033: DEFM "Kerey Roper - Huffman",0 SE035: DEFM "Joe Pemberton - RLE",0 SE037: DEFM "Joe Wingbermuehle - Ion",0 SE039: DEFM "Tijl Coosemans - Venus",0 SE03B: DEFM...
; A273367: Numbers k such that 10*k+6 is a perfect square. ; 1,3,19,25,57,67,115,129,193,211,291,313,409,435,547,577,705,739,883,921,1081,1123,1299,1345,1537,1587,1795,1849,2073,2131,2371,2433,2689,2755,3027,3097,3385,3459,3763,3841,4161,4243,4579,4665,5017,5107,5475,5569,5953,6051,6451,6553,6969,7075,7507,7617,8065,81...
/* Copyright 2019 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...
; Copyright (c) 2004, 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 found at ...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="pid, sig"/> <%docstring> Invokes the syscall kill. See 'man 2 kill' for more information. Arguments: pid(pid_t): pid sig(int): sig </%docstring> ${syscall('SYS_kill', pid, sig)}
extern _ShellExecuteA ; Using external function from Shell32.dll global _main section .data TP DB "open", 0 FL DB "cmd", 0 ARG DB "/c notepad.exe",0 section .text _main: PUSH 0 ; Window type: 0 -> SW_Hide PUSH 0 PUSH ARG PUSH FL PUSH TP PUSH 0 CALL _ShellExecuteA
; Example 3: ; A user mode task accesses the keypad and the ; text display using two non-blocking system ; calls. The task polls the keypad until a key ; has been pressed and prints the value on the ; text display. JMP boot JMP isr ; Interrupt vector JMP svc ; System call vector sStackTop EQU 0x0FF ; Initi...
; A027053: a(n) = T(n,n+2), T given by A027052. ; 1,4,9,18,35,66,123,228,421,776,1429,2630,4839,8902,16375,30120,55401,101900,187425,344730,634059,1166218,2145011,3945292,7256525,13346832,24548653,45152014,83047503,152748174,280947695,516743376,950439249,1748130324,3215312953,5913882530,10877325811,20006521298,36797729...
; A272614: Numbers whose binary digits, except for the first "1", are given by floor(((k-n)/n) mod 2) with 1<=k<=n. ; Submitted by Jon Maiga ; 1,2,6,8,28,40,104,144,496,672,1632,2240,7872,11648,27520,33536,120576,175616,445952,629760,2014208,2701312,6453248,8712192,33353728,48881664,114548736,144949248,476561408,684687...
; A092516: Decimal expansion of e^(1/7). ; 1,1,5,3,5,6,4,9,9,4,8,9,5,1,0,7,7,5,3,4,6,1,3,3,9,6,2,4,4,7,1,8,6,2,4,4,1,9,9,5,6,8,7,7,3,2,7,3,9,6,6,0,9,5,1,5,3,8,8,0,1,0,8,2,4,7,6,8,4,0,3,7,0,2,7,2,1,0,6,8,4,3,0,3,5,9,9,1,3,6,2,1,8,2,3,5,8,6,0,8 mov $2,1 mov $3,$0 mul $3,5 lpb $3 div $1,7 mul $2,$3 add $1,$2 cmp ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Print Drivers FILE: textSendFont101215Prop.asm AUTHOR: Dave Durran ROUTINES: Name Description ---- ----------- REVISION H...
#pragma once void SetupLevelInfoUI(); void ResetLevelInfoUI();
SECTION code_clib PUBLIC respixel EXTERN __gfx_coords ; ; $Id: respixl.asm,v 1.10 2016-07-02 09:01:36 dom Exp $ ; ; ****************************************************************** ; ; Clears pixel at (x,y) coordinate. ; ; ZX 81 version. ; 64x48 dots. ; ; .respixel ld a,h cp 64 ret nc ld ...
;; This file is a part of the IncludeOS unikernel - www.includeos.org ;; ;; Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences ;; and Alfred Bratterud ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; Yo...
\ ****************************************************************************** \ \ ELECTRON ELITE LOADER SOURCE \ \ Electron Elite was written by Ian Bell and David Braben and is copyright \ Acornsoft 1984 \ \ The code on this site has been disassembled from the version released on Ian \ Bell's personal website at ht...
/*************************************************************************/ /* default_theme.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__new_array_struct_twoints_52a.cpp Label Definition File: CWE401_Memory_Leak__new_array.label.xml Template File: sources-sinks-52a.tmpl.cpp */ /* * @description * CWE: 401 Memory Leak * BadSource: Allocate data using new[] * GoodSource: Point...
#include "widget.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); MyWidget w; w.show(); return a.exec(); }
; A297667: Number of chordless cycles in the n-Moebius ladder. ; Submitted by Jamie Morken(s3) ; 1,6,9,12,15,22,35,56,87,134,209,332,533,858,1381,2224,3587,5794,9367,15148,24499,39626,64101,103704,167785,271470,439233,710676,1149879,1860526,3010379,4870880,7881231,12752078,20633273,33385316,54018557,87403842,141422365,...
;--------------------USART Message Table--------------------- ; ; NOTES : All messages should be stored in the ; following format : ; ; <Message Label> CODE ; <Message Label> ; GLOBAL <Message Label> ; DT "<Message Text>" ; DT 0 ; ; Also, if the message crosses a page boundary, there may ; be pr...