text stringlengths 1 1.05M |
|---|
; A188168: a(0) = a(1) = 1; a(n) = 5*a(n-1) + 5*a(n-2).
; 1,1,10,55,325,1900,11125,65125,381250,2231875,13065625,76487500,447765625,2621265625,15345156250,89832109375,525886328125,3078592187500,18022392578125,105504923828125,617636582031250,3615707529296875,21166720556640625
mul $0,2
mov $1,2
mov $2,2
lpb $0
sub $0,... |
; A008530: Coordination sequence for 4-dimensional primitive di-isohexagonal orthogonal lattice.
; 1,12,60,180,408,780,1332,2100,3120,4428,6060,8052,10440,13260,16548,20340,24672,29580,35100,41268,48120,55692,64020,73140,83088,93900,105612,118260,131880,146508,162180,178932,196800,215820,236028,257460,280152,304140,329... |
;===============================================================================
; Copyright 2014-2020 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... |
dnl HPPA 32-bit time stamp counter access routine.
dnl Copyright 2000, 2002, 2005 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 Public License as
dn... |
; A001946: a(n) = 11*a(n-1) + a(n-2).
; Submitted by Christian Krause
; 2,11,123,1364,15127,167761,1860498,20633239,228826127,2537720636,28143753123,312119004989,3461452808002,38388099893011,425730551631123,4721424167835364,52361396397820127,580696784543856761,6440026026380244498,71420983074726546239,792070839848372253... |
10018000 <.reloc>:
10018000: 00 10 add BYTE PTR [eax],dl
10018002: 00 00 add BYTE PTR [eax],al
10018004: 28 01 sub BYTE PTR [ecx],al
10018006: 00 00 add BYTE PTR [eax],al
10018008: 10 30 adc BYTE PTR [eax],dh
1001800a: 25 30 ... |
Name: control_data.asm
Type: file
Size: 12255
Last-Modified: '2000-11-08T02:03:12Z'
SHA-1: AA47917CEAD556F26BE678890420D6D28491C1CB
Description: null
|
#ifndef MIGRAPHX_GUARD_RTGLIB_COMMON_SUBEXPRESSION_ELIMINATION_HPP
#define MIGRAPHX_GUARD_RTGLIB_COMMON_SUBEXPRESSION_ELIMINATION_HPP
#include <string>
#include <migraphx/instruction_ref.hpp>
#include <migraphx/config.hpp>
namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
struct module;
/**
* Remove ident... |
// Tencent is pleased to support the open source community by making Mars available.
// Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
// Licensed under the MIT License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the Licens... |
// Boost.Geometry (aka GGL, Generic Geometry Library)
//
// Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#inc... |
; void *heap_alloc_aligned(void *heap, size_t alignment, size_t size)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC heap_alloc_aligned
EXTERN asm_heap_alloc_aligned
heap_alloc_aligned:
... |
#include "SparCraftManager.h"
using namespace UAlbertaBot;
SparCraftManager::SparCraftManager()
: gameOver(false)
{
SparCraft::init();
}
void SparCraftManager::onStart()
{
SparCraft::GameState state(extractGameState());
}
void SparCraftManager::update()
{
if (!gameOver)
... |
; A051127: Table T(n,k) = k mod n read by antidiagonals (n >= 1, k >= 1).
; Submitted by Jamie Morken
; 0,0,1,0,0,1,0,1,2,1,0,0,0,2,1,0,1,1,3,2,1,0,0,2,0,3,2,1,0,1,0,1,4,3,2,1,0,0,1,2,0,4,3,2,1,0,1,2,3,1,5,4,3,2,1,0,0,0,0,2,0,5,4,3,2,1,0,1,1,1,3,1,6,5,4,3,2,1,0,0,2,2,4,2,0,6,5,4,3,2,1,0,1,0,3,0,3,1,7,6
mov $1,1
lpb $0... |
; A108579: Number of symmetry classes of 3 X 3 magic squares (with distinct positive entries) having magic sum 3n.
; 0,0,0,0,1,3,4,7,10,13,17,22,26,32,38,44,51,59,66,75,84,93,103,114,124,136,148,160,173,187,200,215,230,245,261,278,294,312,330,348,367,387,406,427,448,469,491,514,536,560,584,608,633,659,684,711,738,765,7... |
.code
NtUserDefSetText PROC
mov r10, rcx
mov eax, 1081h
syscall
ret
NtUserDefSetText ENDP
END |
; procedures inside another procedure.
org 100h
mov ax, abc
mov abc_off, ax
mov abc_seg, cs
call far abc_off
call abc1
call abc2
ret
abc_off dw ?
abc_seg dw ?
abc proc far
mov ax, -1
jmp r
abc1 proc near
mov ax, 1
... |
MOV [0] 10
MOV [1] 3
OR [0] [1]
DPRINT [0]
HALT
|
; int fputs(const char *s, FILE *stream)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC fputs
EXTERN asm_fputs
fputs:
pop af
pop ix
pop hl
push hl
push hl
push af
jp a... |
### Justin Baum
### 00426510
### Project 1
### September 29 2018
### Dr. Song Wang
.data
baseadd: .word 34, 5, 11, -12, 60, -2, 14, 71, 13, -27
string1: .asciiz "Index i [0~9]:\n"
string2: .asciiz "Index j [0~9]:\n"
string3: .asciiz "\n A[i]="
string4: .asciiz "\n A[j]="
string5: .asciiz "\n A[i]+A[j]="
s... |
;;----------------------------------------------------------------------------;;
;; Align the position of the numbers in the info menu of multi exchange.
;; Copyright 2015 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compl... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1d652, %rdi
nop
nop
sub %r11, %r11
movw $0x6162, (%rdi)
nop
nop
nop
inc %r13
lea addresses_UC_ht+0xadd2, %rsi
lea addresses_normal_ht+0xd6d2, %rdi
nop
nop
nop
nop
dec %r9... |
; A047390: Numbers that are congruent to {0, 3, 5} mod 7.
; 0,3,5,7,10,12,14,17,19,21,24,26,28,31,33,35,38,40,42,45,47,49,52,54,56,59,61,63,66,68,70,73,75,77,80,82,84,87,89,91,94,96,98,101,103,105,108,110,112,115,117,119,122,124,126,129,131,133,136,138,140,143,145,147,150,152,154,157,159,161,164,166,168,171,173,175,178... |
; A190337: a(n) = n + [n*r/t] + [n*s/t]; r=2, s=sqrt(2), t=1/s.
; 5,11,17,23,29,34,40,46,52,58,64,69,75,81,87,93,99,104,110,116,122,128,134,139,145,151,157,163,169,174,180,186,192,198,203,209,215,221,227,233,238,244,250,256,262,268,273,279,285,291,297,303,308,314,320,326,332,338,343,349,355,361,367,373,378,384,390,396... |
dnl AMD K6 mpn_sqr_basecase -- square an mpn number.
dnl Copyright 1999, 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 Public Licen... |
page 60,120
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
; @@04 07/30/86 Fix second APPEND hang PTM P0000053
; @@05 08/13/86 Fix bad parm message PTM P0000125
; @@10 08/28/86 Cha... |
-- 7 Billion Humans (2053) --
-- 26: Budget Brigade 2 --
-- Author: ansvonwa
-- Size: 10
-- Speed: 190
-- Speed Tests: 193, 186, 191, 191, 187
a:
if n == worker:
giveto n
takefrom s
endif
if s == shredder and
myitem == datacube:
giveto s
endif
if myitem >= 50:
giveto e
else:
giveto w
endif
jump a
|
;
; Z88 Graphics Functions
;
; Written around the Interlogic Standard Library
;
; $Id: getmaxy.asm,v 1.5 2017/01/02 21:51:24 aralbrec Exp $
;
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC getmaxy
PUBLIC _getmaxy
.getmaxy
._getmaxy
... |
#include<iostream>
#include<cstdio>
#include<cstring>
#include<iomanip>
#include<cmath>
using namespace std;
long long n,a[101005]={0},temp[101005]={0},js=0;
void f(long long l,long long r)
{
if(l==r)return;
long long mid=(l+r)/2;
f(l,mid);
f(mid+1,r);
long long i=l,j=mid+1,p=l;
while(i<=mid&&j<=r)
{
if(a[i... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x18ae6, %r9
nop
nop
nop
nop
cmp $51200, %r13
movups (%r9), %xmm6
vpextrq $1, %xmm6, %r10
nop
nop
add $22584, %r12
lea addresses_WC_ht+0xc4e6, %rbp
nop
nop
... |
// Generated code. Do not edit
// Create the model
Model createTestModel() {
const std::vector<Operand> operands = {
{
.type = OperandType::TENSOR_QUANT8_ASYMM,
.dimensions = {5, 50, 70, 3},
.numberOfConsumers = 1,
.scale = 0.5f,
.zeroPoint = 0,
... |
; A049598: 12 times triangular numbers.
; 0,12,36,72,120,180,252,336,432,540,660,792,936,1092,1260,1440,1632,1836,2052,2280,2520,2772,3036,3312,3600,3900,4212,4536,4872,5220,5580,5952,6336,6732,7140,7560,7992,8436,8892,9360,9840,10332,10836,11352,11880,12420,12972,13536,14112,14700,15300,15912,16536,17172,17820,18480,1... |
; A218073: Number of profiles in domino tiling of a 2*n checkboard.
; 0,1,2,9,12,50,60,245,280,1134,1260,5082,5544,22308,24024,96525,102960,413270,437580,1755182,1847560,7407036,7759752,31097794,32449872,130007500,135207800,541574100,561632400,2249204040,2326762800,9316746045,9617286240,38504502630,39671305740,15881486... |
;
; Curor locationrt for openlist
;
; 09-Dec-1986 bw Added DOS 5 support
; 30-Oct-1987 bw Changed 'DOS5' to 'OS2'
.xlist
include ..\h\cmacros.inc
ifdef OS2
include ..\h\subcalls.inc
if1
%out ! OS2 module
endif
endif
.list
sBegin code
assumes cs,code
; cursor (x, y) sets the current cursor
;
cProc cursor,<PU... |
// Copyright 2017 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 "chromeos/components/tether/ble_scanner_impl.h"
#include <memory>
#include "base/bind.h"
#include "base/memory/ptr_util.h"
#include "base/strin... |
; A267314: Expansion of 2*x*(1 + 2*x - x^2)/((1 - x)*(1 + x^2)^2).
; 0,2,6,0,-8,2,14,0,-16,2,22,0,-24,2,30,0,-32,2,38,0,-40,2,46,0,-48,2,54,0,-56,2,62,0,-64,2,70,0,-72,2,78,0,-80,2,86,0,-88,2,94,0,-96,2,102,0,-104,2,110,0,-112,2,118,0,-120,2,126,0,-128,2,134,0,-136,2,142,0
lpb $0
mov $2,$0
sub $2,1
cal $2,77140 ... |
; void *wv_stack_top(wv_stack_t *s)
SECTION code_clib
SECTION code_adt_wv_stack
PUBLIC wv_stack_top
EXTERN asm_wv_stack_top
defc wv_stack_top = asm_wv_stack_top
|
; ===============================================================
; Mar 2014
; ===============================================================
;
; size_t b_vector_append_n(b_vector_t *v, size_t n, int c)
;
; Append n copies of char c to the end of the vector, return
; index of new block.
;
; =========================... |
/*
Copyright 2022, Ansel Blumers
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 ... |
\ ------------------------------------------------------------------------------
\ --- CMD: HELP : PRINT HELP TEXT
\ ------------------------------------------------------------------------------
\ Print a list of available commands to STDOUT.
.cmdprcHELP
ldx #0 ; Offset for help table
ldy #0 ... |
; A017053: a(n) = 7*n + 6.
; 6,13,20,27,34,41,48,55,62,69,76,83,90,97,104,111,118,125,132,139,146,153,160,167,174,181,188,195,202,209,216,223,230,237,244,251,258,265,272,279,286,293,300,307,314,321,328,335,342,349,356,363,370,377,384,391,398,405,412,419,426,433,440,447,454,461,468,475,482,489,496,503,510,517,524,531,53... |
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_terminal_input
PUBLIC cpm_01_input_kbd_dcio_iterm_msg_interrupt
EXTERN asm_exit
cpm_01_input_kbd_dcio_iterm_msg_interrupt:
; Indicate whether character should interrupt line editing.
;
; enter: c = ascii code
; exit: carry r... |
; A158221: a(n) = 169n + 1.
; 170,339,508,677,846,1015,1184,1353,1522,1691,1860,2029,2198,2367,2536,2705,2874,3043,3212,3381,3550,3719,3888,4057,4226,4395,4564,4733,4902,5071,5240,5409,5578,5747,5916,6085,6254,6423,6592,6761,6930,7099,7268,7437,7606,7775,7944,8113,8282,8451,8620,8789,8958,9127,9296,9465,9634,9803,9972,... |
; A047460: Numbers that are congruent to {0, 1, 3, 4} mod 8.
; 0,1,3,4,8,9,11,12,16,17,19,20,24,25,27,28,32,33,35,36,40,41,43,44,48,49,51,52,56,57,59,60,64,65,67,68,72,73,75,76,80,81,83,84,88,89,91,92,96,97,99,100,104,105,107,108,112,113,115,116,120,121,123,124,128,129,131,132,136,137,139,140,144,145,147,148,152,153,15... |
;; Fastasia sound cell
;; Copyright 2001 Phil Frost
;; Distributed under the BSD license
;; * provided functions *
;;
;; __play_sound single_shot 5500 1
;; __play_sound stream 5500 2
;; __install_check sb 5570 1
;; __set_sample_rate noclass 5571 0
;; __set_speaker enable 5560 1
;; __set_speaker disable 5560 2
;... |
; A304041: Number of inequivalent solutions to problem in A054961.
; 1,1,1,1,1,2,2,3,2,1
sub $0,4
mov $1,2
add $1,$0
dif $1,2
div $1,2
mod $1,3
add $1,1
mov $0,$1
|
;
; Sharp X1 specific routines
; switch to 80 columns text mode
; Uses high resolution text if available
;
; $Id: x1_set_text_80_hs.asm,v 1.4 2016-07-14 17:44:18 pauloscustodio Exp $
;
SECTION code_clib
PUBLIC x1_set_text_80_hs
PUBLIC _x1_set_text_80_hs
; EXTERN x1_get_pcg_version
EXTERN set_crtc_10
EXTERN __... |
; A051173: Triangular array T read by rows: T(u,v) = lcm(u,v).
; Submitted by Jon Maiga
; 1,2,2,3,6,3,4,4,12,4,5,10,15,20,5,6,6,6,12,30,6,7,14,21,28,35,42,7,8,8,24,8,40,24,56,8,9,18,9,36,45,18,63,72,9,10,10,30,20,10,30,70,40,90,10,11,22,33,44,55,66,77,88,99,110,11,12,12,12,12,60,12,84,24,36,60,132,12,13,26,39,52,65,78,... |
; A066455: 6*binomial(n,4)+5*binomial(n,2)-4*n+5.
; 1,2,8,25,65,146,292,533,905,1450,2216,3257,4633,6410,8660,11461,14897,19058,24040,29945,36881,44962,54308,65045,77305,91226,106952,124633,144425,166490,190996,218117,248033,280930,317000,356441,399457,446258,497060,552085,611561,675722,744808,819065,898745,984106,1075... |
; A171218: a(n) = sum(A109613(k)*A005843(n-k): 0<=k<=n).
; 0,2,6,16,32,58,94,144,208,290,390,512,656,826,1022,1248,1504,1794,2118,2480,2880,3322,3806,4336,4912,5538,6214,6944,7728,8570,9470,10432,11456,12546,13702,14928,16224,17594,19038,20560,22160,23842,25606,27456,29392,31418,33534,35744,38048,40450,42950,45552,4825... |
; A188914: a(n) = n*n! + 1 = (n+1)! - n! + 1.
; 2,5,19,97,601,4321,35281,322561,3265921,36288001,439084801,5748019201,80951270401,1220496076801,19615115520001,334764638208001,6046686277632001,115242726703104001,2311256907767808001
add $0,1
mov $1,$0
lpb $1
mul $0,$1
sub $1,1
lpe
add $0,1
|
; A004766: Numbers whose binary expansion ends 01.
; 5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185,189,193,197,201,205,209,213,217,221,225
mov $1,$0
mul $1,4
add $1,5
|
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args=""/>
<%docstring>
Invokes the syscall getpgrp. See 'man 2 getpgrp' for more information.
Arguments:
</%docstring>
${syscall('SYS_getpgrp')}
|
Name: ys_w34.asm
Type: file
Size: 22775
Last-Modified: '2016-05-13T04:51:17Z'
SHA-1: AB53B3A6D0CA9E658993FAB2536C514C1947E601
Description: null
|
Read_Keyboard
KeyboardScanner_Read:
lda #<KeyboardScanner_KeyPresses
sta z_L
lda #>KeyboardScanner_KeyPresses
sta z_H
ldy #0
lda #%11111110
sta z_as
NextRow:
lda z_as
sta $DC00
lda $DC01
sta (z_HL),y
iny
sec
rol z_as
tya
cmp #8
bcc NextRow
lda #%01111111 ;Joy 1
sta ... |
; A122471: a(n)=7*a(n-1)-n for n> 0, a(0)=1.
; 1,6,40,277,1935,13540,94774,663411,4643869,32507074,227549508,1592846545,11149925803,78049480608,546346364242,3824424549679,26770971847737,187396802934142,1311777620538976,9182443343772813
mov $2,$0
mov $0,10
mov $1,10
lpb $2,1
add $1,$0
mul $0,7
sub $0,2
sub $2,1... |
#include "testUtils.h"
using namespace irr;
bool drawRectOutline(void)
{
IrrlichtDevice *device =
createDevice(video::EDT_BURNINGSVIDEO, core::dimension2du(160, 120));
video::IVideoDriver* driver = device->getVideoDriver();
driver->beginScene(true, true, video::SColor(255,100,101,140));
core::rect... |
PAGE ,132
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; (C) Copyright Microsoft Corp. 1987-1990
; MS-DOS 5.00 - NLS Support - KEYB Command
;
;
; File Name: KEYBCPSD.ASM
; ----------
;
;
; Description:
; ------------
; Copies the SHARED_DATA_AREA into a part of memory that
; can be left resi... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_WC+0xe699, %rdi
nop
nop
nop
nop
xor %rcx, %rcx
mov $0x5152535455565758, %rsi
movq %rsi, %xmm0
movups %xmm0, (%rdi)
nop
nop
nop
add %rdi, ... |
; A166863: a(1)= 1; a(2)= 5; thereafter a(n)= a(n-1) + a(n-2) + 5.
; 1,5,11,21,37,63,105,173,283,461,749,1215,1969,3189,5163,8357,13525,21887,35417,57309,92731,150045,242781,392831,635617,1028453,1664075,2692533,4356613,7049151,11405769,18454925,29860699,48315629,78176333,126491967,204668305,331160277,535828587,8669888... |
.file "infback.c"
.text
.p2align 4,,15
# ----------------------
.globl inflateBackInit_
.type inflateBackInit_, @function
inflateBackInit_:
.cfi_startproc
subl $44, %esp
movl 60(%esp), %eax
movl %ebx, 28(%esp)
call __i686.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
movl %... |
; A132272: Product{k>0, 1+floor(n/10^k)}.
; 1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10
mov $1,$0
div $1,10
add $1,1
|
; ==================================================================
; alOS -- The alOS kernel
; Copyright (C) 2016-present alOS Developers -- see LICENSE.md
;
; MISCELLANEOUS ROUTINES
; ==================================================================
; ---------------------------------------------------------------... |
; Program to illustrate one use of write mode 2 of the VGA and EGA by
; animating the image of an "A" drawn by copying it from a chunky
; bit-map in system memory to a planar bit-map in VGA or EGA memory.
;
; By Michael Abrash
global start
%include 'common.inc'
section .data data
SCREEN_WIDTH_IN_BYTES equ 80
Cu... |
////////////////////////////////////////////////////////////////////////////////
// Name: test-temp-filename.cpp
// Purpose: Implementation for wex unit testing
// Author: Anton van Wezenbeek
// Copyright: (c) 2021 Anton van Wezenbeek
///////////////////////////////////////////////////////////////////////////... |
; A026001: a(n) = T(3n,n), where T = Delannoy triangle (A008288).
; Submitted by Christian Krause
; 1,7,85,1159,16641,246047,3707509,56610575,872893441,13560999991,211939849045,3328419072535,52481589415425,830317511708367,13174519143904245,209559710593266719,3340604559333629953,53354776911196959335,85360793895224838382... |
; *******************************************************************************************
; *******************************************************************************************
;
; Name : interface_mega65.asm
; Purpose : Assembler Interface (Mega65 Hardware)
; Date : 18th August 2019
; Author : Paul ... |
; L0804.asm grand canyon
; Generated 09.18.2000 by mlevel
; Modified 09.18.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
WATERINDEX EQU 1
VAR_WATER EQU 0
;---------------------------------------------------------------------
SECTION "Level0804Section",ROMX
;-----------------------------... |
#include "cbase.h"
#include "editorCommon.h"
void CHLSL_Solver_Utility_Declare::OnWriteFXC(bool bIsPixelShader, WriteContext_FXC &context) {
CHLSL_Var *tg = GetTargetVar(0);
tg->DeclareMe(context);
CHLSL_Var *src1 = GetSourceVar(0);
char tmp[MAXTARGC];
Q_snprintf(tmp, MAXTARGC, "%s = %s;\n",
... |
frame 2, 35
frame 1, 08
endanim
|
#include "PrecHeader.h"
#ifdef ECO_WIN
#include <eco/process/Process.h>
////////////////////////////////////////////////////////////////////////////////
#include <eco/Cast.h>
#include "Process.h"
////////////////////////////////////////////////////////////////////////////////
namespace eco{;
namespace this_process{;... |
; A293405: The integer k that minimizes |k/n^2 - tau^2|, where tau = (1+sqrt(5))/2 (golden ratio).
; 0,3,10,24,42,65,94,128,168,212,262,317,377,442,513,589,670,757,848,945,1047,1155,1267,1385,1508,1636,1770,1909,2053,2202,2356,2516,2681,2851,3026,3207,3393,3584,3780,3982,4189,4401,4618,4841,5069,5302,5540,5783,6032,628... |
#include "peconv/delayed_imports_loader.h"
#include "peconv/imports_loader.h"
#include "../utils/debug.h"
#include <iostream>
IMAGE_DELAYLOAD_DESCRIPTOR* peconv::get_delayed_imps(IN const BYTE* modulePtr, IN const size_t moduleSize, OUT size_t &dir_size)
{
dir_size = 0;
IMAGE_DATA_DIRECTORY *d_imps_d... |
Ani_49BF6: dc.w byte_49BFA-Ani_49BF6
dc.w byte_49BFD-Ani_49BF6
byte_49BFA: dc.b $1F, 0, $FF
byte_49BFD: dc.b 0, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, $FD, 0
|
;
; I used this Website/Document as a reference to create "main.asm".
;
; GB ASM Programming Tutorial: Hello World!
; https://eldred.fr/gb-asm-tutorial/hello-world.html
;
; The Cycle-Accurate Game Boy Docs (p25: 7. Joypad)
; https://github.com/AntonioND/giibiiadvance/blob/master/docs/TCAGBD.pdf
;
; Pan Docs: Memory Map... |
//=======================================================================
// Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
// Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
/... |
lorom
!FEATURE_SD2SNES ?= 1
table ../resources/normal.tbl
incsrc macros.asm
incsrc defines.asm
incsrc gamemode.asm
if !FEATURE_SD2SNES
print "SD2SNES ENABLED"
incsrc save.asm
endif
incsrc infohud.asm
incsrc menu.asm
incsrc rng.asm
incsrc presets.asm
incsrc misc.asm
incsrc init.asm
incsrc fanfare.asm
incsrc ... |
.data
massage: .asciiz "FIM"
space: .asciiz", "
.text
main:
addi $t0,$zero,3
loop:
bgt $t0,19,exit
jal printNumber
addi $t0,$t0,3
j loop
exit:
li $v0, 4
la $a0, massage
syscall
#Final do Programa
li $v0, 10
syscall
printNumber:
li $v0, 1
add $a0, $t0, $zero
... |
[XCX_FN_MNY_FREQ]
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
.origin = codecave
.int $mod
; ----------------------------------------------------------------------------
; WHAT : changeTime__Q2_4fnet9CFnetTaskFUiT1
; WHY : Affect the frequency of the NavFrontier income for the money
; Frequency u... |
SECTION code_driver
PUBLIC asm_disk_read
EXTERN ide_read_sector
;------------------------------------------------------------------------------
; Routines that talk with the IDE drive, these should be called from diskio.h
;
; DRESULT disk_read (
; BYTE pdrv, /* Physical drive number to identif... |
;*****************************************************************************
;* mc-a2.asm: x86 motion compensation
;*****************************************************************************
;* Copyright (C) 2005-2017 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Fiona Glaser <fio... |
// oscpp library
//
// Copyright (c) 2004-2013 Stefan Kersten <sk@k-hornz.de>
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to use, reproduce, display, distribute,
// execut... |
; zumpus_data.asm
.connections
; Each entry ends with a null byte because that makes it four bytes per
; entry. When doing the lookup, we have to multiply by the number of bytes
; per entry, and multiplying by 4, using ASL, is easier than by 3.
equs 1,4,7,0 ; 0
equs 0,2,9,0 ; 1
equs 1,3,12,0 ; 2
... |
/**
* 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 may ... |
@ ---------------------------------------------------
@
@ Raspberry Pi Assembly GAME#1 by KJ/P1X
@
@ http://p1x.in | http://krzysztofjankowski.com
@ https://github.com/w84death/arm-assembly
@
@ ---------------------------------------------------
.arm
.include "globals.asm"
.data
.align 4
num: .string " "
.align ... |
#include "pch.h"
using namespace Platform;
using namespace Windows::ApplicationModel;
using namespace Windows::ApplicationModel::Activation;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls;
namespace libhltypes_tests
{
App::App()
{
this->InitializeComponent();
}
void App::OnLaun... |
; A056916: Product of the orders of the elements in a cyclic group with n elements.
; Submitted by Jon Maiga
; 1,2,9,32,625,648,117649,131072,4782969,12500000,25937424601,214990848,23298085122481,1771684761728,14416259765625,562949953421312,48661191875666868481,11712917736940032,104127350297911241532841,512000000000000... |
@sum
M=0
@10
D=A
@n
M=D
(LOOP)
@n
D=M
@sum
M=D+M
@n
M=M-1
D=M
@END
D;JEQ
@LOOP
0;JMP
(END)
@END
0;JMP |
PUBLIC _outDat, _outCmd, _commandDrawLine, _waitForCommandCompletion
PUBLIC __fromX, __fromY, _longSide, _shortSide, __color, _dir, __operation
SECTION CODE
include "msx.inc"
; void outDat(uint8_t b) __z88dk_fastcall
_outDat:
LD A, L
OUT (VDP_DATA), A
RET
; void outCmd(uint8_t b) __z88dk_fastcall
_outCmd:
... |
LIST p=16f876
INCLUDE "p16f876.inc"
__CONFIG _CP_OFF & _LVP_ON & _BOREN_ON & _WDT_OFF & _PWRTE_OFF & _WRT_ON & _RC_OSC & _DEBUG_OFF
org __EEPROM_START
de 0,1,2,3,4,5,6
ORG 0x00
goto main
ORG 0x04
NOP
BCF STATUS, RP1
RETFIE
main NOP
BCF STATUS, RP0
BCF STATUS, RP0
BCF STATUS, RP0
NOP
NOP
NOP
END
|
; ===============================================================
; Mega PCM Driver Include File
; (c) 2012, Vladikcomper
; ===============================================================
; ---------------------------------------------------------------
; Variables used in DAC table
; ------------------------... |
// Example program for the Commander X16.
// Demonstrates the usage of the VERA layer 0 and 1.
.cpu _65c02
// Commodore 64 PRG executable file
.file [name="cx16-tilemap.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="pid, stat_loc, options, usage"/>
<%docstring>
Invokes the syscall wait4. See 'man 2 wait4' for more information.
Arguments:
pid(pid_t): pid
stat_loc(WAIT_STATUS): stat_loc
options(int): options
usage(rusage): usage
</%docstring... |
; float floor(float x) __z88dk_fastcall
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdccix_floor_fastcall
EXTERN cm48_sdccixp_dx2m48, am48_floor, cm48_sdccixp_m482d
cm48_sdccix_floor_fastcall:
call cm48_sdccixp_dx2m48
call am48_floor
jp cm48_sdccixp_m482d
|
// RegistryUtils.cpp
#include "StdAfx.h"
#include "../../../Common/IntToString.h"
#include "../../../Windows/Registry.h"
#include "RegistryUtils.h"
using namespace NWindows;
using namespace NRegistry;
#define REG_PATH_7Z TEXT("Software") TEXT(STRING_PATH_SEPARATOR) TEXT("7-Zip")
static const TCHAR *kCUBasePath =... |
// Copyright 2020 Kiseleva Anastasia
#include "../../../modules/task_1/kiseleva_a_min_stolb_matrix/min_stolb.h"
#include <mpi.h>
#include <vector>
#include <algorithm>
std::vector<std::vector<int>> RandomMatrix(int str, int stlb) {
std::mt19937 gen;
gen.seed(static_cast<unsigned int>(time(0)));
std::vector... |
; A102773: a(n) = Sum_{i=0..n} binomial(n,i)^2*i!*4^i.
; Submitted by Christian Krause
; 1,5,49,709,13505,318181,8916145,289283429,10656031489,439039941445,19995858681521,997184081617285,54026137182982849,3159127731435043109,198258247783634075185,13289190424904891606821,947419111092028780186625,715742177948293917432823... |
; Test menus:
; - each entry contains two pointers: one to the label and one to the actual test list
; - the list ends with the .end label; no final entry is needed
Menus:
dw .basic_tests, BasicTests
dw .range_tests, RangeTests
dw .subsecond_tests, SubsecondTests
.end
.basic_tests
db "Basic tests@"
.range_tests
... |
//---------------------------------------------------------------------------
/*
TVP2 ( T Visual Presenter 2 ) A script authoring tool
Copyright (C) 2000 W.Dee <dee@kikyou.info> and contributors
See details of license at "license.txt"
*/
//---------------------------------------------------------------------------... |
C arm/ecc-256-redc.asm
ifelse(<
Copyright (C) 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 Foundation; either versi... |
.include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 84
card_no equ "084"
card_sub equ "Mod Card 084"
card_sub_x ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.