text stringlengths 1 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10039, %rsi
nop
nop
nop
nop
add $33126, %rbp
mov $0x6162636465666768, %r13
movq %r13, (%rsi)
nop
dec %rbp
lea addresses_WT_ht+0x3a1, %r9
nop
nop
nop
nop
add $60923, %rcx
m... |
; A063120: Dimension of the space of weight 2n cusp forms for Gamma_0( 52 ).
; 5,18,32,46,60,74,88,102,116,130,144,158,172,186,200,214,228,242,256,270,284,298,312,326,340,354,368,382,396,410,424,438,452,466,480,494,508,522,536,550,564,578,592,606,620,634,648,662,676,690
mov $1,14
mul $1,$0
trn $1,1
add $1,5
mov $0,$1
|
#include "pch.hpp"
#include "Mikey.hpp"
#include "TimerCore.hpp"
#include "AudioChannel.hpp"
#include "Core.hpp"
#include "Cartridge.hpp"
#include "CPU.hpp"
#include "ComLynx.hpp"
#include "VGMWriter.hpp"
Mikey::Mikey( Core & core, ComLynx & comLynx, std::shared_ptr<IVideoSink> videoSink ) : mCore{ core }, m... |
###############################################################################
# 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... |
****************
*
* chained_scbs.asm
*
* (c) 42Bastian Schick
*
* July 2019
*
DEBUG set 1
Baudrate set 62500
_1000HZ_TIMER set 7
IRQ_SWITCHBUF_USR set 1
include <includes\hardware.inc>
****************
MACRO DoSWITCH
dec SWITCHFlag
.\wait_vbl bit SWITCHFlag
bmi .\wait_vbl
ENDM
****************
* macros
inc... |
; A152018: Denominator of 1/n^2-1/(3n)^2 or of 8/(9n^2).
; 9,9,81,18,225,81,441,72,729,225,1089,162,1521,441,2025,288,2601,729,3249,450,3969,1089,4761,648,5625,1521,6561,882,7569,2025,8649,1152,9801,2601,11025,1458,12321,3249,13689,1800,15129,3969,16641,2178,18225
add $0,1
pow $0,2
mov $2,$0
gcd $2,8
div $0,$2
mov $1,... |
name "calc-sum"
org 100h ; directive make tiny com file.
; calculate the sum of elements in vector,
; store result in m and print it in binary code.
; number of elements:
mov cx, 5
; al will store the sum:
mov al, 0
; bx is an index:
mov bx, 0
; sum elements:
next: add al, vector[bx]
; next byte:
inc bx
; loop ... |
#include "Surface_mesh_deformation_test_commons.h"
#include <vector>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Polyhedron_items_with_id_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_inexa... |
; A032611: Concatenation of n and n + 6 or {n,n+6}.
; 17,28,39,410,511,612,713,814,915,1016,1117,1218,1319,1420,1521,1622,1723,1824,1925,2026,2127,2228,2329,2430,2531,2632,2733,2834,2935,3036,3137,3238,3339,3440,3541,3642,3743,3844,3945,4046,4147,4248
mov $13,$0
mov $15,$0
add $15,1
lpb $15
mov $0,$13
sub $15,1
... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="who, usage"/>
<%docstring>
Invokes the syscall getrusage. See 'man 2 getrusage' for more information.
Arguments:
who(rusage_who_t): who
usage(rusage): usage
</%docstring>
${syscall('SYS_getrusage', who, usage)}
|
#note: r40 (the exception handler) and r46 (the start of usermode code) must
#be specified in hex (0xwhatever)
#I just don't see any reason not to, and it makes programming the script
#much nicer to deal with...
#load exception handler
lc r40, 0x80000050
leh r40
#enable exceptions
cle
#load TLB ent... |
; A022137: Fibonacci sequence beginning 5, 12.
; 5,12,17,29,46,75,121,196,317,513,830,1343,2173,3516,5689,9205,14894,24099,38993,63092,102085,165177,267262,432439,699701,1132140,1831841,2963981,4795822,7759803,12555625,20315428,32871053,53186481,86057534,139244015
mov $1,5
mov $2,12
lpb $0,1
sub $0,1
add $3,$2
m... |
/*********************************************************************
*
* Copyright (C) 2001, 2003-2004, Karlsruhe University
*
* File path: amd64-getc.cc
* Description: getc() for amd64-based PCs
*
* Redistribution and use in source and binary forms, with ... |
push ebp
mov ebp,esp
push ecx
call dword ptr ds:[0CDD1BCh]
mov edx,dword ptr [dev]
mov ecx,edx
shl eax,0Ch
sub ecx,eax
xor ecx,edx
and ecx,3F000h
xor ecx,edx
mov dword ptr [dev],ecx ... |
TITLE ../openssl/crypto/bn/asm/x86-mont.asm
IF @Version LT 800
ECHO MASM version 8.00 or later is strongly recommended.
ENDIF
.686
.XMM
IF @Version LT 800
XMMWORD STRUCT 16
DQ 2 dup (?)
XMMWORD ENDS
ENDIF
.MODEL FLAT
OPTION DOTNAME
IF @Version LT 800
.text$ SEGMENT PAGE 'CODE'
ELSE
.text$ SEGMENT ALIGN(64) 'CODE'
ENDI... |
; -------------------------------------------------------------------------
; Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
; All rights reserved.
;
; LICENSE TERMS
;
; The free distribution and use of this software in both source and binary
; form is allowed (with or without changes) prov... |
db 0 ; species ID placeholder
db 75, 55, 60, 45, 85, 65
; hp atk def spd sat sdf
db ELECTRIC, ELECTRIC ; type
db 120 ; catch rate
db 117 ; 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/fla... |
; A332426: Number of unordered pairs of non-selfintersecting paths with nodes that cover all vertices of a convex n-gon.
; Submitted by Christian Krause
; 0,3,30,210,1260,6944,36288,182880,897600,4316928,20427264,95373824,440294400,2013020160,9126248448,41069371392,183607050240,816037560320,3607758766080,15874168848384... |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/web_apps/file_handler_launch_dialog_view.h"
#include <memory>
#include <string>
#include "base/strings/utf_string_conv... |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... |
* Look for wild card entries V1.04 1985 Tony Tebby QJUMP
* 2017-11-19 1.03 Correct handling of n8_ in wc_cntsc (wl)
* 2018-01-10 1.04 Removed reference to cv_lctab to save memory (MK)
*
section exten
*
xdef wc_look1
xdef wc_look2
*
xref stat_do write out statistics
xref ut_chkri check for room on RI... |
; A188530: 2^(2n+1)-5*2^(n-1)-1.
; 2,21,107,471,1967,8031,32447,130431,523007,2094591,8383487,33544191,134197247,536829951,2147401727,8589770751,34359410687,137438298111,549754503167,2199020634111
add $0,3
mov $1,2
pow $1,$0
sub $1,2
bin $1,2
sub $1,15
div $1,4
add $1,2
mov $0,$1
|
INCLUDE "hardware.inc"
INCLUDE "header.inc"
;--------------------------------------------------------------------------
SECTION "Main",HOME
;------------------------------------
ClearSprites:
push hl
ld b,144
call wait_ly
xor a,a
ld b,$A0
ld hl,$FE00
.loop:
ld [hl+],a
dec b
jr nz,.loop
pop hl
r... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*****************************************************************************
* metaparse.c
*
* DESCRIPTION
* This file contains the code necessary to initialize the meta data
* structure, and parse the meta data that comes out of the GRIB2 decoder.
*
* HISTORY
* 9/2002 Arthur Taylor (MDL / RSIS): Create... |
.ORIG x1000
ADD R1, R0, 1 ; 1 is an invalid operand (neither a register nor an immediate)
.END
|
; A071412: A002487 mod 3.
; Submitted by Jamie Morken(s4)
; 0,1,1,2,1,0,2,0,1,1,0,2,2,2,0,1,1,2,1,1,0,2,2,1,2,1,2,2,0,1,1,2,1,0,2,0,1,2,1,1,0,2,2,1,2,0,1,0,2,0,1,0,2,1,2,2,0,1,1,2,1,0,2,0,1,1,0,2,2,2,0,1,1,0,2,0,1,2,1,1,0,2,2,1,2,0,1,0,2,2,0,1,1,1,0,2,2,2,0,1
lpb $0
dif $0,2
lpe
seq $0,2487 ; Stern's diatomic series... |
; ============================================================================
; mixer_fpu_ramp_asm.asm
; ---------------------------------------------------------------------------
; MiniFMOD public source code release.
; This source is provided as-is. Firelight Multimedia will not support
; or answer questions a... |
;
; GSX/GIOS parameter block
;
PUBLIC gios_pb
PUBLIC _gios_pb
PUBLIC gios_ctl
PUBLIC _gios_ctl
PUBLIC gios_intin
PUBLIC _gios_intin
PUBLIC gios_ptsin
PUBLIC _gios_ptsin
PUBLIC gios_intout
PUBLIC _gios_intout
PUBLIC gios_ptsout
PUBLIC _gios_ptsout
SECTION data_clib
; Parameter block
gios_pb:
_gios_pb:
def... |
; A158575: a(n) = 32*n^2 + 1.
; 1,33,129,289,513,801,1153,1569,2049,2593,3201,3873,4609,5409,6273,7201,8193,9249,10369,11553,12801,14113,15489,16929,18433,20001,21633,23329,25089,26913,28801,30753,32769,34849,36993,39201,41473,43809,46209,48673,51201,53793,56449,59169,61953,64801,67713,70689,73729,76833,80001,83233,865... |
# 操作系统启动时所需的指令以及字段
#
# 我们在 linker.ld 中将程序入口设置为了 _start,因此在这里我们将填充这个标签
# 它将会执行一些必要操作,然后跳转至我们用 rust 编写的入口函数
#
# 关于 RISC-V 下的汇编语言,可以参考 https://github.com/riscv/riscv-asm-manual/blob/master/riscv-asm.md
# %hi 表示取 [12,32) 位,%lo 表示取 [0,12) 位
.section .text.entry
.globl _start
# 目前 _start 的功能:将预留的栈空间写入 $sp,然后跳转至 rust... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1cf4d, %rbx
nop
nop
nop
xor $48491, %rdx
vmovups (%rbx), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %rbp
nop
nop
sub $4275, %rax
lea addresses_WT_ht+0x795d, %rsi... |
; ===============================================================
; Jun 2007
; ===============================================================
;
; void *zx_cy2aaddr(uchar row)
;
; Character y coordinate to attribute address.
;
; ===============================================================
SECTION code_clib
SECTION... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1cf9a, %rsi
lea addresses_normal_ht+0x7d1a, %rdi
nop
nop
dec %r10
mov $11, %rcx
rep movsb
nop
nop
add $27694, %r14
lea addresses_WC_ht+0x8972, %rsi
lea addresses_A_ht+0x902a, ... |
; A008767: a(n) = floor(n/7)*ceiling(n/7).
; 0,0,0,0,0,0,0,1,2,2,2,2,2,2,4,6,6,6,6,6,6,9,12,12,12,12,12,12,16,20,20,20,20,20,20,25,30,30,30,30,30,30,36,42,42,42,42,42,42,49,56,56,56,56,56,56,64,72,72,72,72,72,72,81,90,90,90,90,90,90,100,110,110,110,110,110,110,121,132,132,132,132,132,132,144,156,156,156,156,156,156,169... |
extern m7_ippsHMACGetTag_rmf:function
extern n8_ippsHMACGetTag_rmf:function
extern y8_ippsHMACGetTag_rmf:function
extern e9_ippsHMACGetTag_rmf:function
extern l9_ippsHMACGetTag_rmf:function
extern n0_ippsHMACGetTag_rmf:function
extern k0_ippsHMACGetTag_rmf:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeIni... |
; A269609: Number of length-6 0..n arrays with no repeated value differing from the previous repeated value by one or less.
; 12,376,2878,12570,40288,105892,242226,499798,952180,1702128,2888422,4693426,7351368,11157340,16477018,23757102,33536476,46458088,63281550,84896458,112336432,146793876,189635458,242418310,3069069... |
; A169713: The function W_n(10) (see Borwein et al. reference for definition).
; 1,252,4653,31504,127905,384156,948157,2039808,3965409,7132060,12062061,19407312,29963713,44685564,64699965,91321216,126065217,170663868,227079469,297519120,384449121,490609372,619027773,773034624,956277025,1172733276,1426727277,1722942928,... |
; A176100: Even numbers that are not semiprimes, or, twice the nonprimes.
; Submitted by Jamie Morken(m3a)
; 0,2,8,12,16,18,20,24,28,30,32,36,40,42,44,48,50,52,54,56,60,64,66,68,70,72,76,78,80,84,88,90,92,96,98,100,102,104,108,110,112,114,116,120,124,126,128,130,132,136,138,140,144,148,150,152,154,156,160,162,164
mov ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>request_key(type, description, callout_info, keyring) -> str
Invokes the syscall request_key.
See 'man 2 request_key' for more information.
Arguments:
type(char*): type
description(char*): descr... |
db 0 ; species ID placeholder
db 65, 90, 50, 55, 85, 45
; hp atk def spd sat sdf
db GRASS, POISON ; type
db 120 ; catch rate
db 151 ; 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/weepinbel... |
; void __CALLEE__ *memcpy_callee(void *s1, void *s2, uint n)
; copy n chars from s2 to s1
; 11.1999 djm
SECTION code_clib
PUBLIC memcpy_callee
PUBLIC _memcpy_callee
PUBLIC ASMDISP_MEMCPY_CALLEE
.memcpy_callee
._memcpy_callee
pop hl
pop bc
pop de
ex (sp),hl
; enter : bc = uint n
; de = v... |
SECTION code_fp_math16
PUBLIC logf16
EXTERN _m16_logf
defc logf16 = _m16_logf
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _logf16
EXTERN cm16_sdcc_log
defc _logf16 = cm16_sdcc_log
ENDIF
|
<%
from pwnlib.regsort import regsort
from pwnlib.constants import Constant, eval
from pwnlib.shellcraft import registers
from pwnlib.shellcraft.arm import mov
%>
<%page args="reg_context, stack_allowed = True"/>
<%docstring>
Sets multiple registers, taking any register dependencies into account
(i.e., given ea... |
/**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2020 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... |
Route22GateScript:
call EnableAutoTextBoxDrawing
ld hl, Route22GateScriptPointers
ld a, [wRoute22GateCurScript]
call CallFunctionInTable
ld a, [wYCoord]
cp $4
ld a, ROUTE_23
jr c, .asm_1e69a
ld a, ROUTE_22
.asm_1e69a
ld [wLastMap], a
ret
Route22GateScriptPointers:
dw Route22GateScript0
dw Route22GateScrip... |
(lp1
(ccopy_reg
_reconstructor
p2
(cpygments.token
_TokenType
p3
c__builtin__
tuple
p4
(S'Comment'
p5
S'Single'
p6
ttRp7
(dp8
S'subtypes'
p9
c__builtin__
set
p10
((ltRp11
sS'parent'
p12
g2
(g3
g4
(g5
ttRp13
(dp14
g12
g2
(g3
g4
(ttRp15
(dp16
g5
g13
sS'Name'
p17
g2
(g3
g4
(g17
ttRp18
(dp19
S'Function'
p20
g2
(g3
g4
(g17
... |
; DV3 Q68 FAT16 Find Partition V1.00 2017 W. Lenerz
;
section dv3
xdef hfp_fat
include 'dev8_keys_err'
include 'dev8_dv3_keys'
include 'dev8_dv3_hd_keys'
include 'dev8_keys_dos'
include 'dev8_mac_xword'
;+++
; DV3 FAT16 find partition.
;
; ******* !!!!
;
; It is presumed here that the FAT16 partition one i... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: Network extensions
MODULE: socket library
FILE: socketControl.asm
AUTHOR: Eric Weber, Apr 8, 1994
ROUTINES:
Name Description
---- ... |
; A027940: a(n) = T(2*n, n+4), T given by A027935.
; Submitted by Christian Krause
; 1,46,551,3785,18955,77533,276408,895103,2708322,7811510,21791338,59419294,159571139,424302452,1121168305,2951121095,7749900701,20324325571,53259796514,139506540045,365330860180,956582678652,2504546934692,6557230277964,17167369784405,44... |
;=================================================
;=================================================
;
; Math lib tables
;
;-------------------------------------------------
; Load into $A000
;
.define SquaresOverFour_0_512 0, 0, 1, 2, 4, 6, 9, 12, 16, 20, 25, 30, 36, 42, 49, 56, 64, 72, 81, 90, 100, 110, 121, 132, ... |
/*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2017 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2017 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="pid, param"/>
<%docstring>
Invokes the syscall sched_getparam. See 'man 2 sched_getparam' for more information.
Arguments:
pid(pid_t): pid
param(sched_param): param
</%docstring>
${syscall('SYS_sched_getparam', pid, param)}
|
/* Copyright 2018 Ignacio Torroba (ignaciotb@kth.se)
*
* 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 follow... |
_main:
;LCD.c,18 :: void main() {
;LCD.c,19 :: Lcd_Init(); // Initialize LCD
CALL _Lcd_Init+0
;LCD.c,21 :: Lcd_Cmd(_LCD_CLEAR); // Clear display
MOVLW 1
MOVWF FARG_Lcd_Cmd_out_char+0
CALL _Lcd_Cmd+0
;LCD.c,22 :: Lcd_Cmd(_LCD_CURSOR_OFF);... |
//==============================================================================
// 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.
// ... |
/* Copyright 2016 The TensorFlow Authors All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... |
/*
* Software License Agreement (Apache License)
*
* Copyright (c) 2018, Southwest Research Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... |
; A126935: Define an array by d(m, 0) = 1, d(m, 1) = m; d(m, k) = (m - k + 1) d(m+1, k-1) - (k-1) (m+1) d(m+2, k-2). Sequence gives d(n,3).
; 0,-12,-24,-30,-24,0,48,126,240,396,600,858,1176,1560,2016,2550,3168,3876,4680,5586,6600,7728,8976,10350,11856,13500,15288,17226,19320,21576,24000,26598,29376,32340,35496,38850,42... |
#include "GameScene.h"
USING_NS_CC;
Scene* GameScene::createScene()
{
// 'scene' is an autorelease object
auto scene = Scene::create();
// 'layer' is an autorelease object
auto layer = GameScene::create();
// add layer as a child to scene
scene->addChild(layer);
// return the scene
... |
Name: zel_gover.asm
Type: file
Size: 21921
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 209880FAA32D94EAA6AAC1D02267A661A0797A69
Description: null
|
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; XADD8rr
mov al, 0x45
mov bl, 0x56
;TEST_BEGIN_RECORDING
xadd al, bl
;TEST_END_RECORDING
|
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... |
.include "m1-ntsc.asm"
//Changes Mother 1+2 Screen
.org 0x8705F94 :: .incbin "data/m12-705f94.bin"
.org 0x86fd794 :: .incbin "data/m12-6fd794.bin"
.org 0x8709190 :: .incbin "data/m12-709190.bin"
////////////////////
//////Graphics//////
////////////////////
//Town Map Hacks
.org 0x87ad4dc :: .incbin "data/m2-7ad4dc.... |
; A139277: a(n) = n*(8*n+5).
; 0,13,42,87,148,225,318,427,552,693,850,1023,1212,1417,1638,1875,2128,2397,2682,2983,3300,3633,3982,4347,4728,5125,5538,5967,6412,6873,7350,7843,8352,8877,9418,9975,10548,11137,11742,12363,13000
mov $1,8
mul $1,$0
add $1,5
mul $1,$0
mov $0,$1
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Quick Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet/wallet.h"
... |
//---------------------------------------------------------------------------
//
// Copyright (c) 2008-2010 AlazarTech, Inc.
//
// AlazarTech, Inc. licenses this software under specific terms and
// conditions. Use of any of the software or derviatives thereof in any
// product without an AlazarTech digitizer board is... |
; A132774: A natural number operator.
; Submitted by Christian Krause
; 1,2,3,0,4,5,0,0,6,7,0,0,0,8,9,0,0,0,0,10,11,0,0,0,0,0,12,13,0,0,0,0,0,0,14,15
mov $4,2
lpb $4
trn $2,$0
add $0,$4
sub $0,1
lpb $0
sub $0,1
add $3,1
sub $0,$3
add $2,2
lpe
add $2,$0
mov $4,$0
lpe
mov $0,$2
|
/**
* 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 in writing, software
* distributed unde... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xbf0, %rdx
nop
add $65109, %rdi
movb (%rdx), %r8b
nop
nop
nop
nop
and %r11, %r11
lea addresses_WC_ht+0xbbb0, %rsi
lea addresses_D_ht+0x1bdf0, %rdi
clflush (%rsi)
clflush (%rdi)
... |
db DEX_PERSIAN ; pokedex id
db 65 ; base hp
db 70 ; base attack
db 60 ; base defense
db 115 ; base speed
db 65 ; base special
db NORMAL ; species type 1
db NORMAL ; species type 2
db 90 ; catch rate
db 148 ; base exp yield
INCBIN "pic/ymon/persian.pic",0,1 ; 77, sprite dimensions
dw PersianPicFront
dw PersianPicBack
; ... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
TITLE C:\Users\libit\source\repos\L037\L037\L037.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG5561 DB 'Hello World!', 0aH, 00H
ORG $+2
$SG5562 DB 'a[%d]=%d', 0aH, 00H
CONST E... |
; A088378: (Smallest prime-factor of n)^3.
; 1,8,27,8,125,8,343,8,27,8,1331,8,2197,8,27,8,4913,8,6859,8,27,8,12167,8,125,8,27,8,24389,8,29791,8,27,8,125,8,50653,8,27,8,68921,8,79507,8,27,8,103823,8,343,8,27,8,148877,8,125,8,27,8,205379,8,226981,8,27,8,125,8,300763,8,27,8,357911,8,389017,8,27,8,343,8,493039,8,27,8,57178... |
; A034132: Decimal part of cube root of a(n) starts with 6: first term of runs.
; 18,47,98,176,288,439,637,885,1192,1561,2001,2516,3113,3797,4575,5452,6435,7530,8742,10078,11544,13145,14887,16778,18822,21025,23394,25935,28653,31555,34646,37934,41422,45119,49028,53158,57513,62100,66924
mov $5,$0
mul $0,10
mov $3,$0
mov... |
;;
;; Copyright (c) 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 the ... |
/*
Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed i... |
INCLUDE "hardware.inc"
INCLUDE "esp.inc"
xCOORD EQU $C003
yCOORD EQU $C004
SECTION "Interupt VBLANK", ROM0[$40]
jp VBlankHandler
SECTION "Header", ROM0[$100]
EntryPoint:
di
jp Start
REPT $150 - $104
db 0
ENDR
SECTION "Sprite Data", ROM0
Sprites:
.Sprite1
;; Remember that this number fo... |
; A244633: a(n) = 26*n^2.
; 0,26,104,234,416,650,936,1274,1664,2106,2600,3146,3744,4394,5096,5850,6656,7514,8424,9386,10400,11466,12584,13754,14976,16250,17576,18954,20384,21866,23400,24986,26624,28314,30056,31850,33696,35594,37544,39546,41600,43706,45864,48074,50336,52650,55016,57434,59904,62426,65000,67626,70304,7303... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xabd4, %rax
nop
nop
and %r10, %r10
mov $0x6162636465666768, %rcx
movq %rcx, %xmm1
movups %xmm1, (%rax)
nop
nop
nop
nop
inc %rbx
lea addresses_UC_ht+0x1073c, %rsi
lea addresses... |
; Copyright 2000, 2002 Free Software Foundation, Inc.
;
; This file is part of the GNU MP Library.
;
; The GNU MP 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 th... |
;; @file
; Provide FSP API entry points.
;
; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;;
SECTION .text
;
; Following functions will be provided in C
;
extern ASM_PFX(Loader2PeiSwitchStack)
extern ASM_PFX(FspApiCallingCheck)
;
... |
.n64
.relativeinclude on
.create "../roms/patched.z64", 0
.incbin "../roms/base.z64"
.include "macros.asm"
;==================================================================================================
; Constants
;==================================================================================================... |
; A326128: a(n) = n - A007913(n), where A007913 gives the squarefree part of n.
; 0,0,0,3,0,0,0,6,8,0,0,9,0,0,0,15,0,16,0,15,0,0,0,18,24,0,24,21,0,0,0,30,0,0,0,35,0,0,0,30,0,0,0,33,40,0,0,45,48,48,0,39,0,48,0,42,0,0,0,45,0,0,56,63,0,0,0,51,0,0,0,70,0,0,72,57,0,0,0,75,80,0,0,63,0,0,0,66,0,80,0,69,0,0,0,90,0,96,88,99,0,0... |
section .data
source dw 1, 2, 3, 4, 5, 6
len equ ($ - source)/2
item dw 2
section .text
global _start
_start:
push word [item]
mov ax, len
dec ax
push ax
push word 0
... |
; _Noreturn void _exit(int status)
SECTION code_fcntl
PUBLIC __exit
EXTERN __exit_fastcall
__exit:
pop hl
pop hl
jp __exit_fastcall
|
#include <iostream>
#include <algorithm>
#include<memory.h>
using namespace std;
#define MAXE 2000002
#define MAXV 2000002
struct edge{int e, nxt;};
int V, E;
edge e[MAXE], er[MAXE];
int sp[MAXV], spr[MAXV];
int group_cnt, group_num[MAXV];
bool v[MAXV];
int stk[MAXV];
void fill_forward(int x)
{
int i;
v[x]=true;
... |
;*****************************************************************************
;*++
;* Name : $RCSfile: dtriml.asm,v $
;* Title :
;* ASM Author : Rob Isherwood
;* Created : 15/1/97
;*
;* Copyright : 1995-2022 Imagination Technologies (c)
;* License : MIT
;*
;* Description : Pentium op... |
;RLE decompressor by Shiru (NESASM version)
;uses 4 bytes in zero page
;decompress data from an address in X/Y to PPU_DATA
RLE_LOW equ $00
RLE_HIGH equ RLE_LOW+1
RLE_TAG equ RLE_HIGH+1
RLE_BYTE equ RLE_TAG+1
unrle
stx RLE_LOW
sty RLE_HIGH
ldy #0
jsr rle_byte
sta RLE_TAG
.1
jsr rle_byte
cmp... |
;
; Startup stub for z88 Shell programs
;
; Created 12/2/2002 djm
;
; $Id: z88s_crt0.asm,v 1.8 2007/06/27 20:49:28 dom Exp $
INCLUDE "#stdio.def"
INCLUDE "#error.def"
INCLUDE "#shellapi.def"
org shell_loadaddr-shell_headerlen
.header_start
defm "!bin"
defb shell_verh
... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="fd, iovec, count, offset"/>
<%docstring>
Invokes the syscall pwritev. See 'man 2 pwritev' for more information.
Arguments:
fd(int): fd
iovec(iovec): iovec
count(int): count
offset(off_t): offset
</%docstring>
${syscall('SYS_pw... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbp
push %rdx
push %rsi
lea addresses_normal_ht+0xc3ee, %rdx
nop
sub $21923, %rsi
mov $0x6162636465666768, %r10
movq %r10, %xmm3
movups %xmm3, (%rdx)
nop
inc %rdx
lea addresses_WT_ht+0x1b41c, %rbp
nop
nop
nop
nop
add %r11, %r11
m... |
;***************************************************************************
;*
;* Title: ppg_III_pos_edge_ints
;* Author: Seyi Olajuyi & Bassel El Amine
;* Version: 1.0
;* Last updated: 2019/11/21
;* Target: ATmega 324
;*
;* DESCRIPTION
;*
;*
;*
;*
;* VERSION HISTORY
;* 1.0 Original version
;*********... |
STACK SEGMENT STACK
DB 256 DUP (0)
STACK ENDS
DATA SEGMENT
ARY1 DB 10 DUP (3)
SUM1 DW ?
ARY2 DB 8 DUP (5)
SUM2 DW ?
ARY3 DB 6 DUP (8)
SUM3 DW ?
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA,SS:STACK
START: MOV AX,DATA
MOV ... |
// Fill out your copyright notice in the Description page of Project Settings.
#include "TankMovementComponent.h"
#include "TankTrack.h"
#include "BattleTank.h"
void UTankMovementComponent::Initialise(UTankTrack* LeftTrackToSet, UTankTrack* RightTrackToSet)
{
LeftTrack = LeftTrackToSet;
RightTrack = RightTrackToSet... |
; A175827: Partial sums of ceiling(n^2/10).
; 0,1,2,3,5,8,12,17,24,33,43,56,71,88,108,131,157,186,219,256,296,341,390,443,501,564,632,705,784,869,959,1056,1159,1268,1384,1507,1637,1774,1919,2072,2232,2401,2578,2763,2957,3160,3372,3593,3824,4065,4315,4576,4847,5128,5420,5723,6037,6362,6699,7048,7408,7781,8166,8563,8973,... |
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Corallium developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... |
GLOBAL getMem
GLOBAL _time
GLOBAL _temperature
GLOBAL _information
GLOBAL _model
GLOBAL _invalidOpcodeException
GLOBAL _inforeg
GLOBAL _ps
GLOBAL _nice
GLOBAL _block
GLOBAL _unblock
GLOBAL _pipeInfo
GLOBAL _kill
GLOBAL _yield
section .text
;Recibe en rdi el buffer donde guardar lo leido del puntero... |
/// @ref core
/// @file glm/trigonometric.hpp
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a>
///
/// @defgroup core_func_trigonometric Angle and Trigonometry Functions
/// @ingroup core
///
/// Function paramet... |
/* Copyright 2020 Alibaba Group Holding Limited. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Print Spooler
FILE: processGraphics.asm
AUTHOR: Jim DeFrisco, 28 March 1990
ROUTINES:
Name Description
---- -----------
DoGraphicsPrinting ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.