text stringlengths 1 1.05M |
|---|
#include "SystemInterface.h"
// DEFINING STATIC METHODS
ocilib::Statement SystemInterface::st;
ocilib::Connection SystemInterface::con;
std::string SystemInterface::name;
std::string SystemInterface::cpf;
std::string SystemInterface::email;
std::string SystemInterface::password;
std::string SystemInterface:... |
; $Id: bootsector2-boot-registers-1.asm 69222 2017-10-24 15:10:29Z vboxsync $
;; @file
; Bootsector that prints the register status at boot.
;
;
; 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 s... |
; A212701: Main transitions in systems of n particles with spin 3.
; 6,84,882,8232,72030,605052,4941258,39530064,311299254,2421216420,18643366434,142367525496,1079620401678,8138676874188,61040076556410,455765904954528,3389758918099302,25124095510618356,185639150161791186,1367867422244777160,10053825553499112126,7372805... |
; A196593: Number of fixed tree-like convex polyominoes.
; 1,2,6,18,51,134,328,758,1677,3594,7530,15530,31687,64190,129420,260142,521889,1045730,2093806,4190402,8384091,16772022,33548496,67102118,134210101,268426874,536861298,1073731098,2147471727,4294954094,8589920020,17179853150,34359720777,68719457490,137438932470,2... |
; A227683: Number of digits in n-th Mersenne number.
; 1,1,2,3,4,4,6,6,7,9,10,12,13,13,15,16,18,19,21,22,22,24,25,27,30,31,32,33,33,35,39,40,42,42,45,46,48,50,51,53,54,55,58,59,60,60,64,68,69,69,71,72,73,76,78,80,81,82,84,85,86,89,93,94,95,96,100
seq $0,1348 ; Mersenne numbers: 2^p - 1, where p is prime.
seq $0,55642 ... |
; A145923: Second bisection of A061041: a(n) = A061041(2n+1) = (2n+1)*(2n+9).
; 9,33,65,105,153,209,273,345,425,513,609,713,825,945,1073,1209,1353,1505,1665,1833,2009,2193,2385,2585,2793,3009,3233,3465,3705,3953,4209,4473,4745,5025,5313,5609,5913,6225,6545,6873,7209,7553,7905,8265,8633,9009,9393
mul $0,2
add $0,5
pow ... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... |
/*
* write something here!
*/
#include <opencv2/opencv.hpp>
#include <ctime>
#include <string>
#include <regex>
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>
//#define DEBUG
#define IMAGE_WIDTH 640
#define IMAGE_HEIGHT 360
#define CONTOUR_PIXEL_NUMBER_THRESH 500//pixels
#define RECORDING_TIME_BEFORE_M... |
; A055846: a(n) = 25*6^(n-2), with a(0)=1 and a(1)=4.
; 1,4,25,150,900,5400,32400,194400,1166400,6998400,41990400,251942400,1511654400,9069926400,54419558400,326517350400,1959104102400,11754624614400,70527747686400,423166486118400,2538998916710400
mov $4,2
mov $5,$0
lpb $4,1
sub $4,1
add $0,$4
sub $0,1
mov $2,... |
lda {m1} |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module music_track_107__Data
.optsdcc -mgbz80
;-----------------------------------------------------... |
// 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... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... |
;
; Copyright Null LLC
; Please read the License!
; _ _ _
; | | | | | |
; | |__ | |_ _ _ | | ____ ____
; | __)| | | | |/ || |/ ___) _ | gdt.asm
; | | | | |_| ( (_| | | ( ( | | Info about the CPU
; |_| |_|\__ |\____|_| \_||_|
; (____/
;
[bits 64]
LoadGDT:
lg... |
; SNES ROM startup code
;******************************************************************************
;*** Define a special section in case most of the code is not in bank 0. ***
;******************************************************************************
STACK EQU $1fff ;CHANGE THIS FOR YOUR S... |
list_item: MACRO
.__item\1
if (_NARG > 1)
db .__item\2 - .__item\1
endc
ENDM
current_list_item = 0
next_list_item: MACRO
next_list_item_index = current_list_item + 1
list_item {d:current_list_item}, {d:next_list_item_index}
current_list_item = next_list_item_index
ENDM
end_list_items: MACRO
list_item {d:current_l... |
; Date and time functions
; Get date and time and save to file using Disk Operating System interrupts.
; The program prints the date and saves it to file when running from emu8086 the path is:
; c:\emu8086\vdrive\c\date.txt
; when running from dos prompt the path is:
; c:\date.txt
name "datefile"
org 100h
TAB EQU... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Print Driver
FILE: stylesSRNLQPitch.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:... |
;
; Copyright (c) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;
; ==++==
;
;
; ==--==
.386
.model flat
option casemap:none
public _DoubleToNumber,_NumberToDouble
; NUMBER structure
nPrecision equ (dword ptr 0)
nScale e... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: point_callee.asm $
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void point(int x, int y)
;Result is true/false
SECTION code_graphics
... |
; A295904: Number of (not necessarily maximum) cliques in the n-sun graph.
; 6,12,20,32,52,88,156,288,548,1064,2092,4144,8244,16440,32828,65600,131140,262216,524364,1048656,2097236,4194392,8388700,16777312,33554532,67108968,134217836,268435568,536871028,1073741944,2147483772,4294967424,8589934724
mov $1,2
pow $1,$0
ad... |
ORG 100 / Somma (S) tra X e Y e calcolo del traboccamento (T)
LDA X
ADD Y
STA S
LDA X
CIL
CLA
CIR
ADD Y
SPA
HLT
CLA
CIR
ADD S
SNA
HLT
LDA T
CMA
STA T
HLT
X, HEX 7000
Y, HEX 1000
S, HEX 0
T, HEX 0
END
|
; void tshc_cls_wc_pix(struct r_Rect8 *r, uchar pix)
SECTION code_clib
SECTION code_arch
PUBLIC _tshc_cls_wc_pix_callee
PUBLIC l0_tshc_cls_wc_pix_callee
EXTERN asm_tshc_cls_wc_pix
_tshc_cls_wc_pix_callee:
pop hl
pop de
dec sp
ex (sp),hl
ld l,h
l0_tshc_cls_wc_pix_callee:
push de
ex (sp),i... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xa3fb, %r10
nop
nop
nop
nop
add $10631, %rbx
mov (%r10), %esi
nop
nop
nop
nop
and $413, %r12
lea addresses_normal_ht+0x1604b, %r10
nop
nop
sub %rdx, %rdx
mov (%r10), %r8w
... |
; A135403: a(n) = 1 + 111110*n.
; 1,111111,222221,333331,444441,555551,666661,777771,888881,999991,1111101,1222211,1333321,1444431,1555541,1666651,1777761,1888871,1999981,2111091,2222201,2333311,2444421,2555531,2666641,2777751,2888861,2999971,3111081,3222191,3333301,3444411,3555521,3666631,3777741,3888851,3999961,41110... |
/*=========================================================================
Program: ParaView
Module: pqPlotMatrixView.h
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the Para... |
.file "(extract)sblat2.f"
.section .rodata
.align 4
.LC20:
.long 1
.align 4
.LC21:
.long 0
.LC22:
.ascii "/"
.align 4
.LC23:
.long -1
.LC24:
.ascii "N"
.align 4
.LC25:
.long 2
.LC26:
.ascii "U"
.align 4
.LC27:
.ascii "( ' ', A6, ' PASSED THE TESTS OF ERROR-EXITS' )"
.align 4
.LC28:
.ascii "( ' **... |
dnl PowerPC-32 mpn_addmul_1 -- Multiply a limb vector with a limb and add the
dnl result to a second limb vector.
dnl Copyright 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2005 Free Software
dnl Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistr... |
;================================================================================
; Randomize Book of Mudora
;--------------------------------------------------------------------------------
LoadLibraryItemGFX:
LDA.l LibraryItem
JSL.l PrepDynamicTile
RTL
;-----------------------------------------------------------... |
SECTION code_compiler
GLOBAL _zx_exit_msg_call
GLOBAL _zx_exit_msg
GLOBAL _zx_romcall_stdstack
SYSVAR_DEFADD equ $5C0B
SYSVAR_ERR_NR equ $5C3A
SYSVAR_ERR_SP equ $5C3D
ROM3_SET_MIN equ $16B0
ROM3_CLS_LOWER equ $0D6E
_zx_exit_msg:
pop hl ; ... |
10 *=$c000 ; starting address of assembled code
20 chrout=$ffd2 ; routine in kernal to ouput one char on screen
30 jsr dispmsg ; jump to subroutine dispmsg
40 rts ; end of program
50 dispmsg lda #$48 ; load $48 in the accumulator
60 jsr chrout ; print the equivalent ascii char on sc... |
; A062777: 2^n - mu(n).
; 1,5,9,16,33,63,129,256,512,1023,2049,4096,8193,16383,32767,65536,131073,262144,524289,1048576,2097151,4194303,8388609,16777216,33554432,67108863,134217728,268435456,536870913,1073741825,2147483649
add $0,1
mov $1,2
pow $1,$0
sub $0,1
seq $0,8683 ; Möbius (or Moebius) function mu(n). mu(1) = 1... |
; A301461: Number of integers less than or equal to n whose largest prime factor is 3.
; 0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11
lpb $0
mov $2,$0
trn $3,2
lpb $2
add ... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
#include "PID.h"
#include <algorithm>
// using namespace std;
PID::PID() {}
PID::~PID() {}
void PID::Init(double Kp, double Ki, double Kd) {
PID::Kp = Kp;
PID::Ki = Ki;
PID::Kd = Kd;
p_error = 0.0;
i_error = 0.0;
d_error = 0.0;
// Previous cte.
prev_cte = 0.0;
// Counters.
counter = 0;
err... |
; A009988: Powers of 44.
; 1,44,1936,85184,3748096,164916224,7256313856,319277809664,14048223625216,618121839509504,27197360938418176,1196683881290399744,52654090776777588736,2316779994178213904384,101938319743841411792896,4485286068729022118887424,197352587024076973231046656,8683513829059386822166052864,38207460847861... |
#include "DatabaseTk.h"
#include <common/app/log/LogContext.h>
#include <common/storage/striping/Raid0Pattern.h>
#include <common/toolkit/FsckTk.h>
#include <common/toolkit/StringTk.h>
#include <database/FsckDB.h>
#include <database/FsckDBTable.h>
#include <common/storage/Path.h>
#include <common/toolkit/StorageTk.h>
... |
; A308186: Fixed point (beginning with a) of the morphism a -> abab, b -> b, over the alphabet {a,b} = {1,2}.
; 1,2,1,2,2,1,2,1,2,2,2,1,2,1,2,2,1,2,1,2,2,2,2,1,2,1,2,2,1,2,1,2,2,2,1,2,1,2,2,1,2,1,2,2,2,2,2,1,2,1,2,2,1,2,1,2,2,2,1,2,1,2,2,1,2,1,2,2,2,2,1,2,1,2,2,1,2,1,2,2,2,1,2,1,2,2,1,2,1,2,2,2,2,2,2,1,2,1,2,2
mov $2,... |
SECTION code_fp_math32
PUBLIC _sqrt_fastcall
EXTERN m32_fssqrt_fastcall
defc _sqrt_fastcall = m32_fssqrt_fastcall
|
main:
addi $t0, $t0, 2000
sw $t0, 2000($zero)
lw $s0, 2000($zero)
sw $t1, 0($s0)
sw $t0, 0($s0)
j exit
exit:
|
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF
;TEST_FILE_META_END
; Shr8R1
mov al, 0x4F
;TEST_BEGIN_RECORDING
shr al, 0x1
;TEST_END_RECORDING
|
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float z
//
/... |
; A017287: a(n) = (10*n + 1)^7.
; 1,19487171,1801088541,27512614111,194754273881,897410677851,3142742836021,9095120158391,22876792454961,51676101935731,107213535210701,207616015289871,379749833583241,662062621900811,1107984764452581,1789940649848551,2804020163098721,4275360817613091,6364290927201661,9273284218074431,13... |
//
// Author: Jon Trulson <jon@radscan.com>
// Copyright (c) 1994-2018 Jon Trulson
//
// The MIT License
//
// 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, includin... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: Facebook.WitAi.IVoiceService
#include "Facebook/WitAi/IVoiceService.hpp"
// Completed... |
extern kmain
global start
section .text
bits 32
start:
; Move Multiboot info pointer to edi to pass it to the kernel. We must not
; modify the `edi` register until the kernel it called.
mov edi, ebx
mov eax, p4_table
or eax, 0b11 ; present + writable
mov [p4_table + 511 * 8], eax
; Point the first ent... |
/* ----------------------------------------------------------------------
SPPARKS - Stochastic Parallel PARticle Kinetic Simulator
http://www.cs.sandia.gov/~sjplimp/spparks.html
Steve Plimpton, sjplimp@sandia.gov, Sandia National Laboratories
Copyright (2008) Sandia Corporation. Under the terms of Contrac... |
/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2021 Baldur Karlsson
*
* 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... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ReadGs.Asm
;
; Abstract:
;
; AsmReadGs function
;
; Notes:
;
;-----------------------... |
; A276508: a(n) = (2*5^n + 3*(-1)^(floor((n-1)/3)) + (-1)^n)/6.
; Submitted by Jamie Morken(s1)
; 0,2,9,42,208,1041,5208,26042,130209,651042,3255208,16276041,81380208,406901042,2034505209,10172526042,50862630208,254313151041,1271565755208,6357828776042,31789143880209,158945719401042,794728597005208,3973642985026041,198... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rsi
lea addresses_WC_ht+0x5472, %r11
nop
nop
nop
nop
nop
xor $42673, %rsi
movb (%r11), %r14b
add $198, %r15
pop %rsi
pop %r15
pop %r14
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r9
push %rbp
push %rcx
push %rdi
... |
//===--- IRGenSIL.cpp - Swift Per-Function IR Generation ------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
MODULE Dandanator
@DandanatorDisableLowerROM:
; Disable Dandanator lower ROM so system lower ROM is accessible
ld a, %10000011
jr DandanatorConfigCommandSequence
@DandanatorEnableLowerROM:
; Enable Dandanator lower ROM
ld a, %10000010
jr DandanatorConfigCommandSequence
DandanatorConfigCommandSequence:
ld iy,... |
; A163661: a(n) = n*(2*n^2 + 5*n + 17)/2.
; 0,12,35,75,138,230,357,525,740,1008,1335,1727,2190,2730,3353,4065,4872,5780,6795,7923,9170,10542,12045,13685,15468,17400,19487,21735,24150,26738,29505,32457,35600,38940,42483,46235,50202,54390,58805,63453,68340,73472,78855,84495,90398,96570,103017,109745,116760,124068,131675,... |
SECTION code_clib
PUBLIC xor_MODE0
.xor_MODE0
ld a,l
cp 48
ret nc
ld a,h
cp 64
ret nc
defc NEEDxor = 1
INCLUDE "gfx/gencon/pixel6.inc"
|
; A082144: A subdiagonal of number array A082137.
; 1,4,30,224,1680,12672,96096,732160,5601024,42997760,331082752,2556051456,19778969600,153363087360,1191302553600,9268801044480,72219408138240,563445537177600,4401135695953920,34414895667609600,269374774271016960,2110381254330286080,16547307562362470400,1298460029937034... |
//
// Upgrader.cc
//
// Copyright (c) 2017 Couchbase, Inc 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
//
// Unles... |
; Simple Serial IO handling QL Compatible 1993 Tony Tebby
;
; 2011-04-29 1.01 Fixed uq_ssq (GG)
section uq
xdef uq_ssio
xdef uq_ssq
xref ioq_tstg
xref ioq_gbyt
xref ioq_pbyt
include 'dev8_keys_err'
include 'dev8_keys_qdos_io'
include 'dev8_keys_k'
uq_ssq
move.l d1,d3
lea $1c(a0),a2 ; standard... |
; A267210: Decimal representation of the middle column of the "Rule 109" elementary cellular automaton starting with a single ON (black) cell.
; 1,3,7,14,29,59,118,237,475,950,1901,3803,7606,15213,30427,60854,121709,243419,486838,973677,1947355,3894710,7789421,15578843,31157686,62315373,124630747,249261494,498522989,99... |
#define LOG_MODULE PacketLogModuleSSLLayer
#include "SSLCommon.h"
namespace pcpp
{
// -------------------------
// SSLVersion methods
// -------------------------
SSLVersion::SSLVersionEnum SSLVersion::asEnum(bool countTlsDraftsAs1_3)
{
if (m_SSLVersionValue >= 0x0300 && m_SSLVersionValue <= 0x0304)
return stati... |
;
; Spectrum C Library
;
; ANSI Video handling for ZX Spectrum
;
; Clean a text line
;
; Stefano Bodrato - Apr. 2000
;
; in: A = text row number
;
;
; $Id: f_ansi_dline.asm,v 1.4 2016-04-04 18:31:23 dom Exp $
;
SECTION code_clib
PUBLIC ansi_del_line
EXTERN __zx_console_attr
.ansi_del_line
push af
and ... |
section .data ;data segment
userMsg db 'Please enter a number: '
lenUserMsg equ $-userMsg
dispMsg db 'You have entered: '
lenDispMsg equ $-dispMsg
section .bss ; unitialized data segment
num resb 5
section .text ; code segment
global _start
_start:
; prompt user
mov eax,4 ;(sys_write)
mov ebx,1 ;(file descri... |
;//###########################################################################
;//
;// FILE: F2837xD_CodeStartBranch.asm
;//
;// TITLE: Branch for redirecting code execution after boot.
;//
;// For these examples, code_start is the first code that is executed after
;// exiting the boot ROM code.
;//
;// The codestart ... |
;
;
; ZX Maths Routines
;
; 9/12/02 - Stefano Bodrato
;
; $Id: fabs.asm,v 1.5 2016-06-22 19:59:18 dom Exp $
;
;double fabs(double)
;Number in FA..
IF FORzx
INCLUDE "zxfp.def"
ENDIF
IF FORzx81
INCLUDE "81fp.def"
ENDIF
IF FORlambda
INCLUDE "lambdafp.def"
ENDIF
SECTION code... |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %eb... |
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC rc_01_output_asci0_oterm_msg_putc
PUBLIC rc_01_output_asci0_oterm_msg_putc_raw
PUBLIC rc_01_output_asci0_oterm_msg_putc_send
EXTERN l_jpix, asm_asci0_putc
rc_01_output_asci0_oterm_msg_putc:
; enter : c = char to output
... |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... |
; Wait for SCSI status V2.00 1990 QJUMP
section dv3
xdef sc_statrd
xdef sc_statwr
xref sc_statr
xref sc_nmode
xref sc_wait80
include 'dev8_keys_atari'
include 'dev8_keys_atari_tt'
include 'dev8_keys_err'
include 'dev8_mac_assert'
;+++
; This routine reads the command status (read ops)
;
; d0 ... |
#include "Joint.hpp"
namespace acid {
Joint::Joint(uint32_t index, std::string name, const Matrix4 &bindLocalTransform) :
index(index),
name(std::move(name)),
localBindTransform(bindLocalTransform) {
}
void Joint::CalculateInverseBindTransform(const Matrix4 &parentBindTransform) {
auto bindTransform = parentBindT... |
/*
* Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP.
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later versi... |
//===--- SwiftSourceDocInfo.cpp -------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
.org $0300 ;sound engine variables will be on the $0300 page of RAM
sound_disable_flag .ds 1 ;a flag variable that keeps track of whether the sound engine is disabled or not.
sound_frame_counter .ds 1 ;a primitive counter used to time notes in this demo
sfx_playing .ds 1 ;a flag that tells us i... |
/*
* Copyright (c) 2020-2021 Alex Spataru <https://github.com/alex-spataru>
*
* 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... |
; A033582: a(n) = 7*n^2.
; 0,7,28,63,112,175,252,343,448,567,700,847,1008,1183,1372,1575,1792,2023,2268,2527,2800,3087,3388,3703,4032,4375,4732,5103,5488,5887,6300,6727,7168,7623,8092,8575,9072,9583,10108,10647,11200,11767,12348,12943,13552,14175
mov $1,$0
pow $1,2
mul $1,7
|
@256 // ** 0A: BOOTSTRAP THE SYSTEM ** (set the start of the stack to addr 256)
D=A // store the current address as a value
@SP // write value of D to "SP"
M=D // write value of D to current location - ... |
/* Copyright (c) Stanford University, The Regents of the University of
* California, and others.
*
* All Rights Reserved.
*
* See Copyright-SimVascular.txt for additional details.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated doc... |
;;; ----------------------------------------------------------------------
;;; Programmable timer sample program for the Atari ST
;;; Written by Michael Martin, 2021
;;; Based on C sample code by Jwahar R. Bammi, 1986
;;; ----------------------------------------------------------------------
text
move.l #conf... |
; A249483: Squares (A000290) which are also centered triangular numbers (A005448).
; Submitted by Jon Maiga
; 1,4,64,361,6241,35344,611524,3463321,59923081,339370084,5871850384,33254804881,575381414521,3258631508224,56381506772644,319312633001041,5524812282304561,31289379402593764,541375222159074304,3066039868821187801... |
;-----------------------------------------------------------------------------;
; Author: Stephen Fewer (stephen_fewer[at]harmonysecurity[dot]com)
; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4
; Version: 1.0 (24 July 2009)
; Updated by: Joshua Pitts (May 30 2014) for loadliba shellcode
;---------------... |
; A000149: a(n) = floor(e^n).
; Coded manually by Christian Krause. Based on Horner's method with separate variables for numerator and denominator.
; 1,2,7,20,54,148,403,1096,2980,8103,22026,59874,162754,442413,1202604,3269017,8886110,24154952,65659969,178482300,485165195,1318815734,3584912846,9744803446,26489122129,72... |
; void sp1_ClearRectInv(struct sp1_Rect *r, uchar tile, uchar rflag)
; CALLER linkage for function pointers
XLIB sp1_ClearRectInv
LIB sp1_ClearRectInv_callee
XREF ASMDISP_SP1_CLEARRECTINV_CALLEE
.sp1_ClearRectInv
ld hl,2
add hl,sp
ld a,(hl)
inc hl
inc hl
ld e,(hl)
inc hl
inc hl
ld c,(hl)
... |
//
// Created by phoenixflower on 7/20/20.
//
#ifndef LANDESSDEVCORE_TERMBOXBUTTON_HPP
#define LANDESSDEVCORE_TERMBOXBUTTON_HPP
#include "Primitives/General/Immutable.hpp"
#include "Primitives/General/Vec2.hpp"
#include "TermBoxRenderingContext.hpp"
#include "ScopedRenderContextState.hpp"
namespace LD
{
namespace ... |
BikeRidingTilesets::
db OVERWORLD
db FOREST
db UNDERGROUND
db SHIP_PORT
db CAVERN
db -1 ; end
|
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %r15
push %rbx
push %rcx
push %rdi
// Store
lea addresses_normal+0x1572f, %rdi
nop
nop
nop
nop
nop
dec %r12
movl $0x51525354, (%rdi)
nop
lfence
// Faulty Load
lea addresses_WT+0x1bb4b, %r15
cl... |
; A000202: a(8i+j) = 13i + a(j), where 1<=j<=8.
; 1,3,4,6,8,9,11,12,14,16,17,19,21,22,24,25,27,29,30,32,34,35,37,38,40,42,43,45,47,48,50,51,53,55,56,58,60,61,63,64,66,68,69,71,73,74,76,77,79,81,82,84,86,87,89,90,92,94,95,97,99,100,102,103,105,107,108,110,112,113,115,116,118,120,121,123,125,126,128,129,131,133,134,136,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xa399, %r9
nop
sub %rsi, %rsi
and $0xffffffffffffffc0, %r9
vmovaps (%r9), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %r13
nop
dec %r14
lea addresses_normal_ht+0x14e34, %rsi
lea addres... |
; A040693: Continued fraction for sqrt(720).
; 26,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1,52,1,4,1
mov $1,126
mov $2,$0
lpb $0
mov $0,0
mov $1,4
gcd $1,$2
pow $1,4
lpe
div $1... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
930! Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel Graphics
FILE: Graphics/graphicsString.asm
AUTHOR: Jim DeFrisco, 26 September 1989
ROUTINES:
Name Description
---- -----------
... |
; A022273: a(n) = n*(15*n + 1)/2.
; 0,8,31,69,122,190,273,371,484,612,755,913,1086,1274,1477,1695,1928,2176,2439,2717,3010,3318,3641,3979,4332,4700,5083,5481,5894,6322,6765,7223,7696,8184,8687,9205,9738,10286,10849,11427,12020,12628,13251,13889,14542,15210,15893,16591,17304,18032,18775,19533,20306,21094,21897,22715,235... |
#include "guis/GuiMenu.h"
#include "components/OptionListComponent.h"
#include "components/SliderComponent.h"
#include "components/SwitchComponent.h"
#include "guis/GuiCollectionSystemsOptions.h"
#include "guis/GuiDetectDevice.h"
#include "guis/GuiGeneralScreensaverOptions.h"
#include "guis/GuiSlideshowScreensaverOpti... |
/*
* 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... |
use16
org 0x7C00
LOAD_SEGMENT = 0x1010
FAT_SEGMENT = 0x0EE0
FAT_DATA_SEGMENT = 0x07E0
KERNEL_SEGMENT = 0x0900
main:
jmp start
bootsector:
iOEM: db "YesOS "
iSectSize: dw 0x200
iClustSize: db 1
iResSect: dw 1
iFatCnt: db 2
iRootSize: dw 224
iTotalSect: dw 2880
iMedia: ... |
;*****************************************************************************
;* Assembly testing and benchmarking tool
;* Copyright (c) 2008 Loren Merritt
;* Copyright (c) 2012 Henrik Gramner
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or modify
;* it under the terms ... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
;TEST_BEGIN_RECORDING
lea ecx, [esp-0x10]
mov dword [ecx+0x00], 0xaabbccdd
mov dword [ecx+0x04], 0x00112233
mov dword [ecx+0x08], 0x44556677
mov dword [ecx+0x0C], 0x11223344
movdqu xmm0, [ecx]
psllw xmm0, 0x08
mov ecx, 0
;TEST_END_... |
/*++
Copyright (C) 2020 Autodesk Inc.
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 the ... |
; A180028: Eight white queens and one red queen on a 3 X 3 chessboard. G.f.: (1 + 3*x)/(1 - 6*x - 3*x^2).
; Submitted by Jamie Morken(s4)
; 1,9,57,369,2385,15417,99657,644193,4164129,26917353,173996505,1124731089,7270376049,46996449561,303789825513,1963728301761,12693739287105,82053620627913,530402941628793,34285785116... |
db "POLKA DOT@" ; species name
db "Its tail bounces"
next "like a rubber"
next "ball. It flings"
page "that tail around"
next "to fight opponents"
next "larger than it.@"
|
; A090989: Number of meaningful differential operations of the n-th order on the space R^4.
; 4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576,32768,49152,65536,98304,131072,196608,262144,393216,524288,786432,1048576,1572864,2097152,3145728,4194304,6291456,8388608,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x491a, %rdx
nop
nop
nop
nop
and %r15, %r15
mov $0x6162636465666768, %rsi
movq %rsi, %xmm6
and $0xffffffffffffffc0, %rdx
vmovntdq %ymm6, (%rdx)
nop
nop
add $55767, %rdx
lea ad... |
; CHR$ / CODE V2.00 1990 Tony Tebby QJUMP
;
; CHR$ (code)
; FILL$ (str$,len)
; CODE (chr$)
; LEN (str$)
;
section exten
xdef chr$
xdef fill$
xdef code
xdef len
xref ut_gxin1 ; get one integer
xref ut_gxst1
xref ut_gtst1
xref ut_chkri
xref ut_remst
xref ut_retst
xref ut_retin
include 'dev8_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.