text
stringlengths
1
1.05M
pushpc ; ----------------- ; Ganon transition ; ----------------- org $02B793 JML triforce_transition ;------------------ ; Drop luck check ;------------------ org $06F99E JML dropluck ; can't JSL because we need an unbalanced PHA afterdropluck: ;------------------ ; Sword beams ;------------------ org $1CF640 JSL...
// Simple Phong-based render pass for color image // Author: Max Schwarz <max.schwarz@ais.uni-bonn.de> #include <stillleben/phong_pass.h> #include <stillleben/scene.h> #include <stillleben/object.h> #include <Magnum/GL/Framebuffer.h> #include <Magnum/GL/Renderbuffer.h> #include <Magnum/GL/RenderbufferFormat.h> #inclu...
; A027475: a(n) = (n-1) * 15^(n-2). ; 1,30,675,13500,253125,4556250,79734375,1366875000,23066015625,384433593750,6343154296875,103797070312500,1686702392578125,27246730957031250,437893890380859375,7006302246093750000,111662942047119140625,1773470256042480468750,28079945720672607421875,443367564010620117187500,698303913...
; A226975: Decimal expansion I_1(1), the modified Bessel function of the first kind. ; Submitted by Jon Maiga ; 5,6,5,1,5,9,1,0,3,9,9,2,4,8,5,0,2,7,2,0,7,6,9,6,0,2,7,6,0,9,8,6,3,3,0,7,3,2,8,8,9,9,6,2,1,6,2,1,0,9,2,0,0,9,4,8,0,2,9,4,4,8,9,4,7,9,2,5,5,6,4,0,9,6,4,3,7,1,1,3,4,0,9,2,6,6,4,9,9,7,7,6,6,8,1,4,4,1,0,0 add $0,...
%ifdef CONFIG { "RegData": { "RAX": "0x414243444546E648" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax sub byte [rdx + 8 * 0 + 1], 0x61 mov rax, [rdx + 8 * 0] hlt
#include <featureTests.h> #ifdef ROSE_ENABLE_SOURCE_ANALYSIS #include "broadway.h" #include <ROSE_ASSERT.h> using namespace std; annVariable::annVariable(string name, string procedure_name, bool is_new, bool is_global, ...
***************************************************************************** * Copyright (c) 2005 Texas Instruments, Inc. All Rights Reserved * * This is proprietary information, not to be published -- TI INTERNAL DATA * ***************************************************************************** ...
; A204437: Symmetric matrix: f(i,j)=((i+j+1)^2 mod 3), by (constant) antidiagonals. ; 0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1 seq $0,3056 ; n appears n+1 times. ...
; A097816: E.g.f. exp(5x)/(1-5x). ; 1,10,125,2000,40625,1018750,30578125,1070312500,42812890625,1926582031250,96329111328125,5298101171875000,317886070556640625,20662594587402343750,1446381621124267578125,108478621584350585937500 add $0,1 mov $2,1 lpb $0 sub $0,1 mul $2,5 add $1,$2 mul $1,5 mul $2,$0 lpe div...
// Copyright (c) 2009-2012 Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <iostream> #include <fstream> #include "init.h" // for pwalletMain #include "bitcoinrpc.h" #include "ui_interface.h" #in...
.text ori $s0, $0, 0xfc01 mtc0 $s0, $12 ori $s0, $0, 0x7f34 lui $s1, 0x5555 ori $s1, $s1, 0x5555 sw $s1, 0($s0) ori $s0, $0, 0x7f38 lui $s1, 0x7654 ori $s1, $s1, 0x3210 sw $s1, 0($s0) go: j go nop .ktext 0x00004180 mfc0 $k0, $13 andi $k0, $k0, 0x0800 beq $k0, $0, return ori $t0, $0, 0x7f10 lw $k1, 0($t0) sw $k1, 0($t0...
; A216475: The number of numbers coprime to and less than n+2, excluding 2. ; 1,2,3,2,5,4,5,4,9,4,11,6,7,8,15,6,17,8,11,10,21,8,19,12,17,12,27,8,29,16,19,16,23,12,35,18,23,16,39,12,41,20,23,22,45,16,41,20,31,24,51,18,39,24,35,28,57,16,59,30,35,32,47,20,65,32,43,24,69,24,71,36,39,36,59,24,77,32,53,40,81,24,63,42,55,40,8...
Data_Segment equ 003Fh ; ----------------------------------------------------------------- ; Virtual cursor position. ; This is where the cursor would be on the PC. ; ----------------------------------------------------------------- Data_CursorVirtual: equ 0000h ; ------------------------------------------------...
#include "foo.h" template<typename T> T foo(T a) { return a+a; }; template double foo(double); double bar() { return k(); };
// COMMAND #1: push constant 17 @17 D=A // store the current address as a value @SP // >> push constant value (17) onto stack << A=M // move to top of stack M=D // write value of D to current location @SP // increment stack pointer M=M+1 // COMMAND...
; A006347: a(n) = (n+1) a(n-1) + (-1)^n. ; Submitted by Jamie Morken(s2) ; 0,1,3,16,95,666,5327,47944,479439,5273830,63285959,822717468,11518044551,172770668266,2764330692255,46993621768336,845885191830047,16071818644770894,321436372895417879,6750163830803775460,148503604277683060119,3415582898386710382738,819739895612...
BITS 32 section .text foo: jo near dword foo jno near word foo jb 0 jc near dword foo jnae near word foo jnb 0 jnc near dword foo jae near word foo je 0 jz near dword foo jne near word foo jnz 0 jbe near dword foo jna near word foo ja 0 jnbe near dword foo js near word foo jns 0 jp near dword foo jpe near word foo jnp ...
/* * Copyright (c) 2003-2016 Rony Shapiro <ronys@pwsafe.org>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ // OptionsShortcuts.cp...
; ; ANSI Video handling for the Philips VG-5000 ; ; Handles colors ; ; Scrollup ; ; Stefano Bodrato - 2014 ; ; $Id: f_ansi_scrollup.asm,v 1.4 2016-06-12 16:06:43 dom Exp $ ; SECTION code_clib PUBLIC ansi_SCROLLUP EXTERN ansi_del_line DEFC ROWS=25 DEFC COLUMNS=40 SECTION bss_clib .ROW defb 0 ...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 000AE8 clr.w ($744,A5) 000AEC clr.w ($748,A5) [base+744] 00170E sub.w ($744,A5), D0 001712 sub.w ($748,A5), D1 [base+744] 001748 sub.w ($744,A5), D0 [enemy+ 8, item+ 8] 00174C addi.w #$c0, D0 ...
; A154595: Period 6: repeat [1, 3, 3, -1, -3, -3]. ; 1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3,3,-1,-3,-3,1,3 add $0,9 mov $1,1 mov $3,3 lpb $0 sub $0,1 add $3,$2 sub $2,$3 sub $3,$1 l...
; Polymorphic version or egg hunter from http://shell-storm.org/shellcode/files/shellcode-839.php ; 57 bytes (original size 38 bytes) ; Guillaume Kaddouch ; SLAE-681 global _start section .text _start: xor eax, eax ; zero out eax xor edx, edx ; zero out edx cld ; clear DF flag xor ecx,ecx ; zero out ec...
; A328985: First differences of A328984. ; Submitted by Simon Strandgaard ; 2,4,-2,6,-3,9,-7,11,-8,14,-12,16,-13,19,-17,21,-18,24,-22,26,-23,29,-27,31,-28,34,-32,36,-33,39,-37,41,-38,44,-42,46,-43,49,-47,51,-48,54,-52,56,-53,59,-57,61,-58,64,-62,66,-63,69,-67,71,-68,74 mov $3,2 mov $6,$0 lpb $3 sub $3,1 add $0,$3 ...
; A047477: Numbers that are congruent to {0, 5, 7} mod 8. ; 0,5,7,8,13,15,16,21,23,24,29,31,32,37,39,40,45,47,48,53,55,56,61,63,64,69,71,72,77,79,80,85,87,88,93,95,96,101,103,104,109,111,112,117,119,120,125,127,128,133,135,136,141,143,144,149,151,152,157,159,160,165,167,168,173,175,176,181,183,184,189,191,192,197,199,2...
; A081189: 7th binomial transform of (1,0,1,0,1,...), A059841. ; 1,7,50,364,2696,20272,154400,1188544,9228416,72147712,567104000,4476365824,35448129536,281408253952,2238205337600,17827278536704,142148043309056,1134363236564992,9057979233075200,72362273907933184,578288831523454976,4622654493747576832,3695929899934023680...
; PROLOGUE(mpn_iorn_n) ; mpn_iorn_n ; Copyright 2009 Jason Moxham ; This file is part of the MPIR Library. ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Free Software Foundation; either verdxon 2.1...
; A033931: a(n) = lcm(n,n+1,n+2). ; 6,12,60,60,210,168,504,360,990,660,1716,1092,2730,1680,4080,2448,5814,3420,7980,4620,10626,6072,13800,7800,17550,9828,21924,12180,26970,14880,32736,17952,39270,21420,46620,25308,54834,29640,63960,34440,74046,39732,85140,45540,97290,51888,110544,58800,124950,66300,140556,74412,157410,...
#if !defined(BALSA_VISUALIZATION_VULKAN_FILM_HPP) #define BALSA_VISUALIZATION_VULKAN_FILM_HPP #include <vector> #include <vulkan/vulkan_core.h> #include <vulkan/vulkan.hpp> #include <glm/vec2.hpp> #define USE_VULKAN_HPP namespace balsa::visualization::vulkan { namespace objects { class Node; } class Film { pub...
/* * Copyright 2019 Xilinx, 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...
Name: ys_enmy11.asm Type: file Size: 59933 Last-Modified: '2016-05-13T04:51:16Z' SHA-1: 756436BFEF912B3C9A91FC35764B730BB8E5C8E1 Description: null
; A267845: Triangle read by rows giving successive states of cellular automaton generated by "Rule 227" initiated with a single ON (black) cell. ; 1,1,0,0,1,1,0,1,0,1,1,1,1,0,1,0,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1...
PUBLIC AsmStiInstruction PUBLIC AsmCliInstruction PUBLIC AsmGetRflags PUBLIC AsmReloadGdtr PUBLIC AsmReloadIdtr .code _text ;------------------------------------------------------------------------ AsmStiInstruction PROC PUBLIC sti ret AsmStiInstruction ENDP ;--------------------------------------...
; AtieDOS 2.10 Screen System Calls ; Copyright (c) 2020 AtieSoftware. ; See LICENSE in root folder ; Clears the screen ; IN: Nothing ; OUT: Nothing os_clear_screen: pusha mov ax, 0x03 int 10h popa ret ; Gets cursor position ; IN: Nothing ; OUT: AX = 0, CH = Start of the scan line, CL = End of...
;;; Apple II audit routines ;;; Copyright © 2016 Zellyn Hunter <zellyn@gmail.com> !convtab <apple ii/convtab.bin> !to "audit.o", plain * = $6000 START = * ;; Major version number VER_MAJOR = 1 VER_MINOR = 6 ;; Zero-page locations. SCRATCH = $1 SCRATCH2 = $2 SCRATCH3 = $3 LCRESULT = $10 LCRESULT1 = $11 ...
; int obstack_printf(struct obstack *obstack, const char *format, ...) SECTION code_clib SECTION code_stdio PUBLIC obstack_printf EXTERN asm_obstack_printf defc obstack_printf = asm_obstack_printf
; A144204: Array A(k,n) = (n+k-2)*(n-1) - 1 (k >= 1, n >= 1) read by antidiagonals. ; -1,-1,0,-1,1,3,-1,2,5,8,-1,3,7,11,15,-1,4,9,14,19,24,-1,5,11,17,23,29,35,-1,6,13,20,27,34,41,48,-1,7,15,23,31,39,47,55,63,-1,8,17,26,35,44,53,62,71,80,-1,9,19,29,39,49,59,69,79,89,99,-1,10,21,32,43,54,65,76,87 lpb $0 sub $0,1 add...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1e08c, %rsi lea addresses_UC_ht+0x3609, %rdi add %rbx, %rbx mov $32, %rcx rep movsl nop nop nop nop nop cmp %r12, %r12 lea addresses_D_ht+0x17489, %rbp nop xor %r13, %r13 mov...
; ; 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: ozactivatedisplaypage.asm,v 1.2 2015/01/19 01:33:01 pauloscustodio Exp $ ; PUBLIC ozactivatedisplaypage EXTERN ozactivepage ...
; Substitute for z80 rld instruction ; aralbrec 06.2007 IF !__CPU_8080__ && !__CPU_8085__ SECTION code_crt0_sccz80 PUBLIC __z80asm__rld .__z80asm__rld jr nc, dorld call dorld scf ret .dorld rlca rlca rlca rlca ; a = bits 32107654 sla a rl (hl) adc ...
; PROLOGUE(mpn_mul_1) ; Copyright 2010 Jason Moxham ; ; Windows Conversion Copyright 2010 Brian Gladman ; ; This file is part of the MPIR Library. ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Free Sof...
; A065949: Bessel polynomial {y_n}'''(0). ; 0,0,0,90,630,2520,7560,18900,41580,83160,154440,270270,450450,720720,1113840,1670760,2441880,3488400,4883760,6715170,9085230,12113640,15939000,20720700,26640900,33906600,42751800,53439750,66265290,81557280,99681120,121041360,146084400,175301280,209230560,248461290,293636070,3...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1ea3c, %rbx nop nop nop sub %r11, %r11 movb $0x61, (%rbx) nop nop nop cmp %rdx, %rdx lea addresses_D_ht+0x4488, %rsi lea addresses_normal_ht+0x7ea8, %rdi nop nop and %rbp...
SECTION code_compiler GLOBAL _dyncode_zx_romcall GLOBAL _zx_romcall GLOBAL _jump_hl ;;; _dyncode_zx_romcall runs arbitary code that has been pushed onto ;;; the stack, falling through into _zx_romcall (described below) ;;; which does the heavy lifting. ;;; ;;; On entry: stack has: .... code .... start, return a...
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
;****************************************************************************** ;* LL_ASR32.ASM - 32 BIT STATE - * ;* * ;* Copyright (c) 1996 Texas Instruments Incorporated * ...
; A002884: Number of nonsingular n X n matrices over GF(2); order of Chevalley group A_n (2); order of projective special linear group PSL_n(2). ; Submitted by Jamie Morken(s1.) ; 1,1,6,168,20160,9999360,20158709760,163849992929280,5348063769211699200,699612310033197642547200,366440137299948128422802227200,768105432118...
global _main extern _printf section .text MACHO_EXIT equ 0x2000001 MACHO_READ equ 0x2000003 MACHO_WRITE equ 0x2000004 STDIN equ 0 STDOUT equ 1 DAYS equ 256 num_format: db "%llu", 10, 0 read_error_msg: db "read() error", 10 .len: equ $ - read_error_msg invalid_timer_msg: db ...
//===- Thumb2InstrInfo.cpp - Thumb-2 Instruction Information --------------===// // // 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 // //===---------------------------...
// Copyright (c) 2020-2021 The Eleccoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <interfaces/chain.h> #include <policy/fees.h> #include <policy/policy.h> #include <util/moneystr.h> #include <util/...
lans_room_start_pikachu_battle: push r14 ldr r0, =lans_room_pikachu_battle mov r1, 0x01 bl ow_begin_battle mov r0,0x2C mov r1,0x10 bl screen_transition_begin mov r0, 0x00 pop r15 .pool ;eof
; int tape_load_block(void *addr, size_t len, unsigned char type) ; CALLER linkage for function pointers PUBLIC tape_load_block PUBLIC _tape_load_block EXTERN tape_load_block_callee EXTERN asm_tape_load_block .tape_load_block ._tape_load_block pop hl pop bc ld a,c pop de pop ix push hl push de ...
#ifdef USE_OPENCV #include <opencv2/core/core.hpp> #endif // USE_OPENCV #include <stdint.h> #include <vector> #include "caffe/data_transformer.hpp" #include "caffe/layers/data_layer.hpp" #include "caffe/util/benchmark.hpp" namespace caffe { template <typename Dtype> DataLayer<Dtype>::DataLayer(const LayerParameter...
/* The MIT License (MIT) Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus 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 limitatio...
;***************************************************************************** ;* MMX/SSE2/AVX-optimized 10-bit H.264 weighted prediction code ;***************************************************************************** ;* Copyright (C) 2005-2011 x264 project ;* ;* Authors: Daniel Kang <daniel.d.kang@gmail.com> ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x58b5, %rsi lea addresses_A_ht+0xeb5, %rdi nop dec %r11 mov $78, %rcx rep movsl sub %rax, %rax lea addresses_D_ht+0x1225d, %rsi lea addresses_D_ht+0x104b5, %rdi clflush (%rsi) nop nop a...
_AnimateTileset:: ; Iterate over a given pointer array of ; animation functions (one per frame). ; Typically in wra1, vra0 ld a, [wTilesetAnim] ld e, a ld a, [wTilesetAnim + 1] ld d, a ldh a, [hTileAnimFrame] ld l, a inc a ldh [hTileAnimFrame], a ld h, 0 add hl, hl add hl, hl add hl, de ; 2-byte parame...
/* $Id: AliPhysicsSelection.cxx 35782 2009-10-22 11:54:31Z jgrosseo $ */ /************************************************************************** * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALI...
#include <Arduino.h> #include "display_service.h" #include "file_service.h" #include "keypad_service.h" #include "meal.h" #include "rail_point.h" #include "string.h" #include "config.h" const ConfigurationSource configSource = SDCard; AppConfig & AppConfig::getInstance() { static AppConfig instance; // Guara...
; A036127: a(n) = 5^n mod 47. ; 1,5,25,31,14,23,21,11,8,40,12,13,18,43,27,41,17,38,2,10,3,15,28,46,42,22,16,33,24,26,36,39,7,35,34,29,4,20,6,30,9,45,37,44,32,19,1,5,25,31,14,23,21,11,8,40,12,13,18,43,27,41,17,38,2,10,3,15,28,46,42,22,16,33,24,26,36,39,7,35,34,29,4,20,6,30,9,45,37,44,32,19,1,5,25,31,14,23,21,11,8,40,12,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xf449, %r13 nop nop sub %r9, %r9 vmovups (%r13), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $1, %xmm1, %rax nop nop nop xor $4592, %r14 lea addresses_WT_ht+0x1a...
#include <iostream> int main() { const size_t MAX_ARRAY_SIZE = 1000; size_t array[MAX_ARRAY_SIZE]; size_t N = 0u; std::cin >> N; for (size_t i = 0; i < N; ++i) { std::cin >> array[N - 1 - i]; } for (size_t i = 0; i < N; ++i) { std::cout << array[i] << " "; } ...
; Copyright © 2018, VideoLAN and dav1d authors ; Copyright © 2018, Two Orioles, LLC ; 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 copy...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1c6e7, %rdi nop sub $39388, %r15 mov $0x6162636465666768, %rax movq %rax, %xmm2 movups %xmm2, (%rdi) nop nop nop nop and %r9, %r9 lea addresses_A_ht+0xfde7, %r9 nop nop nop no...
/* --------------------------------------------------------------------------------- Implementation file of Bookmark class Copyright (c) 2011-2013 AnS (The MIT License) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")...
#include "dt/vector2.h" //Vector2::Vector2(const double vx, const double vy) : // x(vx), y(vy) //{} // //double //Vector2::dist2(const Vector2 &v) const //{ // const double dx = x - v.x; // const double dy = y - v.y; // return dx * dx + dy * dy; //} // //double //Vector2::dist(const Vector2 &v) const //{ // return hyp...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0xc61e, %rcx clflush (%rcx) nop nop nop dec %r11 movb $0x61, (%rcx) nop nop xor %r15, %r15 lea addresses_normal_ht+0x1da5e, %rax nop nop nop nop sub %r13, %r13 mov (%rax), %rd...
;; ;; Copyright (c) 2012-2018, 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 (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ReadTr.Asm ; ; Abstract: ; ; AsmReadTr function ; ; Notes: ; ;-----------------------...
setrepeat 2 frame 0, 09 frame 5, 09 dorepeat 1 endanim
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Threadi...
; A213589: Antidiagonal sums of the convolution array A213587. ; Submitted by Christian Krause ; 1,6,20,55,135,308,668,1395,2830,5610,10914,20904,39515,73860,136720,250937,457137,827260,1488190,2662905,4741946,8407236,14846100,26120400,45801925,80064018,139553708,242597035,420678315,727792580,1256386544,2164493199,3721...
# # Write a program that inputs two integer values x and y # and prints first the smallest of them and then the largest of them. # .data pleaser_x: .string "Please, input an integer x: " pleaser_y: .string "Please, input an integer y: " caller_min: .string " is the smallest integer among x and y" caller_max: .st...
#include <Arduino.h> #include "fido2/authenticator/authenticator.h" #include "crypto/crypto.h" namespace FIDO2 { namespace Authenticator { FIDO2::CTAP::Status processRequest(const FIDO2::CTAP::Request::GetAssertion *request, std::unique_ptr<FIDO2::CTAP::Command> &response) { Seria...
; STC 1 - SET CARRY FLAG ; Assembler for MikeOS (https://github.com/leonardo-ono/asm4mo) ; Example written by Leonardo Ono (ono.leo@gmail.com) ; 08/02/2012 16:07 ; clc ; clear carry flag stc ; set carry flag jc cset cnotset: mov si, c_flag_notset jmp print cset: mov si, c_flag_set jmp print pr...
; A122695: Number of edges in the n-th Mycielski graph. ; Submitted by Christian Krause ; 0,0,1,5,20,71,236,755,2360,7271,22196,67355,203600,613871,1847756,5555555,16691240,50122871,150466916,451597355,1355185280,4066342271,12200599676,36604944755,109821125720,329475960071,988453046036,2965409469755,8896329072560,26689...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2019 ArangoDB GmbH, Cologne, Germany /// /// 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...
/* * Copyright (C) 2018 Metrological Group B.V. * Copyright (C) 2018 Igalia S.L. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the L...
; A120199: a(1)=6; a(n)=floor((53+sum(a(1) to a(n-1)))/8). ; 6,7,8,9,10,11,13,14,16,18,20,23,26,29,32,36,41,46,52,58,66,74,83,93,105,118,133,150,168,189,213,240,270,303,341,384,432,486,547,615,692,778,876,985,1108,1247,1403,1578,1775,1997,2247,2528,2844,3199,3599,4049,4555,5124,5765,6485,7296,8208,9234,10388,11687,1314...
; Concatenate list of files for QDOS job ; ; This requires the main routine of the job to have ; ; strict section ordering ; base the QDOS "special job" header ; special empty for the special job code here ; main the m...
; A222466: Decimal expansion of the limit of the continued fraction 1/(1+2/(2+2/(3+2/(4+... in terms of Bessel functions. ; Submitted by Christian Krause ; 5,6,3,1,7,8,6,1,9,8,1,1,7,1,1,3,8,5,4,2,5,7,5,2,9,0,3,7,0,3,5,6,3,5,5,3,2,7,6,0,5,2,2,5,4,8,6,4,0,4,3,4,9,2,4,1,2,9,8,4,8,2,1,9,0,9,7,7,6,9,0,4,4,0,7,6,2,4,6,0,3,0,...
############################################################################### # 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...
_TEXT SEGMENT asm PROC MOV EAX, 7 RET asm ENDP END
; A091435: Array T(n,k) = n*(n+k), read by antidiagonals. ; 0,1,0,4,2,0,9,6,3,0,16,12,8,4,0,25,20,15,10,5,0,36,30,24,18,12,6,0,49,42,35,28,21,14,7,0,64,56,48,40,32,24,16,8,0,81,72,63,54,45,36,27,18,9,0,100,90,80,70,60,50,40,30,20,10,0,121,110,99,88,77,66,55,44,33,22,11,0,144,132,120,108,96,84,72,60,48,36,24,12,0,169,15...
; ; Spectrum C Library ; ; ANSI Video handling for ZX Spectrum ; ; Text Attributes ; m - Set Graphic Rendition ; ; The most difficult thing to port: ; Be careful here... ; ; Stefano Bodrato - Apr. 2000 ; ; ; $Id: f_ansi_attr.asm,v 1.6 2016-04-04 18:31:23 dom Exp $ ; SECTION code_clib PUBLIC ansi_attr EXTER...
.MODEL SMALL .STACK 100H .DATA MSG1 DB 13, 10, "ENTER A NUMBER: $" MSG2 DB 13, 10, "SMALLEST: $" .CODE MAIN PROC MOV AX, @DATA MOV DS, AX LEA DX, MSG1 MOV AH, 9 INT 21H MOV AH, 1 INT 21H MO...
;-------------------------------------------------------- ; File Created by SDCC : FreeWare ANSI-C Compiler ; Version 2.3.1 Sat Apr 4 17:03:03 2015 ;-------------------------------------------------------- .module gprint ;-------------------------------------------------------- ; Public variables in this module ;-...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // -*- c++ -*- #include "VectorTransform.h" #include <cstdio> #include <cmath> #include <cstring> #include "utils.h" #include "...
start: set r2 3 set r3 5 mul r4 r2 r3 set r2 20 add r3 r2 r4 set r2 0 store r2 r3 set r2 0 load r2 r2 writenumber r2 stop
/* **============================================================================== ** ** Copyright (c) Microsoft Corporation. All rights reserved. See file LICENSE ** for license information. ** **============================================================================== */ #include <nits/base/Globals.h> #ifdef ...
; Small C+ Math Library ; General "fudging routine" XLIB addhalf LIB hladd .addhalf ld hl,half jp hladd .HALF DEFB 0,0,0,0,0,$80 ;0.5
// Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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...
// Copyright (c) 2009-2016 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 "checkpoints.h" #include "chain.h" #include "chainparams.h" #include "uint256.h" #include "validation.h" #include ...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" #include "extern/beatsaber-hook/s...
;; ;; Copyright (c) Microsoft. All rights reserved. ;; Licensed under the MIT license. See LICENSE file in the project root for full license information. ;; .586 .model flat option casemap:none .code include AsmMacros.inc ifdef FEATURE_DYNAMIC_CODE ;; ;; Defines an assembly thunk ...
// // Chore.hpp // v9 // // Created by Gavin Trebilcock, Josh Lieshout, Max Newall and Shaye Mckay on 5/24/17. // Copyright © 2017 Max Newall. All rights reserved. // #ifndef Chore_hpp #define Chore_hpp #include <stdio.h> #include <string> using namespace std; class Chore { public: bool isComplete; str...
; A214860: First differences of round(n*sqrt(3)) (A022847). ; 2,1,2,2,2,1,2,2,2,1,2,2,2,1,2,2,1,2,2,2,1,2,2,2,1,2,2,1,2,2,2,1,2,2,2,1,2,2,2,1,2,2,1,2,2,2,1,2,2,2,1,2,2,2,1,2,2,1,2,2,2,1,2,2,2,1,2,2,2,1,2,2,1,2,2,2,1,2,2,2,1,2,2,1,2,2,2 mov $3,2 mov $4,$0 lpb $3,1 mov $0,$4 sub $3,1 add $0,$3 sub $0,1 mov $7,...
lda #$80 sta SONG_TICK_COUNTER lda #$00 sta audctl sta skctl lda #%11 sta skctl lda #$ff sta SONG_Ofs ldy #$00 SFX_INIT_registers_loop lda #$ff sta SFX_CHANNELS_ADDR+_sfxPtrLo,y sta SFX_CHANNELS_ADDR+...
#include <iostream> #include <cstdio> #include <cstring> using namespace std; const static int MAXN = 1e5 + 50; int head[MAXN], _next[MAXN << 1], ver[MAXN << 1], edge[MAXN], tot; int len[MAXN][2], cost[MAXN], dp[MAXN]; void add(int u, int v, int w) { ver[++tot] = v; edge[tot] = w; _next[tot] = head[u]; ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x403a, %rsi lea addresses_UC_ht+0x1853a, %rdi nop nop nop nop add %r12, %r12 mov $40, %rcx rep movsb nop nop nop add $35051, %rbp lea addresses_UC_ht+0xcf3a, %rsi lea addresses_WC_...
; A002239: 9th powers written backwards. ; 0,1,215,38691,441262,5213591,69677001,70635304,827712431,984024783,1,1967497532,2530879515,37399440601,48764016602,57395334483,63767491786,794678785811,863092953891,977796786223,215,185640082497,2977129627021,3641662511081,4220457081462,5265627964183,6798763059245,789484795526...