text stringlengths 1 1.05M |
|---|
extern _bin2ascii
global _printNewline, _printFirstInputRequest, _printSecondInputRequest, _printOperatorRequest, _printResultMsg, _printErrorMsg
_printNewline:
MOV DX, CLEAR_LINE
JMP doSyscall
_printFirstInputRequest:
MOV DX, FIRST_NUMBER_MSG
JMP doSyscall
_printSecondInputRequest:
... |
[org 0x0100]
mov ax 0x0004
mov cx,0x0004
xor ax,cx
mov ax, 0x4c00
int 0x21 |
//-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 Ryo Suzuki
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <memory>
# include "IA... |
* File utilities v0.00 Apr 1988 J.R.Oakley QJUMP
*
section gen_util
*
include 'dev8_qdos_io'
include 'dev8_qdos_ioa'
include 'dev8_qdos_sms'
*
xdef gu_fopen
xdef gu_fclos
xdef gu_trap3
*+++
* Open a file for the current Job in ... |
Load Mem[0] ; valeur a (0)
CMP Mem[1] ; valeur b (1)
; Si b-a < 0 <=> a > b
JC 4 ; Alors suivre l'instr 4(2)
; Sinon ne rien faire
JMP 9 ; Aller à la fin du programme (3)
; Alors
Store Mem[2] ; (4)
Load Mem[1] ; (5)
Store Mem[0] ; (6)
Load Mem[2] ; (7)
Store Mem[1] ; (8)
; Après, faire l'affichage pour vérifier que... |
; A172066: Expansion of (2/(3*sqrt(1-4*z)-1+4*z))*((1-sqrt(1-4*z))/(2*z))^k with k=9.
; Submitted by Christian Krause
; 1,10,67,376,1912,9142,41941,186880,815083,3498146,14827487,62236064,259187048,1072567256,4415408372,18098359424,73915594466,300958990724,1222228100590,4952609171080,20030298812596,80876902778482,32609... |
// $Id$
/***********************************************************************
Moses - factored phrase-based language decoder
Copyright (C) 2006 University of Edinburgh
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by th... |
# @author Andrew Powell
# @date March 17, 2017
# @brief Implements the Jump application.
#
# Really simple application. Its only purpose is to force the
# Plasma-SoC's CPU to jump to the location of the main application
# which is assumed to be in memory already.
JUMP_ADDRESS = 0x01000000
.data
.text
.sectio... |
// slcrunch.cpp
// parse images from gray code binary image sequence(s)
// by John De Witt
#include <map>
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include "uti... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Epson late model 24-pin driver
FILE: epshi24lq510Info.asm
AUTHOR: Dave Durran, 27 Mar 1990
REVISION HISTORY:
Name Date Description
... |
; A334042: Write n^2 in binary, interchange 0's and 1's, convert back to decimal.
; 1,0,3,6,15,6,27,14,63,46,27,6,111,86,59,30,255,222,187,150,111,70,27,494,447,398,347,294,239,182,123,62,1023,958,891,822,751,678,603,526,447,366,283,198,111,22,1979,1886,1791,1694,1595,1494,1391,1286,1179,1070,959,846,731,614,495,374,25... |
; A157509: a(n) = 13122*n^2 - 324*n + 1.
; 12799,51841,117127,208657,326431,470449,640711,837217,1059967,1308961,1584199,1885681,2213407,2567377,2947591,3354049,3786751,4245697,4730887,5242321,5779999,6343921,6934087,7550497,8193151,8862049,9557191,10278577,11026207,11800081,12600199,13426561,14279167,15158017,16063111... |
vHangulCounter EQU $8F40
vHangulDest EQU $8E42
vHangulSrc EQU $8E44
vUploadedTile EQU $8E50
FontInfoTile EQU 8
MaxFontLimit EQU $32
;LegacyFont : Location of Legacy Font
PrintHangul::
;hl(TileMap) bc(Script Bytes), return a : FontBank
push hl
push bc
ld bc,-20
add hl,bc
pop bc
call FindUploadedTiles
cp a,$FF
... |
; A304659: a(n) = n*(n + 1)*(16*n - 1)/6.
; 0,5,31,94,210,395,665,1036,1524,2145,2915,3850,4966,6279,7805,9560,11560,13821,16359,19190,22330,25795,29601,33764,38300,43225,48555,54306,60494,67135,74245,81840,89936,98549,107695,117390,127650,138491,149929,161980,174660,187985,201971,216634,231990,248055,264845,282376,300... |
;xa -O PETSCII -o usrmod.prg usrmod.asm
; Modulo function using USR()
; Copyright 1992,1999 Peter Karlsson
; For Go64!/Commodore World magazine
*= 49152
.text
.word *
*= *-2
; BASIC ROM entry points used
usrvec = $0311
mov2f57 = $bbca
mov2f5c = $bbc7
frmnum = $ad8a
fdivmem = $bb0f
int = $bccc
... |
SECTION BANK_6
PUBLIC _music_module
_music_module:
BINARY "alley_cat.pt3"
PUBLIC _pcspeaker_module
_pcspeaker_module:
BINARY "pcspeaker_alleycat.pt3"
PUBLIC _sweet_module
_sweet_module:
BINARY "sweet.pt3"
|
/***********************************************************
LIMITEngine Source File
Copyright (C), LIMITGAME, 2020
-----------------------------------------------------------
@file MemoryAllocator.cpp
@brief Memory allocator
@author minseob (https://github.com/rasidin)
*****************************************... |
; A085409: Sum of three solutions of the Diophantine equation x^2 - y^2 = z^3.
; 0,12,84,270,624,1200,2052,3234,4800,6804,9300,12342,15984,20280,25284,31050,37632,45084,53460,62814,73200,84672,97284,111090,126144,142500,160212,179334,199920,222024,245700,271002,297984,326700,357204,389550
mov $1,$0
mul $1,3
mul $0,$1
... |
#include "pintype.h"
#include <QJsonValue>
#include <QHash>
#include <QString>
#include <QMap>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonValue>
QJsonValue PinType_toJson(PinType obj) {
return QJsonValue((int)obj);
}
PinType PinType_fromJson(QJsonValue node, bool *ok) {
bool success = node.i... |
; A134199: A002260 + A134082 - I as infinite lower triangular matrices; I = Identity matrix.
; Submitted by Jon Maiga
; 1,3,2,1,6,3,1,2,9,4,1,2,3,12,5,1,2,3,4,15,6,1,2,3,4,5,18,7,1,2,3,4,5,6,21,8,1,2,3,4,5,6,7,24,9,1,2,3,4,5,6,7,8,27,10
lpb $0
add $1,$2
add $2,1
sub $0,$2
cmp $1,$0
mul $1,$2
lpe
mul $1,2
add... |
; A277653: Number of n X 2 0..2 arrays with every element equal to some element at offset (-1,0) (-1,1) (0,-1) (0,1) or (1,0) both plus 1 mod 3 and minus 1 mod 3, with new values introduced in order 0..2.
; Submitted by Christian Krause
; 0,0,1,2,8,28,98,346,1218,4290,15110,53218,187438,660170,2325166,8189402,28843662,... |
// ©2015 Cameron Desrochers
// Tests various parts of the queue using the actual
// full implementation itself, instead of isolated
// components. This is much slower, but provides much
// better coverage too.
#define MCDBGQ_USE_RELACY
#include "../../concurrentqueue.h"
#include <string>
using namespace... |
.macro sqrt(%dest, %s)
# andi $t5, %s, 0xFFFF0000
# sra $t5, $t5, 16
# mtc1 $t5, $f0
# mtc1 $t6, $f1
# cvt.s.w $f0, $f0
# cvt.s.w $f1, $f1
# div.s $f1, $f1, $f2
# add.s $f0, $f0, $f1
# sqrt.s $f0, $f0
# cvt.w.s $f0, $f0
#round.w.s $f0, $f0
# mfc1 %dest, $f0
mtc1 %s, $f0
cvt.s.w $f0, $f0
sqrt.s $f0, $f0
cvt.w.s $f0... |
SSAnneCaptainsRoom_Object:
db $c ; border block
def_warps
warp 0, 7, 8, SS_ANNE_2F
def_signs
sign 4, 1, 2 ; SSAnne7Text2
sign 1, 2, 3 ; SSAnne7Text3
def_objects
object SPRITE_CAPTAIN, 4, 2, STAY, UP, 1 ; person
def_warps_to SS_ANNE_CAPTAINS_ROOM
|
SECTION code_l_sccz80
PUBLIC l_i64_asr_u
PUBLIC l_i64_asr_uo
EXTERN __i64_acc
EXTERN l_lsr_dehldehl
; Entry: __i64_acc = shift count
; sp + 2 = value to shift
l_i64_asr_u:
ld a,(__i64_acc+0)
l_i64_asr_uo:
pop bc
pop hl
pop de
exx
pop hl
pop d... |
frame 1, 06
frame 4, 07
frame 2, 50
setrepeat 3
frame 0, 09
frame 3, 09
dorepeat 4
endanim
|
; this is especially thanks to:
; http://web.archive.org/web/20140528193301/http://blog.markloiseau.com/2012/05/tiny-64-bit-elf-executables
BITS 64
org 0x00400000 ; Program load offset
; 64-bit ELF header
ehdr:
; 1), 0 (ABI ver.)
db 0x7F, "ELF", 2, 1, 1, 0 ; e_ident
times 8 db 0 ; reser... |
format ELF64 executable 3
entry start
include 'procs.inc'
segment readable
filename db 'filecreate.txt', 0h
content db 'hello world!', 0h
content.length = $ - content
segment readable executable
start:
mov rsi, 0777
mov rdi, filename
mov rax, 85
syscall
mov rdx, content.... |
; A271751: Period 10 zigzag sequence; repeat: [0, 1, 2, 3, 4, 5, 4, 3, 2, 1].
; 0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5,4,3,2,1,0,1,2,3,4,5
lpb $0,1
mul $0,9
mod $0,10
lpe
mov $1,$0
|
; SIZE: 3212
CreditsLine000:
;ORIGINAL GAME STAFF
db $00, $01, $9F
CreditsLine001:
;ORIGINAL GAME STAFF
db $06, $25, $28, $2B, $22, $20, $22, $27, $1A, $25, $9F, $20, $1A, $26, $1E, $9F, $2C, $2D, $1A, $1F, $1F
CreditsLine002:
;EXECUTIVE PRODUCER
db $07, $23, $3C, $4F, $3C, $3A, $4C, $4B, $40, ... |
;;
;; Copyright (c) 2012-2022, 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... |
; A083127: 3*n^3+n^2-4*n.
; 0,0,20,78,192,380,660,1050,1568,2232,3060,4070,5280,6708,8372,10290,12480,14960,17748,20862,24320,28140,32340,36938,41952,47400,53300,59670,66528,73892,81780,90210,99200,108768,118932,129710,141120,153180,165908,179322
mov $2,$0
sub $2,1
lpb $0,1
lpb $0,1
sub $0,1
add $3,3
add... |
; entries correspond to constants/move_constants.asm
; negative entries first (see the constants file for details)
dw BattleAnim_ThrowPokeBall
dw BattleAnim_SendOutMon
dw BattleAnim_ReturnMon
dw BattleAnim_Confused
dw BattleAnim_Slp
dw BattleAnim_Brn
dw BattleAnim_Psn
dw BattleAnim_Sap
dw BattleAnim_Frz
dw Ba... |
; A143098: First differences of A143097.
; 1,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1,2,2,-1
mov $2,$0
lpb $0
mul $2,$0
sub $0,$2
mod $0,3
mov $1,$0
mod $0,2
mov $3,$1
cmp $3,0
add $1,$... |
; vim:filetype=nasm ts=8
; libFLAC - Free Lossless Audio Codec library
; Copyright (C) 2001-2009 Josh Coalson
; Copyright (C) 2011-2013 Xiph.Org Foundation
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are ... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2017-2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <gtest/gtest.h>
#include "graphqlservice/internal/Grammar.h"
#include <tao/pegtl/contrib/analyze.hpp>
using namespace graphql;
using namespace graphql::peg;
using namespace tao::graphqlpeg;
TEST(PegtlExecutabl... |
; A273367: Numbers k such that 10*k+6 is a perfect square.
; 1,3,19,25,57,67,115,129,193,211,291,313,409,435,547,577,705,739,883,921,1081,1123,1299,1345,1537,1587,1795,1849,2073,2131,2371,2433,2689,2755,3027,3097,3385,3459,3763,3841,4161,4243,4579,4665,5017,5107,5475,5569,5953,6051,6451,6553,6969,7075,7507,7617,8065,81... |
// Copyright (c) 2021 MIT Digital Currency Initiative,
// Federal Reserve Bank of Boston
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef OPENCBDC_TX_SRC_NETWORK_SOCKET_SELECTOR_H_
#define OPENCBDC_TX_S... |
// ******************************************************************
// * *
// * Teensy User Interface *
// * *
// * ... |
#include "gtest/gtest.h"
#include "serial/Ref.h"
#include "serial/Referable.h"
using namespace serial;
namespace {
struct A : Referable<A> {
int value = 5;
static constexpr auto kTypeName = "a";
template<typename S, typename V> static void AcceptVisitor(S&, V&) {}
};
struct B : Referable<B> {
std::string valu... |
; A061495: a(n) = lcm(3n+1, 3n+2, 3n+3).
; 6,60,504,660,2730,2448,7980,6072,17550,12180,32736,21420,54834,34440,85140,51888,124950,74412,175560,102660,238266,137280,314364,178920,405150,228228,511920,285852,635970,352440,778596,428640,941094,515100,1124760,612468,1330890,721392,1560780,842520,1815726,976500,2097024,112... |
; compatibility_check.asm
extern check_multiboot2
extern check_cpuid
extern check_longmode
; paging.asm
extern setup_identity_paging
extern enable_paging
; main.cc
extern kmain
; set up stack
section .bss
align 16
stack_top:
resb 0x4000
stack_bottom:
section .text
; entry function
bits 32
global _start
_star... |
dnl Intel Pentium-4 mpn_mul_1 -- Multiply a limb vector with a limb and store
dnl the result in a second limb vector.
dnl Copyright 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or
dnl... |
; Test case:
CONSTANT: equ 0
label1:
nop
.local1:
1:
nop
IFDEF CONSTANT
.local2:
nop
.local3:
nop
ELSE
.local4:
nop
.local5:
nop
ENDIF
label2:
nop
loop:
jp loop
|
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC getmaxx
PUBLIC _getmaxx
EXTERN __spc1000_mode
.getmaxx
._getmaxx
ld a,(__spc1000_mode)
and a
ld hl, +63
ret z
ld hl,255
dec a
ret z
ld hl,127
ret
|
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.0 #11528 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... |
.586
.model flat
.code
_elimina_doppie proc
push ebp
mov ebp,esp
push esi
push edi
push ebx
mov ebx, dword ptr[ebp+8] ; src
mov edx, dword ptr[ebp+12]
mov esi, 0
mov edi,0
mov eax, 0
mov ecx, 0
primo_ciclo:
cmp edi, 2
je found
keep:
mov edi, 0
_loop:
mov al, byte ptr[ebx+esi]
inc esi
cmp al, 0
je fine
... |
/** @file ClimbStairs.cpp
* @brief LeetCode problems 70: ClimbStairs implementation
* @author ppeng
* @date 2019-06-16
*/
#pragma once
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include "extend.hpp"
class Solution {
public:
int climbStairs(int n) {
// preproces... |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_fzx_tty_z88dk_08_backspace
EXTERN zx_01_output_fzx_tty_z88dk_28_left
defc zx_01_output_fzx_tty_z88dk_08_backspace = zx_01_output_fzx_tty_z88dk_28_left
|
; A125602: Centered triangular numbers that are prime.
; Submitted by Jon Maiga
; 19,31,109,199,409,571,631,829,1489,1999,2341,2971,3529,4621,4789,7039,7669,8779,9721,10459,10711,13681,14851,16069,16381,17659,20011,20359,23251,25939,27541,29191,29611,31321,34429,36739,40099,40591,42589,44119,48871,51061,53299,55009,573... |
#include <string>
#include "envoy/registry/registry.h"
#include "external/envoy/source/common/config/json_utility.h"
#include "external/envoy/source/common/protobuf/message_validator_impl.h"
#include "api/server/response_options.pb.h"
#include "api/server/response_options.pb.validate.h"
#include "server/http_test_s... |
TITLE uiedit.asm - Misc user interface functions.
;***
;uiedit.asm
;
; Copyright <C> 1985-1988, Microsoft Corporation
;
;Purpose:
; Interface between CW and parsing code.
;
;
;*******************************************************************************
.xlist
include version.inc
UIEDIT_ASM = ON
CONTEXT_NOFUN... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Breadbox Computer Company 1997 -- All Rights Reserved
PROJECT: Import GIF library
FILE: impgif.asm
AUTHOR: Lysle Shields
ROUTINES:
Name Description
---- -----------
REVISION HISTORY... |
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <string>
#include "vpu/configuration/as_parameter_enabler.hpp"
namespace vpu {
namespace details {
enum class Access;
enum class Category;
} // namespace details
class PluginConfiguration;
struct Enabl... |
###############################################################################
# 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... |
; A017405: (11n+1)^5.
; 1,248832,6436343,45435424,184528125,550731776,1350125107,2887174368,5584059449,10000000000,16850581551,27027081632,41615795893,61917364224,89466096875,126049300576,173726604657
mul $0,11
add $0,1
pow $0,5
|
; A095263: a(n+3) = 3*a(n+2) - 2*a(n+1) + a(n).
; 1,3,7,16,37,86,200,465,1081,2513,5842,13581,31572,73396,170625,396655,922111,2143648,4983377,11584946,26931732,62608681,145547525,338356945,786584466,1828587033,4250949112,9882257736,22973462017,53406819691,124155792775,288627200960,670976837021,1559831901918,3626169232... |
;================================================================================
; Frame Hook
;--------------------------------------------------------------------------------
; $7EF42Ew[2] - loop frame counter (low)
!LOOP_FRAMES_LOW = "$7EF42E"
;------------------------------------------------------------------------... |
#include "constant_velocity_field.h"
namespace Kratos
{
void ConstantVelocityField::Evaluate(const double time, const array_1d<double, 3>& coor, array_1d<double, 3>& vector, const int i_thread)
{
vector[0] = mVx;
vector[1] = mVy;
vector[2] = mVz;
}
} // namespace Kratos.
|
; A069835: Define an array as follows: b(i,0)=b(0,j)=1, b(i,j) = 2*b(i-1,j-1) + b(i-1,j) + b(i,j-1). Then a(n) = b(n,n).
; Submitted by Jamie Morken(s4)
; 1,4,22,136,886,5944,40636,281488,1968934,13875544,98365972,700701808,5011371964,35961808432,258805997752,1867175631136,13500088649734,97794850668952,709626281415076,... |
; A020811: Decimal expansion of 1/sqrt(54).
; Submitted by Jamie Morken(s1.)
; 1,3,6,0,8,2,7,6,3,4,8,7,9,5,4,3,3,8,7,8,8,7,3,8,0,0,4,1,5,0,3,2,7,2,9,9,5,5,3,6,6,3,7,4,8,9,2,5,3,7,0,5,6,2,6,9,0,7,0,5,1,4,2,6,2,5,0,5,3,3,5,4,3,0,3,1,8,4,1,6,8,1,4,1,1,0,3,3,0,1,8,3,9,1,4,6,6,7,9,7
add $0,1
mov $1,2
mov $2,1
mov $3,$0
add... |
; scbb0_readchar
; 08.2009 aralbrec
PUBLIC scbb0_readchar
; read a char from the buffer if one is available
;
; enter : hl = & struct scbb0
; exit : a = char with carry reset if successful
; carry set if buffer empty
; uses : af, de, hl
.scbb0_readchar
dec (hl) ; ravail--
jp pe,... |
; A316344: An example of a word that is uniform morphic, but neither pure morphic, primitive morphic, nor recurrent.
; 2,2,0,2,0,1,2,1,0,1,2,0,2,1,0,2,0,1,2,0,2,1,0,1,2,1,0,2,0,1,2,1,0,1,2,0,2,1,0,1,2,1,0,2,0,1,2,0,2,1,0,2,0,1,2,1,0,1,2,0,2,1,0,2,0,1,2,0,2,1,0,1,2,1,0,2,0,1,2,0,2,1,0,2,0,1,2,1,0,1,2,0,2,1,0,1,2,1,0,2
... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; WriteDr1.Asm
;
; Abstract:
;
; AsmWriteDr1 function
;
; Notes:
;
;----------------------------------... |
;
; z88dk library: Generic VDP support code
;
; FILVRM
;
;
; $Id: gen_filvrm.asm,v 1.3 2016/06/16 19:30:25 dom Exp $
;
SECTION code_clib
PUBLIC FILVRM
EXTERN SETWRT
INCLUDE "msx/vdp.inc"
FILVRM:
push af
call SETWRT
loop: pop af
out (VDP_DATA),a
push af
dec bc
ld a,b
or c
jr nz,loop
pop af
r... |
dnl AMD64 mpn_sub_err1_n
dnl Copyright (C) 2009, David Harvey
dnl All rights reserved.
dnl Redistribution and use in source and binary forms, with or without
dnl modification, are permitted provided that the following conditions are
dnl met:
dnl 1. Redistributions of source code must retain the above copyrig... |
#pragma once
#include <mustache/utils/array_wrapper.hpp>
#include <mustache/ecs/component_mask.hpp>
#include <mustache/ecs/base_component_data_storage.hpp>
namespace mustache {
class MemoryManager;
class DefaultComponentDataStorage : public BaseComponentDataStorage {
public:
DefaultComponentData... |
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Timer
FILE: timerInit.asm
ROUTINES:
Name Description
---- -----------
EXT InitTimer Initialize the timer module
REVISION HISTORY:
Name... |
; A100531: a(n) = a(n-1) + (2*n - 1) mod 8 + 1 with a(0)=1.
; 1,3,7,13,21,23,27,33,41,43,47,53,61,63,67,73,81,83,87,93,101,103,107,113,121,123,127,133,141,143,147,153,161,163,167,173,181,183,187,193,201,203,207,213,221,223,227,233,241,243,247,253,261,263,267,273,281,283,287,293,301,303,307,313,321,323,327,333,341,343,3... |
; Filename: mkdir_polymorphic.nasm
; Author: Upayan a.k.a. slaeryan
; SLAE: 1525
; Contact: upayansaha@icloud.com
; Purpose: This is a x86 Linux null-free polymorphic shellcode for creating a
; directory with name "HACK" making the dir readable, writable and executable for
; everyone(chmod 777) and then exiting grace... |
; A073550: Number of Fibonacci numbers F(k), k <= 10^n, which end in 1.
; Submitted by Jamie Morken(s2)
; 3,14,134,1334,13334,133334,1333334,13333334,133333334,1333333334,13333333334,133333333334,1333333333334,13333333333334,133333333333334,1333333333333334,13333333333333334,133333333333333334
add $0,1
mov $1,10
pow $... |
dnl HP-PA mpn_rshift -- Shift a number right.
dnl Optimized for the PA7100, where is runs at 3.25 cycles/limb.
dnl Copyright 1992, 1994, 2000-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 i... |
#include <process.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <dir.h>
#include <dos.h>
#define INTR 0X1C
#ifdef __cplusplus
#define __CPPARGS ...
#else
#define __CPPARGS
#endif
void interrupt ( *oldhandler)(__CPPARGS);
void interrupt handler(__CPPARGS)
{
delay(13... |
.include "io.inc65"
.include "macros_65c02.inc65"
.include "font.h"
.zeropage
_vdp_reg0: .res 1
_vdp_reg1: .res 1
_vdp_color: .res 1
vdp_addr_nme: .res 2 ;* Address of name table
vdp_addr_col: .res 2 ;* Address of colour table
vdp_addr_pat: .res 2 ;* Address of pattern table
vdp_addr_spa: .res 2 ... |
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2019, Frans Bouma
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// Redistribution and use in source and ... |
; A214135: Number of 0..4 colorings on an nX3 array circular in the 3 direction with new values 0..4 introduced in row major order
; 1,17,514,16388,524296,16777232,536870944,17179869248,549755814016,17592186044672,562949953421824,18014398509483008,576460752303425536,18446744073709555712,590295810358705659904,1888946593... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
; ===============================================================
; ---------------------------------------------------------------
; Error handling and debugging modules
; 2016-2017, Vladikcomper
; ---------------------------------------------------------------
; String formatters : Decimal number
; -----------------... |
; A103440: a(n) = Sum[d|n, d==1 (mod 3), d^2] - Sum[d|n, d==2 (mod 3), d^2].
; Submitted by Christian Krause
; 1,-3,1,13,-24,-3,50,-51,1,72,-120,13,170,-150,-24,205,-288,-3,362,-312,50,360,-528,-51,601,-510,1,650,-840,72,962,-819,-120,864,-1200,13,1370,-1086,170,1224,-1680,-150,1850,-1560,-24,1584,-2208,205,2451,-1803,... |
call qword ptr [rip + _ZN3std2io5stdio6_printE@GOTPCREL]
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x15fb2, %rsi
lea addresses_D_ht+0xfa72, %rdi
nop
nop
xor %r15, %r15
mov $14, %rcx
rep movsb
nop
nop
nop
xor $47382, %rbp
lea addresses_D_ht+0x11332, %rdi
clflush (%rdi)
n... |
// Copyright 2013 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 "content/browser/service_worker/service_worker_storage.h"
#include <stddef.h>
#include <utility>
#include "base/bind_helpers.h"
#include "base/... |
#pragma once
#include "nwn_api.hpp"
#ifdef NWN_API_PROLOGUE
NWN_API_PROLOGUE(CExoTimers)
#endif
struct CExoTimersInternal;
struct CExoTimers
{
CExoTimersInternal * m_pcExoTimersInternal;
CExoTimers();
~CExoTimers();
uint32_t GetLowResolutionTimer();
uint64_t GetHighResolutionTimer();
#ifd... |
;------------------------------------------------------------------------------ ;
; 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... |
/*
* Copyright (c) 2009 Michael Niedermayer
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) a... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT:
MODULE:
FILE: tickertaperef.asm
AUTHOR: Adam de Boor, Dec 3, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descr... |
/*
* Copyright 2009-2017 Alibaba Cloud 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
*
* Unless required... |
# mp_limb_t mulredc1_15(mp_limb_t * z, const mp_limb_t x, const mp_limb_t * y,
# const mp_limb_t *m, mp_limb_t inv_m);
#
# Linux: z: %rdi, x: %rsi, y: %rdx, m: %rcx, inv_m: %r8
# Needs %rbx, %rsp, %rbp, %r12-%r15 restored
# Windows: z: %rcx, x: %rdx, y: %r8, m: %r9, inv_m: 28(%rsp)
# ... |
db 0x34, 0x54, 0x54, 0x34, 0x34, 0x34, 0x34, 0x34, 0x54, 0x54, 0x30, 0x34, 0x34, 0x34, 0x30, 0x34,
db 0x10, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xff, 0xdf,
db 0x34, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf,
db 0x34, 0xff, 0xdf,... |
; A027006: a(n) = T(2*n+1, n+3), T given by A026998.
; 1,34,281,1397,5353,17643,53062,150833,414210,1114160,2960806,7814074,20544191,53902532,141273663,370060623,969088727,2537431693,6643486220,17393369595,45537037936,119218243314,312118286876,817137321092,2139294503373,5600747154678,14662948081717,38388098384953,10050... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
; A170661: Number of reduced words of length n in Coxeter group on 28 generators S_i with relations (S_i)^2 = (S_i S_j)^49 = I.
; 1,28,756,20412,551124,14880348,401769396,10847773692,292889889684,7908027021468,213516729579636,5764951698650172,155653695863554644,4202649788315975388,113471544284531335476,3063731695682346... |
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; convert 1 to a double precision float and store in xmm0
mov ecx, 0
cvtsi2sd xmm0, ecx
; convert 2 to a double precision float and store in xmm1
mov ecx, 2
cvtsi2sd xmm1, ecx
;TEST_BEGIN_RECORDING
movsd xmm0, xmm1
;TEST_END_RECOR... |
; A159707: Numerator of Hermite(n, 4/21).
; Submitted by Christian Krause
; 1,8,-818,-20656,1999180,88867808,-8105441336,-535131970624,45761939043472,4141986697070720,-330122378550514976,-39173301696567870208,2889460903124553335488,437725912381470764965376,-29628751416174362424982400,-5642069577415795905192322048,34685... |
// Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Foundation Library source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf
// and may not be copied ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x46fd, %r11
nop
nop
nop
nop
nop
add %r14, %r14
movb $0x61, (%r11)
dec %rsi
lea addresses_A_ht+0xcfad, %rsi
lea addresses_D_ht+0x7c5d, %rdi
nop
nop
nop
sub %r8, %r8
mov $27... |
; HOTKEY Open console V2.00 1988 Tony Tebby QJUMP
section hotkey
xdef hk_cons
xref gu_fopen
include 'dev8_keys_qdos_ioa'
cons dc.w 15,'con_512x100a0x0'
;+++
; This routine opens a console.
;
; a0 r channel id
; error returns standard
;---
hk_con... |
/*
*********************************************************************************************************
* uC/LIB
* Custom Library Modules
*
* Copyright 2004-2020 Silicon Laboratories Inc. www.silabs.com
*
* ... |
.byte $80, $90, $50, $90, $00, $00, $00, $00, $00
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.