text stringlengths 1 1.05M |
|---|
; A259967: a(n) = a(n-1) + a(n-2) + a(n-4).
; 3,2,2,5,10,17,29,51,90,158,277,486,853,1497,2627,4610,8090,14197,24914,43721,76725,134643,236282,414646,727653,1276942,2240877,3932465,6900995,12110402,21252274,37295141,65448410,114853953,201554637,353703731,620706778,1089264462,1911525877,3354494070,5886726725,10330485257... |
// 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.
#if defined(HAVE_CONFIG_H)
#include <config/bagicoin-config.h>
#endif
#include <cstring>
#if HAVE_DECL_STRNLEN == 0
size_t ... |
obj/boot/boot.out: file format elf32-i386
Disassembly of section .text:
00007c00 <start>:
.set CR0_PE_ON, 0x1 # protected mode enable flag
.globl start
start:
.code16 # Assemble for 16-bit mode
cli # Disable interrupts
7c00: fa ... |
;Code credits @Potti Priya
.model small
.stack
.data
num db 2,-5,7,9,1
n db 5
.code
.startup
mov cx,0
mov bl,n
dec bl
mov cl,bl
outer:
mov ax,si
add ax,1
mov di,ax
mov cl,n
dec cl
sub cx, si
inner:
mov dh, num[si]
mov dl, num[di]
cmp dh,dl
jg next
mov num[si], dl
mov num[di], dh
next:... |
global long_mode_start
section .text
bits 64
long_mode_start:
; load 0 into all data segment registers
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
extern rust_main
call rust_main
; print OKAY to the screen
mov rax, 0x2f592f412f4b2f4f
mov qword [0xb... |
; A004538: a(n) = 3*n^2 + 3*n - 1.
; -1,5,17,35,59,89,125,167,215,269,329,395,467,545,629,719,815,917,1025,1139,1259,1385,1517,1655,1799,1949,2105,2267,2435,2609,2789,2975,3167,3365,3569,3779,3995,4217,4445,4679,4919,5165,5417,5675,5939,6209,6485,6767,7055,7349,7649,7955,8267,8585,8909,9239,9575,9917,10265,10619,10979,... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 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 "main.h"
#include "sodium.h"
#include "addrman.h"
#include "alert.h"
#... |
#include <iostream>
#include <string>
#include <frc/Timer.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include "cameraserver/CameraServer.h"
#include "Robot.h"
#include "Movement/DriveTrainManager.hpp"
#include "frc/smartdashboard/Smartdashboard.h"
#include "networktables/NetworkTable.h"
#include "networktabl... |
; BeepFX sound effect by shiru
; http://shiru.untergrund.net
SECTION rodata_clib
SECTION rodata_sound_bit
PUBLIC _bfx_19
_bfx_19:
; Jet_burst
defb 2 ;noise
defw 20,2000,1290
defb 0
|
; char* strset(char *s, int c)
SECTION code_clib
SECTION code_string
PUBLIC strset
EXTERN asm_strset
strset:
pop bc
pop de
pop hl
push hl
push de
push bc
IF __CLASSIC && __CPU_GBZ80__
call asm_strset
ld d,h
ld e,l
ret
ELSE
jp asm_strset
ENDIF
; SDCC bridge for Classic
IF __CL... |
C sparc64/aes-encrypt-internal.asm
ifelse(<
Copyright (C) 2002, 2005, 2013 Niels Möller
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software ... |
FuchsiaMeetingRoom_Script:
call EnableAutoTextBoxDrawing
ret
FuchsiaMeetingRoom_TextPointers:
dw FuchsiaMeetingRoomText1
dw FuchsiaMeetingRoomText2
dw FuchsiaMeetingRoomText3
FuchsiaMeetingRoomText1:
TX_FAR _FuchsiaMeetingRoomText1
db "@"
FuchsiaMeetingRoomText2:
TX_FAR _FuchsiaMeetingRoomText2
db "@"
Fuch... |
//******************************************************************************
// RCF - Remote Call Framework
//
// Copyright (c) 2005 - 2019, Delta V Software. All rights reserved.
// http://www.deltavsoft.com
//
// RCF is distributed under dual licenses - closed source or GPL.
// Consult your particular license fo... |
; 8080 assembler code
.hexfile sum.hex
.binfile sum.com
; try "hex" for downloading in hex format
.download bin
.objcopy gobjcopy
.postbuild echo "OK!"
;.nodump
; OS call list
PRINT_B equ 1
PRINT_MEM equ 2
READ_B equ 3
READ_MEM equ 4
PRINT_STR equ 5
... |
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc22c, %rdi
nop
nop
nop
nop
nop
inc %r12
mov (%rdi), %bx
nop
nop
nop
nop
sub $26871, %r11
lea addresses_A_ht+0xe9aa, %r13
nop
nop
nop
nop
nop
cmp %rax, %rax
movu... |
/*=========================================================================
Program: ParaView
Module: pqRescaleVisibleScalarRangeReaction.cxx
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x10074, %rsi
lea addresses_A_ht+0x1a5d4, %rdi
nop
nop
nop
nop
and %r15, %r15
mov $61, %rcx
rep movsq
nop
cmp %r12, %r12
lea addresses_A_ht+0xa494, %rsi
lea addresses_WC_ht+0x18d74, %rdi... |
// Copyright (c) 2014-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 "networkstyle.h"
#include "guiconstants.h"
#include <QApplication>
static const struct {
const char *networkI... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %rax
push %rcx
push %rdi
push %rdx
// Load
lea addresses_RW+0x11649, %r12
nop
nop
nop
and %rdx, %rdx
mov (%r12), %r11
and $25479, %r12
// Faulty Load
lea addresses_PSE+0x10f79, %r12
nop
nop
no... |
<%
from pwnlib.shellcraft.i386.linux import setsockopt
from pwnlib.shellcraft.i386 import push
from pwnlib.constants import SOL_SOCKET, SO_RCVTIMEO
%>
<%page args="sock, secs"/>
<%docstring>
Invokes the syscall fork. See 'man 2 fork' for more information.
Arguments:
sock(int): sock
secs(int): secs... |
; A158254: 289n^2 + 2n.
; 291,1160,2607,4632,7235,10416,14175,18512,23427,28920,34991,41640,48867,56672,65055,74016,83555,93672,104367,115640,127491,139920,152927,166512,180675,195416,210735,226632,243107,260160,277791,296000,314787,334152,354095,374616,395715,417392,439647,462480,485891,509880,534447,559592,585315,611... |
db MANKEY ; 056
db 40, 80, 35, 70, 35, 45
; hp atk def spd sat sdf
db FIGHTING, FIGHTING ; type
db 190 ; catch rate
db 74 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/mankey/front.dimen... |
;-------------------------------------------------------------------------------
; sys_pmu.asm
;
; (c) Texas Instruments 2009-2013, All rights reserved.
;
.text
.arm
;-------------------------------------------------------------------------------
; Initialize Pmu
; Note: It will reset all counter... |
/**
* Copyright 2021 Huawei Technologies 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
; A193676: Number of nonnegative zeros of minimal polynomials of 2*cos(Pi/n), n>=1.
; Submitted by Jamie Morken
; 0,1,1,1,1,1,2,2,1,2,3,2,3,3,2,4,4,3,5,4,2,5,6,4,5,6,5,6,7,4,8,8,4,8,6,6,9,9,6,8,10,6,11,10,6,11,12,8,10,10,8,12,13,9,10,12,8,14,15,8,15,15,10,16,12,10,17,16,10,12
add $0,1
mov $2,$0
div $2,2
lpb $2
mul ... |
; zsldevinit.asm
; Implementation file for opening peripheral devices.
;
; This file contains implementation for opening (by calling intialize routines)
; peripheral devices required by ZiLOG Standard Library implementations for eZ80
; and eZ80 Acclaim! series of microprocessors and microcontrollers.
;
; Copyrig... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Aias developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lice... |
Name: ys_init.asm
Type: file
Size: 95098
Last-Modified: '2016-05-13T04:51:43Z'
SHA-1: C80F31411A9F1D3937059D109F192377FE363F5A
Description: null
|
/*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... |
// XXX needs fixing
#if 0
/*
Copyright (C) 2012-2014 by Kristina Simpson <sweet.kristas@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// HostingPane.xaml.cpp
// Implementation of the HostingPane class
//
#include "pch.h"
#include "HostingPane.xaml.h"
#include <ReactUWP/ReactUwp.h>
#include <winrt/Windows.Storage.h>
#include <winrt/Wind... |
; A040000: a(0)=1; a(n)=2 for n >= 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,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,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
pow $1,$0
gcd $1,2
mov $0,$1
|
section .bss
buf resb 4 ; allocate storage for asserting and checking characters
sum resb 1 ; allocate storage for sum
length resb 1 ; allocate storage for length argument
section .data
lf db 0xa ; regular newline
hu db 'h' ; regular newline
err db 0xa, 'Invalid bottom.', 0xa
section .text
global... |
;------------------------------------------------------------------------------
;
; 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... |
; A335718: a(n) = 2*a(n-1) + 3*a(n-2) + 5*a(n-3), a(0) = 0, a(1) = 1, a(2) = 2.
; Submitted by Christian Krause
; 0,1,2,7,25,81,272,912,3045,10186,34067,113917,380965,1274016,4260512,14247897,47647410,159341071,532863857,1781987977,5959272880,19928828976,66645416477,222873684282,745327762875,2492503660981,8335359031997... |
/**
* \file dnn/src/common/handle.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" ... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args=""/>
<%docstring>
Invokes the syscall getuid. See 'man 2 getuid' for more information.
Arguments:
</%docstring>
${syscall('SYS_getuid')}
|
; A202107: n^4*(n+1)^4/8.
; 2,162,2592,20000,101250,388962,1229312,3359232,8201250,18301250,37949472,74030112,137149922,243101250,414720000,684204032,1095962562,1710072162,2606420000,3889620000,5694792642,8194304162,11605565952,16200000000,22313281250,30356972802
mov $1,-3
bin $1,$0
pow $1,4
mul $1,2
mov $0,$1
|
; A268896: Start at a(0)=1. a(n) = a(n-1)+2 if n == 1,2 (mod 3) and a(n)=a(n-1)+a(n-3) if n == 0 (mod 3).
; 1,3,5,6,8,10,16,18,20,36,38,40,76,78,80,156,158,160,316,318,320,636,638,640,1276,1278,1280,2556,2558,2560,5116,5118,5120,10236,10238,10240,20476,20478,20480,40956,40958
mov $2,$0
mul $2,2
mov $1,$2
add $1,1
lpb ... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 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... |
.size 8000
.text@48
ei
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld c, 44
ld b, 90
lbegin_waitvblank:
ldff a, (c)
cmp a, b
jrnz lbegin_waitvblank
ld hl, 8000
xor a, a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
... |
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifdef __YASM_VERSION_ID__
%if __YASM_VERSION_ID__ < 01010000h
%error yasm version 1.1.0 or later needed.
%endif
; Yasm automatically includes .00 and complains about redefining it.
; https://www.tortall.net/projects/ya... |
PrintStrengthTxt:
ld hl, wd728
set 0, [hl]
ld hl, UsedStrengthText
call PrintText
ld hl, CanMoveBouldersText
jp PrintText
UsedStrengthText:
TX_FAR _UsedStrengthText
TX_ASM
ld a, [wcf91]
call PlayCry
call Delay3
jp TextScriptEnd
CanMoveBouldersText:
TX_FAR _CanMoveBouldersText
db "@"
IsSurfingAllowed:
;... |
#include registers.inc
;*******************************************************************************
; UNIVERSIDAD DE COSTA RICA ESCUELA DE INGENIERIA ELECTRICA
; MICROPROCESADORES IE 623 I SEMESTRE 2020
;*******************************************************************************
; ... |
db 0 ; species ID placeholder
db 49, 49, 56, 66, 49, 61
; hp atk def spd sat sdf
db WATER, WATER ; type
db 190 ; catch rate
db 66 ; base exp
db NO_ITEM, BERRY ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/finneon/fron... |
/*
This is a lab for the function string reversing that will then reverse the
string passed.
@version 0.12.1
Author: @WizardSleeps
https://GitHub.com/WizardSleeps
*/
.text
.align 2
.global stringReverse
.type stringReverse function
/*****************************************
- Function String Rev... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
mov ecx, 0x20
cvtsi2ss xmm0, ecx
mov ecx, 0x40
cvtsi2ss xmm1, ecx
;TEST_BEGIN_RECORDING
lea ecx, [esp-4]
movss [ecx], xmm1
maxss xmm0, [ecx]
mov ecx, 0
;TEST_END_RECORDING
cvtsi2ss xmm0, ecx
cvtsi2ss xmm1, ecx
|
extern m7_ippsRSA_MB_Sign_PKCS1v15_rmf:function
extern n8_ippsRSA_MB_Sign_PKCS1v15_rmf:function
extern y8_ippsRSA_MB_Sign_PKCS1v15_rmf:function
extern e9_ippsRSA_MB_Sign_PKCS1v15_rmf:function
extern l9_ippsRSA_MB_Sign_PKCS1v15_rmf:function
extern n0_ippsRSA_MB_Sign_PKCS1v15_rmf:function
extern k0_ippsRSA_MB_Sign_PKCS1v... |
.db F8, E3
|
; A016923: a(n) = (6*n + 1)^3.
; 1,343,2197,6859,15625,29791,50653,79507,117649,166375,226981,300763,389017,493039,614125,753571,912673,1092727,1295029,1520875,1771561,2048383,2352637,2685619,3048625,3442951,3869893,4330747,4826809,5359375,5929741,6539203,7189057,7880599,8615125,9393931,10218313,11089567,12008989,12977... |
; A037085: Beatty sequence for Pi^2.
; 0,9,19,29,39,49,59,69,78,88,98,108,118,128,138,148,157,167,177,187,197,207,217,227,236,246,256,266,276,286,296,305,315,325,335,345,355,365,375,384,394,404,414,424,434,444,454,463,473,483,493
mov $2,$0
mov $8,$0
lpb $2
mov $0,$8
sub $2,1
sub $0,$2
mov $10,2
mov $11,$0
... |
// 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 <boost/test/unit_test.hpp>
#include <stdint.h>
#include <sstream>
#include <iomanip>
#include <limits>
#include <cma... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PrefMgr
FILE: prefmgr.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
cheng 2/90 Initial version
DESCRIPTION:
This fil... |
; A250813: Number of (1+1) X (n+1) 0..2 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction.
; 36,100,225,441,784,1296,2025,3025,4356,6084,8281,11025,14400,18496,23409,29241,36100,44100,53361,64009,76176,90000,105625,123201,142884,164836,189225,216225,2... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <stdexcept>
#include "flashlight/flashlight/meter/MSEMeter.h"
namespace fl {
MSEMeter::MS... |
extern scanf
extern printf
section .data
format db "%u",0
poziom dd 0
pion dd 0
znak db "* ",0
endl db 10,0
napis db "Podaj rozmiar trojkata rownobocznego: ",0
section .text
global main
main:
xor rax, rax
mov rdi, napis
call printf
xor rax, rax
mov rdi, format
mov rsi, poziom
call scanf
mov ebx, [po... |
#pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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 Licen... |
; PROLOGUE(mpn_lshift)
; Version 1.0.3.
;
; Copyright 2008 Jason Moxham
;
; Windows Conversion Copyright 2008 Brian Gladman
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as publ... |
db 0 ; species ID placeholder
db 75, 38, 38, 67, 56, 56
; hp atk def spd sat sdf
db WATER, ELECTRIC ; type
db 190 ; catch rate
db 90 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/chinchou... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x13900, %r11
nop
nop
sub %rcx, %rcx
movw $0x6162, (%r11)
sub %rbx, %rbx
lea addresses_UC_ht+0x8d14, %rsi
lea addresses_D_ht+0x5838, %rdi
sub %r9, %r9
mov $127, %rcx
rep movsq
n... |
; A083578: a(n) = (6^n + (-4)^n)/2.
; 1,1,26,76,776,3376,25376,131776,872576,4907776,30757376,179301376,1096779776,6496792576,39316299776,234555621376,1412702437376,8454739787776,50814338072576,304542431051776,1828628975845376
mov $2,$0
mov $3,$0
add $3,4
mov $5,$0
mov $0,1
mov $6,6
pow $6,$2
sub $2,$3
mov $4,$2
pow $... |
db DEX_FLAREON ; pokedex id
db 65 ; base hp
db 130 ; base attack
db 60 ; base defense
db 65 ; base speed
db 110 ; base special
db FIRE ; species type 1
db FIRE ; species type 2
db 45 ; catch rate
db 198 ; base exp yield
INCBIN "pic/ymon/flareon.pic",0,1 ; 66, sprite dimensions
dw FlareonPicFront
dw FlareonPicBack
; att... |
ld b,64
ld a,$DF
MMUSelectLayer2
call l2_plot_pixel
ld c,104
ld b,64
ld a,$DF
MMUSelectLayer2
call l2_plot_pixel
ld c,128
ld b,81
ld a,$DF
MMUSelectLayer2
call l2_plot_pixel
ld c,37
ld b,61
ld a,$DF
MMUSelectLayer2
call l2_plot_pixel
ld c,217
ld b,61
ld a,$DF
MMUSelectLaye... |
# Transform the following C operation to MIPS Assembly
# f = (g + h) - (i + j)
main:
# Read A
li $v0, 5 # load syscall read_int into $v0
syscall # make the syscall
move $t0, $v0 # move the number read into $t0
# Read B
li $v0, 5
syscall
move... |
/****************************************************************************
Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and assoc... |
; A198410: ((3^(n-1) + 1)^3 -1)/3^n.
; 7,37,271,2269,19927,177877,1596511,14355469,129159847,1162320517,10460530351,94143710269,847290203767,7625602267957,68630391713791,617673439330669,5559060695695687
mov $2,3
pow $2,$0
lpb $0,1
mul $2,2
mov $5,$2
gcd $3,2
add $4,$5
mov $1,$4
add $3,$1
sub $0,$2
mul ... |
#include "src/matOptimize/mutation_annotated_tree.hpp"
#include "src/matOptimize/tree_rearrangement_internal.hpp"
#include "zlib.h"
#include "tbb/concurrent_queue.h"
#include "tbb/flow_graph.h"
#include <atomic>
#include <cctype>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <mutex>... |
; A061777: Start with a single triangle; at n-th generation add a triangle at each vertex, allowing triangles to overlap; sequence gives total population of triangles at n-th generation.
; 1,4,10,22,40,70,112,178,268,406,592,874,1252,1822,2584,3730,5260,7558,10624,15226,21364,30574,42856,61282,85852,122710,171856,24557... |
SECTION .text
GLOBAL square_curve25519
square_curve25519:
sub rsp, 0x98
mov rax, [ rsi + 0x8 ]; load m64 arg1[1] to register64
mov r10, rax; load m64 x8 to register64
shl r10, 0x1; x8 <- arg1[1] * 0x2
imul rax, [ rsi + 0x18 ], 0x26; x5 <- arg1[3] * 0x26
mov r11, [ rsi + 0x10 ]; load m64 arg1[2] to register64
lea rdx, ... |
default rel
global main
SECTION .text
main:
push rbp
mov rbp, rsp
mov dword [rbp-8H], 1
mov dword [rbp-4H], 2
mov eax, dword [rbp-8H]
cmp eax, dword [rbp-4H]
setl al
movzx rax, al
mov byte [rbp-8H], al
... |
aseg
org 1FD0h
start: ld IX, 2000h
ld IY, 2100h
ld B, 0
ciclo: ld A, (IX)
cp (IY)
jr NZ, distintos
cp 0
jr Z, prefijo
inc IX
inc IY
jr ciclo
distintos: cp 0
jr Z, prefijo
ld A, (IY)
cp 0
jr Z, prefijo
add A, 0
jr fin
prefijo: ld A, 80h
add A, 80h
fin: rst 38h... |
; asm_isprint
SECTION code_clib
PUBLIC asm_isprint
EXTERN asm_isgraph
; determine if the char is printable
; enter : a = char
; exit : carry = not printable
; uses : f
.asm_isprint
cp 32
ret z
jp asm_isgraph
|
/*************************************************************************
* Copyright 2018 Reegan Troy Layzell
*
* 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... |
/// SSP provides the ability for serial communication over SPI, SSI, or
/// Microwire on the LPC407x chipset. NOTE: The SSP2 peripheral is a
/// selectable option in this driver, it is not currently available on
/// the SJTwo board. Only one set of pins are available for either SSP0
/// or SSP1 as follows:
/// Per... |
; A017733: Binomial coefficients C(n,69).
; 1,70,2485,59640,1088430,16108764,201359550,2186189400,21042072975,182364632450,1440680596355,10477677064400,70724320184700,446107250395800,2644778698775100,14810760713140560,78682166288559225,398039194165652550,1923856105133987325,8910491434304783400,39651686882656286130,1699... |
SECTION .text
GLOBAL mul_p384
mul_p384:
sub rsp, 0x2e8 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x2b8 ], rbx; saving to stack
mov [ rsp + 0x2c0 ], rbp; saving to stack
mov [ rsp + 0x2c8 ], r12; saving to stack
mov [ rsp + 0x2d0 ], r13; saving to stack
mov [ rsp + 0x2d8 ], r14; saving to stack
mov [ rsp + 0x... |
; A244419: Coefficient triangle of polynomials related to the Dirichlet kernel. Rising powers. Riordan triangle ((1+z)/(1+z^2), 2*z/(1+z^2)).
; Submitted by Jamie Morken(w2)
; 1,1,2,-1,2,4,-1,-4,4,8,1,-4,-12,8,16,1,6,-12,-32,16,32,-1,6,24,-32,-80,32,64,-1,-8,24,80,-80,-192,64,128,1,-8,-40,80,240,-192,-448,128,256,1,10,... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="fd, buf"/>
<%docstring>
Invokes the syscall fstat. See 'man 2 fstat' for more information.
Arguments:
fd(int): fd
buf(stat): buf
</%docstring>
${syscall('SYS_fstat', fd, buf)}
|
;/*********************************************************************
;* Filename: _mb_div_x.asm
;* Author: Aiyu Xiao (xiao_ai_yu@live.cn, OR doublesine@tju.edu.cn)
;*********************************************************************/
TITLE mb_div_x.asm
;-------------------------------
; FOR X64
;-... |
;;; ----------------------------------------------------------------------
;;; Programmable timer sample program for the Atari ST
;;; Written by Michael Martin, 2021
;;; Based on C sample code by Jwahar R. Bammi, 1986
;;; ----------------------------------------------------------------------
text
move.l #conf... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module spritesheet_5_tiles
.optsdcc -mgbz80
;-------------------------------------------------------... |
dnl Intel P5 mpn_lshift -- mpn left shift.
dnl Copyright 2000-2002 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as... |
; version.asm
;
; Auto-generated by ZXVersion.exe
; On 16 Feb 2020 at 20:08
BuildNo macro()
db "8"
mend
BuildNoValue equ "8"
BuildNoWidth equ 0 + FW8
BuildDate macro()
db "16 Feb 2020"
mend
BuildDateValue ... |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_fzx_oterm_msg_fzx_get_xor_draw
EXTERN __fzx_draw_xor
zx_01_output_fzx_oterm_msg_fzx_get_xor_draw:
; * OTERM_MSG_FZX_GET_XOR_DRAW
;
; exit : bc = & fzx xor draw function
; can use: af, bc, de, hl
ld bc,__fzx_draw_xor
ret
|
;;; Copyright 2020 Tadashi G. Takaoka
;;;
;;; 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 ... |
/*=============================================================================
Copyright (c) 2011-2014 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... |
; A194119: Triangular array: T(n,k)=C(n+3,k)+C(n+3,k+3), 0<=k<=n.
; Submitted by Christian Krause
; 2,5,5,11,10,11,21,21,21,21,36,42,42,42,36,57,78,84,84,78,57,85,135,162,168,162,135,85,121,220,297,330,330,297,220,121,166,341,517,627,660,627,517,341,166,221,507,858,1144,1287,1287,1144,858,507,221
lpb $0
add $2,1
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x131f0, %rbp
nop
nop
and %rdi, %rdi
mov (%rbp), %edx
nop
nop
nop
nop
cmp $25100, %r8
lea addresses_normal_ht+0x18f56, %rax
clflush (%rax)
sub $25343, %r11
and $0xffff... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="name, length"/>
<%docstring>
Invokes the syscall sethostname. See 'man 2 sethostname' for more information.
Arguments:
name(char): name
len(size_t): len
</%docstring>
${syscall('SYS_sethostname', name, length)}
|
#include "stdafx.h"
#include "stobject.h"
#include "systray.h"
#include <initguid.h>
// 7007ACCF-3202-11D1-AAD2-00805FC1270E CLSID_ConnectionTray
DEFINE_GUID(CLSID_ConnectionTray, 0x7007ACCF,0x3202,0x11D1,0xAA,0xD2,0x00,0x80,0x5F,0xC1,0x27,0x0E);
IOleCommandTarget *g_pctNetShell = NULL... |
/// [[Index]]
/// # {{Serial Peripheral Interfaces}}
#ifndef NBLIB_SPI_HPP
#include "isr.hpp"
#include "chip.hpp"
#include "hardwaretype.hpp"
#include "macros.hpp"
#include "system.hpp"
#include "callback.hpp"
#include "port.hpp"
#include "loopi"
#ifdef _I
#define N _I
#define SpiN CAT(Spi,N)
#define S... |
_Route22GateText_1e704::
text "Only truly skilled"
line "trainers are"
cont "allowed through."
para "You don't have the"
line "BOULDERBADGE yet!@"
text_end
_Route22GateText_1e715::
text_start
para "The rules are"
line "rules. I can't"
cont "let you pass."
done
_Route22GateText_1e71a::
text "Oh! That is ... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2008, 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 distr... |
#define UMDF_USING_NTSTATUS
#include <Windows.h>
#include <BluetoothAPIs.h>
#include <wchar.h>
#include <ntsecapi.h>
#include <ntstatus.h>
#include <subauth.h>
using namespace std;
long long ReadAddr(){
LSA_OBJECT_ATTRIBUTES Attr;
ZeroMemory(&Attr, sizeof(LSA_OBJECT_ATTRIBUTES));
LSA_HANDLE hPolicy;
NTST... |
/*
* Copyright (c) 2015 - 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 condition... |
; A015247: a(n) = (2*n - 15)*n^2.
; 0,-13,-44,-81,-112,-125,-108,-49,64,243,500,847,1296,1859,2548,3375,4352,5491,6804,8303,10000,11907,14036,16399,19008,21875,25012,28431,32144,36163,40500,45167,50176,55539,61268,67375,73872,80771,88084,95823,104000,112627,121716,131279,141328,151875,162932,174511,186624,199283,212500... |
///////////////////////////////////////////////////////////////////////////////
// Name: tests/controls/frametest.cpp
// Purpose: wxFrame unit test
// Author: Steven Lamerton
// Created: 2010-07-10
// Copyright: (c) 2010 Steven Lamerton
////////////////////////////////////////////////////////////... |
/*****************************************************************************
* This file is provided under the Creative Commons Attribution 3.0 license.
*
* You are free to share, copy, distribute, transmit, or adapt this work
* PROVIDED THAT you attribute the work to the authors listed below.
* For more information,... |
; A122650: Fibonacci numbers starting at F(23).
; 28657,46368,75025,121393,196418,317811,514229,832040,1346269,2178309,3524578,5702887,9227465,14930352,24157817,39088169,63245986,102334155,165580141,267914296,433494437,701408733,1134903170,1836311903,2971215073,4807526976,7778742049,12586269025,20365011074,32951280099,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.