text stringlengths 1 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x188, %rsi
lea addresses_A_ht+0xbd5, %rdi
nop
dec %rax
mov $3, %rcx
rep movsq
nop
inc %rdi
lea addresses_UC_ht+0x42f5, %r12
mfence
mov (%r12), %r14d
nop
nop
nop
add %rsi, %rsi... |
; A100776: a(n) = 997 * n + 1009.
; 1009,2006,3003,4000,4997,5994,6991,7988,8985,9982,10979,11976,12973,13970,14967,15964,16961,17958,18955,19952,20949,21946,22943,23940,24937,25934,26931,27928,28925,29922,30919,31916,32913,33910,34907,35904,36901,37898,38895,39892,40889,41886,42883,43880,44877,45874,46871,47868,48865,... |
#include "GameFramework/GameModeBase.hpp"
#include "Engine/Player.hpp"
#include "Engine/World.hpp"
#include "GameFramework/PlayerController.hpp"
#include "GameFramework/Pawn.hpp"
namespace logcat
{
const LogCategory kGameMode{u8"GameMode"sv};
}
namespace oeng
{
inline namespace engine
{
AGameModeBase::AGameModeBase(... |
<% from pwnlib.shellcraft import common %>
<% from pwnlib.shellcraft.amd64 import linux %>
<%docstring>
connect recvsize stager
Args:
host, where to connect to
port, which port to connect to
network, ipv4 or ipv6? (default: ipv4)
</%docstring>
<%page args="host, port, network='ipv4'"/>
${linux.connect(host... |
; A099828: Numerator of the generalized harmonic number H(n,5) = Sum_{k=1..n} 1/k^5.
; Submitted by Jon Maiga
; 1,33,8051,257875,806108207,268736069,4516906311683,144545256245731,105375212839937899,105376229094957931,16971048697474072945481,16971114472329088045481,6301272372663207205033976933,63012836717335623256963769... |
; A018091: Expansion of 1/((1-3x)(1-9x)(1-11x)).
; Submitted by Jon Maiga
; 1,23,370,5150,66451,819413,9810340,115087100,1330524901,15216894803,172615989910,1945847389850,21827965327351,243920416546193,2717439768299080,30200674142257400,334986945826585801,3709872176577373583,41033735895102897850,453397372422060233750,5... |
; A108784: Difference between A107757 and A107755.
; 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,1,-1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1
add $0,1
mov $1,1
lpb $0
sub $1,$0
div $0,2
lpe
mod $1,2
mul $1,2... |
#ifdef CH_LANG_CC
/*
* _______ __
* / ___/ / ___ __ _ / / ___
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
* \___/_//_/\___/_/_/_/_.__/\___/
* Please refer to Copyright.txt, in Chombo's root directory.
*/
#endif
/// Test code for Chombo/BoxTools/parstream.*
// There are 3 functions to te... |
; A169286: Number of reduced words of length n in Coxeter group on 33 generators S_i with relations (S_i)^2 = (S_i S_j)^29 = I.
; 1,33,1056,33792,1081344,34603008,1107296256,35433480192,1133871366144,36283883716608,1161084278931456,37154696925806592,1188950301625810944,38046409652025950208,1217485108864830406656,389595... |
// Copyright 2012 the V8 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.
// Platform-specific code for MacOS goes here. For the POSIX-compatible
// parts, the implementation is in platform-posix.cc.
#include <dlfcn.h>
#inclu... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2016, 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 distributi... |
.CmdHelp:
mov di, string
mov si, help
mov cx, 4
rep cmpsb
jne .CmdHello
call NewLineSimple
mov bp, help1
mov cx, 26
call PrintMes
call NewLineSimple
mov bp, help2
mov cx, 21
call PrintMes
call NewLineSimple
mov bp, help3
mov cx, 17
call PrintMes
call NewLineSimple
mov bp, help4
mov cx, 22
cal... |
; A024395: a(n) = n-th elementary symmetric function of the first n+1 positive integers congruent to 2 mod 3.
; Submitted by Christian Krause
; 1,7,66,806,12164,219108,4591600,109795600,2951028000,88084714400,2891353030400,103521905491200,4015191638617600,167714507921497600,7506196028811110400,358368551285791692800,181... |
.386
STACK SEGMENT USE16 STACK
DB 200 DUP(0)
STACK ENDS
;-------------------------------
DATA SEGMENT USE16
BNAME DB 'XING RULIN',0 ;系统登录名
BPASS DB 'TEST',0,0 ;系统登陆密码
IN_NAME DB 10+1,?,11 DUP(0) ;为回车预留一位
IN_PWD DB 6+1,?,7 DUP(0) ;为回车预留一位
IN_PRO DB 10+1,?,11 DUP(0) ;为回车预留一位
NA_MEN DB 'Please input th... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
lea addresses_normal_ht+0x7d0b, %rcx
nop
nop
nop
nop
xor %rbx, %rbx
mov $0x6162636465666768, %r15
movq %r15, (%rcx)
cmp %rbx, %rbx
lea addresses_normal_ht+0x3143, %rdi
nop
and $12802, %r13
movb $0x61, (%rdi)
inc %r1... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r15
push %r9
push %rax
push %rdx
push %rsi
// Store
mov $0x56a, %rsi
nop
nop
nop
nop
add %rdx, %rdx
mov $0x5152535455565758, %r9
movq %r9, %xmm7
movups %xmm7, (%rsi)
and %r13, %r13
// Faulty Load
lea a... |
; A105853: a(n) = sigma(n) (mod 10), i.e., unit's digit of sigma(n).
; 1,3,4,7,6,2,8,5,3,8,2,8,4,4,4,1,8,9,0,2,2,6,4,0,1,2,0,6,0,2,2,3,8,4,8,1,8,0,6,0,2,6,4,4,8,2,8,4,7,3,2,8,4,0,2,0,0,0,0,8,2,6,4,7,4,4,8,6,6,4,2,5,4,4,4,0,6,8,0,6,1,6,4,4,8,2,0,0,0,4,2,8,8,4,0,2,8,1,6,7,2,6,4,0,2,2,8,0,0,6,2,8,4,0,4,0,2,0,4,0,3,6,8,4,6... |
section .text
global __flush_gdt
__flush_gdt:
lgdt [rdi]
mov ax, 48 ; 64-bit kernel data
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
pop rdi
mov rax, 40 ; 64-bit kernel code
push rax
push rdi
retfq
|
; A175430: a(n) = (n-1)! * (n+1)!.
; Submitted by Jamie Morken(s1.)
; 2,6,48,720,17280,604800,29030400,1828915200,146313216000,14485008384000,1738201006080000,248562743869440000,41758540970065920000,8142915489162854400000,1824013069572479385600000,465123332740982243328000000,133955519829402886078464000000,4326763290489... |
; A001047: a(n) = 3^n - 2^n.
; 0,1,5,19,65,211,665,2059,6305,19171,58025,175099,527345,1586131,4766585,14316139,42981185,129009091,387158345,1161737179,3485735825,10458256051,31376865305,94134790219,282412759265,847255055011,2541798719465,7625463267259,22876524019505,68629840493971,205890058352825,617671248800299,18530... |
; size_t strrspn(const char *str, const char *cset)
SECTION code_string
PUBLIC strrspn_callee
EXTERN asm_strrspn
strrspn_callee:
pop hl
pop de
ex (sp),hl
jp asm_strrspn
|
/*
* Copyright 2009-2017 Alibaba Cloud 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... |
ld r5, [r6+5]
|
ViridianCityObject:
db $f ; border block
db $5 ; warps
db $19, $17, $0, VIRIDIAN_POKECENTER
db $13, $1d, $0, VIRIDIAN_MART
db $f, $15, $0, VIRIDIAN_SCHOOL
db $9, $15, $0, VIRIDIAN_HOUSE
db $7, $20, $0, VIRIDIAN_GYM
db $6 ; signs
db $11, $11, $9 ; ViridianCityText8
db $1, $13, $a ; ViridianCityText9
db $1d,... |
db 0 ; species ID placeholder
db 80, 100, 200, 50, 50, 100
; hp atk def spd sat sdf
db ROCK, ROCK ; type
db 3 ; catch rate
db 217 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 80 ; step cycles to hatch
INCBIN "gfx/pokemon/regirock/front.dimensions"
db GROWTH_SLOW ; gr... |
; A219754: Expansion of x^4*(1-x-x^2)/((1+x)*(1-2*x)*(1-x-2*x^2)).
; 0,0,0,0,1,1,4,7,18,37,84,179,390,833,1784,3791,8042,16989,35804,75243,157774,330105,689344,1436935,2990386,6213781,12893604,26719267,55302678,114333617,236123784,487160639,1004147450,2067947213,4255199084,8749007451,17975233502,36904904169,75718682704... |
section .data
msg1 : db 'Enter the value of x: ',10
l1 : equ $-msg1
msg2 : db 'e^x value by calc: ',10
l2 : equ $-msg2
formate1 : db "%lf",0
formate2 : db "%lf",10
section .bss
x : resq 1
temp : resq 1
ans : resq 1
i : resd 1
n : resd 1
section .text
global main
extern scanf
extern printf
main:
... |
; long atol(const char *buf)
SECTION code_stdlib
PUBLIC atol
EXTERN asm_atol
defc atol = asm_atol
|
; A127246: Row sums of a Thue-Morse related triangle.
; 1,2,3,1,2,1,1,2,3,1,1,2,1,2,3,1,2,1,1,2,1,2,3,1,1,2,3,1,2,1,1,2,3,1,1,2,1,2,3,1,1,2,3,1,2,1,1,2,1,2,3
mul $0,2
lpb $0
mov $1,$0
cal $1,102391 ; Evil numbers in evil places.
mov $3,$1
cmp $3,0
add $1,$3
div $0,$1
sub $0,$1
sub $0,1
add $2,1
add... |
; A040270: Continued fraction for sqrt(287).
; 16,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15,1,32,1,15
cal $0,10201 ; Continued fraction for sqrt(142).
add $1,$0
div $0,8
add $1,$0
mul $1... |
/*
Copyright 2020 Simon (psyomn) Symeonidis
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... |
/******************************************************************************
* Copyright 2017 The Apollo 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
... |
;
; File of print functions
;
; TODO: add more and better documentation
[bits 16]
print_hex:
pusha
mov cx, 4 ; Init the counter to 4
print_hex_loop:
dec cx ; decrease the counter
mov ax, dx ; copy dx to ax for obscuring numbers
shr dx, 4 ;
and ax, 0xf ; obscure
mov bx, HEX_OUT ; move bx to poi... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
ld a, 02
ldff(ff), a
ld a, 07
ldff(43... |
;
;==================================================================================================
; PARPORTPROP DRIVER
;==================================================================================================
;
; TODO:
; 1) ADD SUPPORT FOR DSKY
;
PPP_IO .EQU PPIBASE + 0 ; PPP DATA I/O (PPI PORT... |
; $Id: bs3-mode-PagingGetRootForPAE16.asm $
;; @file
; BS3Kit - Bs3PagingGetRootForPAE16
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it ... |
;
; ZX81 libraries - Stefano
;
;----------------------------------------------------------------
;
; $Id: scrolldowntxt.asm,v 1.5 2015/08/07 06:23:57 stefano Exp $
;
;----------------------------------------------------------------
; Text scrolldown.
;----------------------------------------------------------------
... |
title "MP primitives for MP+AT Systems"
;++
;
;Copyright (c) 1991 Microsoft Corporation
;Copyright (c) 1992 Intel Corporation
;All rights reserved
;
;INTEL CORPORATION PROPRIETARY INFORMATION
;
;This software is supplied to Microsoft under the terms
;of a license agreement with Intel Corporation and m... |
INCLUDE "macros.asm"
INCLUDE "constants.asm"
SECTION "Text", ROM0
GOLFName::
dstr "Gen One Link File ", " editor"
WaitHandshakeStr::
dstr "Waiting for GB..."
SelectTradeStr::
dstr "Select trade."
SendingPayloadStr::
dstr "Sending payload"
DoingMagicStr::
dstr "Do... |
; uint16_t fzx_string_extent(struct fzx_font *ff, char *s)
SECTION code_font_fzx
PUBLIC asm_fzx_string_extent
EXTERN asm_fzx_glyph_width, error_znc
asm_fzx_string_extent:
; return width of string in pixels
;
; unprintable chars treated as '?'
; last char does not include additional tracking
;
; ... |
; A139098: a(n) = 8*n^2.
; 0,8,32,72,128,200,288,392,512,648,800,968,1152,1352,1568,1800,2048,2312,2592,2888,3200,3528,3872,4232,4608,5000,5408,5832,6272,6728,7200,7688,8192,8712,9248,9800,10368,10952,11552,12168,12800,13448,14112,14792,15488,16200,16928,17672,18432,19208,20000,20808,21632,22472,23328,24200,25088,25992... |
; A069816: a(n) = (sum of digits of n)^2 - (sum of digits^2 of n).
; 0,0,0,0,0,0,0,0,0,0,0,2,4,6,8,10,12,14,16,18,0,4,8,12,16,20,24,28,32,36,0,6,12,18,24,30,36,42,48,54,0,8,16,24,32,40,48,56,64,72,0,10,20,30,40,50,60,70,80,90,0,12,24,36,48,60,72,84,96,108,0,14,28,42,56,70,84
mov $1,$0
mod $0,10
sub $1,$0
mul $0,$1
div... |
###############################################################################
# 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... |
Route11GateUpstairs_h:
db GATE ; tileset
db ROUTE_11_GATE_2F_HEIGHT, ROUTE_11_GATE_2F_WIDTH ; dimensions (y, x)
dw Route11GateUpstairsBlocks, Route11GateUpstairsTextPointers, Route11GateUpstairsScript ; blocks, texts, scripts
db $00 ; connections
dw Route11GateUpstairsObject ; objects
|
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 6.1.7600-sp0-windows-7 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtGdiAbortDoc( ULONG arg_01 );
NtGdiAbortDoc PROC STDCALL arg_... |
; A214727: a(n) = a(n-1) + a(n-2) + a(n-3) with a(0)=1, a(1) = a(2) = 2.
; Submitted by Jamie Morken(s2)
; 1,2,2,5,9,16,30,55,101,186,342,629,1157,2128,3914,7199,13241,24354,44794,82389,151537,278720,512646,942903,1734269,3189818,5866990,10791077,19847885,36505952,67144914,123498751,227149617,417793282,768441650,141338... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; SetMem16.nasm
;
; Abstract:
;
; SetMem16 function
;
; Notes:
;
;------------------------------------... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x2ff1, %rsi
lea addresses_UC_ht+0x18461, %rdi
add $42133, %r14
mov $74, %rcx
rep movsq
nop
nop
nop
xor %rax, %rax
lea addresses_D_ht+0xdff1, %rax
nop
nop
sub $45771, %rbx
mov (%rax), %... |
SYS_EXIT equ 1
SYS_READ equ 3
SYS_WRITE equ 4
STDIN equ 0
STDOUT equ 1
section .data
msg1 db 'Enter 1st number : '
len1 equ $-msg1
msg2 db 'Enter 2nd number : '
len2 equ $-msg2
msg3 db 'Difference : '
len3 equ $-msg3
section .bss
num1 resb 2
num2 resb 2
dif resb 2
section .text
... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\pmc_to.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__7B7A869E_ctype@h DB ... |
addi $s1, $0, 0xacdb
addi $s2, $0, 0x7f7f7f7f
mult $s1, $s2
mfhi $t1
mflo $t2
div $s2, $s1
mfhi $t3
mflo $t4 |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosMemAvail DOS wrapper
;
; (c) osFree Project 2021, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokushev... |
/// @file liquidContainerModel.cpp
/// @brief Iplement the methods for LiquidContainer.
/// @author Enrico Fraccaroli
/// @date Jul 6 2016
/// @copyright
/// Copyright (c) 2016 Enrico Fraccaroli <enrico.fraccaroli@gmail.com>
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of th... |
/*
* Copyright (C) 2007 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... |
SFX_Cry0B_3_Ch5:
duty_cycle_pattern 3, 0, 3, 0
square_note 4, 15, 1, 1792
square_note 4, 14, 1, 1920
square_note 4, 13, 1, 1856
square_note 4, 14, 1, 1856
square_note 4, 15, 1, 1920
square_note 4, 13, 1, 1792
square_note 4, 15, 1, 1793
square_note 4, 13, 1, 1922
square_note 4, 12, 1, 1858
square_note 8, 11, ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>preadv(fd, iovec, count, offset) -> str
Invokes the syscall preadv.
See 'man 2 preadv' for more information.
Arguments:
fd(int): fd
iovec(iovec*): iovec
count(int): count
offset(off_t): ... |
.macro SAVE_T_REGISTERS
# brace yourself for a long, unrolled loop...
sw $t0, ($sp)
subiu $sp, $sp, 4
sw $t1, ($sp)
subiu $sp, $sp, 4
sw $t2, ($sp)
subiu $sp, $sp, 4
sw $t3, ($sp)
subiu $sp, $sp, ... |
//===-- ARMBaseInstrInfo.cpp - ARM Instruction Information ----------------===//
//
// 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
//
//===---------------------------... |
/*
* MotorDriver.cpp
*
* Created on: Feb 1, 2020
* Author: Yannick
*/
#include "MotorDriver.h"
ClassIdentifier MotorDriver::info ={.name = "None" , .id=0, .hidden = false};
const ClassIdentifier MotorDriver::getInfo(){
return info;
}
MotorDriver::MotorDriver() {
// TODO Auto-generated constructor stub
... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _lrint_fastcall
EXTERN cm48_sdcciy_lrint_fastcall
defc _lrint_fastcall = cm48_sdcciy_lrint_fastcall
|
vdu_set_palette = 19
vdu_set_mode = 22
vdu_move_text_cursor = 31
colour_black = 0
colour_red = 1
colour_blue = 4
colour_magenta = 5
colour_white = 7
mode_4_screen = &5800
mode_4_width = 40
mode_4_height = 32
mode_4_char_lines = 8
mode_7_screen = &7c00
mode_7_width = 40
mode_7_text_colour_base = 128
mode_7_graphics_c... |
#include <Algo3DSphereContiBnW.hh>
bool
Algo3DSphereContiBnW::apply(Floats& vertices, Floats& colors, VertIndices& indices,
size_t width, size_t height, size_t depth) {
make_vertices(vertices, width, height, depth);
size_t size;
const u8* data = loadDataRange(size);
u8 x = ... |
#ifndef WEKTOR_HH
#define WEKTOR_HH
#include <iostream>
#include <cmath>
using namespace std;
template <int Wymiar>
class Wektor
{
static int wszystkie;
static int aktualne;
double wspolrzedne[Wymiar];
public:
Wektor();
Wektor(Wektor<Wymiar> &wek)
{
for (int i = 0; i < Wymiar; i++)
... |
.data
.include "../global_constants.asm"
.text
#initialization
la s4,snake #Vector of snake
li t0,3 #inital size of snake
sw t0,0(s4) #store size
li t0, 0x0014000F #first element of the snake
sw t0, 4(s4)
li t0, 0x0015000F #second element of the snake
sw t0, 8(s4)
li t0, 0x0016000F #third element of the sna... |
; A157909: a(n) = 81*n^2 - 9.
; 72,315,720,1287,2016,2907,3960,5175,6552,8091,9792,11655,13680,15867,18216,20727,23400,26235,29232,32391,35712,39195,42840,46647,50616,54747,59040,63495,68112,72891,77832,82935,88200,93627,99216,104967,110880,116955,123192,129591,136152,142875,149760,156807,164016,171387,178920,186615,19... |
/*
icons.cpp
Copyright (C) 2009 yellow wood goblin
This program 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, or
(at your option) any later version.
... |
; A055389: a(0) = 1, then twice the Fibonacci sequence.
; 1,2,2,4,6,10,16,26,42,68,110,178,288,466,754,1220,1974,3194,5168,8362,13530,21892,35422,57314,92736,150050,242786,392836,635622,1028458,1664080,2692538,4356618,7049156,11405774,18454930,29860704,48315634,78176338,126491972,204668310,331160282,535828592,866988874... |
db 0 ; species ID placeholder
db 70, 45, 48, 35, 60, 65
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 150 ; catch rate
db 68 ; base exp
db MYSTERYBERRY, MOON_STONE ; items
db GENDER_F75 ; gender ratio
db 100 ; unknown 1
db 10 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/... |
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; string.asm
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Forrest Yu, 2005
; ++++++++++++++++++++++++++++++++++++++++++++++++++++... |
PUBLIC OVERR
OVERR: ret
|
#include "ros/ros.h"
#include "std_msgs/String.h"
void chatterCallback(const std_msgs::String& msg){
ROS_INFO("subscribe: %s", msg.data.c_str());
}
int main(int argc, char** argv){
ros::init(argc, argv, "basic_simple_listener");
ros::NodeHandle nh;
ros::Subscriber sub = nh.subscribe("chatter", 10, chatterCallback... |
; SAROM: 64KB PRG-ROM + 8KB PRG-RAM + (16,32,64)KB CHR-ROM
; http://bootgod.dyndns.org:7777/search.php?keywords=SAROM&kwtype=pcb
; Appears to only have been used for "Dragon Warrior" (U)?
;------------------------------------------------------------------------------;
; number of 8K CHR banks
; Valid configurations: $0... |
// https://leetcode-cn.com/problems/fraction-to-recurring-decimal/
#include <cstdio>
#include <string>
#include <vector>
#include <unordered_map>
using namespace std;
class Solution {
public:
string fractionToDecimal(int numerator, int denominator) {
if (numerator == 0) return "0";
string res = "";
if ((numerat... |
#!/usr/bin/sisa16_asm -run
//create a whole-memory image.
.ZERO_STACK_POINTER: astp;popa;
.POP_FARPTR_VARIABLE: blpop;apop;ca;
.PUSH_FARPTR_VARIABLE: ac;apush;blpush;
..include"libc.hasm"
//..include"libc_pre.hasm"
//..(2):
//..dinclude"libc_pre.bin"
.BENCH_SECONDS:255
//Variable Section.
section 0xAE0000;
.ld_i... |
SECTION "Sprites 1", ROMX
ChrisSpriteGFX:: INCBIN "gfx/sprites/chris.2bpp"
RubySpriteGFX:: INCBIN "gfx/sprites/ruby.2bpp"
GameboyKidSpriteGFX:: INCBIN "gfx/sprites/gameboy_kid.2bpp"
SilverSpriteGFX:: INCBIN "gfx/sprites/silver.2bpp"
OakSpriteGFX:: INCB... |
; A225531: Number of ordered pairs (i, j) with i, j >= 0, i + j <= n and gcd(i, j) <= 1.
; Submitted by Jon Maiga
; 1,3,4,6,8,12,14,20,24,30,34,44,48,60,66,74,82,98,104,122,130,142,152,174,182,202,214,232,244,272,280,310,326,346,362,386,398,434,452,476,492,532,544,586,606,630,652,698,714,756,776,808,832,884,902,942,966... |
object_const_def ; object_event constants
const RUINSOFALPHAERODACTYLITEMROOM_POKE_BALL1
const RUINSOFALPHAERODACTYLITEMROOM_POKE_BALL2
const RUINSOFALPHAERODACTYLITEMROOM_POKE_BALL3
const RUINSOFALPHAERODACTYLITEMROOM_POKE_BALL4
RuinsOfAlphAerodactylItemRoom_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
... |
; A015446: Generalized Fibonacci numbers: a(n) = a(n-1) + 10*a(n-2).
; 1,1,11,21,131,341,1651,5061,21571,72181,287891,1009701,3888611,13985621,52871731,192727941,721445251,2648724661,9863177171,36350423781,134982195491,498486433301,1848308388211,6833172721221,25316256603331,93647983815541,346810549848851,12832903880042... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 ... |
dc.w word_3E206-Map_MHZMushroomCap
dc.w word_3E214-Map_MHZMushroomCap
dc.w word_3E222-Map_MHZMushroomCap
dc.w word_3E230-Map_MHZMushroomCap
word_3E206: dc.w 2 ; DATA XREF: ROM:0003E1FEo
dc.b $E3, $F, 0, 0, $FF, $E0
dc.b $E3, $F, 0, $10, 0, 0
word_3E214: dc.w 2 ; DATA XREF: ROM:0003E1FEo
... |
; A244063: Number of prime factors (with multiplicity) of the number of distinct prime factors of n; i.e., Omega(omega(n)).
; Submitted by Jon Maiga
; 0,0,0,0,1,0,0,0,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,0,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,0,1,1,1... |
;Write a program to subtract 5 from four memory locations at $1000, $1001, $1002, and
;$1003.
org $800
value equ 5 ;declaring a variable named: value and assigning it the decimal 5.
sub5 macro
ldaa \1 ;/1 corresponds to any first argument passed to our macro.
suba #value
staa \1
endm ;declares en... |
// Copyright 2021 ros2_control development team
//
// 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 la... |
; A165317: a(n) = the number of digits in the binary representation of n that each do not precede or follow a similarly valued digit.
; Submitted by Christian Krause
; 1,2,0,1,3,1,0,1,2,4,2,0,2,1,0,1,2,3,1,3,5,3,2,0,1,3,1,0,2,1,0,1,2,3,1,2,4,2,1,3,4,6,4,2,4,3,2,0,1,2,0,2,4,2,1,0,1,3,1,0,2,1,0,1,2,3,1,2,4,2,1,2,3,5,3,1,... |
org 0x7c00
mov [drive_num], dl
mov sp, 0x9000
call load_kernel
jmp goto_pm
[bits 16]
load_kernel:
mov ax, 0
mov es, ax
mov ah, 0x02
mov al, 8
mov ch, 0
mov cl, 2
mov dh, 0
mov dl, [drive_num]
mov bx, kernel_offset
int 0x13
ret
goto_pm:
cli
... |
Map_21E896: dc.w Frame_21E89C-Map_21E896 ; ...
dc.w Frame_21E8CE-Map_21E896
dc.w Frame_21E930-Map_21E896
Frame_21E89C: dc.w 8
dc.b $F0, $D, 0, 0,$FF,$C0
dc.b $F0, $D, 0, 0,$FF,$E0
dc.b $F0, $D, 0, 0, 0, 0
dc.b $F0, $D, 0, 0, 0,$20
dc.b 0, $D, 0, 8,$FF,$C0
dc.b 0, $D, 0, 8,$FF,$E0
dc... |
// Copyright 2014 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 "content/child/blink_platform_impl.h"
#include <math.h>
#include <vector>
#include "base/allocator/allocator_extension.h"
#include "base/bind.... |
[bits 16]
iret
iretw
iretd
[bits 32]
iret
iretw
iretd
[bits 64]
iret
iretw
iretd
iretq
|
#include "Stdafx.h"
#include "..\MarshalRtcConfiguration.h"
using namespace msclr::interop;
using namespace System;
using namespace System::Runtime::InteropServices;
using namespace NUnit::Framework;
using namespace webrtc;
using namespace WebRtcNet;
namespace WebRtcInterop { namespace Marshaling { namespace UnitTe... |
; int esxdos_disk_write(uchar device, ulong position, void *src)
SECTION code_clib
SECTION code_esxdos
PUBLIC esxdos_disk_write_callee
EXTERN asm_esxdos_disk_write
esxdos_disk_write_callee:
pop hl
pop ix
pop de
pop bc
ex (sp),hl
ld a,l
push ix
pop hl
jp asm_esxdos_disk_write
; SDC... |
; int printf_unlocked(const char *format, ...)
SECTION code_stdio
PUBLIC _printf_unlocked
EXTERN asm_printf_unlocked
_printf_unlocked:
push ix
call asm_printf_unlocked
pop ix
ret
|
#include "op_array2d_to_mat.h" |
// Copyright (c) 2017 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... |
/*
* vaapidecoder_jpeg.c - JPEG decoder
*
* Copyright (C) 2011-2014 Intel Corporation
* Author: Wind Yuan <feng.yuan@intel.com>
* Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser Ge... |
; A042014: Numerators of continued fraction convergents to sqrt(531).
; Submitted by Jon Maiga
; 23,530,24403,561799,25867157,595506410,27419162017,631236232801,29064285870863,669109811262650,30808115603952763,709255768702176199,32656573475904057917,751810445714495508290,34615937076342697439257,796918363201596536611201... |
; A134667: Period 6: repeat [0, 1, 0, 0, 0, -1].
; 0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0
mod $0,6
mov $1,$0
sub $0,$0
sub $0,$1
mo... |
; ===============================================================
; Oct 2015
; ===============================================================
;
; int in_test_key(void)
;
; Return true if a key is currently pressed.
;
; ===============================================================
SECTION code_clib
SECTION code_in... |
/* Copyright 2017 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 ... |
; A047860: a(n) = T(3,n), array T given by A047858.
; 1,5,14,34,78,174,382,830,1790,3838,8190,17406,36862,77822,163838,344062,720894,1507326,3145726,6553598,13631486,28311550,58720254,121634814,251658238,520093694,1073741822,2214592510,4563402750,9395240958,19327352830,39728447486,81604378622,167503724542,343597383678,... |
<?xml version = '1.0' encoding = 'ISO-8859-1' ?>
<asm version="1.0" name="0">
<cp>
<constant value="MappingModelTransformation"/>
<constant value="links"/>
<constant value="NTransientLinkSet;"/>
<constant value="col"/>
<constant value="J"/>
<constant value="createdImports"/>
<constant value="createdMappe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.