text stringlengths 1 1.05M |
|---|
; A341259: Number of 0's in n-th word defined at A341258.
; Submitted by Christian Krause
; 1,0,2,1,1,3,0,2,2,2,4,1,1,3,1,3,3,3,5,0,2,2,2,4,2,2,4,2,4,4,4,6,1,1,3,1,3,3,3,5,1,3,3,3,5,3,3,5,3,5,5,5,7,0,2,2,2,4,2,2,4,2,4,4,4,6,2,2,4,2,4,4,4,6,2,4,4,4,6,4,4,6,4,6,6,6
add $0,2
seq $0,307096 ; Positive integers m such that ... |
; A136610: Number of odd digits in Fibonacci numbers.
; 0,1,1,0,1,1,0,2,1,1,2,1,1,2,3,1,2,4,1,2,2,2,5,2,1,3,5,3,5,3,1,3,4,4,3,3,5,5,4,3,6,5,4,5,5,7,7,7,4,5,4,5,6,9,5,6,8,6,7,4,6,7,8,7,7,9,7,7,5,7,10,8,6,10,8,9,6,10,8,6,6
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
seq $0,196564 ; ... |
GavenAskNumber1Text:
text "Wow, you're tough."
line "I haven't battled"
para "that seriously in"
line "a long time."
para "Could I get your"
line "phone number?"
para "I'd like to battle"
line "again when I heal"
para "@"
text_ram wStringBuffer4
text " and the"
line "rest of my team."
done
GavenAskNum... |
SFX_Heal_HP_2_Ch4:
duty 2
unknownsfx0x10 23
unknownsfx0x20 15, 240, 240, 4
unknownsfx0x20 15, 242, 80, 6
unknownsfx0x10 8
endchannel
|
#ifndef KOMUNA_PROPRAADRES_HPP
#define KOMUNA_PROPRAADRES_HPP
#include <memory>
template<class ...K> using PropraAdres = std::unique_ptr<K...>;
#endif //KOMUNA_PROPRAADRES_HPP
|
%ifdef CONFIG
{
"RegData": {
"RAX": "0x1",
"RSP": "0xe0000030"
}
}
%endif
mov esp, 0xe0000030
lea rbx, [rel .end]
mov rcx, 0x33
mov rdx, rsp
mov eax, 0x2b
push rax ; SS
push rdx ; RSP
mov eax, 0x202
push rax ; RFLAGS
push rcx ; CS
push rbx ; RIP
mov eax, -1
iretq
; Super fail
mov eax, 2
hlt
.end_fail:... |
;===============================================================================
; Copyright 2014-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") co... |
SFX_Psychic_M_Ch1:
duty 2
unknownsfx0x10 247
unknownsfx0x20 8, 196, 189, 7
unknownsfx0x20 8, 196, 190, 7
unknownsfx0x20 8, 196, 191, 7
unknownsfx0x20 8, 196, 192, 7
unknownsfx0x20 15, 196, 193, 7
unknownsfx0x20 15, 242, 192, 7
unknownsfx0x10 8
endchannel
SFX_Psychic_M_Ch2:
duty 2
unknownsfx0x20 8, 196, 11... |
bits 64
vpopcntb xmm2, xmm0
vpopcntb xmm2, [rbx]
vpopcntb xmm2, [rbx+r11*8+256]
vpopcntb xmm2, [rbx+r11*8-256]
vpopcntb xmm2{k5}, xmm0
vpopcntb xmm2{k5}, [rbx]
vpopcntb xmm2{k5}, [rbx+r11*8+256]
vpopcntb xmm2{k5}, [rbx+r11*8-256]
vpopcntb xmm2{z}, xmm0
vpopcntb xmm2{z}, ... |
; A142479: Primes congruent to 5 mod 51.
; Submitted by Jon Maiga
; 5,107,311,617,719,821,1229,1433,1637,2351,2657,2861,2963,3167,3371,3677,3779,3881,4289,4391,4493,4799,5003,5309,5717,6329,6737,7043,7247,7349,7451,7757,8369,8573,9491,10103,10613,11633,11939,12041,12143,12347,12653,12959,13163,13367,13469,13877,14081,1... |
; A022088: Fibonacci sequence beginning 0, 5.
; 0,5,5,10,15,25,40,65,105,170,275,445,720,1165,1885,3050,4935,7985,12920,20905,33825,54730,88555,143285,231840,375125,606965,982090,1589055,2571145,4160200,6731345,10891545,17622890,28514435,46137325,74651760,120789085
mov $3,1
lpb $0
sub $0,1
mov $2,$1
mov $1,$3
... |
#include "wav_reader.hpp"
#include <iostream>
#include <string>
#include <cstdint>
#include <cstring>
#include <thread>
#include <windows.h>
WAVReader::WAVReader() = default;
WAVReader::WAVReader(const WAVReader &reader) {}
WAVReader::~WAVReader() = default;
void WAVReader::load_file(std::string *file_path) {
i... |
;
; Create an implementation of the rotational cipher, also sometimes called the
; Caesar cipher.
;
; Parameters:
; rdi - text
; rsi - shift_key
; rdx - buffer
;
section .text
global rotate
rotate:
mov rcx, rdx ; Save buffer
cmp byte [rdi], 0 ; Check if text is an empty string
je .loop... |
; A072674: 3^n+2*2^n-3.
; 0,4,14,40,110,304,854,2440,7070,20704,61094,181240,539630,1610704,4815734,14414440,43177790,129402304,387944774,1163310040,3488881550,10464547504,31389448214,94159956040,282463090910,847355718304
mov $2,6
lpb $0,1
sub $0,1
add $3,$2
sub $3,4
add $1,$3
mul $1,2
mov $2,$3
mul $2,2... |
; A260415: Expansion of f(x, x^2) * f(x^4, x^8) in powers of x where f(,) is Ramanujan's general theta function.
; Submitted by Christian Krause
; 1,1,1,0,1,2,1,1,1,2,1,1,1,1,0,2,1,0,0,1,2,1,2,1,0,1,2,1,1,1,3,0,1,1,1,3,0,0,0,1,2,0,1,2,1,0,1,0,2,1,2,1,0,1,1,3,0,1,0,1,3,2,1,2,0,2,0,1,1,0,2,1,1,0,2,1,0,2,1,1,0,1,1,1,0,2,1... |
; A160746: a(n) = A151566(n)*4.
; 0,4,8,16,24,32,40,56,72,80,88,104,120,136,152,184,216,224,232,248,264,280,296,328,360,376,392,424,456,488,520,584,648,656,664,680,696,712,728,760,792,808,824,856,888,920,952,1016,1080,1096,1112,1144,1176,1208,1240
mov $20,$0
mov $22,$0
lpb $22,1
mov $0,$20
sub $22,1
sub $0,$22
... |
; A005131: A generalized continued fraction for Euler's number e.
; 1,0,1,1,2,1,1,4,1,1,6,1,1,8,1,1,10,1,1,12,1,1,14,1,1,16,1,1,18,1,1,20,1,1,22,1,1,24,1,1,26,1,1,28,1,1,30,1,1,32,1,1,34,1,1,36,1,1,38,1,1,40,1,1,42,1,1,44,1,1,46,1,1,48,1,1,50,1,1,52,1,1,54,1,1,56,1,1,58,1,1,60,1,1,62,1,1,64,1,1
mul $0,2
mov $2,2
sub $... |
; Starter Point
#begin E000h
; Locate code in this address
#org E000h
; Set a value in the Accumulator
MVI A,EAh
; Set 0Fh mask in B Register and
; set F0h mask in C Register
LXI B,0FF0h
; Binary AND with Accumulator
ANI 8Fh ; 8Ah
ANA B ; 0Ah
; Binary OR with Accumulator
ORI 44h ; 4Eh
ORA C ; FEh
; Binary XOR... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module scene_4
.optsdcc -mgbz80
;--------------------------------------------------------
; Public v... |
dnl PowerPC-64 mpn_copyi.
dnl Copyright 2004, 2005 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 as published by th... |
; A145911: a(n) = A145909(n)/8.
; 0,1,1,2,10,5,7,28,4,5,55,22,26,91,35,40,136,17,19,190,70,77,253,92,100,325,39,42,406,145,155,496,176,187,595,70,74,703,247,260,820,287,301,946,110,115,1081,376,392,1225,425,442,1378
sub $1,$0
bin $1,2
dif $1,3
dif $1,3
mov $0,$1
|
#include <bits/stdc++.h>
// #include <atcoder/all>
// using namespace atcoder;
typedef long long ll;
typedef long double ld;
#define rep(i,n) for(ll i=0;i<(n);i++)
#define repr(i,n) for(ll i=(n-1);i>=0;i--)
#define all(x) x.begin(),x.end()
#define br cout << '\n';
using namespace std;
const long long INF = 8e18;
const ... |
/**
* Copyright 2014 Google Inc. 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 requir... |
.definelabel reduce_bit_depth_sp,0x083756a0
.definelabel setupCursorMovement,0x08379594
.definelabel clear_rect_ram,0x08376a7e
.definelabel getCharWidthCast,0x08378b2c
.definelabel letterSetup,0x08379d18
.definelabel getPronoun,0x08375820
.definelabel format_file_cc,0x0837a694
.definelabel equipPrint,0x0837c5b8
.define... |
#d x ; error: infer size
x = 10 |
map_header CeladonMansion2F, CELADON_MANSION_2F, MANSION, 0
end_map_header
|
;; Expected: 21
gcd
ADD R6, R6, #-3
STR R7, R6, #1
STR R5, R6, #0
ADD R5, R6, #0
LDR R0, R5, #4
ADD R6, R6, #-1
STR R0, R6, #0
CONST R0, #0
ADD R6, R6, #-1
STR R0, R6, #0
LDR R0, R6, #0
LDR R1, R6, #1
CMP R0, R1
BRz test_gcd_j_cmp_true_0
CONST R0, #0
STR R0, R6, #1
BRnzp test_gcd_j_cmp_end_0
test_gcd_j... |
; PROLOGUE(mpn_sub_err1_n)
; Copyright 2009 Jason Moxham
;
; Windows Conversion Copyright 2008 Brian Gladman
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as published
; by the ... |
; A112700: Partial sum of Catalan numbers A000108 multiplied by powers of 6.
; Submitted by Christian Krause
; 1,7,79,1159,19303,345895,6504487,126597031,2528447911,51526205863,1067116097959,22394503831975,475191351108007,10177980935594407,219758235960500647,4778128782752211367,104526001924311998887,2298979211038627324... |
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by Alexander R. Pruss
; by Stefano Bodrato - Oct. 2003
;
; Serial libraries
;
;
; ------
; $Id: ozserialout.asm,v 1.3 2016-06-27 21:25:36 dom Exp $
;
SECTION code_clib
PUBLIC ozserialout
PUBLIC _ozserialout
ozserialout:
_ozserialout:
ld... |
; A236364: Sum of all the middle parts in the partitions of 3n into 3 parts.
; 1,5,18,40,80,135,217,320,459,625,836,1080,1378,1715,2115,2560,3077,3645,4294,5000,5796,6655,7613,8640,9775,10985,12312,13720,15254,16875,18631,20480,22473,24565,26810,29160,31672,34295,37089,40000,43091,46305,49708,53240,56970,60835,64907,69... |
; A211710: Number of (n+1) X (n+1) -11..11 symmetric matrices with every 2 X 2 subblock having sum zero and two distinct values.
; 34,46,64,94,142,220,346,550,880,1414,2278,3676,5938,9598,15520,25102,40606,65692,106282,171958,278224,450166,728374,1178524,1906882,3085390,4992256,8077630,13069870,21147484,34217338,553648... |
__sjasm_page_0_start:
; Test case:
rrca
rrca
rrca
rrca
loop:
jp loop
__sjasm_page_0_end: |
; An array containing the offsets of all eops defined in the eop segment.
; Used by the eop dispatchers to jump into the requested procedure.
[bits 16]
startPatch EXE_LENGTH, %[eopSegmentName]-dispatchTable
startBlockAt addr_%[eopSegmentName]_dispatchTable
%assign eopNumber 0
%rep %[eopSegmentName]_nextEopNumber... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x8913, %rsi
lea addresses_UC_ht+0x673, %rdi
nop
nop
nop
nop
nop
inc %rdx
mov $91, %rcx
rep movsb
nop
cmp $20670, %rax
lea addresses_WT_ht+0xe613, %rsi
lea addresses_WC_ht+0x1b... |
MOV D, 10100111b
MOV E, 00000001b
; Test if Bit 0 is set
AND D, E
; Reset both registers
XOR D, D
XOR E, E
MOV D, 00000111b
MOV E, 01000000b
; Set Bit 7
OR D, E
; Reset both registers
XOR D, D
XOR E, E |
LDA #$37
AND #$FF
OUT A
LDA #$AB
AND #$00
OUT A
|
// Boost tokenizer.hpp -----------------------------------------------------//
// (c) Copyright Jeremy Siek and John R. Bandela 2001.
// Distributed under 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.o... |
DATA SEGMENT
STRING1 DB 99H,12H,56H,45H,36H
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START: MOV AX,DATA
MOV DS,AX
MOV CH,04H
UP2: MOV CL,04H
LEA SI,STRING1
UP1:MOV AL,[SI]
MOV BL,[SI+1]
CMP AL,BL
JNC DOWN
MOV DL,[SI+1]
XCHG [SI],DL
MOV [SI+1],DL
DOWN: INC SI
DEC CL
JNZ UP1
DEC CH
JNZ UP2
INT 3
CODE ENDS
END ST... |
; void wherey()
; 09.2017 stefano
SECTION code_clib
PUBLIC wherey
PUBLIC _wherey
EXTERN __console_y
.wherey
._wherey
ld a,(__console_y)
ld l,a
ld h,0
IF __CPU_GBZ80__
ld d,h
ld e,l
ENDIF
ret
|
;// DEMO14.ASM
;//
;// Written by Rob Neff
;// Copyright (C)2005-2011 The NASMX Project
;//
%include '..\..\windemos.inc'
entry demo14
[section .code]
; The following simple procedure calculates the area of a circle
; given it's radius. It makes use of the FPU and leaves the result
; on the FPU stac... |
// -*- mode: c++ -*-
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, JSK Lab
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... |
; A198695: 11*4^n-1
; 10,43,175,703,2815,11263,45055,180223,720895,2883583,11534335,46137343,184549375,738197503,2952790015,11811160063,47244640255,188978561023,755914244095,3023656976383,12094627905535,48378511622143,193514046488575,774056185954303,3096224743817215,12384898975268863,49539595901075455,19815838360430182... |
; A168888: Number of reduced words of length n in Coxeter group on 19 generators S_i with relations (S_i)^2 = (S_i S_j)^21 = I.
; Submitted by Jamie Morken(s4)
; 1,19,342,6156,110808,1994544,35901792,646232256,11632180608,209379250944,3768826516992,67838877305856,1221099791505408,21979796247097344,395636332447752192,71... |
; pokemon ids
; indexes for:
; - PokemonNames (see data/pokemon/names.asm)
; - BaseData (see data/pokemon/base_stats.asm)
; - EvosAttacksPointers (see data/pokemon/evos_attacks_pointers.asm)
; - EggMovePointers (see data/pokemon/egg_move_pointers.asm)
; - PokemonCries (see data/pokemon/cries.asm)
; - MonMenuIcons (see ... |
;;
;; Copyright (c) 2012-2021, 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... |
;;#############################################################################
;;! \file source/vector/sub_SP_CVxCV.asm
;;!
;;! \brief C-Callable subtraction of a complex vector and a complex vector
;;! \author David M. Alter
;;! \date 06/21/13
;;
;; HISTORY:
;; 07/15/11 - original (D. Alter)
;;
;; DESCRIPTION: C... |
_zombie: file format elf64-x86-64
Disassembly of section .text:
0000000000001000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
1000: f3 0f 1e fa endbr64
1004: 55 push %rbp
1005: 48 89 e5 mov %rsp,%rbp
if(fork() > 0)
1008: 48 b8 6b... |
/*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/timestamp_packet.h"
#include "shared/test/common/helpers/debug_manager_state_restore.h"
#include "shared/test/unit_test/utilities/base_object_utils.h"
#include "opencl/source/event/async_events_ha... |
;
; ZX80 Stdio
;
; ZX80 - z88dk internal keyboard decoding routine
;
; Stefano Bodrato - Jan 2013
;
;
; $Id: zx80_decode_keys.asm,v 1.3 2016/06/12 17:32:01 dom Exp $
;
SECTION code_clib
PUBLIC zx80_decode_keys
EXTERN zx81toasc
.zx80_decode_keys
LD D,$00
SRA B
SBC A,A
OR $26
LD L,$05
SUB L
.LOOP2
ADD... |
db 0 ; species ID placeholder
db 55, 65, 35, 85, 60, 30
; hp atk def spd sat sdf
db WATER, WATER ; type
db 190 ; catch rate
db 66 ; base exp
db NO_ITEM, BERRY ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/buizel/front... |
; A123020: Expansion of (1 -5*x +5*x^2)/((1 -2*x)*(1 -4*x +x^2)).
; Submitted by Jamie Morken(s4)
; 1,1,2,5,14,43,142,493,1766,6443,23750,88045,327406,1219531,4546622,16958765,63272054,236096683,881049142,3287968813,12270563966,45793762763,170903438510,637817894125,2380363943686,8883629492011,33154137247142,12373288594... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2019 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... |
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="fromfd, from_, tofd, to, flags"/>
<%docstring>
Invokes the syscall linkat. See 'man 2 linkat' for more information.
Arguments:
fromfd(int): fromfd
from(char): from
tofd(int): tofd
to(char): to
flags(int): flags
</%docstring>
... |
; HEEVAHAV.ASM -- HEEVAHAVA VIRUS
; Created with Nowhere Man's Virus Creation Laboratory v1.00/TASM
; Written by URNST KOUCH
; This is a spawning virus I decided to take to the limit,
; to step on the accelerator of the VCL, so to speak.
; HEEVAHAVA virus is a 'companion' .EXE infector which will attempt
; to infect al... |
; A038213: Top line of 3-wave sequence A038196, also bisection of A006356.
; 1,3,14,70,353,1782,8997,45425,229347,1157954,5846414,29518061,149034250,752461609,3799116465,19181424995,96845429254,488964567014,2468741680809,12464472679038,62932092237197,317738931708801
mov $1,1
lpb $0
sub $0,1
add $2,$1
add $3,$2
... |
; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; FUNCTION NAME: vec_normalize_0_1
; FUNCTION DOCUMENTATION: <See doc/description file>
;
; ... |
.intel_syntax noprefix
.global _Z4mainv
.global _Z10Start_Testv
.section .text #.text
_Z10Start_Testv:
sub rsp, 24 #.STACK, 24
lea rcx, qword ptr [rsp + 0 ] #x_REG0, .STACK_0
mov rcx, rcx #x_TMP_1710133559488, x_REG0
add qword ptr [rcx + 0 ], 1 #x_TMP_1710133559488_0, 1
mov rcx, rcx #this_69, x_TMP_17101... |
; A004154: Omit trailing zeros from factorial numbers.
; 1,1,2,6,24,12,72,504,4032,36288,36288,399168,4790016,62270208,871782912,1307674368,20922789888,355687428096,6402373705728,121645100408832,243290200817664,5109094217170944,112400072777760768,2585201673888497664,62044840173323943936,15511210043330985984,40329146112... |
#ifndef BODY_HPP
#define BODY_HPP
#include "common.hpp"
class btRigidBody;
class btCollisionShape;
class Heightmap;
class Joint;
class Scene;
class Trimesh;
ATTRIBUTE_ALIGNED16(class) Body : public Common {
DECLARE_ES5_CLASS(Body, Body);
public:
static void init(Napi::Env env, Napi::Object exports);
~Body()... |
; A019673: Decimal expansion of Pi/6.
; Submitted by Jon Maiga
; 5,2,3,5,9,8,7,7,5,5,9,8,2,9,8,8,7,3,0,7,7,1,0,7,2,3,0,5,4,6,5,8,3,8,1,4,0,3,2,8,6,1,5,6,6,5,6,2,5,1,7,6,3,6,8,2,9,1,5,7,4,3,2,0,5,1,3,0,2,7,3,4,3,8,1,0,3,4,8,3,3,1,0,4,6,7,2,4,7,0,8,9,0,3,5,2,8,4,4,6
add $0,1
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $1,$... |
; DO NOT WRITE TO SUPERBLOCK!!!
[global loader]
;constants
%include "../../memconsts/memconsts.asm"
%xdefine superblock_start usable_start
%xdefine superblock_end (usable_start+0x0400)
%xdefine root_bgd_start (usable_start+0x0400)
%xdefine root_bgd_end (usable_start+0x0600)
%xdefine usable_start (usable_start+0x04... |
// namespace_index.cpp
/**
* Copyright (C) 2013 10gen 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 hop... |
[SECTION .data]
uhoh db 5
[GLOBAL blah]
blah dw 5
[SECTION .text]
[EXTERN hi]
[EXTERN hi]
[EXTERN bye]
mov eax, hi+2
mov eax, bye
mov eax, [hi]
mov eax, [bye+2]
mov eax, $$
mov eax, $
mov eax, $-$$
;mov eax, uhoh wrt $$
mov eax, hi+bye
mov eax, bye+$
mov eax, hi-$
|
; The MIT License (MIT)
;
; Copyright (c) 2014 Microsoft
;
; 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... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... |
; The test vectors themselves.
;
; Copyright (C) 2012 Patrik Rak (patrik@raxoft.cz)
;
; This source code is released under the MIT license, see included license.txt.
selftests equ 0 ; Set to 1 to include detailed self tests.
mem equ data.mem
meml equ mem%256
memh equ ... |
; A020701: Pisot sequences E(3,5), P(3,5).
; 3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368,75025,121393,196418,317811,514229,832040,1346269,2178309,3524578,5702887,9227465,14930352,24157817,39088169,63245986,102334155,165580141,267914296,433494437,701408733,1134903170,1836311903,2... |
; A061419: a(n) = ceiling(a(n-1)*3/2) with a(1) = 1.
; 1,2,3,5,8,12,18,27,41,62,93,140,210,315,473,710,1065,1598,2397,3596,5394,8091,12137,18206,27309,40964,61446,92169,138254,207381,311072,466608,699912,1049868,1574802,2362203,3543305,5314958,7972437,11958656,17937984,26906976,40360464,60540696,90811044,136216566,2043... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2018 Oxid developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h" // for Params().RPCPort(... |
; name lengths
NAME_LENGTH EQU 11
PLAYER_NAME_LENGTH EQU 8
BOX_NAME_LENGTH EQU 9
MON_NAME_LENGTH EQU 11
MOVE_NAME_LENGTH EQU 13
ITEM_NAME_LENGTH EQU 13
TRAINER_CLASS_NAME_LENGTH EQU 13
NAME_LENGTH_JAPANESE EQU 6
; GetName types (see home/names.asm)
const_def 1
const MON_NAME ... |
; A157621: 625n^2 - 364n + 53.
; 314,1825,4586,8597,13858,20369,28130,37141,47402,58913,71674,85685,100946,117457,135218,154229,174490,196001,218762,242773,268034,294545,322306,351317,381578,413089,445850,479861,515122,551633,589394,628405,668666,710177,752938,796949,842210,888721,936482,985493,1035754,1087265,1140026,... |
SECTION "Evolutions and Attacks 2", ROMX
EvosAttacksPointers2::
dw ChikoritaEvosAttacks
dw BayleefEvosAttacks
dw MeganiumEvosAttacks
dw CyndaquilEvosAttacks
dw QuilavaEvosAttacks
dw TyphlosionEvosAttacks
dw TotodileEvosAttacks
dw CroconawEvosAttacks
dw FeraligatrEvosAttacks
dw SentretEvosAttacks
dw FurretEv... |
#ifndef DrawFluidExtras_EXISTS
#define DrawFluidExtras_EXISTS
/**
@file DrawFluidExtras.hh
@brief DrawFluidExtras GUNNS Fluid Network declarations.
@copyright Copyright 2019 United States Government as represented by the Administrator of the
National Aeronautics and Space Administration. All Rights Rese... |
;---------------------------------------------------------------
; Serial Peripheral Interface module
;
; The Serial Peripheral Interface (SPI) is a de-facto standard
; four-wire interface used to communicate with peripheral
; devices. This module supports SPI mode 0 (CPO... |
//==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... |
// Write a program that calculates a % b (a mod b) for positive inputs a and b
INP
STA a
INP
STA b
LDA a
BRA mod
mod SUB b
BRP mod
ADD b
OUT
HLT
a DAT
b DAT
|
; A133821: Triangle whose rows are sequences of increasing fourth powers: 1; 1,16; 1,16,81; ... .
; 1,1,16,1,16,81,1,16,81,256,1,16,81,256,625,1,16,81,256,625,1296,1,16,81,256,625,1296,2401,1,16,81,256,625,1296,2401,4096,1,16,81,256,625,1296,2401,4096,6561,1,16,81,256,625,1296,2401,4096,6561,10000,1,16,81,256,625,1296,... |
; A170589: Number of reduced words of length n in Coxeter group on 4 generators S_i with relations (S_i)^2 = (S_i S_j)^48 = I.
; 1,4,12,36,108,324,972,2916,8748,26244,78732,236196,708588,2125764,6377292,19131876,57395628,172186884,516560652,1549681956,4649045868,13947137604,41841412812,125524238436,376572715308,1129718... |
SECTION code_fp_dai32
PUBLIC ___dai32_xfix
EXTERN xfix
defc ___dai32_xfix = xfix
|
; A267609: Decimal representation of the n-th iteration of the "Rule 182" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by Jamie Morken(s2)
; 1,7,21,127,381,1911,5461,32767,98301,491511,1408981,8355711,25001341,125269879,357913941,2147483647,6442450941,32212254711,92341796821,5476083... |
#include "mull/Mutators/CXX/BitwiseMutators.h"
using namespace mull;
using namespace mull::cxx;
#pragma mark - Shifts
static std::vector<std::unique_ptr<irm::IRMutation>> getLLShiftToLRShift() {
std::vector<std::unique_ptr<irm::IRMutation>> mutators;
mutators.emplace_back(new irm::ShlToLShr());
return mutators... |
; A033192: a(n) = binomial(Fibonacci(n) + 1, 2).
; 0,1,1,3,6,15,36,91,231,595,1540,4005,10440,27261,71253,186355,487578,1276003,3339820,8742471,22885995,59912931,156848616,410626153,1075018896,2814412825,7368190921,19290113571,50502074766,132215989335,346145696820,906220783315,2372516138895,6211326801331,16261462918828... |
/*
* Copyright 2007 Stephen Liu
* For license terms, see the file COPYING along with this library.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <signal.h>
#include <unistd.h>
#include "spmsgdecoder.hpp"
#include "spbuffer.hpp"
#include "spserver.hpp"
#include "sphandl... |
; A151670: G.f.: Product_{k>=0} (1 + 2*x^(5^k)).
; Submitted by Jon Maiga
; 1,2,0,0,0,2,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,4,0,0,0,4,8,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,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
mov $1,8
pow $1,$0
mov $2,$0
sub $2,32
bin ... |
;Testname=test; Arguments=-O0 -fbin -opinsr32.bin; Files=stdout stderr pinsr32.bin
bits 32
pinsrw mm0,eax,0
pinsrw mm1,si,0
pinsrw mm2,[ecx],0
pinsrw mm3,word [ecx],0
pinsrb xmm0,eax,0
pinsrb xmm1,sil,0
; pinsrb xmm1,bh,0
pinsrb xmm2,[ecx],0
pinsrb xmm3,byte [ecx],0
pinsrw xmm0,eax,0
pinsrw... |
// Copyright (c) 2017-2020 The Merit Foundation
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "keystore.h"
#include "... |
; =============================================================================
; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems
; Copyright (C) 2008-2020 Return Infinity -- see LICENSE.TXT
;
; Initialization Includes
; =============================================================================
%in... |
0x0000 (0x000000) 0x1800-0x4331 f:00014 d: 0 | A = 17201 (0x4331)
0x0002 (0x000004) 0x291E- f:00024 d: 286 | OR[286] = A
0x0003 (0x000006) 0x2100- f:00020 d: 256 | A = OR[256]
0x0004 (0x000008) 0x1404- f:00012 d: 4 | A = A + 4 (0x0004)
... |
;; crt0.asm
;; Ponto de entrada do aplicativo teditor.bin
;; deve apenas chamar _mainGetMessage para
;; enviar as mensagens que estão na pilha.
;;
[bits 32]
extern _gramcode_main
global __crt0Main
__crt0Main:
call _gramcode_main
hang:
pause
jmp hang
|
//------------------------------------------------------------------------------
/*
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 ... |
; A136258: a(n) = 2*a(n-1) - 2*a(n-2), with a(0)=1, a(1)=5.
; 1,5,8,6,-4,-20,-32,-24,16,80,128,96,-64,-320,-512,-384,256,1280,2048,1536,-1024,-5120,-8192,-6144,4096,20480,32768,24576,-16384,-81920,-131072,-98304,65536,327680,524288,393216,-262144,-1310720,-2097152,-1572864,1048576
mov $1,1
mov $2,2
lpb $0
sub $0,1
... |
; C D E F G A H C D E F
;.byte 146,128,109,101,89, 78, 72, 62, 55, 47, 45 ,0xFF
; 27bytes
.org 0x0000
.byte 146,109,78,109, 89, 72,78,89,101
.byte 109,89,146,109, 101, 78
.byte 78,78,78, 72,72,78
.byte 89,89,101,109, 101
.byte 0xFF
|
; Map 18 init
; THE EMPEROR!! (Or Wizard?)
Map18Init: lda #$01
sta MapVar1
sta MapVar2
lda #$00
sta SIZEP2
sta SIZEP3
sta L39CF
sta L39D0
sta L39D1
lda #$1B
sta L39D2
l... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xa6fa, %r15
add %r10, %r10
mov (%r15), %bp
dec %r11
lea addresses_normal_ht+0xeb7a, %rbx
nop
nop
nop
nop
nop
add $4742, %r12
mov $0x6162636465666768, %r10
movq %r10,... |
/*
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibGfx/Painter.h>
#include <LibGfx/StylePainter.h>
#include <LibWeb/Layout/Progress.h>
namespace Web::Layout {
Progress::Progress(DOM::Document& document, HTML::HTMLProgressElement& element, NonnullRefPtr<C... |
; A118920: Triangle read by rows: T(n,k) is the number of Grand Dyck paths of semilength n that cross the x-axis k times (n>=1, k>=0).
; Submitted by Jon Maiga
; 2,4,2,10,8,2,28,28,12,2,84,96,54,16,2,264,330,220,88,20,2,858,1144,858,416,130,24,2,2860,4004,3276,1820,700,180,28,2,9724,14144,12376,7616,3400,1088,238,32,2,... |
; inner expression
#ruledef
{
emit {x: i8} => x
test {x} => asm { emit x * 9 }
}
test 2 ; = 0x12
test 1 + 1 ; = 0x12 |
; unsigned char esx_f_unlink(unsigned char *filename)
SECTION code_esxdos
PUBLIC _esx_f_unlink_fastcall
EXTERN asm_esx_f_unlink
_esx_f_unlink_fastcall:
push iy
call asm_esx_f_unlink
pop iy
ret
|
; da65 V2.16 - Ubuntu 2.16-2
; Created: 2020-09-18 13:53:51
; Input file: ./test1
; Page: 1
.setcpu "6502"
L021D := $021D
L0229 := $0229
L0253 := $0253
L0272 := $0272
L02B1 := $02B1
L02D0 := $02D0
L02DC := $02DC
L02F2 :=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.