text stringlengths 1 1.05M |
|---|
db 0 ; species ID placeholder
db 30, 80, 90, 55, 55, 45
; hp atk def spd sat sdf
db ROCK, WATER ; type
db 45 ; catch rate
db 119 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 100 ; unknown 1
db 30 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/kabuto/fr... |
//
// ruvi base
//
#pragma once
// includes
#include <cassert>
#include <cstdint>
#include <cstring>
//
// credits to namaszo for that vmt class
//
class vmt_hook {
public:
constexpr vmt_hook() : m_new_vmt{nullptr}, m_old_vmt{nullptr} {}
~vmt_hook() {
if (m_new_vmt)
delete[](m_new_vmt - 1);
}
v... |
; A004764: Numbers whose binary expansion does not begin 110.
; 0,1,2,3,4,5,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86
mov $5,$0
mul $0,2
mov $1,5
mov $2,4
mov $4,3
lp... |
/*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
sat_scc.cpp
Abstract:
Use binary clauses to compute strongly connected components.
Author:
Leonardo de Moura (leonardo) 2011-05-26.
Revision History:
--*/
#include"sat_scc.h"
#include"sat_solver.h"
#include"sat_elim_eqs.h"
#include"stopwatch... |
; Untuk tugas kuliah kalian dalam membuat grafik bintang
; hanya membantu :D
BIT15 OCT 40000
BIT14 OCT 20000
BIT13 OCT 10000
BIT12 OCT 04000
BIT11 OCT 02000
BIT10 OCT 01000
BIT9 OCT 00400
BIT8 OCT 00200
BIT7 OCT 00100
BIT6 OCT 00040
BIT5 OCT 00020
BIT4 OCT 00010
BIT3 OCT 00004
BIT2 OCT 00002
BIT1 OCT 00... |
; A077836: Expansion of (1-x)/(1-3*x-3*x^2-3*x^3).
; Submitted by Jamie Morken(s4)
; 1,2,9,36,141,558,2205,8712,34425,136026,537489,2123820,8392005,33159942,131027301,517737744,2045774961,8083620018,31941398169,126212379444,498712192893,1970597911518,7786567451565,30767632667928,121574394093033,480385782637578
mov $5,... |
/*
Copyright (c) 2005-2015, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... |
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include "low_precision_transformations/convolution_transformation.hpp"
#include "low_precision_transformations/convolution_with_incorrect_weights.hpp"
#include "common_test_utils/test_constants.hpp"
using namesp... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <Atom/RHI.Edit/ShaderCompilerArguments.h>
#include <AzFramework/StringFunc/StringFunc.h>
#i... |
; Copyright Oliver Kowalke 2009.
; Distributed under 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)
;
; Boost Software License - Version 1.0 - August 17th, 2003
;
; Permission is hereby granted, free of char... |
; A096045: a(n) = B(2*n,2)/B(2*n) (see comment).
; 1,10,46,190,766,3070,12286,49150,196606,786430,3145726,12582910,50331646,201326590,805306366,3221225470,12884901886,51539607550,206158430206,824633720830,3298534883326,13194139533310,52776558133246,211106232532990,844424930131966,3377699720527870,13510798882111486,5404... |
#include "DrillOperationData.h"
FDrillOperationData::FDrillOperationData() {
this->OperationNumber = 0;
this->CarveNoise = 0.00f;
}
|
; A125678: a(0) = 1; for n>0, a(n) = (a(n-1)^2 reduced mod n) + 1.
; 1,1,2,2,1,2,5,5,2,5,6,4,5,13,2,5,10,16,5,7,10,17,4,17,2,5,26,2,5,26,17,11,26,17,18,10,29,28,25,2,5,26,5,26,17,20,33,9,34,30,1,2,5,26,29,17,10,44,23,58,5,26,57,37,26,27,4,17,18,49,22,59,26,20,31,62,45,24,31,14,37,74,65,76,65,61,24,55,34,89,2,5,26,26,19... |
; A170640: Number of reduced words of length n in Coxeter group on 7 generators S_i with relations (S_i)^2 = (S_i S_j)^49 = I.
; 1,7,42,252,1512,9072,54432,326592,1959552,11757312,70543872,423263232,2539579392,15237476352,91424858112,548549148672,3291294892032,19747769352192,118486616113152,710919696678912,426551818007... |
#include "AsmCode.hpp"
int AsmCode::_offset = 0;
int AsmCode::_ifLabelCounter = 0;
std::vector<AsmCode::PAsmCommand> AsmCode::_commands = {};
std::map<std::string, AsmCode::PAsmConstant> AsmCode::_constants = {};
std::map<std::string, std::pair<int, int>> AsmCode::_offsetMap = {};
const AsmCode::AsmCommandsDi... |
copyright zengfr site:http://github.com/zengfr/romhack
010A82 clr.b ($7,A3) [enemy+ 6]
010A86 move.b (A4), ($59,A3)
011102 clr.b ($7,A3) [enemy+ 6]
011106 move.b (A4)+, D0
011458 clr.b ($7,A3) [enemy+ 6]
01145C move.b (A4)+, D0
011BF8 clr.b ($7,A3) [enemy+ 6]
011BFC move.b (A4), ($59,A3)
01259E... |
/*
* Copyright (c) 2017, Intel Corporation
*
* 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 without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
; Dummy function to keep rest of libs happy
;
; $Id: readbyte.asm,v 1.5 2016/03/06 21:39:54 dom Exp $
;
SECTION code_clib
PUBLIC readbyte
PUBLIC _readbyte
.readbyte
._readbyte
ret
|
; A142889: Primes congruent to 1 mod 63.
; Submitted by Jon Maiga
; 127,379,631,757,883,1009,2017,2143,2269,2521,2647,3529,3907,4159,4663,4789,5167,5419,5923,6301,6427,6553,6679,7057,7309,7561,7687,8191,8317,8443,8821,9199,9829,10333,10459,10711,10837,11467,11593,11719,11971,12097,12601,12853,12979,14869,15121,15373,15... |
; A100617: There are n people in a room. The first half (i.e., floor(n/2)) of them leave, then 1/3 (i.e., floor of 1/3) of those remaining leave, then 1/4, then 1/5, etc.; sequence gives number who remain at the end.
; 1,1,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8... |
;
; z88dk - Spectrum +3 stdio Library
;
; djm 10/4/2000
;
; int rename(char *source, char *dest)
;
; $Id: rename.asm,v 1.6 2017/01/02 21:02:22 aralbrec Exp $
SECTION code_clib
PUBLIC rename
PUBLIC _rename
EXTERN dodos
INCLUDE "p3dos.def"
.rename
._rename
pop bc
pop de ;new filename
pop hl ;old
... |
; A267991: Number of 2Xn arrays containing n copies of 0..2-1 with row sums and column sums nondecreasing.
; 1,4,5,15,21,57,85,220,341,858,1365,3368,5461,13276,21845,52479,87381,207861,349525,824527,1398101,3274395,5592405,13015081,22369621,51769813,89478485,206045841,357913941,820475513,1431655765,3268499356,572662306... |
; A017464: a(n) = (11*n + 6)^4.
; 1296,83521,614656,2313441,6250000,13845841,26873856,47458321,78074896,121550625,181063936,260144641,362673936,492884401,655360000,855036081,1097199376,1387488001,1731891456,2136750625,2608757776,3154956561,3782742016,4499860561,5314410000,6234839521,7269949696,8428892481,9721171216,111... |
#ifndef BOWLER_STATE_MANAGER_HPP
#define BOWLER_STATE_MANAGER_HPP
//////////////////////////////////////////////////////
// INCLUDES
//////////////////////////////////////////////////////
//////////////////////////////////////////////////////
// FORWARD DECLARATIONS
///////////////////////////////////////////////////... |
* Queue maintenance: test a queue V2.00 Tony Tebby QJUMP
*
section ioq
*
xdef ioq_test
xdef ioq_tstg test if byte ready to get
xref ioq_empty test empty queue for eof
xref ioq_nc set not complete
xref ioq_eof set end of file
*
include dev8_keys_err
include dev8_keys_qu
*
* d0 r error condition (0... |
db "JAW FISH@" ; species name
db "Rips the seabed up"
next "with its stretched"
next "jaw. Any swallowed"
page "sand and other"
next "minerals add to"
next "its metallic hide.@"
|
; A208331: Triangle of coefficients of polynomials v(n,x) jointly generated with A208330; see the Formula section.
; Submitted by Christian Krause
; 1,1,3,1,6,5,1,9,15,11,1,12,30,44,21,1,15,50,110,105,43,1,18,75,220,315,258,85,1,21,105,385,735,903,595,171,1,24,140,616,1470,2408,2380,1368,341,1,27,180,924,2646,5418,7140... |
; A172131: Partial sums of floor(n^2/9) (A056838).
; 0,0,0,1,2,4,8,13,20,29,40,53,69,87,108,133,161,193,229,269,313,362,415,473,537,606,681,762,849,942,1042,1148,1261,1382,1510,1646,1790,1942,2102,2271,2448,2634,2830,3035,3250,3475,3710,3955,4211,4477,4754,5043,5343,5655,5979,6315,6663,7024,7397,7783,8183,8596,9023,946... |
; A141530: a(n) = 4*n^3 - 6*n^2 + 1.
; 1,-1,9,55,161,351,649,1079,1665,2431,3401,4599,6049,7775,9801,12151,14849,17919,21385,25271,29601,34399,39689,45495,51841,58751,66249,74359,83105,92511,102601,113399,124929,137215,150281,164151,178849,194399,210825,228151,246401,265599,285769,306935,329121,352351,376649,402039,428... |
#include "pch.h"
#include <windows.h>
#include <mmdeviceapi.h>
#include <endpointvolume.h>
#define DLLExport __declspec(dllexport)
extern "C"
{
enum class VolumeUnit {
Decibel,
Scalar
};
//Gets volume
DLLExport float GetSystemVolume(VolumeUnit vUnit) {
HRESULT hr;
// -------------------------
CoInitia... |
// Solved
#include <iostream>
#include <set>
using namespace std;
int main()
{
int G, P, k;
cin >> G >> P;
set<int> gates;
for (int i = 1; i <= G; i++) gates.insert(-i); // negative so that we get greater than or equal to with lower_bound
for (int i = 0; i < P; i++)
{
cin >>... |
//
// Created by gtx on 2021/6/15.
//
#ifndef VISUAL_SLAM_GEOMETRY_HPP
#define VISUAL_SLAM_GEOMETRY_HPP
#include <iostream>
#include <string>
#include <opencv2/opencv.hpp>
#include <eigen3/Eigen/Core>
using namespace std;
using namespace cv;
using namespace Eigen;
namespace gtx_slam {
class GeometryUndistorter ... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4142434445464748",
"RBX": "0x5152535455565758",
"RCX": "0x0",
"RDI": "0xE0000020",
"RSI": "0xE0000010"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535... |
org 10000h
jmp Label_Start
%include "fat12.inc" ; 在同文件夹下
BaseOfKernelFile equ 0x00
OffsetOfKernelFile equ 0x100000
BaseTmpOfKernelAddr equ 0x00
OffsetTmpOfKernelFile equ 0x7E00
MemoryStructBufferAddr equ 0x7E00
[SECTION gdt] ; 32位下的GDT表
LABEL_GDT: dd 0,0
LABEL_DESC_CODE32: dd 0x0000FFFF,0x00CF9A... |
; A060784: Number of double tangents of order n.
; 0,4,0,0,28,120,324,700,1320,2268,3640,5544,8100,11440,15708,21060,27664,35700,45360,56848,70380,86184,104500,125580,149688,177100,208104,243000,282100,325728,374220,427924,487200,552420,623968,702240,787644,880600,981540,1090908,1209160,1336764,1474200,1621960,1780548,... |
; sp1_DrawUpdateStructIfNotRem(struct sp1_update *u)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_DrawUpdateStructIfNotRem_fastcall
EXTERN asm_sp1_DrawUpdateStructIfNotRem
_sp1_DrawUpdateStructIfNotRem_fastcall:
push ix
call asm_sp1_DrawUpdateStructIfNotRem
push ix
ret
|
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="addr, length, flags"/>
<%docstring>
Invokes the syscall msync. See 'man 2 msync' for more information.
Arguments:
addr(void): addr
len(size_t): len
flags(int): flags
</%docstring>
${syscall('SYS_msync', addr, length, flags)}
|
; A270869: a(n) = n^5 + 4*n^4 + 13*n^3 + 23*n^2 + 25*n + 3.
; 3,69,345,1203,3351,7953,16749,32175,57483,96861,155553,239979,357855,518313,732021,1011303,1370259,1824885,2393193,3095331,3953703,4993089,6240765,7726623,9483291,11546253,13953969,16747995,19973103,23677401,27912453,32733399,38199075,44372133,51319161,59110... |
; A289405: Binary representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 566", based on the 5-celled von Neumann neighborhood.
; Submitted by Jon Maiga
; 1,10,110,1100,11100,111000,1111000,11110000,111110000,1111100000,11111100... |
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_BMI2 proto VECCALL (byte)
align 16
uXm_has_BMI2 proc VECCALL (byte)
mov eax, 7
cp... |
/*
*
* REVISIONS:
* ker02DEC92: Initial breakout of sensor classes into indiv files
* pcy14Dec92: Changed READ_WRITE to AREAD_WRITE
*
*/
#define INCL_BASE
#define INCL_DOS
#define INCL_NOPM
#include "cdefine.h"
extern "C" {
#if (C_OS & C_OS2)
#include <os2.h>
#endif
#include <stdlib.h>
#in... |
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
// Put your code here.
//R0 -... |
TITLE Testing the Link Library (TestLib.asm)
; Use this program to test individual Irvine16
; library procedures.
INCLUDE Irvine16.inc
.data
.code
main PROC
mov ax,@data
mov ds,ax
exit
main ENDP
END main |
; A114283: Sequence array for binomial transform of Jacobsthal numbers A001045(n+1).
; 1,2,1,6,2,1,18,6,2,1,54,18,6,2,1,162,54,18,6,2,1,486,162,54,18,6,2,1,1458,486,162,54,18,6,2,1,4374,1458,486,162,54,18,6,2,1,13122,4374,1458,486,162,54,18,6,2,1,39366,13122,4374,1458,486,162,54,18,6,2,1,118098,39366,13122,4374,1458,48... |
// AUTO GENERATED by vnxcppcodegen
#ifndef INCLUDE_mmx_Contract_validate_return_HXX_
#define INCLUDE_mmx_Contract_validate_return_HXX_
#include <mmx/package.hxx>
#include <mmx/tx_out_t.hxx>
#include <vnx/Value.h>
namespace mmx {
class MMX_EXPORT Contract_validate_return : public ::vnx::Value {
public:
std::vec... |
/* ***********************************************************************
> File Name: IntersectionofTwoLinkedLists_160.cpp
> Author: zzy
> Mail: 942744575@qq.com
> Created Time: Tue 07 May 2019 06:39:59 PM CST
********************************************************************** */
#include <stdio.h>
#i... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="addr=0, length=4096, prot=7, flags=34, fd=-1, offset=0"/>
<%docstring>
Invokes the syscall mmap. See 'man 2 mmap' for more information.
Arguments:
addr(void): addr
length(size_t): length
prot(int): prot
flags(int): flags
fd(in... |
/*
*
* Copyright (c) 2020 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
; A134064: Let P(A) be the power set of an n-element set A. Then a(n) = the number of pairs of elements {x,y} of P(A) for which either 0) x and y are intersecting but for which x is not a subset of y and y is not a subset of x, or 1) x and y are intersecting and for which either x is a proper subset of y or y is a prop... |
__________________________________________________________________________________________________
# Write your MySQL query statement below
select * from cinema
where mod(id,2)=1 and description != ‘boring‘
order by rating desc
____________________________________________________________________________________________... |
;
;********************************************************************************************************
; uC/OS-II
; The Real-Time Kernel
;
;
; (c) Copyright 2009-2016; Micrium, Inc.; Weston, FL
; ... |
format elf
use32
include '../libc/ccall.inc'
section '.text' executable
section '.bss'
; This boot-record is hard coded to a
; (4096 * 1024) size ramdisk and heavily references the following linux
; commands:
;
; dd if=/dev/zero of=dosfs bs=4096 count=1024
; mkdosfs -F 16 dosfs -S 512 -s ... |
db DEX_TEDDIURSA ; pokedex id
db 60 ; base hp
db 80 ; base attack
db 50 ; base defense
db 40 ; base speed
db 50 ; base special
db NORMAL ; species type 1
db NORMAL ; species type 2
db 130 ; catch rate
db 104 ; base exp yield
INCBIN "pic/ymon/teddiursa.pic",0,1 ; 77, sprite dimensions
dw TeddiursaPicFront
dw TeddiursaPi... |
; A101092: Second partial sums of fifth powers (A000584).
; 1,34,310,1610,6035,18236,47244,109020,229845,450670,832546,1463254,2465255,4005080,6304280,9652056,14419689,21076890,30210190,42543490,58960891,80531924,108539300,144509300,190244925,247861926,319827834,409004110,518691535,652678960,815295536,1011466544,124677... |
SFX_Cry0F_1_Ch4:
dutycycle 241
squarenote 4, 15, 7, 1984
squarenote 12, 14, 6, 1986
squarenote 6, 11, 5, 1664
squarenote 4, 12, 4, 1648
squarenote 4, 11, 5, 1632
squarenote 8, 12, 1, 1600
endchannel
SFX_Cry0F_1_Ch5:
dutycycle 204
squarenote 3, 12, 7, 1921
squarenote 12, 11, 6, 1920
squarenote 6, 10, 5, 16... |
#include <iostream>
#include <iomanip>
#include "color/color.hpp"
int main( int argc, char *argv[] )
{
::color::xyz< float > c0; //!< Instead of float you may put std::uint8_t,std::uint16_t, std::uint32_t, std::uint64_t, double, long double
::color::xyy< std::uint8_t > c1; //!< Instea... |
; A306764: a(n) is a sequence of period 12: repeat [1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6].
; 1,1,6,2,1,3,2,2,3,1,2,6,1,1,6,2,1,3,2,2,3,1,2,6,1,1,6,2,1,3,2,2,3,1,2,6,1,1,6,2,1,3,2,2,3,1,2,6,1,1,6,2,1,3,2,2,3,1,2,6,1,1,6,2,1,3,2,2,3,1,2,6
bin $0,2
sub $0,1
gcd $0,6
|
; A052512: Number of rooted labeled trees of height at most 2.
; Submitted by Christian Krause
; 0,1,2,9,40,205,1176,7399,50576,372537,2936080,24617131,218521128,2045278261,20112821288,207162957135,2228888801056,24989309310961,291322555295904,3524580202643155,44176839081266360,572725044269255661,7668896804574138232,105... |
//////////////////////////////////////////////////////////////////////////////
// nv_branch16_macs.asm
// Copyright(c) 2021 Neal Smith.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// This file contains macros to branch based on 16 b... |
; A086254: Decimal expansion of Feller's beta coin-tossing constant.
; Submitted by Christian Krause
; 1,2,3,6,8,3,9,8,4,4,6,3,8,7,8,5,1,0,1,8,9,0,6,6,0,8,7,6,1,4,2,1,2,3,2,5,2,2,1,1,1,7,6,6,2,1,2,3,5,8,8,5,8,7,3,7,1,0,7,1,6,7,2,6,7,1,5,9,0,4,2,7,4,0,0,9,2,5,8,8,1,9,1,0,7,7,8,3,8,2,6,1,3,0,6,3,9,9,3,5
mov $1,1
mov $3,... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkDiscretizableColorTransferFunction.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details... |
# Copyright (C) 2001 Free Software Foundation, Inc.
# Written By Nick Clifton
#
# This file 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, or (at your option) any
# later version.
#
# ... |
#pragma once
#include <stdint.h>
#include <assert.h>
#include <utility>
#include <limits>
#include "SimdMaskTraits.hpp"
// This template class packs results of multiple vector tests in a single scalar.
// The default template parameters are for SSE1, they use 32-bit scalar, that's enough for 8 conditions. For wider SI... |
; A059036: In a triangle of numbers (such as that in A059032, A059033, A059034) how many entries lie above position (n,k)? Answer: T(n,k) = (n+1)*(k+1)-1 (n >= 0, k >= 0).
; Submitted by Jamie Morken(s4)
; 0,1,1,2,3,2,3,5,5,3,4,7,8,7,4,5,9,11,11,9,5,6,11,14,15,14,11,6,7,13,17,19,19,17,13,7,8,15,20,23,24,23,20,15,8,9,17... |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any da... |
;Allow sprite data to be located in extended region
org $01B09A
jmp.w SetSpriteDataPointer
padbyte $FF
pad $01B0AD
;Allow level names to be located in extended region
org $00C789
jml.l SetLevelNameDataPointer
padbyte $FF
pad $00C795
;Allow level messages to be located in extended region
org $01E19A
jmp.w SetLevelMes... |
#pragma once
#include <vector>
#include "eobject/eobject.hpp"
namespace elona
{
enum class TurnResult;
struct Inventory;
struct Item;
void initialize_home_adata();
TurnResult build_new_building(const ItemRef& deed);
TurnResult show_house_board();
void addbuilding(int related_town_quest_id, int building_type, i... |
SECTION code_clib
PUBLIC cleargraphics
PUBLIC _cleargraphics
EXTERN base_graphics
;
; $Id: clsgraph.asm,v 1.7 2017-01-02 22:57:59 aralbrec Exp $
;
; ******************************************************************
;
; Clear graphics area, i.e. reset all bits and sets graphics mode
;
; Design & programming... |
extern m7_ippsHMAC_Unpack:function
extern n8_ippsHMAC_Unpack:function
extern y8_ippsHMAC_Unpack:function
extern e9_ippsHMAC_Unpack:function
extern l9_ippsHMAC_Unpack:function
extern n0_ippsHMAC_Unpack:function
extern k0_ippsHMAC_Unpack:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment ... |
; A041618: Numerators of continued fraction convergents to sqrt(328).
; Submitted by Jon Maiga
; 18,163,5886,53137,1918818,17322499,625528782,5647081537,203920464114,1840931258563,66477445772382,600137943210001,21671443401332418,195643128555201763,7064824071388595886,63779059771052564737,2303110975829280926418,20791777... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1b353, %r15
nop
nop
nop
add %r13, %r13
movl $0x61626364, (%r15)
nop
nop
nop
nop
nop
add $5938, %r8
lea addresses_D_ht+0xed13, %rdi
nop
nop
dec %r12
vmovups (%rdi), %... |
/*
Copyright (c) 2009-2018, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... |
#ruledef test
{
ld1 {x: i8} => 0xaa @ x
ld2 {x: s8} => 0xbb @ x
ld3 {x: u8} => 0xcc @ x
}
ld1 "abc" ; error: failed / error: out of range
ld2 "ã" ; error: failed / error: out of range
ld3 "ü" ; error: failed / error: out of range |
; A110224: a(n) = Fibonacci(n)^3 + Fibonacci(n+1)^3.
; Submitted by Jon Maiga
; 1,2,9,35,152,637,2709,11458,48565,205679,871344,3690953,15635321,66231970,280563633,1188485803,5034507976,21326515877,90340574445,382688808866,1621095817661,6867072066967,29089384105824,123224608457425,521987817988657,2211175880326082,93666... |
; A114620: 2*A084158 (twice Pell triangles).
; Submitted by Jamie Morken(s3)
; 0,2,10,60,348,2030,11830,68952,401880,2342330,13652098,79570260,463769460,2703046502,15754509550,91824010800,535189555248,3119313320690,18180690368890,105964828892652,617608282987020
mov $3,1
lpb $0
sub $0,1
add $1,$3
mov $2,$3
add ... |
;
; KZ80_SB_MC6850用モジュール
; シリアル MC6850
;--------------------------------------------------------
UARTRC EQU 80H
UARTRD EQU 81H
;
BUFSIZ EQU 3FH
BUFFUL EQU 30H
BUFEMP EQU 5
;
RTSHIG EQU 0D6h
RTSLOW EQU 096h
;------------------------------------------------------------------------------
; 割り込みルーチン
;-----------------... |
;-----------------------------------------------------------------------------;
; Author: Ege Balcı <ege.balci[at]invictuseurope[dot]com>
; Compatible: Windows 10/8.1/8/7/2008/Vista/2003/XP/2000/NT4
; Version: 1.0 (25 January 2018)
; Size: 172 bytes
;---------------------------------------------------------------------... |
<% from pwnlib.shellcraft.i386 import pushstr %>
<% from pwnlib.shellcraft.i386.linux import socket, socketcall %>
<% from pwnlib.constants import SYS_socketcall_connect %>
<% from pwnlib.util.net import sockaddr %>
<%page args="host, port, network = 'ipv4'"/>
<%docstring>
Connects to the host on the specified port.
L... |
#include p18f87k22.inc
global LCD_Setup, LCD_Write_Message, LCD_Clear_Screen, LCD_delay_ms, LCD_Second_Line, LCD_Write_Message_new, LCD_Send_Byte_D, LCD_delay_x4us
global LCD_Write_Hex
acs0 udata_acs ; named variables in access ram
LCD_cnt_l res 1 ; reserve 1 byte for variable LCD_cnt_l
LCD_cnt_h ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xaf57, %rax
nop
nop
nop
add $40453, %rdi
vmovups (%rax), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %r14
nop
nop
nop
sub $47115, %r15
lea addresses_WC_ht+0x14727,... |
C arm/ecc-224-modp.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... |
; void writeString (char * s);
; ----------------------------
; This function prints a null terminated string to the standard output.
section .code
global _writeString
_writeString:
push rbp
mov rbp, rsp
push rdi
push rs... |
PUBLIC generic_console_caps
EXTERN CLIB_GENCON_CAPS
SECTION data_clib
generic_console_caps:
defb CLIB_GENCON_CAPS
|
// Copyright (c) 2014-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// Copyright (c) 2014-2017 The Arion Core developers
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
#include "validation.h"
#include "net.h"
#incl... |
; void ts_vmod(unsigned char mode)
SECTION code_clib
SECTION code_arch
PUBLIC ts_vmod
EXTERN asm_ts_vmod
defc ts_vmod = asm_ts_vmod
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _ts_vmod
defc _ts_vmod = ts_vmod
ENDIF
|
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 7/12/98 djm
;double amin(double x,double y)
;y is in the FA
;x is on the stack +8 (+2=y)
;
;returns the smaller of x and y
INCLUDE "fpp.def"
XLIB amin
LIB fsetup
... |
/**
\author: Trasier
\date: 2017.04.02
*/
#include <bits/stdc++.h>
using namespace std;
//#pragma comment(linker,"/STACK:102400000,1024000")
#include "input.h"
#include "monitor.h"
enum rule_t {
worker, task
};
union W_un {
double cost;
double pay;
double rate;
};
struct node_t {
rule_t type; // 0: task, 1... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE404_Improper_Resource_Shutdown__open_w32CloseHandle_81_goodB2G.cpp
Label Definition File: CWE404_Improper_Resource_Shutdown__open.label.xml
Template File: source-sinks-81_goodB2G.tmpl.cpp
*/
/*
* @description
* CWE: 404 Improper Resource Shutdown or Release
* ... |
SECTION code_fcntl
PUBLIC zx_01_output_fzx_tty_z88dk_22_at
zx_01_output_fzx_tty_z88dk_22_at:
; at x,y
; de = parameters *
ex de,hl
ld e,(hl) ; e = y coord
inc hl
ld l,(hl) ; l = x coord
xor a
ld d,a
ld h,a
ld (ix+35),l
ld (ix+36)... |
dnl X86-64 mpn_lshiftc optimised for AMD Zen.
dnl Copyright 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as p... |
; float __fssub_callee (float left, float right)
SECTION code_clib
SECTION code_fp_math32
PUBLIC cm32_sccz80_fssub_callee
EXTERN m32_fssub_callee
; subtract sccz80 float from sccz80 float
;
; enter : stack = sccz80_float left, ret
; DEHL = sccz80_float right
;
; exit : DEHL = scc... |
org 0x7c00
bits 16
jmp skip_bpb
nop
; El Torito Boot Information Table
; ↓ Set by mkisofs
times 8-($-$$) db 0
boot_info:
bi_PVD dd 0
bi_boot_LBA dd 0
bi_boot_len dd 0
bi_checksum dd 0
bi_reserved times 40 db 0
times 90-($-$$) db 0
skip_bpb:
cli
cld
jmp 0x0000:.initialise_cs
.i... |
; 0x00E2D714 (bombchu bowling hook)
logic_chus__bowling_lady_1:
; Change Bowling Alley check to Bombchus or Bomb Bag (Part 1)
lw at, BOMBCHUS_IN_LOGIC
beq at, r0, @@logic_chus_false
nop
@@logic_chus_true:
lb t7, lo(0x8011A64C)(t7)
li t8, 0x09; Bombchus
beq t7, t8, @@re... |
%include "../UltimaPatcher.asm"
%include "include/uw2.asm"
defineAddress 37, 0x0202, considerShiftStates
defineAddress 37, 0x024A, beginMovementKeyLoop
defineAddress 37, 0x026A, interpretScancode
defineAddress 37, 0x0344, nextMovementKey
defineAddress 37, 0x034D, endOfProc
%include "../uw1/movementKeys.asm"
|
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_F16C proto VECCALL (byte)
align 16
uXm_has_F16C proc VECCALL (byte)
mov eax, 1
cp... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x15862, %r11
nop
nop
nop
nop
nop
inc %r13
mov $0x6162636465666768, %rcx
movq %rcx, (%r11)
nop
nop
mfence
lea addresses_WC_ht+0x1905a, %rsi
lea addresses_D_ht+0xb7ae, %rdi
nop... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x5d78, %rsi
lea addresses_UC_ht+0x1905a, %rdi
nop
nop
nop
nop
nop
and $5510, %r11
mov $73, %rcx
rep movsl
nop
nop
sub $53791, %rdi
lea addresses_UC_ht+0xe5a, %r10
nop
xor %rcx... |
#include "ParquetBlockOutputFormat.h"
#if USE_PARQUET
// TODO: clean includes
#include <Columns/ColumnDecimal.h>
#include <Columns/ColumnFixedString.h>
#include <Columns/ColumnNullable.h>
#include <Columns/ColumnString.h>
#include <Columns/ColumnVector.h>
#include <Columns/ColumnsNumber.h>
#include <Common/assert_cas... |
#include "include/celex4/celex4.h"
#include "include/celex5/celex5.h"
#include <vector>
#include <iostream>
#ifdef _WIN32
#include <windows.h>
#else
#include<unistd.h>
#endif
using namespace std;
int main()
{
bool bCeleX4Device = false;
if (bCeleX4Device)
{
CeleX4 *pCeleX4 = new CeleX4;
if (NULL == pCeleX4)
... |
; A291578: The arithmetic function uhat(n,7,7).
; 1,1,1,1,1,1,-5,1,1,1,1,1,1,-5,1,1,1,1,1,1,-5,1,1,1,1,1,1,-5,1,1,1,1,1,1,-5,1,1,1,1,1,1,-5,1,1,1,1,1,1,-5,1,1,1,1,1,1,-5,1,1,1,1,1,1,-5,1,1,1,1,1,1,-5
add $0,1
gcd $0,7
sub $0,2
sub $1,$0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.