text
stringlengths
1
1.05M
; =============================================================== ; 2002 ; =============================================================== ; ; uint16_t in_stick_keyboard(udk_t *u) ; ; Return joystick state in byte FGHIRLDU active high. The ; FGHI bits are fire buttons with "F" being primary. ; ; ====================...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Compute the line coordinates and put into a vector ; Basic concept by Rafael de Oliveira Jannone (calculate_side) ; ; Stefano Bodrato - 13/3/2009 ; ; ; $Id: w_stencil_add_circle.asm,v 1.3 2016-04-23 20:3...
; A071404: Which nonsquarefree number is a square number? a(n)-th nonsquarefree number equals n^2, the n-th square. ; Submitted by Jamie Morken(s2.) ; 1,3,5,9,13,18,25,31,39,46,55,66,76,86,99,112,125,142,157,172,187,206,225,244,264,285,307,328,353,377,400,429,453,480,507,534,562,593,623,656,691,725,762,795,831,867,904,...
# PowerPC-64 mpn_mul_1 -- Multiply a limb vector with a limb and store # the result in a second limb vector. # Copyright (C) 1999, 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 the terms of the GN...
; A118111: Binary representation of n-th iteration of the Rule 190 elementary cellular automaton starting with a single black cell. ; 1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,0,...
; =============================================================== ; Sep 2005 ; =============================================================== ; ; uint16_t in_key_scancode(int c) ; ; Return a 16-bit scancode corresponding to char c. The scancode ; encodes information on how to quickly detect if the key ; correspondi...
#define CATCH_CONFIG_MAIN #include "mycatch.hpp" #include "foo.hpp" TEST_CASE("Testing works", "[works]") { REQUIRE(2 > 3); }
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x17971, %rdx nop and %rax, %rax movups (%rdx), %xmm0 vpextrq $1, %xmm0, %rcx nop nop nop sub $63697, %r8 lea addresses_A_ht+0xfff1, %r15 nop nop cmp $34101, %rsi mov $0x616263...
#include <bits/stdc++.h> using namespace std; int main() { int n; int k; int count = 0; int solved = 0; vector <int> problems; cin>>n>>k; for(int i = 0; i < n; i++) { int temp; cin>>temp; problems.push_back(temp); } while(true) { if(problems[0] <= k) { problems.erase(problems.begin()); so...
; A167534: a(n) = 79*n - a(n-1) for n>0, a(0)=9. ; 9,70,88,149,167,228,246,307,325,386,404,465,483,544,562,623,641,702,720,781,799,860,878,939,957,1018,1036,1097,1115,1176,1194,1255,1273,1334,1352,1413,1431,1492,1510,1571,1589,1650,1668,1729,1747,1808,1826,1887,1905,1966,1984,2045,2063,2124,2142,2203,2221,2282,2300,236...
.size 8000 .text@48 ei jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld c, 44 ld b, 90 lbegin_waitly90: ldff a, (c) cmp a, b jrnz lbegin_waitly90 ld a, 11 ldff(40), a ld hl, 8000 ld b, 08 lbegin_settile0data...
#include "wampcc/json.h" #include <iostream> #include <stdexcept> #include <list> #include "testcase.h" wampcc::json_value create_input_object() { wampcc::json_object jv { {"k00",wampcc::json_value::make_null()}, {"k01",wampcc::json_value::make_array()}, {"k02",wampcc::json_value::make_object()}, {"...
; A085439: a(n) = Sum_{i=1..n} binomial(i+1,2)^4. ; 1,82,1378,11378,62003,256484,871140,2550756,6651381,15802006,34776742,71791798,140366759,261917384,469277384,811379400,1359360681,2214396762,3517606762,5462416762,8309813083,12406965164,18209748140,26309748140,37466388765,52644875166,73060712622,100231619518,136037720...
; A072251: (3*a(n)+1)/2^(2*n + 1) = 23-6*n. ; 15,45,117,213,-171,-4779,-35499,-207531,-1092267,-5417643,-25864875,-120236715,-548055723,-2460658347,-10916375211,-47960468139,-209021741739,-904806443691,-3894103681707,-16675926354603,-71101751929515,-301999193762475,-1278365519227563 mov $1,2 lpb $0 mul $1,4 sub $1...
; A016757: a(n) = (2*n+1)^5. ; 1,243,3125,16807,59049,161051,371293,759375,1419857,2476099,4084101,6436343,9765625,14348907,20511149,28629151,39135393,52521875,69343957,90224199,115856201,147008443,184528125,229345007,282475249,345025251,418195493,503284375,601692057,714924299,844596301,992436543,1160290625,1350125107,...
;------------------------------------------------------------------------------- ; sched.nasm - RadiOS schedulers. ; Copyright (c) 2000,2003 RET & COM Research. ; Partially based on TINOS (c) 1998 Bart Sekura. ;------------------------------------------------------------------------------- publicproc K_SwitchTask, MT_...
#include <iostream> class Date { private: int day; int month; int year; public: void SetDate(int day, int month, int year); int GetDay() const; // const here promises not to modify the object int GetMonth() const; // const here promises not to modify t...
; A140300: a(n) = 1024^n. ; 1,1024,1048576,1073741824,1099511627776,1125899906842624,1152921504606846976,1180591620717411303424,1208925819614629174706176,1237940039285380274899124224,1267650600228229401496703205376,1298074214633706907132624082305024,1329227995784915872903807060280344576,13611294676837538538534984297270...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: importManager.asm<2> AUTHOR: Maryann Simmons, Apr 30, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Nam...
; test for a hit include win1_keys_wwork include win1_keys_wstatus include win1_mac_oli include win1_keys_k section utility xdef xwm_washit ;+++ ; test for a hit ; ; Entry Exit ; a4 wwork ; ; cc: Z it was a hit, NZ...
SECTION code_driver PUBLIC w_pixeladdress EXTERN __vector06c_scroll ; Entry hl = x ; de = y ; Exit: hl = de = address ; a = pixel number ; Uses: a, c, de, hl .w_pixeladdress ; Display is 256/512 pixels wide, 256 pixels high ld c,l ;Save for later ld a,l rrca rrca rrca and 31 add $e0 ld h,a ...
SECTION code_fp_math48 PUBLIC _exp EXTERN cm48_sdccix_exp defc _exp = cm48_sdccix_exp
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1a539, %rsi lea addresses_normal_ht+0xab3, %rdi nop nop nop and $46839, %r15 mov $67, %rcx rep movsw xor $3197, %rcx lea addresses_WC_ht+0x15d43, %rbp nop nop nop nop and $27...
; A004639: Cubes written in base 9. ; 1,8,30,71,148,260,421,628,1000,1331,1738,2330,3011,3678,4560,5551,6658,8000,10361,11868,13630,15541,17618,20860,23381,26088,30000,33101,36408,41030,44771,48848,54260,58821,64728,71000,76431,83238,100330,106711,114478,122560,131051,138758,148000,157461,167368,177630,188341,210418,22...
; A267661: Number of nX2 0..1 arrays with every repeated value in every row unequal to the previous repeated value, and in every column equal to the previous repeated value, and new values introduced in row-major sequential order. ; 2,8,32,98,288,800,2178,5832,15488,40898,107648,282752,741762,1944392,5094432,13343778,3...
;;---------------------------------------------------------------------------------------------------------------------- ;; 16-bit negate negate16: negate16hl: ; Input: ; HL = value ; Output: ; HL = -value ; Destroys: ; AF ; xor a sub l ld ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x1d888, %r15 nop nop add %rdi, %rdi mov (%r15), %rcx nop nop xor %rdi, %rdi lea addresses_WC_ht+0x1c410, %rdi nop nop nop xor $32014, %r13 mov $0x6162636465666768, %rax movq %r...
/* * Copyright 2019 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "experimental/ffmpeg/SkVideoDecoder.h" #include "include/core/SkBitmap.h" #include "include/core/SkColorSpace.h" #include "include/core/SkImage.h" #include "include/c...
; A221364: The simple continued fraction expansion of F(x) := product {n = 0..inf} (1 - x^(4*n+3))/(1 - x^(4*n+1)) when x = 1/2*(3 - sqrt(5)). ; Submitted by Jamie Morken(s3) ; 1,1,1,5,1,16,1,45,1,121,1,320,1,841,1,2205,1,5776,1,15125,1,39601,1,103680,1,271441,1,710645,1,1860496,1,4870845,1,12752041,1,33385280,1,874038...
; A002276: a(n) = 2*(10^n - 1)/9. ; 0,2,22,222,2222,22222,222222,2222222,22222222,222222222,2222222222,22222222222,222222222222,2222222222222,22222222222222,222222222222222,2222222222222222 lpb $0,1 mul $1,2 mov $2,$1 add $1,4 mul $2,2 add $1,$2 sub $0,1 add $1,$2 mov $2,2 sub $1,$2 lpe
VendingMachineMenu:: ld hl, VendingMachineText1 call PrintText ld a, MONEY_BOX ld [wTextBoxID], a call DisplayTextBoxID xor a ld [wCurrentMenuItem], a ld [wLastMenuItem], a ld a, A_BUTTON | B_BUTTON ld [wMenuWatchedKeys], a ld a, 3 ld [wMaxMenuItem], a ld a, 5 ld [wTopMenuItemY], a ld a, 1 ld [wTopMenuI...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "frc/geometry/Transform2d.h" #include "frc/geometry/Pose2d.h" using namespace frc; Transform2d::Transform2d(...
/** * 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...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1969, %r8 nop nop sub $653, %r10 mov $0x6162636465666768, %rcx movq %rcx, (%r8) nop nop sub %r11, %r11 lea addresses_UC_ht+0xf875, %rsi lea addresses_normal_ht+0x5875, %r...
Name: kart-ppu.asm Type: file Size: 21805 Last-Modified: '1992-08-31T05:34:55Z' SHA-1: F8D5CDE0B6E06303DB14FBF6173C6EBE13120584 Description: null
SFX_Cry16_2_Ch1: dutycycle 240 unknownsfx0x20 15, 215, 128, 7 unknownsfx0x20 4, 230, 160, 7 unknownsfx0x20 15, 210, 64, 7 endchannel SFX_Cry16_2_Ch2: dutycycle 90 unknownsfx0x20 15, 199, 83, 7 unknownsfx0x20 5, 182, 114, 7 unknownsfx0x20 15, 194, 17, 7 endchannel SFX_Cry16_2_Ch3: unknownnoise0x20 13, 246...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviour.hpp" #i...
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args=""/> <%docstring> Invokes the syscall getppid. See 'man 2 getppid' for more information. Arguments: </%docstring> ${syscall('SYS_getppid')}
; Basic Window, 32 bit. V1.01 COLOR_WINDOW EQU 5 ; Constants CS_BYTEALIGNWINDOW EQU 2000h CS_HREDRAW EQU 2 CS_VREDRAW EQU 1 CW_USEDEFAULT EQU 80000000h IDC_ARROW EQU 7F00h IDI_APPLICATION EQU 7F00h IMAGE_...
; A343948: Decimal expansion of -(1 + (5/9)^(1/3)*((9+4*sqrt(6))^(1/3) - (4*sqrt(6)-9)^(1/3)))/4 (negated). ; Submitted by Jon Maiga ; 6,0,5,8,2,9,5,8,6,1,8,8,2,6,8,0,2,0,9,9,0,9,3,8,7,3,1,1,5,7,0,7,2,7,5,9,9,0,0,4,6,9,2,6,6,5,6,6,5,4,9,0,8,2,7,9,3,2,1,8,0,7,5,2,5,0,9,4,4,6,7,2,7,0,8,5,3,7,6,7,2,0,3,0,3,1,7,6,1,4,1,7,3...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1bf53, %r8 nop nop nop inc %r15 mov (%r8), %dx nop cmp $3302, %r12 lea addresses_A_ht+0x109c4, %r9 nop nop nop xor %rbx, %rbx mov (%r9), %r12d nop nop nop nop cmp $61...
user/_schedulertest: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: #define NFORK 10 #define IO 5 int main() { 0: 7139 addi sp,sp,-64 2: fc06 sd ra,56(sp) 4: f822 sd s0,48(sp) 6: f426 sd s1,40(sp)...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // Buffer Definitions: // // cbuffer cbCS // { // // uint4 g_param; // Offset: 0 Size: 16 // // } // // Resource bind info for Input // { // // float $Element; // Offset: 0 Size: 4 //...
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="fd, message, flags"/> <%docstring> Invokes the syscall recvmsg. See 'man 2 recvmsg' for more information. Arguments: fd(int): fd message(msghdr): message flags(int): flags </%docstring> ${syscall('SYS_recvmsg', fd, message, flags...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %rax push %rbp push %rcx push %rdi push %rsi // REPMOV lea addresses_RW+0xf9b7, %rsi lea addresses_PSE+0xd00f, %rdi nop nop nop inc %rax mov $79, %rcx rep movsq // Exception!!! nop nop nop nop mov (0), ...
; PROLOGUE(mpn_store) ; mpn_store ; Copyright 2009 Jason Moxham ; This file is part of the MPIR Library. ; The MPIR 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 version 2.1 o...
kp_insmap_lo dc.b #<ins1 dc.b #<ins2 dc.b #<ins3 dc.b #<ins4 dc.b #<ins5 dc.b #<ins6 dc.b #<ins7 dc.b #<ins8 dc.b #<ins9 kp_insmap_hi dc.b #>ins1 dc.b #>ins2 dc.b #>ins3 dc.b #>ins4 dc.b #>ins5 dc.b #>ins6 dc.b #>ins7 dc.b #>ins8 dc.b #>ins9 kp_volmap_lo dc.b #<vol1 dc.b #<vol2 dc.b #<vol3 dc.b ...
; stdio_error_eacces_mc ; 06.2008 aralbrec XLIB stdio_error_eacces_mc LIB stdio_errno_mc INCLUDE "../stdio.def" .stdio_error_eacces_mc ld hl,EACCES jp stdio_errno_mc
global excPF:function global _userAcc:function extern puts extern hexprintln extern hexprintln64 extern cprint extern panic extern printk extern puts extern pfExit extern mmGetEntry extern allocPhysPage extern allocCleanPhysPage extern allocLargePhysPage extern allocLargeCleanPhysPage extern mmDoCOW extern mmGetPage...
PAGE ,132 TITLE C library emulation, not relying on MS-DOS. ;*****************************************************************************; ; ; ; FILE NAME: EXIT.ASM ; ; ; ; DESCRIPTION: C library emulation routines in assembly language ; ; ; ; N...
; ; $Id: 0x3b_TODO.asm,v 1.1.1.1 2016/03/27 08:40:13 raptor Exp $ ; ; 0x3b explanation - from xchg rax,rax by xorpd@xorpd.net ; Copyright (c) 2016 Marco Ivaldi <raptor@0xdeadbeef.info> ; ; TODO: THIS EXPLANATION IS INCOMPLETE ; ; This snippet does the following: ; ; if (eax >= 0) ; eax = eax * 2 ; else ; eax = (eax *...
#include "equip_input_callbacks.h" #include "../../impl.h" #include "../../party/party_utils.h" void equipGearHandler(const MenuInputEvent* event) { auto slotChoice = getStateCursor(event->menu, 0)->context; auto gearChoice = getStateCursor(event->menu, 1)->context; auto& characterRecord = gContext.party.g...
; A126995: a(n) = binomial(prime(n+2), 3). ; 1,10,35,165,286,680,969,1771,3654,4495,7770,10660,12341,16215,23426,32509,35990,47905,57155,62196,79079,91881,113564,147440,166650,176851,198485,209934,234136,333375,366145,419220,437989,540274,562475,632710,708561,762355,848046,939929,971970,1143135,1179616,1254890,1293699,...
;;; ; Removes the last item of the list and returns its value. ; The allocated space for the list will not be shrinked. ; If the list is empty the value 0 will be returned ; ; params: ; list - A pointer to the list ; ; returns: (QWORD) The last added value in the list ;;; proc ArrayListPop, list:QWORD ...
GLOBAL _syscall_handler extern syscall_handler section .text ;syscall handler esta en kernel.c _syscall_handler: push rbp mov rbp, rsp push rbx push rcx push rdx ;push rbp push rdi push rsi push r8 push r9 push r10 push r11 push r12 push r13 push r14 push r15 call syscall_handler pop r15 pop r14 pop r13 pop r...
; ================================================================== ; MikeOS -- The Mike Operating System kernel ; Copyright (C) 2006 - 2014 MikeOS Developers -- see doc/LICENSE.TXT ; ; FAT12 FLOPPY DISK ROUTINES ; ================================================================== ; ---------------------------...
// // Copyright note: Redistribution and use in source, with or without modification, are permitted. // // Created: November 2019 // // SICK AG, Waldkirch // email: TechSupport0905@sick.de #include "TcpSocket.h" namespace visionary { int TcpSocket::connect(const std::string& hostname, uint16_t port) ...
ORG $1000 RELOCATE_START ASSERT 2 * relocate_count == relocate_size ASSERT 0 == relocate_count dw relocate_count dw relocate_size ixy_fakes_16b: ld bc,(ix+high ixy_fakes_16b) ld de,(ix+high ixy_fakes_16b) ld hl,(ix+high ixy_fakes_16b) ld (ix+high ...
#include <QCoreApplication> #include <QObject> #include <QString> #include <QTimer> #include "greeter.h" #include <QFile> int main(int argc, char *argv[]){ QCoreApplication app(argc, argv); QCoreApplication::setApplicationName("Application Example"); QCoreApplication::setApplicationVersion("1.0.0"); Q...
; A095670: Eighth column (m=7) of (1,4)-Pascal triangle A095666. ; 4,29,120,372,960,2178,4488,8580,15444,26455,43472,68952,106080,158916,232560,333336,468996,648945,884488,1189100,1578720,2072070,2691000,3460860,4410900,5574699,6990624,8702320,10759232,13217160,16138848 lpb $0,1 mov $2,$0 cal $2,95669 ; Seventh co...
; A143607: Numerators of principal and intermediate convergents to 2^(1/2). ; 1,3,4,7,10,17,24,41,58,99,140,239,338,577,816,1393,1970,3363,4756,8119,11482,19601,27720,47321,66922,114243,161564,275807,390050,665857,941664,1607521,2273378,3880899,5488420,9369319,13250218,22619537,31988856,54608393,77227930,131836323,1864...
%include "macros/patch.inc" %include "macros/datatypes.inc" %include "TiberianSun.inc" %include "ini.inc" @LJMP 0x004082D0, WriteToLog @LJMP 0x004735C0, WriteToLog ;@LJMP 0x005BE38C, ExtraLogging ;file logging section .bss log_data resb 4 log_data2 resb 4 extra_log_data resd 1 extra_log_byte resb 0 section...
use32 org 00h APP_HEADER: db 'PISCISAPP000' ;;Signature dd 0 ;;Reserverd dd APP_START ;;Entry Point dd APP_ARGS ;;Arguments Buffer dd 0 ;;Reserved APP_ARGS: times (256) db 0 APP_START: mov edi, str_nt mov eax, 04h int 50h mov eax, 05h int 50h mov edi, str_hh call Bcd2Asc shr eax, 8 mov ...
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2015 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
; Super Metroid Randomizer Changes and Fixes ; incsrc g4_skip.asm incsrc wake_zebes.asm incsrc patches.asm incsrc tracking.asm incsrc seed_display.asm incsrc bomb_torizo.asm
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-va.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES _DATA SEGMENT $SG5432 DB '%d ', 00H $SG5433 DB '%s', 0aH, 00H _DATA ENDS ...
; A007680: a(n) = (2n+1)*n!. ; 1,3,10,42,216,1320,9360,75600,685440,6894720,76204800,918086400,11975040000,168129561600,2528170444800,40537905408000,690452066304000,12449059983360000,236887827111936000,4744158915944448000,99748982335242240000,2196910513383505920000,50580032749992345600000,1215044786727593902080000,3040...
TITLE des-586.asm IF @Version LT 800 ECHO MASM version 8.00 or later is strongly recommended. ENDIF .686 .MODEL FLAT OPTION DOTNAME IF @Version LT 800 .text$ SEGMENT PAGE 'CODE' ELSE .text$ SEGMENT ALIGN(64) 'CODE' ENDIF PUBLIC _DES_SPtrans ALIGN 16 __x86_DES_encrypt PROC PRIVATE push ecx ; Round 0 mov eax,DWORD PTR...
; $Id: bs3-wc16-U4D.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; BS3Kit - 16-bit Watcom C/C++, 32-bit unsigned integer division. ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free softw...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
%include "../defaults_bin.asm" mov ax,cs mov ds,ax mov es,ax mov di,storage in al,0x61 or al,3 out 0x61,al mov al,0xb4 out 0x43,al mov al,0x34 out 0x42,al mov al,0x12 out 0x42,al mov al,0x84 out 0x43,al mov al,0xb4 out 0x43,al mov al,0x78 out 0x42,al mov al,0x56 out 0x42...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: MODULE: FILE: noodlepref.asm AUTHOR: Adam de Boor, Dec 3, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descript...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: BloomPrePassNonLightPass #include "GlobalNamespace/BloomPrePassNonLigh...
; ; ZX IF1 & Microdrive functions ; ; Pick a sector with a given sector number ; ; int if1_next_file (int drive, struct M_CHAN buffer); ; ; On exit, the functions gives the current sector number ; ; ; $Id: if1_next_file.asm $ ; SECTION code_clib PUBLIC if1_next_file...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rdx push %rsi lea addresses_WT_ht+0x12bac, %r11 clflush (%r11) xor $30409, %r9 movw $0x6162, (%r11) nop nop cmp %rsi, %rsi lea addresses_A_ht+0x1ce10, %r15 nop nop and %rdx, %rdx movw $0x6162, (%r15) nop nop nop nop nop and %r9, %...
/// Copyright (c) 2020 Silas B. Domingos /// This source code is licensed under the MIT License as described in the file LICENSE. /// #include "CppUnitTest.h" #include "interfaces.hpp" #include "patterns.hpp" #include "sources.hpp" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace Schemo::Patte...
; A153111: Solutions of the Pell-like equation 1 + 6*A*A = 7*B*B, with A, B integers. ; Submitted by Jamie Morken(s1) ; 1,25,649,16849,437425,11356201,294823801,7654062625,198710804449,5158826853049,133930787374825,3477041644892401,90269151979827601,2343520909830625225,60841274503616428249,1579529616184196509249,410069...
// RUN: %clangxx_tsan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s #include <pthread.h> #include <stdio.h> #include <unistd.h> int Global; void __attribute__((noinline)) foo1() { Global = 42; } void __attribute__((noinline)) bar1() { volatile int tmp = 42; int tmp2 = tmp; (void)tmp2; foo1(); } void __a...
db 0 ; species ID placeholder db 50, 25, 28, 15, 45, 55 ; hp atk def spd sat sdf db FAIRY, FAIRY ; type db 150 ; catch rate db 37 ; base exp db MYSTERYBERRY, MOON_STONE ; items db GENDER_F75 ; gender ratio db 100 ; unknown 1 db 10 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/cl...
; A295889: a(n) = 1 if binary weights of n and 3n have the same parity, 0 otherwise. ; 1,0,0,1,0,1,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,0,0,1,0,0,0,1,0,1,1,0,1,1,0,1,0,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,0,1,0,1,1,0,1,1,0,1,0,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,1,1,0,1,1,1,0,1,0,0,1,0,0,1 seq $0,295890 ; a(n) = 1 if bina...
// seed 4 lbi r0, 249 // icount 0 slbi r0, 90 // icount 1 lbi r1, 82 // icount 2 slbi r1, 93 // icount 3 lbi r2, 211 // icount 4 slbi r2, 234 // icount 5 lbi r3, 50 // icount 6 slbi r3, 68 // icount 7 lbi r4, 100 // icount 8 slbi r4, 33 // icount 9 lbi r5, 67 // icount 10 slbi r5, 143 // icount 11 lbi r6, 170 // icount...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SampleCode.h" #include "SkView.h" #include "SkBlurMask.h" #include "SkCanvas.h" #include "SkCornerPathEffect.h" #include "SkGradientShader.h" #include "SkGraphics.h"...
; A016313: Expansion of 1/((1-2x)(1-7x)(1-10x)). ; Submitted by Jon Maiga ; 1,19,257,3047,33825,361767,3782353,38976439,397835009,4034844935,40743914289,410207399511,4121451795553,41350162566823,414451137963665,4151157965737463,41558105760145857,415906740320988231,4161347182246852081,41629430275727833495,41640601193009...
; A323614: List of 7-powerful numbers (for the definition of k-powerful see A323395). ; 144,192,208,224,240,256,272,288,304,320,336,352,368,384,400,416,432,448,464,480,496,512,528,544,560,576,592,608,624,640,656,672,688,704,720,736,752,768,784,800,816,832,848,864,880,896,912,928,944,960 cmp $1,$0 mul $1,-2 add $1,$0 a...
MODULE generic_console_vpeek SECTION code_himem PUBLIC generic_console_vpeek EXTERN generic_console_xypos EXTERN screendollar EXTERN screendollar_with_count EXTERN swapgfxbk EXTERN swapgfxbk1 EXTERN generic_console_font32 EXTERN generic_console_udg32 generic_console_vpeek: ld hl,-8 add hl...
BITS 64 GLOBAL write:function write: PUSH RBP MOV RBP, RSP XOR RAX, RAX MOV RAX, 1 SYSCALL LEAVE RET
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: 8010...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x40ce, %rdi nop nop nop xor $55719, %r14 vmovups (%rdi), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $1, %xmm7, %r8 nop nop sub $43735, %rcx lea addresses_UC_ht+0x1532d, %rsi lea addres...
/* BAREOS® - Backup Archiving REcovery Open Sourced Copyright (C) 2004-2008 Free Software Foundation Europe e.V. Copyright (C) 2011-2012 Planets Communications B.V. Copyright (C) 2013-2013 Bareos GmbH & Co. KG This program is Free Software; you can redistribute it and/or modify it under the terms of...
// (C) Copyright 2005-2007 Matthias Troyer // Use, modification and distribution is subject to 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) // Authors: Matthias Troyer #ifndef BOOST_MPI_BINARY_BUFFER_OPRIMITIVE_HPP #d...
#include "stdafx.h" #include "PathRouteDijkstra.h" #define INFINITY 999 using namespace std; PathRouteDijkstra::PathRouteDijkstra() { } PathRouteDijkstra::~PathRouteDijkstra() { } void PathRouteDijkstra::init(int n, int source, int target, MatrixXf adjMatrix){ this->N = n; this->source = source;...
/* * kinetis_sysinit.c - Default init routines for P2 * Kinetis ARM systems * Copyright © 2012 Freescale semiConductor Inc. All Rights Reserved. */ #include "kinetis_sysinit.h" #include "derivative.h" /** **=========================================================================== ...
; A144194: Square array (6 X 6) read by rows. ; 0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0 mul $0,-2 pow $0,4 div $0,5 mul $0,12345679 mod $0,-7 mod $0,2
/* AUTORIGHTS Copyright (C) 2007 Princeton University This file is part of Ferret Toolkit. Ferret Toolkit is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later ver...
/* * 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...
; ; Startup for Colecovision ; ; 1k of memory EXTERN msx_set_mode EXTERN asm_im1_handler EXTERN nmi_vectors EXTERN asm_interrupt_handler defc CRT_ORG_BSS = 0x7000 defc CRT_ORG_CODE = 0x8000 defc TAR__fputc_cons_generic = 1 defc TAR__no_a...
############################################################################### # 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...
; A045429: Primes congruent to {1, 3} mod 5. ; Submitted by Jon Maiga ; 3,11,13,23,31,41,43,53,61,71,73,83,101,103,113,131,151,163,173,181,191,193,211,223,233,241,251,263,271,281,283,293,311,313,331,353,373,383,401,421,431,433,443,461,463,491,503,521,523,541,563,571,593,601,613,631,641,643,653,661,673,683,691,701,733,7...
#include "GAMER.h" #ifdef PARTICLE //------------------------------------------------------------------------------------------------------- // Function : Par_Aux_Check_Particle // Description : Verify that // 1. particles reside in their home patches // 2. particles always r...
SECTION "Map_152D", ROM0[$B800] Map_152D_Header: hdr_tileset 0 hdr_dimensions 8, 19 hdr_pointers_a Map_152D_Blocks, Map_152D_TextPointers hdr_pointers_b Map_152D_Script, Map_152D_Objects hdr_pointers_c Map_152D_InitScript, Map_152D_RAMScript hdr_palette $06 ...