text stringlengths 1 1.05M |
|---|
// (C) Copyright Christopher Jefferson 2011.
// Use, modification and distribution are subject to 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)
// See http://www.boost.org for most recent version.
// config for libc++
// M... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\xlink.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _forbiddenExp:DWORD
CO... |
;
; MSX specific routines
; by Stefano Bodrato, December 2007
;
; int msx_sound(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg.asm,v 1.2 2015/01/19 01:33:04 pauloscustodio Exp $
;
PUBLIC set_psg
EXTERN set_psg_callee
EXTERN ASMDISP_SET_PSG_CALLEE
set_psg:
pop bc
pop de
pop hl
push hl
pus... |
; Z88 Small C+ Run Time Library
; Long functions
;
; feilipu 10/2021
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_mult
PUBLIC l_long_mult_u
EXTERN l_mult_0
EXTERN l_mult_ulong_0
;result = primary * secondary
;enter with secondary in dehl, primary on stack
;exit with product in dehl
... |
/**
* 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 you under the Apache License, Version 2.0 (the
* "License"); you... |
#include "Tank.h"
|
/* $Id$
* EOSERV is released under the zlib license.
* See LICENSE.txt for more info.
*/
#include "handlers.hpp"
#include "../character.hpp"
#include "../config.hpp"
#include "../eodata.hpp"
#include "../map.hpp"
#include "../npc.hpp"
#include "../npc_data.hpp"
#include "../packet.hpp"
#include "../world.hpp"
#i... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="level"/>
<%docstring>
Invokes the syscall iopl. See 'man 2 iopl' for more information.
Arguments:
level(int): level
</%docstring>
${syscall('SYS_iopl', level)}
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2017-19, Lawrence Livermore National Security, LLC
// and RAJA Performance Suite project contributors.
// See the RAJAPerf/COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~... |
; A322108: Distance of n-th iteration in an alternating rectangular spiral.
; 1,3,7,15,29,50,79,118,169,233,311,405,517,648,799,972,1169,1391,1639,1915,2221,2558,2927,3330,3769,4245,4759,5313,5909,6548,7231,7960,8737,9563,10439,11367,12349,13386,14479
mov $1,$0
mul $1,$0
mov $2,$0
sub $0,2
mul $1,$0
div $1,2
add $1,1
... |
; A094985: a(n) = floor(8^n/5^n).
; 1,1,2,4,6,10,16,26,42,68,109,175,281,450,720,1152,1844,2951,4722,7555,12089,19342,30948,49517,79228,126765,202824,324518,519229,830767,1329227,2126764,3402823,5444517,8711228,13937965,22300745,35681192,57089907,91343852,146150163,233840261,374144419,598631070,957809713,1532495540,245... |
// 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 <QApplication>
#include "paymentserver.h"
#include "guiconstants.h"
#include "ui_interface.h"
#include "util.h"
#i... |
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fde/fde_gedevice.h"
#include <algorithm>
#include <memory>
#in... |
; Echo program that waits for user to enter a character and than echoing it.
; NASM assembly for Mac OS X x64.
; Differes from 'echo' program by using procedures.
section .data
msg_enter: db "Please, enter a char: "
.len: equ $ - msg_enter
msg_entered: db "You have entered: "
.len: equ $ - msg_entered
section .... |
/*
* 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.
*/
#include "hermes/VM/instrumentation/ProcessStats.h"
#if defined(_WINDOWS)
// Include windows.h first because other includes from w... |
; A126284: a(n) = 5*2^n - 4*n - 5.
; 1,7,23,59,135,291,607,1243,2519,5075,10191,20427,40903,81859,163775,327611,655287,1310643,2621359,5242795,10485671,20971427,41942943,83885979,167772055,335544211,671088527,1342177163,2684354439,5368708995,10737418111,21474836347,42949672823,85899345779,171798691695,343597383531,6871... |
#include "Animation.h"
#include "../game.h"
AnimatedTexture::AnimatedTexture(std::string id, int cFrame, int mFrame,
int w, int h,
int posX, int posY) {
currFrame_ = cFrame;
maxFrame_ = mFrame;
x_ = posX;
y_ = posY;
id_ = id;
fr... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.5.0 #9253 (Jun 20 2015) (MINGW64)
; This file was generated Thu Aug 18 09:46:32 2016
;--------------------------------------------------------
; PIC16 port for the Microchip 16-bit core micros... |
; A014062: a(n) = binomial(n^2, n).
; 1,1,6,84,1820,53130,1947792,85900584,4426165368,260887834350,17310309456440,1276749965026536,103619293824707388,9176358300744339432,880530516383349192480,91005567811177478095440,10078751602022313874633200,1190739044344491048895397910,149482492334195165714038760136,19870867053543756... |
Map_5CD00: dc.w word_5CD12-Map_5CD00
dc.w word_5CD20-Map_5CD00
dc.w word_5CD2E-Map_5CD00
dc.w word_5CD36-Map_5CD00
dc.w word_5CD3E-Map_5CD00
dc.w word_5CD46-Map_5CD00
dc.w word_5CD4E-Map_5CD00
dc.w word_5CD56-Map_5CD00
dc.w word_5CD5E-Map_5CD00
word_5CD12: dc.w 2
dc.b $F4, 5, 0, 0, $FF, $F4... |
; Turn key repeat off
; 10 SYS (49200)
*=$0801
BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $32, $30, $30, $29, $00, $00, $00
*=$c030
lda #$0
sta $28a ; 650 - repeat all keys if $80
rts
|
; w_vector_t *w_vector_init_callee(void *p, size_t capacity, size_t max_size)
SECTION code_adt_w_vector
PUBLIC _w_vector_init_callee
_w_vector_init_callee:
pop hl
pop de
pop bc
ex (sp),hl
INCLUDE "adt/w_vector/z80/asm_w_vector_init.asm"
|
; A090305: a(n) = 16*a(n-1) + a(n-2), starting with a(0) = 2 and a(1) = 16.
; Submitted by Jamie Morken(s4)
; 2,16,258,4144,66562,1069136,17172738,275832944,4430499842,71163830416,1143051786498,18359992414384,294902930416642,4736806879080656,76083812995707138,1222077814810394864,19629328849962024962,3152913394142027942... |
; Functions dealing with palettes.
UpdatePalsIfCGB::
; update bgp data from wBGPals2
; update obp data from wOBPals2
; return carry if successful
; check cgb
ldh a, [hCGB]
and a
ret z
UpdateCGBPals::
; return carry if successful
; any pals to update?
ldh a, [hCGBPalUpdate]
and a
ret z
ForceUpdateCGBPals::
ld... |
; A050999: Sum of squares of odd divisors of n.
; 1,1,10,1,26,10,50,1,91,26,122,10,170,50,260,1,290,91,362,26,500,122,530,10,651,170,820,50,842,260,962,1,1220,290,1300,91,1370,362,1700,26,1682,500,1850,122,2366,530,2210,10,2451,651,2900,170,2810,820,3172,50,3620,842,3482,260,3722,962,4550,1,4420,1220,4490,290,5300,1300... |
copyright zengfr site:http://github.com/zengfr/romhack
03DB00 bne $3db0a [boss+96]
03DB5E jsr $3bec.w [boss+96]
copyright zengfr site:http://github.com/zengfr/romhack
|
; A033064: Numbers whose base-13 representation Sum_{i=0..m} d(i)*13^i has odd d(i) for all odd i.
; 1,2,3,4,5,6,7,8,9,10,11,12,14,16,18,20,22,24,27,29,31,33,35,37,40,42,44,46,48,50,53,55,57,59,61,63,66,68,70,72,74,76,79,81,83,85,87,89,92,94,96,98,100,102,105,107,109,111,113,115,118
add $0,1
mov $1,$0
mov $2,$0
sub $2... |
; A000779: a(n) = 2*(2n-1)!!-(n-1)!*2^(n-1), where (2n-1)!! is A001147(n).
; Submitted by Christian Krause
; 1,4,22,162,1506,16950,224190,3408930,58596930,1123663590,23782729950,550718680050,13849716607650,375904338960150,10952237584237950,340947694234397250,11294123783425733250,396665528378000631750,147232452125614222... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1b4c, %rsi
lea addresses_WT_ht+0x896c, %rdi
nop
nop
sub %rax, %rax
mov $26, %rcx
rep movsw
inc %rsi
lea addresses_UC_ht+0x394c, %rsi
lea addresses_WT_ht+0x994c, %rdi
inc %rd... |
/**
* TitaniumKit MusicLibraryResponseType
*
* Copyright (c) 2015 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License.
* Please see the LICENSE included with this distribution for details.
*/
#include "Titanium/Media/MusicLibraryResponseType.hpp"
#include "Titanium/... |
PLAY_PC: EQU -8
PLAY_BC: EQU -6
PLAY_DE: EQU -4
PLAY_SP: EQU -2
DURATION: EQU 0
COUNTER: EQU 1
OCTAVE: EQU 2
ENVELOPE: EQU 3
BRACKETS: EQU 4
PLAY_THREAD: EQU 5
VOLUME: EQU 6
PSG_CH: EQU 7
PLAY_START:
POP BC
POP DE
PLAY_LOOP:
PUSH DE
PUSH BC
CALL PLAY_SCAN
POP BC
POP DE
CP ")"
JR Z,PLAY_LOOP
CP "H"
JR Z,P... |
;
; IOCLA, Buffer management
;
; Fill buffer with data and print it.
; Buffer is stored in .data section (initialized data).
;
extern printf
extern puts
section .data
buffer: times 64 db 5
len: equ $-buffer
buffer_intro_message: db "buffer is:", 0
byte_format: db " %02X", 0
null_string: db 0
sec... |
TITLE Standard MSDOS
NAME MSDOS_2
; Number of disk I/O buffers
INCLUDE STDSW.ASM
INCLUDE MSHEAD.ASM
INCLUDE MSDATA.ASM
END
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x192c5, %r15
nop
nop
nop
nop
nop
xor $17791, %rbp
mov (%r15), %ebx
nop
xor $4219, %r9
lea addresses_WT_ht+0x4d9b, %r13
nop
nop
nop
xor $55220, %r12
vmovups (%r13), %y... |
NewElderCode:
{
LDA $8A : CMP #$1B : BEQ .newCodeContinue
;Restore Jump we can keep the RTL so JML
JML $05F0CD
.newCodeContinue
PHB : PHK : PLB
LDA.b #$07 : STA $0F50, X ;Palette
JSR Elder_Draw
JSL Sprite_PlayerCantPassThrough
JSR Elder_Code
PLB
RTL
Elder_Draw:
{
LDA.b #$02 : STA $06 : STZ $07 ;Num... |
; A106231: Least j > 1 such that j^2 = (4*n^2 + 2)*(k^2) + (4*n^2 + 2)*k + 1.
; 11,19,77,199,409,731,1189,1807,2609,3619,4861,6359,8137,10219,12629,15391,18529,22067,26029,30439,35321,40699,46597,53039,60049,67651,75869,84727,94249,104459,115381,127039,139457,152659,166669,181511,197209,213787
pow $1,$0
mul $1,10
add ... |
blit_save:
ldx #$00
!:
.for(var i=0; i<4; i++){
lda [$0400 + (i * $100)] ,x
sta [blit_buf + (i * $100)] ,x
lda [$d800 + (i * $100)] ,x
sta [blit_buf + $0400 + (i * $100)] ,x
}
inx
bne !-
rts
blit_load:
ldx #$00
!:
.for(var i=0; i<4; i++){
lda [bl... |
HallofFameRoom_h:
db GYM ; tileset
db HALL_OF_FAME_HEIGHT, HALL_OF_FAME_WIDTH ; dimensions (y, x)
dw HallofFameRoomBlocks, HallofFameRoomTextPointers, HallofFameRoomScript ; blocks, texts, scripts
db $00 ; connections
dw HallofFameRoomObject ; objects
|
; A250141: Number of length 2+2 0..n arrays with the medians of every three consecutive terms nondecreasing.
; 14,67,204,485,986,1799,3032,4809,7270,10571,14884,20397,27314,35855,46256,58769,73662,91219,111740,135541,162954,194327,230024,270425,315926,366939,423892,487229,557410,634911,720224,813857,916334,1028195,1149... |
bits 64
section .rodata
GPFString: db "General Protection Fault occured", 0xA, 0
SegmentGPF: db "it is a segment error, segment selector index: ", 0
section .data
SegmentIndexString: resb 32
section .text
extern divByZErr ;INT 0x0
extern dbg ;INT 0x1
extern NMI ;INT 0x2
extern bkpt ;INT 0x3
extern overflow ;INT 0... |
; A036453: a(n) = d(d(d(d(d(n))))), the 5th iterate of the number-of-divisors function with initial value n.
; 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
pow $1,$... |
//Author:LanceYu
#include<cstring>
#include<cmath>
#include<cstdio>
#include<cctype>
#include<cstdlib>
#include<ctime>
#include<vector>
#include<iostream>
#include<string>
#include<queue>
#include<set>
#include<algorithm>
#include<complex>
#include<stack>
#include<bitset>
#include<iomanip>
#define ll long long
using na... |
/**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* 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 t... |
/*! @file Activate.cpp
* @version 3.1.8
* @date Aug 05 2016
*
* @brief
* Activation process for the STM32 example App.
*
* Copyright 2016 DJI. All right reserved.
*
* */
#include "Activate.h"
extern Vehicle vehicle;
extern Vehicle* v;
void
userActivate()
{
//! At your DJI developer account look for:... |
INCLUDE "graphics/grafix.inc"
XLIB w_pointxy
;LIB l_cmp
LIB w_pixeladdress
XREF COORDS
;
; $Id: w_pointxy.asm,v 1.1 2008/07/17 15:39:56 stefano Exp $
;
; ******************************************************************
;
; Get pixel at (x,y) coordinate.... |
; A023554: Convolution of natural numbers >= 3 and (Fib(2), Fib(3), Fib(4), ...).
; 3,10,22,43,78,136,231,386,638,1047,1710,2784,4523,7338,11894,19267,31198,50504,81743,132290,214078,346415,560542,907008,1467603,2374666,3842326,6217051,10059438,16276552,26336055,42612674,68948798,111561543,180510414,292072032,472582523... |
/******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across *
... |
; A173009: Expansion of o.g.f. x*(1 - x + x^2)/(1 -3*x +x^2 +3*x^3 -2*x^4).
; 0,1,2,6,13,29,60,124,251,507,1018,2042,4089,8185,16376,32760,65527,131063,262134,524278,1048565,2097141,4194292,8388596,16777203,33554419,67108850,134217714,268435441,536870897,1073741808,2147483632,4294967279,8589934575,17179869166,343597383... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: w_uncircle.asm,v 1.2 2015/01/19 01:32:46 pauloscustodio Exp $
;
;Usage: uncircle(struct *pixels)
PUBLIC uncircle
EXTERN w_draw_circle
EXTERN ... |
; A234465: a(n) = 3*binomial(8*n+6,n)/(4*n+3).
; Submitted by Jon Maiga
; 1,6,63,812,11655,178794,2869685,47593176,809172936,14028048650,247039158366,4406956913268,79470057050020,1446283758823470,26529603944225670,489989612605050800,9104498753815680600,170073237411754811568,3192081704235788729043,6016677353306517787890... |
; A265381: Decimal representation of the middle column of the "Rule 158" elementary cellular automaton starting with a single ON (black) cell.
; 1,3,7,14,29,59,119,238,477,955,1911,3822,7645,15291,30583,61166,122333,244667,489335,978670,1957341,3914683,7829367,15658734,31317469,62634939,125269879,250539758,501079517,10... |
#Written By Bradley Grose
.data
array1: .word 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
string1: .asciiz "Read 1st number: "
string2: .asciiz "Read second number: "
string3: .asciiz "Sum = "
.text
la $t3, array1
li $s0, 0 # i = 0
li $s1, 0 # sum = 0
Loop1: bgt $s0, 9, out
sll $t4, $s0, 2 #i*4
add $t4, $t4, $t3 #&arra... |
###############################################################################
# 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... |
//
// Simu5G
//
// Authors: Giovanni Nardini, Giovanni Stea, Antonio Virdis (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are par... |
; A253622: Centered heptagonal numbers (A069099) which are also centered pentagonal numbers (A005891).
; Submitted by Christian Krause
; 1,106,15016,2132131,302747551,42988020076,6103996103206,866724458635141,123068769130086781,17474898492013687726,2481312517096813570276,352328902529255513291431,50028222846637186073812... |
; A168610: a(n) = 3^n + 5.
; 6,8,14,32,86,248,734,2192,6566,19688,59054,177152,531446,1594328,4782974,14348912,43046726,129140168,387420494,1162261472,3486784406,10460353208,31381059614,94143178832,282429536486,847288609448,2541865828334,7625597484992,22876792454966,68630377364888,205891132094654,617673396283952,185302... |
#include <stdio.h>
#include <dirent.h>
#include <string.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/opencv.hpp>
#include <iostream>
#include "/opt/rocm/rpp/include/rppi.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>
using namespace... |
; A119975: E.g.f. exp(x)*(Bessel_I(0,2*sqrt(2)x) + Bessel_I(1,2*sqrt(2)x)/sqrt(2)).
; Submitted by Jon Maiga
; 1,2,7,22,77,266,947,3382,12217,44338,161855,593110,2181445,8046650,29759147,110303798,409655281,1524056546,5678827511,21189499030,79164147389,296094973418,1108623865123,4154794910518,15584520425641,58504061139... |
lda {m2}+1
lsr
sta {m1}+1
lda {m2}
ror
sta {m1}
lsr {m1}+1
ror {m1}
lsr {m1}+1
ror {m1}
|
; Dn-FamiTracker exported music data: love_3_option.0cc
;
; Module header
.word ft_song_list
.word ft_instrument_list
.word ft_sample_list
.word ft_samples
.word ft_groove_list
.byte 4 ; flags
.word 3840 ; NTSC speed
.word 3840 ; PAL speed
; Instrument pointer list
ft_instrument_list:
.word ft_inst_0
.word ... |
title fmsghdr - far message header and finder
;--------------------------------------------------------------------------
;
; Microsoft C Compiler Runtime for MS-DOS
;
; (C)Copyright Microsoft Corporation, 1986
;
;--------------------------------------------------------------------------
;
; Revision History
;
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x52eb, %rsi
lea addresses_A_ht+0x13fab, %rdi
nop
nop
nop
nop
cmp %rdx, %rdx
mov $7, %rcx
rep movsb
nop
nop
nop
nop
nop
sub $55472, %r14
lea addresses_normal_ht+0x1defb, %rsi
l... |
; A285077: Positions of 0 in A285076; complement of A285078.
; 2,3,5,7,8,10,12,13,15,17,19,20,22,24,25,27,29,31,32,34,36,37,39,41,42,44,46,48,49,51,53,54,56,58,60,61,63,65,66,68,70,71,73,75,77,78,80,82,83,85,87,89,90,92,94,95,97,99,101,102,104,106,107,109,111,112,114,116,118,119,121,123,124,126,128,130,131,133,135,136,... |
/*
PURPOSE:
(Data recording access functions)
PROGRAMMERS:
(((Robert W. Bailey) (LinCom Corp) (3/96) (SES upgrades)
((Alex Lin) (NASA) (April 2009) (--) (c++ port)))
*/
#include "trick/data_record_proto.h"
#include "trick/DataRecordDispatcher.hh"
#include "trick/DataRecordGroup.hh"
extern Trick::DataRec... |
; A025777: Expansion of 1/((1-x)*(1-x^5)*(1-x^7)).
; Submitted by Jamie Morken(s2)
; 1,1,1,1,1,2,2,3,3,3,4,4,5,5,6,7,7,8,8,9,10,11,12,12,13,14,15,16,17,18,19,20,21,22,23,25,26,27,28,29,31,32,34,35,36,38,39,41,42,44,46,47,49,50,52,54,56,58,59,61,63,65,67,69,71,73,75,77,79,81,84
mov $1,$0
mul $0,2
add $1,13
mul $0,$1
di... |
; -----------------------------------------------------------------------------
; Decompress raw LZSA1 block. Create one with lzsa -r <original_file> <compressed_file>
;
; in:
; * LZSA_SRC_LO and LZSA_SRC_HI contain the compressed raw block address
; * LZSA_DST_LO and LZSA_DST_HI contain the destination buffer address
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: seriesHighLow.asm
AUTHOR: Chris Boyke
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- ... |
#include <marnav/nmea/rsd.hpp>
#include <marnav/nmea/io.hpp>
namespace marnav
{
namespace nmea
{
constexpr sentence_id rsd::ID;
constexpr const char * rsd::TAG;
rsd::rsd()
: sentence(ID, TAG, talker_id::integrated_instrumentation)
, unknowns_({{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}})
{
}
rsd::rsd(talker talk, fi... |
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
// Copyright (c) 2006, Google 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:
//
// * Redistributions of source code ... |
; A127752: Row sums of inverse of number triangle A(n,k) = 1/(3n+1) if k <= n <= 2k, 0 otherwise.
; 1,4,3,7,3,6,3,10,3,6,3,9,3,6,3,13,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,16,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,15,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,19,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,15,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,18,3,6,3,9,3,6,3,12... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkTreeReader.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is... |
db "ACORN@" ; species name
db "It attaches itself"
next "to a tree branch"
next "using the top of"
page "its head. Strong"
next "winds can make it"
next "sometimes fall.@"
|
; A016838: a(n) = (4n + 3)^2.
; 9,49,121,225,361,529,729,961,1225,1521,1849,2209,2601,3025,3481,3969,4489,5041,5625,6241,6889,7569,8281,9025,9801,10609,11449,12321,13225,14161,15129,16129,17161,18225,19321,20449,21609,22801,24025,25281,26569,27889,29241,30625,32041,33489,34969,36481,38025,39601,41209,42849,44521,46225,... |
#include <iostream>
#include <GL/glut.h>
#include <math.h>
#include "FrameTimer.h"
///OBJ loader globals
GLuint elephant;
float elephantrot;
///camera rotation in degrees
float angle=0;
float angley=0;
///last location of click
int lastx;
int lasty;
///button boolean
float button = false;
///
float id;
/// the an... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x76e4, %rdi
nop
nop
nop
xor $17934, %r14
mov (%rdi), %r10d
nop
nop
nop
nop
nop
xor $12765, %rcx
lea addresses_normal_ht+0xf784, %rbp
clflush (%rbp)
nop
and $48565, %rbx
m... |
// Minimal struct with C-Standard behavior - address-of
// Commodore 64 PRG executable file
.file [name="struct-21.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
... |
//=================================================================================================
/*!
// \file src/mathtest/dmatsmatmult/M3x3bMIb.cpp
// \brief Source file for the M3x3bMIb dense matrix/sparse matrix multiplication math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// ... |
; A054899: a(n) = Sum_{k>0} floor(n/10^k).
; 0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,... |
db DEX_SEEL ; pokedex id
db 65, 45, 55, 45, 70
; hp atk def spd spc
db WATER, WATER ; type
db 190 ; catch rate
db 100 ; base exp
INCBIN "gfx/pokemon/front/seel.pic", 0, 1 ; sprite dimensions
dw SeelPicFront, SeelPicBack
db HEADBUTT, BUBBLE, GROWL, NO_MOVE ; level 1 learnset
db GROWTH_MEDIUM_FAS... |
;
; Startup for V-Tech VZ-350/500/700?
;
module vz700_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scope definitions
;--------
EXTERN _main ;main() is always external to crt0 code
PUBLIC... |
; A008491: Expansion of (1-x^9 ) / (1-x)^9.
; Submitted by Jamie Morken(s4)
; 1,9,45,165,495,1287,3003,6435,12870,24309,43749,75537,125805,202995,318483,487311,729036,1068705,1537965,2176317,3032523,4166175,5649435,7568955,10027986,13148685,17074629,21973545,28040265,35499915,44611347,55670823,69015960,85029945,1041460... |
; A285197: Expansion of (1-6*x+11*x^2-5*x^3) / ((1-x)*(1-3*x)*(1-3*x+x^2)).
; Submitted by Jamie Morken(s1)
; 1,1,2,6,20,67,221,717,2294,7258,22760,70863,219353,675769,2073674,6342414,19345052,58867195,178779893,542042565,1641058046,4962262306,14989121072,45235277511,136407241265,411058035697,1237981634066,372653117122... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x14258, %rbx
nop
nop
add %r9, %r9
mov $0x6162636465666768, %r13
movq %r13, %xmm1
movups %xmm1, (%rbx)
nop
nop
nop
cmp $54496, %rsi
lea addresses_UC_ht+0x14350, %rbx
cmp $15147... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x10af5, %rsi
lea addresses_D_ht+0x42f5, %rdi
clflush (%rdi)
nop
nop
dec %r11
mov $4, %rcx
rep movsl
nop
dec %rsi
lea addresses_D_ht+0x4af5, %r9
nop
nop
xor $30909, %rbp
movw $0x... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/passwords/well_known_change_password_navigation_throttle.h"
#include "base/logging.h"
#include "chrome/browser/password_manag... |
; A116774: Number of permutations of length n which avoid the patterns 2143, 2341, 4312; or avoid the patterns 1234, 1432, 3412.
; 1,2,6,21,69,198,498,1121,2305,4402,7910,13509,22101,34854,53250,79137,114785,162946,226918,310613,418629,556326,729906,946497,1214241,1542386,1941382,2422981,3000341,3688134
mov $12,$0
mov... |
; A195158: Concentric 24-gonal numbers.
; 0,1,24,49,96,145,216,289,384,481,600,721,864,1009,1176,1345,1536,1729,1944,2161,2400,2641,2904,3169,3456,3745,4056,4369,4704,5041,5400,5761,6144,6529,6936,7345,7776,8209,8664,9121,9600,10081,10584,11089,11616,12145,12696,13249,13824,14401,15000,15601,16224,16849,17496,18145,188... |
; Startup for VZ200/300
;
; Stefano Bodrato - Apr. 2000
;
; If an error occurs eg break we just drop back to BASIC
;
; $Id: vz_crt0.asm,v 1.27 2016-07-15 21:03:25 dom Exp $
;
MODULE vz_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0... |
; A289999: Sierpinski cuboctahedral numbers: a(n) = 16*4^n - 12*2^n + 9.
; 13,49,217,937,3913,16009,64777,260617,1045513,4188169,16764937,67084297,268386313,1073643529,4294770697,17179475977,68718690313,274876334089,1099508482057,4398040219657,17592173461513,70368719011849,281474926379017,1125899806179337,4503599426043... |
Map_361A18: dc.w Frame_361A24-Map_361A18
dc.w Frame_361A2C-Map_361A18
dc.w Frame_361A34-Map_361A18
dc.w Frame_361A3C-Map_361A18
dc.w Frame_361A50-Map_361A18
dc.w Frame_361A64-Map_361A18
Frame_361A24: dc.w 1
dc.b $F8, 5, 0, 0,$FF,$F8
Frame_361A2C: dc.w 1
dc.b $F4, 6, 0, 4,$FF,$F8
Frame_361A34: dc.w 1... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... |
format MZ
use16
entry main:start
segment main
start:
mov bx,program_data
mov ds,bx
mov ah,09h
mov dx,TKomunikat
int 21h
mov ah,0ah
mov dx,BFileName
int 21h
movzx di,byte [FileNameCounter]
lea bx,[FileName]
add di,bx
xor ah,ah
mov [di],ah
sub di,4
mov ax,[di]
cmp ax,'.b'
jne zly_plik
add di,2
mov ax,[di]
cmp ax,'mp'
jn... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 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 <chain.h>
#include <coins.h>
#include <compat/byteswap.h>
#include <consensus... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
009614 move.l D2, (A0)+ [base+ 3C, base+ 4C, base+ 4E, base+ 5C, base+ 5E, base+ EC, base+ EE, base+ FC, base+ FE, base+16C, base+16E, base+17C, base+17E, base+20C, base+20E, base+21C, base+21E, base+28C, base... |
//===----------------------------------------------------------------------===//
//
// 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) 2017-2018, The Alloy Developers.
* Portions Copyright (c) 2012-2017, The CryptoNote Developers, The Bytecoin Developers.
*
* This file is part of Alloy.
*
* This file is subject to the terms and conditions defined in the
* file 'LICENSE', which is part of this source code package.
*/
#includ... |
db DEX_STARMIE ; pokedex id
db 60 ; base hp
db 75 ; base attack
db 85 ; base defense
db 115 ; base speed
db 100 ; base special
db WATER ; species type 1
db PSYCHIC ; species type 2
db 60 ; catch rate
db 207 ; base exp yield
INCBIN "pic/ymon/starmie.pic",0,1 ; 66, sprite dimensions
dw StarmiePicFront
dw StarmiePicBack
;... |
/*
* Test for temporarily blocked interrupts
*/
lc r100, 0x10000000 // test result output pointer
lc r101, halt
lc r102, failure
lc r103, 0x20000000 // timer: number of pulses (0xFFFFFFFF - infinite)
lc r104, 0x20000004 // timer: delay between pulses (in cycles)
lc iv0, timer_handler
lc cr, 0x101 // enable ... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "checkpoints.h"
#include "... |
; A121907: Expansion of g.f.: (1 + x + x^2)/(1 - 2*x - 2*x^2).
; 1,3,9,24,66,180,492,1344,3672,10032,27408,74880,204576,558912,1526976,4171776,11397504,31138560,85072128,232421376,634987008,1734816768,4739607552,12948848640,35376912384,96651522048,264056868864,721416781824,1970947301376,5384728166400,14711350935552,401... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.