text stringlengths 1 1.05M |
|---|
;=================================================
; Name: Adrian Harminto
; Email: aharm002@ucr.edu
;
; Lab: lab 4
; Lab section: 24
; TA: Bryan Marsh
;
;=================================================
.orig x3000
;------------
;Instruction
;------------
LEA R0, intro
PUTS
LD R6, size
LD R3, pt... |
; A215097: a(n) = n^3 - a(n-2) for n >= 2 and a(0)=0, a(1)=1.
; 0,1,8,26,56,99,160,244,352,485,648,846,1080,1351,1664,2024,2432,2889,3400,3970,4600,5291,6048,6876,7776,8749,9800,10934,12152,13455,14848,16336,17920,19601,21384,23274,25272,27379,29600,31940,34400,36981,39688,42526
mov $15,$0
mov $17,$0
lpb $17,1
clr $... |
; A025724: Index of 7^n within sequence of numbers of form 6^i*7^j.
; 1,3,6,10,15,21,28,36,45,55,66,78,92,107,123,140,158,177,197,218,240,263,287,312,339,367,396,426,457,489,522,556,591,627,664,703,743,784,826,869,913,958,1004,1051,1099,1148,1198,1250,1303,1357,1412,1468,1525,1583
mov $3,$0
add $3,1
mov $6,$0
lpb $3
... |
// index_create.cpp
/**
* Copyright (C) 2008-2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope t... |
#include "envoy/admin/v3alpha/config_dump.pb.h"
#include "envoy/config/bootstrap/v3alpha/bootstrap.pb.h"
#include "envoy/config/cluster/v3alpha/cluster.pb.h"
#include "envoy/config/cluster/v3alpha/cluster.pb.validate.h"
#include "envoy/config/core/v3alpha/base.pb.h"
#include "test/common/upstream/test_cluster_manager.... |
#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
#include <signal.h>
#include <stdlib.h>
#include <msgpack.hpp>
#include "hiredis/hiredis.h"
#include "hiredis/async.h"
#include "hiredis/adapters/libevent.h"
using namespace std;
using namespace msgpack;
int main()
{
redisContext *c;
v... |
kp_song
kp_reloc
dc.w kp_song_registers
dc.w kp_speed
dc.w kp_grooveboxpos
dc.w kp_grooveboxlen
dc.w kp_groovebox
dc.w kp_patternlen
dc.w kp_patternmap_lo
dc.w kp_patternmap_hi
dc.w kp_insmap_lo
dc.w kp_insmap_hi
dc.w kp_volmap_lo
dc.w kp_volmap_hi
dc.w kp_sequence
kp_song_registers
kp_speed
dc.b $02
kp_g... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rbp
push %rcx
push %rsi
lea addresses_A_ht+0xe625, %r13
dec %r15
mov (%r13), %si
nop
nop
nop
nop
xor %rbp, %rbp
lea addresses_D_ht+0x16485, %r10
nop
nop
nop
nop
and %rcx, %rcx
and $0xffffffffffffffc0, %r10
movntdqa (%r10), %xmm6
... |
db DEX_SLOWBRO ; pokedex id
db 95 ; base hp
db 75 ; base attack
db 110 ; base defense
db 30 ; base speed
db 80 ; base special
db WATER ; species type 1
db PSYCHIC ; species type 2
db 75 ; catch rate
db 164 ; base exp yield
INCBIN "pic/bmon/slowbro.pic",0,1 ; 77, sprite dimensions
dw SlowbroPicFront
dw SlowbroPicBack
; ... |
; lookup table for output format specifiers
; 05.2008 aralbrec
XLIB jumptbl_printf
; output format specifiers: "bcdeEfFiIMnopPsuxX"
; place most common first, library alternatives in comments
.jumptbl_printf
defb 'd', 195 ; signed integer
LIB stdio_out_ld ; stdio_out_d
defw stdio_o... |
; A006007: 4-dimensional analog of centered polygonal numbers: a(n) = n(n+1)*(n^2+n+4)/12.
; 0,1,5,16,40,85,161,280,456,705,1045,1496,2080,2821,3745,4880,6256,7905,9861,12160,14840,17941,21505,25576,30200,35425,41301,47880,55216,63365,72385,82336,93280,105281,118405,132720,148296,165205,183521,203320,224680,247681,2724... |
; A138425: a(n) = (prime(n)^5 - prime(n))/3.
; 10,80,1040,5600,53680,123760,473280,825360,2145440,6837040,9543040,23114640,38618720,49002800,76448320,139398480,238308080,281532080,450041680,601409760,691023840,1025685440,1313013520,1861353120,2862446720,3503366800,3864246880,4675172400,5128746480,6141450560,11012789760... |
/***************************************************************************
* Copyright (C) by GFZ Potsdam *
* *
* You can redistribute and/or modify this program under the *
* terms o... |
78_Header:
sHeaderInit ; Z80 offset is $CB7F
sHeaderPatch 78_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, 78_FM5, $F2, $04
78_FM5:
sPatFM $00
dc.b nCs3
78_Loop1:
dc.b $02, sHold, nB2, $01, sHold
saTranspose $02
sLoop $00, $26, 78_Loop1
sStop
78_Patches:
; Patch $00
; $3B
; $3C, $3... |
#include "column1D.h"
#include "ui_column1D.h"
#include <QDebug>
#include <iostream>
#include <QFileInfo>
#include <QFileDialog>
#include <fstream>
#include <sstream>
column1D::column1D(QWidget *parent) :
QWidget(parent),
ui(new Ui::column1D)
{
ui->setupUi(this);
// connect(this->ui->load1DFile_PB, SIGNAL(click... |
#include "pf/base/log.h"
#include "pf/sys/memory/dynamic_allocator.h"
namespace pf_sys {
namespace memory {
DynamicAllocator::DynamicAllocator() {
__ENTER_FUNCTION
pointer_ = NULL;
size_ = 0;
__LEAVE_FUNCTION
}
DynamicAllocator::~DynamicAllocator() {
__ENTER_FUNCTION
free();
__LEAVE_FUNCTION
}
... |
; A229611: Expansion of 1/((1-x)^3*(1-11x))
; 1,14,160,1770,19485,214356,2357944,25937420,285311665,3138428370,34522712136,379749833574,4177248169405,45949729863560,505447028499280,5559917313492216,61159090448414529,672749994932559990,7400249944258160080,81402749386839761090,895430243255237372221,9849732675807611094684... |
;
; Devilishly simple Spectrum Routines
;
; getk() Read key status
;
; 17/5/99 djm
;
;
; $Id: getk.asm,v 1.6 2016/03/09 22:25:54 dom Exp $
;
SECTION code_clib
PUBLIC getk
PUBLIC _getk
.getk
._getk
ld h,0
ld a,(23560)
ld l,a
and a
ret z
xor a
ld (23560),a
ret
|
copyright zengfr site:http://github.com/zengfr/romhack
036C82 move.b #$12, ($d1,A0) [enemy+C2]
036C88 jsr $62ee.w [enemy+D1]
036C92 bmi $36ca0 [enemy+D1]
036CA4 move.b #$1a, ($d1,A0) [enemy+C2]
036CAA movea.l #$83e04, A4 [enemy+D1]
036D0C bmi $36d1c [enemy+D1]
copyright zengfr site:http://github.co... |
; A240437: Number of non-palindromic n-tuples of 5 distinct elements.
; 0,20,100,600,3000,15500,77500,390000,1950000,9762500,48812500,244125000,1220625000,6103437500,30517187500,152587500000,762937500000,3814695312500,19073476562500,95367421875000,476837109375000,2384185742187500,11920928710937500,59604644531250000
mo... |
/*
* Copyright 2021 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
.data
.code
bar proc
mov rax, rcx
ret
bar endp
end
|
DATA SEGMENT
NUM1 DB ?
NUM2 DB ?
RESULT DB ?
MSG1 DB 10,13,"Enter num 1 : $"
MSG2 DB 10,13,"Enter num 2 : $"
MSG3 DB 10,13,"Sum : $"
ENDS
CODE SEGMENT
ASSUME DS:DATA CS:CODE
START:
MOV AX,DATA
MOV DS,AX
LEA DX,MSG1
MOV AH,9
INT 21H
MOV CX,2
MOV AH,1
INT 21H
ADD AL,30H
MOV NUM1,AL
LEA DX,MSG2
MOV AH,9
IN... |
; A225612: Partial sums of the binomial coefficients C(4*n,n).
; 1,5,33,253,2073,17577,152173,1336213,11854513,105997793,953658321,8622997453,78291531921,713305091521,6518037055321,59712126248041,548239063327621,5043390644753269,46475480410336709,428936432074181109,3964252574286355429,36683487291377014309,3398369211933... |
/*******************************************************************************
Copyright(c) 2015-2019 LORD Corporation. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
#include "stdafx... |
// Copyright 2019 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 "components/autofill/core/browser/form_parsing/travel_field.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversio... |
; A151672: G.f.: Product_{k>=0} (1 + 4*x^(3^k)).
; Submitted by Christian Krause
; 1,4,0,4,16,0,0,0,0,4,16,0,16,64,0,0,0,0,0,0,0,0,0,0,0,0,0,4,16,0,16,64,0,0,0,0,16,64,0,64,256,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,16,0,16,64,0,0,0,0,16,64,0,64,256,0
mov $2,1
lpb $0
mov $1... |
; A057723: Sum of positive divisors of n that are divisible by every prime that divides n.
; Submitted by Jon Maiga
; 1,2,3,6,5,6,7,14,12,10,11,18,13,14,15,30,17,24,19,30,21,22,23,42,30,26,39,42,29,30,31,62,33,34,35,72,37,38,39,70,41,42,43,66,60,46,47,90,56,60,51,78,53,78,55,98,57,58,59,90,61,62,84,126,65,66,67,102,69,... |
copyright zengfr site:http://github.com/zengfr/romhack
001590 lea ($20,A0), A0
0017B6 andi.w #$6, D0 [123p+ 72, enemy+72]
008072 move.w (A3)+, ($72,A1) [123p+ 16]
008076 bpl $807a [123p+ 72, enemy+72]
0082DA clr.w ($72,A1) [enemy+7E]
0082DE move.l #$2020000, ($28,A1) [enemy+72]
008380 beq $8386... |
; A160037: Numerator of Hermite(n, 11/25).
; Submitted by Christian Krause
; 1,22,-766,-71852,1291756,387678632,455454904,-2897569732112,-67731764516464,27485598501757792,1366665517848891424,-313503339879296788672,-25688724347766786430784,4137398162538582528602752,508464530227059095129500544,-61218248179429894157699148... |
; pasmo -I ../danagy -d test_fsqrt.asm 24576.bin > test.asm ; grep "BREAKPOINT" test.asm
; randomize usr 57344
INCLUDE "finit.asm"
color_flow_warning EQU 1
carry_flow_warning EQU 1
DATA_ADR EQU $6000 ; 24576
TEXT_ADR EQU $E000 ; 57344
ORG DATA_ADR
... |
; A120949: 2n+3^n+5^n.
; 2,10,38,158,714,3378,16366,80326,397202,1972826,9824694,49005294,244672090,1222297474,6108298622,30531927062,152630937378,763068593322,3815084686150,19074648589630,95370918425066,476847618556370,2384217172075278,11921023098256998,59604927204927154,298024071165562618,1490118661250594006,74505882... |
/*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/xe_hpc_core/hw_cmds_pvc.h"
#include "level_zero/core/source/helpers/l0_populate_factory.h"
#include "level_zero/core/source/hw_helpers/l0_hw_helper_base.inl"
#include "level_zero/core/source/hw_helpers/l0... |
; A128988: a(n) = (n^3 - n^2)*5^n.
; Submitted by Jamie Morken(s2.)
; 0,100,2250,30000,312500,2812500,22968750,175000000,1265625000,8789062500,59082031250,386718750000,2475585937500,15551757812500,96130371093750,585937500000000,3527832031250000,21011352539062500,123939514160156250,724792480468750000,4205703735351562500... |
#pragma once
/******************************************
* Project: MCT-TFE
* File: config.hpp
* By: ProgrammingIncluded
* Website: ProgrammingIncluded.github.io
*******************************************/
#include <map>
#include "types_macros.hpp"
extern uint MONTE_CARLO;
// Grid is always squ... |
; A128986: a(n) = (n^3 - n^2)*3^n.
; 0,36,486,3888,24300,131220,642978,2939328,12754584,53144100,214347870,841802544,3233287044,12187005012,45199057050,165299408640,597144113712,2133912053412,7552375012566,26499561447600,92260315250460,318957089865876,1095638315188626,3741626499300288
mov $1,3
pow $1,$0
mov $2,$0
add ... |
; A226264: Number of additive Z_2 Z_8 codes of a certain type (see Siap-Aydogdu for precise definition).
; 36,84,180,372,756,1524,3060,6132,12276,24564,49140,98292,196596,393204,786420,1572852,3145716,6291444,12582900,25165812,50331636,100663284,201326580,402653172,805306356,1610612724,3221225460,6442450932,12884901876... |
FocusEnergyEffect_:
ld hl, wPlayerBattleStatus2
ldh a, [hWhoseTurn]
and a
jr z, .notEnemy
ld hl, wEnemyBattleStatus2
.notEnemy
bit GETTING_PUMPED, [hl] ; is mon already using focus energy?
jr nz, .alreadyUsing
set GETTING_PUMPED, [hl] ; mon is now using focus energy
callfar PlayCurrentMoveAnimation
ld hl, Get... |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 pus... |
#ruledef test
{
ld {x: s8} => 0x55 @ x
}
ld 0x7f ; = 0x557f |
; _________________
; // \\
; || HOW TO COMPILE IT ||
; \\_________________//
;
; ------ x86_64 ------
; nasm -f elf64 meaning.asm
; ld -s -o meaning meaning.o
;
; _________________
; // \\
; || DESCRIPTION ||
; \\_________________//
;
; Modify the registry content
; u... |
/*
* Copyright (C) 2019 Open Source Robotics Foundation
*
* 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 appl... |
* WMAN version error message v0.00 Jun 1988 J.R.Oakley QJUMP
*
include 'dev8_mac_text'
*
section language
*
mktext wver,{Window Manager zu alt\}
*
end
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x8393, %r13
nop
nop
nop
xor %rbx, %rbx
mov $0x6162636465666768, %rcx
movq %rcx, %xmm3
movups %xmm3, (%r13)
nop
and $28765, %r11
lea addresses_WT_ht+0x1ed3, %rsi
lea addre... |
; A033593: a(n) = (n-1)*(2*n-1)*(3*n-1)*(4*n-1).
; 1,0,105,880,3465,9576,21505,42120,74865,123760,193401,288960,416185,581400,791505,1053976,1376865,1768800,2238985,2797200,3453801,4219720,5106465,6126120,7291345,8615376,10112025,11795680,13681305,15784440,18121201,20708280,23562945,26703040,30146985,33913776,38022985,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1c0cc, %r9
clflush (%r9)
nop
nop
nop
xor $22524, %rbx
movb (%r9), %al
nop
and %rcx, %rcx
lea addresses_WT_ht+0x14dbb, %rsi
lea addresses_WT_ht+0xe79b, %rdi
nop
nop
cmp %r10, %... |
// Copyright (c) 2012 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.
#define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first.
#include "ui/compositor/debug_utils.h"
#include <cmath>
#include <iomanip>
... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="fd, buf, n, flags, addr, addr_len"/>
<%docstring>
Invokes the syscall recvfrom. See 'man 2 recvfrom' for more information.
Arguments:
fd(int): fd
buf(void): buf
n(size_t): n
flags(int): flags
addr(SOCKADDR_ARG): addr
ad... |
Snd_MHZ2_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_MHZ2_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $30
smpsHeaderDAC Snd_MHZ2_DAC
smpsHeaderFM Snd_MHZ2_FM1, $00, $0D
smpsHeaderFM Snd_MHZ2_FM2, $00, $0F
smpsHeaderFM Snd_MHZ2_FM3, $00, $0A
smpsHeaderFM ... |
dnl Alpha mpn_copyi -- copy, incrementing.
dnl Copyright 2002, 2003 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License a... |
%define ARCH_ARM 0
%define ARCH_MIPS 0
%define ARCH_X86 1
%define ARCH_X86_64 0
%define HAVE_EDSP 0
%define HAVE_MEDIA 0
%define HAVE_NEON 0
%define HAVE_NEON_ASM 0
%define HAVE_MIPS32 0
%define HAVE_DSPR2 0
%define HAVE_MSA 0
%define HAVE_MIPS64 0
%define HAVE_MMX 1
%define HAVE_SSE 1
%define HAVE_SSE2 1
%define HAVE_... |
/*
* Copyright (c) 2020, Matthew Olsson <mattco@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/StringBuilder.h>
#include <LibJS/Runtime/Error.h>
#include <LibJS/Runtime/GlobalObject.h>
#include <LibJS/Runtime/IteratorOperations.h>
#include <LibJS/Runtime/StringIterator.h>
#include <LibJS... |
OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
ALIGN 32
$L$one::
DQ 1,0,0,0,0,0,0,0
PUBLIC eucl_inverse_mod_384
ALIGN 32
eucl_inverse_mod_384 PROC PUBLIC
DB 243,15,30,250
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov r11,rsp
$L$SEH_begin_eucl_inverse_mod_384::
mov rdi,rcx
mov rsi,rd... |
; void *p_stack_top(p_stack_t *s)
SECTION code_clib
SECTION code_adt_p_stack
PUBLIC p_stack_top
EXTERN asm_p_stack_top
defc p_stack_top = asm_p_stack_top
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _p_stack_top
defc _p_stack_top = p_stack_top
ENDIF
|
SECTION code_fp_math32
PUBLIC cm32_sccz80_fsload
.cm32_sccz80_fsload
; sccz80 float primitive
; Load float pointed to by HL into DEHL
;
; enter : HL = float* (sccz80_float)
;
; exit : DEHL = float (sccz80_float)
;
; uses : f, bc, de, hl
ld c,(hl)
inc hl
ld b,(hl)
... |
//------------------------------------------------------------------------------
/*
Copyright (c) 2012, 2013 Ripple Labs Inc.
Copyright (c) 2019 Ripple Alpha Association.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, prov... |
; asm_c_call.asm print a string using printf and getenv
; Assemble: nasm -f elf64 -l asm_c_call.lst asm_c_call.asm
; Link: gcc -m64 -o asm_c_call asm_c_call.o
; Run: ./asm_c_call
; Equivalent C code
; // hello.c
; #include <stdio.h>
; int main()
; {
; char msg[] = "Hello world\n";
; char envKey[] =... |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... |
SECTION code_fp_math16
PUBLIC _atanf16_fastcall
EXTERN atanf16
defc _atanf16_fastcall = atanf16
|
#include "MultiPanePhotovoltaic.hpp"
#include <cassert>
namespace MultiLayerOptics
{
///////////////////////////////////////////////////////////////////////////////////////
// CMultiPanePhotovoltaic
///////////////////////////////////////////////////////////////////////////////////////
std::unique_pt... |
; A020647: Least positive integer k for which 8^n divides k!.
; 1,4,8,12,16,16,20,24,28,32,32,36,40,42,46,48,52,56,58,62,64,64,68,72,76,80,80,84,88,92,96,96,100,104,106,110,112,116,120,122,126,128,128,132,136,138,142,144,148,152,154,158,160,162,166,168,172,176,178,182,184,188,192,192,196,200,202,206,208,212,216,218,222... |
; Copyright 2015-2020 Matt "MateoConLechuga" Waltz
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice,
; this list of conditions and the fol... |
; A014993: a(n) = (1 - (-11)^n)/12.
; 1,-10,111,-1220,13421,-147630,1623931,-17863240,196495641,-2161452050,23775972551,-261535698060,2876892678661,-31645819465270,348104014117971,-3829144155297680,42120585708274481,-463326442791019290,5096590870701212191,-56062499577713334100,616687495354846675101,-6783562448903313426... |
;#########################################################;
; ;
; @description : KMP inplementation, find str_a in str_b ;
; @author : XQChen ;
; @email : chenxiaoquan233@gmail.com ;
; ... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC ___fs2sint_callee
EXTERN cm48_sdccixp_ds2sint_callee
defc ___fs2sint_callee = cm48_sdccixp_ds2sint_callee
|
/*
* Copyright (c) 2001-2008
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004-2008
* Oracle. 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... |
; A063152: Dimension of the space of weight 2n cusp forms for Gamma_0( 84 ).
; 11,42,74,106,138,170,202,234,266,298,330,362,394,426,458,490,522,554,586,618,650,682,714,746,778,810,842,874,906,938,970,1002,1034,1066,1098,1130,1162,1194,1226,1258,1290,1322,1354,1386,1418,1450,1482,1514,1546
mul $0,32
trn $0,1
add $0,11
|
; Pokémon locked ID table constants
const_def
const LOCKED_MON_ID_MAP_1
const LOCKED_MON_ID_MAP_2
const LOCKED_MON_ID_MAP_3
const LOCKED_MON_ID_MAP_4
const LOCKED_MON_ID_MAP_5
const LOCKED_MON_ID_MAP_6
const LOCKED_MON_ID_MAP_7
const LOCKED_MON_ID_MAP_8
NUM_MAP_LOCKED_MON_IDS EQU const_value + -LOCKED_MON_ID_M... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2017-2019 The DragonBallChain Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "commons/json/json_spirit_utils.h"
#include "commons/json/json_s... |
;
; z88dk RS232 Function
;
; Amstrad CPC (STI) version
;
; unsigned char rs232_get(char *)
;
; $Id: rs232_get.asm,v 1.3 2015/01/19 01:33:07 pauloscustodio Exp $
; fastcall so implicit push
PUBLIC rs232_get
rs232_get: ld bc,$f8e1
... |
; A111883: Unsigned row sums of triangle A111595 (normalized rescaled squared Hermite polynomials).
; Submitted by Jon Maiga
; 1,1,4,16,100,676,5776,53824,583696,6864400,90174016,1274204416,19642583104,323196798016,5714394630400,107112895415296,2135062451773696,44858948563673344,994634863541502976,23133227941938073600,... |
; A237618: a(n) = n*(n + 1)*(19*n - 16)/6.
; 0,1,22,82,200,395,686,1092,1632,2325,3190,4246,5512,7007,8750,10760,13056,15657,18582,21850,25480,29491,33902,38732,44000,49725,55926,62622,69832,77575,85870,94736,104192,114257,124950,136290,148296,160987,174382,188500,203360,218981,235382,252582,270600,289455,309166,329752... |
// Copyright Carl Pearson 2020 - 2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <cuda_runtime.h>
#include <cstdint>
class Pack2DConfig {
using PackFn = void (*)(void *__... |
#include <oms/OutputSource.h>
#include <ossim/base/ossimOutputSource.h>
oms::OutputSource::OutputSource(ossimOutputSource* nativePointer)
:Source(nativePointer)
{
}
oms::OutputSource::~OutputSource()
{
}
bool oms::OutputSource::setNativePointer(ossimSource* nativePointer)
{
if(dynamic_cast<ossimOutputSource*>(nativ... |
disk_load:
pusha
push dx
mov ah, 0x02 ; ah <- int 0x13 function. 0x02 = 'read'
mov al, dh
mov cl, 0x02
mov ch, 0x00
mov dh, 0x00
int 0x13
jc disk_error
pop dx
cmp al, dh
jne sectors_error
popa
ret
disk_error:
mov bx, DISK_ERROR
call print
call... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x37ca, %rsi
lea addresses_UC_ht+0x1974a, %rdi
nop
nop
and %rdx, %rdx
mov $27, %rcx
rep movsl
nop
nop
and $4360, %r13
lea addresses_A_ht+0x444a, %rsi
lea addresses_UC_ht+0x14f4a, %rdi
clflush (%rs... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: VidMem video driver
FILE: clr24Output.asm
AUTHOR: Jim DeFrisco, Feb 21, 1992
ROUTINES:
Name Description
---- -----------
REVISION HIS... |
// Copyright (c) 2011-2013 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 "walletview.h"
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "send... |
; Timer test ticking up a character on the screen.
;
; Expect a banner at the top and a single character that changes on the
; second line
;
; Only works on Model 3 or Model 4
org 0x4a00
video equ $3c00
count defb 11 ; init to 11 ticks
d_char defb $41 ; init to ascii A
msg defb 'Timer In... |
#include <cstdio>
#include <iostream>
typedef long long ll;
ll cyc[11][11];
template <typename T>
T read();
int main() {
std::ios::sync_with_stdio(false);
ll n = read<ll>(), m = read<ll>(), k = read<ll>();
ll x = n, y = m, z = 0, p = 0;
if (k <= 2) {
if (k == 1) {
std::cout << ... |
; A245827: Szeged index of the grid graph P_3 X P_n.
; 4,59,216,526,1040,1809,2884,4316,6156,8455,11264,14634,18616,23261,28620,34744,41684,49491,58216,67910,78624,90409,103316,117396,132700,149279,167184,186466,207176,229365,253084,278384,305316,333931,364280,396414,430384,466241,504036,543820,585644,629559,675616,723... |
/*=========================================================================
*
* 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... |
ascii_to_uppercase:
.c00: db 0 ; None
.c01: db 0 ; None
.c02: db 0 ; None
.c03: db 0 ; None
.c04: db 0 ; None
.c05: db 0 ; None
.c06: db 0 ; None
.c07: db 0 ; None
.c08: db 0 ; None
.c09: db 0 ; None
.c0a: db 0 ; None
.c0b: db 0 ; None
.c0c: db 0 ; None
.c0d: db 0 ... |
object_const_def ; object_event constants
const ECRUTEAKPOKECENTER1F_NURSE
const ECRUTEAKPOKECENTER1F_POKEFAN_M
const ECRUTEAKPOKECENTER1F_COOLTRAINER_F
const ECRUTEAKPOKECENTER1F_GYM_GUY
const ECRUTEAKPOKECENTER1F_BILL
EcruteakPokecenter1F_MapScripts:
db 2 ; scene scripts
scene_script .MeetBill ; SCENE_DEFAUL... |
#ifndef OSRM_EXTRACTOR_FILES_HPP
#define OSRM_EXTRACTOR_FILES_HPP
#include "extractor/edge_based_edge.hpp"
#include "extractor/node_data_container.hpp"
#include "extractor/profile_properties.hpp"
#include "extractor/query_node.hpp"
#include "extractor/serialization.hpp"
#include "extractor/turn_lane_types.hpp"
#inclu... |
; test include asm fragment
include_count: = include_count + 1
MSG "Test INCLUDE count=", include_count
end
|
; A024212: 2nd elementary symmetric function of first n+1 positive integers congruent to 1 mod 3.
; 4,39,159,445,1005,1974,3514,5814,9090,13585,19569,27339,37219,49560,64740,83164,105264,131499,162355,198345,240009,287914,342654,404850,475150,554229,642789,741559,851295,972780,1106824,1254264,1415964,1592815,1785735,19... |
;
; MSX C Library
;
; Fputc_cons
;
; Stefano Bodrato - Apr. 2000
;
;
; $Id: fputc_cons.asm,v 1.8 2016/05/15 20:15:45 dom Exp $
;
SECTION code_clib
PUBLIC fputc_cons_native
EXTERN msxbios
IF FORmsx
INCLUDE "msxbios.def"
ELSE
INCLUDE "svibios.def"
ENDIF
;
; Entry: hl = p... |
; A087968: a(n) = gcd(1 + 2^n, n^2).
; Submitted by Christian Krause
; 1,1,9,1,1,1,1,1,27,25,1,1,1,1,9,1,1,1,1,1,9,1,1,1,1,1,81,1,1,25,1,1,9,1,1,1,1,1,9,1,1,1,1,1,27,1,1,1,1,125,9,1,1,1,121,1,9,1,1,1,1,1,27,1,1,1,1,289,9,25,1,1,1,1,9,1,1,169,1,1,243,1,1,1,1,1,9,1,1,25,1,1,9,1,1,1,1,1,27,1
add $0,1
mov $2,$0
mov $0,2
p... |
; A151784: 6^{wt(n)-1} where wt(n) is the binary weight of n (A000120).
; 1,1,6,1,6,6,36,1,6,6,36,6,36,36,216,1,6,6,36,6,36,36,216,6,36,36,216,36,216,216,1296,1,6,6,36,6,36,36,216,6,36,36,216,36,216,216,1296,6,36,36,216,36,216,216,1296,36,216,216,1296,216,1296,1296,7776,1,6,6,36,6,36,36
seq $0,48881 ; a(n) = A000120(n... |
; A047622: Numbers that are congruent to {0, 3, 5} mod 8.
; 0,3,5,8,11,13,16,19,21,24,27,29,32,35,37,40,43,45,48,51,53,56,59,61,64,67,69,72,75,77,80,83,85,88,91,93,96,99,101,104,107,109,112,115,117,120,123,125,128,131,133,136,139,141,144,147,149,152,155,157,160,163,165,168,171,173,176,179,181,184,187,189,192,195,197,20... |
// Copyright (c) 2012 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 "google_apis/drive/drive_api_parser.h"
#include <algorithm>
#include "base/basictypes.h"
#include "base/files/file_path.h"
#include "base/j... |
.include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 56
card_no equ "056"
card_sub equ "Mod Card 056"
card_sub_x ... |
; Pokémon swarms in water
SwarmWaterWildMons:
; No swarms encountered while surfing in Crystal
db -1 ; end
|
.model medium, stdcall
.stack
.data
brickBlack byte 00d ;black
brickBrown byte 185d ; brown
brickSkin byte 14d ;skin
.code
drawBrick proc x:word, y:word
push AX
push BX
push CX
push DX
push SI
push DI
mov AX, @data
mov DS, AX
... |
.686p
.mmx
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
ECP_Zero_J proc ptrA:DWORD
pushad
xor eax, eax
mov ecx, (16+16+16)/4
mov edi, dword ptr [esp+20h+4]
cld
rep stosd
popad
ret 4
ECP_Zero_J endp
end |
.include "keyboard.inc"
.include "data.inc"
toyourfeet:
call cls
ld hl, data
inc hl \ inc hl \ inc hl
ld a, 0
cp (hl)
ld hl, .strings
ld bc, 5
ld a, 3
call z, .ploopadj
call looped_print
.loop:
call shared@screens
cp keyl
jp z, .lay
cp keyo
jp z, .look
jr .loop
.ploopadj:
ld bc, 0
ld a, 8
ret
.la... |
; A140841: Primes of the form 210n + 13.
; Submitted by Jon Maiga
; 13,223,433,643,853,1063,1483,1693,2113,2953,3163,3373,3583,3793,4003,4423,5683,6733,7573,7993,8623,9043,9463,9883,10093,10303,10513,10723,11353,12613,12823,13033,13873,14083,14293,14503,14713,14923,15973
mov $1,4
mov $2,$0
add $2,2
pow $2,2
lpb $2
s... |
; A243399: a(0) = 1, a(1) = 19; for n > 1, a(n) = 19*a(n-1) + a(n-2).
; Submitted by Jamie Morken(s2)
; 1,19,362,6897,131405,2503592,47699653,908796999,17314842634,329890807045,6285240176489,119749454160336,2281524869222873,43468721969394923,828187242287726410,15779026325436196713,300629687425575463957,5727743087411370... |
; A263537: Integers k such that A098531(k) is divisible by A000071(k+2).
; 1,2,13,25,31,43,55,61,73,85,91,103,115,121,133,145,151,163,175,181,193,205,211,223,235,241,253,265,271,283,295,301,313,325,331,343,355,361,373,385,391,403,415,421,433,445,451,463,475,481,493,505,511,523,535,541,553,565,571,583,595,601,613,625,63... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.