text stringlengths 1 1.05M |
|---|
; A337997: Triangle read by rows, generalized Eulerian polynomials evaluated at x = 1.
; Submitted by Simon Strandgaard
; 1,0,1,0,2,8,0,6,48,162,0,24,384,1944,6144,0,120,3840,29160,122880,375000,0,720,46080,524880,2949120,11250000,33592320,0,5040,645120,11022480,82575360,393750000,1410877440,4150656720
mov $2,1
lpb $0... |
/*==============================================================================
Copyright (c) 2002-2003 Joel de Guzman
Copyright (c) 2006 Tobias Schwinger
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file... |
; base area SMSQ QXL Keyboard Tables
section header
xref kbd_base
xref smsq_end
include 'dev8_keys_qdos_sms'
include 'dev8_keys_ldm'
header_base
dc.l kbd_base-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-kbd_base ; loaded length
dc.l 0 ; checksum
dc.l 0 ; no selec... |
***********************************************************
*
* Card reader tester
*
***********************************************************
CRTS START 0
USING *,0
EXTRN READ Reader I/O entry point
EXTRN PRNT
ENTRY FOF
... |
#include "BAPlayer.h"
#include "BAShip.h"
#include "BAMapData.h"
#include "ABGeometry.h"
BAPlayer::BAPlayer(CharacterID charID){
// init character Data
this->charData = BACharacterData::newCharacterForID(charID);
this->numberOfShips = charData->numberOfSmallShips + charData->numberOfMediumShips + charData->nu... |
include stdmacro.i
include raster.i
_TEXT segment
public pj_mcga_get_hseg
public pj_mcga_put_hseg
;*****************************************************************************
;* LONG pj_mcga_get_hseg(Bytemap *r,void *pixbuf, ULONG x,ULONG y,ULONG width);
;* unclipped! get horizontal line segment
;... |
;*****************************************************************************
;* x86-optimized Float DSP functions
;*
;* Copyright 2006 Loren Merritt
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License... |
SECTION code_fcntl
PUBLIC console_01_output_stdio_msg_writ
EXTERN OTERM_MSG_PUTC, l_jpix
console_01_output_stdio_msg_writ:
; BC' = length > 0
; HL' = void *buffer = byte source
; HL = length > 0
;
; return:
;
; HL'= void *buffer + num bytes written
; HL = number of bytes successfully outpu... |
;------------------------------------------------------------------------------
; This file is part of the RTX-51 TINY Real-Time Operating System Package
; Copyright KEIL ELEKTRONIK GmbH and Keil Software, Inc. 1991 - 2002
;------------------------------------------------------------------------------
;
; OS_R... |
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
int
main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc ... |
db "PLAYHOUSE@" ; species name
db "It will carefully"
next "carry a round"
next "white rock that it"
page "thinks is an egg."
next "It is bothererd by"
next "its curly hair.@"
|
;ALP to find the Greatest Common Deviser of two unsigned integer.
NAME Comprehensive
TITLE gcd_two
;test passed
ASSUME CS:CODE,DS:DATA
DATA SEGMENT
NUM1 DW 0017H
NUM2 DW 0007H
GCD DW ?
DATA ENDS
CODE SEGMENT
START: MOV AX,DATA
MOV DS,AX
MOV AX,NUM1
MOV BX,NUM2
X1: CMP AX,BX
... |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the config.tests of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1450d, %r13
nop
nop
nop
nop
nop
dec %rdx
mov (%r13), %rax
nop
nop
nop
cmp $46044, %rdx
lea addresses_WT_ht+0x1e6ad, %r11
nop
nop
sub %rbx, %rbx
mov $0x6162636465666768, %rdi... |
;
; THIS FILE IS AUTOMATICALLY GENERATED
;
!source "system/header.asm"
!source "data/constants.asm"
!source "data/zeropage.asm"
!source "system/stackdata.asm"
!source "data/memory.asm"
!source "data/kernal.asm"
!source "initialise/initialise.asm"
!source "system/macros.asm"
!source "system/indirection.asm"
!source "sys... |
; A270299: Numbers which are representable as a sum of eleven but no fewer consecutive nonnegative integers.
; Submitted by Jon Maiga
; 88,176,352,704,968,1144,1408,1496,1672,1936,2024,2288,2552,2728,2816,2992,3256,3344,3608,3784,3872,4048,4136,4576,4664,5104,5192,5368,5456,5632,5896,5984,6248,6424,6512,6688,6952,7216,... |
#include <iostream>
#include <vector>
using namespace std;
vector<int> optimal_summands(int n)
{
vector<int> summands;
int a = 0;
while (n > 0) {
int next_a = a + 2;
int next_n = n - (a + 1);
if (next_a > next_n) {
a = n;
} else {
a = a + 1;
}
summands.push_back(a);
n -= a;
}
return summa... |
;**************************************************************************
;* *
;* OCaml *
;* *
;* X... |
; Copyright (C) 2021 Mateus de Lima Oliveira
global enter_pm
enter_pm:
ret
_idt:
|
SECTION "Intro", ROMX
Intro::
; Remove this line
; Put your code here!
ld a,HIGH(wShadowOAM)
ldh [hOAMHigh],a
ld hl, wDvdLogoLoc
ld b,13 ;13 metasprites
.MoveMetaSprite
ld a, [hl+]
add a, [hl]; Add Y-Velocity to Y-Position
dec l
ld [hl+], a
cp 144 + 16 - 16 ; is it at... |
SECTION code_fp_math48
PUBLIC asm_sqrt
EXTERN am48_sqrt
defc asm_sqrt = am48_sqrt
|
*= $0801
.byte $4c,$14,$08,$00,$97
turboass = 780
.text "780"
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$33,$00,$00,$00
lda #1
sta turboass
jmp main
code = $2800
data = $29c0
zerodata = $f7
zeroptr = $f7;$f8
ptab... |
/*
* Copyright (c) 2011, Peter Thorson. All rights reserved.
*
* 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 o... |
#include "net_host.h"
#include "../debug.h"
#include "net_constants.h"
#include <SFML/System/Clock.hpp>
#include <thread>
namespace {
ENetHost* createHost(const ENetAddress* address, int connections)
{
return enet_host_create(address, connections, 2, 0, 0);
}
ENetPeer* connectHostTo(ENetHost... |
CODE SEGMENT
ASSUME CS:CODE,DS:CODE
ORG 100H
MAIN: MOV AX,CS
MOV DS,AX
MOV SI,0
MOV DI,1
L1: MOV AL,A1[SI]
MOV CL,A1[DI]
CMP CL,32
JE REV
INC DI
CMP DI,LEN
JE REV
JMP L1
REV: MOV BX,DI
DEC DI
MOV CL,A1[DI]
REV1: XCHG AL,CL
MOV B1[SI],AL
MOV B1[DI],CL
... |
; A227804: a(1) = greatest k such that H(k) - H(8) < H(8) - H(4); a(2) = greatest k such that H(k) - H(a(1)) < H(a(1)) - H(8), and for n > 2, a(n) = greatest k such that H(k) - H(a(n-1) > H(a(n-1)) - H(a(n-2)), where H = harmonic number.
; 15,27,48,85,150,264,464,815,1431,2512,4409,7738,13580,23832,41823,73395,128800,2... |
#To be inserted at 800e250c
##########################################
##FPSHack_TEST_HalfSomeBoomerangValueIDK##
##########################################
lis r17, 0x817F
lfs f17, 0x0004 (r17)
fmuls f0, f0, f17
stfs f0, 0x000C (sp) #Vanilla |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_PSE+0x4911, %rsi
lea addresses_PSE+0x15a41, %rdi
nop
and %r13, %r13
mov $32, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp $51583, %rcx
// St... |
; A009574: Expansion of e.g.f. sinh(log(1+x))*exp(x).
; 0,1,1,3,-2,25,-129,931,-7412,66753,-667475,7342291,-88107414,1145396473,-16035550517,240533257875,-3848532125864,65425046139841,-1177650830516967,22375365779822563
add $0,6
mov $2,5
lpb $0,1
sub $0,1
mul $1,$2
sub $1,1
sub $2,1
lpe
sub $1,$2
div $1,2
|
/**
* Copyright(c) 2014 Carnegie Mellon University. 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 li... |
; A269410: Number of length-4 0..n arrays with no repeated value greater than or equal to the previous repeated value.
; Submitted by Jon Maiga
; 9,63,222,570,1215,2289,3948,6372,9765,14355,20394,28158,37947,50085,64920,82824,104193,129447,159030,193410,233079,278553,330372,389100,455325,529659,612738,705222,807795,921... |
/***
* Bitwuzla: Satisfiability Modulo Theories (SMT) solver.
*
* This file is part of Bitwuzla.
*
* Copyright (C) 2007-2021 by the authors listed in the AUTHORS file.
*
* See COPYING for more information on using this software.
*/
#include "test.h"
extern "C" {
#include "bzlaexp.h"
#include "utils/bzlaunionf... |
dnl AMD64 mpn_redc_1 optimised for Intel Haswell.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2013 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 ... |
;
;==================================================================================================
; PARPORTPROP DRIVER
;==================================================================================================
;
; TODO:
; 1) ADD SUPPORT FOR DSKY
;
PPP_IO .EQU PPIBASE + 0 ; PPP DATA I/O (PPI PORT... |
; A280511: Index sequence of the block-fractal sequence A001468.
; 2,2,5,5,5,5,5,13,13,13,13,13,13,13,13,13,13,13,13,13,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89... |
@
@ Copyright (c) 2016, Texas Instruments Incorporated
@
@ 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 a... |
TextBoxBorder::
; Draw a cxb text box at hl.
; top row
push hl
ld a, "┌"
ld [hli], a
inc a ; ─
call NPlaceChar
inc a ; ┐
ld [hl], a
pop hl
ld de, 20
add hl, de
; middle rows
.next
push hl
ld a, "│"
ld [hli], a
ld a, " "
call NPlaceChar
ld [hl], "│"
pop hl
ld de, 20
add hl, de
dec b
jr nz, .ne... |
/*
* Copyright 2019 Pablo Navais
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
#include <Eigen/Dense>
#include <iostream>
using namespace Eigen;
using namespace std;
int main(int, char**)
{
cout.precision(3);
Matrix<float,2,3> m = Matrix<float,2,3>::Random();
Matrix2f y = Matrix2f::Random();
cout << "Here is the matrix m:" << endl << m << endl;
cout << "Here is the matrix y:" << endl << y <... |
; A216522: Integers of the form 2*x + 3*y with nonnegative x and y, with repetitions.
; Submitted by Jon Maiga
; 0,2,3,4,5,6,6,7,8,8,9,9,10,10,11,11,12,12,12,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,18,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,24,25,25,25,25,26,26,26,26,26,27,27,27,... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Printer Drivers
FILE: printcomPCLText.asm
AUTHOR: Dave Durran
ROUTINES:
REVISION HISTORY:
Name Date Description
---- ---- -----------
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[]) {
char *ptr;
if(argc < 3) {
printf("Usage: %s <env variable name> <target program name>\n", argv[0]);
}
else {
ptr = getenv(argv[1]); /* get env var location */
int diff = (strlen(argv[0... |
; A064099: a(n) = ceiling(log(3 + 2*n)/log(3)).
; 1,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#pragma once
#include "azure/core/http/pipeline.hpp"
#include "azure/core/response.hpp"
#include "azure/storage/common/storage_credential.hpp"
#include "azure/storage/files/shares/protocol/share_rest_client.hpp"
#include "azu... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="path, argv, envp"/>
<%docstring>
Invokes the syscall execve. See 'man 2 execve' for more information.
Arguments:
path(char): path
argv(char): argv
envp(char): envp
</%docstring>
${syscall('SYS_execve', path, argv, envp)}
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1586d, %r13
clflush (%r13)
nop
and %rax, %rax
movl $0x61626364, (%r13)
nop
nop
nop
cmp %rcx, %rcx
lea addresses_D_ht+0xcfad, %r14
clflush (%r14)
nop
nop
nop
nop
add $1846, %r... |
;
; Startup for CP/M
;
; Stefano Bodrato - Apr. 2000
; Apr. 2001: Added MS-DOS protection
;
; Dominic Morris - Jan. 2001: Added argc/argv support
; - Jan. 2001: Added in malloc routines
; - Jan. 2001: File support added
;
; $Id: cpm_crt0.asm,v 1.23 2015/01/21 07:05:00 stef... |
#pragma once
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <gsl/gsl>
#include <nlohmann/json.hpp>
#include "characters/character_manager.hpp"
#include "communication/iclient.hpp"
namespace d20tempest::character
{
class Character;
class CharacterManager
{
private:
... |
; ICS 331
; Tetris
; Alex Watanabe
; Using DLX architecture
; Contains anything to do with input computation
; so I don't have to scroll through many things while working
; Function that will read inputs
; x-input returned as R2. 1 = l, 2 = n, 3 = r
; y-input returned as R3. 1 = rotL, 2 = n, 3 = rotR
readIn: addi R4 ... |
;=====================================================================
; File Name : cstartup.asm
; Description : Startup routine for csu8rp3216
; This file contains the CSCC startup routine
; and must usually be tailored to suit customer's hardware
; Body Name : csu8rp3216
;... |
;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
;;;
;;; ASM Source code for Red GBC, by Evan Bowman, 2021
;;;
;;;
;;; The following licence covers the source code included in this file. The
;;; game's characters and artwork belong to Evan Bowman, and should not be used
;;; without permi... |
;
; Copyright (C) 2009-2015 Intel Corporation.
; SPDX-License-Identifier: MIT
;
PUBLIC SetAppFlags_asm
PUBLIC ClearAcFlag_asm
PUBLIC GetFlags_asm
.686
.model flat, c
.code
SetAppFlags_asm PROC
push ebp
mov ebp, esp
mov eax, DWORD PTR [ebp+8h]
pushfd
pop ecx
or ecx, eax
mov edx, eax
pus... |
;===============================================================================
; Copyright 2015-2021 Intel Corporation
;
; 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.apa... |
; A171522: Denominator of 1/n^2-1/(n+2)^2.
; 0,9,16,225,144,1225,576,3969,1600,9801,3600,20449,7056,38025,12544,65025,20736,104329,32400,159201,48400,233289,69696,330625,97344,455625,132496,613089,176400,808201,230400,1046529,295936,1334025,374544,1677025,467856,2082249,577600,2556801,705600,3108169,853776,3744225,1024... |
org $8000
start:
lda #$02
sta $ff02
ldx #$00
loop:
lda msg,x
beq end
sta $ff00
inx
bra loop
end:
lda #$0a
sta $ff00
stp
int_handler:
nmi_handler:
rti
msg: string "Hello, world!"
msgend:
org $fffa
word int_handler
word start
word nmi_handler
|
extern printf
extern scanf
section .data
msg db "enter character :", 0
vfmt db "vowel!", 0
nfmt db "not vowel!", 0
ifmt db "%c", 0
section .text
global start
start:
enter 4, 0
push msg
call printf
add esp, 4
lea eax, [ebp - 4]
push eax
push ifmt
call scanf
add esp, 8
... |
#include "rod_math_v9.h"
int main(){
float m_im1[3] = {-8.78125100e-11, 1.16555800e-10, -8.71992700e-11};
float e_im1[3] = {1.34365400e-08, 6.62241900e-09, -4.68984700e-09};
float e_i[3] = {6.55867000e-09, 2.03361000e-09, 5.91157700e-09};
float m_prime[3];
rod::parallel_transport(m_im1, m_prim... |
/************************************************************************************
* *
* Copyright (c) 2014 - 2018 Axel Menzel <info@rttr.org> *
* ... |
; int fsetpos_callee(FILE *stream, const fpos_t *pos)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _fsetpos_callee
EXTERN asm_fsetpos
_fsetpos_callee:
pop hl
pop ix
ex (sp),hl
... |
IF !_ZXN
public _screenTab
section RODATA_2
; Screen address decoding:
; Hi Lo
; +---------------+ +---------------+
; |7|6|5|4|3|2|1|0| |7|6|5|4|3|2|1|0|
; +---------------+ +---------------+
; | | | | | | | |
... |
; DONE!
section .data
msg db '%c want to eat %x and drink %s coffee in %d cups with %x and %b classmates', 0xA, 0xD
msglen equ $ - msg
mystr db 'very-very hot'
mystrlen equ $ - mystr
STRLEN equ 22
STRHEX db '0123456789ABCDEF'
section .bss
buffer resb ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xee78, %r15
clflush (%r15)
nop
nop
sub $63711, %r11
movl $0x61626364, (%r15)
nop
nop
nop
nop
add $36106, %r12
lea addresses_WC_ht+0x1b778, %rsi
lea addresses_normal_ht+0xe238... |
_ps: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "user.h"
#include "fs.h"
#include "ps.h"
int main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 ... |
org 100h
include "emu8086.inc"
MOV DX, OFFSET MAIN
MOV AH, 9
INT 21H
MOV DX, OFFSET MESSAGE
MOV AH, 9
INT 21H
CALL scan_num
MOV AX, CX
CALL pthis
db 13,10, "THE CUBE IS = ", 0
CALL CUBE
MUL CX
CALL PRINT_NUM
ret
B DW 0
MAIN db "CALCULATES THE CUBE USING ... |
#include "benchmark/benchmark.h"
#include "c4/log.hpp"
#include "c4/allocator.hpp"
#include "../list_types.hpp"
namespace bm = benchmark;
namespace c4 {
template< class List >
void BM_ListPushBack(bm::State& st)
{
List li;
using T = typename List::value_type;
T v{};
size_t count = 0;
while(st.Ke... |
_TEXT SEGMENT
call_on_stack__asm PROC
; https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention
; https://docs.microsoft.com/en-us/cpp/build/stack-usage
; enter
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
; backup callee saved regi... |
/***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* object ... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Desktop/Folder
FILE: folderButton.asm
AUTHOR: Brian Chin
ROUTINES:
INT StartFolderObjectIconMove - dragging folder object icon
INT LaunchGeoAppl... |
.byte $00, $00, $0D, $0B, $0C, $00, $00, $00, $00
|
/*
*
* Copyright 2018 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
// Copyright (c) 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 "consensus/merkle.h"
#include "test/test_safe.h"
#include "random.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_h.h" for further details
; ----------------------------------------------------------------
; unsigned char BIFROSTH_getAnimGroup(unsigned char tile)
SECTION code_clib
... |
; Generated by PSoC Designer 5.4.3191
;
;@Id: boot.tpl#903 @
;=============================================================================
; FILENAME: boot.asm
; Version: 4.30
;
; DESCRIPTION:
; M8C Boot Code for CY8C271xx members of the 27xxx microcontroller family.
;
; Copyright (c) Cypress Semiconductor ... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
; A090618: Highest power of 9 dividing n!.
; 0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,3,3,3,4,4,4,4,4,4,5,5,5,6,6,6,7,7,7,7,7,7,8,8,8,9,9,9,9,9,9,10,10,10,11,11,11,11,11,11,13,13,13,13,13,13,14,14,14,15,15,15,15,15,15,16,16,16,17,17,17,17,17,17,18,18,18,20,20,20,20
lpb $0
div $0,3
add $1,$0
lpe
div $1,2
|
; A044337: Numbers n such that string 0,5 occurs in the base 10 representation of n but not of n-1.
; Submitted by Christian Krause
; 105,205,305,405,505,605,705,805,905,1005,1050,1105,1205,1305,1405,1505,1605,1705,1805,1905,2005,2050,2105,2205,2305,2405,2505,2605,2705,2805,2905,3005,3050,3105,3205,3305,3405,3505
add ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x19c49, %rsi
lea addresses_WT_ht+0x19019, %rdi
sub %r14, %r14
mov $56, %rcx
rep movsq
xor %r10, %r10
lea addresses_WC_ht+0x155b9, %rsi
lea addresses_WT_ht+0x134d9, %rdi
nop
m... |
.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 a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x3417, %rax
nop
nop
nop
nop
xor $57153, %r12
mov $0x6162636465666768, %r11
movq %r11, %xmm1
movups %xmm1, (%rax)
cmp %r8, %r8
lea addresses_A_ht+0x199db, %rsi
lea addresses_WC... |
; A190994: a(0)=27, a(1)=2, a(n) = a(n-1) +a(n-2) for n>=2.
; 27,2,29,31,60,91,151,242,393,635,1028,1663,2691,4354,7045,11399,18444,29843,48287,78130,126417,204547,330964,535511,866475,1401986,2268461,3670447,5938908,9609355,15548263,25157618,40705881,65863499,106569380,172432879,279002259,451435138,730437397,118187253... |
; A097299: Ninth column (m=8) of (1,6)-Pascal triangle A096956.
; 6,49,225,765,2145,5247,11583,23595,45045,81510,140998,234702,377910,591090,901170,1343034,1961256,2812095,3965775,5509075,7548255,10212345,13656825,18067725,23666175,30713436,39516444,50433900,63882940
lpb $0,1
mov $2,$0
cal $2,97298 ; Eighth column... |
; A165192: a(0) = 1, a(1) = 2, a(3) = 3, a(n) = a(n-1) - a(n-3).
; Submitted by Jamie Morken(s4)
; 1,2,3,2,0,-3,-5,-5,-2,3,8,10,7,-1,-11,-18,-17,-6,12,29,35,23,-6,-41,-64,-58,-17,47,105,122,75,-30,-152,-227,-197,-45,182,379,424,242,-137,-561,-803,-666,-105,698,1364,1469,771,-593,-2062,-2833,-2240,-178
mov $3,1
lpb $0
... |
; A311440: Coordination sequence Gal.5.50.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,4,8,12,17,21,25,30,34,38,42,46,50,54,59,63,67,72,76,80,84,88,92,96,101,105,109,114,118,122,126,130,134,138,143,147,151,156,160,164,168,172,... |
;E:\Programmierung\Delphi7\Projects\CubeOS\CubeOOP\Works\Projects\SecondTest.OOP AT 20.08.2018 19:42:33
.486
locals
jumps
.model flat,STDCALL
;============== Prolog Ended
Include .\include\Prolog.asm
;//Environment: CubeOOP
;//Title:
;//Autor:
;//Date: 29.07.2007 09:47:02
;//Description:
;//****************... |
// Copyright (c) 2013-2016 Josh Blum
// SPDX-License-Identifier: BSL-1.0
#include "MainWindow/IconUtils.hpp"
#include "MessageWindow/LoggerDisplay.hpp"
#include "MessageWindow/LoggerChannel.hpp"
#include <QPlainTextEdit>
#include <QScrollBar>
#include <QToolButton>
#include <QTimer>
#include <Poco/DateTimeFormatter.h>... |
; A083392: Alternating partial sums of A000217.
; 0,-1,2,-4,6,-9,12,-16,20,-25,30,-36,42,-49,56,-64,72,-81,90,-100,110,-121,132,-144,156,-169,182,-196,210,-225,240,-256,272,-289,306,-324,342,-361,380,-400,420,-441,462,-484,506,-529,552,-576,600,-625,650,-676,702,-729,756,-784,812,-841,870,-900,930,-961,992,-1024,1056,-... |
[extern isr_handler]
[extern irq_handler]
[extern hang]
isr_common_stub:
pusha
push ds
push es
push fs
push gs
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov eax, esp
push eax
mov eax, isr_handler
call eax
pop eax
pop gs
pop fs
pop e... |
export ScorePlum
code
proc ScorePlum 12 8
ADDRFP4 4
INDIRP4
ARGP4
CNSTI4 65
ARGI4
ADDRLP4 4
ADDRGP4 G_TempEntity
CALLP4
ASGNP4
ADDRLP4 0
ADDRLP4 4
INDIRP4
ASGNP4
ADDRLP4 8
ADDRLP4 0
INDIRP4
CNSTI4 424
ADDP4
ASGNP4
ADDRLP4 8
INDIRP4
ADDRLP4 8
INDIRP4
INDIRI4
CNSTI4 256
BORI4
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 428
ADDP4
ADD... |
; A270012: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 7", based on the 5-celled von Neumann neighborhood.
; 1,10,10,59,59,180,180,405,405,766,766,1295,1295,2024,2024,2985,2985,4210,4210,5731,5731,7580,7580,9789,9789,12390,12390,15... |
// Copyright 2020 The Fuchsia 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 "src/graphics/drivers/misc/goldfish/pipe_device.h"
#include <fidl/fuchsia.hardware.goldfish/cpp/wire.h>
#include <fidl/fuchsia.sysmem/cpp/wire.h>... |
; A312933: Coordination sequence Gal.6.131.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,4,9,13,18,22,27,32,36,41,45,50,54,58,63,67,72,76,81,86,90,95,99,104,108,112,117,121,126,130,135,140,144,149,153,158,162,166,171,175,180,18... |
/**
* Copyright 2020 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... |
/*************************************************************************/
/* resource_import.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
; QD Driver sample - just remove control codes 1998 Jochen Merz
section program
include win1_keys_err
include win1_keys_qdos_io
include win1_keys_qdos_sms
bra.s start
dc.w 0,0
dc.w $4afb,9,'QD driver '
start
move.w (sp),d0
subq.w #2,d0 ; right number of params
bne.s die ; no, die
move.l 2(sp),a4 ; ... |
.data
.text
main:
addi $a1, $zero, 50
addi $a2, $zero, 19
jal addNumbers
li $v0, 1
addi $a0, $v1, 0
syscall
#Tell the system that the program is done.
li $v0, 10
syscall
addNumbers:
add $v1, $a1, $a2
jr $ra
... |
INCLUDE "graphics/grafix.inc"
PUBLIC xorpixel
EXTERN pixeladdress
EXTERN coords
;
; $Id: xorpixl.asm,v 1.6 2015/01/19 01:32:47 pauloscustodio Exp $
;
; ******************************************************************
;
; Plot pixel at (x,y) coordinate.
;
; Design & programming by Gunther Strube, Copyright (C)... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="file, buf"/>
<%docstring>
Invokes the syscall stat64. See 'man 2 stat64' for more information.
Arguments:
file(char): file
buf(stat64): buf
</%docstring>
${syscall('SYS_stat64', file, buf)}
|
;
; Read character from console - don't wait
;
;
; int getk()
;
; djm 17/4/2000
; On an nc100 we have to test for "yellow"
;
; $Id: getk.asm,v 1.2 2001/04/13 14:13:59 stefano Exp $
;
XLIB getk
XREF cleanup ;in crt0
.getk
call $B9B3 ;kmreadchar
ld hl,0
ret nc ;no key pressed
ld l,c
ld h,b
ld a,b
and a
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1de39, %rsi
lea addresses_WT_ht+0x19b0f, %rdi
cmp %rbp, %rbp
mov $55, %rcx
rep movsl
nop
nop
nop
dec %r11
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.