text stringlengths 1 1.05M |
|---|
; A135536: a(n) = 8*a(n-2), with a(0) = 7, a(1) = 14.
; 7,14,56,112,448,896,3584,7168,28672,57344,229376,458752,1835008,3670016,14680064,29360128,117440512,234881024,939524096,1879048192,7516192768,15032385536,60129542144,120259084288,481036337152,962072674304,3848290697216,7696581394432,30786325577728,61572651155456,2... |
; A189782: n+[nr/t]+[ns/t]; r=pi/2, s=arcsin(8/17), t=arcsin(15/17).
; 2,4,8,10,14,16,20,22,26,28,30,34,36,40,42,46,48,52,54,58,60,62,66,68,72,74,78,80,84,86,90,92,94,98,100,104,106,110,112,116,118,122,124,126,130,132,136,138,142,144,148,150,154,156,158,162,164,168,170,174,176,180,182,186,188,190,194,196,200,202,206,20... |
; A044766: Numbers n such that string 5,3 occurs in the base 10 representation of n but not of n+1.
; Submitted by Christian Krause
; 53,153,253,353,453,539,553,653,753,853,953,1053,1153,1253,1353,1453,1539,1553,1653,1753,1853,1953,2053,2153,2253,2353,2453,2539,2553,2653,2753,2853,2953,3053,3153,3253,3353,3453,3539
ad... |
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
$@feat.00 equ 1
section .text code align=64
%else
section .text code
%endif
align 16
__x86_AES_encrypt_compact:
mov DWORD [20+esp],edi
xor eax,DWORD [edi]
xor ebx,DWORD [4+edi]
xor ecx,DWORD [8+edi]
xor edx,DWORD [... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing projec... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x110b4, %rsi
lea addresses_WC_ht+0x61b4, %rdi
nop
nop
add $63404, %rbp
mov $45, %rcx
rep movsb
cmp $29612, %r14
lea addresses_UC_ht+0x26b4, %rax
nop
nop
nop
xor %r10, %r10
vm... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1eb97, %r14
nop
nop
nop
nop
cmp %rax, %rax
mov (%r14), %r12w
nop
sub %rdi, %rdi
lea addresses_UC_ht+0x1ccb7, %rsi
lea addresses_A_ht+0x1fc9, %rdi
clflush (%rdi)
nop
nop
nop
... |
<% from pwnlib.shellcraft import common %>
<%docstring>
An infinite loop.
Example:
>>> io = run_assembly(shellcraft.infloop())
>>> io.recvall(timeout=1)
b''
>>> io.close()
</%docstring>
<% infloop = common.label("infloop") %>
${infloop}:
b ${infloop}
|
INCLUDE "hardware.inc"
SECTION "Image", ROM0
INCBIN "obj/image.2bpp"
SECTION "MainCode", ROM0
ASSERT SIZEOF("Image") <= ((160 * 144 * 2) / 8), "Image is too large! Needs to be 160 x 144"
EntryPoint::
ld sp, $E000 ; Set the stack pointer to the top of RAM to free up HRAM
; Turn off the LCD
.waitVBlank:
ld a,... |
;/*
; * FreeRTOS Kernel <DEVELOPMENT BRANCH>
; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * SPDX-License-Identifier: MIT
; *
; * Permission is hereby granted, free of charge, to any person obtaining a copy of
; * this software and associated documentation files (the "Softw... |
; A245326: Denominators of an enumeration system of the reduced nonnegative rational numbers.
; Submitted by Christian Krause
; 1,2,1,3,3,2,1,5,4,5,4,3,3,2,1,8,7,7,5,8,7,7,5,5,4,5,4,3,3,2,1,13,11,12,9,11,10,9,6,13,11,12,9,11,10,9,6,8,7,7,5,8,7,7,5,5,4,5,4,3,3,2,1,21,18,19,14,19,17,16,11,18,15,17,13,14,13,11,7,21,18,19,... |
; void *heap_calloc_unlocked_callee(void *heap, size_t nmemb, size_t size)
SECTION code_clib
SECTION code_alloc_malloc
PUBLIC _heap_calloc_unlocked_callee
EXTERN asm_heap_calloc_unlocked
_heap_calloc_unlocked_callee:
pop af
pop de
pop hl
pop bc
push af
jp asm_heap_calloc_unlocked
|
; ****************************************************************************************************************
; ****************************************************************************************************************
;
; # : Goto line number, optional return.
;
; ***********************************... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#pragma once
namespace Azure { namespace Storage {
constexpr static const char* AccountEncryptionKey = "$account-encryption-key";
constexpr static const char* ETagWildcard = "*";
namespace Details {
constexpr stat... |
; A238236: Expansion of (1-x-x^2)/((x-1)*(x^3+3*x^2+2*x-1)).
; 1,2,6,18,55,169,520,1601,4930,15182,46754,143983,443409,1365520,4205249,12950466,39882198,122821042,378239143,1164823609,3587185688,11047081345,34020543362,104769516446,322647744322,993624581343,3059961912097,9423445312544,29020400942721,89371099735170,2752... |
; Copyright (c) 2004, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
title Cpu.asm
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made a... |
; A033622: Good sequence of increments for Shell sort (best on big values).
; 1,5,19,41,109,209,505,929,2161,3905,8929,16001,36289,64769,146305,260609,587521,1045505,2354689,4188161,9427969,16764929,37730305,67084289,150958081,268386305,603906049,1073643521,2415771649,4294770689,9663381505,17179475969,38654115841,68718... |
SECTION bss_fp_mbf32
PUBLIC FPREG
PUBLIC FPEXP
PUBLIC SGNRES
PUBLIC FPSIGN
PUBLIC VALTYP
PUBLIC SEED
PUBLIC LSTRND
FPREG: defb 0
defb 0
defb 0
FPEXP: defb 0
SGNRES:
FPSIGN: defb 0
VALTYP: defb 0
SEED: defs 4
LSTRND: defs 4
IF __CPU_GBZ80__
PUBLIC ___mbf32_savea
___mbf32_savea: defb 0
ENDIF
|
; Initialise vector area V2.01 1992 Tony Tebby
section init
xdef init_vec
xdef init_wbase
xref init_exv
include 'dev8_keys_sys'
include 'dev8_smsq_smsq_base_keys'
include 'dev8_smsq_smsq_ini_keys'
include 'dev8_keys_68000'
include 'dev8_keys_err'
include 'dev8_keys_qlv'
include 'dev8_mac_assert'
... |
//----------------------------------------------------------------------------------------------------------------------
// GRVC UAL
//----------------------------------------------------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2016 GRVC University ... |
; A022982: 26-n.
; 26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34
mov $1,26
sub $1,$0
mov $0,$1
|
<%
from pwnlib import constants
from pwnlib.shellcraft import arm
%>
<%page args="filename, fd=1"/>
<%docstring>
Opens a file and writes its contents to the specified file descriptor.
Example:
>>> f = tempfile.mktemp()
>>> write(f, 'FLAG\n')
>>> run_assembly(shellcraft.arm.linux.cat(f)).recvline()
... |
; A071235: a(n) = (n^12 + n^6)/2.
; 0,1,2080,266085,8390656,122078125,1088414496,6920702425,34359869440,141215033961,500000500000,1569215074141,4458051717120,11649044974645,28346959952416,64873174640625,140737496743936,291311130683665,578415707719200,1106657483056021,2048000032000000,3677913798576381,6427501372214560,1... |
; A105349: Characteristic sequence for the Pell numbers.
; 1,1,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,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,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
pow $0,2
div $0,2
seq $0,5369 ; a(n) = 1 if n is of the form m(m+1), else 0.
|
; A204623: Number of (n+1)X2 0..2 arrays with every 2X2 subblock having unequal diagonal elements or unequal antidiagonal elements, and new values 0..2 introduced in row major order
; 12,96,768,6144,49152,393216,3145728,25165824,201326592,1610612736,12884901888,103079215104,824633720832,6597069766656,52776558133248,422... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
#ifndef __WEATHERRETRIEVER_HH
#define __WEATHERRETRIEVER_HH
#include <iostream>
#include <memory>
#include <string>
#include "../net/curl.hh"
#include "../utils/timekeeper.hh"
namespace weatherretriever {
class Weather final {
public:
Weather() = default;
std::string getTemperature();
private:
s... |
#include "ctranslate2/ops/dequantize.h"
#include "dispatch.h"
namespace ctranslate2 {
namespace ops {
Dequantize::Dequantize(const ActivationType* activation_type)
: _activation_type(activation_type)
{
}
void Dequantize::operator()(const StorageView& input,
co... |
*=$0801
.byte $0c, $08, $0a, $00, $9e, $20
.byte $32, $30, $38, $30, $00, $00
.byte $00
*=$0820
sei ; turn off interrupts
lda #$7f
ldx #$01
sta $dc0d ; Turn off CIA 1 interrupts
sta $dd0d ; Turn off CIA 2 interrupts
stx $d01a ... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x4cd1, %rsi
lea addresses_UC_ht+0x90d1, %rdi
nop
nop
nop
nop
dec %rbp
mov $126, %rcx
rep movsb
nop
nop
nop
nop
xor $51869, %r14
lea addresses_WC_ht+0x1d449, %rsi
lea addresses... |
; A004054: Expansion of (1-x)/((1+x)*(1-2*x)*(1-3*x)).
; 1,3,11,35,111,343,1051,3195,9671,29183,87891,264355,794431,2386023,7163531,21501515,64526391,193622863,580955971,1743042675,5229477551,15689131703,47068793211,141209175835,423633119911,1270910544543,3812754003251,11438306748995,34315009725471,102945208133383,3088... |
; A110667: Sequence is {a(2,n)}, where a(m,n) is defined at sequence A110665.
; 0,1,2,0,-6,-12,-12,-5,2,0,-12,-24,-24,-11,2,0,-18,-36,-36,-17,2,0,-24,-48,-48,-23,2,0,-30,-60,-60,-29,2,0,-36,-72,-72,-35,2,0,-42,-84,-84,-41,2,0,-48,-96,-96,-47,2,0,-54,-108,-108,-53,2,0,-60,-120,-120,-59,2,0,-66,-132,-132,-65,2,0,-72,-144... |
; A094734: Number of connected 2-element multiantichains on a labeled n-set.
; 0,1,1,4,19,76,271,904,2899,9076,27991,85504,259579,784876,2366911,7125304,21425059,64373476,193317031,580344304,1741819339,5227030876,15684238351,47059006504,141189602419,423593973076,1270832250871,3812597415904,11437993574299,34314383376076... |
#include "guibot.hpp"
namespace Bots {
GUIPlayer::GUIPlayer(Graphics::RenderBoard& _board)
: BasicBot(),
m_board(_board)
{}
Game::Turn GUIPlayer::Step(const Game::Board& _state)
{
return Game::Turn(m_board.GetInput(_state, m_symbol), m_symbol);
}
void GUIPlayer::FinalizeGame(const Game::Board& _state)
... |
; ---------------------------------------------------------------------------
; Sprite mappings - giant ring
; ---------------------------------------------------------------------------
dc.w byte_9FDA-Map_obj4B, byte_A00D-Map_obj4B
dc.w byte_A036-Map_obj4B, byte_A04B-Map_obj4B
byte_9FDA: dc.b $A
dc.b $E0, ... |
;Testname=test; Arguments=-fbin -ovmread.bin; Files=stdout stderr vmread.bin
bits 32
vmread dword [0], eax
vmwrite eax, dword [0]
vmread [0], eax
vmwrite eax, [0]
bits 64
vmread qword [0], rax
vmwrite rax, qword [0]
vmread [0], rax
vmwrite rax, [0]
%ifdef ERROR
bits 32
vmread qword [0], e... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Hookshot
; General-purpose library for injecting DLLs and hooking function calls.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Authored by Samuel Grossman
; Copyright (c) 2019-2021
;;;;;;;;;;;;;;;;;;... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_RW+0x191b9, %rsi
clflush (%rsi)
nop
add $24244, %rdx
mov $0x5152535455565758, %r14
movq %r14, (%rsi)
// Exception!!!
nop
nop
nop
nop
m... |
stx $ff
ldz $ff |
; A214946: Number of squarefree words of length 7 in an (n+1)-ary alphabet.
; Submitted by Jon Maiga
; 0,60,1848,15960,80040,292740,868560,2218608,5062320,10575180,20577480,37769160,66015768,110690580,179077920,280842720,428571360,638388828,930657240,1330760760,1869981960,2586474660,3526338288,4744798800,6307501200,829... |
; A169280: Number of reduced words of length n in Coxeter group on 27 generators S_i with relations (S_i)^2 = (S_i S_j)^29 = I.
; 1,27,702,18252,474552,12338352,320797152,8340725952,216858874752,5638330743552,146596599332352,3811511582641152,99099301148669952,2576581829865418752,66991127576500887552,1741769316989023076... |
; QXL_MAIN.ASM The main loop
; 2006.10.01 1.01 update led
qxl_main:
ASSUME ds:DGROUP
ASSUME es:DGROUP
qxm_loop:
call qxl_rtc_check ; time changed?
test phd_rlen,0ffffh ; read physical request?
jns qxm_no_rphys ; S set for action
call qxl_do_rphys
qxm_no_rphys:
test phd_wlen,0... |
; Logo Design, Google Cardboard Design in 8-bit 80x80 Terminal. — GL_CB.asm
; Copyright (c) 2021 Janrey Licas
; This code is licensed under MIT license. (see LICENSE for details)
.MODEL TINY
.CODE
MOV AX, 03H ; Pre-initialization.
INT 10H ; Initiate Clear Screen
MOV AH, 02H ; Move Screen in Initial Con... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x16824, %r13
nop
nop
nop
nop
nop
add $24253, %rdi
mov (%r13), %ecx
nop
nop
and %rax, %rax
lea addresses_D_ht+0xf44c, %rbx
nop
nop
nop
nop
sub %r12, %r12
mov (%rbx), %r10w
nop
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x14380, %rsi
lea addresses_WT_ht+0x626, %rdi
add %r9, %r9
mov $98, %rcx
rep movsl
nop
nop
nop
nop
nop
and $29012, %r12
lea addresses_D_ht+0xd9c0, %r11
nop
nop
xor %r9, %r9
movl $0x61626364, (%r11... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1cc30, %rsi
lea addresses_normal_ht+0x1a630, %rdi
nop
nop
nop
nop
inc %rbp
mov $101, %rcx
rep movsq
nop
nop
nop
cmp %r14, %r14
lea addresses_A_ht+0x15fb0, %rsi
lea addresses_WT_ht+0xe73... |
// Copyright 2021 gRPC authors.
//
// 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 i... |
#ifndef math_geometry_distance_L2L
#define math_geometry_distance_L2L
// ::math::geometry::direction::L2L< scalar, dimension>.process( parametric, parametric )
// ::math::geometry::direction::distance( median, parametric, parametric, epsilon )
#include "../../../linear/vector/dot.hpp"
#include "../../../linear... |
assume cs:code
code segment
start:
mov ax,0b800h
mov es,ax
mov di,160*12
mov bx,offset s-offset se
mov cx,80
s:
mov byte ptr es:[di],'!'
add di,2
int 7ch
se:
nop
mov ax,4c00h
int 21h
code ends
end start |
[bits 32]
[extern kernel_main] ; Declare that we will be referencing the external symbol 'kernel_main',
[global _start] ; For avoiding linking issues, we have to define
_start: ; a _start label
; so the linker can substitute the final address
nop
... |
; A178489: a(n) = floor(n^(1/6)): integer part of sixth root of n.
; 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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
mul $0,2
lpb $0
div $0,128
add $1,108
lpe
div ... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC ___fs2schar_callee
EXTERN cm48_sdccixp_ds2schar_callee
defc ___fs2schar_callee = cm48_sdccixp_ds2schar_callee
|
db 0 ; 486 DEX NO
db 110, 160, 110, 100, 80, 110
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 3 ; catch rate
db 220 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 100 ; unknown 1
db 120 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sinnoh/regigi... |
#include "matchit.h"
#include <string>
#include <iostream>
template <typename T>
auto constexpr visitPat = [](auto func)
{
using namespace matchit;
return as<T>(meet([func](auto&& param) {
func(param);
return true;
}));
};
template <typename T>
auto constexpr visit = [](auto ... |
.text
draw_snake:
# draw inital snake
#
# inputs:
# - s4 = vector of coordinates to draw snake points
#
# output:
# -
addi sp, sp, -20
sw s4, 0(sp)
sw t1, 4(sp)
sw t2, 8(sp)
sw t3, 12(sp)
sw ra,16(sp)
lw t0, 0(s4) # length of snake
slli t1, t0, 2 # multiply length by 4 (alignment of vector)
li t2... |
BYTE TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, $FF
MAP_KITCHEN_01
BYTE TILE_WALL_1, TILE_WALL_1, TILE_WALL_1, TILE_WALL_3, TILE_WALL_3, TILE_WALL_3, TILE_WALL_3, TILE_WALL_3, TILE_WALL_3, TILE_WALL_3, TILE_WALL_1, TILE_WALL_1, T... |
; Test that \ followed by whitespace after a macro invocation at the end of the
; file doesn't cause a segfault.
bar: MACRO
ENDM
foo: bar baz\
|
/*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... |
#include <cstdio>
int main(){
int n(0), m(0), k(0); scanf("%d %d %d", &n, &m, &k);
int temp(0), numFirst(0), numSecond(0);
for(int p = 0; p < n; p++){
scanf("%d", &temp);
if(temp == 1){++numFirst;} else{++numSecond;}
}
int needed(0);
if(numFirst >= m){needed = numFirst - m; ... |
/*
*
* Copyright (C) 1996-2010, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY
* REGA... |
SECTION "HRAM", HRAM
hTransferVirtualOAM:: ds 10 ; ff80
hROMBankBackup:: db ; ff8a
hBuffer:: db ; ff8b
hSRAMBank:: db ; ff8c
hRTCDayHi:: db ; ff8d
hRTCDayLo:: db ; ff8e
hRTCHours:: db ; ff8f
hRTCMinutes:: db ; ff90
hRTCSeconds:: db ; ff91
ds 2
hHours:: db ; ff94
ds 1
hMinutes:: db ; ff96
ds 1
hSeconds:: d... |
; A254368: a(n) = 5*2^n + 3^n + 15.
; Submitted by Jamie Morken(s2)
; 21,28,44,82,176,418,1064,2842,7856,22258,64184,187402,551936,1635298,4864904,14512762,43374416,129795538,388731224,1164882922,3492027296,10470838978,31402031144,94185121882,282513422576,847456381618,2542201372664,7626268573642,22878134632256,68633061... |
; A144479: a(0)=1, a(1)=3, a(n) = 8*a(n-1) - a(n-2).
; 1,3,23,181,1425,11219,88327,695397,5474849,43103395,339352311,2671715093,21034368433,165603232371,1303791490535,10264728691909,80814038044737,636247575665987,5009166567283159,39437084962599285
mov $1,1
lpb $0
sub $0,1
add $2,$1
add $1,$2
add $1,$2
add $2... |
#pragma once
#include <memory>
#include <string>
#include <vector>
#include <Core/RaCore.hpp>
namespace Ra {
namespace Core {
namespace Asset {
class AnimationData;
class CameraData;
class GeometryData;
struct VolumeData;
class HandleData;
class LightData;
class RA_CORE_API FileData final
{
public:
/// CONSTR... |
;Exomizer 3 Z80 decoder
;Copyright (C) 2008-2018 by Jaime Tejedor Gomez (Metalbrain)
;
;Optimized by Antonio Villena and Urusergi
;
;Compression algorithm by Magnus Lind
; exomizer raw -P7 -T0 (literals=1) (reuse=0)
; exomizer raw -P7 -T1 (literals=0) (reuse=0)
; exomizer raw -P39 -T0 (literals=1) (reuse=1)
; e... |
#include <antgame/World.h>
#include <antgame/Ant.h>
#include <easyloggingpp/easylogging++.h>
#include <iostream>
INITIALIZE_EASYLOGGINGPP
int main(int argc, char **argv) {
World world;
// put some world objects into the world
for ( unsigned i = 0 ; i < 10 ; ++i ) {
// create a box
P... |
#ifndef MPACK_AVLITERATOR_IMPL_HPP
#define MPACK_AVLITERATOR_IMPL_HPP
namespace MPACK
{
namespace Algorithm
{
template<class T> AVL<T>::Iterator::Iterator()
: m_avl(NULL), m_node(NULL), m_count(0)
{
}
template<class T> AVL<T>::Iterator::Iterator(const Iterator& other)
: m_avl(other.m_avl), m_node(othe... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1863a, %rbp
nop
nop
nop
nop
cmp $14806, %r12
mov (%rbp), %si
nop
nop
nop
nop
nop
and %r13, %r13
lea addresses_WC_ht+0x1697a, %rsi
lea addresses_WC_ht+0x1e3a, %rdi
nop
nop
nop... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The HLF developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/block.h"
#incl... |
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: ... |
; A080957: Expansion of (5 - 9*x + 6*x^2)/(1-x)^4.
; 5,11,20,34,55,85,126,180,249,335,440,566,715,889,1090,1320,1581,1875,2204,2570,2975,3421,3910,4444,5025,5655,6336,7070,7859,8705,9610,10576,11605,12699,13860,15090,16391,17765,19214,20740,22345,24031,25800,27654,29595,31625,33746,35960,38269,40675,43180,45786,48495,5... |
; List of sections for MegaROMs
IFNDEF CRT_ORG_BANK_01
defc CRT_ORG_BANK_01 = $8000
ENDIF
IFNDEF CRT_ORG_BANK_02
defc CRT_ORG_BANK_02 = $8000
ENDIF
IFNDEF CRT_ORG_BANK_03
defc CRT_ORG_BANK_03 = $8000
ENDIF
IFNDEF CRT_ORG_BANK_04
defc CRT_ORG_BANK_04 = $800... |
//////////////////////////////////////////////////////////////////////////
// Author : Ngo Tien Dat
// Email : dat.ngo@epfl.ch
// Organization : EPFL
// Purpose : 3D mesh unconstrained reconstruction
// Date : 15 March 2012
///////////////////////////////////////////////////////////... |
; A017771: Binomial coefficients C(55,n).
; 1,55,1485,26235,341055,3478761,28989675,202927725,1217566350,6358402050,29248649430,119653565850,438729741450,1451182990950,4353548972850,11899700525790,29749251314475,68248282427325,144079707346575,280576272201225,505037289962205,841728816603675,1300853625660225,186644215855... |
// Copyright 2019, Chen Shuaihao.
//
//Author: Chen Shuaihao
//
//
#include <iostream>
#include <functional>
#include "HttpServer.h"
HttpServer::HttpServer(EventLoop *loop, int port)
: tcpserver_(loop, port),
cnt(0)
{
tcpserver_.SetNewConnCallback(std::bind(&HttpServer::HandleNewConnection... |
;-------------------------------------------------------------
;
; SINGLE THREAD FLOATING POINT MULTI-PRECISION CALCULATOR
;
; F.P. SUBROUTINES
;
; File: math-sub.asm
; Module: math.asm, math.o
; Exec: calc-pi
;
; Created: 10/15/14
; Last RDIt: 12/22/14
;
;-------------------------------------------------------... |
// Distributed under the MIT License.
// See LICENSE.txt for details.
#include "tests/Unit/TestingFramework.hpp"
#include <string>
#include "DataStructures/Tensor/IndexType.hpp" // IWYU pragma: keep
#include "PointwiseFunctions/Hydro/Tags.hpp"
class DataVector;
SPECTRE_TEST_CASE("Unit.PointwiseFunctions.Hydro.Tag... |
#include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
"%s\n"
"It is recomme... |
section .multiboot_header
header_start:
dd 0xe85250d6 ; magic number (multiboot 2)
dd 0 ; architecture 0 (protected mode i386)
dd header_end - header_start ; header length
dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) ; che... |
; A315693: Coordination sequence Gal.3.50.3 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.
; Submitted by Jon Maiga
; 1,6,12,17,22,28,34,40,46,51,56,62,68,74,80,85,90,96,102,108,114,119,124,130,136,142,148,153,158,164,170,176,182,187,... |
title "Compute Checksum"
;/*++
;
; Copyright (c) 1992 Microsoft Corporation
;
; Module Name:
;
; chksum.asm
;
; Abstract:
;
; This module implements a fucntion to compute the checksum of a buffer.
;
; Author:
;
; David N. Cutler (davec) 27-Jan-1992
;
; Environment:
;
; Any mode.
;
... |
; A248558: Squares of the digits of the decimal expansion of e.
; 4,49,1,64,4,64,1,64,4,64,16,25,81,0,16,25,4,9,25,9,36,0,4,64,49,16,49,1,9,25,4,36,36,4,16,81,49,49,25,49,4,16,49,0,81,9,36,81,81,81,25,81,25,49,16,81,36,36,81,36,49,36,4,49,49,4,16,0,49,36
seq $0,1113 ; Decimal expansion of e.
pow $0,2
|
/*
;********************************************************************************************************
; uC/OS-III
; The Real-Time Kernel
;
; Copyright 2009-2020 Silicon Laboratories Inc. www.silabs.com
;
; ... |
; A283768: Numbers k such that U(k) is odd, where U = A001950 = upper Wythoff sequence.
; Submitted by Jon Maiga
; 2,3,5,6,9,12,15,16,18,19,22,25,28,29,31,32,34,35,38,41,42,44,45,47,48,51,54,55,57,58,60,61,64,67,70,71,73,74,77,80,83,84,86,87,89,90,93,96,97,99,100,102,103,106,109,110,112,113,115,116,119,122,125,126,128,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xe0d9, %rdx
nop
sub $12967, %r14
mov $0x6162636465666768, %r15
movq %r15, %xmm5
and $0xffffffffffffffc0, %rdx
movaps %xmm5, (%rdx)
nop
nop
nop
nop
nop
cmp %r11, %r11
lea addre... |
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_interfaces_registry_hub.h"
|
_CardKeySuccessText1::
text "Bingo!@"
text_end
_CardKeySuccessText2::
text_start
line "The CARD KEY"
cont "opened the door!"
done
_CardKeyFailText::
text "Darn! It needs a"
line "CARD KEY!"
done
_TrainerNameText::
text_ram wcd6d
text ": @"
text_end
_NoNibbleText::
text "Not even a nibble!"
prompt
_No... |
// Copyright (c) 2011-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 <qt/qrimagewidget.h>
#include <qt/guiutil.h>
#include <QApplication>
#include <QClipboard>
#include <QDrag>
#inclu... |
; Copyright Oliver Kowalke 2009.
; 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)
; --------------------------------------------------------------
; | 0 | 1 | 2 | 3 ... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "ifcpp/model/AttributeObject.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/model/BuildingGuid.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include... |
#make_bin#
; BIN is plain binary format similar to .com format, but not limited to 1 segment;
; All values between # are directives, these values are saved into a separate .binf file.
; Before loading .bin file emulator reads .binf file with the same file name.
; All directives are optional, if you don't need them, d... |
/**
* Copyright (C) 2017 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 that it will be u... |
; A290398: Number of tiles in distance d from a given heptagon in the truncated order-3 tiling of the heptagonal plane (a.k.a. the "hyperbolic soccerball").
; Submitted by Jamie Morken(w3)
; 1,7,14,28,49,84,147,252,434,749,1288,2219,3822,6580,11333,19516,33607,57876,99666,171633,295568,508991,876526,1509452,2599401,447... |
#pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Basic.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Enums
//---------------------------------------------------------------------------
... |
; This is a smaller version of test_instruction.asm than more or less only
; tests the load and the str instruction. It does not need any memory. It
; should run on a 8 bit processor and the debug array is assumed to be at
; the address 0x80.
; At the end, the array should end up with the values: 2, 4, 6, and 8
;----... |
; A002940: Arrays of dumbbells.
; 1,4,11,26,56,114,223,424,789,1444,2608,4660,8253,14508,25343,44030,76136,131110,224955,384720,656041,1115784,1893216,3205416,5416441,9136084,15384563,25866914,43429784,72821274,121953943,204002680,340886973,569047468,949022608,1581316060,2632672821,4379569020,7280156135,12093219590,200... |
// seed 2
lbi r0, 79 // icount 0
slbi r0, 247 // icount 1
lbi r1, 42 // icount 2
slbi r1, 90 // icount 3
lbi r2, 142 // icount 4
slbi r2, 219 // icount 5
lbi r3, 133 // icount 6
slbi r3, 28 // icount 7
lbi r4, 33 // icount 8
slbi r4, 127 // icount 9
lbi r5, 72 // icount 10
slbi r5, 147 // icount 11
lbi r6, 22 // icount... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.