text stringlengths 1 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xad66, %rsi
lea addresses_WC_ht+0x510a, %rdi
clflush (%rdi)
nop
nop
add $5733, %rbx
mov $103, %rcx
rep movsq
and %r10, %r10
lea addresses_normal_ht+0x10066, %rdx
clflush (%rdx)
nop
xor $2631, %r... |
; A110240: Decimal form of binary integer produced by the ON cells at n-th generation following Wolfram's Rule 30 cellular automaton starting from a single ON-cell represented as 1.
; Submitted by Christian Krause
; 1,7,25,111,401,1783,6409,28479,102849,456263,1641433,7287855,26332369,116815671,420186569,1865727615,674... |
###############################################################################
# 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... |
;
; Old School Computer Architecture - interfacing FLOS
; Stefano Bodrato, 2011
;
; Get current volume
;
; $Id: get_current_volume.asm,v 1.3 2016/06/22 22:13:09 dom Exp $
;
INCLUDE "flos.def"
SECTION code_clib
PUBLIC get_current_volume
PUBLIC _get_current_volume
get_current_volume:
_get_current_volu... |
;=============================================================================|
; _______ _________ _______ _______ |
; ( ____ \\__ __/|\ /|( ____ \( ____ ) |
; | ( \/ ) ( | ) ( || ( \/| ( )| |
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x17fca, %rsi
lea addresses_normal_ht+0x1d989, %rdi
nop
nop
sub $38594, %r13
mov $65, %rcx
rep movsl
nop
nop
nop
nop
nop
inc %r9
lea addresses_normal_ht+0xb289, %rsi
nop
nop
nop... |
#!/bin/asmbf/bfmake
; An interpreter bitness check.
stk 3
org 0
seg 0
psh %return
jmp %bitness
@return
out r1
end
; label-less bitness test.
; r1 <= interpreter's bitness
@bitness
psh r2
clr r1
mov r2, 1
nav r2
raw .[
inc r1
asl r2
nav r2
raw .]
pop r2
ret
|
; A159465: Sums of odd numbers, omitting squares.
; 3,8,15,26,39,54,71,90,111,134,161,190,221,254,289,326,365,406,449,494,541,592,645,700,757,816,877,940,1005,1072,1141,1212,1285,1360,1437,1516,1599,1684,1771,1860,1951,2044,2139,2236,2335,2436,2539,2644,2751,2860,2971,3084,3199,3316,3435,3558,3683,3810,3939,4070,4203,4... |
.model compact
.386p
.code
;void memcpy (void far *dest, void far *str, U16B size);
public _memcpy
_memcpy proc far
push bp
mov bp,sp
push si
push di
... |
; load DH sectors to ES:BX from drive DL
disk_load :
pusha
push dx ; Save requested number of sectors for later checks
mov ah, 0x02 ; BIOS read sector function
mov al, dh ; Read DH sectors
mov ch, 0x00 ; Select cylinder 0
mov dh, 0x00 ; Select head 0
mov cl, 0x02 ; Start reading from second s... |
/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... |
;Fix music coming into the maridia portal
org $CFD924
db $1B, $05
;Fix for escape bomb block softlock by Capn
;Hijack the door ASM
org $cfe4cf
base $8fe4cf
jsr NewShaftDoorASM
rts
;Free space at ec00
org $cfec00
base $8fec00
NewShaftDoorASM:
;Start with Original ASM functions
php
%a8()
lda #$01
sta $7ecd38... |
aese z8.b,z8.b/*asm*/,z8.b
aese z1.b,z1.b/*asm*/,z8.b
aese z2.b,z2.b/*asm*/,z8.b
aese z4.b,z4.b/*asm*/,z8.b
aese z0.b,z0.b/*asm*/,z8.b
aese z16.b,z16.b/*asm*/,z8.b
aese z30.b,z30.b/*asm*/,z8.b
aese z31.b,z31.b/*asm*/,z8.b
aese z8.b,z8.b/*asm*/,z8.b
aese z8.b,z8.b/*asm*/,z1.b
aese z8.b,z8.b/*asm*/,z2.b
aese z8.b,z8.b/*a... |
;
; ZX Spectrum specific routines
; by Stefano Bodrato, 28/06/2006
;
; Copy a variable from basic
;
; int __CALLEE__ zx_setint_callee(char *variable, int value);
;
; $Id: zx_setint_callee.asm,v 1.5 2016/06/10 20:02:04 dom Exp $
;
SECTION code_clib
PUBLIC zx_setint_callee
PUBLIC _zx_setint_callee
PUBLIC AS... |
DOSSEG
.MODEL SMALL
.STACK 100h
.DATA
hobptr dw 0
hob dw 150h dup(0) ; allocate hob
; error messages
oomstr db 10,13,'Out of memory! Can not allocate another class.','$',0,0
.CODE
jmp START
; ------------ STANDARD FUNCTIONS BEGIN ----------:
new PROC
mov ax, hobptr ... |
global irq1
global int0
global int8
global intd
global inte
extern handle_keyboard
extern divide_error
extern double_fault
extern gpfault
extern pgfault
int0:
pusha
call divide_error
popa
iret
int8:
pusha
call double_fault
popa
add esp,4 ; remove error code
iret
intd:
pusha
call gpfault
popa
add esp,4 ; remove erro... |
SECTION code_clib
SECTION code_stdio
PUBLIC __stdio_scanf_n
EXTERN l_utod_de
__stdio_scanf_n:
; %n converter called from vfscanf()
;
; enter : hl = int *p
;
; exit : carry reset
;
; uses : all except ix
ld a,h
or l
ret z ; if assignment suppressed
exx
... |
#include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "init.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "addressbookpage.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#include "guiutil.h"
#include "askpassphrased... |
// Copyright (c) 2011-2016 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 "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "addresstablemodel.h"
#include "bitcoinunits.h"
#inclu... |
; _Noreturn void _exit(int status)
SECTION code_fcntl
PUBLIC _exit
EXTERN __Exit
defc _exit = __Exit
|
; A208900: Number of bitstrings of length n which (if having two or more runs) the last two runs have different lengths.
; 2,2,6,10,26,50,114,226,482,962,1986,3970,8066,16130,32514,65026,130562,261122,523266,1046530,2095106,4190210,8384514,16769026,33546242,67092482,134201346,268402690,536838146,1073676290,2147418114,4... |
; A192474: Constant term of the reduction by x^2->x+1 of the polynomial p(n,x)=1+x^(n+1)+x^(2n).
; Submitted by Jon Maiga
; 3,4,8,17,40,98,247,632,1632,4237,11036,28802,75259,196796,514840,1347257,3526176,9230050,24161999,63252752,165591088,433512149,1134931828,2971261442,7778817075,20365132468,53316487592,139584180257... |
; A062876: Numbers of lattice points corresponding to incrementally largest circle radii in A062875.
; Submitted by Jamie Morken(w4)
; 4,12,20,28,44,52,68,76,92,116,124,148,164,172,188,212,236,244,268,284,292,316,332,356,388,404,412,428,436,452,508,524,548,556,596,604,628,652,668,692,716,724,764,772,788,796,844,892,908... |
// Copyright 2013 The Flutter 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 "texture_contents.h"
#include "impeller/entity/contents/content_context.h"
#include "impeller/entity/entity.h"
#include "impeller/entity/mtl/text... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x11030, %rsi
lea addresses_D_ht+0x1d1b0, %rdi
clflush (%rsi)
clflush (%rdi)
nop
add %r8, %r8
mov $3, %rcx
rep movsb
xor %r10, %r10
lea addresses_UC_ht+0x1d8f0, %rsi
lea address... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x8070, %rsi
lea addresses_WT_ht+0x3b20, %rdi
nop
xor $50248, %r8
mov $52, %rcx
rep movsq
sub %rdi, %rdi
lea addresses_normal_ht+0x159c0, %rbx
nop
cmp $30206, %r13
mov (%rb... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 2.8.0 #5117 (May 29 2008) (UNIX)
; This file was generated Wed Apr 29 00:40:33 2009
;--------------------------------------------------------
.module fx2pipe
.optsdcc -mmcs51 --model-small
;... |
;
; Grundy Newbrain Specific libraries
;
; Stefano Bodrato - 30/05/2007
;
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
;
;
; $Id: fdgetpos.asm,v 1.4 2016/06/19 20:26:58 dom Exp $
SECTION code_clib
PUBLIC fdgetpos
PUBLIC _fdgetpos
.fdgetpos
._fdgetpos
ld hl,-1
ret
|
; Listing generated by Microsoft (R) Optimizing Compiler Version 18.00.21005.1
TITLE C:\Users\sickness\Documents\Visual Studio 2013\Projects\download_sc\download_sc\download_sc.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB OLDNAMES
PUBLIC _ExecPayload
PUBLIC _GetProcAddressByHash
; Functi... |
; A276853: Beatty sequence for 2*e.
; 0,5,10,16,21,27,32,38,43,48,54,59,65,70,76,81,86,92,97,103,108,114,119,125,130,135,141,146,152,157,163,168,173,179,184,190,195,201,206,212,217,222,228,233,239,244,250,255,260,266,271,277,282,288,293,299,304,309,315,320,326,331,337,342,347,353,358,364,369,375,380,385,391,396,402,407... |
;A Program to multpily 2 8 bit numbers stored
;at 0x0001 and 0x0002 and store it in 0x0003 by
;repeated addition method
LDA 0x0001
MOV C,A
LDA 0x0002
CMP C
JC START
;Step for making minimum number of additions
MOV B,A
MOV A,C
MOV C,B
;Actual multiplication
START: MVI B,0x00000
LXI H,0x0000
AGAIN: DAD B
DCR A
JNZ AG... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x11a6c, %rsi
lea addresses_normal_ht+0x835a, %rdi
nop
xor $51255, %r14
mov $86, %rcx
rep movsq
nop
sub $35191, %rsi
lea addresses_WC_ht+0x8168, %r10
nop
nop
sub $36278, %r12
movw $0x6162, (%r10)
... |
CeladonMart5Script:
jp EnableAutoTextBoxDrawing
CeladonMart5TextPointers:
dw CeladonMart5Text1
dw CeladonMart5Text2
dw CeladonMart5Clerk1Text
dw CeladonMart5Clerk2Text
dw CeladonMart5Text5
CeladonMart5Text1:
TX_FAR _CeladonMart5Text1
db "@"
CeladonMart5Text2:
TX_FAR _CeladonMart5Text2
db "@"
CeladonMart5T... |
; A310530: Coordination sequence Gal.5.134.1 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,4,10,16,22,28,34,40,44,48,54,60,66,72,78,84,88,92,98,104,110,116,122,128,132,136,142,148,154,160,166,172,176,180,186,192,198,204,210,216,2... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ReadTsc.Asm
;
; Abstract:
;
; AsmReadTsc function
;
; Notes:
;
;---------------------... |
;Board size is configures as a number between 0 to BOARD_MAX_SIZE.
BOARD_SIZE_MAX = 3
NextBoardSize .PROC
;Purpose:
; Set next board size.
;Input:
; board_zize
;Output:
; board_h, board_w, board_max_y, board_max_x, board_x, board_y
ldx board_size
cpx #BOARD_SIZE_MAX
sne
ldx #-1
inx
stx b... |
#include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "To use the %s option"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpa... |
;; $Header: /cvsroot/uuu/uuu/src/apps/init/init.asm,v 1.2 2001/12/15 20:03:01 instinc Exp $
;;
;; by Dave Poirier (instinc@users.sourceforge.net)
;; Distributed under the modified BSD License
;;
[bits 32]
;-------------
section .text
;----------------------------------------------------------------... |
# Bradley Grose
# Homework 2
###################
# Question 1:
# Convert 0Xfffffff9 (2’s complement representation) into decimal.
# = 0b1111 1111 1111 1111 1111 1111 1111 1111 1001
# = 0x0000 0000 0000 0000 0000 0000 0000 0000 0110
# = 0x0000 0000 0000 0000 0000 0000 0000 0000 0111
# = -7
##################... |
1000a8be: 55 push ebp
1000a8bf: 8b ec mov ebp,esp
1000a8c1: 83 ec 2c sub esp,0x2c
1000a8c4: 8b 45 08 mov eax,DWORD PTR [ebp+0x8]
1000a8c7: 0f b7 48 0a movzx ecx,WORD PTR [eax+0xa]
1000a8cb: 53 push ebx
1000a8cc: 8b d... |
#include "envoy/common/exception.h"
#include "common/buffer/buffer_impl.h"
#include "extensions/filters/network/thrift_proxy/auto_protocol_impl.h"
#include "extensions/filters/network/thrift_proxy/binary_protocol_impl.h"
#include "extensions/filters/network/thrift_proxy/compact_protocol_impl.h"
#include "extensions/f... |
; A264041: a(n) is the maximum number of diagonals that can be placed in an n X n grid made up of 1 X 1 unit squares when diagonals are placed in the unit squares in such a way that no two diagonals may cross or intersect at an endpoint.
; 1,3,6,10,16,21,29,36,46,55,68,78,93,105,122,136,156,171,193,210,234,253,280,300,... |
#pragma once
#include "Enums.hpp"
#include "Data.hpp"
class INI_Connector
{
sf::TcpSocket socket;
bool connected;
std::string username, db;
//Send packet to the user. Try max MAX_PACKET_TRIES times.
bool SendPacket(sf::Packet &packet, int max_tries = MAX_PACKET_TRIES)
{
int count = 0;
if (!connected) r... |
; A044422: Numbers n such that string 9,0 occurs in the base 10 representation of n but not of n-1.
; Submitted by Christian Krause
; 90,190,290,390,490,590,690,790,890,900,990,1090,1190,1290,1390,1490,1590,1690,1790,1890,1900,1990,2090,2190,2290,2390,2490,2590,2690,2790,2890,2900,2990,3090,3190,3290,3390,3490,3590
ad... |
/****************************************************************************
*
* Copyright (c) 2015 Roman Bapst. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions o... |
// kaldilm/csrc/arpa_file_parser_test.cc
//
// This file is copied/modified from
// https://github.com/kaldi-asr/kaldi/blob/master/src/lm/arpa-file-parser-test.cc
//
// Copyright 2016 Smart Action Company LLC (kkm)
//
#include "kaldilm/csrc/arpa_file_parser.h"
#ifdef NDEBUG
#undef NDEBUG
#include <cassert>
#define N... |
; A021225: Decimal expansion of 1/221.
; Submitted by Jamie Morken(m2)
; 0,0,4,5,2,4,8,8,6,8,7,7,8,2,8,0,5,4,2,9,8,6,4,2,5,3,3,9,3,6,6,5,1,5,8,3,7,1,0,4,0,7,2,3,9,8,1,9,0,0,4,5,2,4,8,8,6,8,7,7,8,2,8,0,5,4,2,9,8,6,4,2,5,3,3,9,3,6,6,5,1,5,8,3,7,1,0,4,0,7,2,3,9,8,1,9,0,0,4
seq $0,83811 ; Numbers n such that 2n+1 is the d... |
; A047394: Numbers that are congruent to {0, 1, 6} mod 8.
; 0,1,6,8,9,14,16,17,22,24,25,30,32,33,38,40,41,46,48,49,54,56,57,62,64,65,70,72,73,78,80,81,86,88,89,94,96,97,102,104,105,110,112,113,118,120,121,126,128,129,134,136,137,142,144,145,150,152,153,158,160,161,166,168,169,174,176,177,182,184,185,190,192,193,198,200... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x4ce4, %rsi
nop
nop
nop
nop
xor %rbp, %rbp
movw $0x6162, (%rsi)
nop
nop
nop
xor %r10, %r10
lea addresses_normal_ht+0x169e4, %rsi
lea addresses_A_ht+0x12764, %rdi
nop
nop
nop
inc... |
; A191968: a(n) = Fibonacci(8n+5) mod Fibonacci(8n+1).
; 29,1364,64079,3010349,141422324,6643838879,312119004989,14662949395604,688846502588399,32361122672259149,1520283919093591604,71420983074726546239,3355265920593054081629,157626077284798815290324,7405070366464951264563599,347880681146567910619198829,163429869435222... |
// (C) Copyright Gennadiy Rozental 2005-2010.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version ... |
/*
* Copyright © <2010>, 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, merg... |
#pragma once
#include <memory>
namespace oxi
{
class IScene;
class ISceneFactory;
class IController;
class Game
{
private:
const std::shared_ptr<ISceneFactory> scene_factory_;
const std::shared_ptr<IController> controller_;
public:
explicit Game(std::shared_ptr<ISceneFactory> scene_factory, std::shared... |
; A017654: (12n+11)^2.
; 121,529,1225,2209,3481,5041,6889,9025,11449,14161,17161,20449,24025,27889,32041,36481,41209,46225,51529,57121,63001,69169,75625,82369,89401,96721,104329,112225,120409
mul $0,12
add $0,11
pow $0,2
|
; $Id: tstRTPrfA.asm $
;; @file
; IPRT - Comparing CPU registers and memory (cache).
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it unde... |
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <fstream>
using namespace std;
struct symbol
{
char* str;
int coding;
};
char * keyword_list[35] = { "void", "char","int","float","double","short","long",
"signed","unsigned","struct","union","enum","type... |
; void sp1_PutTiles(struct sp1_Rect *r, struct sp1_tp *src)
; 02.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_temp_sp1
PUBLIC asm_sp1_PutTiles
EXTERN asm_sp1_GetUpdateStruct
asm_sp1_PutTiles:
; Copy a rectangular set of tiles and colours t... |
; A120492: 1 + Sum[ Prime[k]^(n-1), {k,1,n}].
; Submitted by Christian Krause
; 2,6,39,504,17765,552552,30870007,1387350084,103306557609,16762578985600,1290073179870299,216632259853089564,30312656885388018973,2922170957243151047352,378560698729260507690687
mov $3,$0
mov $5,$0
add $5,1
lpb $5
sub $5,1
sub $0,$5
s... |
; A052924: Expansion of g.f.: (1-x)/(1 - 3*x - x^2).
; 1,2,7,23,76,251,829,2738,9043,29867,98644,325799,1076041,3553922,11737807,38767343,128039836,422886851,1396700389,4612988018,15235664443,50319981347,166195608484,548906806799,1812916028881
mov $1,1
lpb $0,1
sub $0,1
add $3,$1
mov $2,$3
add $2,$4
mov $3,$... |
%include "macros/patch.inc"
%include "macros/datatypes.inc"
%include "TiberianSun.inc"
; Normally only factories with WeaponsFactory=true make use of
; their ProductionAnim. This patch makes other factories use
; their ProductionAnim= as well.
; -------------------
; Author: Rampastring
; BuildingClass::Exit_Object_U... |
; How to compile
; $ nasm -f elf64 max-sum-path.asm && gcc -no-pie -o max-sum-path max-sum-path.o
extern printf
SECTION .data
triangle:
dq 75
dq 95, 64
dq 17, 47, 82
dq 18, 35, 87, 10
dq 20, 4, 82, 47, 65
dq 19, 1, 23, 75, 3, 34
dq 88, 2, 77... |
// -------------------------------------------------------------------------------------------------
// Copyright 2016 - NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// ... |
; A241976: Values of k such that k^2 + (k+3)^2 is a square.
; Submitted by Christian Krause
; 0,9,60,357,2088,12177,70980,413709,2411280,14053977,81912588,477421557,2782616760,16218279009,94527057300,550944064797,3211137331488,18715879924137,109084142213340,635788973355909,3705649697922120,21598109214176817,12588300558... |
#ifndef BOOST_ARCHIVE_DINKUMWARE_HPP
#define BOOST_ARCHIVE_DINKUMWARE_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// dinkumware.hpp:
// (C) Copyright 2002 Robert Ramey - http://www.rrsd... |
; A138690: Numbers of the form 56+p^2 (where p is a prime).
; 60,65,81,105,177,225,345,417,585,897,1017,1425,1737,1905,2265,2865,3537,3777,4545,5097,5385,6297,6945,7977,9465,10257,10665,11505,11937,12825,16185,17217,18825,19377,22257,22857,24705,26625,27945,29985
seq $0,6005 ; The odd prime numbers together with 1.
po... |
; A000037: Numbers that are not squares (or, the nonsquares).
; Submitted by Jamie Morken(m2)
; 2,3,5,6,7,8,10,11,12,13,14,15,17,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,34,35,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,82,83,84,85,86... |
/****************************************************************************
**
** Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdin... |
; What music plays when a trainer notices you
TrainerEncounterMusic::
; entries correspond to trainer classes (see constants/trainer_constants.asm)
db MUSIC_HIKER_ENCOUNTER ; none
db MUSIC_YOUNGSTER_ENCOUNTER ; falkner
db MUSIC_LASS_ENCOUNTER ; whitney
db MUSIC_YOUNGSTER_ENCOUNTER ; bugsy
db MUSI... |
#include "TileEngine/RenderFun.h"
#include "SGP/Input.h"
#include "SGP/Random.h"
#include "Tactical/DialogueControl.h"
#include "Tactical/FOV.h"
#include "Tactical/HandleItems.h"
#include "TileEngine/Environment.h"
#include "TileEngine/FogOfWar.h"
#include "TileEngine/IsometricUtils.h"
#include "TileEngine/RenderWorld... |
; A032443: a(n) = Sum_{i=0..n} binomial(2*n, i).
; 1,3,11,42,163,638,2510,9908,39203,155382,616666,2449868,9740686,38754732,154276028,614429672,2448023843,9756737702,38897306018,155111585372,618679078298,2468152192772,9848142504068,39301087452632,156861290196878,626155256640188,2499759080159300,9980668967565048,3985314... |
; A033145: Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,0.
; 1,9,81,730,6570,59130,532171,4789539,43105851,387952660,3491573940,31424165460,282817489141,2545357402269,22908216620421,206173949583790,1855565546254110,16700089916286990,150300809246582911,13527072832192461... |
;==============================================================
; WATERSHED - A game by Matt Phillips - (c) 2014
;==============================================================
; BIG EVIL CORPORATION .co.uk
;==============================================================
; collision.asm - Collision data loading, ... |
#include <iostream> //Header Files
#include <string>
using namespace std;
bool digits(string str)
{
int k = 0;
for (int i = 0; i < str.length(); i++) {
if (isdigit(str[i]))
k++;
}
if (k == str.length())
return true;
else
return false;
}
int main() // Driver Co... |
#pragma once
#if DISPLAY_TYPE > 0
bool showTargetRA = true;
bool processRAKeys() {
byte key;
bool waitForRelease = false;
if (lcdButtons.currentState() == btnUP) {
if (RAselect == 0) { mount.targetRA().addHours(1); showTargetRA = true; }
if (RAselect == 1) { mount.targetRA().addMinutes(1); showTargetRA =... |
; int posix_memalign_unlocked(void **memptr, size_t alignment, size_t size)
SECTION code_clib
SECTION code_alloc_malloc
PUBLIC _posix_memalign_unlocked
EXTERN asm_posix_memalign_unlocked
_posix_memalign_unlocked:
pop af
pop de
pop bc
pop hl
push hl
push bc
push de
push af
jp asm... |
; A319956: Image of 3 under repeated application of the morphism 1 -> 1, 2 -> 22, 3 -> 312.
; 3,1,2,1,2,2,1,2,2,2,2,1,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2
mul $0,2
mov $1,2
mov $3,2
lpb $0,1
add $0,$3
add $... |
/**
* \file dnn/test/cuda/flip.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BAS... |
#include "InactiveState.h"
#include "ActiveState.h"
#include "DestructionState.h"
/**
* @brief Construct a new Inactive State:: Inactive State object
*
*/
InactiveState::InactiveState()
{
}
/**
* @brief Destroy the Inactive State:: Inactive State object
*
*/
InactiveState::~InactiveState()
{
}
/**
* @brief ... |
; A164606: a(n) = 10*a(n-1) - 17*a(n-2) for n > 1; a(0) = 1, a(1) = 21.
; Submitted by Christian Krause
; 1,21,193,1573,12449,97749,765857,5996837,46948801,367541781,2877288193,22524671653,176332817249,1380408754389,10806429650657,84597347681957,662264172758401,5184486816990741,40586377233014593,317727496441303333,2487... |
db "OWL@" ; species name
dw 204, 470 ; height, weight
db "It begins to hoot"
next "at the same time"
next "every day. Some"
page "trainers use them"
next "in place of"
next "clocks.@"
|
.MODEL small
.STACK
.DATA
message db "hello world$"
.CODE
.STARTUP
mov ch,23
mov al,24h
CMP ch AND al
.EXIT end
|
/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/helpers/string.h"
#include "core/memory_manager/graphics_allocation.h"
#include "core/memory_manager/unified_memory_manager.h"
#include "core/unit_tests/compiler_interface/linker_mock.h"
#include "runtime/memory_ma... |
; A279905: Number of 2 X 2 matrices with entries in {0,1,...,n} and odd trace with no elements repeated.
; 0,0,0,16,72,216,480,960,1680,2800,4320,6480,9240,12936,17472,23296,30240,38880,48960,61200,75240,91960,110880,133056,157872,186576,218400,254800,294840,340200,389760,445440,505920,573376,646272,727056,813960,90972... |
SECTION code_graphics
PUBLIC cleargraphics
; ******************************************************************
;
; Clear graphics area, i.e. reset all bits in graphics
; window (256x64 pixels)
;
; Design & programming by Gunther Strube, Copyright (C) InterLogic 1995
;
; Registers changed after return:
; a.... |
; A212793: Characteristic function of cubefree numbers, A004709.
; 1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1
seq $0,336551 ; a(n) = A003557(n) - 1.
seq $0,188 ; ... |
;; Regex: "(a+)(b+)"
;; TOKENS:
;; nextsym(): {LParen, '('}
;; nextsym(): {CharSym, 'a'}
;; nextsym(): {Plus, '+'}
;; nextsym(): {RParen, ')'}
;; nextsym(): {LParen, '('}
;; nextsym(): {CharSym, 'b'}
;; nextsym(): {Plus, '+'}
;; nextsym(): {RParen, ')'}
;; nextsym(): {Eof, ''}
;; PARSE TREE:
;; REGEX {
;; SUB {
;; ... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2008 Renato Araujo Oliveira Filho <renatox@gmail.com>
Copyright (c) 2000-2012 Torus Knot Softwar... |
#include <Windows.h>
#include <malloc.h>
#include "Render.h"
int ProcessorNumber;
typedef struct
{
int NLOS;
void *arg_global[23];
int *Done;
int res;
HANDLE M;
} LOSlist;
DWORD WINAPI LOSThread(LPVOID arg)
{
LOSlist *LL=(LOSlist*)arg;
int AllDone=0;
while (!AllDone)
{
int l=-1;
... |
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @brief launch testnet nodes
**/
#include <string>
#include <vector>
#include <math.h>
#include <sstream>
#include <regex>
#include <boost/algorithm/string.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/ip/host_name.hpp>
#include <boost/program_op... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rdx
push %rsi
lea addresses_WT_ht+0x140f2, %r11
nop
nop
nop
nop
nop
cmp %rsi, %rsi
movups (%r11), %xmm3
vpextrq $1, %xmm3, %rax
nop
nop
nop
cmp $20188, %rax
lea addresses_WT_ht+0x1a63a, %r8
nop
and %r11, %r11
movb (%r8), %al
nop
n... |
; A013785: a(n) = 6^(4n+3).
; 216,279936,362797056,470184984576,609359740010496,789730223053602816,1023490369077469249536,1326443518324400147398656,1719070799748422591028658176,2227915756473955677973140996096,2887378820390246558653190730940416,3742042951225759540014535187298779136,48496876647885843638588376027392177602... |
// 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... |
object_const_def ; object_event constants
const LAKEOFRAGEMAGIKARPHOUSE_FISHING_GURU
LakeOfRageMagikarpHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
MagikarpLengthRaterScript:
faceplayer
opentext
checkevent EVENT_LAKE_OF_RAGE_ELIXIR_ON_STANDBY
iftrue .GetReward
checkevent EVENT_LAKE_OF_RAGE_ASKED_... |
###############################################################################
# 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... |
#pragma once
#include "PSO2CameraTool.hpp"
#include <detours.h>
#include <d3d9.h>
#include <D3dx9core.h>
#include "Asm.h"
#include "imgui/settings_form.h"
bool m_bCreated = false;
bool wndproc_found = false;
D3DVIEWPORT9 viewport;
LPD3DXFONT dxFont;
HMODULE hmRendDx9Base = NULL;
HWND game_hwnd =... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xc867, %rax
nop
nop
nop
nop
nop
dec %r11
mov $0x6162636465666768, %r9
movq %r9, %xmm6
and $0xffffffffffffffc0, %rax
vmovaps %ymm6, (%rax)
nop
nop
and $12395, %r11
lea addresses_... |
;*******************************************************************************
;llmul.asm - long multiply routine
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; Defines long multiply routine
; Both signed and unsigned routines are the same, since multiply's
; ... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... |
; A233904: a(2n) = a(n) - n, a(2n+1) = a(n) + n, with a(0)=0.
; 0,0,-1,1,-3,1,-2,4,-7,1,-4,6,-8,4,-3,11,-15,1,-8,10,-14,6,-5,17,-20,4,-9,17,-17,11,-4,26,-31,1,-16,18,-26,10,-9,29,-34,6,-15,27,-27,17,-6,40,-44,4,-21,29,-35,17,-10,44,-45,11,-18,40,-34,26,-5,57,-63,1,-32,34,-50,18,-17,53,-62,10,-27,47,-47,29,-10,68,-74,6,... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: OVRInput
#inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.