text stringlengths 1 1.05M |
|---|
###############################################################################
# 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... |
INCLUDE "hardware.inc"
INCLUDE "macros.inc"
SECTION "Over", ROM0
; draw game over message
; draw's over the game roll and held columns, whilst preserving the scored
; categories, their values as well as the score and highscore columns
DrawGameOver::
; copying of string to screen is inlined to save cycles
AT _SCRN0... |
; A283557: The number of positive integer sequences of length n with no duplicate substrings and a minimal product (i.e., the product of the sequence is A282164(n)).
; Submitted by Jamie Morken(m4)
; 1,1,3,2,2,6,6,24,24,120
mov $1,1
lpb $0
mov $3,$2
lpb $3
add $2,1
mov $5,$0
cmp $5,0
add $0,$5
... |
/* $NetBSD: strptime.c,v 1.33 2009/05/24 02:25:43 ginsbach Exp $ */
/*-
* Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code was contributed to The NetBSD Foundation by Klaus Klein.
* Heavily optimised by David Laight
*
* Redistribution and use in source and bi... |
#ifndef TIMER_HPP
#define TIMER_HPP
#include <ctime>
#include <thread>
#include <iostream>
using namespace std;
class Timer {
public:
Timer(unsigned int sec);
void start();
void spawn();
void stop();
private:
unsigned int status; // TODO: use atomic class for thread safe operation
unsigned int wait_for... |
// Copyright 2016 Open Source Robotics Foundation, 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 obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>oldfstat(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall oldfstat.
See 'man 2 oldfstat' for more information.
Arguments:
vararg(int): vararg
Returns:
long
</%docstri... |
namespace menu {
seek(codeCursor)
namespace party {
enqueue pc
//shared
seek($ee806d); jsl dragonName
seek($ee7f3e); jsl playerName
seek($ee7f79); jsl playerLevel
seek($ee7f90); jml playerStatus
seek($ee7fa3); jsl playerClass
seek($ee7fef); jsl hp.setValue
seek($ee7123); string.hook(mp.setTypeMP) ... |
;;
;; Copyright (c) 2020, 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 ... |
.intel_syntax noprefix
.text # Code section
#region entry testCode_linux
testCode_linux:
.global testCode_linux
# extern "C" void testCode_linux(
# unsigned long * const data,
# const unsigned long long nItems1,
# const unsigned long long nItems2,
# const unsigned long long nItems3);
#
# testCode_linux(unsigned ... |
//////////////////////////////////////////////////////////////////////////////
//
// Detours Test Program (trcssl.cpp of trcssl.dll)
//
// Microsoft Research Detours Package
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
#define _WIN32_WINNT 0x0400
#define WIN32
#define NT
#define SECURIT... |
## MIPS Assignment #1
## Ch12 3.asm
## Put 0xFFFFFFFF into register $1
.text
.globl main
main:
ori $1, $0, 0x01 # put 0x01 into register $1
srl $1, $1, 1 # shift right logical by 4
nor $1, $1, $1 # using nor register flip $1 from 0 to 1.
## End of file
|
; A264889: Partial sums of hyperfactorials (A002109).
; 1,2,6,114,27762,86427762,4031164827762,3319770429936027762,55696441261496986915227762,21577941278638297470665013744027762,215779412250996503370318565758665013744027762,61564384586850833363801728392684283449726665013744027762,548914237009563146188691075538000917806... |
/*
* Copyright (C) 2014 Patrick Mours
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "effect_parser.hpp"
#include "effect_codegen.hpp"
#include <cmath> // signbit, isinf, isnan
#include <cstdio> // snprintf
#include <cassert>
#include <algorithm> // std::find_if, std::max
#include <unordered_set>
using namesp... |
; A112062: Positive integers i for which A112049(i) == 2.
; 3,4,7,8,15,16,19,20,27,28,31,32,39,40,43,44,51,52,55,56,63,64,67,68,75,76,79,80,87,88,91,92,99,100,103,104,111,112,115,116,123,124,127,128,135,136,139,140,147,148,151,152,159,160,163,164,171,172,175,176
mov $1,$0
add $0,1
mov $4,1
lpb $0
trn $0,2
add $1,6... |
#include "PyVarObject.h"
#include "../ExtHelpers.h"
#include <engextcpp.hpp>
#include <string>
using namespace std;
namespace PyExt::Remote {
PyVarObject::PyVarObject(Offset objectAddress, const string& typeName /*= "PyVarObject"*/)
: PyObject(objectAddress, typeName)
{
}
auto PyVarObject::size() const -> ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1dcbb, %r11
nop
xor %r9, %r9
mov $0x6162636465666768, %r8
movq %r8, %xmm5
vmovups %ymm5, (%r11)
nop
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_WC_ht+0x11cbb, %... |
// This file is automatically generated at compile-time to include some subset of the user-created cpp files.
#include "C:/Users/Justin/Documents/Unreal Projects/QuestVRE/Plugins/VRExpansionPlugin/VRExpansionPlugin/Source/VRExpansionPlugin/Private/VRExpansionFunctionLibrary.cpp"
#include "C:/Users/Justin/Documents/Unre... |
;
; This file is automatically generated
;
; Do not edit!!!
;
; djm 12/2/2000
;
; ZSock Lib function: sock_putc
XLIB sock_putc
LIB no_zsock
INCLUDE "#packages.def"
INCLUDE "#zsock.def"
.sock_putc
ld a,r_sock_putc
call_pkg(tcp_all)
ret nc
; We failed..are we installed?
cp rc_pnf
scf ;signal error
ret nz ... |
#include "ex5b.h"
using namespace boost;
void ex5b(int argc, char* argv[]){
std::ifstream file;
file.open(argv[1]);
if (!file.is_open()) {
std::cerr << "there is no file of the name \"" << argv[1] << "\" in the directory" << std::endl;
return;
}
//typedegs for graph and edges
typedef adjacenc... |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
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 push %ebp
... |
; A093545: Sorted mapping of A093544 onto the integers.
; 0,2,1,5,7,3,10,12,4,15,17,6,20,22,8,25,27,9,30,32,11,35,37,13,40,42,14,45,47,16,50,52,18,55,57,19,60,62,21,65,67,23,70,72,24,75,77,26,80,82,28,85,87,29,90,92,31,95,97,33,100,102,34,105,107,36,110,112,38
add $0,1
mul $0,5
mov $2,-15
mov $3,18
sub $3,$0
div $0,3
... |
/*************************************************************************
*
* Copyright 2016 Realm 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 obtain a copy of the License at
*
* http://www.apache.org/lice... |
; A262473: Number of (3+1) X (n+1) 0..1 arrays with each row divisible by 3 and each column divisible by 5, read as a binary number with top and left being the most significant bits.
; 4,9,36,121,484,1849,7396,29241,116964,466489,1865956,7458361,29833444,119311929,477247716,1908903481,7635613924,30542106169,12216842467... |
IDEAL
MODEL large
P386
CODESEG
PUBLIC C randtau
LABEL randtau WORD
db 1024 dup(0)
rptr dw 0
eino dd 22a53341h
PUBLIC C arand
PROC C arand
ARG buu:word
mov bx, [cs:rptr]
mov eax, [cs:eino]
add eax, 0a753cd3dh
add bx, 2*4
and bx, 3ffh
add eax, [dword cs:bx+randtau]
add bx, 23... |
/*
* Vulkan Samples
*
* Copyright (C) 2015-2017 Valve Corporation
* Copyright (C) 2015-2017 LunarG, 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 obtain a copy of the License at
*
* http://www.apache.or... |
SECTION code_fp_math48
PUBLIC ___fs2slong_callee
EXTERN cm48_sdccixp_ds2slong_callee
defc ___fs2slong_callee = cm48_sdccixp_ds2slong_callee
|
/**
* \file
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "MeshLib/IO/XDMF/partition.h"
n... |
;;-----------------------------------------------------------------------------
;; Author : habe (NujiNuji/MikoMiko)
;; Mail : ----------------------
;; Web : http://openlibsys.org/
;; License : The modified BSD license
;;
;; Copyright 2006 habe. All rights r... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "PowerManagement.inc"
radix decimal
AdcRam udata
global enableAdcCount
enableAdcCount res 1
Adc code
global enableAdc
global disableAdc
enableAdc:
fcall ensureFastClock
.safelySetBankFor enableAdcCount
incf enableAdcCount
decfsz enableAdcCount, W... |
[bits 16]
extractps eax, xmm1, 5 ; out: 66 0f 3a 17 c8 05
vextractps eax, xmm1, 5 ; out: c4 e3 79 17 c8 05
pextrb eax, xmm1, 5 ; out: 66 0f 3a 14 c8 05
vpextrb eax, xmm1, 5 ; out: c4 e3 79 14 c8 05
pextrw eax, xmm1, 5 ; out: 66 0f c5 c1 05
vpextrw eax, xmm1, 5 ; out: c5 f9 c5 c1 05
pextrd eax, xmm1, 5 ; out: 66 ... |
/*
* Copyright 2021 Assured Information Security, 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 obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
; void sms_tiles_get_area(struct r_Rect8 *r, void *dst)
;
; Copy tile contents of a rectangular area in vram to memory
SECTION code_clib
SECTION code_arch
PUBLIC asm_sms_tiles_get_area
EXTERN asm_sms_cxy2saddr, asm_sms_memcpy_vram_to_mem
asm_sms_tiles_get_area:
; enter : de = void *dst
; ix = struct ... |
extern m7_ippsECCPSignSM2:function
extern n8_ippsECCPSignSM2:function
extern y8_ippsECCPSignSM2:function
extern e9_ippsECCPSignSM2:function
extern l9_ippsECCPSignSM2:function
extern n0_ippsECCPSignSM2:function
extern k0_ippsECCPSignSM2:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment ... |
/* LSOracle: A learning based Oracle for Logic Synthesis
* MIT License
* Copyright 2019 Laboratory for Nano Integrated Systems (LNIS)
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software ... |
; A099585: Remove all 3s from prime(n) - 1.
; 1,2,4,2,10,4,16,2,22,28,10,4,40,14,46,52,58,20,22,70,8,26,82,88,32,100,34,106,4,112,14,130,136,46,148,50,52,2,166,172,178,20,190,64,196,22,70,74,226,76,232,238,80,250,256,262,268,10,92,280,94,292,34,310
seq $0,6093 ; a(n) = prime(n) - 1.
lpb $0
dif $0,3
lpe
|
#include <iostream>
int change_val(int *p) {
*p = 3;
return 0;
}
int main() {
int number = 5;
std::cout << number << std::endl;
change_val(&number);
std::cout << number << std::endl;
} |
; ------------------------------------------------------------------------- ;
; Enicham v1.3 coded by KilJaeden of the Codebreakers 1998 ;
; ------------------------------------------------------------------------- ;
; Description: `-------------------| Started: 17/06/98 | Finished: 18/06/98 ;
; ... |
include io.h
cr equ 10
lf equ 13
.model small
.Stack 200h
.Data
newline db cr, lf, 0
number_prompt db 'Enter Number ', 0
tow_dote db ' : ', 0
counter dw ?
number_array dw 10 dup(?)
.Code
main proc
mov ax, @Data
mov ds, ax
;------------------------... |
/***
*
* 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.
*
* This source code contains proprietary and confidential information of
* Valve ... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="pid, param"/>
<%docstring>
Invokes the syscall sched_setparam. See 'man 2 sched_setparam' for more information.
Arguments:
pid(pid_t): pid
param(sched_param): param
</%docstring>
${syscall('SYS_sched_setparam', pid, param)}
|
int shop(int current_m, int idx){
if(current_m<0){
/*** Caso base, retornamos um inteiro negativo grande caso o
* montante atual seja negativo
***/
return numeric_limits<int>::min();
}
if(idx==C){
/*** Caso contrário, chegamos em uma solução, não necessariamente
... |
.686p ;enable instructions
.xmm ;enable instructions
.model flat, stdcall ;use C naming convention (stdcall is default)
; include C libraries
.data ;initialized data
message db "drgat test 1 32 bit",0dh,0ah... |
#include <qrk/vertex_array.h>
namespace qrk {
VertexArray::VertexArray() {
glGenVertexArrays(1, &vao_);
activate();
}
void VertexArray::activate() { glBindVertexArray(vao_); }
void VertexArray::deactivate() { glBindVertexArray(0); }
// TODO: Reduce duplication in these methods.
void VertexArray::loadVertexData... |
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,k,q,j,w;
cin>>n>>k>>q;
int a[n],i,b[n];
for(i=0;i<n;i++)
{
cin>>a[i];
}
for(i=0;i<n;i++)
{
b[(i+k)%n]=a[i];
}
for(i=0;i<q;i++)
{
int m;
cin>>m;
cout<<b[m]<<endl;
}
... |
; ---------------------------------------------------------------------------
; Scrap Brain Zone palette cycling script
; ---------------------------------------------------------------------------
mSBZp: macro duration,colours,paladdress,ramaddress
dc.b duration, colours
dc.w paladdress, ramaddress
endm
; duratio... |
// Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and University of
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and Th... |
%ifidn __OUTPUT_FORMAT__, elf32
%define ADDRESS_SIZE 0x04
%elifidn __OUTPUT_FORMAT__, elf64
%define ADDRESS_SIZE 0x08
%endif
|
;------------------------------------------------------------------------------ ;
; Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distributi... |
/*
* Copyright 2012 by Alison Leonard alison@makerbot.com
*
* @file ThermocoupleReader.cc
* @brief This class reads temperature data from the ADS1118 ADC from Texas Instruments
* The ADC has two thermocouple input channels and a cold junction temperature sensor
*
*
* This program is free software: you can redis... |
; #########################################################################
.386
.model flat, stdcall
option casemap :none ; case sensitive
; #########################################################################
include \masm32\include\windows.inc
include \masm32\include\user32.inc
incl... |
RSEG DOVERLAY:DATA:NOROOT(0)
RSEG IOVERLAY:IDATA:NOROOT(0)
RSEG ISTACK:IDATA:NOROOT(0)
RSEG PSTACK:XDATA:NOROOT(0)
RSEG XSTACK:XDATA:NOROOT(0)
PUBLIC mynum
RSEG NEAR_CODE:CODE:NOROOT(0)
mynum:
CODE
; Saved register size: 0
; Auto size: 0
... |
;;; generated by ../../BootSetup/BootSetup.rb (2018-02-18 11:55:51 +0100)
.include "ports.atmega328p.inc"
;;; ========================================================================
;;; Interrupt Table
;;; ========================================================================
.org 0
rjmp ... |
; int isoob(int)
; 08.2009 aralbrec
SECTION code_clib
PUBLIC _isoob
PUBLIC isoob
EXTERN asm_isoob
; FASTCALL
._isoob
.isoob
ld a,l
call asm_isoob
ld hl,0
ret nz
inc l
ret
|
; -- Ship AI data
UBnKShipType DB 0
UBnKspeed DB 0 ; INWK +27
UBnKAccel DB 0 ; INWK +28
UBnKRotXCounter DB 0 ; INWK +29
UBnKRotZCounter DB 0 ; INWK +30
... |
// Copyright (c) 2013-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 "hash.h"
#include "utilstrencodings.h"
#include "test/test_amero.h"
#include <vector>
#include <boost/test/unit_te... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoinlimitededition Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <uint256.h>
#include <utilstrencodings.h>
#include <stdi... |
;
; jdmrgext.asm - merged upsampling/color conversion (SSE2)
;
; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2012, 2016, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use,... |
; A110013: Squares of the form 4p + 5, where p is a prime.
; 25,49,81,121,169,289,361,441,529,729,961,1089,1521,1681,1849,2401,2809,3249,3721,3969,5041,5929,6241,6889,7921,8281,8649,9409,10201,11449,11881,12321,12769,14161,14641,16641,17161,17689,18769,19881,23409,27889,29241,29929,32041,34969,35721,37249,40401,41209,4... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
section .text
global cyfry
cyfry:
;licznik
mov rbx, 0
;dzielenie
mov rdx, 0
mov rax, rdi
mov rcx, 10
_petla:
div rcx
inc rbx
cmp rax, 1
jge _petla
mov rax, rbx
ret
|
// Copyright 2015 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 "components/sync/driver/fake_sync_client.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "components/sync/base/extensions_acti... |
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2016-22, Lawrence Livermore National Security, LLC
// and RAJA project contributors. See the RAJA/LICENSE file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
db PIDGEY ; 016
db 40, 45, 40, 56, 35, 35
; hp atk def spd sat sdf
db NORMAL, FLYING ; type
db 255 ; catch rate
db 55 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/pidgey/front.dimension... |
//
// Created by wei on 3/18/18.
//
#include "core/render/Renderer.h"
#include "common/logging.h"
#include "common/Constants.h"
#include "common/ConfigParser.h"
surfelwarp::Renderer::Renderer(int image_rows, int image_cols)
:
m_image_width(image_cols),
m_image_height(image_rows),
m_fusion_map_width(image_cols * Cons... |
#pragma once
#include <cmath>
#include <memory>
#include <vector>
namespace ds2i {
// DO NOT permute the ordering of these.
enum ranker_identifier {
BM25, // = 1
LMDS, // = 2
UNKNOWN // Can change
};
// Map a string to a ranker identifier
ranker_identifier get_ranker_id(std::... |
;; (c) Copyright Kevin Thacker 2015-2016
;; This code is part of the Arnold emulator distribution.
;; This code is free to distribute without modification
;; this copyright header must be retained.
org &8000
km_wait_char equ &bb06
txt_output equ &bb5a
scr_set_mode equ &bc0e
;; set colour with bit 5 set
start:
ld b... |
; int puts_unlocked(const char *s)
SECTION code_clib
SECTION code_stdio
PUBLIC _puts_unlocked
EXTERN _puts_unlocked_fastcall
_puts_unlocked:
pop af
pop hl
push hl
push af
jp _puts_unlocked_fastcall
|
# BUBBLE SORT
.data
richiesta: .asciiz "inserire la lunghezza del vettore,poi i valori numerici\n"
vettore: .word 0:100
len: .word 0
.text
li $v0,4
la $a0,richiesta
syscall
li $v0,5
syscall
sw $v0,len
lw $s1,len
li $a0,0
riempi:
beq $s0,$s1,main
li $v0,5
syscall
sw $v0,vettore($a0)
addi $a0,$a0,4
addi $s0,$s0,1
... |
; A328778: Number of indecomposable closed walks of length 2n along the edges of a cube based at a vertex.
; 1,3,12,84,588,4116,28812,201684,1411788,9882516,69177612,484243284,3389702988,23727920916,166095446412,1162668124884,8138676874188,56970738119316,398795166835212,2791566167846484,19540963174925388,13678674222447... |
; A315427: Coordination sequence Gal.5.133.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,6,11,15,21,27,33,37,42,48,54,59,63,69,75,81,85,90,96,102,107,111,117,123,129,133,138,144,150,155,159,165,171,177,181,186,192,198,203,207,2... |
//
// Copyright 2014, 2015 Razer 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 obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
db 0 ; species ID placeholder
db 80, 70, 65, 100, 80, 120
; hp atk def spd sat sdf
db WATER, POISON ; type
db 60 ; catch rate
db 205 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/tentacruel/front.dimensions"
db GROWTH_SLOW ; ... |
//=============================================================================
/**
* @file any_op_cs.cpp
*
* $Id: any_op_cs.cpp 95536 2012-02-20 12:34:23Z johnnyw $
*
* Visitor generating code for Any operators for valueboxes in the stubs
* file.
*
*
* @author Gary Maxey
*/
//=======================... |
db 0 ; species ID placeholder
db 190, 33, 58, 33, 33, 58
; hp atk def spd sat sdf
db PSYCHIC, PSYCHIC ; type
db 45 ; catch rate
db 177 ; 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/wobbuf... |
; A104473: a(n) = binomial(n+2,2)*binomial(n+6,2).
; 15,63,168,360,675,1155,1848,2808,4095,5775,7920,10608,13923,17955,22800,28560,35343,43263,52440,63000,75075,88803,104328,121800,141375,163215,187488,214368,244035,276675,312480,351648,394383,440895,491400,546120,605283,669123,737880,811800,891135,976143,1067088,11642... |
#!/usr/local/bin/zasm -o original/
#target ram
; NAME START SIZE FLAGS
#code KERNEL, 0x0008, 0xF0
head MACRO #name
DB #name
ENDM
DB 'U<'
DB 'U>'
DB '<U'
DB '>U'
DB '><'
DB '<>'
DB '"U'
head 'U<'
head 'U>'
head '<U'
head '>U'
head '><'
head '<>'
head '"U'
#end
|
; A285345: Fixed point of the morphism 0 -> 10, 1 -> 1100.
; 1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0
add $0,1
mov $2,$0
div $0,2
add $0,$2
seq $0,284907 ; Posi... |
/*
* Copyright 2010 by Adam Mayer <adam@makerbot.com>
*
* 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 3 of the License, or
* (at your option) any later version.
*
* Thi... |
Snd_Results_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_Results_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $38
smpsHeaderDAC Snd_Results_DAC
smpsHeaderFM Snd_Results_FM1, $0C, $12
smpsHeaderFM Snd_Results_FM2, $0C, $16
smpsHeaderFM Snd_Results_FM3, $0C, $1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xbde5, %r14
nop
nop
xor $38514, %rcx
and $0xffffffffffffffc0, %r14
vmovaps (%r14), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $1, %xmm3, %rdx
nop
nop
nop
nop
xor $2... |
; LIFE .... VERSION 2.0
; WRITTEN BY ED HALL
; ASSEMBLED BY GORDEN FRENCH
; AND RDM
;
; RETYPED FROM MANUAL APRIL 2015, UDO MUNK
; THIS VERSION MODIFIED FOR CROMEMCO TU-ART
;
;
; CNTL-A IS USED TO DEPOSIT A CELL OF LIFE ON THE SCREEN.
; CNTL-N, O, I AND H STEP THE CURSOR UP, DOWN, RIGHT, AND
; LEFT RESPECTIVELY. CNTL-B... |
; A101272: a(n)=n, n <=6; a(n)=6, n > 6.
; 1,2,3,4,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
mov $1,$0
trn $0,5
sub $1,$0
add $1,1
|
section .data
endereco dq 0
tam dd 5
section .text
global _start
_start:
;Endereco de memoria de onde esta a string, tamanho da string
;LerString
push tam
push endereco
call LerString
;TESTE
;MOV [letra], eax
;ADD BYTE [letra], 0x30
... |
;; With kernel interrupt 9, dos already know the end of string when it finds
;; this version is about as before but we put the '$' after the length
;; to utilize dos ah=9 kernel interrupt
org 256
start:
xor cx, cx
mov si, hello
.nextchar:
cmp byte [si], 0
je @f
cmp byte [si], '$'
je @f
i... |
; A111652: 3n appears n times.
; 3,6,6,9,9,9,12,12,12,12,15,15,15,15,15,18,18,18,18,18,18,21,21,21,21,21,21,21,24,24,24,24,24,24,24,24,27,27,27,27,27,27,27,27,27,30,30,30,30,30,30,30,30,30,30,33,33,33,33,33,33,33,33,33,33,33,36,36,36,36,36
mul $0,2
mov $1,1
lpb $0,1
add $1,2
sub $0,$1
lpe
div $1,2
mul $1,3
add $1,... |
; A142691: Primes congruent to 43 mod 57.
; Submitted by Jon Maiga
; 43,157,271,499,613,727,1069,1297,1753,1867,2437,2551,3121,3463,3691,3919,4261,4603,4831,5059,5743,5857,6199,6427,6883,6997,7681,8707,8821,9049,9277,9391,9619,9733,10303,10531,10987,11329,11443,12241,12583,12697,13267,13381,13723,14293,14407,15091,1531... |
; A104104: a(1) = 1, if A(k) = sequence of first 2^(k-1) terms and if B(k) is A(k) with 0's and 1's exchanged, then A(k+1) = A(k)A(k) if a(k) = 0, A(k+1) = A(k)B(k) if a(k) = 1.
; 1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,1,0,1,0,0,1,... |
; A239035: Product of 8 consecutive integers.
; 0,40320,362880,1814400,6652800,19958400,51891840,121080960,259459200,518918400,980179200,1764322560,3047466240,5079110400,8204716800,12893126400,19769460480,29654190720,43609104000,62990928000,89513424000,125318793600,173059286400,235989936000,318073392000,424097856000,55... |
; A110513: Expansion of (1 + x)/(1 + 2x + x^3).
; Submitted by Christian Krause
; 1,-1,2,-5,11,-24,53,-117,258,-569,1255,-2768,6105,-13465,29698,-65501,144467,-318632,702765,-1549997,3418626,-7540017,16630031,-36678688,80897393,-178424817,393528322,-867954037,1914332891,-4222194104,9312342245,-20539017381,45300228866,-... |
#include "DebugMenu.h"
#include "SceneManager.h"
// Constructor
Debug::Debug(SceneManager * sceneManager) : Scene()
{
this->sceneManager = sceneManager;
}
// Destructor
Debug::~Debug()
{
Unload();
}
bool Debug::Load()
{
texture = sceneManager->tex->Load("sprites/ui/ui_menupause.png");
// Debug
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x19361, %rsi
lea addresses_normal_ht+0x14fe1, %rdi
nop
nop
nop
nop
and %r14, %r14
mov $22, %rcx
rep movsq
nop
xor %rdx, %rdx
lea addresses_A_ht+0x19ef1, %rsi
lea addresses_WC_ht+0x18b29... |
100: LD SP, #4000
108: LD R1, #10
116: ST y, R1
124: LD R2, #2
132: ST x, R2
140: SUB R3, R1, R2
148: BLTZ R3, #172
156: LD R3, #true
164: BR #180
172: LD R3, #false
180: ST w, R3
188: SUB R4, R1, R2
196: BNEZ R4, #220
204: LD R4, #true
212: BR #228
220: LD R4, #false
228: ST a, R4
236: SUB R5, R1, R2
244: BGZ R5, #268... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rbx
push %rcx
push %rdx
lea addresses_WC_ht+0x3d9d, %r13
nop
cmp $10369, %rdx
mov (%r13), %bx
nop
inc %rax
lea addresses_D_ht+0x12b8d, %r10
and %rcx, %rcx
movl $0x61626364, (%r10)
nop
nop
nop
dec %r13
lea addresses_UC_ht+0x1e43d,... |
; A167385: a(n)= sum_{i=7..n+6} A000931(i).
; 1,3,5,8,12,17,24,33,45,61,82,110,147,196,261,347,461,612,812,1077,1428,1893,2509,3325,4406,5838,7735,10248,13577,17987,23829,31568,41820,55401,73392,97225,128797,170621,226026,299422,396651,525452,696077,922107,1221533
mov $5,$0
add $5,2
mov $0,$5
lpb $0
sub $0,1
mov $... |
; A214699: a(n) = 3*a(n-2) - a(n-3) with a(0)=0, a(1)=3, a(2)=0.
; Submitted by Jamie Morken(s3.)
; 0,3,0,9,-3,27,-18,84,-81,270,-327,891,-1251,3000,-4644,10251,-16932,35397,-61047,123123,-218538,430416,-778737,1509786,-2766627,5308095,-9809667,18690912,-34737096,65882403,-122902200,232384305,-434589003,820055115,-1536... |
;================================================================================
; Stat Tracking
;================================================================================
; $7EF420 - $7EF468 - Stat Tracking
;--------------------------------------------------------------------------------
; $7EF420 - bonk count... |
; Small C+ Maths Routines
;
; transcendental floating point routines
;
SECTION code_fp
PUBLIC cos
EXTERN sin
EXTERN hladd
EXTERN __halfpi
;double cos(double val)
;Looks odd, but don't worry..value is already in FA - no need for stack
;
; transcendental funct... |
Name: title-e.asm
Type: file
Size: 55852
Last-Modified: '1992-11-18T01:42:34Z'
SHA-1: CF73447129375A05C01593CBD6F9B9575FA17E7B
Description: null
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.