text stringlengths 1 1.05M |
|---|
; A133934: A007318 * (a diagonalized version of A124625).
; Submitted by Christian Krause
; 1,1,2,1,4,1,1,6,3,4,1,8,6,16,1,1,10,10,40,5,6,1,12,15,80,15,36,1,1,14,21,140,35,126,7,8,1,16,28,224,70,336,28,64,1,1,18,36,336,126,756,84,288,9,10
lpb $0
add $1,1
sub $0,$1
lpe
bin $1,$0
mov $2,$0
mod $2,2
mul $2,$1
mul $2,... |
/*
* CScaler.cpp
*
* Created on: 01.10.2011
* Author: gerstrong
*/
#include "CScaler.h"
#include "scalebit.h"
#include <graphics/GsSurface.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cassert>
/**
* Setters
*/
/*void CScaler::setDynamicFactor( const float wFac, const float hFac)... |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... |
; A078607: Least positive integer x such that 2*x^n > (x+1)^n.
; 1,2,3,4,6,7,9,10,12,13,14,16,17,19,20,22,23,25,26,27,29,30,32,33,35,36,38,39,40,42,43,45,46,48,49,50,52,53,55,56,58,59,61,62,63,65,66,68,69,71,72,74,75,76,78,79,81,82,84,85,87,88,89,91,92,94,95,97,98,100,101,102
mov $11,$0
sub $0,1
mul $0,4
mov $5,2
mov ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1302b, %rsi
lea addresses_WT_ht+0xe75c, %rdi
nop
nop
nop
nop
sub $28716, %rdx
mov $99, %rcx
rep movsw
sub %rdi, %rdi
lea addresses_D_ht+0x8ca7, %rdx
clflush (%rdx)
xor %r13, %r13
vmovu... |
#ifndef CPU_H
#define CPU_H
#include <vector>
#include "const.hpp"
#include "ram.hpp"
using namespace std;
class Instruction;
class Cpu {
public:
Cpu(Ram &ramIn) : ram(ramIn) { }
bool step();
void reset();
Instruction getInstruction() const;
vector<bool> getRegister() ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x18094, %r15
nop
nop
nop
sub %r11, %r11
movb (%r15), %cl
sub %rdx, %rdx
lea addresses_WT_ht+0x1cb94, %rbp
nop
nop
nop
cmp %r10, %r10
mov $0x6162636465666768, %r9
mov... |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
charmap "A", 1
SECTION "sec", ROM0[0]
_A_ EQU "A"
db _A_
|
/*************************************************************************
* Name : move.hpp
* Author: zmdsn
* Mail : zmdsn@126.com
* Created Time: 2020年11月18日 星期三 13时47分27秒
*
************************************************************************/
#ifndef __K_RELOCATE__HPP__
#define __K_RELOCATE__HPP__... |
<% from pwnlib.util import lists, packing, fiddling %>
<%page args="string, append_null = True"/>
<%docstring>
Pushes a string onto the stack without using
null bytes or newline characters.
Args:
string (str): The string to push.
append_null (bool): Whether to append a single NULL-byte before pushing.
</%docstring... |
;
; Generic pseudo graphics routines for text-only platforms
; Version for the 2x3 graphics symbols
;
; Written by Stefano Bodrato 19/12/2006
;
;
; Invert pixel at (x,y) coordinate.
;
;
; $Id: xorpixl.asm,v 1.7 2016-07-02 09:01:36 dom Exp $
;
INCLUDE "graphics/grafix.inc"
SECTION code_clib
... |
; A115790: 1 - (Floor((n+1)*Pi)-Floor(n*Pi)) mod 2.
; 0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0
sub $0,1
mod $0,7
trn $0,5
mov $1,$0
|
; A119332: Expansion of (1+x)/(1-2x^4).
; 1,1,0,0,2,2,0,0,4,4,0,0,8,8,0,0,16,16,0,0,32,32,0,0,64,64,0,0,128,128,0,0,256,256,0,0,512,512,0,0,1024,1024,0,0,2048,2048,0,0,4096,4096,0,0,8192,8192,0,0,16384,16384,0,0,32768
div $0,-2
dif $0,-2
mov $1,2
pow $1,$0
mov $0,$1
|
#pragma once
#include "config.hpp"
#include <fstream>
#include <string>
#include <memory>
#include <stdexcept>
namespace ORCore
{
// TODO - Could be useful to move into the VFS at some point.
// Also in the future we can have an alternative memory mapped file
// implementation when speed is less important... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xee20, %rsi
lea addresses_normal_ht+0x8760, %rdi
nop
nop
nop
sub %rbx, %rbx
mov $105, %rcx
rep movsb
nop
nop
nop
nop
nop
dec %r15
lea addresses_A_ht+0x92e6, %r11
nop
nop
cmp ... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 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 <txdb.h>
#include <chainparams.h>
#include <hash.h>
#include <random.h>... |
; void __CALLEE__ *im2_InstallISR_callee(uchar vector, void *isr)
; 04.2004 aralbrec
XLIB im2_InstallISR_callee
XDEF ASMDISP_IM2_INSTALLISR_CALLEE
.im2_InstallISR_callee
pop hl
pop de
ex (sp),hl
.asmentry
; enter: l = vector to install on (even by convention)
; de = new ISR address
; exit : hl = o... |
//////////////////////////////////////////////////////////////////////////
// monster_community.cpp: структура представления группировки для монстров
//
//////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "monster_community.h"
#define MONSTER_RELATIONS_SECT ... |
; A021282: Decimal expansion of 1/278.
; Submitted by Jon Maiga
; 0,0,3,5,9,7,1,2,2,3,0,2,1,5,8,2,7,3,3,8,1,2,9,4,9,6,4,0,2,8,7,7,6,9,7,8,4,1,7,2,6,6,1,8,7,0,5,0,3,5,9,7,1,2,2,3,0,2,1,5,8,2,7,3,3,8,1,2,9,4,9,6,4,0,2,8,7,7,6,9,7,8,4,1,7,2,6,6,1,8,7,0,5,0,3,5,9,7,1
seq $0,173833 ; 10^n - 3.
div $0,278
mod $0,10
|
NOP
; write to memory-mapped video
LDA #%i1i1i
.equ $wdddd video_start
.equ $ddddd video_end
STA video_start
STA $wdddd
STA $0zzzz
STA $0zzzy
STA $0zzzx
STA $0zzzw
STA $0zzz0
STA $0zzza
.equ -3282 chargen
.equ -3283 row
.equ -3284 col
.equ -3286 beep
; write to text character generator
LDA #'X
LDX #0
STX row
LDY #4... |
lda {m2}
sec
sbc {m3}+2
sta {m1}
lda {m2}+1
sbc {m3}+3
sta {m1}+1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x135af, %r11
clflush (%r11)
nop
nop
nop
cmp %rbx, %rbx
mov (%r11), %r8d
nop
nop
sub $7919, %rbp
lea addresses_WC_ht+0x180ef, %rsi
lea addresses_D_ht+0x15a87, %rdi
nop
nop
dec ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x13cec, %r13
nop
nop
nop
nop
cmp %rax, %rax
movups (%r13), %xmm4
vpextrq $1, %xmm4, %rsi
add $52156, %r14
lea addresses_WC_ht+0xc9ec, %rsi
lea addresses_normal_ht+0x1514c... |
; A288834: a(n) = (n+1) * 3^(n-1).
; 2,9,36,135,486,1701,5832,19683,65610,216513,708588,2302911,7440174,23914845,76527504,243931419,774840978,2453663097,7748409780,24407490807,76709256822,240588123669,753145430616,2353579470675,7343167948506,22876792454961
mov $1,$0
add $1,2
mov $2,3
pow $2,$0
mul $1,$2
|
.include "m16def.inc"
.DEF A = r16 ;input A - PORTA LSB(0)
.DEF B = r17 ;input B - PORTA LSB(1)
.DEF C = r18 ;input C - PORTA LSB(2)
.DEF D = r19 ;input D - PORTA LSB(3)
.DEF I = r20 ;register to store input
.DEF E = r21 ;register for temporary calculations
.DEF F = r22 ;register for temporary calculations
;=... |
; Automatically generated by configure - do not modify!
%define ARCH_AARCH64 0
%define ARCH_ALPHA 0
%define ARCH_ARM 0
%define ARCH_AVR32 0
%define ARCH_AVR32_AP 0
%define ARCH_AVR32_UC 0
%define ARCH_BFIN 0
%define ARCH_IA64 0
%define ARCH_M68K 0
%define ARCH_MIPS 0
%define ARCH_MIPS64 0
%define ARCH_PARISC 0
%define ... |
/*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... |
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2007 Giorgio Facchinetti
Copyright (C) 2007 Cristina Duminuco
Copyright (C) 2011 Ferdinando Ametrano
Copyright (C) 2015 Peter Caspers
This file is part of QuantLib, a free-software/open-source library
for financial ... |
; A079319: a(0) = 1; for n > 1, a(n) = 4*a(n-1) - (2^n-1).
; 1,3,9,29,101,373,1429,5589,22101,87893,350549,1400149,5596501,22377813,89494869,357946709,1431721301,5726754133,22906754389,91626493269,366504924501,1466017600853,5864066209109,23456256447829
mov $1,2
pow $1,$0
add $1,2
bin $1,2
sub $1,3
div $1,3
mul $1,2
ad... |
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include "single_layer_tests/mat_mul.hpp"
using namespace LayerTestsDefinitions;
namespace {
const std::vector<InferenceEngine::Precision> inputPrecisions = {
InferenceEngine::Precision::FP32
};
const ... |
bits 64
section .rodata
global _<name>_start
global _<name>_end
global _<name>_size
_<name>_start: incbin "<bin>"
_<name>_end:
_<name>_size: dd $ - _<name>_start
|
#include "../inc/Vertex.h"
namespace galg {
/*private*/
// Constructor
Vertex::Vertex(const std::pair<int,int>& coord,
const int& size,
const std::string& label,
const VertexShape& shape,
const boost::uuids::uuid& id):
Widget(coord, {size... |
include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTOpen, 4, Wintab, -, 21
|
#ifndef CONTEXT_SEAL_CKKS_HPP
#define CONTEXT_SEAL_CKKS_HPP
#include <seal/seal.h>
#include <cmath>
#include <complex>
#include <sstream>
#include <type_traits>
#include "bits.hpp"
#include "circuit.hpp"
#include "context.hpp"
namespace SHEEP {
// default plaintext template inheriting from Context, in case
// some... |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.text.style.WrapTogetherSpan
================================================================================*/
#ifndef J2CPP_INCL... |
;
; Plotting in Timex/ZX modes
;
SECTION code_graphics
PUBLIC xor_MODE0
xor_MODE0:
defc NEEDxor = 1
INCLUDE "pixel_MODE0.inc"
|
; A198017: a(n) = n*(7*n + 11)/2 + 1.
; 1,10,26,49,79,116,160,211,269,334,406,485,571,664,764,871,985,1106,1234,1369,1511,1660,1816,1979,2149,2326,2510,2701,2899,3104,3316,3535,3761,3994,4234,4481,4735,4996,5264,5539,5821,6110,6406,6709,7019,7336,7660,7991,8329,8674,9026,9385,9751,10124,10504,10891,11285,11686,12094,12... |
map_header SilphCo10F, SILPH_CO_10F, FACILITY, 0
end_map_header
|
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; 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 co... |
; A176281: Hankel transform of A176280.
; 1,3,12,56,280,1440,7488,39104,204544,1070592,5604864,29345792,153653248,804532224,4212572160,22057287680,115493404672,604731211776,3166413520896,16579556016128,86811681488896,454551863820288,2380064454868992,12462179269738496,65252817790566400,341668189647667200,178899786669018... |
; A089068: a(n) = a(n-1)+a(n-2)+a(n-3)+2 with a(0)=0, a(1)=0 and a(2)=1.
; 0,0,1,3,6,12,23,43,80,148,273,503,926,1704,3135,5767,10608,19512,35889,66011,121414,223316,410743,755475,1389536,2555756,4700769,8646063,15902590,29249424,53798079,98950095,181997600,334745776,615693473
sub $0,1
cal $0,301657 ; Number of nX3 0.... |
; A182770: Beatty sequence for 3-sqrt(2).
; 1,3,4,6,7,9,11,12,14,15,17,19,20,22,23,25,26,28,30,31,33,34,36,38,39,41,42,44,45,47,49,50,52,53,55,57,58,60,61,63,65,66,68,69,71,72,74,76,77,79,80,82,84,85,87,88,90,91,93,95,96,98,99,101,103,104,106,107,109,111,112,114,115,117,118,120,122,123,125,126,128,130,131,133,134,136,1... |
;------------------------------------------------------------------------------
;
; 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. Th... |
; A186150: Rank of (1/4)n^3 when {(1/4)i^3: i>=1} and {j^2>: j>=1} are jointly ranked with (1/4)i^3 after j^2 when (1/4)i^3=j^2. Complement of A186151.
; 1,3,5,8,10,13,16,19,22,25,29,32,36,40,44,48,52,56,60,64,69,73,78,82,87,92,97,102,107,112,117,122,127,133,138,144,149,155,160,166,172,178,183,189,195,201,208,214,220,... |
kp_song
kp_reloc
dc.w kp_song_registers
dc.w kp_speed
dc.w kp_grooveboxpos
dc.w kp_grooveboxlen
dc.w kp_groovebox
dc.w kp_patternlen
dc.w kp_patternmap_lo
dc.w kp_patternmap_hi
dc.w kp_insmap_lo
dc.w kp_insmap_hi
dc.w kp_volmap_lo
dc.w kp_volmap_hi
dc.w kp_sequence
kp_song_registers
kp_speed
dc.b $02
kp_g... |
;===========================================================================
; Serial.asm
;---------------------------------------------------------------------------
; Assembly x86 library
;
;
; Author: Ahmed Hussein
; Created:
;
;
; This file provide procedures to communicate ... |
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_TAG_ALIAS_HPP_INCLUDED
#define CATCH_TAG_ALIAS_HPP_INCLUDED
... |
; A170650: Number of reduced words of length n in Coxeter group on 17 generators S_i with relations (S_i)^2 = (S_i S_j)^49 = I.
; 1,17,272,4352,69632,1114112,17825792,285212672,4563402752,73014444032,1168231104512,18691697672192,299067162755072,4785074604081152,76561193665298432,1224979098644774912,19599665578316398592... |
; A022976: 20-n.
; 20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40
sub $0,20
mul $0,-120259084286
mov $1,$0
div $1,120259084286
|
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld b, 97
call lwaitly_b
ld a, b1
ldff(40), a
ld a, 07
ldff(4b), a
ld c, 41
ld a, 10
ldff(4a), a
ld a, 99
ldff(45), a
ld a, 40
ldff(c), a
xor a, a
ldff(0f), a
ld a, 02
ldff(ff), a
ei
.text@... |
; A284396: Positions of 2 in A284394.
; 5,11,14,20,26,29,35,38,44,50,53,59,65,68,74,77,83,89,92,98,101,107,113,116,122,128,131,137,140,146,152,155,161,167,170,176,179,185,191,194,200,203,209,215,218,224,230,233,239,242,248,254,257,263,266,272,278,281,287,293,296,302,305,311,317,320,326,332,335,341,344,350,356,359,365,3... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xb081, %rbp
nop
nop
nop
nop
sub %r8, %r8
mov $0x6162636465666768, %r11
movq %r11, (%rbp)
nop
nop
nop
nop
nop
sub %rbx, %rbx
lea addresses_UC_ht+0x65c5, %rsi
lea addresses_A_ht+... |
; A208903: The sum over all bitstrings b of length n with at least two runs of the number of runs in b not immediately followed by a longer run.
; 0,4,12,32,76,180,412,940,2108,4700,10364,22716,49404,106876,229884,492284,1049596,2229756,4720636,9964540,20975612,44046332,92282876,192950268,402669564,838885372,1744863228... |
dnl SPARC v9 64-bit mpn_submul_1 -- Multiply a limb vector with a limb and
dnl subtract the result from a second limb vector.
dnl Copyright 2001-2003 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 ... |
; A061397: Characteristic function sequence of primes multiplied componentwise by N, the natural numbers.
; Submitted by Jamie Morken(w3)
; 0,2,3,0,5,0,7,0,0,0,11,0,13,0,0,0,17,0,19,0,0,0,23,0,0,0,0,0,29,0,31,0,0,0,0,0,37,0,0,0,41,0,43,0,0,0,47,0,0,0,0,0,53,0,0,0,0,0,59,0,61,0,0,0,0,0,67,0,0,0,71,0,73,0,0,0,0,0,79,0,0,... |
// ReDucTor is an awesome guy who helped me a lot
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "Server.h"
#include "ClientHandle.h"
#include "Mobs/Monster.h"
#include "Root.h"
#include "World.h"
#include "Bindings/PluginManager.h"
#include "ChatColor.h"
#incl... |
// license:BSD-3-Clause
// copyright-holders:AJR
/**********************************************************************
This 8251-based RS232 compatible serial interface is described
in the article "Cross-Pollinating the Apple II" by Richard
Campbell, BYTE Volume 4 Number 4, April 1979, pages 20-25. It
... |
; A120799: 3^(n^2)-2^n.
; Submitted by Jon Maiga
; 0,1,77,19675,43046705,847288609411,150094635296999057,239299329230617529589955,3433683820292512484657849089025,443426488243037769948249630619149892291,515377520732011331036461129765621272702107520977,5391030899743293631239539488528815119194426882613553317155,5075287860... |
; ===============================================================
; Jun 2007
; ===============================================================
;
; void *zx_saddrpup(void *saddr)
;
; Modify screen address to move up one pixel.
;
; ===============================================================
SECTION code_clib
SECTIO... |
map_header SafariZoneEastRestHouse, SAFARI_ZONE_EAST_REST_HOUSE, GATE, 0
end_map_header
|
/****************************************************************************
Copyright (c) 2015 Cognitics, Inc.
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 with... |
; A225566: The set of magic numbers for an idealized harmonic oscillator atomic nucleus with a biaxially deformed prolate ellipsoid shape and an oscillator ratio of 3:1
; 2,4,6,12,18,24,36,48,60,80,100,120,150,180,210,252,294,336,392,448,504,576,648,720,810,900,990,1100,1210,1320,1452,1584,1716,1872,2028,2184,2366,2548... |
; void sp1_IterateUpdateRect(struct sp1_Rect *r, void *hook)
SECTION code_temp_sp1
PUBLIC _sp1_IterateUpdateRect
_sp1_IterateUpdateRect:
pop af
pop hl
pop bc
push bc
push hl
push af
push bc
ld d,(hl)
inc hl
ld e,(hl)
inc hl
ld b,(hl)
inc hl
ld c,(hl)
ex (sp),ix... |
boot_bz equ 0x7dbe;第一分区项引导标志的内存地址
data_fqsj equ 0x7000;保存主引导分区信息的数据段
org 0x7c00
start:;主引导代码
;获取当前引导设备的设备号
mov byte [data_fqsj+4],dl
;获取第一分区项引导标志的地址 [ds:di]
mov bx, boot_bz
mov ch, 1
pd_boot:
cmp ch, 4
jg boot_error;如果没找到主引导分区就抱引导错误
mov di,... |
; Returns SGN (SIGN) for 8 bits unsigned integera
__SGNU8:
or a
ret z
ld a, 1
ret
|
; A091483: a(n) = (4*n)^n.
; 1,4,64,1728,65536,3200000,191102976,13492928512,1099511627776,101559956668416,10485760000000000,1196683881290399744,149587343098087735296,20325604337285010030592,2982856619293778479415296,470184984576000000000000000,79228162514264337593543950336,14211879482945166685530717421568,270386457437... |
; A084130: a(n) = 8a(n-1)-8a(n-2), a(0)=1, a(1)=4.
; 1,4,24,160,1088,7424,50688,346112,2363392,16138240,110198784,752484352,5138284544,35086401536,239584935936,1635988275200,11171226714112,76281907511296,520885446377472,3556828310929408,24287542916415488
mov $1,1
mov $3,1
lpb $0,1
sub $0,1
mul $1,2
mov $2,$1
s... |
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by Alexander R. Pruss
; by Stefano Bodrato - Oct. 2003
;
;
;
; ------
; $Id: ozexitto.asm,v 1.4 2016/06/28 14:48:17 dom Exp $
;
SECTION code_clib
PUBLIC ozexitto
PUBLIC _ozexitto
EXTERN ozkeyclear
EXTERN ozungetch2
EXTERN cleanup ;exit
o... |
; A015579: Expansion of x/(1-9*x-2*x^2).
; Submitted by Jamie Morken(s4)
; 0,1,9,83,765,7051,64989,599003,5521005,50887051,469025469,4323003323,39845080845,367251734251,3384955769949,31199105398043,287561860122285,2650454951896651,24429218287314429,225163874489623163,2075333306981237325,19128327511810382251,17630561422... |
###############################################################################
# Copyright 2018 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... |
#ifndef _NETWORK_H_
#define _NETWORK_H_
#include <sys/types.h>
#include <sys/socket.h>
#include <iostream>
#include <vector>
enum ConnType { TCPCONN, UDPCONN };
class NetworkConnection
{
public:
// Constructor
NetworkConnection();
// Constructor with params.
NetworkConnection(ConnType ctype, std::str... |
;; $Header: /cvsroot/uuu/uuu/src/cells/memory_manager/meitnerium/meitnerium.asm,v 1.9 2001/12/07 01:46:30 daboy Exp $
;;
;; Meitnerium memory manager cell
;; Copyright (c) 2001 Phil Frost
;; Distributed under the BSD license, see file 'license' for details.
;;
;; when to use this cell:
;; ----------------------
;; Use ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x9da1, %rbp
nop
nop
nop
sub %rbx, %rbx
mov $0x6162636465666768, %r9
movq %r9, %xmm5
movups %xmm5, (%rbp)
nop
nop
sub %rax, %rax
lea addresses_WC_ht+0x11ea1, ... |
.model small
.stack
.data
.code
main proc
mov ah, 01h ;singel int or charecter / digit
int 21h ; input al regester *** fixt code for input
mov bl,al
mov ah, 01h
int 21h ; input in al resister
mov cl, al ;2nd input
int 21h
... |
;; ======================================================================== ;;
;; Use EMU_DETECT interface to query emulator version. ;;
;; ======================================================================== ;;
;* ======================================================================== *;
;* ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x186cb, %rdi
nop
add $39538, %r15
movups (%rdi), %xmm2
vpextrq $0, %xmm2, %r13
nop
nop
nop
nop
and %r10, %r10
lea addresses_normal_ht+0x126cb, %rsi
lea addresses_WC_ht+0x5513, %rdi
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1995 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel
FILE: geodesPatchCoreBlock.asm
AUTHOR: Paul Canavese, Jan 27, 1995
ROUTINES:
Name Description
---- -----------
(See geodesPatch.... |
; A151312: Number of walks within N^2 (the first quadrant of Z^2) starting at (0,0) and consisting of n steps taken from {(-1, -1), (-1, 1), (-1, 0), (1, -1), (1, 0), (1, 1)}.
; Submitted by Jon Maiga
; 1,2,10,39,210,960,5340,26250,148610,761796,4360356,22971102,132469260,711426144,4124979144,22471772895,130833575730,7... |
; /* aes_asm.asm
; *
; * Copyright (C) 2006-2016 wolfSSL Inc.
; *
; * This file is part of wolfssl. (formerly known as CyaSSL)
; *
; * wolfSSL is free software; you can redistribute it and/or modify
; * it under the term of the GNU General Public License as published by
; * the Free Software Foundation/either v... |
;*
;* CW : Character Windows Drivers
;*
;* fx_tandy.asm : Tandy 1000 DOS 3 LINKED-IN keyboard driver
;* DOES NOT include kbd_code
;* has data in application's data segment
;*****************************************************************************
include kbd_head.inc
include fxdrv.inc
include kbd3.inc
;* spe... |
LHLD C050
XCHG
LHLD C052
MVI C,00
DAD D
JNC AHEAD
INR C
AHEAD: SHLD C054
MOV A,C
STA C056
HLT
ORG 0
# DB 45H,A6H,23H,9BH
|
#ifndef _PROBLEM_HH_
#define _PROBLEM_HH_
#include <Eigen/Sparse>
#include <Eigen/Dense>
#include <fstream>
#include <sstream>
#include <iostream>
#include <unordered_map>
typedef double val;
typedef Eigen::SparseMatrix<val, Eigen::RowMajor> sp_mat;
typedef Eigen::Matrix<val, Eigen::Dynamic, Eigen::Dynamic, Eigen::Ro... |
page 49,132
TITLE ExId - SImple Id Executors
;***
;exid.asm - executors for simple id references.
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
; This module contains all exId executors.
;
; Simple variables may also be referenced by exVtRfxx executors.
; These are always nops, and are maintained w... |
/**
* Copyright (c) 2018-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/common/membership/StorageMembership.h"
#include <algorithm>
#incl... |
; ==================================================================
; MikeOS -- The Mike Operating System kernel
; Copyright (C) 2006 - 2019 MikeOS Developers -- see doc/LICENSE.TXT
;
; PORT INPUT AND OUTPUT ROUTINES
; ==================================================================
; ------------------------------... |
/// @file
/// Commodore 64 Registers and Constants
/// @file
/// The MOS 6526 Complex Interface Adapter (CIA)
///
/// http://archive.6502.org/datasheets/mos_6526_cia_recreated.pdf
// Commodore 64 PRG executable file
.file [name="sinus-sprites.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic,... |
/* ====================================================================
* The Vovida Software License, Version 1.0
*
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
/**
* @file compiler.cpp
* @author Marek Sedlacek
* @date July 2021
* @copyright Copyright 2021 Marek Sedlacek. All rights reserved.
*
* @brief Abstract data for all processing units
*
* Every input processing unit should extend processor class
* so that all needed information and methods are present in it.
... |
#include "config.h"
#include "softoff.hpp"
#include "libpldm/entity.h"
#include "libpldm/platform.h"
#include "libpldm/requester/pldm.h"
#include "libpldm/state_set.h"
#include "common/utils.hpp"
#include <sdbusplus/bus.hpp>
#include <sdeventplus/clock.hpp>
#include <sdeventplus/exception.hpp>
#include <sdeventplus... |
// See www.openfst.org for extensive documentation on this weighted
// finite-state transducer library.
#include <fst/script/fst-class.h>
#include <fst/script/script-impl.h>
#include <fst/script/shortest-distance.h>
namespace fst {
namespace script {
void ShortestDistance(const FstClass &fst, std::vector<WeightClass... |
[XCX_CLASSEXPX]
moduleMatches = 0xF882D5CF, 0x30B6E091, 0xAB97DE6B ; 1.0.1E, 1.0.2U, 1.0.1U
.origin = codecave
.int $mod
; ----------------------------------------------------------------------------
; WHO : addClassExpChara__Q2_6Battle14CBattleManagerFUiT1
; WHAT : Multiply the class experience given during combat... |
;
; PC-8801 specific routines
;
; int set_psg(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg.asm $
;
SECTION code_clib
PUBLIC set_psg
PUBLIC _set_psg
EXTERN set_psg_callee
EXTERN ASMDISP_SET_PSG_CALLEE
set_psg:
_set_psg:
pop bc
pop de
pop hl
push hl
push de
push bc
jp set_psg_callee... |
#include <bits/stdc++.h>
using namespace std;
int check_score (int n0, int n1) {
if (n0 > n1)
swap(n0,n1);
int score;
if (n0 == 1 && n1 == 2)
score = 999999;
else if (n0 == n1)
score = n1*100;
else
score = n1*10 + n0;
return score;
}
int main () {
int s0... |
; A183139: a(n) = [1/r]+[2/r]+...+[n/r], where r=sqrt(2) and []=floor.
; 0,1,3,5,8,12,16,21,27,34,41,49,58,67,77,88,100,112,125,139,153,168,184,200,217,235,254,273,293,314,335,357,380,404,428,453,479,505,532,560,588,617,647,678,709,741,774,807,841,876,912,948,985,1023,1061,1100,1140,1181,1222,1264,1307,1350,1394,1439,1... |
; ########################################################################################
; # Generated by the active disassembly feature of the Exodus emulation platform
; #
; # Creation Date: 2021-1-5 9:40:29
; # Analysis Region: 0x000038BE - 0x000038DC
; ###########################################################... |
#include "RRTStar.hpp"
void RRTStar::changeEdge(Tree::Node* parent, Tree::Node* son, Tree::Node* newParent)
{
tree.changeEdge(parent, son, newParent);
}
void RRTStar::getNear(const Geometry::Point& x, std::vector<Tree::Node*>& res)
{
tree.getNear(x, gamma, res);
} |
addi $8,$0,305419896
sw $8, 0($9)
lb $14, 0($9)
lb $15, 1($9)
lb $16, 2($9)
lb $17, 3($9) |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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
*
* https://www.apache.o... |
;(address, type, shiftRight, bits, digits, xPos, lineNumber)
%AddStat($7EF458, 1, 0, 32, 4, !FIRST_SWORD_X, !FIRST_SWORD_Y)
%AddStat($7EF45C, 1, 0, 32, 4, !PEGASUS_BOOTS_X, !PEGASUS_BOOTS_Y)
%AddStat($7EF460, 1, 0, 32, 4, !FLUTE_X, !FLUTE_Y)
%AddStat($7EF464, 1, 0, 32, 4, !MIRROR_X, !MIRROR_Y)
%AddStat($7EF452, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.