text
stringlengths
1
1.05M
// RUN: %clangxx -fsycl -O2 %s -o %t.out // XFAIL: * #include <CL/sycl.hpp> #if (SYCL_EXT_ONEAPI_MATRIX == 2) #include <iostream> using namespace sycl; using namespace sycl::ext::oneapi::experimental::matrix; #define TILE_SZ 16 #define TM (TILE_SZ - 4) #define TN (TILE_SZ - 4) #define TK (4 * TILE_SZ - 16) #define S...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Hookshot ; General-purpose library for injecting DLLs and hooking function calls. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Authored by Samuel Grossman ; Copyright (c) 2019-2021 ;;;;;;;;;;;;;;;;;;...
_echo: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 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 ...
org 07c00h mov ax, cs mov ds, ax mov es, ax call DispStr jmp $ DispStr: mov ax, BootMessage mov bp, ax mov cx, 16 mov ax, 01301h mov bx, 000ch mov dl, 0 int 10h ret BootMessage: db "Hello OS" times 510 - ($-$$) db 0 dw 0xaa55
MapSpriteSets: db $01 ; PALLET_TOWN db $01 ; VIRIDIAN_CITY db $02 ; PEWTER_CITY db $02 ; CERULEAN_CITY db $03 ; LAVENDER_TOWN db $04 ; VERMILION_CITY db $05 ; CELADON_CITY db $0a ; FUCHSIA_CITY db $01 ; CINNABAR_ISLAND db $06 ; INDIGO_PLATEAU db $07 ; SAFFRON_CITY db $01 ; unused map ID db $01 ; ROUTE_1 d...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xd90, %rbx nop nop xor %rbp, %rbp movb $0x61, (%rbx) nop xor $5088, %r9 lea addresses_WC_ht+0x13f50, %r13 add $65142, %r8 mov (%r13), %rdi nop nop nop sub $40914, %rb...
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. Module Name: DepthwiseQConvKernelSize9Neon.asm Abstract: This module implements the routine for the depthwise convolution operation with symmetrically quantized integer values for kernel size 9. ie, 3x3,...
; ; ; Copyright (c) 2018 by blindtiger. All rights reserved. ; ; The contents of this file are subject to the Mozilla Public 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.mozilla.org/MPL/ ; ; Softwa...
/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
// Test ROM blocks architecture wdc65816-strict define MEMORY_MAP = LOROM define ROM_SIZE = 1 include "../../../src/common/assert.inc" include "../../../src/common/memory.inc" createCodeBlock(code, 0xc08000, 0xc0ffaf) createDataBlock(rom1, 0xc18000, 0xc1ffff) createDataBlock(addrTable, 0xc28000, 0xc2efff) create...
dnl Intel P6/SSE2 mpn_mul_basecase. dnl Copyright 2008 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser General Public License as published b...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1e9bb, %rcx nop nop nop nop nop cmp $5761, %rdi mov $0x6162636465666768, %r15 movq %r15, (%rcx) nop nop nop nop nop cmp $40312, %r14 lea addresses_D_ht+0x3e7b, %rcx nop nop n...
; A083426: (4*7^n+2^n)/5. ; 1,6,40,276,1924,13452,94132,658860,4611892,32282988,225980404,1581861804,11073030580,77511209964,542578461556,3798049214508,26586344468788,186104411215980,1302730878380788,9119116148403372 mov $1,2 mov $2,$0 mov $3,4 lpb $2 add $1,$3 mul $1,2 sub $2,1 mul $3,7 lpe sub $1,2 div $1,2 ...
; =================================================================== ; SMS aPLib decompression library ; version 1.2 ; 1/12/2008 ; Maxim (http://www.smspower.org/maxim) ; based on code by Dan Weiss (Dwedit) - see readme.txt ; =================================================================== ; ; void sms_aplib_vram_...
; A037766: Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2,1. ; Submitted by Jon Maiga ; 3,15,77,386,1933,9665,48327,241636,1208183,6040915,30204577,151022886,755114433,3775572165,18877860827,94389304136,471946520683,2359732603415,11798663017077,58993315085386,294966575...
; A076264: Number of ternary (0,1,2) sequences without a consecutive '012'. ; 1,3,9,26,75,216,622,1791,5157,14849,42756,123111,354484,1020696,2938977,8462447,24366645,70160958,202020427,581694636,1674922950,4822748423,13886550633,39984728949,115131438424,331507764639,954538564968,2748484256480,7913945004801,22787296449...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="name, oflag, vararg"/> <%docstring> Invokes the syscall mq_open. See 'man 2 mq_open' for more information. Arguments: name(char): name oflag(int): oflag vararg(int): vararg </%docstring> ${syscall('SYS_mq_open', name, oflag, var...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>chown(file, owner, group) -> str Invokes the syscall chown. See 'man 2 chown' for more information. Arguments: file(char*): file owner(uid_t): owner group(gid_t): group Returns: int </%d...
/////////////////////////// TokenControlClass Wrapper File /////////////////////////// ////// written by Michael H Perrott (http://www.cppsim.com) ////////// // Copyright (c) 2010-2015 Michael H Perrott // All rights reserved. // Permission is hereby granted, without written agreement and without // license...
Route11Script: call EnableAutoTextBoxDrawing ld hl, Route11TrainerHeaders ld de, Route11ScriptPointers ld a, [wRoute11CurScript] call ExecuteCurMapScriptInTable ld [wRoute11CurScript], a ret Route11ScriptPointers: dw CheckFightingMapTrainers dw DisplayEnemyTrainerTextAndStartBattle dw EndTrainerBattle Route...
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
############################################################################### # 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...
dc.w word_141348-Map_Sonic dc.w word_14134A-Map_Sonic dc.w word_14135E-Map_Sonic dc.w word_141372-Map_Sonic dc.w word_141386-Map_Sonic dc.w word_141394-Map_Sonic dc.w word_1413A8-Map_Sonic dc.w word_1413BC-Map_Sonic dc.w word_1413D0-Map_Sonic dc.w word_1413DE-Map_Sonic dc.w word_1413F8-Map_Sonic ...
;======================================================================================================================= ; ; File: os.asm ; ; Project: 012 ; ; Description: This sample program initializes a supported ethernet adapter to receive frames. ; ; Revised: 1 Ja...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0xe948, %rsi lea addresses_D_ht+0xc1f0, %rdi nop nop inc %r10 mov $127, %rcx rep movsl nop add $59156, %rbx lea addresses_normal_ht+0x1b230, %r10 nop nop and $38697, %r14 mov ...
; A017076: a(n) = (8*n)^12. ; 0,68719476736,281474976710656,36520347436056576,1152921504606846976,16777216000000000000,149587343098087735296,951166013805414055936,4722366482869645213696,19408409961765342806016,68719476736000000000000,215671155821681003462656,612709757329767363772416,1601032218567680790102016,3895975992...
; A008401: Coordination sequence for {E_6}* lattice. ; 1,54,828,5202,20376,60030,146484,312858,605232,1084806,1830060,2938914,4530888,6749262,9763236,13770090,18997344,25704918,34187292,44775666,57840120,73791774,93084948,116219322,143742096,176250150,214392204,258870978,310445352,369932526,438210180,516218634,60496300...
; A213850: Antidiagonal sums of the convolution array A213849. ; 1,3,10,20,42,70,120,180,275,385,546,728,980,1260,1632,2040,2565,3135,3850,4620,5566,6578,7800,9100,10647,12285,14210,16240,18600,21080,23936,26928,30345,33915,37962,42180,46930,51870,57400,63140,69531,76153,83490,91080,99452,108100,117600,127400,138125,14...
; A158730: a(n) = 68*n^2 - 1. ; 67,271,611,1087,1699,2447,3331,4351,5507,6799,8227,9791,11491,13327,15299,17407,19651,22031,24547,27199,29987,32911,35971,39167,42499,45967,49571,53311,57187,61199,65347,69631,74051,78607,83299,88127,93091,98191,103427,108799,114307,119951,125731,131647,137699,143887,150211,156671,163267...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xe27e, %rsi lea addresses_WT_ht+0x1727e, %rdi clflush (%rdi) nop sub $28700, %r9 mov $1, %rcx rep movsl nop nop nop nop sub $25778, %rdi lea addresses_D_ht+0xe7e, %rsi lea addresses_WT_h...
; A030240: Scaled Chebyshev U-polynomials evaluated at sqrt(7)/2. ; 1,7,42,245,1421,8232,47677,276115,1599066,9260657,53631137,310593360,1798735561,10416995407,60327818922,349375764605,2023335619781,11717718986232,67860683565157,393000752052475,2275980479411226,13180858091511257,76334143284700217 mov $1,3 sub $1,$0 mo...
/* * Created: 29.5.2016 13:06:23 * Author: Kubas * * This file is updated by python script at the beginning of every build. * DO NOT MODIFY IT MANUALLY! */ #if !defined(BUILD_INFO_HPP_) #include "build_info_printer.hpp" #else /***** VALUES *****/ const BUILD_INFO::build_number_type BUILD_INFO::pg_build_numb...
# JMH version: 1.19 # VM version: JDK 1.8.0_131, VM 25.131-b11 # VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java # VM options: <none> # Warmup: 20 iterations, 1 s each # Measurement: 20 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Throughput...
; int in_test_key(void) SECTION code_clib SECTION code_input PUBLIC _in_test_key EXTERN asm_in_test_key _in_test_key: call asm_in_test_key ld hl,1 ret nz dec l scf ret
; ; z88dk RS232 Function ; ; Amstrad CPC (CPC Booster+) version ; ; unsigned char rs232_get(char *) ; ; $Id: rs232_get.asm,v 1.1 2008/07/18 07:51:13 stefano Exp $ ; fastcall so implicit push XLIB rs232_get rs232_get: ld bc, $FF1C nowort: in a, (...
#include "die-tk-image/convert.h" #include "die-tk/win32/die-tk-win32.h" namespace tk { image::Ptr convertImage(img::Image const & image) { auto info = reinterpret_cast<BITMAPINFO *>(image.getWindowSystemHeader()); if( image.transparent() ) { if( info->bmiHeader.biBitCount == 32 ) { // TODO force i...
_zombie: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" 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 pus...
; A092822: Row sums of A092821. ; Submitted by Jon Maiga ; 1,3,10,32,100,312,988,3208,10728,36944,130604,471880,1734616,6461808,24317080,92222288,351854032,1348762016,5189792716,20031335240,77516440696,300630949424,1168151092552,4546596321392,17721978842800 sub $1,$0 mov $2,2 mov $3,$0 mov $0,6 lpb $3 sub $0,4 mul...
.data ind: .word 0x10010000 #static data .text main: la $t0,ind li $t1,0x00ffff00 #amarelo li $t2,0 #col li $t3,0 #rows li $s0,30 li $s1,20 col: sw $t1,0($t0) addi $t0,$t0,4 addi $t2,$t2,1 slt $t4,$t2,$s0 bne $t4,$0,col row: li $t2,0 addi $t0,$t0,136 addi $t3,$t3,1 slt $t4,$t3,$s1 bne $t4,$0,col
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "pch.h" #include "Microsoft/ARPHelper.h" #include "Microsoft/PredefinedInstalledSourceFactory.h" #include "Microsoft/SQLiteIndex.h" #include "Microsoft/SQLiteIndexSource.h" #include <winget/ManifestInstaller.h> #include <winge...
//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
format elf64 public EhPrepare as 'EhPrepareAVX1' public EhSolver as 'EhSolverAVX1' include "struct.inc" include "params.inc" include "struct_eh.inc" include "macro_eh.asm" section '.text' executable align 64 include "proc_ehprepare_avx1.asm" include "proc_ehsolver_avx1.asm" section '.data' writeable align 64 include...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xaddf, %rsi lea addresses_WC_ht+0x29d6, %rdi nop nop nop nop nop xor %r15, %r15 mov $16, %rcx rep movsb nop nop dec %rbp lea addresses_UC_ht+0x1a228, %r14 nop nop nop nop nop a...
INCLUDE "constants.asm" SECTION "NULL", ROM0 NULL:: INCLUDE "home/header.asm" SECTION "High Home", ROM0 INCLUDE "home/lcd.asm" INCLUDE "home/clear_sprites.asm" SECTION "Home", ROM0 INCLUDE "home/start.asm" INCLUDE "home/vcopy.asm" INCLUDE "home/init.asm" INCLUDE "home/vblank.asm" INCLUDE "home/tilemap.asm"
; A005583: Coefficients of Chebyshev polynomials. ; 2,11,36,91,196,378,672,1122,1782,2717,4004,5733,8008,10948,14688,19380,25194,32319,40964,51359,63756,78430,95680,115830,139230,166257,197316,232841,273296,319176,371008,429352,494802,567987,649572,740259,840788 mov $1,$0 add $1,4 bin $1,$0 add $0,10 mul $1,$0 div $1,...
SECTION "ROM Bank 01", ROMX[$4000], BANK[$01] db $FA, $96, $DB, $C7, $10, $40, $41, $40 db $4D, $40, $65, $40, $73, $40, $FD, $55 db $CD, $CC, $1C, $CD, $22, $0B, $CD, $76 db $17, $FA, $6B, $C1, $FE, $04, $20, $20 db $3E, $03, $E0, $A9, $3E, $30, $E0, $AA db $CD, $45, $44, $AF, $EA,...
; A251754: Digital root of A027444(n) = n + n^2 + n^3, n>=1. Repeat(3, 5, 3, 3, 2, 6, 3, 8, 9). ; 3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3,5,3,3,2,6,3,8,9,3 mov $5,$0 mul $0,2 su...
; A088879: Numbers n such that 3n + 5 is a prime. ; Submitted by Jamie Morken(s2) ; -1,0,2,4,6,8,12,14,16,18,22,26,28,32,34,36,42,44,48,54,56,58,62,64,74,76,78,82,84,86,88,92,96,102,104,114,116,118,126,128,132,138,142,146,148,152,154,158,162,166,168,172,184,186,188,194,196,198,204,212,214,216,218,224,226,232,238,246,25...
// // main.cpp // nscryptoTests // // Created by Andrey Belenko on 09/03/15. // Copyright (c) 2015 NowSecure. All rights reserved. // #include "nscrypto.h" #include <memory> #include <string> #include <tuple> using std::unique_ptr; using std::string; using std::tie; #ifdef __linux__ #include <bsd/stdlib.h> ...
; A073085: Numbers n such that 210*n+1 is prime. ; Submitted by Jon Maiga ; 1,2,3,5,7,11,12,13,16,17,20,22,23,28,29,30,35,36,39,42,44,46,47,50,51,53,55,57,59,60,64,67,68,72,73,74,78,81,83,85,86,88,89,93,96,100,101,104,105,111,115,117,118,121,122,124,125,128,129,135,137,139,140,141,144,146,147,148,154,157,158,159,160,16...
; zx0_6809_standard.asm - ZX0 decompressor for M6809 - 95 bytes ; ; Copyright (c) 2021 Doug Masten ; ZX0 compression (c) 2021 Einar Saukas, https://github.com/einar-saukas/ZX0 ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; ...
;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. ;; See the LICENSE file in the project root for more information. include asmmacros.inc LEAF_ENTRY RhpFltRemRev, _TEXT sub rsp, 18h movss dword ptr [...
; ***************************************************************************** ; ***************************************************************************** ; ; Name: int32divide.asm ; Author: Paul Robson (paul@robsons.org.uk) ; Date: 21st February 2021 ; Reviewed: 7th March 2021 ; Purpose: 32 bit unsigned/...
; A342925: a(n) = A003415(sigma(n)), where A003415 is the arithmetic derivative, and sigma is the sum of divisors of n. ; 0,1,4,1,5,16,12,8,1,21,16,32,9,44,44,1,21,16,24,41,80,60,44,92,1,41,68,92,31,156,80,51,112,81,112,20,21,92,92,123,41,272,48,124,71,156,112,128,22,34,156,77,81,244,156,244,176,123,92,332,33,272,164,1...
#include "Application.h" namespace Ald { Application::Application() { } Application::~Application() { } void Application::Run() { while (true) { } } }
; A337167: a(n) = 1 + 3 * Sum_{k=0..n-1} a(k) * a(n-k-1). ; Submitted by Jon Maiga ; 1,4,25,199,1795,17422,177463,1870960,20241403,223438852,2506596547,28494103183,327507800725,3799735202218,44440058006593,523388751658831,6201937444137619,73888034816382820,884517283667145259,10634234680321209373,128347834921058404249,1...
;============================================================ ; Example 1-1 ; Flashing the border ;============================================================ !cpu 6502 !to "build/example1-1.prg",cbm * = $1000 loop: inc $d020 ; increment value stored at $d020 ; $d020 is the border color jmp loop ; unc...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1cd5b, %r9 nop nop nop nop nop cmp $2355, %r15 mov (%r9), %r12 nop nop nop sub %r10, %r10 lea addresses_WT_ht+0x1dbee, %r13 nop add %r14, %r14 vmovups (%r1...
/** * \file WdbedOpengcli.cpp * operation engine client for Wdbe daemon (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #include "Wdbed.h" #include "WdbedOpengcli.h" using namespace std...
/* * Copyright (c) 2018 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* Copyright Oliver Kowalke 2009. Copyright Thomas Sailer 2013. 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) */ /***********************************************************...
/* Copyright (c) Stanford University, The Regents of the University of * California, and others. * * All Rights Reserved. * * See Copyright-SimVascular.txt for additional details. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated doc...
; *********************************************************** ; * * ; * Copyright, (C) Honeywell Bull Inc., 1987 * ; * * ; * Copyright, (C) Honeywell Information Systems Inc., 1986 * ; * ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x2935, %r10 nop xor %r15, %r15 movups (%r10), %xmm2 vpextrq $0, %xmm2, %r11 nop sub $13237, %rbx lea addresses_WC_ht+0x1cc71, %rsi lea addresses_WC_ht+0x1c1dd, %rdi clflush (%...
; $Id: bit_open.asm,v 1.1 2016-11-15 11:43:52 stefano Exp $ ; ; Aussie Byte 1 bit sound functions ; ; void bit_open(); ; ; Stefano Bodrato - 2016 ; SECTION code_clib PUBLIC bit_open PUBLIC _bit_open EXTERN __snd_tick .bit_open ._bit_open ld a,@01000000 ld (__snd_tic...
#include "extensions/quic_listeners/quiche/envoy_quic_proof_source.h" #include <openssl/bio.h> #include "envoy/ssl/tls_certificate_config.h" #include "extensions/quic_listeners/quiche/envoy_quic_utils.h" #include "extensions/quic_listeners/quiche/quic_io_handle_wrapper.h" #include "extensions/transport_sockets/well_...
#include "SudokuSolver.h" SudokuSolver::SudokuSolver(int _Grid[N][N]) { memcpy(Grid, _Grid, sizeof(Grid)); } SudokuSolver::SudokuSolver(string fileName) { // 1. Open puzzle file ifstream inputFile(fileName); if (!inputFile.is_open()) { cerr << "Error: Unable to open file" << endl; exit(...
org 00h start: mov P1,#00000000b ;clear bits in port 1 mov P1,#00100001b ;green light for road A call five_sec mov P1,#00000000b ;clear bits in port 1 mov P1,#00010010b ;yellow light for road A and road B call two_sec mov P1,#00000000b ;clear bits in port 1 mov P1,#00001100b ;green light for road B call...
/* ** EPITECH PROJECT, 2019 ** NewDimension ** File description: ** config */ #ifndef CONFIG_HPP_ # define CONFIG_HPP_ # include "config/cmake_config.h" // Project build type release # define Release 1 // Project build type debug # define Debug 2 # ifndef PROJECT_BUILD_TYPE # define PROJECT_BUILD_TYPE Debug # endi...
hard_reset/hard_reset.elf: file format elf32-littlearm Disassembly of section .text: 00000000 <hang-0x90>: 0: 00002000 .word 0x00002000 4: 00000093 .word 0x00000093 ... 10: 00000090 .word 0x00000090 14: 00000090 .word 0x00000090 18: 00000090 .word 0x00000090 1c: 00000090 .word 0x00000090 ...
dnl AMD64 mpn_copyi optimised for AMD bobcat. dnl Copyright 2003, 2005, 2007, 2011, 2012 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser Gen...
; *************************************************************************************************************** ; *************************************************************************************************************** ; ; File: editing.asm ; Purpose: Line editing/finding functionality. ; Author: Paul Rob...
/* * Copyright (C) 2012 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
#include "traffic/speed_groups.hpp" #include "base/math.hpp" namespace traffic { uint32_t const kSpeedGroupThresholdPercentage[] = {8, 16, 33, 58, 83, 100, 100, 100}; SpeedGroup GetSpeedGroupByPercentage(double p) { p = base::Clamp(p, 0.0, 100.0); SpeedGroup res = SpeedGroup::Unknown; for (int i = static_cast<...
;; ;; Copyright (c) 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 the ...
; void *memset(void *s, int c, size_t n) IF !__CPU_GBZ80__ SECTION code_clib SECTION code_string PUBLIC memset_callee EXTERN asm_memset memset_callee: pop hl pop bc pop de ex (sp),hl jp asm_memset ; SDCC bridge for Classic IF __CLASSIC PUBLIC _memset_callee defc _memset_callee = memset_callee E...
// Copyright 2019 The Beam Team // // 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 agre...
; A021625: Decimal expansion of 1/621. ; Submitted by Jon Maiga ; 0,0,1,6,1,0,3,0,5,9,5,8,1,3,2,0,4,5,0,8,8,5,6,6,8,2,7,6,9,7,2,6,2,4,7,9,8,7,1,1,7,5,5,2,3,3,4,9,4,3,6,3,9,2,9,1,4,6,5,3,7,8,4,2,1,9,0,0,1,6,1,0,3,0,5,9,5,8,1,3,2,0,4,5,0,8,8,5,6,6,8,2,7,6,9,7,2,6,2 seq $0,42 ; Unary representation of natural numbers. di...
; A103175: A001787 written in base 2. ; Submitted by Jon Maiga ; 0,1,100,1100,100000,1010000,11000000,111000000,10000000000,100100000000,1010000000000,10110000000000,110000000000000,1101000000000000,11100000000000000,111100000000000000 mov $1,$0 seq $0,204093 ; Numbers whose set of base-10 digits is {0,6}. lpb $1 mu...
;****************************************************************************** ;* FS_CMP16.ASM - 16 BIT STATE - * ;* * ;* Copyright (c) 1996 Texas Instruments Incorporated * ...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1 TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\encoding.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES _DATA SEGMENT COMM _xmlMalloc:DWORD CO...
; A124696: Number of base 3 circular n-digit numbers with adjacent digits differing by 1 or less. ; 1,3,7,15,35,83,199,479,1155,2787,6727,16239,39203,94643,228487,551615,1331715,3215043,7761799,18738639,45239075,109216787,263672647,636562079,1536796803,3710155683,8957108167,21624372015,52205852195 mov $3,6 mov $4,2 lp...
; A033327: [ 7/n ]. ; 7,3,2,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 add $0,1 mov $1,7 div $1,$0
; void sp1_MoveSprPix(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uint x, uint y) SECTION code_clib SECTION code_temp_sp1 PUBLIC _sp1_MoveSprPix_callee, l0_sp1_MoveSprPix_callee EXTERN asm_sp1_MoveSprPix _sp1_MoveSprPix_callee: pop af pop ix exx pop bc exx pop hl pop de pop bc ...
/*! * Copyright (c) 2019 by Contributors if not otherwise specified * \file video_interface.cc * \brief Video file reader implementations */ #include "video_reader.h" #include "video_loader.h" #include "../runtime/str_util.h" #include <decord/video_interface.h> #include <decord/runtime/registry.h> #include <dl...
copyright zengfr site:http://github.com/zengfr/romhack 0030A6 move.w ($54,A6), D1 [boss+6, boss+8, container+ 6, container+ 8, enemy+ 6, enemy+ 8, weapon+ 6, weapon+ 8] 003140 tst.w ($50,A6) [1p+ 6, 1p+ 8, boss+6, boss+8, container+ 6, container+ 8, enemy+ 6, enemy+ 8] 003162 move.w ($2,A1,D1.w), D1 [1p+ 6, 1p+...
// mgcmdmgr.cpp: 实现命令管理器类 // Copyright (c) 2004-2012, Zhang Yungui // License: LGPL, https://github.com/rhcad/touchvg #include "mgcmdmgr.h" #include "mgcmdselect.h" #include <mggrid.h> MgCommand* mgCreateCoreCommand(const char* name); float mgDisplayMmToModel(float mm, GiGraphics* gs); float mgDisplayMmToModel(float ...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>lstat(file, buf) -> str Invokes the syscall lstat. See 'man 2 lstat' for more information. Arguments: file(char*): file buf(stat*): buf Returns: int </%docstring> <%page args="file=0, buf=0"/> <% a...
; Automatically generated by configure - do not modify! %define ARCH_AARCH64 0 %define ARCH_ALPHA 0 %define ARCH_ARM 0 %define ARCH_AVR32 0 %define ARCH_AVR32_AP 0 %define ARCH_AVR32_UC 0 %define ARCH_BFIN 0 %define ARCH_IA64 0 %define ARCH_M68K 0 %define ARCH_MIPS 0 %define ARCH_MIPS64 0 %define ARCH_PARISC 0 %define ...
; A049658: a(n) = (F(8*n+5) - 2)/3, where F=A000045 (the Fibonacci sequence). ; Submitted by Jamie Morken(s1) ; 1,77,3648,171409,8052605,378301056,17772097057,834910260653,39223010153664,1842646566961585,86565165637040861,4066720138373958912,191049281337939028033,8975249502744760358669,421645677347665797829440,19808371...
/* * Copyright 2015 Alexey Baranov <me@kotiki.cc>. 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 re...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <errno.h> #include "util.hpp" void usage() { fputs("usage: design SAMPLERATE TYPE CENTERFREQ GAIN BANDWIDTH\n", stderr); exit(1); } int main(int argc, char **argv) { if (argc != 6) usage(); double tv[5]; for (int i = 1; i <= 5; i++) { tv[i - 1]...
//===- llvm/unittest/ADT/APInt.cpp - APInt unit tests ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
; A264744: Exponent of the prime power A264734(n). ; 1,1,1,2,1,2,3,1,4,1,1,1,1 trn $0,1 seq $0,204818 ; Final nonzero digit of n^n in base 8. seq $0,29064 ; Expansion of 1/((1-x)*(1-x^4)*(1-x^5)*(1-x^7)).
* Define window outline V1.05  1986 Jonathan Oakley QJUMP * 2003 Feb 16 1.06 keep A1, as per documentation (wl) section driver * include 'dev8_keys_con' include 'dev8_keys_err' include 'dev8_mac_assert' * xdef pt_outln * xref pt_shad xref pt_carea xref pt_trncs xref pt_pick xref pt_slock xref ...
#pragma once #include "input_extractor_interface.hh" namespace options { class ArgumentExtractor : public InputExtractorInterface { public: ArgumentExtractor(std::string argument) noexcept; std::string input_get() override; bool should_loop() noexcept override; private: std::string input_; }; } // options
################################################################################ # Address: 8016ebac ################################################################################ .include "Common.s" #Check if VS Mode load r3,0x80479D30 lbz r3,0(r3) cmpwi r3,0x02 bne Exit #Init Struct? load r3...
db 0 ; species ID placeholder db 60, 65, 60, 110, 130, 75 ; hp atk def spd sat sdf db GHOST, POISON ; type db 45 ; catch rate db 190 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/gengar/fr...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x15066, %r8 nop nop nop cmp $41842, %r9 mov (%r8), %rbp nop nop sub %r15, %r15 lea addresses_WC_ht+0xc3c6, %rsi lea addresses_D_ht+0x1e3e6, %rdi nop nop cmp %rax, %rax mov $107...
; unsigned int sms_dzx7_standard_vram_unsafe(void *src, unsigned int dst) SECTION code_clib SECTION code_compress_zx7 PUBLIC _sms_dzx7_standard_vram_unsafe_callee EXTERN asm_sms_dzx7_standard_vram_unsafe _sms_dzx7_standard_vram_unsafe_callee: pop af pop hl pop de push af jp asm_sms_dzx7_standard_v...