text stringlengths 1 1.05M |
|---|
;
; Z88 Graphics Functions
; Written around the Interlogic Standard Library
;
; Wide resolution (int type parameters) and CALLEE conversion by Stefano Bodrato, 2018
;
;
; $Id: w_xordrawto_callee.asm $
;
; ----- void __CALLEE__ xordrawto_callee(int x, int y)
SECTION code_graphics
PUBLIC xordrawto_c... |
; A157620: 781250n^2 - 1107500n + 392499.
; 66249,1302499,4101249,8462499,14386249,21872499,30921249,41532499,53706249,67442499,82741249,99602499,118026249,138012499,159561249,182672499,207346249,233582499,261381249,290742499,321666249,354152499,388201249,423812499,460986249,499722499,540021249,581882499,625306249,6702... |
; A133586: Expansion of x*(1+2*x)/( (x^2-x-1)*(x^2+x-1) ).
; 1,2,3,6,8,16,21,42,55,110,144,288,377,754,987,1974,2584,5168,6765,13530,17711,35422,46368,92736,121393,242786,317811,635622,832040,1664080,2178309,4356618,5702887,11405774,14930352,29860704,39088169,78176338,102334155,204668310,267914296,535828592,701408733,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1ab2d, %rsi
lea addresses_WC_ht+0x12248, %rdi
nop
nop
nop
nop
mfence
mov $96, %rcx
rep movsl
nop
nop
nop
nop
inc %r13
lea addresses_WT_ht+0xfe35, %r10
nop
nop
nop
nop
sub $2... |
; Top-hole Golf
; Copyright 2020-2021 Matthew Clarke
partsys_c_BEGIN = *
; *****************
; *** CONSTANTS ***
; *****************
partsys_c_SPR_NUM = 4
partsys_c_SPR_DATA_ADDR = $c000+(sprd_c_PARTICLES_SHOT*64)
partsys_v_OFFSCREEN_BUFFER !fill 64
partsys_l_SPR_ROWS_LO
!for i,21 {
!byte <(partsy... |
; A271998: Volatile sequence: a(n) = A018227(n)-6.
; 30,48,80,112,162,212,284,356,454,552,680,808,970,1132,1332,1532,1774,2016,2304,2592,2930,3268,3660,4052,4502,4952,5464,5976,6554,7132,7780,8428,9150,9872,10672,11472,12354,13236,14204,15172,16230,17288,18440,19592,20842,22092,23444,24796,26254,27712,29280,30848,32530... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rbx
push %rdi
lea addresses_normal_ht+0xa79c, %r15
and $55433, %r13
and $0xffffffffffffffc0, %r15
vmovntdqa (%r15), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rbx
nop
nop
nop
nop
cmp $61289, %r11
lea addresses_A_ht+0... |
#include "Graphics.hpp" |
#ifndef _GUARD_SENSORS_H
#define _GUARD_SENSORS_H
#include <string>
#include "caf/all.hpp"
#include "sensor_state.hpp"
//Sensor that periodically produces random values
caf::behavior random_sensor(caf::stateful_actor<sensor_state>*, std::string name);
#endif |
org 100h
;generation cadre
MOV AX, 0B800h
MOV DS, AX
MOV [158], 201
MOV BX, 160
boucle_haut:
MOV [BX], 205
ADD BX, 2
CMP BX, 314
JB boucle_haut
MOV [BX],187
boucle_cote:
ADD BX, 2
MOV [BX], ... |
#include "resource_message_list_reader.h"
#include "pe_resource_viewer.h"
namespace pe_bliss
{
using namespace pe_win;
resource_message_list_reader::resource_message_list_reader(const pe_resource_viewer& res)
:res_(res)
{}
//Helper function of parsing message list table
const resource_message_list resource_message_... |
0 LOADL 0
1 CALL newarr
2 CALL L10
3 HALT (0)
4 L10: LOADL 0
5 LOADL 10
6 CALL newarr
7 LOADL 1
8 LOAD 3[LB]
9 JUMP L12
10 L11: LOAD 6[L... |
Name: mn_hp_smsub1.asm
Type: file
Size: 120205
Last-Modified: '1993-08-25T07:36:28Z'
SHA-1: B62D3B2FD14F16FBEE6F2EFBAB19DFD4FD5770D4
Description: null
|
;
; ROM BIOS for COMPAQ DeskPro 386-16
; Rev J.4, from parts 109592-001 and 109591-001, dated '01/28/88'
; (C)Copyright COMPAQ Computer Corporation 1982,83,84,85,86,87-All rights reserved.
;
; Listing produced by NDISASM, 2015-Apr-04
; Additional post-processing performed by the PCjs TextOut module
; All po... |
; $Id: bootsector2-cpu-basic-1.asm $
;; @file
; Bootsector that checks the basic CPU operation.
;
;
; Copyright (C) 2007-2015 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or mod... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x6b71, %rsi
lea addresses_UC_ht+0x18741, %rdi
nop
nop
nop
nop
xor $14405, %rbp
mov $87, %rcx
rep movsw
nop
nop
nop
nop
sub %rdx, %rdx
lea addresses_normal_ht+0x15271, %rsi
lea addresses... |
; A210840: Sum of the 8th powers of the digits of n.
; 0,1,256,6561,65536,390625,1679616,5764801,16777216,43046721,1,2,257,6562,65537,390626,1679617,5764802,16777217,43046722,256,257,512,6817,65792,390881,1679872,5765057,16777472,43046977,6561,6562,6817,13122,72097,397186
lpb $0
mov $2,$0
div $0,10
mod $2,10
p... |
/* file: neural_networks_prediction_dense_feedforward_batch_fpt_dispatcher.cpp */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the follo... |
; A128650: Number of polygons on n vertices with exactly three faces.
; 0,4,16,60,224,840,3168,12012,45760,175032,671840,2586584,9984576,38630800,149768640,581690700,2262890880,8815845720,34389986400,134312002440,525129633600,2055166429680,8050465600320,31561484455800,123830798143104,486194640145200,1910204719503808,75... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xbc59, %rax
nop
add $52861, %r14
and $0xffffffffffffffc0, %rax
vmovaps (%rax), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, %r8
nop
sub $47412, %r9
lea addr... |
; A035877: Coordination sequence for diamond structure D^+_2. (Edges defined by l_1 norm = 1.)
; 1,2,12,6,24,10,36,14,48,18,60,22,72,26,84,30,96,34,108,38,120,42,132,46,144,50,156,54,168,58,180,62,192,66,204,70,216,74,228,78,240
mov $1,2
mov $2,$0
add $2,$0
lpb $2
mul $1,$2
gcd $2,4
sub $2,1
lpe
sub $1,2
div $1,... |
SFX_Battle_09_Ch5:
duty_cycle 1
pitch_sweep 9, 7
square_note 15, 15, 2, 1280
pitch_sweep 0, 8
sound_ret
|
; --------
; Helpers
; --------
macro cm_header(title)
table ../resources/header.tbl
db #$28, "<title>", #$FF
table ../resources/normal.tbl
endmacro
macro cm_numfield(title, addr, start, end, increment, jsrtarget)
dw !ACTION_NUMFIELD
dl <addr>
db <start>, <end>, <increment>
dw <jsrtarget>
... |
OPTION DOTNAME
.text$ SEGMENT ALIGN(64) 'CODE'
PUBLIC whirlpool_block
ALIGN 16
whirlpool_block PROC PUBLIC
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_whirlpool_block::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
push rbx
push rbp
push r12
push r13
push r14
push r1... |
#include <material/glass_material.h>
using namespace DR;
Vector3f GlassMaterial::evalBxDF(const vec3 &r_in, const Intersection &isect,
const vec3 &r_out) const {
if (!almost_equal(dot(-r_in, isect.normal), dot(r_out, isect.normal), 10)) {
return {};
}
return this->texture_->... |
#ifndef OPENPOSE_NET_NET_CAFFE_HPP
#define OPENPOSE_NET_NET_CAFFE_HPP
#include <openpose/core/common.hpp>
#include <openpose/net/net.hpp>
namespace op
{
class OP_API NetCaffe : public Net
{
public:
NetCaffe(const std::string& caffeProto, const std::string& caffeTrainedModel, const int gpuId = 0,
... |
/*
This file is part of the ArduinoBLE library.
Copyright (c) 2018 Arduino SA. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the Licens... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x4a16, %rsi
lea addresses_UC_ht+0x149e2, %rdi
sub %rax, %rax
mov $107, %rcx
rep movsl
nop
nop
nop
nop
xor %r12, %r12
lea addresses_WT_ht+0x1a416, %rsi
lea addresses_A_ht+0x1a216, %rdi
n... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uiGrid.asm
AUTHOR: Chris Boyke
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description
----- ---- ----------... |
db "JET@" ; species name
dw 200, 260 ; height, weight
db "To escape from an"
next "attacker, it may"
next "shoot water out of"
page "its mouth, then"
next "use that force to"
next "swim backward.@"
|
; A248750: Decimal expansion of limit of the imaginary part of f(1+i,n), where f(x,0) = 1 and f(x,n) = x + 1/f(x,n-1).
; Submitted by Jon Maiga
; 7,4,2,9,3,4,1,3,5,8,7,8,3,2,2,8,3,9,0,9,1,4,3,1,9,3,7,9,4,7,2,6,6,2,8,1,0,9,6,2,4,2,9,9,2,0,0,1,1,8,6,5,0,5,4,7,5,8,6,9,2,0,6,2,1,9,0,5,7,7,6,3,9,5,6,8,7,8,5,4,9,0,5,9,2,3
a... |
_TM39PreReceiveText::
text "My #MON's"
line "ashes are stored"
cont "in #MON TOWER."
para "You can have this"
line "TM. I don't need"
cont "it any more..."
prompt
_ReceivedTM39Text::
text "<PLAYER> received"
line "TM39!@@"
_TM39ExplanationText::
text "TM39 is a move"
line "called SWIFT."
para "It's very... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="fds, nfds, timeout"/>
<%docstring>
Invokes the syscall poll. See 'man 2 poll' for more information.
Arguments:
fds(pollfd): fds
nfds(nfds_t): nfds
timeout(int): timeout
</%docstring>
${syscall('SYS_poll', fds, nfds, timeout)}
|
; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; *** TEST ***
;
;--------------------------------------------------------------... |
/*
* Copyright (c) 2015 Samsung 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
; Align segments in group
IDEAL
SEGMENT MAIN
ASSUME CS:ALL,DS:ALL
ORG 100h
start:
mov si, OFFSET _a
mov di, OFFSET _b
mov bx, OFFSET _c
mov ax, [WORD PTR _b]
int 20h
ENDS MAIN
SEGMENT SEG1 PAGE
_a DD 12345678h
ENDS SEG1
SEGMENT SEG2
_b DD 0DEADFACEh
ENDS SEG2
SEGMENT SEG3 PAGE
_c DD 0DEADBEEFh
ENDS... |
; A114697: Expansion of (1+x+x^2)/((x-1)*(x+1)*(x^2+2*x-1)); a Pellian-related sequence.
; 1,3,9,22,55,133,323,780,1885,4551,10989,26530,64051,154633,373319,901272,2175865,5253003,12681873,30616750,73915375,178447501,430810379,1040068260,2510946901,6061962063,14634871029,35331704122,85298279275,205928262673,49715480462... |
; A333599: a(n) = Fibonacci(n) * Fibonacci(n+1) mod Fibonacci(n+2).
; 0,1,2,1,7,1,20,1,54,1,143,1,376,1,986,1,2583,1,6764,1,17710,1,46367,1,121392,1,317810,1,832039,1,2178308,1,5702886,1,14930351,1,39088168,1,102334154,1,267914295,1,701408732,1,1836311902,1,4807526975,1,12586269024,1,32951280098,1,86267571271,1,2258514... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *balloc_firstfit(unsigned int queue, unsigned char num)
;
; Allocate a block from the first queue in [queue, queue+num-1]
; that has a block available.
;
; ==========... |
0x0000 (0x000000) 0x20C1- f:00020 d: 193 | A = OR[193]
0x0001 (0x000002) 0x849B- f:00102 d: 155 | P = P + 155 (0x009C), A = 0
0x0002 (0x000004) 0x20C1- f:00020 d: 193 | A = OR[193]
0x0003 (0x000006) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
... |
; A208528: Number of permutations of n>1 having exactly 3 points P on the boundary of their bounding square.
; 0,4,16,72,384,2400,17280,141120,1290240,13063680,145152000,1756339200,22992076800,323805081600,4881984307200,78460462080000,1339058552832000,24186745110528000,460970906812416000,9245027631071232000,19463216065... |
; --------
; Helpers
; --------
macro cm_header(title)
table ../resources/header.tbl
db #$28, "<title>", #$FF
table ../resources/normal.tbl
endmacro
macro cm_footer(title)
table ../resources/header.tbl
dw #$F007 : db #$28, "<title>", #$FF
table ../resources/normal.tbl
endmacro
macro cm_versio... |
dnl Intel Pentium mpn_modexact_1_odd -- exact division style remainder.
dnl Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
dnl
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
dnl modify it under the terms of the GNU Lesser General... |
;****************************************************************************
;* The Sundevil Virus *
;* (C)1993 by Crypt Keeper *
;****************************************************************************
;Parasi... |
/** @file
@brief Test Implementation
@date 2014
@author
Ryan Pavlik
<ryan@sensics.com>
<http://sensics.com>
*/
// Copyright 2014 Sensics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ... |
; w_vector_t *w_vector_init_callee(void *p, size_t capacity, size_t max_size)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC _w_vector_init_callee
EXTERN asm_w_vector_init
_w_vector_init_callee:
pop hl
pop de
pop bc
ex (sp),hl
jp asm_w_vector_init
|
//=================================================================================================
/*!
// \file src/mathtest/smatdvecmult/MCaVDa.cpp
// \brief Source file for the MCaVDa sparse matrix/dense vector multiplication math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// Thi... |
/* ************************************************************************
* Copyright 2016 Advanced Micro Devices, Inc.
*
* ************************************************************************/
#include <typeinfo>
#include "rocblas.h"
#include "rocblas.hpp"
/*!\file
* \brief provide template functions inter... |
.data
name: .asciiz "Jonnathan\n"
prompt: .asciiz "Enter a number " #000b
space: .asciiz " " #001b
endLine: .asciiz "\n"
.text
.globl main
main:
lui $a0, 0x1001
addi $v0, $0, 4
syscall
jal readInts
jal print
addi $v0, $0, 10
syscall
readInts:
and $s0, $s0, $0
addi $t0, $a0, 0x0020
addi $t1, $t0, 40 #arr... |
; Simple String Functions in Assembly
;
; Copyright (C) 2012, William H. Welna 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 co... |
_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 ... |
; A065864: Remainder when n is divided by the number of nonprimes not exceeding n.
; Submitted by Jon Maiga
; 0,0,0,0,1,0,1,0,4,4,5,5,6,6,6,6,7,7,8,8,8,8,9,9,9,9,9,9,10,10,11,11,11,11,11,11,12,12,12,12,13,13,14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,16,17,17,18,18,18,18,18,18,19,19,19,19,20,20,21,21,21,21,21,21,22,2... |
db 0 ; species ID placeholder
db 90, 120, 120, 50, 60, 60
; hp atk def spd sat sdf
db GROUND, GROUND ; type
db 60 ; catch rate
db 189 ; 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/donphan/f... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x5718, %r14
and %rdi, %rdi
mov $0x6162636465666768, %r15
movq %r15, %xmm4
vmovups %ymm4, (%r14)
nop
nop
nop
inc %r8
lea addresses_UC_ht+0x8e18, %rax
nop
nop
nop
nop
nop
sub %r... |
*= $0801
.byte $4c,$16,$08,$00,$97,$32
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$30,$00,$00,$00,$a9
.byte $01,$85,$02
jsr print
.byte 13
.text "(up)inyn"
.byte 0
lda #%00011011
sta db
lda #%11000110
st... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global sha512_block_data_order
ALIGN 16
sha512_block_data_order:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_sha512_block_data_order:
mov rdi,rc... |
//
// 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... |
#include "trick/MonteVarFixed.hh"
|
copyright zengfr site:http://github.com/zengfr/romhack
00172E move.b #$1, ($1,A6)
001734 rts [123p+ 1, enemy+ 1, etc+ 1, item+ 1]
001736 clr.b ($1,A6)
00173A rts [123p+ 1, enemy+ 1, item+ 1]
0049C0 tst.b ($1,A6)
0049C4 bne $49d4 [enemy+ 1, etc+ 1, item+ 1]
04211E move.b #$1, ($1,A6) [enemy+ 2]
04... |
//
// Created by Khyber on 6/17/2019.
//
#include "src/share/io/env/Exec.h"
namespace env {
Exec::Exec(int fd) : fd(fd) {
if (fd < 0) {
fse::_throw(fse::error("Exec(fd = " + std::to_string(fd) + ")"));
}
}
void Exec::_print(std::ostream& out) const {
out << (!... |
/*++
Copyright (c) Microsoft Corporation
Module Name:
FxDeviceUM.hpp
Abstract:
This is the definition of the FxDevice object UM specific
Author:
Environment:
User mode only
Revision History:
--*/
#ifndef _FXDEVICEUM_H_
#define _FXDEVICEUM_H_
#define WDF_PATH_SEPARATOR L"\\"
#defin... |
// This module implements the QsciLexerCSS class.
//
// Copyright (c) 2020 Riverbank Computing Limited <info@riverbankcomputing.com>
//
// This file is part of QScintilla.
//
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation and appe... |
include "include/hardware.inc"
include "include/hUGE.inc"
add_a_to_r16: MACRO
add \2
ld \2, a
adc \1
sub \2
ld \1, a
ENDM
add_a_to_hl: MACRO
add_a_to_r16 h, l
ENDM
add_a_to_de: MACRO
add_a_to_r16 d, e
ENDM
ret_dont_call_playnote: MACRO
pop hl
pop af
and a ; Clear carry to avo... |
SFX_Push_Boulder_3_Ch7:
unknownnoise0x20 4, 162, 35
unknownnoise0x20 8, 241, 52
unknownnoise0x20 15, 0, 0
unknownnoise0x20 2, 247, 36
unknownnoise0x20 2, 247, 52
unknownnoise0x20 4, 247, 68
unknownnoise0x20 8, 244, 85
unknownnoise0x20 8, 241, 68
endchannel
|
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "clientversion.h"
#include "coins.h"
#include "cor... |
; A163978: a(n) = 2*a(n-2) for n > 2; a(1) = 3, a(2) = 4.
; 3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576,32768,49152,65536,98304,131072,196608,262144,393216,524288,786432,1048576,1572864,2097152,3145728,4194304,6291456,8388608,12582912,16777216,25165824,33554... |
.MODEL SMALL
.STACK 100H
.DATA
max2_return_val DW ?
a2 DW ?
b2 DW ?
t0 DW ?
max3_return_val DW ?
a5 DW ?
b5 DW ?
c5 DW ?
maxab5 DW ?
t1 DW ?
t3 DW ?
max4_return_val DW ?
a6 DW ?
b6 DW ?
c6 DW ?
d6 DW ?
maxabc6 DW ?
t4 DW ?
t6 DW ?
main_return_val DW ?
a7 DW ?
b7 DW ?
c7 DW ?
d7 DW ?
max7 DW ?
t7 DW ?
t9 DW ?
t13 ... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
/*
// Copyright (c) 2016 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... |
; A124351: Order of the automorphism group of the n-prism graph.
; 12,48,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284... |
;-----------------------------------------------------
;Display CPU information
;I: none
;O: none
;-----------------------------------------------------
_get_cpuid:
xor EAX,EAX
cpuid
mov DWORD [VendorSign], EBX
mov DWORD [VendorSign+4], EDX
mov DWORD [VendorSign+8], ECX
... |
; A214877: n ^ (last digit of n).
; 1,1,4,27,256,3125,46656,823543,16777216,387420489,1,11,144,2197,38416,759375,16777216,410338673,11019960576,322687697779,1,21,484,12167,331776,9765625,308915776,10460353203,377801998336,14507145975869,1,31,1024,35937,1336336,52521875,2176782336,94931877133,4347792138496,2087283611587... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1bb03, %r13
nop
nop
nop
nop
cmp $191, %r15
movl $0x61626364, (%r13)
nop
nop
inc %rdx
lea addresses_WT_ht+0xd113, %r9
nop
nop
nop
nop
nop
xor $42563, %r13
mo... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/pinpoint/model/InAppTemplateRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _acos
EXTERN cm48_sdccix_acos
defc _acos = cm48_sdccix_acos
|
; retrieve the data in 'dx'
; For the examples we'll assume that we're called with dx=0x1234
print_hex:
pusha
mov cx, 0 ; our index variable
hex_loop:
cmp cx, 4 ; loop 4 times
je end
mov ax, dx
and ax, 0x000f
add al, 0x30
cmp al, 0x39
jle step2
add al, 7
step2:
mov bx,... |
drawText
stx textPointer+1
sty textPointer+2
stx preTextPointer+1
sty preTextPointer+2
lda #$FF
sta textCursor
sta outputCursor
ldx #0 ;x is for pre-drawing calculation if each word will fit in currently drawn line
stx ignoreNextCharacterFlag
;Check if the next word fits in current line
preDrawTextInit
s... |
//
// FILE NAME: CQCIntfEng_WebBrowser.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/11/2005
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://ope... |
//*****************************************************************************
// Copyright 2017-2019 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://w... |
; A279890: Expansion of x*(1 - x + 2*x^3 - x^4)/((1 - x)*(1 + x)*(1 - x + x^2)*(1 - x - x^2)).
; 0,1,1,2,4,7,12,19,31,50,82,133,216,349,565,914,1480,2395,3876,6271,10147,16418,26566,42985,69552,112537,182089,294626,476716,771343,1248060,2019403,3267463,5286866,8554330,13841197,22395528,36236725,58632253,94868978,153501... |
/******************************************************************************
*
* Project: PROJ
* Purpose: ISO19111:2019 implementation
* Author: Even Rouault <even dot rouault at spatialys dot com>
*
******************************************************************************
* Copyright (c) 2018, Even ... |
#include <iostream>
#include <vector>
using namespace std;
//Largest Sum Contiguous Kadane
int kadane( int arr[], int n){
int total_max=arr[0],current_max=arr[0]; //total_max and current_max starts as the first index
int start=0,fin_s=0,fin_end=0; //All indexes start at 1
for(int i=1;i<n;i++){ //Starts at 1 ... |
BITS 32
SAFERET_OFFSET equ 0x9277386 ; where to continue execution
; we need to fix the function frame to continue normal operation
; eax = 0x0
; esi = 0x0
; edi = 0x0b
; ebx = 0x10
; ebp = [esp - 0x4 (ret)] + 0x??
FIX_EBP equ 0x48 ; this is 0x58 in versions before 8.4(1)
FIX_EDI ... |
; A208378: Number of n X 7 0..1 arrays avoiding 0 0 0 and 1 1 1 horizontally and 0 0 1 and 1 0 1 vertically.
; 42,1764,6216,13860,25200,40740,60984,86436,117600,154980,199080,250404,309456,376740,452760,538020,633024,738276,854280,981540,1120560,1271844,1435896,1613220,1804320,2009700,2229864,2465316,2716560,2984100,32... |
#pragma once
#include <cstdint>
#include <memory>
#include <lug/Graphics/Export.hpp>
#include <lug/Graphics/Render/Camera/Camera.hpp>
#include <lug/Graphics/Render/DirtyObject.hpp>
namespace lug {
namespace Graphics {
namespace Render {
namespace Camera {
class Camera;
} // Camera
class Target;
class LUG_GRAPHICS_... |
<%
from pwnlib.shellcraft.arm.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)}
|
Route16Gate_h:
db GATE ; tileset
db ROUTE_16_GATE_1F_HEIGHT, ROUTE_16_GATE_1F_WIDTH ; dimensions (y, x)
dw Route16GateBlocks, Route16GateTextPointers, Route16GateScript ; blocks, texts, scripts
db $00 ; connections
dw Route16GateObject ; objects
|
div $a0, $a1, 2
div $a0, $a1, 4
div $a0, $a1, 8
div $a0, $a1, 16
div $a0, $a1, 32
div $a0, $a1, 64
div $a0, $a1, 128
div $a0, $a1, 256
div $a0, $a1, 512
div $a0, $a1, 1024
div $a0, $a1, 2048
div $a0, $a1, 4096 |
; A315756: Coordination sequence Gal.6.637.6 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.
; Submitted by Simon Strandgaard
; 1,6,12,18,24,28,34,38,44,50,56,62,68,74,80,86,90,96,100,106,112,118,124,130,136,142,148,152,158,162,168,174... |
; A064400: Number of ordered pairs a,b of elements in the dihedral group D_2n such that the subgroup generated by the pair a,b is the entire group D_2n.
; 3,6,18,24,60,36,126,96,162,120,330,144,468,252,360,384,816,324,1026,480,756,660,1518,576,1500,936,1458,1008,2436,720,2790,1536,1980,1632,2520,1296,3996,2052,2808,192... |
; A348675: a(n) = Sum_{k=0..n-1} Omega(n^2-k^2).
; Submitted by Christian Krause
; 0,3,6,10,14,18,21,27,31,35,39,44,48,54,58,64,68,74,77,83,87,91,96,102,107,112,117,123,127,132,135,144,149,153,158,164,167,173,178,184,190,195,199,205,210,215,219,227,231,238,242,247,252,258,262,269,273,278
mul $0,2
add $0,1
seq $0,12356... |
/****************************************************************************
*
* Copyright (c) 2020 PX4 Development Team. 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. Redistri... |
; A115598: Consider all Pythagorean triples (X,X+1,Z) ordered by increasing Z; sequence gives Z-(X+1) values.
; Submitted by Jamie Morken(s3)
; 1,8,49,288,1681,9800,57121,332928,1940449,11309768,65918161,384199200,2239277041,13051463048,76069501249,443365544448,2584123765441,15061377048200,87784138523761,51164345409436... |
;
; jdmrgext.asm - merged upsampling/color conversion (64-bit SSE2)
;
; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, 2012, 2016, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribu... |
; A086482: Beginning with 1, the smallest number not included earlier such that the n-th partial product is an n-th power; or the geometric mean of the first n terms is an integer.
; 1,4,2,32,128,8,1024,16,8192,32768,64,262144,1048576,256,8388608,512,67108864,268435456,2048,2147483648,4096,17179869184,68719476736,16384... |
[bits 32]
%include "boot.inc"
global asm_hello_world
global asm_lidt
global asm_unhandled_interrupt
global asm_halt
global asm_out_port
global asm_in_port
global asm_time_interrupt_handler
global asm_enable_interrupt
global asm_enable_interrupt
global asm_disable_interrupt
global asm_interrupt_status
global asm_switch_... |
ori $ra,$ra,0xf
mthi $4
mflo $4
div $0,$ra
mfhi $4
lui $4,11058
mflo $1
mflo $5
mtlo $3
ori $4,$5,20720
sb $5,9($0)
mult $4,$5
mult $5,$4
lb $6,14($0)
mflo $4
srav $5,$2,$5
lb $4,1($0)
lb $3,10($0)
ori $4,$0,48844
addiu $5,$2,7172
mtlo $5
ori $5,$5,55314
sll $4,$0,24
srav $4,$2,$2
div $6,$ra
mult $3,$4
mthi $1
multu $4... |
; A345037: a(n) = Sum_{k=1..n} (-k)^(floor(n/k) - 1).
; Submitted by Christian Krause
; 1,0,3,-1,2,3,6,-12,3,20,23,-49,-46,41,182,-100,-97,-6,-3,-613,418,1941,1944,-5518,-4765,1364,10205,2629,2632,-1181,-1178,-71404,7463,105748,127245,-233385,-233382,159813,868586,-335790,-335787,-853276,-853273,-2689757,4163818,104552... |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi
... |
user/_zombie: 文件格式 elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(void)
{
0: 1141 addi sp,sp,-16
2: e406 sd ra,8(sp)
4: e022 sd s0,0(sp)
6: 0800 addi s0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.