text
stringlengths
1
1.05M
.data .text addi $s0, $zero, 100 # value to register without loading from ram addi $s1, $zero, 40 mul $t0, $s0, $s1 # only up to 32bits li $v0, 1 move $a0, $t0 syscall
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1063e, %rsi lea addresses_WT_ht+0x67fe, %rdi dec %r10 mov $36, %rcx rep movsl xor %rbp, %rbp lea addresses_WC_ht+0xd13e, %rax nop nop cmp %r10, %r10 mov $0x6162636465666768, %rdi ...
; A267810: Triangle read by rows giving successive states of cellular automaton generated by "Rule 217" initiated with a single ON (black) cell. ; 1,0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="mask"/> <%docstring> Invokes the syscall umask. See 'man 2 umask' for more information. Arguments: mask(mode_t): mask </%docstring> ${syscall('SYS_umask', mask)}
;; ;; Copyright (c) 2017-2022, 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...
copyright zengfr site:http://github.com/zengfr/romhack 003AF4 move.l ($2,A1), ($2a,A6) [1p+24, 1p+26, boss+24, boss+26, container+24, container+26, enemy+24, enemy+26, weapon+24, weapon+26] 003AFA move.w ($6,A1), ($30,A6) [1p+2A, 1p+2C, boss+2A, boss+2C, container+2A, container+2C, enemy+2A, enemy+2C, weapon+2A, w...
; --------------------------------------------------------------- ; ------- Copyright 2010 Daniel Valencia; All Rights Reserved. -- ; ------- -- ; ------- bs.asm -- ; ------- ...
; ///////////////////////////////////////////////////////////////////////////// ; Znake (ZX Spectrum 48K) ; ----------------------------------------------------------------------------- ; 2_game_init.asm ; ----------------------------------------------------------------------------- ; Copyright (C) 2016, Chris Wyatt...
Music_DefeatedGymLeader_Ch1:: tempo 112 volume 7, 7 duty_cycle 3 vibrato 18, 3, 1 toggle_perfect_pitch tempo 112 note_type 12, 10, 6 octave 4 note D_, 6 octave 3 note A_, 1 octave 4 note D_, 1 note F#, 6 note D_, 1 note F#, 1 note_type 12, 10, 0 note A_, 8 note_type 12, 10, 7 note A_, 8 Music_Defea...
#include <bgapidef.hpp> #include "bgapi.hpp" #include "bgapi_init.h" /* * Initialize cameras * @return Returns True if the camera systems and at least one camera was correctly initialized */ bool baumer_startup(std::vector<BGAPI::System*>& ppSystem, std::vector<BGAPI::System*>::iterator& systemI...
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
Music_PalletTown:: audio Music_PalletTown, Ch0, Ch1, Ch2 Music_Pokecenter:: audio Music_Pokecenter, Ch0, Ch1, Ch2 Music_Gym:: audio Music_Gym, Ch0, Ch1, Ch2 ; Viridian City, Pewter City, Saffron City Music_Cities1:: audio Music_Cities1, Ch0, Ch1, Ch2, Ch3 ; Cerulean City, Fuchsia City Music_Cities2:: audio Mus...
; Sets cursor offset from the cursor offset in cx set_cursor_offset: xor ax, ax ; Clear out a register to get/set I/O bus data shr cx, 1 ; Video buffer has text and attribute data, so multiply offset by 2 mov eax, 14 ; 14 - High byte of cursor offset mov dx, 0x3d4 ; Register Screen Control Address out dx, al ; Q...
;;============================================================= ;; vhd_footer: ;; VHD FOOTER. ;; ;VHD_FEATURES EQU 0 ;features ;VHD_FILE_FORMAT_VERSION EQU 0x00001000 ;file format version ;VHD_CREATOR_APP EQU 0x61766D6A ;;0x6A,0x6D,0x76,0x61 ;creator app ;VHD_PLATFORM_VERSION EQU 0x0A000400 ;VHD_PLATFORM_CODE...
; A141597: Triangle T(n,k) = 2*binomial(n,k)^2-1, read by rows, 0<=k<=n. ; 1,1,1,1,7,1,1,17,17,1,1,31,71,31,1,1,49,199,199,49,1,1,71,449,799,449,71,1,1,97,881,2449,2449,881,97,1,1,127,1567,6271,9799,6271,1567,127,1,1,161,2591,14111,31751,31751,14111,2591,161,1,1,199,4049,28799,88199 seq $0,7318 ; Pascal's triangle rea...
db "TADPOLE@" ; species name dw 200, 270 ; height, weight db "The swirl on its" next "belly is its" next "insides showing" page "through the skin." next "It looks clearer" next "after it eats.@"
; A047447: Numbers that are congruent to {2, 3, 5, 6} mod 8. ; 2,3,5,6,10,11,13,14,18,19,21,22,26,27,29,30,34,35,37,38,42,43,45,46,50,51,53,54,58,59,61,62,66,67,69,70,74,75,77,78,82,83,85,86,90,91,93,94,98,99,101,102,106,107,109,110,114,115,117,118,122,123 mov $1,$0 div $0,2 mov $2,$0 mul $0,2 gcd $2,2 add $0,$2 add $...
; void *tshr_py2saddr(uchar y) SECTION code_clib SECTION code_arch PUBLIC tshr_py2saddr EXTERN zx_py2saddr defc tshr_py2saddr = zx_py2saddr
// coding: utf-8 // ---------------------------------------------------------------------------- /* Copyright (c) 2009, Roboterclub Aachen e.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
* Network server driver V0.0  1985 Tony Tebby QJUMP * section nd * xdef ns_io IO entry xdef ns_open open entry * xref nd_read0 read a packet xref nd_send0 send a packet * include dev8_dd_ql...
; A047358: Numbers that are congruent to {2, 3} mod 7. ; 2,3,9,10,16,17,23,24,30,31,37,38,44,45,51,52,58,59,65,66,72,73,79,80,86,87,93,94,100,101,107,108,114,115,121,122,128,129,135,136,142,143,149,150,156,157,163,164,170,171,177,178,184,185,191,192,198,199,205,206,212,213,219,220,226,227,233,234,240,241,247,248,254,25...
SECTION smc_clib SECTION smc_sound_bit PUBLIC _bitfx_12 INCLUDE "config_private.inc" EXTERN asm_bit_open _bitfx_12: ; TSpace 2 ld a,230 ld (ts_FR_1 + 1),a xor a ld (ts_FR_2 + 1),a call asm_bit_open ld b,200 t2_loop: dec h jr nz, t2_jump xor __SOUND_BIT_TOGGLE INC...
; A134015: Expansion of (1 - phi(-q) * phi(q^4)) / 2 in powers of q where phi() is a Ramanujan theta function. ; Submitted by Jon Maiga ; 1,0,0,-2,2,0,0,-2,1,0,0,0,2,0,0,-2,2,0,0,-4,0,0,0,0,3,0,0,0,2,0,0,-2,0,0,0,-2,2,0,0,-4,2,0,0,0,2,0,0,0,1,0,0,-4,2,0,0,0,0,0,0,0,2,0,0,-2,4,0,0,-4,0,0,0,-2,2,0,0,0,0,0,0,-4,1,0,0,0,4,...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.6 #12419 (Linux) ;-------------------------------------------------------- ; Processed by Z88DK ;-------------------------------------------------------- EXTERN __divschar EXTERN __divsc...
; A135293: Differences between successive numbers whose sum of digits in base 3 is 2. ; Submitted by Jon Maiga ; 2,2,2,4,2,6,10,2,6,18,28,2,6,18,54,82,2,6,18,54,162,244,2,6,18,54,162,486,730,2,6,18,54,162,486,1458,2188,2,6,18,54,162,486,1458,4374,6562,2,6,18,54,162,486,1458,4374,13122,19684,2,6,18,54,162,486,1458,4374,...
/* MIT License Copyright (c) 2021 Edgar Malagón Calderón 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, ...
; A058310: (1/2)*(n^2+n+2)*(n^2+3*n+1). ; 1,10,44,133,319,656,1210,2059,3293,5014,7336,10385,14299,19228,25334,32791,41785,52514,65188,80029,97271,117160,139954,165923,195349,228526,265760,307369,353683,405044,461806,524335,593009,668218,750364,839861,937135 mov $1,$0 add $0,1 pow $0,4 mul $1,3 add $1,$0 div $1,2 add ...
#include <iostream> using namespace std; float fun() { return 2.34f; } int main() { auto x = 2 * 5.7 + 'a'; auto b = fun(); cout << x << endl << b << endl; return 0; }
#include "filesystem.h" #include <glib.h> int main() { { auto home_path=filesystem::get_home_path(); g_assert(!home_path.empty()); } { auto original="test () '\""; auto escaped=filesystem::escape_argument(original); g_assert_cmpstr(escaped.c_str(), ==, "test\\ \\(\\)\\ \\'\\\""); auto ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x14bb6, %rsi lea addresses_normal_ht+0xafb6, %rdi nop cmp $24584, %r11 mov $104, %rcx rep movsw nop nop nop nop nop xor $55679, %rbx lea addresses_A_ht+0x188ce, %r8 and $39366, %rsi...
; A189573: Positions of 0 in A189572; complement of A080652 (conjectured). ; 1,3,4,6,8,10,11,13,15,16,18,20,21,23,25,27,28,30,32,33,35,37,39,40,42,44,45,47,49,51,52,54,56,57,59,61,62,64,66,68,69,71,73,74,76,78,80,81,83,85,86,88,90,91,93,95,97,98,100,102,103,105,107,109,110,112,114,115,117 mov $1,$0 mov $2,$0 mov $5,$0...
#include "epiphansdk_video_source.h" #include <iostream> namespace gg { VideoSourceEpiphanSDK::VideoSourceEpiphanSDK( const std::string device_id, V2U_INT32 colour_space) : IVideoSource() , _frame_grabber(nullptr) , _flags(0) , _daemon(nullptr) { FrmGrab_Init(); _frame_grabber = FrmGrabLo...
.size 8000 .text@48 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, 41 ld b, 03 ld d, 03 lbegin_waitm3: ldff a, (c) and a, d cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a ld a, 02 ldff(ff), a ei xor...
; A047331: Numbers that are congruent to {2, 3, 5, 6} mod 7. ; 2,3,5,6,9,10,12,13,16,17,19,20,23,24,26,27,30,31,33,34,37,38,40,41,44,45,47,48,51,52,54,55,58,59,61,62,65,66,68,69,72,73,75,76,79,80,82,83,86,87,89,90,93,94,96,97,100,101,103,104,107,108,110,111 mul $0,7 mov $1,$0 gcd $1,4 add $0,$1 div $0,4 add $0,1
Name: z00_rmdt.asm Type: file Size: 372202 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: 2F857236155238AA442956D6F87C0EE7F294550E Description: null
; stdio_error_eacces_mc ; 06.2008 aralbrec PUBLIC stdio_error_eacces_mc EXTERN stdio_errno_mc INCLUDE "../stdio.def" .stdio_error_eacces_mc ld hl,EACCES jp stdio_errno_mc
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004B78 move.w D1, -(A0) 004B7A dbra D0, $4b78 004B8C move.w A6, -(A4) [base+6AFE] 004B8E move.w A4, ($6afe,A5) [base+6B22, base+6B24, base+6B26, base+6B28, base+6B2A, base+6B2C, base+6B2E] 0AAACA mov...
; A040247: Continued fraction for sqrt(264). ; 16,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32 sub $0,1 mod $0,2 mul $0,10 add $0,2 pow $0,2 mov $1,$0 div $1,20 mul $1,4 add $1,4
;_ minit.asm ; Module initialization support. ; ; Copyright: Copyright Digital Mars 2000 - 2010. ; License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). ; Authors: Walter Bright ; ; Copyright Digital Mars 2000 - 2010. ; Distributed under the Boost Software License, Version 1.0. ; (Se...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0xe714, %rcx nop nop nop nop nop add %r8, %r8 movb $0x61, (%rcx) nop nop add $20175, %rdi lea addresses_UC_ht+0x87f2, %rsi lea addresses_normal_ht+0x9b72, %rdi nop nop nop xor %r...
public rand section CODE_2 ; ; Xorshift PRNG ; ; https://wikiti.brandonw.net/index.php?title=Z80_Routines:Math:Random ; ; Input: ; None ; ; Output: ; hl - PRN ; ; Corrupts: ; a ; rand: ...
#ifndef BSDFDISPLAY_HPP_ #define BSDFDISPLAY_HPP_ #include <QLabel> #include <memory> class QImage; namespace Tungsten { class TraceableScene; class Primitive; class Scene; class Bsdf; class BsdfDisplay : public QLabel { Q_OBJECT enum PrimitiveMode { PRIMITIVE_SPHERE, PRIMITIVE_CUBE, ...
; 04.2006 aralbrec ; 01.2014 stefano ; void __FASTCALL__ zx_border(uchar colour) PUBLIC zx_border zx_border: in a,(254) and $40 rra rra or l out (254),a and 7 rla rla rla ld e,a ld a,(23624) and $c7 or e ld (23624),a ret
class Solution { bool dp[1004][1004], vis[1004][1004]; bool call(int i, int j, string &s, string &p) { if (i == s.size() && j == p.size()) return 1; if (j >= p.size()) return 0; bool &ret = dp[i][j]; if (vis[i][j]) return ret; vis[...
SFX_Muted_Snare1_2_Ch7: unknownnoise0x20 0, 161, 24 unknownnoise0x20 0, 49, 51 endchannel
; ; ANSI Video handling for the ABC80 ; ; set it up with: ; .text_cols = max columns ; .text_rows = max rows ; ; Display a char in location (ansi_ROW),(ansi_COLUMN) ; A=char to display ; ; A slower (but working) method it commented out ; ; ; $Id: f_ansi_char.asm,v 1.5 2016-06-12 16:06:42 dom Exp $ ; SECTION c...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e4e6, %rbx sub %r15, %r15 mov $0x6162636465666768, %rbp movq %rbp, %xmm7 vmovups %ymm7, (%rbx) nop nop xor %r12, %r12 lea addresses_WC_ht+0x49f6, %r11 nop nop inc %rbp mov ...
// SID music located in another bank being played in a raster IRQ using memory mapping on the MEGA65 // Music is Cybernoid II by Jeroen Tel released in 1988 by Hewson https://csdb.dk/sid/?id=28140 // SID relocated using http://www.linusakesson.net/software/sidreloc/index.php .cpu _45gs02 // MEGA65 platform PRG execut...
; A282701: a(n) = maximal number of real roots of any of the polynomials c_0 + c_1*x + c_2*x^2 + ... + c_n*x^n where the coefficients c_i are -1, 0, or 1, c_0 != 0, and c_n != 0. ; 0,1,2,3,2,3,4,5,4,5,4,5,6,7,6,7,6 mov $2,1 add $2,$0 lpb $2 gcd $0,2 add $1,2 trn $2,$1 lpe sub $1,$0 mov $0,$1
; --------------------------------------------------------------------------- ; Sprite mappings - Robotnik on the "TRY AGAIN" and "END" screens ; --------------------------------------------------------------------------- Map_EEgg_internal: dc.w M_EEgg_Try1-Map_EEgg_internal dc.w M_EEgg_Try2-Map_EEgg_internal dc....
; A005654: Number of bracelets (turn over necklaces) with n red, 1 pink and n-1 blue beads; also reversible strings with n red and n-1 blue beads; also next-to-central column in Losanitsch's triangle A034851. ; Submitted by Jon Maiga ; 1,2,6,19,66,236,868,3235,12190,46252,176484,676270,2600612,10030008,38781096,1502733...
.cseg .org 0x10 rjmp ac_completed_handler ; Analog Comparator Handler
; A186544: a(n) = floor((Pi-2)*n/(Pi-3)); complement of A187320. ; 8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,129,137,145,153,161,169,177,185,193,201,209,217,225,233,241,249,258,266,274,282,290,298,306,314,322,330,338,346,354,362,370,378,387,395,403,411,419,427,435,443,451,459,467,475,483,491,499,507,516,524,532,54...
MOV AX, 100h MOV DS, AX MOV DS:[1000h], 34h MOV DS:[2000h], 34h ret
; A263449: Permutation of the natural numbers: [4k+1, 4k+4, 4k+3, 4k+2, ...]. ; 1,4,3,2,5,8,7,6,9,12,11,10,13,16,15,14,17,20,19,18,21,24,23,22,25,28,27,26,29,32,31,30,33,36,35,34,37,40,39,38,41,44,43,42,45,48,47,46,49,52,51,50,53,56,55,54,57,60,59,58,61,64,63,62,65,68,67,66,69,72,71,70,73,76,75,74,77,80,79,78,81,84,83,...
.file "aes-x86_64.asm" .text /* Takes the key in eax, applies the sbox to it, and rotates */ /* the result right by 8 bits, storing the result in edx. */ /* Uses registers rax, rbx, rcx, rdx, rbp, rsi, rdi, and r13. */ /* Also reads from r12, but does not write to it. */ .macro AES128_SET_KEY_SUBROTR8 movzbl %...
; $Id: patch_beeper.asm $ ; ; Generic 1 bit sound functions ; IF !__CPU_GBZ80__ && !__CPU_INTEL__ ;SECTION code_clib SECTION smc_clib PUBLIC patch_beeper PUBLIC _patch_beeper INCLUDE "games/games.inc" ;EXTERN bit_open_di ;EXTERN bit_close_ei EXTERN ...
#pragma warning(push, 3) #include <lua.hpp> #include <luabind/luabind.hpp> #include <base/lua/luabind.h> #pragma warning(pop) #include <slk/ObjectManager.hpp> #include <slk/table/SlkTable.hpp> #include <slk/table/IniTable.hpp> #include <slk/reader/SlkReader.hpp> #include <slk/reader/TxtReader.hpp> #include <slk/reader...
; A066375: a(n) = 6*binomial(n,4) + 3*binomial(n,3) + 4*binomial(n,2) - n + 2. ; 1,4,14,40,97,206,394,694,1145,1792,2686,3884,5449,7450,9962,13066,16849,21404,26830,33232,40721,49414,59434,70910,83977,98776,115454,134164,155065,178322,204106,232594,263969,298420,336142,377336,422209,470974,523850,581062,642841,709424,7...
// Copyright (c) 2021 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
; THIS IS AN AUTOGENERATED FILE ; WARNING: FOR MACOS ONLY ; nasm -f macho64 prc4.asm -o prc4.o && ld -o prc4.macho -macosx_version_min 10.7 -e start prc4.o && ./prc4.macho BITS 64 section .text global start start: push rbp mov rbp, rsp ; PRINT OUTPUT push 0xa203a mov DWORD [rsp+0x4],0x0 push ...
//===--- SemanticHighlighting.cpp - ------------------------- ---*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
#include "pch.h" #include "hwnd_data_cache.h" HWNDDataCache hwnd_cache; WindowAndProcPath HWNDDataCache::get_window_and_path(HWND hwnd) { std::unique_lock lock(mutex); auto ptr = get_internal(hwnd); return ptr ? *ptr : WindowAndProcPath{}; } HWND HWNDDataCache::get_window(HWND hwnd) { std::unique...
[list -] %include "swos.inc" %include "swsmenu.inc" [list +] section .text bits 32 global CheckForFastReplay CheckForFastReplay: %ifdef DEBUG extern DumpVariables call DumpVariables ; write out debug variables %endif test byte [replayStatus], 1 jz .out test byte [r...
#include "bcpch.h" #include <glm/gtc/matrix_transform.hpp> #include "byteCat/app/Application.h" #include "byteCat/entity-system/cameras/PerspectiveCamera.h" namespace BC { PerspectiveCamera::PerspectiveCamera(float fov, float nearPlane, float farPlane) { int width = Application::GetInstance().getWindow().getWidth(...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1b2b3, %rsi lea addresses_UC_ht+0x1d633, %rdi nop nop inc %r13 mov $55, %rcx rep movsq nop nop nop xor $39105, %r14 lea addresses_A_ht+0xd544, %rsi lea addresses_UC_ht+0x1c7a...
; A192831: Molecular topological indices of the hypercube graphs. ; Submitted by Jamie Morken(s3) ; 4,48,360,2304,13600,76032,407680,2113536,10658304,52531200,254003200,1208549376,5672083456,26309885952,120803328000,549772591104,2482528976896,11132640165888,49615651471360,219902744985600,969770180542464,425731105279180...
; A186148: Rank of (1/4)n^3 when {(1/4)i^3: i>=1} and {j^2>: j>=1} are jointly ranked with (1/4)i^3 before j^2 when (1/4)i^3=j^2. Complement of A186149. ; 1,3,5,7,10,13,16,19,22,25,29,32,36,40,44,47,52,56,60,64,69,73,78,82,87,92,97,102,107,112,117,122,127,133,138,143,149,155,160,166,172,178,183,189,195,201,208,214,220...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld b, 90 call lwaitly_b ld hl, fe00 ld(hl), 00 ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a xor a, a ldff(0f), a ld a, 02 ldff(ff), a ei .text@1000 lstatin...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1ea6a, %rsi lea addresses_UC_ht+0x55ea, %rdi nop nop nop nop nop xor %r8, %r8 mov $87, %rcx rep movsw nop nop nop sub $51219, %rdi lea addresses_WT_ht+0x1bd6a, %r14 nop nop no...
include stdiolib.i CGROUP group code code segment dword 'CODE' assume cs:CGROUP,ds:CGROUP STDIOLIB_JUMP fputs siol_fputs code ends end
%include "include/u7bg-all-includes.asm" %assign ItemType_LOCKED_CHEST 522 %assign ItemType_SEALED_BOX 798 %macro isAxLockedItemType 0 cmp ax, ItemType_LOCKED_CHEST jz %%isLocked cmp ax, ItemType_SEALED_BOX jz %%isLocked xor ax, ax jmp %%end %%isLocked: mov ax, 1 %%end: %endmacro %include "../u7-c...
extern m7_ippsHashMethod_SHA224:function extern n8_ippsHashMethod_SHA224:function extern y8_ippsHashMethod_SHA224:function extern e9_ippsHashMethod_SHA224:function extern l9_ippsHashMethod_SHA224:function extern n0_ippsHashMethod_SHA224:function extern k0_ippsHashMethod_SHA224:function extern ippcpJumpIndexForMergedLib...
; A095808: Number of ways to write n in the form m + (m+1) + ... + (m+k-1) + (m+k) + (m+k-1) + ... + (m+1) + m with integers m>= 1, k>=1. Or, number of divisors a of 4n-1 with 0 < (a-1)^2 < 4n. ; 0,0,0,1,0,0,1,0,1,1,0,0,1,1,0,2,0,0,2,0,0,1,1,1,2,0,0,1,1,1,1,0,0,3,0,1,2,0,1,1,0,0,2,2,0,1,1,0,3,0,1,2,0,1,1,0,0,3,1,0,2,1,...
#pragma once #include "catch2.hpp" #include "multisolver_interface/Solver.h" TEST_CASE("InvalidStatusException", "[exceptions][invalid_status]") { SolverFactory factory; for (auto const& solver_name : factory.get_solvers_list()) { //===================================================================...
############################################################################### # 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...
//================================================================================================= /*! // \file src/mathtest/dvecdvecouter/VDaVDb.cpp // \brief Source file for the VDaVDb dense vector/dense vector outer product math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This...
_usertests: file format elf32-i386 Disassembly of section .text: 00000000 <iputtest>: int stdout = 1; // does chdir() call iput(p->cwd) in a transaction? void iputtest(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 18 sub $0x...
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
[section .text] [bits 32] ;lock 锁定的是内存地址,所以操作对象值必须时内存才行 ; void __atomic_add(int *a, int b); global __atomic_add __atomic_add: mov eax, [esp + 4] ; a mov ebx, [esp + 8] ; b ; 通过lock前缀,让运算时原子运算 lock add [eax], ebx ; *a += b ret ; void __atomic_sub(int *a, int b); global __atomic_sub __atomic_sub: mov eax, [esp + 4...
; --------------------------------------------- ; Hello World for Win64 Intel x64 Assembly ; ; by fruel (https://github.com/fruel) ; 13 June 2016 ; --------------------------------------------- GetStdHandle PROTO ExitProcess PROTO WriteConsoleA PROTO .data msg BYTE "Hello World!",0 bytesWritten DWORD ? .code main PR...
; A167548: The fifth row of the ED1 array A167546 ; 24,240,960,2688,6144,12264,22200,37320,59208,89664,130704,184560,253680,340728,448584,580344,739320,929040,1153248,1415904,1721184,2073480,2477400,2937768,3459624,4048224,4709040,5447760,6270288,7182744,8191464,9303000,10524120,11861808,13323264,14915904,16647360,1852...
#include "BaseUI2DLayer.h" #include "Timer.h" #include "ModuleInput.h" #include "MouseDevice.h" #include "LayerMouseInfo.h" #include "MultiTouchDevice.h" #include "MultiTouchPinch.h" #include "MouseVelocityComputer.h" #include "NotificationCenter.h" #include "RenderingScreen.h" #include "ModuleRenderer.h" #include ...
SFX_Cry17_3_Ch1: dutycycle 15 unknownsfx0x20 15, 247, 0, 5 unknownsfx0x20 15, 231, 8, 5 unknownsfx0x20 8, 180, 128, 4 unknownsfx0x20 15, 162, 96, 4 endchannel SFX_Cry17_3_Ch2: dutycycle 68 unknownsfx0x20 14, 215, 129, 4 unknownsfx0x20 14, 199, 137, 4 unknownsfx0x20 10, 180, 1, 4 unknownsfx0x20 15, 194, 225...
; A081408: a(n) = (n+1)*a(n-5), with a(0)=a(1)=a(2)=a(3)=a(4)=1. ; 1,1,1,1,1,6,7,8,9,10,66,84,104,126,150,1056,1428,1872,2394,3000,22176,31416,43056,57456,75000,576576,848232,1205568,1666224,2250000,17873856,27143424,39783744,56651616,78750000,643458816,1004306688,1511782272,2209413024,3150000000,26381811456,4218088089...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="from_, tofd, to"/> <%docstring> Invokes the syscall symlinkat. See 'man 2 symlinkat' for more information. Arguments: from(char): from tofd(int): tofd to(char): to </%docstring> ${syscall('SYS_symlinkat', from_, tofd, to)}
; This program test assertions of read-only and write-only memory ; KLC3 is expected to detect and give warning about data r/w overflow ; 2020.07.11 by liuzikai ; KLC3: INPUT_FILE .ORIG x3000 ; CHECK: ================ REPORT ================ LD R1, READ_ONLY_MEM ; this is OK ; CHECK-NOT: LD R1, READ_ONLY_MEM LD R...
#ifndef _DDSINVENTORY_ #define _DDSINVENTORY_ #include "DDGlobal.hpp" DD_BEGIN template <typename T> class DDSInventory; template <typename T> class DDSInventory { public: DDSInventory(); DDSInventory(int new_length); DDSInventory(int new_length, const T& initial_value); ~DDSInventory(); ...
//===--- Sema.cpp - AST Builder and Semantic Analysis Implementation ------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
; ------------------------------------------------------------------ ; Geography-based hangman game for MikeOS ; ; At the end of this file you'll see a list of 256 cities (in ; lower-case to make the game code simpler). We get one city at ; random from the list and store it in a string. ; ; Next, we create anoth...
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P global sha256_block_data_order ALIGN 16 sha256_block_data_order: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$SEH_begin_sha256_block_data_order: mov rdi,rcx mov rsi,rdx ...
; RisitOS / based on mikeOS / BSD Licence ; os_print_string -- Displays text ; IN: SI = message location (zero-terminated string) ; OUT: Nothing (registers preserved) os_print_string: pusha mov ah, 0Eh ; int 10h teletype function .repeat: lodsb ; Get char from string cmp al, 0 je...
; A302576: Numbers k such that k/10 + 1 is a square. ; -10,0,30,80,150,240,350,480,630,800,990,1200,1430,1680,1950,2240,2550,2880,3230,3600,3990,4400,4830,5280,5750,6240,6750,7280,7830,8400,8990,9600,10230,10880,11550,12240,12950,13680,14430,15200,15990,16800,17630,18480,19350,20240,21150,22080,23030,24000,24990,26000,...
;Program to add two numbers .model small .stack 100h .data .code main proc mov dx,24 add dx,42 mov ah,4ch int 21h main endp end main
lc r4, 0xfffff90a lc r5, 0xffff8000 gts r6, r4, r5 halt #@expected values #r4 = 0xfffff90a #r5 = 0xffff8000 #r6 = 0x00000001 #pc = -2147483632 #e0 = 0 #e1 = 0 #e2 = 0 #e3 = 0
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="addr, length"/> <%docstring> Invokes the syscall munmap. See 'man 2 munmap' for more information. Arguments: addr(void): addr len(size_t): len </%docstring> ${syscall('SYS_munmap', addr, length)}
; A266977: Number of ON (black) cells in the n-th iteration of the "Rule 78" elementary cellular automaton starting with a single ON (black) cell. ; 1,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,3...
; A094835: a(n) = 2702*a(n-1) - a(n-2); a(-1) = a(0) = 26. ; Submitted by Jon Maiga ; 26,26,70226,189750626,512706121226,1385331749802026,3743165875258953026,10114032809617941274226,27328112908421802064005626,73840550964522899559001927226,199517141378027966186621143359026 trn $0,1 mul $0,3 add $0,1 seq $0,82841 ; a(n)...
; pasmo -I ../bfloat -d test_fln.asm 24576.bin > test.asm ; grep "BREAKPOINT" test.asm ; randomize usr 57344 INCLUDE "finit.asm" color_flow_warning EQU 1 carry_flow_warning EQU 1 fix_ln EQU 1 DATA_ADR EQU $6000 ; 24576 TEXT_ADR EQ...
String_89116: db "-----@" String_8911c: db "でんわばんごうが ただしく" ; Phone number is not next "はいって いません!@" ; entered correctly! String_89135: db "データが かわって いますが" ; The data has changed. next "かきかえないで やめますか?@" ; Quit anyway? String_89153: db "メッセージは ありません@" ; No message OpenSRAMBank4: push af ld a, $4 ...