text
stringlengths
1
1.05M
; A115001: Sum_{k=1}^n J_2(k)/24. ; Submitted by Christian Krause ; 1,2,3,5,7,10,13,18,22,29,35,43,51,63,72,87,99,115,130,152,168,193,214,241,265,300,324,364,396,436,472,520,556,613,658,714,762,832,880,957,1017,1089,1155,1247,1311,1409 lpb $0 mov $2,$0 sub $0,1 add $2,2 seq $2,114 ; Number of cusps of principa...
#include "constants.h" #include "token.h" #include <llvm/Support/Casting.h> #include <iostream> Token Constants::IntConstDecl::Translate() const { return Token(Token::Integer, loc, value); } void Constants::IntConstDecl::dump() const { std::cerr << "IntConstDecl: " << Value() << std::endl; } Token Constants...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 11, 0 sdk_version 11, 1 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp ; Stack unwinding directives are here for some reason is st...
#ifndef OPENPOSE_FACE_FACE_DETECTOR_HPP #define OPENPOSE_FACE_FACE_DETECTOR_HPP #include <openpose/core/common.hpp> #include <openpose/pose/enumClasses.hpp> namespace op { class OP_API FaceDetector { public: explicit FaceDetector(const PoseModel poseModel); virtual ~FaceDetector(); ...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
#pragma once #include <cstdint> #include <istream> #include <string> #include "shiguredo/mp4/box.hpp" #include "shiguredo/mp4/box_type.hpp" namespace shiguredo::mp4::box { const std::uint32_t UrnSelfContainedFlags = 0x000001; struct UrnParameters { const std::uint8_t version = 0; const std::uint32_t flags = 0x...
/* Q Light Controller Plus editorview.cpp Copyright (c) Massimo Callegari 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.txt Unless...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 62 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %37 OpExecutionMode %4 OriginUp...
; A212753: Number of (w,x,y,z) with all terms in {0,...,n} and at least one of these conditions holds: w<R, x<R, y>R, z>R, where R = max{w,x,y,z} - min{w,x,y,z}. ; 0,12,69,228,568,1192,2225,3816,6136,9380,13765,19532,26944,36288,47873,62032,79120,99516,123621,151860,184680,222552,265969,315448,371528,434772,505765,5851...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 8 ; Bound: 3716 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %55 %158 OpExecutionMode %4 Or...
;TODO: Tidy code, Add keyboard input at prompt. set c,0x0ba0 :start set i,0 :setbordertop set [0x8000+i],c add i,1 ife i,0x20 set i,0x160 ife i,0x180 set pc,bordertopdone set pc,setbordertop :bordertopdone set i,0x0020 :borderside set [0x8000+i],c add i,0x20 ife i ,0x180 set pc,right ife i ,0x17f set pc,clrmainscreen s...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2016-2017 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txmempool.h" #include "clien...
;; TCP echo server using x86_64 Linux syscalls ;; Assemble and link as follows: ;; nasm -f elf64 -o server.o server.asm ;; ld server.o -o server ;; ;; global _start ;; Data definitions struc sockaddr_in .sin_family resw 1 .sin_port resw 1 .sin_addr resd 1 .sin_zero resb 8 endstruc se...
; A069624: Number of different values taken by the integer part of n^(1/k) for all k > 1. ; 1,1,1,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5 mov $1,1 lpb $0 ...
SECTION code_fp_math48 PUBLIC ___slong2fs_callee EXTERN cm48_sdccixp_slong2ds_callee defc ___slong2fs_callee = cm48_sdccixp_slong2ds_callee
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Microsoft Research Singularity ;;; ;;; Copyright (c) Microsoft Corporation. All rights reserved. ;;; ;;; This file contains x86-specific assembly code related to context save and restore. ;;; The key goal here i...
; A174565: Expansion of (1+3*x)/((1-x)*(1+3*x+4*x^2)). ; 1,1,-3,9,-11,1,45,-135,229,-143,-483,2025,-4139,4321,3597,-28071,69829,-97199,12285,351945,-1104971,1907137,-1301523,-3723975,16378021,-34238159,37202397,25345449,-224845931,573156001,-820084275,167628825,2777450629,-9002867183 mul $0,2 mov $1,1 mov $2,2 lpb $0 ...
#import "../common/cia1_regs.asm" #import "../common/cia2_regs.asm" start: sei jsr init_screen jsr init_sprite set_irq: ClearIntMask() lda #$01 sta VIC_INT_EN lda #<irq ldx #>irq sta $0314 stx $0...
; A195320: 7 times hexagonal numbers: 7*n*(2*n-1). ; 0,7,42,105,196,315,462,637,840,1071,1330,1617,1932,2275,2646,3045,3472,3927,4410,4921,5460,6027,6622,7245,7896,8575,9282,10017,10780,11571,12390,13237,14112,15015,15946,16905,17892,18907,19950,21021,22120,23247,24402,25585,26796,28035,29302,30597,31920,33271,34650,36...
.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_normal_ht+0xb7a9, %rdi nop nop nop nop nop cmp %r9, %r9 movb (%rdi), %r14b nop nop and %rbp, %rbp lea addresses_WC_ht+0xf149, %rsi lea addresses_WT_ht+0x92e9, %rdi nop and %r10, %r10 ...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 15/10/98 ; ; ; Page the graphics bank in/out - used by all gfx functions ; Simply does a swap... ; ; ; $Id: swapgfxbk.asm,v 1.5 2017-01-02 22:57:59 aralbrec Exp $ ...
PokemonTower6FWildMons: def_grass_wildmons 15 ; encounter rate db 31, GASTLY db 32, GASTLY db 33, GASTLY db 34, GASTLY db 30, GASTLY db 29, GASTLY db 36, HAUNTER db 32, CUBONE db 34, CUBONE db 38, HAUNTER end_grass_wildmons def_water_wildmons 0 ; encounter rate end_water_wildmons
frame 4, 06 frame 0, 06 frame 4, 06 frame 0, 06 frame 4, 06 endanim
;------------------------------------------------------------------------------- ; stdlib.nasm - standard library routines. ;------------------------------------------------------------------------------- module libc.stdlib %include "cpu/paging.ah" %include "locstor.ah" %include "lib/stdlib.ah" exportproc _ldiv, _ma...
; A037250: a(n) = n^2*(n^2 + 1)*(n-1). ; 0,0,20,180,816,2600,6660,14700,29120,53136,90900,147620,229680,344760,501956,711900,986880,1340960,1790100,2352276,3047600,3898440,4929540,6168140,7644096,9390000,11441300,13836420,16616880,19827416,23516100,27734460,32537600,37984320,44137236,51062900,58831920,67519080,77203460...
; A097163: Expansion of (1+x-x^2)/((1-x)*(1-4*x^2)). ; 1,2,5,9,21,37,85,149,341,597,1365,2389,5461,9557,21845,38229,87381,152917,349525,611669,1398101,2446677,5592405,9786709,22369621,39146837,89478485,156587349,357913941,626349397,1431655765,2505397589 mov $1,1 mov $2,7 lpb $0,1 sub $0,1 mov $3,3 mov $4,$1 mo...
; $Id: ASMBitLastSetU32.asm $ ;; @file ; IPRT - ASMBitLastSetU32(). ; ; ; Copyright (C) 2006-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 and/or modify it under the terms of th...
; sums 5 bytes from data segment and writes the sum on the 6th byte. ; sums 10 bytes from extra segment and writes the sum on the 11th byte. ;------------ ; stack segment : STSEG SEGMENT DB 64 DUP (?) STSEG ENDS ;------------ ; data segment : DTSEG SEGMENT ; place program data here INPUT_D DB 10H, 20H, 30H, 40H, ...
# Dan Ellard # larger.asm-- An Ant-32 program that finds the larger of two numbers # stored in registers g1 and g2, and copies it into g0. # g0 - the result. # g1 - the first number. # g2 - the second number. # g3 - the result of comparing g1 and g2. # g4 - the address of the label "g2_larger" # g5 - the address ...
; A187971: Positions of 1 in A187969; complement of A187970. ; 2,7,12,14,19,24,26,31,36,41,43,48,53,55,60,65,70,72,77,82,84,89,94,96,101,106,111,113,118,123,125,130,135,140,142,147,152,154,159,164,166,171,176,181,183,188,193,195,200,205,210,212,217,222,224,229,234,239,241,246,251,253,258,263,265,270,275,280,282,287,292...
//== PseudoConstantAnalysis.cpp - Find Pseudoconstants in the AST-*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
; ; Sorcerer Exidy pseudo graphics routines ; Version for the 2x3 graphics symbols (UDG redefined) ; ; swapgfxbk () -- foo routine for fake swapping ; ; Stefano Bodrato - 2014 ; ; ; $Id: swapgfxbk.asm,v 1.4 2017-01-02 22:57:59 aralbrec Exp $ ; SECTION code_clib PUBLIC...
// Copyright, 2020, Savvy Sine, Aline Normoyle #include "agl/mesh/triangle_mesh.h" #include <iostream> using glm::vec4; namespace agl { void TriangleMesh::initBuffers( std::vector<GLuint> * indices, std::vector<GLfloat> * points, std::vector<GLfloat> * normals, std::vector<GLfloat> * texCoords, std::vector...
section .text global _start ;must be declared for linker (ld) _syscall: int 0x80 ;system call ret _start: ;tell linker entry point push dword len ;message length push dword msg ;message to write push dword 1 ;file descriptor (stdout) mov eax,0x4 ;system call number (sys_write) call _syscall ;cal...
/* * Copyright (c) 2017, 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 rights to use, copy, modify, merge, publi...
CeladonGymObject: db $3 ; border block db $2 ; warps db $11, $4, $6, $ff db $11, $5, $6, $ff db $0 ; signs db $8 ; objects object SPRITE_ERIKA, $4, $3, STAY, DOWN, $1, OPP_ERIKA, $1 object SPRITE_LASS, $2, $b, STAY, RIGHT, $2, OPP_LASS, $11 object SPRITE_FOULARD_WOMAN, $7, $a, STAY, LEFT, $3, OPP_BEAUTY, $1...
; A133684: a(2n) = A001045(n); a(1)=1; a(2n+1) = 2*A001045(n-1) for n >= 1. ; Submitted by Christian Krause ; 0,1,1,0,1,2,3,2,5,6,11,10,21,22,43,42,85,86,171,170,341,342,683,682,1365,1366,2731,2730,5461,5462,10923,10922,21845,21846,43691,43690,87381,87382,174763,174762,349525,349526,699051,699050,1398101,1398102,279620...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2018 Intel Corporation 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 so...
;--- Sample MSX-UNAPI specificationless application ; By Konami Man, 5-2019 ; ; This code implements a simple TSR that makes the CAPS led to blink, ; by hooking on the timer interrupt. It offers just one functions: ; Function 1: Set the blink rate ; ; The code installs on a mapped RAM segment. ...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\struct-align.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC ___local_stdio_printf_options PUBLIC ___local_stdio_scanf_option...
user/_kill: 文件格式 elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: #include "kernel/stat.h" #include "user/user.h" int main(int argc, char **argv) { 0: 1101 addi sp,sp,-32 2: ec06 sd ra,24(sp) 4: e822 sd s0,16(sp) 6: e426 ...
%include "defs.asm" ;************************* strcpy64.asm ************************************ ; Author: Agner Fog ; Date created: 2008-07-19 ; Last modified: 2011-07-01 ; Description: ; Faster version of the standard strcpy function: ; char * A_strcpy(char * dest, const char * src); ; Copi...
; A328683: Positive integers that are equal to 99...99 (repdigit with n digits 9) times the sum of their digits. ; 81,1782,26973,359964,4499955,53999946,629999937,7199999928,80999999919,899999999910,9899999999901,107999999999892,1169999999999883,12599999999999874,134999999999999865,1439999999999999856,15299999999999999...
; A195159: Multiples of 7 and odd numbers interleaved. ; 0,1,7,3,14,5,21,7,28,9,35,11,42,13,49,15,56,17,63,19,70,21,77,23,84,25,91,27,98,29,105,31,112,33,119,35,126,37,133,39,140,41,147,43,154,45,161,47,168,49,175,51,182,53,189,55,196,57,203,59,210,61,217,63,224,65,231,67,238,69,245,71,252,73,259,75,266,77,273,79,280,8...
; A131870: Period 8: repeat [1, 2, 3, 4, 6, 7, 8, 9]. ; 1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4,6,7,8,9,1,2,3,4 mod $0,8 mul $0,5 div $0,4 add $0,1
; ************ DESCRIZIONE SOTTOPROGRAMMA ************ Il seguente sottoprogramma denominato ANALIZZA_COPPIA riceve nei registri R0 e R1 due numeri a 16 bit in complemento a 2. Il sottoprogramma inoltre, restituisce: - nel registro R0 il valore 0 se i due numeri sono concordi, il valore 1 se sono discordi; - nel regis...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
bits 64 movupd xmm7,xmm13 movsd xmm7,xmm13 movupd xmm13,xmm7 movsd xmm13,xmm7 movlpd xmm7,[rbx] movlpd [rbx],xmm7 unpcklpd xmm7,xmm13 unpckhpd xmm7,xmm13 ...
#include "AppDelegate.h" #include "cocos2d.h" #include "platform/android/jni/JniHelper.h" #include <jni.h> #include <android/log.h> #include "ide-support/SimpleConfigParser.h" #include "ide-support/CodeIDESupport.h" #define LOG_TAG "main" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS_...
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : comparison.asm ; Purpose : Comparison operators (integer and string) ; Date : 2nd June 2019 ; Author : paul@robs...
; A211005: Pair (i, j) where i = number of adjacent nonprimes and j = number of adjacent primes. ; Submitted by Christian Krause ; 1,2,1,1,1,1,3,1,1,1,3,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,3,1,5,1,5,1,1,1,5,1,3,1,1,1,5,1,3,1,5,1,7,1,3,1,1,1,3,1,1,1,3,1,13,1,3,1,5,1,1,1,9,1,1,1,5,1,5,1,3,1,5,1,5,1,1,1,9,1,1,1,3,1,1,1,11,1,11,...
; A245920: Limit-reverse of the (2,1)-version of the infinite Fibonacci word A014675 with first term as initial block. ; 2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2...
OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' ALIGN 16 _mul_1x1 PROC PRIVATE sub rsp,128+8 mov r9,-1 lea rsi,QWORD PTR[rax*1+rax] shr r9,3 lea rdi,QWORD PTR[rax*4] and r9,rax lea r12,QWORD PTR[rax*8] sar rax,63 lea r10,QWORD PTR[r9*1+r9] sar rsi,63 lea r11,QWORD PTR[r9*4] and rax,rbp sar rdi,63 mov ...
;/*! ; @file ; ; @brief Mouse Router ; ; (c) osFree Project 2018-2022, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS and OS/2 ; ; @author Yuri Prokushev (yuri.prokushev@gmail.com) ; ;*/ .8086 ; Helpers INCLUDE ...
#include "style_guide.h"
/** * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * * 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 b...
.data .name size 6 .name_max 4 .name_pointer 0 .question string 'What is your name? (5 letters)\n' .hello string 'Hello, ' .nl string '\n' .text .global main: get_name: mvi a, 1 ; load a with the the stdin call code sys ; get a character of stdin, place into b mvi d...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r8 push %r9 push %rdx lea addresses_A_ht+0xa1f4, %rdx clflush (%rdx) nop xor $53669, %r9 movb (%rdx), %r14b nop nop nop nop dec %r13 lea addresses_WC_ht+0xffe4, %r8 nop nop nop nop inc %r14 movw $0x6162, (%r8) nop xor $36485, %r14 pop %rdx...
.model small .stack 100h .data msg1 db 'all the ascii charecters $' .code main proc mov ax, @data mov ds, ax lea dx,msg1 mov ah,9 int 21h mov ah,2 mov dl,0Dh int 21h mov dl,0Ah int 21h mov dl,0 mov cx,255 program_loop: int 21h inc dl dec cx jnz progra...
#include <stdio.h> #include "Deposit.hpp" void PrintDeposit(const char *psz, Deposit *deposit) { printf("%s:\t %s, %s, Deposited %.02f\n", psz, deposit->last, deposit->first, deposit->balance ); } void ReadDeposit(Deposit *deposit) { if(deposit == NULL) { puts("Error 101: Null Pointer."); return; }...
;Develop and execute an ALP to compute factorial of a positive integer ;number using recursive procedure. NAME Comprehensive TITLE fact ASSUME CS:CODE,DS:DATA DATA SEGMENT NUM DW 0006H FACT DW ? DATA ENDS CODE SEGMENT START: MOV AX,DATA MOV DS,AX MOV AX,01H MOV BX,NUM CMP BX,0000...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rbp push %rbx push %rdx push %rsi lea addresses_WT_ht+0x8df, %r13 nop xor %r15, %r15 mov (%r13), %rbp dec %r12 lea addresses_UC_ht+0x15eb7, %r13 nop nop cmp %rsi, %rsi mov $0x6162636465666768, %r12 movq %r12, (%r13) nop nop nop nop sub %rs...
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
; test and development program for the UART routines in general ; and for the monitor's io_library in particular ; done by vaxman, sy2002 in August 2015 .ORG 0x8000 #include "../monitor/sysdef.asm" MOVE 0x8400, SP ; setup stack pointer MOVE IO$TIL_BAS...
// Copyright (c) 2009-2014 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 "pubkey.h" #include <secp256k1.h> #include <secp256k1_recovery.h> namespace { /* Global secp256k1_context object us...
; size_t w_array_insert(w_array_t *a, size_t idx, void *item) SECTION code_adt_w_array PUBLIC w_array_insert_callee w_array_insert_callee: pop hl pop de pop bc ex (sp),hl INCLUDE "adt/w_array/z80/asm_w_array_insert.asm"
#include <boost/graph/king_ordering.hpp>
; A216477: The sequence of the parts in the partition binary diagram represented as an array. ; Submitted by Jamie Morken(s3) ; 1,2,1,3,1,4,2,1,5,2,1,6,3,2,1,7,3,2,1,8,4,3,2,1,9,4,3,2,1,10,5,4,3,2,1,11,5,4,3,2,1,12,6,5,4,3,2,1,13,6,5,4,3,2,1,14,7,6,5,4,3,2,1,15,7,6,5,4,3,2,1,16,8,7,6,5,4,3,2,1 lpb $0 add $1,$2 sub...
0x0000 (0x000000) 0x1018- f:00010 d: 24 | A = 24 (0x0018) 0x0001 (0x000002) 0x292F- f:00024 d: 303 | OR[303] = A 0x0002 (0x000004) 0x1020- f:00010 d: 32 | A = 32 (0x0020) 0x0003 (0x000006) 0x2930- f:00024 d: 304 | OR[304] = A ...
db 0 ; species ID placeholder db 35, 85, 55, 85, 45, 55 ; hp atk def spd sat sdf db NORMAL, FLYING ; type db 190 ; catch rate db 96 ; 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/doduo/fr...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1aae2, %r15 nop nop nop nop sub %rbp, %rbp mov $0x6162636465666768, %r13 movq %r13, %xmm4 movups %xmm4, (%r15) and $43969, %rsi lea addresses_WC_ht+0x170e2, %r15 sub $10753, ...
; A015451: a(n) = 6*a(n-1) + a(n-2) for n > 1, with a(0) = a(1) = 1. ; 1,1,7,43,265,1633,10063,62011,382129,2354785,14510839,89419819,551029753,3395598337,20924619775,128943316987,794584521697,4896450447169,30173287204711,185936173675435,1145790329257321,7060678149219361 mov $2,$0 mov $3,$0 mov $5,$0 lpb $5,1 mov $0...
// Tests the sizeof() operator on values/expressions // Commodore 64 PRG executable file .file [name="sizeof-expr.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :...
/*---------------------------------------------------------------------- ----------------------------------------------------------------------*/ #include "RootFile.h" #include "RootInputFileSequence.h" #include "DataFormats/Provenance/interface/BranchID.h" #include "DataFormats/Provenance/interface/IndexIntoFile.h" #...
; This file demonstrates setting and clearing processor flags. zero_out_status_register: ; nv__dIzc - Default state cli ; nv__dizc - make every flag 0 trivially_set_flags: ; The decimal, interrupt, and carry flags can be controlled ; directly through setting and clearing flags. sed ; nv__Dizc - set deci...
/* * SEGS - Super Entity Game Server * http://www.segs.dev/ * Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md) * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details. */ /*! * @addtogroup Components * @{ */ #include "ConfigExtension.h" #include <ace/INET_Addr.h...
; FILE *fdopen_callee(int fd, const char *mode) SECTION code_clib SECTION code_stdio PUBLIC fdopen_callee EXTERN asm_fdopen fdopen_callee: pop hl pop de ex (sp),hl jp asm_fdopen
; A001542: a(n) = 6*a(n-1) - a(n-2) for n > 1, a(0)=0 and a(1)=2. ; 0,2,12,70,408,2378,13860,80782,470832,2744210,15994428,93222358,543339720,3166815962,18457556052,107578520350,627013566048,3654502875938,21300003689580,124145519261542,723573111879672,4217293152016490 mov $3,1 lpb $0 sub $0,1 mov $2,$3 add $2,$3...
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_SPRITELINE_9221505C_HPP #define POMDOG_SPRITELINE_9221505C_HPP #include "SpriteBatch.hpp" #include "Pomdog/Math/Color.hpp" #include "Pomdog/Math/Vector2.hpp" #include "Pomdog/Math/Matrix3x2.hpp" ...
; Sord M5 ROM crt0 ; ; Sord memory starts from 0x7000 and is 4k long ; im2 interrupt vectors from 0x7000 defc CRT_ORG_CODE = 0x2000 defc CRT_ORG_BSS = 0x7100 defc TAR__clib_exit_stack_size = 0 defc TAR__register_sp = 0x7fff INCLUDE "crt/classic/crt_rules.inc" EXTER...
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without...
class Solution { public: int minimumTotal(vector<vector<int> > &triangle) { vector<vector<int>> arr = triangle; for(int i=1;i<arr.size();++i){ for(int j=0;j<arr[i].size();++j){ if(j==0) { arr[i][j] += arr[i-1].front(); }else if(j==arr[i...
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1d5b5, %rsi lea addresses_WC_ht+0xb1d5, %rdi nop nop nop nop nop sub $3566, %r8 mov $55, %rcx rep movsw cmp $3789, %rax pop %rsi pop %rdi pop %rcx pop %rax pop %r8 ret .global s_faulty_load s_faulty_...
include "src/constants.asm" include "src/macro.asm" include "src/registers.asm" SECTION "Main", ROM0 include "src/protocol.asm" ; Locks the CPU ; Params: ; None ; Return: ; None ; Registers: ; N/A lockup:: reset interruptEnable halt ; Tests if the current hardware is SGB ; Params: ; None ; Return: ; ...
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24)) ftyp_start: dd BE(ftyp_end - ftyp_start) dd "ftyp" db 0x61, 0x76, 0x69, 0x73 ; "major_brand(32)" ('avis') db 0x00, 0x00, 0x00, 0x00 ; "minor_version(32)" db 0x6D, 0x69, 0x66, 0x...
# JMH version: 1.19 # VM version: JDK 1.8.0_131, VM 25.131-b11 # VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java # VM options: <none> # Warmup: 20 iterations, 1 s each # Measurement: 20 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Throughput...
#include "BlockchainIndices.h" #include "common/StringTools.h" #include "base/CryptoNoteTools.h" #include "base/CryptoNoteFormatUtils.h" #include "blockchain_explorer/BlockchainExplorerDataBuilder.h" #include "base/CryptoNoteBasicImpl.h" namespace CryptoNote { PaymentIdIndex::PaymentIdIndex(bool _enabled) ...
// Aleth: Ethereum C++ client, tools and libraries. // Copyright 2016-2019 Aleth Authors. // Licensed under the GNU General Public License, Version 3. #include "VM.h" namespace dev { namespace eth { void VM::copyDataToMemory(bytesConstRef _data, intx::uint256*_sp) { auto offset = static_cast<size_t>(_sp[0]); i...
; A163069: a(n) = ((4+sqrt(5))*(1+sqrt(5))^n + (4-sqrt(5))*(1-sqrt(5))^n)/2. ; 4,9,34,104,344,1104,3584,11584,37504,121344,392704,1270784,4112384,13307904,43065344,139362304,450985984,1459421184,4722786304,15283257344,49457659904,160048349184,517927337984,1676048072704,5423805497344,17551803285504,56798828560384,183804...
; void bit_synth_di_callee(int dur, int freq_1, int freq_2, int freq_3, int freq_4) SECTION code_clib SECTION code_sound_bit PUBLIC _bit_synth_di_callee, l0_bit_synth_di_callee EXTERN asm_bit_synth_di _bit_synth_di_callee: pop af pop de pop bc ld d,c pop hl pop bc ld h,c pop bc push af ...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_AF ;TEST_FILE_META_END ; TEST32i32 mov eax, 0x7 ;TEST_BEGIN_RECORDING test eax, 0x6fffffff ;TEST_END_RECORDING
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %rcx push %rdi push %rsi lea addresses_WT_ht+0xc6e9, %rsi lea addresses_normal_ht+0xc6e1, %rdi nop xor $7310, %r11 mov $72, %rcx rep movsq nop nop nop inc %r11 lea addresses_WC_ht+0x1dbe1, %rsi lea addresses_D_ht+0xa481, %rdi nop nop sub $63059, %r13...
SilphCo11F_Object: db $d ; border block def_warps warp 9, 0, 1, SILPH_CO_10F warp 13, 0, 0, SILPH_CO_ELEVATOR warp 5, 5, 9, LAST_MAP warp 3, 2, 3, SILPH_CO_7F def_signs def_objects object SPRITE_SILPH_PRESIDENT, 7, 5, STAY, DOWN, 1 ; person object SPRITE_BEAUTY, 10, 5, STAY, DOWN, 2 ; person object...
; A053129: Binomial coefficients C(2*n-6,7). ; 8,120,792,3432,11440,31824,77520,170544,346104,657800,1184040,2035800,3365856,5379616,8347680,12620256,18643560,26978328,38320568,53524680,73629072,99884400,133784560,177100560,231917400,300674088,386206920 mov $1,$0 add $1,$0 add $1,8 bin $1,7
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
; A030117: Number of triangles a queen can make (starting anywhere) on an n X n board. ; 0,0,4,28,80,180,332,560,864,1272,1780,2420,3184,4108,5180,6440,7872,9520,11364,13452,15760,18340,21164,24288,27680,31400,35412,39780,44464,49532,54940,60760,66944,73568,80580,88060,95952,104340,113164 mov $14,$0 mov $16,$0 lpb $16...
; A273420: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 705", based on the 5-celled von Neumann neighborhood. ; 3,17,20,31,41,47,57,63,73,79,89,95,105,111,121,127,137,143,153,159,169,175,185,191,201,207,217,223,233,239,249,255,265,...
#include <QtGlobal> // Automatically generated by extract_strings.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *KONA_strings[] = { QT_TRANSLATE_NOOP("KONA-core", " mints deleted\n"), QT_TRANSLATE_NOOP("KONA-core", " mints updated, "), QT_TRANSLATE_NOO...
/* * Tyler Hunt * Advanved C++ * OCCC Fall 2017 * Hunt_W9_HW.cpp */ #include <iostream> #include "Person.h" #include "OCCCDate.h" using namespace std; int main(int argc, char * argv[]){ cout << "Hello World" << endl; //Create 2 date objects OCCCDate d1 = OCCCDate(); OCCCDate d2 (20,9,...
; A195819: Multiples of 29. ; 0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,899,928,957,986,1015,1044,1073,1102,1131,1160,1189,1218,1247,1276,1305,1334 mul $0,29