text stringlengths 1 1.05M |
|---|
_SafariZoneRestHouse2Text1::
text "Tossing ROCKs at"
line "#MON might"
cont "make them run,"
cont "but they'll be"
cont "easier to catch."
done
_SafariZoneRestHouse2Text2::
text "Using BAIT will"
line "make #MON"
cont "easier to catch."
done
_SafariZoneRestHouse2Text3::
text "I hiked a lot, but"
line "I d... |
;
; Jupiter ACE pseudo graphics routines
; Version for the 2x3 graphics symbols (UDG redefined)
;
; Stefano Bodrato 2014
;
;
; XOR pixel at (x,y) coordinate.
;
;
; $Id: xorpixl.asm,v 1.9 2016/07/02 09:01:35 dom Exp $
;
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC xorpixel
EXT... |
#include "../../flame32.asm"
; Tests LDM
ldm A, TEST_VALUE
TEST_VALUE:
#d32 0x12345678
|
pxor xmm0, xmm1
aesdec xmm0, xmm2
aesdec xmm0, xmm3
aesdec xmm0, xmm4
aesdec xmm0, xmm5
aesdec xmm0, xmm6
aesdec xmm0, xmm7
aesdec xmm0, xmm8
aesdec xmm0, xmm9
aesdec xmm0, xmm10
aesdec xmm0, xmm11
aesdec xmm0, xmm12
aesdeclast xmm0, xmm13 |
// Copyright (c) 2017-2018 SECI developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternodeman.h"
#include "masternode.h"
#include "activemasternode.h"
#include "signhelper_mn.h"
#include "sync.h"
#includ... |
.thumb
.macro blh to,reg=r4
push {\reg}
ldr \reg,=\to
mov r14,\reg
pop {\reg}
.short 0xF800
.endm
.macro SET_FUNC name, value
.global \name
.type \name, function
.set \name, \value
.endm
.macro SET_DATA name, value
.global \name
.type \name, object
.set \name, \value
.endm
SET_DATA gBattleHitIt... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x15d03, %r10
nop
nop
add %r13, %r13
mov $0x6162636465666768, %r15
movq %r15, (%r10)
nop
nop
nop
lfence
lea addresses_normal_ht+0xa5d9, %r8
nop
nop
nop
nop
... |
;
; Page the graphics bank in/out - used by all gfx functions
; Doesn't really page on the MSX.
;
;
; $Id: swapgfxbk.asm,v 1.5 2015/01/19 01:32:49 pauloscustodio Exp $
;
PUBLIC swapgfxbk
EXTERN pixeladdress
PUBLIC swapgfxbk1
.swapgfxbk
di
ret
.swapgfxbk1
ei
r... |
54_Header:
sHeaderInit ; Z80 offset is $C59D
sHeaderPatch 54_Patches
sHeaderTick $01
sHeaderCh $02
sHeaderSFX $80, $02, 54_FM3, $00, $00
sHeaderSFX $80, $04, 54_FM4, $02, $00
54_FM4:
ssDetune $90
54_FM3:
sPatFM $00
dc.b nEb1, $7F, sHold
sJump 54_FM3
dc.b $F2 ; Unused
54_Patches:
; Patch $00
; $2... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provide... |
#ifndef CAFFE_LIBDNN_LIBDNN_CONV_HPP_
#define CAFFE_LIBDNN_LIBDNN_CONV_HPP_
#ifdef USE_LIBDNN
#include "caffe/definitions.hpp"
#include "caffe/common.hpp"
#include "caffe/quantizer.hpp"
#include "caffe/libdnn/libdnn.hpp"
#include "caffe/libdnn/libdnn_tuner.hpp"
namespace caffe {
typedef enum {
// Stack the batch ... |
; A178205: a(n) = a(n-1) + 10*a(n-3) for n > 2; a(0) = a(1) = a(2) = 1.
; Submitted by Jon Maiga
; 1,1,1,11,21,31,141,351,661,2071,5581,12191,32901,88711,210621,539631,1426741,3532951,8929261,23196671,58526181,147818791,379785501,965047311,2443235221,6241090231,15891563341,40323915551,102734817861,261650451271,66488960... |
// Copyright (c) 2017 Valve Corporation
// Copyright (c) 2017 LunarG 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... |
IDD_DLGVERSION equ 1700
IDC_EDTVERFILE equ 2903
IDC_EDTVERPROD equ 2904
IDC_CBOVEROS equ 2905
IDC_CBOVERTYPE equ 2906
IDC_CBOVERLANG equ 2907
IDC_CBOVERCHAR equ 2908
IDC_LSTVER equ 2909
IDC_EDTVER equ 2910
IDC_EDTVERTPE equ 2911
IDC_BTNVERADD equ 2912
.const
szVerOS dd 00000004h
... |
/* Copyright 2018 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 law or a... |
//=- WebAssemblyInstPrinter.cpp - WebAssembly assembly instruction printing -=//
//
// 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
//
//===---------------------------... |
; A141418: Triangle read by rows: T(n,k) = k * (2*n - k - 1) / 2, 1 <= k <= n.
; Submitted by Jamie Morken(s4)
; 0,1,1,2,3,3,3,5,6,6,4,7,9,10,10,5,9,12,14,15,15,6,11,15,18,20,21,21,7,13,18,22,25,27,28,28,8,15,21,26,30,33,35,36,36,9,17,24,30,35,39,42,44,45,45,10,19,27,34,40,45,49,52,54,55,55,11,21,30,38,45,51,56,60,63,6... |
; A010795: n! (n+6)! / 6!.
; Submitted by Jon Maiga
; 1,7,112,3024,120960,6652800,479001600,43589145600,4881984307200,659067881472000,105450861035520000,19719311013642240000,4259371178946723840000,1052064681199840788480000
mov $1,1
mov $2,6
lpb $0
mul $1,$0
sub $0,1
add $2,1
mul $1,$2
lpe
mov $0,$1
|
%include "vesa.inc"
SECTION .text
USE16
vesa:
.getcardinfo:
mov ax, 0x4F00
mov di, VBECardInfo
int 0x10
cmp ax, 0x4F
je .findmode
mov eax, 1
ret
.resetlist:
;if needed, reset mins/maxes/stuff
xor cx, cx
mov [.minx], cx
mov [.miny], cx
mov [config.xres], cx
mov [confi... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: clg.asm,v 1.6 2016-04-13 21:09:09 dom Exp $
;
SECTION code_clib
PUBLIC clg
PUBLIC _clg
... |
;
;
SECTION code_clib
PUBLIC generic_console_cls
PUBLIC generic_console_vpeek
PUBLIC generic_console_scrollup
PUBLIC generic_console_printc
PUBLIC generic_console_ioctl
PUBLIC generic_console_set_ink
PUBLIC generic_console_set_paper
P... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1be0a, %rsi
lea addresses_A_ht+0x10f80, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
add %r11, %r11
mov $43, %rcx
rep movsb
xor $55658, %rdx
lea addresses_D_ht+0x10aea, %rdi
nop
su... |
[BITS 32]
section .asm
global print:function
global smollos_getkey: function
global smollos_malloc: function
global smollos_free: function
global smollos_putchar:function
global smollos_process_load_start: function
global smollos_process_get_arguments: function
global smollos_system:function
global smollos_exit: fun... |
; A073784: Number of primes between successive composite numbers.
; 1,1,0,0,1,1,0,0,1,1,0,0,1,0,0,0,0,1,1,0,0,0,0,1,0,0,1,1,0,0,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,1,0,0,1,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0
seq $0,72668 ; Numbers one less than composite numb... |
%ifdef CONFIG
{
"RegData": {
"RAX": ["0xbff0000000000000"]
},
"Env": { "FEX_X87REDUCEDPRECISION" : "1" }
}
%endif
mov rdx, 0xe0000000
mov rax, 0x3ff0000000000000 ; 1.0
mov [rdx + 8 * 0], rax
mov ax, 2
mov [rdx + 8 * 1], ax
fld qword [rdx + 8 * 0]
fisub word [rdx + 8 * 1]
fst qword [rdx]
mov rax, [rdx]
h... |
.ORIG x0200
START
; LD R0, S1
; ST R0, S2
ADD R0, R0, #0
BRp APPLE
BRnz BANANA
BR ORANGE
APPLE ADD R1, R2, R3
BANANA ADD R4, R5, R6
ORANGE ADD R0, R1, R4
DONE BR DONE
S1 .STRINGZ "XYZ"
S2 .STRINGZ "123"
.END |
// https://github.com/mrdoob/three.js/tree/r129/src/core/Clock.js
#ifndef THREEPP_CLOCK_HPP
#define THREEPP_CLOCK_HPP
#include <chrono>
namespace threepp {
class Clock {
public:
explicit Clock(bool autoStart = true) : autoStart_(autoStart) {}
void start() {
startTime_ = std::c... |
// Copyright (c) 2015-2017, RAPtor Developer Team
// License: Simplified BSD, http://opensource.org/licenses/BSD-2-Clause
#include "core/comm_pkg.hpp"
#include "core/par_matrix.hpp"
using namespace raptor;
// Forward Declarations
// Helper Methods
template <typename T> aligned_vector<T>& create_mat(int n, int m, in... |
; (c) Dossytronics 2017
; test harness ROM for VHDL testbench for MEMC mk2
; makes a 4k ROM
.setcpu "6502X"
.include "common.inc"
.include "hw.inc"
.include "aeris.inc"
vec_nmi := $D00
.ZEROPAGE
ZP_PTR: .RES 2
.CODE
mostbl_chardefs:
.byte $00,$00,$00,$00,$00,$00,$00,$00
.byte $18,$18,$18,$18,$18,$... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
/* **********************************************************
* Copyright (c) 2008-2009 VMware, Inc. All rights reserved.
* ********************************************************** */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>timerfd_settime64(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall timerfd_settime64.
See 'man 2 timerfd_settime64' for more information.
Arguments:
vararg(int): vararg
R... |
; play some animated gifs
.start_fx_playgifs
PLAYGIFS_shadow_addr = MODE7_VRAM_SHADOW+40
PLAYGIFS_num = 4
PLAYGIFS_time = 25 * 8
PLAYGIFS_BIRD = 0
PLAYGIFS_WEATHER = 1
PLAYGIFS_DANCER = 2
PLAYGIFS_BLUEBLOB = 3
.fx_playgifs_data
{
EQUW animated_gif_bird
EQUW animated_gif_weather
EQUW animated_gif_dancer... |
/**
* GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved
*
* This file is part of GeoDa.
*
* GeoDa is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... |
.text
lui $2,0x0001
addi $1,$0,1
nop
nop
nop
sw $1,1($2)
sw $1,2($2)
et: beq $0,$0,et
|
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>readlinkat(fd, path, buf, length) -> str
Invokes the syscall readlinkat.
See 'man 2 readlinkat' for more information.
Arguments:
fd(int): fd
path(char*): path
buf(char*): buf
length(size... |
// 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 may... |
;/** @file
;
; IDT vector entry.
;
; Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;**/
SECTION .text
;
;------------------------------------------------------------------------------
; Generic IDT Vector Handlers for the Host.
;
;---... |
; SMSQ Hardware table handling V2.10 1999 Tony Tebby
section hwt
xdef hwt_create ; create empty hardware table
xdef hwt_iserve ; install interrupt servers in hwt
xref gu_achpp
xref gu_rchp
include 'dev8_keys_hwt'
include 'dev8_smsq_smsq_base_keys'
include 'dev8_mac_assert'
;+++
; Hardware table set... |
! crt1.s for sparc & sparcv9 (SunOS 5)
! Copyright (C) 1992 Free Software Foundation, Inc.
! Written By David Vinayak Henkel-Wallace, June 1992
!
! This file is free software; you can redistribute it and/or modify it
! under the terms of the GNU General Public License as published by the
! Free Software Foundatio... |
//JUC r6 start_menu ///calls start_game.
start_Game:
JAL r6 initlevel
JAL r6 INIT_PACMAN
JAL r6 INIT_GreenGhost
mainGameLoop:
JAL r6 PACMAN_UPDATE_STATE
JAL r6 GreenGhost_UPDATE_STATE
JAL r6 GreenGhost_Draw_GLYPH
JAL r6 PACMAN_DRAW_GLYPH
JUC r6 mainGameLoop
//:::::::::::::BEGIN PACMAN STATE MACHINE::::::::::::::... |
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "op/quantize_linear.hpp"
#include <cstdint>
#include <memory>
#include <numeric>
#include <tuple>
#include "default_opset.hpp"
#include "exceptions.hpp"
#include "ngraph/axis_set.hpp"
#include "ngraph/builder/reshape.hpp"... |
; A025445: Expansion of 1/((1-2x)(1-3x)(1-4x)(1-7x)).
; Submitted by Christian Krause
; 1,16,167,1454,11529,86772,633739,4547818,32300477,228024368,1604029791,11260172742,78950652145,553177103404,3874344193523,27128870214626,189936063951333,1329688724613480,9308367341848135
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0... |
%ifdef CONFIG
{
"RegData": {
"XMM1": ["0xee65166050ac19a0", "0xfe1eb34a32b1a0b2"],
"XMM2": ["0x28a18cdd2d20fb20", "0x1d6fa69c44caed04"],
"XMM3": ["0xf514cf89a88edcde", "0x01e3dc4237becfcf"],
"XMM4": ["0x0004b0350897f35a", "0x03cd750e809c18d0"],
"XMM5": ["0x066a5fa4ad5148c8", "0x00bca2da387e55a2"],... |
%define ARCH_ARM 0
%define ARCH_MIPS 0
%define ARCH_X86 1
%define ARCH_X86_64 0
%define ARCH_PPC 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_SSE3 1
%define HAVE_SS... |
; A060758: a(n) = 5^(n^2).
; Submitted by Christian Krause
; 1,5,625,1953125,152587890625,298023223876953125,14551915228366851806640625,17763568394002504646778106689453125,542101086242752217003726400434970855712890625,413590306276513837435704346034981426782906055450439453125,78886090522101180541172856528278622967320643... |
;*****************************************************************************
;* dct-32.asm: x86_32 transform and zigzag
;*****************************************************************************
;* Copyright (C) 2003-2015 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Holger Lubit... |
build/machineCsr.elf: file format elf32-littleriscv
Disassembly of section .crt_section:
80000000 <trap_entry-0x20>:
80000000: 0940006f j 80000094 <_start>
80000004: 00000013 nop
80000008: 00000013 nop
8000000c: 00000013 nop
80000010: 00000013 nop
80000014: 0000... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; SetMem16.nasm
;
; Abstract:
;
; SetMem16 function
;
; Notes:
;
;------------------------------------... |
;
; Copyright (C) 2019 Assured Information Security, Inc.
;
; 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... |
; ---------------------------------------------------------------------------
; Animation script - prison capsule
; ---------------------------------------------------------------------------
dc.w byte_1AD70-Ani_obj3E
dc.w byte_1AD70-Ani_obj3E
byte_1AD70: dc.b 2, 1, 3, $FF
even |
#include <bits/stdc++.h>
#define le 10004
using namespace std;
vector<int> v;
int main(){
//freopen("input.txt", "r", stdin);
int a;
while(scanf("%d", &a) != EOF) v.push_back(a);
sort(v.begin(), v.end());
for(int i = v.size() - 1, j = 0; i >= 0 && j < 3; i--, j++) cout << v[i] << endl;
return 0;... |
; A059831: Determinant of Wilkinson's eigenvalue test matrix of order 2n+1.
; Submitted by Jon Maiga
; 0,-2,-4,-20,-252,-5610,-187944,-8760272,-540315160,-42535905530,-4158250120140,-493938370048692,-70043599065844404,-11684931733886455730,-2264985487707963662992,-504752888883221450120000,-128137017404994234514023024
... |
assume cs:code, ds:data, ss:stack
stack segment
db 100 dup(0)
stack ends
data segment
a dw 0
db 100 dup(0)
string db 'Hello!$'
data ends
code segment
start:
mov ax, data
mov ds, ax
mov ax, stack
mov ss, ax
call mathFunc3
mov bx, ... |
lbu $3,15($0)
subu $3,$4,$3
slti $6,$3,22413
sllv $6,$2,$3
srav $4,$0,$3
ori $3,$3,29131
and $1,$3,$3
addiu $3,$3,23286
lw $4,0($0)
xori $3,$3,62860
slti $5,$1,-14026
lh $0,14($0)
xor $3,$3,$3
addu $4,$5,$3
srav $1,$3,$3
lhu $4,16($0)
sra $5,$1,17
sltu $3,$3,$3
srlv $3,$3,$3
lw $3,16($0)
slt $4,$0,$3
slti $4,$5,-18192
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xefc3, %rax
nop
nop
nop
nop
nop
inc %rbp
movl $0x61626364, (%rax)
add $58532, %r14
lea addresses_WC_ht+0x8697, %r12
nop
nop
nop
nop
nop
xor %rax, %rax
movb $0x61, (%r... |
; A047484: Numbers that are congruent to {3, 5, 7} mod 8.
; Submitted by Christian Krause
; 3,5,7,11,13,15,19,21,23,27,29,31,35,37,39,43,45,47,51,53,55,59,61,63,67,69,71,75,77,79,83,85,87,91,93,95,99,101,103,107,109,111,115,117,119,123,125,127,131,133,135,139,141,143,147,149,151,155,157,159,163,165,167,171,173,175,179,... |
; int __FASTCALL__ putchar(int c)
; 06.2008 aralbrec
PUBLIC putchar
EXTERN fputc_callee
EXTERN ASMDISP_FPUTC_CALLEE, _stdout
.putchar
ld ix,(_stdout)
jp fputc_callee + ASMDISP_FPUTC_CALLEE
|
; A212764: Number of (w,x,y,z) with all terms in {0,...,n}, w, x and y odd, and z odd.
; 0,1,8,16,54,81,192,256,500,625,1080,1296,2058,2401,3584,4096,5832,6561,9000,10000,13310,14641,19008,20736,26364,28561,35672,38416,47250,50625,61440,65536,78608,83521,99144,104976,123462,130321
add $0,1
mov $1,1
add $1,$0
div $1,2
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: laserjet print driver
FILE: textInitFontPCL4.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
PrInitFont... |
; pgrm.asm
; Search an array to see if it contains a known value.
; Assumptions:
; R4 initially contains the start address of the array.
; R5 initially contains the number of elements in the array.
; R3 initially contains the “value of interest”.
; If the “value of interest” is in the array, then at the end of executi... |
//===-- ArchSpec.cpp --------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
; A140429: a(n) = floor(3^(n-1)).
; 0,1,3,9,27,81,243,729,2187,6561,19683,59049,177147,531441,1594323,4782969,14348907,43046721,129140163,387420489,1162261467,3486784401,10460353203,31381059609,94143178827,282429536481,847288609443
mov $1,3
pow $1,$0
div $1,3
|
;;kernel.asm
%define MEMORY_MAP 0x1
%define PAGE_ALIGN 0x2
%define VBE_ENABLE 0x4
;nasm directive - 32 bit
bits 32
section .multiboot
;multiboot1
align 4
dd 0x1BADB002 ;magic
dd MEMORY_MAP|PAGE_ALIGN|VBE_ENABLE ;flags (bit 1 set for memory map, b... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; PeiCoreEntry.nasm
;
; Abstract:
;
; Find and call SecStartup
;
;------------------------... |
###############################################################################
# Copyright 2018 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... |
;;
;; Copyright (c) 2009-2019, 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... |
device ZXSPECTRUMNEXT
CSPECTMAP "i4.map"
org $8000
BORDER: defb 0
Start:
;break
jr SetupISR
Update:
ld a,(BORDER)
inc a
and 7
out (254),a
ld (BORDER),a
ret
SetupISR:
; Setup the 128 entry vector table
di
; Setup the I register (the high byte of the table)
... |
; A250230: Number of length 3+1 0..n arrays with the sum of the cubes of adjacent differences multiplied by some arrangement of +-1 equal to zero.
; 8,27,52,89,132,187,248,321,400,491,588,697,812,939,1072,1217,1368,1531,1700,1881,2068,2267,2472,2689,2912,3147,3388,3641,3900,4171,4448,4737,5032,5339,5652,5977,6308,6651,... |
#include "stdafx.h"
#include "DMSlopeDetector.h"
#include "SlopeDetector.h"
#include "SlopeDetector.h"
#include "DACVoltage.h"
#include "DMSlopeDetector.h"
#include "TestWrappers.h"
//#define _HACK
/** Test harness
*/
void sd0()
{
#if (_VERBOSE > 0)
printf("sd0\n");
#endif
SlopeDetector sd(20, 1000, Constants::... |
/* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "common/base/Base.h"
#include "storage/mutate/UpdateEdgeProcessor.h"
#include "common/utils/NebulaKeyUtils.h"
#... |
#include <iostream>
#include "geo3x3.h"
using namespace std;
int main() {
char buf[30];
Geo3x3_encode(35.65858, 139.745433, 14, buf);
cout << buf << endl;
double res[4];
Geo3x3_decode("E3793653391822", res);
cout << res[0] << " " << res[1] << " " << res[2] << " " << res[3] << endl;
return ... |
db GOLDEEN ; pokedex id
db 45 ; base hp
db 67 ; base attack
db 60 ; base defense
db 63 ; base speed
db 50 ; base special
db WATER ; species type 1
db WATER ; species type 2
db 225 ; catch rate
db 111 ; base exp yield
INCBIN "pic/gsmon/goldeen.pic",0,1 ; 66, sprite dimensions
dw GoldeenPicFront
dw GoldeenPicBack
; attac... |
/*
* Copyright (c) 2007, Michael Feathers, James Grenning and Bas Vodde
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright... |
copyright zengfr site:http://github.com/zengfr/romhack
002F7C move.w (A0,D0.w), D1 [boss+37, enemy+37]
copyright zengfr site:http://github.com/zengfr/romhack
|
; A292295: Sum of values of vertices of type A at level n of the hyperbolic Pascal pyramid.
; 0,0,6,18,54,174,582,1974,6726,22950,78342,267462,913158,3117702,10644486,36342534,124081158,423639558,1446395910,4938304518,16860426246,57565095942,196539531270,671027933190,2291032670214,7822074814470,26706233917446,911807860... |
; A145812: Odd positive integers a(n) such that for every odd integer m > 1 there exists a unique representation of m as a sum of the form a(l) + 2a(s).
; 1,3,9,11,33,35,41,43,129,131,137,139,161,163,169,171,513,515,521,523,545,547,553,555,641,643,649,651,673,675,681,683,2049,2051,2057,2059,2081,2083,2089,2091,2177,217... |
; A345939: a(n) = (n-1) / gcd(n-1, uphi(n)), where uphi is unitary totient (or unitary phi) function, A047994.
; Submitted by Christian Krause
; 0,1,1,1,1,5,1,1,1,9,1,11,1,13,7,1,1,17,1,19,5,21,1,23,1,25,1,3,1,29,1,1,8,33,17,35,1,37,19,39,1,41,1,43,11,45,1,47,1,49,25,17,1,53,27,55,14,57,1,59,1,61,31,1,4,13,1,67,17,23,1... |
; A162642: Number of odd exponents in the canonical prime factorization of n.
; 0,1,1,0,1,2,1,1,0,2,1,1,1,2,2,0,1,1,1,1,2,2,1,2,0,2,1,1,1,3,1,1,2,2,2,0,1,2,2,2,1,3,1,1,1,2,1,1,0,1,2,1,1,2,2,2,2,2,1,2,1,2,1,0,2,3,1,1,2,3,1,1,1,2,1,1,2,3,1,1,0,2,1,2,2,2,2,2,1,2,2,1,2,2,2,2,1,1,1,0
seq $0,7913 ; Squarefree part of n: a(n... |
#include <gatb/debruijn/impl/GraphUnitigs.hpp>
#include <bcalm_1.hpp>
using namespace std;
/*
* where did all the code go? now it's mostly in ../gatb-core/gatb-core/src/gatb/bcalm/
*/
/********************************************************************************/
bcalm_1::bcalm_1 () : Tool ("bcalm_1"){
/... |
; A145069: a(n) = n*(n^2 + 3*n + 5)/3.
; 0,3,10,23,44,75,118,175,248,339,450,583,740,923,1134,1375,1648,1955,2298,2679,3100,3563,4070,4623,5224,5875,6578,7335,8148,9019,9950,10943,12000,13123,14314,15575,16908,18315,19798,21359,23000,24723,26530,28423,30404,32475,34638,36895,39248,41699,44250,46903,49660,52523,55494,58... |
Map_4DA68: dc.w word_4DA6A-Map_4DA68
word_4DA6A: dc.w 3
dc.b $FC, 0, 0, 0, $FF, $D4
dc.b $FC, $C, 0, 1, $FF, $E4
dc.b $FC, $C, 0, 5, 0, $C
|
global uint32_to_ip
section .text
; <--- char *uint32_to_ip(char *ip, uint32_t num) --->
; Converter without using a library function.
uint32_to_ip:
%push mycontext ; store current context
%stacksize flat64 ; address stack frame with rbp
%assign %$localsize 0
BUFFER_SIZE equ 4*4 ... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC ___fs2uchar
EXTERN cm48_sdccixp_ds2uchar
defc ___fs2uchar = cm48_sdccixp_ds2uchar
|
// The YukinoDB Unit Test Suite
//
// area_test.cc
//
// Created by Niko Bellic.
//
//
#include "util/area-inl.h"
#include "util/area.h"
#include "gtest/gtest.h"
#include <stdio.h>
namespace yukino {
namespace util {
class AreaTest : public ::testing::Test {
public:
AreaTest ()
: area_(kPageSize) {
... |
.inesprg 4 ; 4x 16KB PRG = 128KB PRG
.ineschr 0 ; 0x 8KB CHR
.inesmap 1 ; MMC1 mapper
.inesmir %10
.include "nes_constants.asm"
.include "constants.asm"
.rsset $0000
.include "variables.asm"
.bank 0
.org $8000
.include "maps/map00.asm"
.bank... |
; A279506: Total number of 1's in the binary expansion of A003418.
; Submitted by Jamie Morken(w4)
; 1,1,1,2,2,4,4,4,4,6,6,6,6,12,12,12,12,12,12,12,12,12,12,14,14,21,21,18,18,17,17,22,22,22,22,22,22,28,28,28,28,25,25,32,32,32,32,40,40,40,40,40,40,43,43,43,43,43,43,38,38,44,44,44,44,44,44,47,47,47,47,52,52,56,56,56,56,5... |
/* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this ... |
SFX_Noise_Instrument10_2_Ch8:
noise_note 0, 8, 2, 37
sound_ret
|
; A313533: Coordination sequence Gal.6.131.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,14,19,23,27,31,35,40,44,49,54,59,64,68,73,77,81,85,89,94,98,103,108,113,118,122,127,131,135,139,143,148,152,157,162,167,172,176,181,1... |
###############################################################################
# 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... |
; A309397: a(n) = gcd(n^2, A001008(n-1)) for n > 1.
; Submitted by Christian Krause
; 1,3,1,25,1,49,1,1,1,121,1,169,1,1,1,289,1,361,1,1,1,529,1,5,1,1,1,841,1,961,1,1,1,1,1,1369,1,1,1,1681,1,1849,1,1,1,2209,1,7,1,1,1,2809,1,1,1,1,1,3481,1,3721,1,1,1,1,1,4489,1,1,1,5041,1,5329
mov $2,$0
seq $0,175441 ; Denominators of t... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: Power Drivers
FILE: apmUtil.asm
AUTHOR: Todd Stumpf, Aug 1, 1994
ROUTINES:
Name Description
---- -----------
APMGetStatusACLine Is AC Ad... |
#ifndef BOOST_STATECHART_SIMPLE_STATE_HPP_INCLUDED
#define BOOST_STATECHART_SIMPLE_STATE_HPP_INCLUDED
//////////////////////////////////////////////////////////////////////////////
// Copyright 2002-2010 Andreas Huber Doenni
// Distributed under the Boost Software License, Version 1.0. (See accompany-
// ing file LICEN... |
;
; Initialisation strings for the LCD panel
;
LCD_init_String0:
.DB 0x0C,0x01 ; turn on display, cursor and blink + clear display, return cursor to home position
LCD_init_Msg:
.DB " ", 0x00
;
; LCD Position - set the write poswition in the DRAM
; r24 holds the LCD I2C address
; r25 holds the address (0-127... |
; A006940: Rows of Pascal's triangle mod 3.
; Submitted by Jon Maiga
; 1,11,121,1001,11011,121121,1002001,11022011,121212121,1000000001,11000000011,121000000121,1001000001001,11011000011011,121121000121121,1002001001002001,11022011011022011,121212121121212121,1000000002000000001,11000000022000000011,1210000002120000001... |
; A095166: Group the natural numbers so that the n-th group contains n(n+1)/2 numbers and obtain the group sum.
; 1,9,45,155,420,966,1974,3690,6435,10615,16731,25389,37310,53340,74460,101796,136629,180405,234745,301455,382536,480194,596850,735150,897975,1088451,1309959,1566145,1860930,2198520,2583416,3020424,3514665
a... |
%ifdef CONFIG
{
"RegData": {
"MM7": ["0x8000000000000000", "0xBFFF"]
},
"Mode": "32BIT"
}
%endif
lea edx, [.data]
fld qword [edx + 8 * 0]
fisub word [edx + 8 * 1]
hlt
.data:
dq 0x3ff0000000000000
dq 2
|
;
; ANSI Video handling for gencon
;
; BEL - chr(7) Beep it out
MODULE __gencon_ansi_BEL
SECTION code_clib
PUBLIC __gencon_ansi_BEL
__gencon_ansi_BEL:
ret
|
; A065737: Largest square <= binomial(n,2).
; 0,1,1,4,9,9,16,25,36,36,49,64,64,81,100,100,121,144,169,169,196,225,225,256,289,324,324,361,400,400,441,484,484,529,576,625,625,676,729,729,784,841,900,900,961,1024,1024,1089,1156,1225,1225,1296,1369,1369,1444,1521,1521,1600,1681,1764,1764,1849,1936,1936,2025,2116,2209,2209... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.