text
stringlengths
1
1.05M
#pragma once #include <iostream> #include <chrono> #include <ctime> #include <string> #include "../common/define.hpp" #if (defined SHINE_OS_WINDOWS) #include <winsock2.h> # define SHINE_STDCALL __stdcall # define SHINE_DLL_HANDLE HINSTANCE # define SHINE_DLL_FARPROC FARPROC #else #include <dlfcn.h> # define SHINE_ST...
#include "stdafx.h" #include "Matrix4f.h" #include <memory> namespace kite_math { const Matrix4f Matrix4f::Identity = Matrix4f::Scale(Vector3f(1, 1, 1)); Matrix4f::Matrix4f() : Matrix4f(0) { } Matrix4f::Matrix4f(float val) { memset(values, 0, sizeof(float) * 16); } Matrix4f::Matrix4f(const Vector4f& co...
include ../loader.asm include ../utils.asm main xor a out ($fe),a xor a ld hl,song1 call $c003 Load growing,$c005 jr $ call $c008 ret growing nop include ../growing.asm ret song1 incbin ../cycler.pt3 org $c000 incbin ../PTxPlay end
SafariZoneCheck:: CheckEventHL EVENT_IN_SAFARI_ZONE ; if we are not in the Safari Zone, jr z, SafariZoneGameStillGoing ; don't bother printing game over text ld a, [wNumSafariBalls] and a jr z, SafariZoneGameOver jr SafariZoneGameStillGoing SafariZoneCheckSteps:: IF DEF(_DEBUG) call DebugPressedOrHeldB ret nz ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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. Th...
SFX_Teleport_Enter2_1_Ch1: unknownnoise0x20 2, 241, 50 unknownnoise0x20 2, 0, 0 unknownnoise0x20 2, 241, 34 unknownnoise0x20 1, 0, 0 endchannel
; A084099: Expansion of (1+x)^2/(1+x^2). ; 1,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2,0,2,0,-2 mov $1,$0 dif $0,-2 add $0,1 div $1,2 mov $2,-2 bin...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: intCommonLib.asm AUTHOR: jimmy lefkowitz REVISION HISTORY: Name Date Description ---- ---- ----------- jimmy 4/20/92 Initial version. DE...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x9148, %r14 nop nop nop nop add $12596, %rdi mov (%r14), %ebp nop nop nop nop sub %r13, %r13 lea addresses_D_ht+0x3528, %rsi lea addresses_WC_ht+0x14d48, %rdi nop nop and $7266, %r...
; ; Copyright (C) 2008-2020 Advanced Micro Devices, 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 l...
//push constant 111 @111 D=A @SP A=M M=D @SP M=M+1 //push constant 333 @333 D=A @SP A=M M=D @SP M=M+1 //push constant 888 @888 D=A @SP A=M M=D @SP M=M+1 //pop static 8 @SP AM=M-1 D=M @R15 M=D @16 D=A @8 ...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; interrupt routines ; ; ; ------ ; $Id: ozsetisr.asm,v 1.2 2003/10/27 16:56:57 stefano Exp $ ; XLIB ozsetisr LIB ozinstisr ozsetisr: ;; load in interrupt handler stub ld hl,ISRStu...
; $Id: bs3-first-dosexe.asm $ ;; @file ; BS3Kit - First Object for DOS executables, defines segments only. ; ; ; 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 software; ; you can redistribute it...
#include "NoiseAVX2.h" #include <iostream> #include <chrono> #include "Image.h" #include "NoiseRef.h" void NoiseAVX2::CreateImage(int width, int height, int iterations) { int widthAVX = width; if (width % 4 != 0) { widthAVX += width % 4; } float* data = new float[widthAVX * height]; std::chrono::nanoseconds...
<% from pwnlib.shellcraft import arm, common %> <%page args="out_fd=None, size=255" /> <%docstring> Writes a file from stack Args: out_fd (imm/reg) = STDIN_FILENO size (int/str/imm/reg) = 255 </%docstring> mov r2, ${size} mov r0, ${out_fd} mov r1, sp svc SYS_write
SECTION "Map Scripts 1", ROMX INCLUDE "maps/GoldenrodGym.asm" INCLUDE "maps/GoldenrodBikeShop.asm" INCLUDE "maps/GoldenrodHappinessRater.asm" INCLUDE "maps/BillsFamilysHouse.asm" INCLUDE "maps/GoldenrodMagnetTrainStation.asm" INCLUDE "maps/GoldenrodFlowerShop.asm" INCLUDE "maps/GoldenrodPPSpeechHouse.asm" INCLUDE "map...
; --- [ g ] ------------------------------------------------------- ; void g(T ts[], int n) ; ; esp+0: stored ebx ; esp+4: stored esi ; esp+8: return address ; esp+12: ts ; esp+16: n g: push esi ; store esi push ebx ; store ebx mov eax, [esp+16] ; eax = n ...
.data ind: .word 0x10010000 #adress .text la $t0,ind #place address in register $t0 li $t3,0 #Starts $t3 with value 0 (col) li $t4,0 #Starts $t4 with value 0 (row) li $s0,64 #Starts $s0 with value 64(width) li $s1,32 #Starts $s1 with value 32(height) #1111 1111 | 1111 1111 | 1111 1111 | 1111 1111 col: sll $t6,$t3,10 #...
EX1DS SEGMENT N EQU 7 COUNT DB 0 ARR DW -1,3,-200,4,9,-77,-125 EX1DS ENDS sseg segment stack dw 100h dup(?) sseg ends cseg segment assume ds:EX1DS,cs:cseg,ss:sseg start: mov ax,EX1DS mov ds,ax ;initialisation mov si,0 mov bx,N ;number for check L3: mov ax,ARR[si]...
EXTRN get_val_in_dll:PROC _TEXT SEGMENT call_get_val_in_dll PROC EXPORT sub rsp, 40 call get_val_in_dll add rsp, 40 ret 0 call_get_val_in_dll ENDP jump_get_val_in_dll PROC EXPORT jmp get_val_in_dll jump_get_val_in_dll ENDP _TEXT ENDS END
; Increment a 32-bit clock counter at each /NMI interrupt NMI_HANDLER: INC $10 BNE NMI_DONE INC $11 BNE NMI_DONE INC $12 BNE NMI_DONE INC $13 NMI_DONE: RTI
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x130c9, %r11 nop nop nop nop sub $62655, %r9 mov $0x6162636465666768, %rbp movq %rbp, (%r11) nop nop nop nop nop xor %r9, %r9 lea addresses_UC_ht+0x1c7a9, %r11 nop nop nop sub $...
.code UpdateScoreDecAsm proc sub ecx, 5 mov eax, ecx ret UpdateScoreDecAsm endp end
; A051879: Partial sums of A051798. ; 1,14,69,224,574,1260,2478,4488,7623,12298,19019,28392,41132,58072,80172,108528,144381,189126,244321,311696,393162,490820,606970,744120,904995,1092546,1309959,1560664 mov $1,1 lpb $0 mov $2,1 mul $2,$0 cal $2,51798 ; a(n) = (n+1)*(n+2)*(n+3)*(9n+4)/24. sub $0,1 add $1,$2 ...
/****************************************************************************** * * * ********** * * ************ ...
; ; S-OS specific routines ; by Stefano Bodrato, 2013 ; ;; int get_sos_version() ; ; $Id: get_sos_version.asm,v 1.3 2016/06/19 20:58:00 dom Exp $ ; SECTION code_clib PUBLIC get_sos_version PUBLIC _get_sos_version get_sos_version: _get_sos_version: call $1ff7 ld h,0 ...
################################################################################# # # Bubble Sort Function for an array of integers # OblivionsCall (Chris Hand) # # This Function is an implementation of bubble sort in MIPS Assembly # # Use: # $a0 - Array to be sorted # $a1 - Integer length of array (Numbe...
; A311512: Coordination sequence Gal.6.130.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; Submitted by Jon Maiga ; 1,4,8,12,17,22,26,30,35,40,44,48,52,56,60,64,69,74,78,82,87,92,96,100,104,108,112,116,121,126,130,134,139,144,148,1...
; A028763: Nonsquares mod 50. ; 2,3,5,7,8,10,12,13,15,17,18,20,22,23,27,28,30,32,33,35,37,38,40,42,43,45,47,48 mov $2,$0 div $0,14 add $0,$2 mov $3,$0 mov $0,5 mul $0,$3 mov $1,$0 div $1,3 add $1,2
; A206224: Floor(n^2/4) appears 1+floor(n/2) times. ; 0,0,1,1,2,2,4,4,4,6,6,6,9,9,9,9,12,12,12,12,16,16,16,16,16,20,20,20,20,20,25,25,25,25,25,25,30,30,30,30,30,30,36,36,36,36,36,36,36,42,42,42,42,42,42,42,49,49,49,49,49,49,49,49,56,56,56,56,56 mov $1,$0 sub $1,$0 mul $0,2 mov $3,1 lpb $0,1 sub $0,1 sub $0,$3 mo...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x29f3, %rbp nop nop nop and %r8, %r8 vmovups (%rbp), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $0, %xmm6, %rcx nop nop nop xor %rdx, %rdx lea addresses_WT_ht+0x1d1f3, %rsi n...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
#ifndef T_GAME #define T_GAME G #endif /* T_GAME */
; A040869: Continued fraction for sqrt(899). ; 29,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58 mov $1,29 lpb $0,1 mod $0,2 mul $1,2 lpe gcd $1,$0
db "MOUSE@" ; species name db "It prefers dry," next "sandy places" next "because it uses" page "the sand to" next "protect itself" next "when threatened.@"
; A184110: n + floor(3*sqrt(n+1)). ; 5,7,9,10,12,13,15,17,18,19,21,22,24,25,27,28,29,31,32,33,35,36,37,39,40,41,42,44,45,46,47,49,50,51,53,54,55,56,57,59,60,61,62,64,65,66,67,69,70,71,72,73,75,76,77,78,79,81,82,83,84,85,87,88,89,90,91,92,94,95,96,97,98,99,101,102,103,104,105,107,108,109,110,111,112,113,115,116,117,118,...
MobileTradeRoom_MapScripts: db 2 ; scene scripts scene_script .InitializeMobileTradeRoom ; SCENE_DEFAULT scene_script .DummyScene ; SCENE_FINISHED db 0 ; callbacks .InitializeMobileTradeRoom: sdefer .InitializeAndPreparePokecenter2F end .DummyScene: end .InitializeAndPreparePokecenter2F: setscene SCENE_FINI...
; A233083: Number of 2 X n 0..3 arrays with no element x(i,j) adjacent to value 3-x(i,j) horizontally or antidiagonally, top left element zero, and 1 appearing before 2 in row major order. ; 3,14,95,662,4631,32414,226895,1588262,11117831,77824814,544773695,3813415862,26693911031,186857377214,1308001640495,9156011483462...
#include "signverifymessagedialog.h" #include "ui_signverifymessagedialog.h" #include "addressbookpage.h" #include "base58.h" #include "guiutil.h" #include "dialogwindowflags.h" #include "init.h" #include "main.h" #include "optionsmodel.h" #include "walletmodel.h" #include "wallet.h" #include <string> #include <vecto...
;; nasm -f elf64 hello.s ;; ld -s -o hello hello.o ;; sudo apt install nasm fasm ;; SYS_EXIT equ 1 ;; RET_EXIT equ 5 ;; SYS_READ equ 3 ;; SYS_WRITE equ 4 ;; STD_IN equ 0 ;; STD_OUT equ 1 ;; MAX_IN equ 10 section .data name: db "what is your name ? " n...
;when the bomb instance in links hand is unloading, write the correct value for "Held Item" to denote the bomb is no longer in hand empty_bomb_fix: ;displaced lw a0, 0x001C($sp) li t0, 0x0100FE00 ;load value to write for no empty bomb lui t1, 0x801E lui t6, 0x801D lw t2, 0x0018(sp)...
comment * Name: Crash OverWrite :-) Coder: BeLiAL Type: Companion Anything else: NO This is my first win32 virus.Its only a companionvirus but it does his work very well.Its perhaps coded not so fine but im sure nobody will care.It infects all files in the directory and renames the v...
;//////////////////////////////////////////////////////////////////////////////; ;/// void puts(const char * s, int offset) ///; ;//////////////////////////////////////////////////////////////////////////////; ; Label for procedure. puts: ;////////////////////////////////////////////...
SECTION code_clib SECTION code_fp_math32 PUBLIC m32__dtoa_base16 .m32__dtoa_base16 ; enter : DEHL'= float x, x positive ; ; exit : HL'= mantissa * ; DE'= stack adjust ; C = max number of significant hex digits (6) ; D = base 2 exponent e ; ; uses : af, c, ...
/* * edge_se3Switchable.cpp * * Created on: 17.10.2011 * Author: niko * * Updated on: 14.01.2013 * Author: Christian Kerl <christian.kerl@in.tum.de> */ #include "edge_se3Switchable.h" #include "vertex_switchLinear.h" //#include <GL/gl.h> #include <g2o/types/slam3d/vertex_se3.h> #include <g2o/types/...
/* This testcase is part of GDB, the GNU debugger. Copyright 2017-2021 Free Software Foundation, Inc. This program 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 3 of the License, or ...
;;; ccs811.asm ;;- ;;- A device driver of CCS811-Air quality sensor for AVR. ;;- This code is a part of [[../][pAVRlib]]. ;;- ;;- * Requirement ;;- - [[../../twi-controller][twi-controller.asm]] (a part of pAVRlib) ;;- - [[../../wait][wait.asm]] (a part of pAVRlib) ;;- #ifdef __GNUC__ .global read_am2302 #define __SFR...
global sleep_for extern update_display section .data timeval: tv_sec dd 0 tv_usec dd 0 ; Input -> eax - stores hours ; -> ebx - stores minutes ; -> ecx - stores seconds section .text sleep_for: ; NOTE: edx is also modified by mul and div instructions, storing higher half of result of mul, and remainder of div ...
; A154636: a(n) is the ratio of the sum of the bends of the circles that are drawn in the n-th generation of Apollonian packing to the sum of the bends of the circles in the initial configuration of 3 circles. ; Submitted by Christian Krause ; 1,2,18,138,1050,7986,60738,461946,3513354,26720994,203227890,1545660138,1175...
; @MUHAMMAD QUWAIS SAFUTRA EXTRA equ 95 VEXTRA equ 1000h ;+ 1000h to compensate with sizeofheaders IMAGEBASE equ 400000h org IMAGEBASE bits 32 SECTIONALIGN equ 1000h FILEALIGN equ 200h istruc IMAGE_DOS_HEADER at IMAGE_DOS_HEADER.e_magic, db 'MZ' at IMAGE_DOS_HEADER.e_lfanew, dd NT_Headers - IMAGEBASE iend...
; A092081: Triangle of certain double factorials. ; Submitted by Jamie Morken(w1) ; 1,1,2,1,3,8,1,4,15,48,1,5,24,105,384,1,6,35,192,945,3840,1,7,48,315,1920,10395,46080,1,8,63,480,3465,23040,135135,645120,1,9,80,693,5760,45045,322560,2027025,10321920,1,10,99,960,9009,80640,675675,5160960 lpb $0 add $2,1 sub $0,$2 ...
.size 8000 .text@48 inc a ldff(45), a xor a, a ldff(41), a jp l1000 .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 a, ff ldff(45), a ld b, 03 call lwaitly_b ld c, 41 lbegin_waitm0: ldff a, (c) and a, b jrnz lbegin_w...
; A122491: a(n) = n * Fibonacci(n) - Sum_{i=0..n} Fibonacci(i). ; 0,0,0,2,5,13,28,58,114,218,407,747,1352,2420,4292,7554,13209,22969,39748,68494,117590,201210,343275,584087,991440,1679208,2838408,4789058,8066669,13566373,22782892,38209762,64003002,107083610,178967807,298803459,498404504,830593244,1383016268,2301013314,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0x10c3d, %rdi nop cmp %r9, %r9 movw $0x6162, (%rdi) nop nop nop nop sub $12001, %r10 lea addresses_WC_ht+0x151dd, %rsi lea addresses_normal_ht+0x9bdd, %rdi xor %r13, %r13 mov $3...
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
; A005232: Expansion of (1-x+x^2)/((1-x)^2*(1-x^2)*(1-x^4)). ; 1,1,3,4,8,10,16,20,29,35,47,56,72,84,104,120,145,165,195,220,256,286,328,364,413,455,511,560,624,680,752,816,897,969,1059,1140,1240,1330,1440,1540,1661,1771,1903,2024,2168,2300,2456,2600,2769,2925,3107,3276,3472,3654,3864,4060,4285,4495,4735,4960,5216,5456,...
; A138231: A009545 alternated with its first differences. ; Submitted by Jamie Morken(s2) ; 0,1,1,1,2,0,2,-2,0,-4,-4,-4,-8,0,-8,8,0,16,16,16,32,0,32,-32,0,-64,-64,-64,-128,0,-128,128,0,256,256,256,512,0,512,-512,0,-1024,-1024,-1024,-2048,0,-2048,2048,0,4096,4096,4096,8192,0,8192,-8192,0,-16384,-16384 mov $1,$0 lpb $0 ...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/amplify/model/Artifact.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace Am...
; A343230: A binary encoding of the digits "0" in balanced ternary representation of n. ; Submitted by Jon Maiga ; 0,0,0,1,0,0,1,0,2,3,2,0,1,0,0,1,0,2,3,2,0,1,0,4,5,4,6,7,6,4,5,4,0,1,0,2,3,2,0,1,0,0,1,0,2,3,2,0,1,0,4,5,4,6,7,6,4,5,4,0,1,0,2,3,2,0,1,0,8,9,8,10,11,10,8,9,8,12,13,12,14,15,14,12,13,12,8,9,8,10,11,10,8,9,8,...
SECTION code_graphics PUBLIC circle PUBLIC _circle EXTERN commoncircle EXTERN xorplot ;void circle(int x, int y, int radius, int skip) __smallc ;Note ints are actually uint8_t circle: _circle: ld hl,xorplot jp commoncircle
; https://adventofcode.com/2020/day/4 (part 2) ;(I forgot to preserve part 1 ... well, let's leave it as exercise to the reader) OPT listoff : DEVICE ZXSPECTRUMNEXT : MMU 0 7, 0, $0000 inputFile: ; load the input.txt into virtual device memory for processing DB "\n\n" ; fake <EOL><EOL> to hit "new passp...
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_ao_Klausjahn _ff_ao_Klausjahn: BINARY "font/fzx/fonts/ao/Klausjahn/Klausjahn.fzx"
.thumb .include "../../../../_FuncLib/_Definitions.h.s" .include "../../../../_FuncLib/MokhaRAMSpace.s" .include "_definations_ADDMAP.h.s" @(x,y,Direction) Test_DrawMapDefault: push {r4-r7,lr} mov r4, r0 @Target.x mov r5, r1 @Target.y cmp r2, #4 blt Normal mov r2, #0 Normal: mov r6, r2 @Direction ...
; Escreva um programa em Assembly que calcule o valor X = 5! ­- (5+4+3+2+1) SECTION .data var: db 5 cont : db 0 SECTION .text global _start _start: mov eax,[var] add [cont],eax ;cont = 0+5 = 5 mov ebx,eax ;ebx = 5 dec eax ;eax = 4 add [cont],eax ...
; Regenerate autoload tables, make sure not to remove this. AutoloadTableGeneration: .org 0x2000B4C dcd 0x2000E00 dcd 0x2000E24 .org 0x200F01C dcd CustomStuffRegion+LengthOfTheFile-ExtraDataStartingPosition .org 0x2000E00 dcd 0x1FF8000 dcd 0x7FA0 dcd 0x0 dcd 0x27E0000 dcd 0xE0 dcd ...
; ; A simple boot sector that prints a message to the screen using a BIOS routine. ; mov ah, 0x0e ; int 10/ah = 0eh -> scrolling teletype BIOS routine mov al, 'H' int 0x10 mov al, 'e' int 0x10 mov al, 'l' int 0x10 mov al, 'l' int 0x10 mov al, 'o' int 0x10 jmp $ ; Jump to the current ...
;============================================================================== ; Contents of this file are copyright Phillip Stevens ; ; You have permission to use this for NON COMMERCIAL USE ONLY ; If you wish to use it elsewhere, please include an acknowledgement to myself. ; ; https://github.com/feilipu/ ; ; https:...
;...:::README:::... ;...:::DEFAULT:::... ;Numbers in hexadecimal ;SIMULADOR emu8086 [for 16 bits] ;https://github.com/mathoian ;OBS: For create file,write string and save in the file , in the HD and USB. ; *review* ;create file(x) ;create string(X) ;save string in the file and save(x) ;print(X) .model sm...
// Copyright 2009 Google Inc. // // 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 agreed to in...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x29d7, %rbx clflush (%rbx) dec %r14 movb (%rbx), %r8b nop sub $8833, %rbp lea addresses_WT_ht+0x18aa7, %rbp nop nop nop nop add $43088, %r15 movw $0x6162, (%rbp) nop nop nop no...
// Copyright (C) 2008-2011 Jakob Schiotz and Center for Individual // Nanoparticle Functionality, Department of Physics, Technical // University of Denmark. Email: schiotz@fysik.dtu.dk // // This file is part of Asap version 3. // // This program is free software: you can redistribute it and/or // modify it under the ...
; A015521: a(n) = 3*a(n-1) + 4*a(n-2), a(0) = 0, a(1) = 1. ; 0,1,3,13,51,205,819,3277,13107,52429,209715,838861,3355443,13421773,53687091,214748365,858993459,3435973837,13743895347,54975581389,219902325555,879609302221,3518437208883,14073748835533,56294995342131,225179981368525,900719925474099,3602879701896397,14411518...
; A241404: Sum of n and the sum of the factorials of its digits. ; 2,4,9,28,125,726,5047,40328,362889,12,13,15,20,39,136,737,5058,40339,362900,23,24,26,31,50,147,748,5069,40350,362911,37,38,40,45,64,161,762,5083,40364,362925,65,66,68,73,92,189,790,5111,40392,362953,171,172,174,179,198,295,896,5217,40498,363059,781,782,...
bits 64 global main section .text main:
; A061679: Concatenation of n^3 and 7. ; Submitted by Christian Krause ; 17,87,277,647,1257,2167,3437,5127,7297,10007,13317,17287,21977,27447,33757,40967,49137,58327,68597,80007,92617,106487,121677,138247,156257,175767,196837,219527,243897,270007,297917,327687,359377,393047,428757,466567,506537,548727,593197,640007,689...
;Copyright (c) 2004-2020 Microchip Technology Inc. and its subsidiaries. ;SPDX-License-Identifier: MIT $NOMOD51 $INCLUDE (REG52.INC) NAME H2AUX PUBLIC _build_phy_write_cmd H2PROG SEGMENT CODE RSEG H2PROG ;* ************************************************************************ */ ;ulong buil...
/* * Copyright 2015 Twitter, Inc. * * 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 agreed to ...
;***************************************************************************** ;* SSE2-optimized HEVC deblocking code ;***************************************************************************** ;* Copyright (C) 2013 VTT ;* ;* Authors: Seppo Tomperi <seppo.tomperi@vtt.fi> ;* ;* This file is part of Libav. ;* ;* Libav...
; Initialize the stack pointer MOV XL, 0xFF MOV XH, 0xFF MOV SP, X ; Increment value MOV E, 1 ; Initial value MOV D, 1 PUSH D :LOOP POP D ; Perform the ADD and store the result ; on the stack ADD D, E PUSH D ; Jump back to the "POP D" instruction JMP :LOOP HLT
; A338649: Number of divisors of n which are greater than 5. ; 1,1,1,1,1,1,2,1,2,1,2,1,3,1,2,2,2,1,4,1,2,2,3,1,4,1,3,2,2,2,5,1,2,2,4,1,5,1,3,3,2,1,6,2,3,2,3,1,5,2,5,2,2,1,7,1,2,4,4,2,5,1,3,2,5,1,8,1,2,3,3,3,5,1,6,3,2,1,8,2,2,2,5,1,8,3,3,2,2,2,8,1,4,4,5,1,5,1,5,5 mov $4,2 mov $6,$0 lpb $4 mov $0,$6 mov $3,5 sub $...
; ******************************************************* #header ; Guppy2.asm ; --------------------------------------------- ; Memory management using a linked list to store ; allocated memory sections; is able to compress ; memory chunks if space becomes badly needed, ; at which point all runnning programs will be ...
;***************************************************** ; ; Video Technology library for small C compiler ; ; Juergen Buchmueller ; ;***************************************************** ; ----- void __CALLEE__ vz_sound_callee(int freq, int cycles) SECTION code_clib PUBLIC vz_sound_callee PUBLIC _vz_sound_callee EXTE...
; ; $Id: sdk56634.asm,v 1.7 2012/03/02 14:34:03 yaronm Exp $ ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2020 Broadcom Inc. All rights reserved. ; ; ; This is the default program for the (49+4 port) BCM56634...
; ; ZX IF1 & Microdrive functions ; ; void if1_update_map (int drive, char *mdvmap); ; ; ; Load in a Microdrive MAP array (32 bytes) ; the actual values for the specified drive. ; ; $Id: if1_update_map.asm,v 1.3 2016-07-01 22:08:20 dom Exp $ ; SECTION code_clib PUBLIC if1_update_map PUBLIC _if1_update_map ...
#include <gflags/gflags.h> #include <algorithm> #include <map> #include <string> #include <utility> #include <vector> #include "ncode/logging.h" #include "ncode/strutil.h" #include "ncode/substitute.h" #include "ncode/viz/grapher.h" #include "metrics/metrics_parser.h" DEFINE_string(metrics_dir, "", "The metrics direc...
/* * All Video Processing kernels * Copyright © <2010>, 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 ri...
MoonMonsB1: db $0A db 7,PARAS db 6,PARAS db 8,PARAS db 6,PARAS db 8,PARAS db 5,PARAS db 9,PARAS db 9,PARAS db 10,PARAS db 10,PARAS db $00
// Created on: 1997-09-18 // Created by: Philippe MANGIN // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GN...
Name: zel_ply1.asm Type: file Size: 22196 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: 6E38E3400769BC810BD0971C81A813D4F03BB326 Description: null
#include "HierarchyDictionariesUtils.h" namespace DB { namespace ErrorCodes { extern const int UNSUPPORTED_METHOD; } namespace { /** In case of cache or direct dictionary we does not have structure with child to parent representation. * This function build such structure calling getColumn for initial k...
; Sprinter fcntl library ; ; $Id: getwd.asm,v 1.4 2017/01/02 21:02:22 aralbrec Exp $ ; SECTION code_clib PUBLIC getwd PUBLIC _getwd ;int getwd(char *buf); ; NB buf must be at least 256 bytes .getwd ._getwd pop bc pop hl push hl push bc push ix ;save caller...
db 0 ; species ID placeholder db 55, 70, 55, 85, 40, 55 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 45 ; catch rate db 94 ; 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/aipom/fro...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rcx lea addresses_D_ht+0x7a42, %rcx nop nop nop nop cmp $19382, %r12 mov $0x6162636465666768, %r15 movq %r15, (%rcx) nop add %r14, %r14 pop %rcx pop %r15 pop %r14 pop %r12 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 p...
.proc util_clear_arg1 mov32_immptrs CONST32_0, ARG1 rts .endproc .proc util_clear_arg2 mov32_immptrs CONST32_0, ARG2 rts .endproc .proc util_ret_to_arg1 mov32_immptrs RET, ARG1 rts .endproc .proc util_ret_to_arg2 mov32_immptrs RET, ARG2 rts .endproc .proc util_ret_to_tmp mov32_immptrs RET, TMP rts .en...
############################################################################### # 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...
;/*! ; @file ; ; @brief BvsSetState DOS wrapper ; ; (c) osFree Project 2021, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev (yuri.prokushev@gma...
/** * Subsets * * cpselvis(cpselvis@gmail.com) * September 7th, 2016 */ #include<iostream> #include<vector> using namespace std; class Solution { public: vector<vector<int> > subsets(vector<int>& nums) { vector<vector<int> > ret; vector<int> sub; backtack(nums, sub, ret, 0); return ret; ...
TITLE LSRULES - functions which map opcodes to 'list-node' structs ;====================================================================== ; Module: LsRules.asm ; ; Purpose: ; Contains functions which map opcodes to their equivalent ; 'list-node' structures. See lsmain.asm for general comments. ; ; ;================...
; @@@ _TEXT segment public longjmp align 16 longjmp proc ; int longjmp(jmp_buf, int); ; longjmp の返り値が 0 の場合、1 に変更 mov rax, rdx test rax, rax jnz skip inc rax skip: ; jmp_buf から rbx, rbp, r12, r14, r15 レジスタを復旧 mov rbx, qword ptr [rcx] mov rsi, qword ptr [rcx + 8 ...
#ifndef HPX_UTIL_SPINLOCK_POOL_HPP_INCLUDED #define HPX_UTIL_SPINLOCK_POOL_HPP_INCLUDED // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // // taken from: // boost/detail/spinlock_pool.hpp // // Copyright (c) 2008 Peter Dimov // // Distributed under...