text stringlengths 1 1.05M |
|---|
section .text
global _start
_start:
mov al, 5
mov bl, 3
or al, bl
add al, byte '0'
mov [result], al
mov eax, 4
mov ebx, 1
mov ecx, result
mov edx, 1
int 0x80
output:
mov eax, 1
int 0x80
section .bss
result resb 1
|
#ifndef VALUE_RELATIONS_PLUGIN_H
#define VALUE_RELATIONS_PLUGIN_H
#include "dg/llvm/ValueRelations/ValueRelations.h"
#include "instr_plugin.hpp"
namespace llvm {
class Module;
class Value;
}
using dg::analysis::LLVMValueRelations;
class ValueRelationsPlugin : public InstrPlugin
{
LLVMValueRelations VR;
... |
/*
* Copyright (C) 2011-2017 Intel Corporation
* Copyright (c) 2017, Fuzhou Rockchip Electronics Co., Ltd
*
* 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.or... |
extern _DecodePointer@4
extern _EncodePointer@4
extern _GetLogicalProcessorInformation@8
section data
global __imp__DecodePointer@4
__imp__DecodePointer@4:
dd _DecodePointer@4
global __imp__EncodePointer@4
__imp__EncodePointer@4:
dd _EncodePointer@4
global __imp__GetLogicalProcessorInformation@8
__imp__GetLogical... |
Map_224B88: dc.w Frame_224B92-Map_224B88 ; ...
dc.w Frame_224BA6-Map_224B88
dc.w Frame_224BB4-Map_224B88
dc.w Frame_224BC8-Map_224B88
dc.w Frame_224BD6-Map_224B88
Frame_224B92: dc.w 3
dc.b 8, 5, 0,$3D,$FF,$E0
dc.b 8, 5, 8,$3D,$FF,$F0
dc.b $F0, $F, 8,$24,$FF,$F0
Frame_224BA6: dc.w 2
dc.b 4, $A... |
; A061603: a(n) = n! / {product of factorials of the digits of n}.
; 1,1,1,1,1,1,1,1,1,1,3628800,39916800,239500800,1037836800,3632428800,10897286400,29059430400,70572902400,158789030400,335221286400
mov $2,1
mul $2,$0
lpb $0
sub $0,7
mov $1,$2
lpe
cal $1,142
mul $1,2
mod $2,10
cal $2,142
div $1,$2
mul $1,4
trn $1... |
; long long strtoull( const char * restrict nptr, char ** restrict endptr, int base)
SECTION code_clib
SECTION code_stdlib
PUBLIC _strtoull_callee
EXTERN asm_strtoull, l_store_64_dehldehl_mbc
_strtoull_callee:
pop af
pop ix
pop hl
pop de
pop bc
push af
push ix ; save r... |
; Tabla de instrumentos
TABLA_PAUTAS: DW PAUTA_0,PAUTA_1,PAUTA_2,PAUTA_3,PAUTA_4,PAUTA_5,PAUTA_6
; Tabla de efectos
TABLA_SONIDOS: DW SONIDO0,SONIDO1,SONIDO2,SONIDO3
;Pautas (instrumentos)
;Instrumento 'Bajo'
PAUTA_0: DB 46,0,12,0,10,0,9,0,129
;Instrumento 'triririn'
PAUTA_1: DB 46,0,13,0,12,0,10,0,10,0,9,0,8,0,11,0... |
; A292018: Wiener index for the n-Andrasfai graph.
; 1,15,44,88,147,221,310,414,533,667,816,980,1159,1353,1562,1786,2025,2279,2548,2832,3131,3445,3774,4118,4477,4851,5240,5644,6063,6497,6946,7410,7889,8383,8892,9416,9955,10509,11078,11662,12261,12875,13504,14148,14807,15481
mov $1,15
mul $1,$0
add $1,13
mul $1,$0
div ... |
dnl AMD64 mpn_add_n, mpn_sub_n
dnl Copyright 2003, 2004, 2005, 2007, 2008, 2010 Free Software Foundation,
dnl Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as publi... |
; A106620: a(n) = numerator of n/(n+19).
; 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,1,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,2,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,3,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,4,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,5,96,9... |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_ao_Swiss
_ff_ao_Swiss:
BINARY "font/fzx/fonts/ao/Swiss/Swiss.fzx"
|
//===- AArch64RegisterBankInfo.cpp ----------------------------------------===//
//
// 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
//
//===---------------------------... |
PUTFILE "gallery/output/volume3/earth.png.bbc.exo", "A.01", &6285, &2fc0
PUTFILE "gallery/output/volume3/fashion.png.bbc.exo", "A.02", &540a, &2fc0
PUTFILE "gallery/output/volume3/lenna.png.bbc.exo", "A.03", &53e1, &2fc0
PUTFILE "gallery/output/volume3/lighthouse.png.bbc.exo", "A.04", &5104, &2fc0
PUTFILE "gallery/outp... |
; A061242: Primes of the form 9*k - 1.
; 17,53,71,89,107,179,197,233,251,269,359,431,449,467,503,521,557,593,647,683,701,719,773,809,827,863,881,953,971,1061,1097,1151,1187,1223,1259,1277,1367,1439,1493,1511,1583,1601,1619,1637,1709,1871,1889,1907,1979,1997,2069,2087,2141,2213,2267,2339,2357,2393,2411,2447,2591,2609,26... |
%include "include/u7bg-all-includes.asm"
%macro defineGameSpecificKeyUsableItems 0
defineKeyUsableItem 'o', 785, 0xFF, 0xFF ; Orb of the Moons
defineKeyUsableItem 'w', 159, 0xFF, 0xFF ; pocketwatch
%endmacro
%macro defineGameSpecificKeyEops 0
; none
%endmacro
%include "../u7-common/patch-eop-keyActions.asm"
|
; A015000: q-integers for q=-13.
; 1,-12,157,-2040,26521,-344772,4482037,-58266480,757464241,-9847035132,128011456717,-1664148937320,21633936185161,-281241170407092,3656135215292197,-47529757798798560,617886851384381281,-8032529067996956652,104422877883960436477,-1357497412491485674200,17647466362389313764601,-22941706... |
#include <eeros/logger/StreamLogWriter.hpp>
#include <eeros/sequencer/Sequencer.hpp>
#include <eeros/sequencer/Sequence.hpp>
#include <eeros/sequencer/Wait.hpp>
#include <signal.h>
using namespace eeros::sequencer;
using namespace eeros::logger;
class ExceptionSeq : public Sequence {
public:
ExceptionSeq... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xa2a9, %rsi
lea addresses_normal_ht+0x2601, %rdi
nop
nop
nop
xor %r8, %r8
mov $53, %rcx
rep movsq
nop
nop
nop
sub %rcx, %rcx
lea addresses_normal_ht+0x138e9, %r9
nop
nop
nop
cmp... |
; A290124: a(n) = a(n-1) + 12*a(n-2) with a(1) = 1 and a(2) = 2.
; 1,2,14,38,206,662,3134,11078,48686,181622,765854,2945318,12135566,47479382,193106174,762858758,3080132846,12234437942,49196032094,196009287398,786361672526,3138473121302,12574813191614,50236490647238,201134248946606,803972136713462,3217583124072734
mov... |
;
; Copyright (c) 2014 The WebM 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 proje... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2019 The MillenniumClub Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/lice... |
#include "ComCastor3D/Castor3D/ComPointLight.hpp"
#include "ComCastor3D/ComUtils.hpp"
namespace CastorCom
{
CPointLight::CPointLight()
{
}
CPointLight::~CPointLight()
{
}
}
|
.8086
public DOSEXIT
include dos.inc
_TEXT segment byte public 'CODE' use16
DOSEXIT:
mov BP,SP
mov AX,[BP+4]
or AH,AH
je @F
mov AL,0FFh
@@:
END_PROCESS AL
_TEXT ends
end
|
// Copyright 2013 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/browser/websockets/websocket_manager.h"
#include <algorithm>
#include <string>
#include <vector>
#include "base/callback.h"
#include "... |
; float fmin(float x, float y) __z88dk_callee
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdcciy_fmin_callee, l0_cm48_sdcciy_fmin_callee
EXTERN am48_fmin, cm48_sdcciyp_dcallee2, cm48_sdcciyp_m482d
cm48_sdcciy_fmin_callee:
call cm48_sdcciyp_dcallee2
; AC'= y
; AC = x
l0_cm48_sdcciy_fmin_call... |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
include cmacros.inc
assumes cs, code
calldev struc
pack dd ?
strat dd ?
ent dd ?
calldev ends
sBegin code
cProc bio, <PUBLIC>, <bp,ds,es>
p... |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_char_32_tty_z88dk_23_atr
zx_01_output_char_32_tty_z88dk_23_atr:
; atr dx,dy
; de = parameters *
ex de,hl
ld d,(hl) ; d = dy
dec d
inc hl
ld e,(hl) ; e = dx
dec e
... |
; A315075: Coordination sequence Gal.6.350.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,9,15,21,25,30,35,39,45,51,55,60,65,69,75,81,85,90,95,99,105,111,115,120,125,129,135,141,145,150,155,159,165,171,175,180,185,189,195,201,... |
;****************************************************************************
;*
;* UTILITY.ASM - Manipulation Task Code For Casper The Virus. *
;* *
;* USAGE: Is automatically INCLUDED in the assembly of casper.asm *
;* ... |
; Copyright (C) 2020, Vi Grey
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions and the f... |
;===============================================================================
; Copyright 2015-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") co... |
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 140
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %121
OpExecutionMode %4 Origin... |
; A100039: Positions of occurrences of the natural numbers as fourth subsequence in A100035.
; 22,35,52,73,98,127,160,197,238,283,332,385,442,503,568,637,710,787,868,953,1042,1135,1232,1333,1438,1547,1660,1777,1898,2023,2152,2285,2422,2563,2708,2857,3010,3167,3328,3493,3662,3835,4012,4193,4378,4567,4760
add $0,3
mul $... |
/*
* Copyright 2007 by IDIAP Research Institute
* http://www.idiap.ch
*
* See the file COPYING for the licence associated with this software.
*/
#include "ScreenSink.h"
Tracter::ScreenSink::ScreenSink(
Component<float>* iInput,
const char* iObjectName
)
{
mObjectName = iObjectName;
... |
[bits 16]
;xstore-rng
xstorerng ; 0f a7 c0
xstore ; 0f a7 c0
;xcrypt-ecb
xcryptecb ; f3 0f a7 c8
;xcrypt-cbc
xcryptcbc ; f3 0f a7 d0
;xcrypt-ctr
xcryptctr ; f3 0f a7 d8
;xcrypt-cfb
xcryptcfb ; f3 0f a7 e0
;xcrypt-ofb
xcryptofb ; f3 0f a7 e8
montmul ; f3 0f a6 c0
xsha1 ; f3 0f a6 c8
xsha256 ; f3 0f a6 d0
|
/*
* Supemeca Never Dies 2017
* \file Qei.cpp
* \date 17/03/2017
* \author Romain Reignier
*/
#include "Qei.h"
Qei::Qei(QEIDriver* _leftDriver, bool _leftIsInverted, QEIDriver* _rightDriver,
bool _rightIsInverted)
: m_leftDriver{_leftDriver}, m_rightDriver{_rightDriver}, m_leftCnt{0},
m_rightCnt{0... |
; *********************************************************************************
; *********************************************************************************
;
; File: divide.asm
; Purpose: 16 bit unsigned divide
; Date : 12th March 2019
; Author: paul@robsons.org.uk
;
; ******************************... |
; A262402: a(n) = number of triangles that can be formed from the points of a 3 X n grid.
; Submitted by Jamie Morken(l1)
; 0,18,76,200,412,738,1200,1824,2632,3650,4900,6408,8196,10290,12712,15488,18640,22194,26172,30600,35500,40898,46816,53280,60312,67938,76180,85064,94612,104850,115800,127488,139936,153170,167212,182... |
//////////////////////////////////////////////////////////////////////////////
/// 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
/// ... |
//
// Copyright (c) 2015-2020 Microsoft Corporation and Contributors.
// SPDX-License-Identifier: Apache-2.0
//
#include "MetaStats.hpp"
#include <utils/Utils.hpp>
namespace MAT_NS_BEGIN {
/// <summary>
/// Lock metaStats counts when rejected events come in via a separate thread
/// </summary>
stati... |
;
; jccolor.asm - colorspace conversion (MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2009 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.i... |
// woof
.define segment { name/*hello*/=default
start=$2000 + 4 -%00100}
.file "foo.bin"
.const test /* test value */ =1
.var test2 = 5
// first comment
// second comment
*=$1000
{lda data // interesting
sta data
stx data
.if test { nop }
.if test { sta ... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld b, 98
call lwaitly_b
ld a, 01
ldff(45), a
ld a, 40
ldff(41), a
ld a, 00
ld(8000), a
ld a, 01
ld(c000), a
ld a, c0
ldff(51), a
xor a, a
ldff(52), a
ldff(54), a
ld a, 80
ldff(53), a
xor a, a
ldff(0f), a
ld a, ... |
; lzo1c_s1.asm -- lzo1c_decompress_asm
;
; This file is part of the LZO real-time data compression library.
;
; Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2008 Markus... |
; A170692: Number of reduced words of length n in Coxeter group on 11 generators S_i with relations (S_i)^2 = (S_i S_j)^50 = I.
; 1,11,110,1100,11000,110000,1100000,11000000,110000000,1100000000,11000000000,110000000000,1100000000000,11000000000000,110000000000000,1100000000000000,11000000000000000,110000000000000000,1... |
; void p_forward_list_push_back_callee(p_forward_list_t *list, void *item)
SECTION code_adt_p_forward_list
PUBLIC _p_forward_list_push_back_callee
_p_forward_list_push_back_callee:
pop af
pop hl
pop de
push af
INCLUDE "adt/p_forward_list/z80/asm_p_forward_list_push_back.asm"
|
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... |
# Copyright (c) 2019 Gabriel B. Sant'Anna <baiocchi.gabriel@gmail.com>
# @License Apache <https://gitlab.com/baioc/paradigms>
.text
# void lock(mutex)
lock:
ll $t0, 0($a0) # read the mutex (and set LLbit)
bne $t0, $zero, lock # if occupied (1), start over
addi $t1, $zero, 1
sc $t1, 0($a0) # try grabing the mute... |
; TGROM: (128,256,512)KB PRG-ROM + 8KB CHR-RAM
; http://bootgod.dyndns.org:7777/search.php?keywords=TGROM&kwtype=pcb
;------------------------------------------------------------------------------;
; number of 16K PRG banks
; Valid configurations: $08 (128K), $10 (256K), $20 (512K)
PRG_BANKS = $08
; TGROM mirroring is... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xcf3d, %rsi
lea addresses_A_ht+0x1a23d, %rdi
nop
nop
sub $42841, %r13
mov $47, %rcx
rep movsb
nop
nop
nop
nop
nop
dec %r15
pop %rsi
pop %rdi
pop %rcx
pop %r15
pop %r13
ret
.global s_faulty_load
s_fau... |
; A077898: Expansion of (1 - x)^(-1)/(1 + x - 2*x^2).
; 1,0,3,-2,9,-12,31,-54,117,-224,459,-906,1825,-3636,7287,-14558,29133,-58248,116515,-233010,466041,-932060,1864143,-3728262,7456549,-14913072,29826171,-59652314,119304657,-238609284,477218599,-954437166,1908874365,-3817748696,7635497427,-15270994818,30541989673,-61... |
; A084967: Multiples of 5 whose GCD with 6 is 1.
; 5,25,35,55,65,85,95,115,125,145,155,175,185,205,215,235,245,265,275,295,305,325,335,355,365,385,395,415,425,445,455,475,485,505,515,535,545,565,575,595,605,625,635,655,665,685,695,715,725,745,755,775,785
mov $1,$0
mul $1,3
add $1,1
div $1,2
mul $1,10
add $1,5
|
include ksamd64.inc
EXTERNDEF ?Te@rdtable@CryptoPP@@3PA_KA:FAR
EXTERNDEF ?g_cacheLineSize@CryptoPP@@3IA:FAR
EXTERNDEF ?SHA256_K@CryptoPP@@3QBIB:FAR
.CODE
ALIGN 8
Baseline_Add PROC
lea rdx, [rdx+8*rcx]
lea r8, [r8+8*rcx]
lea r9, [r9+8*rcx]
neg rcx ; rcx is negative index
jz $1@Baseline_A... |
mov bx, MSG_TEA
call print
call print_nl
; Identical to lesson 13's boot sector, but the %included files have new paths
[org 0x7c00]
KERNEL_OFFSET equ 0x1000 ; The same one we used when linking the kernel
mov [BOOT_DRIVE], dl ; Remember that the BIOS sets us the boot drive in 'dl' on boot
mov bp, 0x9000
m... |
; A094039: Binomial transform of (Jacobsthal(n) + 2^n*Jacobsthal(-n))/2.
; 0,1,2,6,16,46,132,386,1136,3366,10012,29866,89256,267086,799892,2396946,7185376,21545206,64613772,193797626,581305496,1743741726,5230875652,15691927906,47074385616,141220360646,423655489532
mov $42,$0
mov $44,$0
lpb $44,1
clr $0,42
mov $0,$... |
; void in_mouse_amx_callee(uint8_t *buttons, uint16_t *x, uint16_t *y)
SECTION code_input
PUBLIC _in_mouse_amx_callee
EXTERN asm_in_mouse_amx
_in_mouse_amx_callee:
call asm_in_mouse_amx
exx
pop bc
exx
pop hl
ld (hl),a
pop hl
ld (hl),e
inc hl
ld (hl),d
pop hl
ld ... |
; Filename: rot-decoder.nasm
; Author: Vivek Ramachandran - base file; Joshua Arnold - modified decode for rotate
; Website: https://huskersec.com
;
;
; Purpose:
global _start
section .text
_start:
jmp short call_shellcode
decoder:
pop esi
mov edi, esi
xor ecx, ecx
mov cl, 25
xor edx, edx
decode:
mo... |
#include "test/test_common/simulated_time_system.h"
#include <chrono>
#include "envoy/event/dispatcher.h"
#include "common/common/assert.h"
#include "common/common/lock_guard.h"
#include "common/event/real_time_system.h"
#include "common/event/timer_impl.h"
#include "event2/event.h"
namespace Envoy {
namespace Eve... |
; A095931: Number of walks of length 2n between two nodes at distance 4 in the cycle graph C_10.
; 1,7,36,165,715,3004,12393,50559,204820,826045,3321891,13333932,53457121,214146295,857417220,3431847189,13733091643,54947296924,219828275865,879415437615,3517929664756,14072420067757,56291516582931,225170873858700,90069608... |
; A022852: Integer nearest n * e, where e is the natural log base.
; 0,3,5,8,11,14,16,19,22,24,27,30,33,35,38,41,43,46,49,52,54,57,60,63,65,68,71,73,76,79,82,84,87,90,92,95,98,101,103,106,109,111,114,117,120,122,125,128,130,133,136,139,141,144,147,150,152,155,158,160,163,166,169,171,174,177,179,182,185,188,190,193,196,... |
#ruledef test
{
ld {x} => 0x55 @ x`8
}
val = 0xaa
ld val ; = 0x55aa |
;; libgcc routines for the Renesas H8/300 CPU.
;; Contributed by Steve Chamberlain <sac@cygnus.com>
;; Optimizations by Toshiyasu Morita <toshiyasu.morita@renesas.com>
/* Copyright (C) 1994, 2000, 2001, 2002, 2003, 2004, 2009
Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or... |
#GCD author: Andrew Zurn since: Apr 3, 2012
DATA
PROGRAM
READ R2
READ R3
#Condition 1: m<0 ---------------------------------------------------------------
SUB SCR R2 ONE
BRNG Cond1
JUMP pastCond1
Cond1
NOT R2 R2
ADD R2 R2 ONE
pastCond1
#Condition 2: n<0 ---------------------------------------------------------... |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
/*===================== begin_copyright_notice ==================================
Copyright (c) 2017 Intel Corporation
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, includi... |
; A334694: a(n) = (n/4)*(n^3+2*n^2+5*n+8).
; 0,4,17,51,124,260,489,847,1376,2124,3145,4499,6252,8476,11249,14655,18784,23732,29601,36499,44540,53844,64537,76751,90624,106300,123929,143667,165676,190124,217185,247039,279872,315876,355249,398195,444924,495652,550601,609999,674080,743084,817257,896851,982124,1073340,11707... |
; A281228: Expansion of (Sum_{k>=0} x^(3^k))^2 [even terms only].
; 0,1,2,1,0,2,2,0,0,1,0,0,0,0,2,2,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,2,0,0,0,0,0,0,0,0,2,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
mov $2,$0
mul $0,3
bin $0,$2
div $0,3
mod $0,3
|
;; @file
; 16-bit initialization code.
;
; Copyright (c) 2008 - 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 distribution. The full text of the l... |
; Copyright (c) 2004, 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. The full text of the license may be found at ... |
db 0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0
db 1,1,1,1,1,1,1,1
db 1,1,1,1,1,1,1,1
db 1,1,1,1,1,1,1,1
db 1,1,1,1,1,1,1,1
db 2,2,2,2,2,2,2,2
db 2,2,2,2,2,2,2,2
db 2,2,2,2,2,2,2,2
db 2,2,2,2,2,2,2,2
db 3,3,3,3,3,3,3,3
db 3,3,3,3,3,3,3,3
db 3,3,3,3,3,3,3,3
db 3,3,3,3,3... |
; ---------------------------------------------------------------------
; /x86-64/programs/arguments.asm
;
; An x86-64 assembly which writes argc and argv to STDOUT.
;
; Requires:
; write
; ---------------------------------------------------------------------
global _start
extern write
extern write_cs... |
.data
num1: .word 10,15
newline: .asciiz "\n"
.text
la $t0, 0
lw $a0, num1($t0)
li $v0, 1
syscall
la $a0, newline
li $v0, 4
syscall
li $v0, 1
addiu $t0,$t0, 4
lw $a0,num1($t0)
syscall
li, $v0, 10
syscall |
# SLAE Exam Assignment #4: Shellcode Decoder
# Author: Rikih Gunawan
global _start:
section .text
_start:
jmp short call_shellcode ; JMP-CALL-POP Method
decoder:
pop esi ; get address of EncodedShellcode
xor ecx, ecx ; ecx = 0
mul ecx ; eax = 0
cdq ... |
; A054896: a(n) = Sum_{k>0} floor(n/7^k).
; 0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6,8,8,8,8,8,8,8,9,9,9,9,9,9,9,10,10,10,10,10,10,10,11,11,11,11,11,11,11,12,12,12,12,12,12,12,13,13,13,13,13,13,13,14,14,14,14,14,14,14,16,16
div $0,7
lpb $0
add $1,$0
div $0,7... |
; A101854: a(n) = n*(n+1)*(n^2+21*n+50)/24.
; 6,24,61,125,225,371,574,846,1200,1650,2211,2899,3731,4725,5900,7276,8874,10716,12825,15225,17941,20999,24426,28250,32500,37206,42399,48111,54375,61225,68696,76824,85646,95200,105525,116661,128649,141531,155350,170150,185976,202874,220891,240075,260475,282141,305124,329476,3... |
; A314725: Coordination sequence Gal.5.114.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.
; 1,5,9,13,18,23,28,33,37,41,46,51,55,59,64,69,74,79,83,87,92,97,101,105,110,115,120,125,129,133,138,143,147,151,156,161,166,171,175,179,184,1... |
//==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... |
; A235596: Second column of triangle in A235595.
; Submitted by Christian Krause
; 0,0,2,9,40,195,1056,6321,41392,293607,2237920,18210093,157329096,1436630091,13810863808,139305550065,1469959371232,16184586405327,185504221191744,2208841954063317,27272621155678840,348586218389733555,4605223387997411872,62797451641106266... |
; A000064: Partial sums of (unordered) ways of making change for n cents using coins of 1, 2, 5, 10 cents.
; 1,2,4,6,9,13,18,24,31,39,50,62,77,93,112,134,159,187,218,252,292,335,384,436,494,558,628,704,786,874,972,1076,1190,1310,1440,1580,1730,1890,2060,2240,2435,2640,2860,3090,3335,3595,3870,4160,4465,4785,5126,5482,5... |
;;
;; Copyright (c) 2020-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... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
#include <iostream>
#include <stdlib.h>
struct binarySearchTreeNode{
int nodeValue;
binarySearchTreeNode* leftNode;
binarySearchTreeNode* rightNode;
};
void insertNode(binarySearchTreeNode* currentNode, binarySearchTreeNode* nodeToAdd){
if(nodeToAdd->nodeValue < currentNode->nodeValue){
if(currentNode->leftNode... |
; insubdir
|
// Copyright (c) 2011-2015 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 "base58.h"
#include "data/base58_encode_decode.json.h"
#include "data/base58_keys_invalid.json.h"
#include "data/ba... |
.macosx_version_min 10, 12
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _ellrootno_global
_ellrootno_global:
pushq %rbp
Ltmp0:
pushq %r15
Ltmp1:
pushq %r14
Ltmp2:
pushq %r13
Ltmp3:
pushq %r12
Ltmp4:
pushq %rbx
Ltmp5:
subq $24, %rsp
Ltmp6:
Ltmp7:
Lt... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2018 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... |
false equ 0
true equ 1
;========== Z180 Internal Interrupt Vectors ========
; The following vectors are offsets from the value
; loaded in IL, the Interrupt Vector Low register.
VINT1 equ 0 ;External INT-1 pin
VINT2 equ 2 ;External INT-2 pin
VPRT0 equ 4 ;Timer 0
VPRT1 equ 6 ;Timer 1
VDMA0 equ 8 ;DMA Ch-0
VDMA1 equ... |
; A249455: Decimal expansion of 2/sqrt(e), a constant appearing in the expression of the asymptotic expected volume V(d) of the convex hull of randomly selected n(d) vertices (with replacement) of a d-dimensional unit cube.
; Submitted by Jon Maiga
; 1,2,1,3,0,6,1,3,1,9,4,2,5,2,6,6,8,4,7,2,0,7,5,9,9,0,6,9,9,8,2,3,6,0,9... |
GetImgIdA
_GetCartPageA
sta GetImgId_Rts+1 ; backup cart page
ldx #Img_Page_Index ; call page that store imageset for this object
ldb id,u
abx
lda ,x
_SetCartPageA
ldx image_set,u
lda -1,x
GetImgId_Rts
ldb #$00 ... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 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 <script/interpreter.h>
#include <crypto/ripemd160.h>
#include <crypto/s... |
;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: log.asm,v 1.2 2009/06/22 21:44:17 dom Exp $
;
INCLUDE "cpcfirm.def"
INCLUDE "cpcfp.def"
XLIB log
XDEF logc
LIB get_para
.log call get_para
call firmware
.logc defw CPCFP_FLO_LOG
ret
|
; A015445: Generalized Fibonacci numbers: a(n) = a(n-1) + 9*a(n-2).
; 1,1,10,19,109,280,1261,3781,15130,49159,185329,627760,2295721,7945561,28607050,100117099,357580549,1258634440,4476859381,15804569341,56096303770,198337427839,703204161769,2488241012320,8817078468241,31211247579121,110564953793290,391466182005379,1386... |
//
// Extinction Monitor UCI Tof hit info plus possible additional information produced by HitMaker
//
//
// Mu2e includes
#include "RecoDataProducts/inc/ExtMonUCITofHit.hh"
using namespace std;
namespace mu2e {
void ExtMonUCITofHit::setEnergyDep(double energy) {
_energyDep = energy;
return;
}
// Pri... |
;; Expected: 5040
fact
ADD R6, R6, #-3
STR R7, R6, #1
STR R5, R6, #0
ADD R5, R6, #0
LDR R0, R5, #3
ADD R6, R6, #-1
STR R0, R6, #0
LDR R0, R6, #0
ADD R6, R6, #-1
STR R0, R6, #0
CONST R0, #1
ADD R6, R6, #-1
STR R0, R6, #0
LDR R0, R6, #0
LDR R1, R6, #1
CMP R0, R1
BRzp fact_j_cmp_true_0
CONST R0, #0
STR ... |
trampoline:
.ready: dq 0
.cpu_id: dq 0
.page_table: dq 0
.stack_start: dq 0
.stack_end: dq 0
.code: dq 0
times 512 - ($ - trampoline) db 0
startup_ap:
cli
xor ax, ax
mov ds, ax
mov es, ax
mov ss, ax
; initialize stack
mov sp, 0x7C00
call initialize.fpu
... |
#include "BranchImpllinks.h"
using namespace Tiny;
BranchImpllinks::BranchImpllinks()
{
self = Link();
actions = Link();
runs = Link();
queue = Link();
_class = std::string();
}
BranchImpllinks::BranchImpllinks(std::string jsonString)
{
this->fromJson(jsonString);
}
BranchImpllinks::~BranchImpllinks()
{
}
... |
/*
Copyright (c) 2005-2017, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
7: b8 30 00 0... |
; ML64 template file
; Compile: uasm64.exe -nologo -win64 -Zd -Zi -c testUasm.asm
; Link: link /nologo /debug /subsystem:console /entry:main testUasm.obj user32.lib kernel32.lib
OPTION WIN64:8
; Include libraries
includelib SDL2.lib
includelib SDL2main.lib
includelib SDL2_image.lib
includelib SDL2_ttf.lib
includelib ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.