text
stringlengths
1
1.05M
//$Id$ //------------------------------------------------------------------------------ // ArraySetupDialog //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2015 United States Government ...
#define _USE_MATH_DEFINES #include "nectar.hpp" using namespace NectarCore::Global; using namespace NectarCore::Functions; var __NJS_ENV = "test"; var __NJS_PLATFORM = "{{__PLATFORM__}}"; /*** $ERROR ***/ NectarCore::VAR __NJS_DOLLAR_ERROR = __Nectar_Create_Var_Unscoped_Anon( __Nectar_Log_Console(__Nectar_VA...
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; ssdt asm stub for 10.0.16299-sp0-windows-10-rs3-1709 amd64 option casemap:none option prologue:none option epilogue:none .code ; ULONG64 __stdcall NtAccessCheck( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_...
SECTION code_clib SECTION code_fp_math48 PUBLIC _ilogb_fastcall EXTERN cm48_sdcciy_ilogb_fastcall defc _ilogb_fastcall = cm48_sdcciy_ilogb_fastcall
; uint in_Inkey(void) ; 08.2018 suborb ; Read current state of keyboard but only return ; keypress if a single key is pressed. SECTION code_clib PUBLIC in_Inkey PUBLIC _in_Inkey EXTERN in_keytranstbl read_row: inc d ld a,d out ($96),a in a,($99) cpl and a ret ; exit : carry set and HL = 0 for no keys registe...
copyright zengfr site:http://github.com/zengfr/romhack 003A02 movem.l D0-D3, -(A6) 003A06 movem.l D0-D3, -(A6) 003DA8 move.w A6, ($3c,A3) 003DAC move.b #$3, ($3f,A3) [enemy+3C] 007336 move.w A1, ($3c,A3) 00733A move.b ($2d,A1), ($16,A3) [boss+3C, enemy+3C] 007380 move.w A1, ($3c,A3) 007384 move.b ($2...
PUBLIC leftbitmask ; ; $Id: lbitmask.asm,v 1.3 2015/01/19 01:32:46 pauloscustodio Exp $ ; ; ************************************************************************ ; ; Get left bitmask for left side of byte ; ; Design & programming by Gunther Strube, Copyright (C) InterLogic 1995 ; ; IN: A = bitposition ; ; OUT: A...
/** * Copyright 2019-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 applicabl...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x158e9, %rsi lea addresses_normal_ht+0xc4d, %rdi clflush (%rsi) nop nop nop add $37650, %r10 mov $47, %rcx rep movsl nop nop and %rbp, %rbp lea addresses_UC_ht+0x14c89, %rdi nop nop no...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x6e63, %rsi lea addresses_WC_ht+0x16bfb, %rdi nop nop xor $487, %rdx mov $74, %rcx rep movsl nop sub %rax, %rax lea addresses_normal_ht+0x19083, %rsi lea addresses_A_ht+0xdfad,...
_wc: file format elf32-i386 Disassembly of section .text: 00001000 <wc>: char buf[512]; void wc(int fd, char *name) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 83 ec 48 sub $0x48,%esp int i, n; int l, w, c, inword; l = w = c =...
RESULTS_START EQU $c000 RESULTS_N_ROWS EQU 16 include "base.inc" ; This test verifies that writing to DIV while bit 4 is set ; triggers a DIV-APU event. CorrectResults: db $F1, $F0, $F0, $F0, $F0, $F0, $F0, $F0 db $F0, $F0, $F0, $F0, $F0, $F0, $F0, $F0 db $F1, $F1, $F1, $F0, $F0, $F0, $F0, $F0 db $F0, $F0, $F0, $F...
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This 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 of the License, or (at your opti...
; A005057: 5^n - 2^n. ; 0,3,21,117,609,3093,15561,77997,390369,1952613,9764601,48826077,244136529,1220694933,6103499241,30517545357,152587825089,762939322053,3814697003481,19073485803837,95367430592049,476837156105973,2384185786821321,11920928946689517 mov $2,7 mov $3,$0 lpb $3 mul $1,5 mul $2,2 add $1,$2 sub ...
; A053601: Number of bases of an n-dimensional vector space over GF(2). ; Submitted by Christian Krause ; 1,1,3,28,840,83328,27998208,32509919232,132640470466560,1927943976061501440,100981078400558897823744,19242660536873338307044442112,13448310596010038676027219703234560,34707333779115158227208335860718444216320,33271...
; A057449: Product of differences between consecutive positive divisors of n. ; Submitted by Christian Krause ; 1,1,2,2,4,3,6,8,12,15,10,12,12,35,40,64,16,81,18,100,112,99,22,192,80,143,216,588,28,600,30,1024,352,255,224,1944,36,323,520,2400,40,3087,42,3388,2880,483,46,12288,252,5625,952,6084,52,19683,1056,14112,1216,7...
@ This file was created from a .asm file @ using the ads2gas.pl script. .equ DO1STROUNDING, 0 .equ ARCH_ARM , 1 .equ ARCH_MIPS , 0 .equ ARCH_X86 , 0 .equ ARCH_X86_64 , 0 .equ HAVE_EDSP , 0 .equ HAVE_MEDIA , 0 .equ HAVE_NEON , 1 .equ HAVE_NEON_ASM , 0 .equ HAVE_MIPS32 , 0 .equ HAVE_DSPR2 , 0 .equ HAVE_MSA , ...
/* Copyright (c) Marshall Clow 2010-2012. 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) For more information, see http://www.boost.org */ #include <vector> #include <boost/algorithm/searching/boyer_moore...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
# Multicore coherence test # stores 0xDEADBEEF to value #core 1 org 0x0000 ori $t0, $0, word1 lw $t1, 0($t0) sll $t1, $t1, 16 ori $t4, $0, value ori $t2, $0, flag # wait for core 2 to finish wait1: lw $t3, 0($t2) beq $t3, $0, wait1 # complete store lw $t0, 0($t4) or $t0, $t0, $t1 sw $t0, 0($...
;.................................................................................................................................. CurrentShipUniv: DB 0 ;....................................................................................................................................
; A296306: a(n) = A001157(n)/A050999(n). ; 1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,341,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,1365,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,341,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,5461,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,341,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,1365,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,341,1,5,1,21,1,5,1,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x13a49, %rsi lea addresses_UC_ht+0xd989, %rdi and %r8, %r8 mov $127, %rcx rep movsw nop nop nop xor $13913, %r10 lea addresses_WC_ht+0x15e6b, %rbx nop nop nop inc %rdx movw $0...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\TEST_op_Shift.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES END
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x119ee, %r15 nop xor $39317, %rcx mov $0x6162636465666768, %rdi movq %rdi, %xmm0 movups %xmm0, (%r15) nop nop nop nop cmp $37329, %rcx lea addresses_UC_ht+0x1e9ee, %rsi lea ad...
; A199402: Binary XOR of 2^k - (-1)^k as k varies from 1 to n. ; Submitted by Christian Krause ; 3,0,9,6,39,24,153,102,615,408,2457,1638,9831,6552,39321,26214,157287,104856,629145,419430,2516583,1677720,10066329,6710886,40265319,26843544,161061273,107374182,644245095,429496728,2576980377,1717986918,10307921511,68719476...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #include "ccf/ds/logger.h" #include <pthread.h> #include <semaphore.h> #include <signal.h> #include <stdio.h> #include <sys/resource.h> // This file stubs the following functions used by V8 that // are not availabl...
; A211199: Sum of the 16th powers of the decimal digits of n. ; 0,1,65536,43046721,4294967296,152587890625,2821109907456,33232930569601,281474976710656,1853020188851841,1,2,65537,43046722,4294967297,152587890626,2821109907457,33232930569602,281474976710657,1853020188851842,65536,65537,131072,43112257 lpb $0 mov $2,$...
icl '../os/symbols.asm' org BOOTADDR mva #0 ROS8 lda #5 ldx #OS_SET_VIDEO_MODE jsr OS_CALL mwa SUBPAL_START VRAM_TO_RAM jsr lib_vram_to_ram ldy #0 lda #$9A sta (RAM_TO_VRAM), y iny lda #$38 sta (RAM_TO_VRAM), y iny lda #$C8 sta (RAM_TO_VRAM), y iny lda #$4C sta (RAM_TO_VRAM), y...
global __assert_fail:function (__assert_fail.end - __assert_fail) global main:function (main.end - main) fmt: db `- %s\n` __assert_fail: mov rax, 60 mov rdi, 3 syscall ret .end: main: jmp __assert_fail ret .end:
; A070658: n^6 mod 35. ; 0,1,29,29,1,15,1,14,29,1,15,1,29,29,21,15,1,29,29,1,15,21,29,29,1,15,1,29,14,1,15,1,29,29,1,0,1,29,29,1,15,1,14,29,1,15,1,29,29,21,15,1,29,29,1,15,21,29,29,1,15,1,29,14,1,15,1,29,29,1,0,1,29,29,1,15,1,14,29,1 pow $0,6 mod $0,35
; $Id: EMRCA.asm $ ;; @file ; EM Assembly Routines. ; ; ; Copyright (C) 2006-2015 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 and/or modify it under the terms of the GNU ; General ...
.MODEL SMALL .STACK 100H .DATA MSG_1 DB 'Lower-Case: $' MSG_2 DB 'Upper-Case: $' CHAR DB ? .CODE MAIN PROC MOV AX, @DATA MOV DS, AX MOV AH, 09H LEA DX, MSG_1 INT 21H MOV AH, 01H INT 21H MOV CHA...
/*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * William Jolitz. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
%include "macros/patch.inc" @SJMP 0x00492E02, 0x00492E2B
; A227133: Given a square grid with side n consisting of n^2 cells (or points), a(n) is the maximum number of points that can be painted so that no four of the painted ones form a square with sides parallel to the grid. ; Submitted by Jon Maiga ; 1,3,7,12,17,24,32,41,51,61,73,85,98 mov $4,$0 add $4,1 mov $8,$0 lpb $4 ...
; A102603: 24n + 21. ; 21,45,69,93,117,141,165,189,213,237,261,285,309,333,357,381,405,429,453,477,501,525,549,573,597,621,645,669,693,717,741,765,789,813,837,861,885,909,933,957,981,1005,1029,1053,1077,1101,1125,1149,1173,1197 mul $0,24 add $0,21
; A122437: Allowable values of the "dropping time" of the Collatz (3x+1) iteration. ; 1,3,6,8,11,13,16,19,21,24,26,29,32,34,37,39,42,44,47,50,52,55,57,60,63,65,68,70,73,75,78,81,83,86,88,91,94,96,99,101,104,106,109,112,114,117,119,122,125,127,130,132,135,138,140,143,145,148,150,153,156,158,161,163,166,169,171,174,176,1...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ssm/model/OpsEntityItem.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace S...
/* * AffectedNodes.cpp * Author: paddya * * Created on 17. Dezember 2016, 16:35 */ #include <networkit/auxiliary/Log.hpp> #include <networkit/distance/AffectedNodes.hpp> #include <networkit/distance/BFS.hpp> #include <networkit/distance/ReverseBFS.hpp> #include <networkit/distance/SSSP.hpp> namespace NetworKit {...
; A094994: a(n) = floor(9^n/8^n). ; Submitted by Christian Krause ; 1,1,1,1,1,1,2,2,2,2,3,3,4,4,5,5,6,7,8,9,10,11,13,15,16,19,21,24,27,30,34,38,43,48,54,61,69,78,87,98,111,125,140,158,178,200,225,253,285,320,361,406,457,514,578,650,732,823,926,1042,1172,1319,1484,1669,1878,2113,2377,2674,3008,3384,3807,4283,4819,5421,6...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; gfx functions ; ; Videmo memory page handling ; ; ; ------ ; $Id: ozdisplayactivepage.asm,v 1.3 2016-06-28 14:48:17 dom Exp $ ; SECTION code_clib PUBLIC ozdisplayactivepage PUBLIC _ozd...
#include "GAMER.h" static void BC_Outflow_xm( real *Array, const int NVar, const int GhostSize, const int ArraySizeX, const int ArraySizeY, const int ArraySizeZ, const int Idx_Start[], const int Idx_End[] ); static void BC_Outflow_xp( real *Array, const int NVar, const int GhostSize, const i...
; A344958: Positions of words in A344953 starting with 1 and ending with 0. ; Submitted by Christian Krause ; 5,10,15,18,26,28,31,41,44,47,49,52,68,70,73,75,78,81,83,86,109,112,115,117,120,123,125,128,130,133,136,138,141,178,180,183,185,188,191,193,196,198,201,204,206,209,212,214,217,219,222,225,227,230,287,290 add $0...
#include <algorithm> #include <cassert> #include <cmath> #include <iostream> #include <limits> #include <thread> #include "utils/interpolation.hpp" #include "warp2d/warp2d.hpp" std::vector<Centroid::Peak> Warp2D::peaks_in_rt_range( const std::vector<Centroid::Peak>& source_peaks, double time_start, double tim...
;check armstrong . if armstrong then si=1, otherwise si=0; mov bx,372 mov di,bx mov dx,0 mov si,0 loop1: mov cx,10 mov ax,bx div cx mov bx,ax mov cx,dx mov ax,cx mul cx mul cx add si,ax mov dx,0 cmp bx,0 jg loop1 ...
Name: sound.asm Type: file Size: 506 Last-Modified: '1992-02-13T07:48:36Z' SHA-1: D34ABADC511C2153FBD2F27268CE5D063008E9BA Description: null
#ifndef CORELIB___PERF_LOG__HPP #define CORELIB___PERF_LOG__HPP /* $Id: perf_log.hpp 534857 2017-05-03 12:26:07Z ivanov $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information ...
; A167420: 2^n mod 14. ; 1,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8,2,4,8 sub $0,1 mod $0,3 sub $0,4 mov $1,-23 div $1,$0 sub $1,3 mov $0,$1
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
/* Copyright (C) 2014 InfiniDB, Inc. Copyright (C) 2019 MariaDB Corporation 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; version 2 of the License. This program is distributed in...
; A066429: a(n) = 7^n mod n^7. ; 0,49,343,2401,16807,117649,0,1570497,2089855,2475249,9122472,10209313,5300159,98001617,62916193,84245889,82474028,145795249,530403874,57612001,1611673651,2006506001,832663280,2652148801,4541072682,7457168625,3383428402,6778582433,4637847366,18347863249,3303333595,1855011585,33890611933,...
; A017115: a(n) = (8*n + 4)^3. ; 64,1728,8000,21952,46656,85184,140608,216000,314432,438976,592704,778688,1000000,1259712,1560896,1906624,2299968,2744000,3241792,3796416,4410944,5088448,5832000,6644672,7529536,8489664,9528128,10648000,11852352,13144256,14526784,16003008,17576000,19248832,21024576,22906304,24897088,2700...
const_value = 1 const MASTER_BALL ; $01 const ULTRA_BALL ; $02 const GREAT_BALL ; $03 const POKE_BALL ; $04 const TOWN_MAP ; $05 const BICYCLE ; $06 const SURFBOARD ; $07 buggy? const SAFARI_BALL ; $08 const POKEDEX ; $09 const MOON_STONE ; $0A 10 const ANTIDOTE ; ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletdb.h" #include "wallet.h" #include <boost/version.hpp> #include <b...
; A229829: Numbers coprime to 15. ; 1,2,4,7,8,11,13,14,16,17,19,22,23,26,28,29,31,32,34,37,38,41,43,44,46,47,49,52,53,56,58,59,61,62,64,67,68,71,73,74,76,77,79,82,83,86,88,89,91,92,94,97,98,101,103,104,106,107,109,112,113,116,118,119,121,122,124,127,128,131,133,134,136,137,139,142,143,146,148,149,151,152,154,157,158,16...
; intmax_t imaxabs(intmax_t j) SECTION code_clib SECTION code_inttypes PUBLIC _imaxabs EXTERN _labs defc _imaxabs = _labs
;; NOTE: To allow the use of this file for both ARMv6M and ARMv7M, ;; we will only use 16-bit Thumb intructions. .extern _lc_ub_stack ; usr/sys mode stack pointer .extern _lc_ue_stack ; symbol required by debugger .extern _lc_ub_table ; ROM to R...
; A034494: a(n) = (7^n+1)/2. ; 1,4,25,172,1201,8404,58825,411772,2882401,20176804,141237625,988663372,6920643601,48444505204,339111536425,2373780754972,16616465284801,116315256993604,814206798955225,5699447592686572,39896133148806001,279272932041642004,1954910524291494025,13684373670040458172,95790615690283207201,67053...
// not at all sure where/how this has to be positioned so it works the way i need it to #define VK_NO_PROTOTYPES #define VK_USE_PLATFORM_WIN32_KHR // expand this for other OSes eventually #include "../vulkan.h" // FEB24 - disabling this to try something // doesnt seem to work to disable that // use a names...
; -*- fundamental -*- ;; ;; This file is part of the Palacios Virtual Machine Monitor developed ;; by the V3VEE Project with funding from the United States National ;; Science Foundation and the Department of Energy. ;; ;; The V3VEE Project is a joint project between Northwestern University ;; and the University of...
; ; Placeholder for reading a key from the keyboard ; ; Yet the Colecovision doesnt have a keybaord... ; ; TODO: Something with the number pad ; SECTION code_clib PUBLIC getk PUBLIC _getk getk: _getk: ld hl,0 ret
global _start section .text _start: mov rax,0x10111011 mov rbx,0x11010110 or rax,rbx mov rax, 60 mov rdi, 10 syscall section .data
[bits 16] ; switch to protected mode switch_to_pm: cli ; switch off all interrupts, until the switch is complete lgdt [gdt_descriptor] ; load global descriptor table, which defines ; the protected mode segments mov eax, cr0 ; to make the switch set the first bit of or eax, 0x1 ; control register ...
; A166257: Odd numbers not of the form prime(k) + phi(prime(k)). ; 1,7,11,15,17,19,23,27,29,31,35,39,41,43,47,49,51,53,55,59,63,65,67,69,71,75,77,79,83,87,89,91,95,97,99,101,103,107,109,111,113,115,119,123,125,127,129,131,135,137,139,143,147,149,151,153,155,159,161,163,167,169,171,173,175,179,181,183,185,187,189,191,19...
;=============================================================================== ; Copyright 2015-2020 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.apa...
////////////////// // Ports ////////////////// struct SilverPort : Port { NVGcolor col = nvgRGB(0xf0, 0xf0, 0xf0); SilverPort() { box.size.x = 25; box.size.y = 25; } void draw(NVGcontext *vg) override; }; struct RedPort : SilverPort { RedPort() { col = nvgRGB(0xff, 0x20, 0x20); } }; struct BluePort : Silver...
; A101946: 6*2^n - 3*n - 5. ; 1,4,13,34,79,172,361,742,1507,3040,6109,12250,24535,49108,98257,196558,393163,786376,1572805,3145666,6291391,12582844,25165753,50331574,100663219,201326512,402653101,805306282,1610612647,3221225380,6442450849,12884901790 add $0,1 mov $1,2 pow $1,$0 sub $1,$0 mul $1,3 sub $1,2 mov $0,$1
; A192398: a(n) = n^4 + 3*n^3 - 3*n. ; 1,34,153,436,985,1926,3409,5608,8721,12970,18601,25884,35113,46606,60705,77776,98209,122418,150841,183940,222201,266134,316273,373176,437425,509626,590409,680428,780361,890910,1012801,1146784,1293633,1454146,1629145,1819476,2026009,2249638,2491281,2751880,3032401,3333834,3657193,4...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x13eec, %rsi lea addresses_D_ht+0x4bfc, %rdi clflush (%rsi) xor %r10, %r10 mov $36, %rcx rep movsq nop nop nop and %r13, %r13 lea addresses_UC_ht+0x19bfc, %r15 nop nop add %r...
; ; AMD64-ABI Assembler versions of the darkness routines ; ; This will need modification to run in Windows because ; they rolled their own ABI ; [BITS 64] [SECTION .text] ; Declare public symbols GLOBAL _ire_checkMMX GLOBAL ire_checkMMX GLOBAL _darken_asm_32 GLOBAL darken_asm_32 GLOBAL _darken_asm_32s GLOBAL darke...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="fd, offset, count"/> <%docstring> Invokes the syscall readahead. See 'man 2 readahead' for more information. Arguments: fd(int): fd offset(off64_t): offset count(size_t): count </%docstring> ${syscall('SYS_readahead', fd, offset,...
;*! ;* \copy ;* Copyright (c) 2009-2013, Cisco Systems ;* All rights reserved. ;* ;* Redistribution and use in source and binary forms, with or without ;* modification, are permitted provided that the following conditions ;* are met: ;* ;* * Redistributions of source code must retain the abo...
; A017057: a(n) = (7*n + 6)^5. ; 7776,371293,3200000,14348907,45435424,115856201,254803968,503284375,916132832,1564031349,2535525376,3939040643,5904900000,8587340257,12166529024,16850581551,22877577568,30517578125,40074642432,51888844699,66338290976,83841135993,104857600000,129891985607,159494694624,194264244901,234849...
#include "test/test_common/test_time.h" #include "common/common/utility.h" namespace Envoy { DangerousDeprecatedTestTime::DangerousDeprecatedTestTime() {} namespace Event { void TestRealTimeSystem::sleep(const Duration& duration) { std::this_thread::sleep_for(duration); } Thread::CondVar::WaitStatus TestRealTimeS...
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <sstream> #include <vector> #include <iomanip> #include <cmath> #include <map> using namespace std; typedef long long LL; typedef pair<int,int> pii; LL cumm[1000010]; int main() { int t,n,num; LL cnt,result; scanf("%d"...
// Minimal struct with Unwound behavior - struct containing struct copying // Commodore 64 PRG executable file .file [name="struct-40.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Cod...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x122b5, %rbp nop nop nop nop and $23851, %r10 mov (%rbp), %r14w nop nop nop cmp %r13, %r13 lea addresses_A_ht+0x2975, %r12 and $47860, %r14 mov $0x6162636...
// Test provided by Karu //SEQ test 5. Test saving 1 to rs // // Michael McKinley (mckinley) lbi r1, 0x35 lbi r2, 0x35 seq r1, r1, r2 halt
#include "DetectorDescription/DDCMS/interface/DDSpecParRegistry.h" using namespace std; using namespace tbb; using namespace cms; vector<string_view> DDSpecPar::split(string_view str, const char* delims) const { vector<string_view> ret; string_view::size_type start = 0; auto pos = str.find_first_of(delims, s...
; Substitute for the z80 sbc hl,de instruction ; CPU Min T Max T ; 8080 86 86 ; 8085 82 82 ; gbz80 80 80 ; r2k 4 4 ; z180 10 10 ; z80 15 15 ; z80n 15 15 SECTION code_crt0_sccz80 PUBLIC __z80asm__sbc_hl_de __z80asm__sbc_hl_de: push bc ld b, a ...
#include "../../include/MPI/Environment.h" #include <iostream> #include <sstream> #include <stdexcept> #include "../../include/MPI/ErrorCode.h" #include <memory> #include <vector> #include "../../include/MPI/Communicator.h" #include "../../include/MPI/DataTypes.h" #include <QDebug> #define _MPI_MULTI_THREAD_ENABLE_...
// Copyright (c) 2012-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <merkleblock.h> #include <uint256.h> #include <test/test_mogcoin.h> #include <boost/test/unit_test.hpp> BOOST_FIX...
; uint16_t in_stick_sinclair1(void) SECTION code_input PUBLIC in_stick_sinclair1 EXTERN asm_in_stick_sinclair1 defc in_stick_sinclair1 = asm_in_stick_sinclair1
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
ds 32 ds 32,1 ds 32 ds 32,2 ds 32 ds 32,3 ds 32 ds 32,4
// // $Id: IterationListener.cpp 10827 2017-05-11 21:01:58Z chambm $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2008 Spielberg Family Center for Applied Proteomics // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2....
%include "include/u7si-all-includes.asm" defineAddress 327, 0x08D7, dragItem_afterDragging defineAddress 327, 0x0926, dragItem_afterDragging_end defineAddress 327, 0x0946, dragItem_putItemBack defineAddress 327, 0x098C, dragItem_determineWhereToPut defineAddress 327, 0x09C6, dragItem_endProc defineAddress 331, 0x01D5...
; A077262: Second member of the Diophantine pair (m,k) that satisfies 5*(m^2 + m) = k^2 + k; a(n) = k. ; 0,5,14,99,260,1785,4674,32039,83880,574925,1505174,10316619,27009260,185124225,484661514,3321919439,8696898000,59609425685,156059502494,1069647742899,2800374146900,19194049946505,50250675141714,344423251294199,90171...
# $Id: 09_shf_r0.asm,v 1.3 2001/03/22 00:38:59 ellard Exp $ # # Copyright 1999-2001 by the President and Fellows of Harvard College. # See LICENSE.txt for license information. # #@ tests bitwise SHIFT for r0 # OK lc r2, 0b00000001 lc r3, 0b11111111 lc r4, 1 lc r5, -1 shf r0, r2, r4 add r7, r1, r0 hlt
; File created by mod2gbt SECTION "Second", ROMX, BANK[1] Second0: DB $98,$1f, $93,$2f, $98,$13, $4a,$06 DB $42,$04, $42,$04, $00, $00 DB $98,$1f, $93,$2f, $00, $00 DB $42,$04, $42,$04, $00, $00 DB $a4,$91,$37, $9f,$a1,$37, $93,$13, $00 DB $a4,$92,$04, $9f,$a2,$04, $00, $00 DB ...
; A176282: Triangle T(n,k) = 1 + A000330(n) - A000330(k) - A000330(n-k), read by rows. ; Submitted by Jamie Morken(s3.) ; 1,1,1,1,4,1,1,9,9,1,1,16,21,16,1,1,25,37,37,25,1,1,36,57,64,57,36,1,1,49,81,97,97,81,49,1,1,64,109,136,145,136,109,64,1,1,81,141,181,201,201,181,141,81,1,1,100,177,232,265,276,265,232,177,100,1,1,12...
; MO5 Test stuff ORG $32000 ; Could be a little lower ? main ; Disable interrupts ORCC #$50 ; Paint screen with 0xAA pattern in FORME LDA #$FF LDX #$1F40 boucle STA ,-X CMPX #0 BNE boucle ; Set the border (also to 0xAA) STA $A7C0 ; COLOR memory to 0xCF LDA #$AD LDX #$1F40 boucle2 STA ,-X CMPX #10...
/* * Copyright 1993, University Corporation for Atmospheric Research. */ /* * Decodes GRIB products into netCDF files. This version decodes GRIB 1 or 2 * products into a point-based netcdf file using the list of sites provided * on input. This is a copy of gribtonc with appropriate changes made to add * GRIB 2 ...
; A093033: Number of interior balls in a truncated octahedral arrangement. ; 6,79,314,807,1654,2951,4794,7279,10502,14559,19546,25559,32694,41047,50714,61791,74374,88559,104442,122119,141686,163239,186874,212687,240774,271231,304154,339639,377782,418679,462426,509119,558854,611727,667834,727271,790134,856519,926522,100...
; A258186: a(n) is the maximal number of circles that can be enclosed by a closed chain of n circles; all circles' centers lie at coordinate points of the planar net 6.6.6. ; 0,0,0,0,0,0,0,0,0,0,0,0,1,1,2,2,3,3,6,6,7,7,10,10,13 div $0,2 sub $0,5 mov $1,1 mov $3,$0 cal $0,142 mul $1,$3 mov $2,6 lpb $0 sub $0,$1 add...
%ifdef CONFIG { "RegData": { "R15": "0x4" }, "MemoryRegions": { "0x100000000": "4096" } } %endif %macro cfmerge 0 ; Get CF sbb r14, r14 and r14, 1 ; Merge in to results shl r15, 1 or r15, r14 %endmacro mov rdx, 0xe0000000 mov rax, 0xFFFFFFFF80000002 mov [rdx + 8 * 0], rax mov [rdx + 8 * 1], rax mo...
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2014 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages ...
// ------------------------------------------------- // BlinKit - blink Library // ------------------------------------------------- // File Name: duk_html_collection.cpp // Description: DukHTMLCollection Class // Author: Ziming Li // Created: 2020-03-07 // ------------------------------------------------- /...
; A071042: Number of 0's in n-th row of triangle in A070886. ; 0,1,3,3,7,7,9,7,15,15,17,15,21,19,21,15,31,31,33,31,37,35,37,31,45,43,45,39,49,43,45,31,63,63,65,63,69,67,69,63,77,75,77,71,81,75,77,63,93,91,93,87,97,91,93,79,105,99,101,87,105,91,93,63,127,127,129,127,133,131,133,127,141,139,141,135,145,139,141,127,157,15...