text stringlengths 1 1.05M |
|---|
; A056143: Concatenate ... floor[n/100], floor[n/10], n.
; 0,1,2,3,4,5,6,7,8,9,110,111,112,113,114,115,116,117,118,119,220,221,222,223,224,225,226,227,228,229,330,331,332,333,334,335,336,337,338,339,440,441,442,443,444,445,446,447,448,449,550,551,552,553,554,555
mov $2,$0
div $0,10
mov $1,100
mul $1,$0
add $1,$2
mov $... |
TILESET_MAGMA_BANK_NUMBER = CURRENT_BANK_NUMBER
tileset_magma:
; Tileset's size in tiles (zero means 256)
.byt $32
TILESET_MAGMA_0 = (*-(tileset_magma+1))/16
.byt %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000
.byt %00000000, %00000000, %00000000, %00000000, %00000000, %000000... |
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_character_input
PUBLIC _asci1_getc
EXTERN asci1RxBuffer, asci1RxCount, asci1RxOut
_asci1_getc:
; exit : l = char received
; carry reset if Rx buffer is empty
;
; modifies : af... |
; A020499: Expansion of 1/((1-5x)(1-9x)(1-11x)).
; Submitted by Jon Maiga
; 1,25,426,6170,81851,1029315,12498676,148149460,1726010901,19855374605,226242178526,2559210312750,28786474721551,322368894171895,3597522989519976,40035969784960040,444564772324613801,4927735200720685185,54542795368974203026,603010141581622555330... |
////////////////////////////////////////////////////////////////////////////
// Module : script_game_object_script3.cpp
// Created : 25.09.2003
// Modified : 29.06.2004
// Author : Dmitriy Iassenev
// Description : XRay Script game object script export
///////////////////////////////////////////////////////... |
/*
** Copyright 2014-2016 The Earlham Institute
**
** 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... |
/*
* Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
* Copyright (C) 2008 Alp Toker <alp@atoker.com>
* Copyright (C) 2008 Xan Lopez <xan@gnome.org>
* Copyright (C) 2008, 2010 Collabora Ltd.
* Copyright (C) 2009 Holger Hans Peter Freyther
* Copyright (C) 2009, 2013 Gustavo No... |
; A026324: Expansion of 1/((1-2x)(1-6x)(1-7x)(1-8x)).
; Submitted by Jon Maiga
; 1,23,341,4147,45045,455091,4373797,40541699,365712149,3230463379,28067769093,240654781731,2041291828213,17162300683187,143239714105829,1188212150789443,9805989936743637,80575358596047315
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
s... |
; A137445: a(n) = 2a(n-1)-2a(n-2), with a(0)=3 and a(1)=2.
; 3,2,-2,-8,-12,-8,8,32,48,32,-32,-128,-192,-128,128,512,768,512,-512,-2048,-3072,-2048,2048,8192,12288,8192,-8192,-32768,-49152,-32768,32768,131072,196608,131072,-131072,-524288,-786432,-524288,524288
mov $2,$0
mov $0,6
mov $1,6
lpb $2
mul $1,2
sub $1,1
... |
; Super Mario Bros. 3 Full Disassembly by Southbird 2012
; For more info, see http://www.sonicepoch.com/sm3mix/
;
; PLEASE INCLUDE A CREDIT TO THE SOUTHBIRD DISASSEMBLY
; AND THE ABOVE LINK SOMEWHERE IN YOUR WORKS :)
;
; Original disassembler source generated by DCC6502 version v1.4
; (With labels, comments, and some s... |
; A293046: Number of even permutations on {1,2,...,n} with exactly 2 weak excedances.
; 0,0,1,1,7,11,31,57,127,247,511,1013,2047,4083,8191,16369,32767,65519,131071,262125,524287,1048555,2097151,4194281,8388607,16777191,33554431,67108837,134217727,268435427,536870911,1073741793,2147483647,4294967263,8589934591
mov $7,$... |
// Copyright 2020 The Tint 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 ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14fee, %rax
nop
nop
nop
nop
add $6520, %r9
movb $0x61, (%rax)
nop
nop
nop
nop
xor $20153, %rbp
lea addresses_normal_ht+0xfc6e, %rsi
lea addresses_WT_ht+0x63c, %rdi
nop
nop
and ... |
--- FUNCTION SOURCE (valueOf) id{0,0} ---
(){
return ToObject(this);
}
--- END ---
--- FUNCTION SOURCE (IsPrimitive) id{1,0} ---
(a){
return!(%_IsSpecObject(a));
}
--- END ---
--- FUNCTION SOURCE (toString) id{2,0} ---
(){
return FunctionSourceString(this);
}
--- END ---
--- FUNCTION SOURCE (y) id{3,0} ---
() { retu... |
TITLE UNMANGLE -
INCLUDE MACROS
INCLUDE IO_STRUC
PUBLIC UNMANGLE
.DATA
EXTERNDEF TEMP_RECORD:BYTE,FNTBL:BYTE
EXTERNDEF UNMANGLE_STUFF:ALLOCS_STRUCT
.CODE MIDDLE_TEXT
EXTERNDEF UNMANGLE_POOL_GET:PROC,CBTA32:PROC,_release_minidata:proc
UM_STRUCT STRUC
ZNAMEI DD ?
ZNAMES DD 10 DUP(?)
ARGI D... |
;================================================================================
;
; "Sixty/5o2"
; _________
;
; v1.0
;
; Sixty/5o2 - minimal bootloader and monitor (r/o) w/ serial connection support
;
; Writt... |
; A166957: a(n) = 841*n^3 + 261*n^2 + 28*n + 1.
; Submitted by Simon Strandgaard
; 1,1131,7829,25141,58113,111791,191221,301449,447521,634483,867381,1151261,1491169,1892151,2359253,2897521,3512001,4207739,4989781,5863173,6832961,7904191,9081909,10371161,11776993,13304451,14958581,16744429,18667041,20731463,22942741,253... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1d1c8, %r9
nop
dec %r11
mov (%r9), %r13d
nop
nop
nop
add %rcx, %rcx
lea addresses_WT_ht+0x61c8, %rsi
lea addresses_WC_ht+0x18148, %rdi
sub %r15, %r15
mov $33, %rcx
rep movsq
... |
//////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... |
global _start
section .data
%include "header.inc"
mov eax, foo
call eax
foo:
xor eax, eax
; clear stack (pushed eip is not the same between vm and gdb execution)
mov dword [esp], 0
%include "footer.inc"
|
; hardware.asm
*pragmapush list ; Save state of list pragma
pragma nolist ; Turn off assembly listing and exclude from symbol list
ifndef HARDWARE_MACROS ; Load defines only once
; make sure defines are included
... |
; int __CALLEE__ ioctl_callee(int fd, int request, int arg)
; 06.2008 aralbrec
XLIB ioctl_callee
XDEF ASMDISP_IOCTL_CALLEE
LIB stdio_error_mc, stdio_error_ebadf_mc
LIB l_jpix, stdio_fdcommon1
INCLUDE "../stdio.def"
.ioctl_callee
pop hl
pop bc
pop de
ex (sp),hl
.asmentry
; send a driver-specific co... |
;Anim.asm
;Animation for object metasprites
;X = Object Slot #
;Y = new Animation id #
;Call this to change the animation id without causing bugs.
ChangeAnimation:
LDA #0
STA OBJ_ANIMTIMER, x
STA OBJ_ANIMFRAME, x
TYA
STA OBJ_ANIMATION, x
RTS
;X = Object Slot #
;This loads the correct Metasprite id for the... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 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 <chainparams.h>
#include <chainparamsseeds.h>
#include <consensus/merkle.h>
... |
//-*****************************************************************************
//
// Copyright (c) 2009-2012,
// Sony Pictures Imageworks Inc. and
// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with ... |
; sprite ids
; OverworldSprites indexes (see data/sprites/sprites.asm)
const_def
const SPRITE_NONE ; 00
const SPRITE_CHRIS ; 01
const SPRITE_CHRIS_BIKE ; 02
const SPRITE_GAMEBOY_KID ; 03
const SPRITE_SILVER ; 04
const SPRITE_OAK ; 05
const SPRITE_RED ; 06
const SPRITE_BLUE ; 07
const SPRITE_BILL ; 08
const S... |
//------------------------------------------------------------------------------
// SystemTest_Propagate
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Author: Wendy Shoan
// Created: 2016.05.31
//
/**
* System... |
///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (C) 2019-2021, LAAS-CNRS, University of Edinburgh
// Copyright note valid unless otherwise stated in individual files.
// All rights reserved.
/////////////////////////////////////////////////////////... |
; A100088: Expansion of (1-x^2)/((1-2x)(1+x^2)).
; 1,2,2,4,10,20,38,76,154,308,614,1228,2458,4916,9830,19660,39322,78644,157286,314572,629146,1258292,2516582,5033164,10066330,20132660,40265318,80530636,161061274,322122548,644245094,1288490188,2576980378
mov $1,1
mov $2,1
mov $5,1
lpb $0,1
sub $0,1
mov $1,$2
sub ... |
//===- Parser.cpp - Main dispatch module for the Parser library -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#pragma once
/* This code is a stripped down version of 'google/spherical-harmonics' on
* github to focus on spherical harmonics rotations using Eigen. This part
* of the code is release using the Apache license V2.0 (see [here][license])
*
* Modifications:
* + I added a new Apply interface to the Rotation class ... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/browser_list.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "build/b... |
;;
;; Copyright (c) 2020, 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 the ... |
; A038159: a(n) = n*a(n-1) + 1, a(0) = 2.
; 2,3,7,22,89,446,2677,18740,149921,1349290,13492901,148421912,1781062945,23153818286,324153456005,4862301840076,77796829441217,1322546100500690,23805829809012421,452310766371236000,9046215327424720001,189970521875919120022,4179351481270220640485,96125084069215074731156,2307002... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC fmin
EXTERN cm48_sccz80_fmin
defc fmin = cm48_sccz80_fmin
|
_stressfs: file format elf64-x86-64
Disassembly of section .text:
0000000000001000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
1000: f3 0f 1e fa endbr64
1004: 55 push %rbp
1005: 48 89 e5 mov %rsp,%rbp
1008: 48 81 ... |
DEVICE ZXSPECTRUM48
SLOT 0
PAGE 0 : ORG 0x0000 : DB "00"
PAGE 1 : ORG 0x0000 : DB "11"
PAGE 2 : ORG 0x0000 : DB "22"
PAGE 3 : ORG 0x0000 : DB "33"
PAGE 4 ; error - non-existing page (page 3 should be still visible in slot 0)
ASSERT {0} == "33"
SLOT 1 : PAGE 0 : ASSERT {0x4000... |
/*!
@file
Defines `boost::hana::detail::has_duplicates`.
@copyright Louis Dionne 2013-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_DETAIL_HAS_DUPLICATES_HPP
#define BOOST_HANA_DETAIL_HAS_DUPLICATES... |
; hive 0.0.0.1
; type asm
section .text
global main
main:
mov edx,len
mov ecx,msg
mov ebx,1
mov eax,4
int 0x80
mov eax,1
int 0x80
section .data
msg db 'Hello world!', 0xa
len equ $ - msg |
a: NOP
b: NOP
c: NOP
INP
STA [a]
INP
STA [b]
INP
STA [c]
LDA [a]
LDB [b]
ADD
LDB [c]
MUL
OUT
HLT
|
/*
* MonochromeRectangleDetector.cpp
* zxing
*
* Created by Luiz Silva on 09/02/2010.
* Copyright 2010 ZXing 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 Lic... |
; A100525: Bisection of A048654.
; 4,22,128,746,4348,25342,147704,860882,5017588,29244646,170450288,993457082,5790292204,33748296142,196699484648,1146448611746,6681992185828,38945504503222,226991034833504,1323000704497802,7711013192153308,44943078448422046,261947457498378968,1526741666541851762,8898502541752731604,5186... |
; A127423: a(1) = 1; for n > 1, a(n) = n concatenated with n - 1.
; 1,21,32,43,54,65,76,87,98,109,1110,1211,1312,1413,1514,1615,1716,1817,1918,2019,2120,2221,2322,2423,2524,2625,2726,2827,2928,3029,3130,3231,3332,3433,3534,3635,3736,3837,3938,4039,4140,4241,4342,4443,4544,4645,4746,4847,4948,5049,5150,5251,5352,5453,55... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespamalloc/malloc/memblock.h>
namespace vespamalloc {
template <size_t MinSizeClassC, size_t MaxSizeClassMultiAllocC>
void
MemBlockT<MinSizeClassC, MaxSizeClassMultiAllocC>::logBigBlock(si... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="pri, fmt, vararg"/>
<%docstring>
Invokes the syscall syslog. See 'man 2 syslog' for more information.
Arguments:
pri(int): pri
fmt(char): fmt
vararg(int): vararg
</%docstring>
${syscall('SYS_syslog', pri, fmt, vararg)}
|
; int vprintf(const char *format, void *arg)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC vprintf_callee
EXTERN asm_vprintf
vprintf_callee:
pop af
pop bc
pop de
push af
jp asm... |
;
; ZX 81 specific routines
; by Stefano Bodrato, Oct 2007
;
; convert ASCII character to ZX81 char code
;
; char ascii_zx(char character);
;
;
; $Id: ascii_zx.asm,v 1.4 2015/01/19 01:33:26 pauloscustodio Exp $
;
PUBLIC ascii_zx
EXTERN asctozx81
ascii_zx:
ld hl,asctozx81+1
ld a,(hl)
push af
push hl
ld a,229 ;... |
; A164005: Zero together with row 5 of the array in A163280.
; 0,7,14,21,32,45,60,77,96,117,140,165,192,221,252,285,320,357,396,437,480,525,572,621,672,725,780,837,896,957,1020,1085,1152,1221,1292,1365,1440,1517,1596,1677,1760,1845,1932,2021,2112,2205,2300,2397,2496,2597,2700,2805,2912,3021,3132,3245,3360,3477,3596,371... |
; 编写除法溢出(中断源号0)中断处理程序(存储于0000:0200)
assume cs:code
code segment
start: mov ax, 0
mov es, ax
mov di, 0200H
mov ax, cs
mov ds, ax
mov si, offset do0
mov cx, offset do0end - offset do0
cld ; set flag df to 0
rep movsb
;设置中断向量表
mov ax, 0
mov es, ax
mov word ptr es:[0*4], 0200H
mov word ptr es:[0*4+2],... |
; A298016: Coordination sequence of snub-632 tiling with respect to a hexavalent node.
; 1,6,12,12,24,36,24,42,60,36,60,84,48,78,108,60,96,132,72,114,156,84,132,180,96,150,204,108,168,228,120,186,252,132,204,276,144,222,300,156,240,324,168,258,348,180,276,372,192,294,396,204,312,420,216,330,444,228,348,468,240,366,492,... |
; A147568: a(n) = 2*A000695(n)+3.
; 3,5,11,13,35,37,43,45,131,133,139,141,163,165,171,173,515,517,523,525,547,549,555,557,643,645,651,653,675,677,683,685,2051,2053,2059,2061,2083,2085,2091,2093,2179,2181,2187,2189,2211,2213,2219,2221,2563,2565,2571
mov $2,$0
mov $5,$0
lpb $2
mov $0,$5
sub $2,1
sub $0,$2
mov $3... |
; A141892: Primes congruent to 10 mod 21.
; 31,73,157,199,241,283,367,409,577,619,661,787,829,997,1039,1123,1249,1291,1459,1543,1627,1669,1753,1879,2089,2131,2341,2383,2467,2551,2593,2677,2719,2803,2887,2971,3181,3307,3391,3433,3517,3559,3643,3727,3769,3853,4021,4231,4273,4357,4441,4483,4567,4651,4861,4903,4987,5113,51... |
#ifndef BOOST_THREAD_TIME_HPP
#define BOOST_THREAD_TIME_HPP
// (C) Copyright 2007 Anthony Williams
//
// 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)
#include <boost/date_time/time_clock.hpp>
#include <boos... |
;******************************************************************************
; MSP430x249 Demo - Write a byte to Port 1
;
; Description: Writes a byte(FFh) to Port 1 and stays in LPM4
; ACLK = 32.768kHz, MCLK = SMCLK = default DCO
;
; MSP430x249
; -----------------
; ... |
; A130863: Ratio of quadruple Sum of k^2-1 to quadruple sum of k made into an integer sequence: (1/6)*(-1 + n)(2 + n)(3 + n)(7 + n).
; 0,30,100,231,448,780,1260,1925,2816,3978,5460,7315,9600,12376,15708,19665,24320,29750,36036,43263,51520,60900,71500,83421,96768,111650,128180,146475,166656,188848
mov $2,$0
add $2,8
mu... |
#include "sim/init.hh"
extern "C" {
void init_param_CreditLink_d();
}
EmbeddedSwig embed_swig_param_CreditLink_d(init_param_CreditLink_d);
|
sty {m1}
|
/* 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 applicable law or a... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xd2f7, %rsi
inc %rdx
and $0xffffffffffffffc0, %rsi
vmovntdqa (%rsi), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, %rcx
nop
nop
nop
nop
nop
dec %rbp
lea addresse... |
//=================================================================================================
/*!
// \file src/mathtest/dvecsveckron/VDbVCb.cpp
// \brief Source file for the VDbVCb dense vector/sparse vector Kronecker product math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// ... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
SECTION code_clib
SECTION code_nirvanap
PUBLIC asm_NIRVANAP_spriteT
asm_NIRVAN... |
%define BPM 100
%include "../src/sointu.inc"
BEGIN_PATTERNS
PATTERN 64, 0, 68, 0, 32, 0, 0, 0, 75, 0, 78, 0, 0, 0, 0, 0,
END_PATTERNS
BEGIN_TRACKS
TRACK VOICES(1),0
END_TRACKS
BEGIN_PATCH
BEGIN_INSTRUMENT VOICES(1) ; Instrument0
SU_ENVELOPE MONO,ATTAC(80),DECAY(80),SUSTAIN(64),RELEASE(80),GAI... |
prog 1 1
add 0 1
dec 0
dec 0 |
; A180415: (n^3 - 3n^2 + 14n - 6)/6.
; 1,3,6,11,19,31,48,71,101,139,186,243,311,391,484,591,713,851,1006,1179,1371,1583,1816,2071,2349,2651,2978,3331,3711,4119,4556,5023,5521,6051,6614,7211,7843,8511,9216,9959,10741,11563,12426,13331,14279,15271,16308,17391,18521,19699,20926,22203,23531,24911,26344,27831,29373,30971,32... |
SECTION code_fp_math32
PUBLIC asinh_fastcall
EXTERN _m32_asinhf
defc asinh_fastcall = _m32_asinhf
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _asinh_fastcall
defc _asinh_fastcall = _m32_asinhf
ENDIF
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xcd7f, %r15
nop
sub $51470, %rbp
movups (%r15), %xmm3
vpextrq $0, %xmm3, %rdx
inc %r12
lea addresses_WC_ht+0x181cf, %r14
nop
nop
sub %r13, %r13
mov $0x61626364656667... |
#include "SCN.h"
SCN::SCN(std::string name, Serial * serialport)
{
this->serialport = serialport;
#ifdef TARGET_MACOS
serviceId = CFStringCreateWithCString( NULL, "Hologram PPP Connection" , kCFStringEncodingUTF8 );
#endif
}
SCN::~SCN()
{
#ifdef TARGET_MACOS
if (m_connection)
{
SCNetworkConnectio... |
; A001750: Primes multiplied by 5.
; Submitted by Jamie Morken(s3)
; 10,15,25,35,55,65,85,95,115,145,155,185,205,215,235,265,295,305,335,355,365,395,415,445,485,505,515,535,545,565,635,655,685,695,745,755,785,815,835,865,895,905,955,965,985,995,1055,1115,1135,1145,1165,1195,1205,1255,1285,1315,1345,1355,1385,1405,1415,... |
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; ==++==
;
;
; ==--==
ifdef FEATURE_COMINTEROP
include AsmMacros.inc
include asmconstants.inc
extern CallDescrWorkerUnwindFrameChainHandler:proc
extern ReverseComUnwindFrameChainHa... |
; A071187: Smallest prime factor of number of divisors of n.
; 1,2,2,3,2,2,2,2,3,2,2,2,2,2,2,5,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,7,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3
seq $0,52409 ; a(n) = largest integer power m for which ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>sigsuspend(set) -> str
Invokes the syscall sigsuspend.
See 'man 2 sigsuspend' for more information.
Arguments:
set(sigset_t*): set
Returns:
int
</%docstring>
<%page args="set=0"/>
<%
abi = p... |
%include "boot/x86_64/constants.asm"
[BITS 64]
global start
extern g8start
section .entry
start:
; update segments
xor ax, ax
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
; set up stack
mov rsp, STACK_TOP
; jump to bootloader
jmp g8start
;hlt
; reserve spac... |
; A044702: Numbers n such that string 7,7 occurs in the base 9 representation of n but not of n+1.
; 70,151,232,313,394,475,556,638,718,799,880,961,1042,1123,1204,1285,1367,1447,1528,1609,1690,1771,1852,1933,2014,2096,2176,2257,2338,2419,2500,2581,2662,2743,2825,2905,2986,3067,3148
mov $1,$0
add $1,10
mod $1,9
div $1,... |
; A273448: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 721", based on the 5-celled von Neumann neighborhood.
; 3,17,20,39,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256,264,... |
; A096026: Numbers n such that (n+j) mod (2+j) = 1 for j from 0 to 8 and (n+9) mod 11 <> 1.
; 2523,5043,7563,10083,12603,15123,17643,20163,22683,25203,30243,32763,35283,37803,40323,42843,45363,47883,50403,52923,57963,60483,63003,65523,68043,70563,73083,75603,78123,80643,85683,88203,90723,93243,95763,98283,100803,103323... |
; A060453: Dot product of the squares and the quarter-squares: a(n) = sum(i=1..n, i^2 * floor(i^2/4)).
; 0,4,22,86,236,560,1148,2172,3792,6292,9922,15106,22204,31808,44408,60792,81600,107844,140334,180334,228844,287408,357236,440180,537680,651924,784602,938266,1114876,1317376,1548016,1810160,2106368,2440452
mov $23,$0... |
; A130606: a(n) = prime(n+1)^n - prime(n)^n where prime(n) is the n-th prime number.
; Submitted by Simon Strandgaard
; 1,16,218,12240,210242,19310760,483533066,61327422240,12705993314406,398921053680600,152509144883055582,15980538294526150800,793161021967277155922,182781628843528905568920,61073803538208251485772814
a... |
//==--- kernel_program_cache.hpp - Cache for kernel and program -*- C++-*---==//
//
// 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
//
//===---------------------------... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... |
; A152298: a(n) = (3^n-1)/2 if n odd, (3^n-1)/8 if n even.
; 0,1,1,13,10,121,91,1093,820,9841,7381,88573,66430,797161,597871,7174453,5380840,64570081,48427561,581130733,435848050,5230176601,3922632451,47071589413,35303692060,423644304721,317733228541,3812798742493,2859599056870,34315188682441,25736391511831,30883669814... |
; ===============================================================
; Sep 2005, improved Apr 2014
; ===============================================================
;
; int in_inkey(void)
;
; Read instantaneous state of the keyboard and return ascii code
; if only one key is pressed.
;
; ================================... |
#include "entities/Node.hpp"
#include "entities/Way.hpp"
#include "entities/Area.hpp"
#include "entities/Relation.hpp"
#include "formats/osm/BuildingProcessor.hpp"
#include "formats/osm/MultipolygonProcessor.hpp"
#include "formats/osm/RelationProcessor.hpp"
#include "formats/osm/OsmDataVisitor.hpp"
#include "utils/Geom... |
// Copyright 2016 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 "remoting/base/telemetry_log_writer.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/containers/circular_deque.h"
#includ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x3098, %r8
nop
dec %r13
movw $0x6162, (%r8)
nop
nop
nop
nop
nop
cmp $18788, %rbp
lea addresses_A_ht+0x1d758, %r13
nop
add %r12, %r12
mov $0x6162636465666768, %r9
movq %r9, ... |
; A013720: a(n) = 15^(2*n + 1).
; 15,3375,759375,170859375,38443359375,8649755859375,1946195068359375,437893890380859375,98526125335693359375,22168378200531005859375,4987885095119476318359375,1122274146401882171630859375,252511682940423488616943359375,56815128661595284938812255859375,12783403948858939111232757568359375... |
; A234045: Period 7: repeat [0, 0, 1, -1, -1, 1, 0].
; 0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0,0,0,1,-1,-1,1,0
pow $0,2
add $0,3
mul $0,38
sub $0,1
mul $0,2
mod $0,14
... |
; A142698: Primes congruent to 53 mod 57.
; Submitted by Jon Maiga
; 53,167,281,509,1193,1307,1877,2333,2447,2789,2903,3359,3701,3929,4157,4271,5297,5639,5867,5981,6323,6551,6779,7121,7349,7577,7691,7919,8147,8831,9059,9173,9629,9743,9857,10313,10427,10883,11681,11909,12251,12479,12821,13049,13163,13619,14303,14759,151... |
//
// kern_weg.cpp
// WhateverGreen
//
// Copyright © 2018 vit9696. All rights reserved.
//
#include <Headers/kern_api.hpp>
#include <Headers/kern_devinfo.hpp>
#include <Headers/kern_iokit.hpp>
#include <Headers/kern_cpu.hpp>
#include "kern_weg.hpp"
#include <IOKit/graphics/IOFramebuffer.h>
// This is a hack to l... |
global test_case
extern Array.beforeb
extern Array.eachb
extern std.outb
extern std.outln
extern sys.error
%include "Array.inc"
section .text
test_case:
mov rax, test_array ; Array to split
mov rbx, 3 ; delimit with value 3
call Array.beforeb ; split into two... |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "fork test OK\n");
}
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%e... |
; A165793: a(0)=1, a(n)=n*(a(n-1)-2).
; 1,-1,-6,-24,-104,-530,-3192,-22358,-178880,-1609938,-16099400,-177093422,-2125121088,-27626574170,-386772038408,-5801580576150,-92825289218432,-1578029916713378,-28404538500840840,-539686231515975998,-10793724630319520000,-226668217236709920042,-4986700779207618240968,-1146941179... |
; A046161: a(n) = denominator of binomial(2n,n)/4^n.
; 1,2,8,16,128,256,1024,2048,32768,65536,262144,524288,4194304,8388608,33554432,67108864,2147483648,4294967296,17179869184,34359738368,274877906944,549755813888,2199023255552,4398046511104,70368744177664,140737488355328,562949953421312,1125899906842624,90071992547409... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdx
lea addresses_normal_ht+0x9361, %r12
nop
nop
nop
cmp $58578, %r11
mov (%r12), %bp
nop
nop
nop
nop
xor %rbp, %rbp
lea addresses_D_ht+0x1ee15, %rbx
nop
nop
nop
sub $24068, %r13
mov $0x6162636465666768, %rcx
... |
; A199264: Period 18: repeat (9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8).
; 9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,0
lpb $0
sub $0,5
mov $2,13
trn $2,$0
trn $... |
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
; ==++==
;
;
; ==--==
; ***********************************************************************
; File: JitHelpers_Fas... |
#include "base.hpp"
namespace {
struct lk_node {
int data;
lk_node* next;
lk_node* child;
lk_node(int val) : data(val), next(nullptr), child(nullptr) {}
lk_node(int val, lk_node* chd) : data(val), next(nullptr), child(chd) {}
~lk_node() {
delete next;
delete child;
}
};
lk_node* populate(const... |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
#pragma once
#include <iostream>
#include <spdlog/fmt/fmt.h>
#include <ghc/filesystem.hpp>
#include <simdjson/error.h>
#include "platform.hpp"
#include "rpgmakerVersion.hpp"
template <>
struct fmt::formatter<ghc::filesystem::path> {
static constexpr auto parse(format_parse_context& ctx) {
return ctx.end();... |
namespace menu {
seek(codeCursor)
namespace largeText {
enqueue pc
seek($ee53fc); jsl description; jmp $5409 //descriptions
seek($ee5532); jsl chapterName; jmp $553f //chapter names
seek($ee51f2); jsl main; nop #15 //text renderer for both description types
seek($ee540b); jsl test; nop #2 ... |
//===--- UnqualifiedLookup.cpp - Swift Name Lookup Routines ---------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.