text stringlengths 1 1.05M |
|---|
; A151341: Number of walks within N^2 (the first quadrant of Z^2) starting and ending at (0,0) and consisting of 2 n steps taken from {(-1, -1), (-1, 0), (-1, 1), (1, 0)}.
; Submitted by Christian Krause
; 1,1,4,20,126,882,6732,54483,461890,4059770,36749648,340841228,3226474132,31079221500,303907314960,3010947401340,30... |
#include "vtkSciVizStatistics.h"
#include "vtkSciVizStatisticsPrivate.h"
#include "vtkAlgorithm.h"
#include "vtkCellData.h"
#include "vtkCompositeDataSet.h"
#include "vtkDataArray.h"
#include "vtkDataObject.h"
#include "vtkDataObjectTreeIterator.h"
#include "vtkDataSetAttributes.h"
#include "vtkDemandDrivenPipeline.h"... |
/*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... |
SET_MODE = #21
CLS = #22
CURSOR_MASK = #23
GOTO_XY = #24
PUTC = #26
PUTC_TTY = #27
SET_COLOR = #2A
FILL_LINE = #2F
macro PQBIOS func
ld c, func
rst 8
endm
module TextMode
init:
ld e, 1
PQBIOS SET_MODE
cls:
ld de, 0 : call gotoXY
xor a
ld de, #0107 : PQBIOS SET_COLOR
PQBIOS... |
; A041154: Numerators of continued fraction convergents to sqrt(87).
; Submitted by Jon Maiga
; 9,28,513,1567,28719,87724,1607751,4910977,90005337,274926988,5038691121,15391000351,282076697439,861621092668,15791256365463,48235390189057,884028279768489,2700320229494524,49489792410669921,151169697461504287,27705443467177... |
xor a
ld hl, basescradr + #02ea
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), ... |
/*
MIT License
Copyright (c) 2021 Maciej Malecki
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,... |
; A028872: a(n) = n^2 - 3.
; 1,6,13,22,33,46,61,78,97,118,141,166,193,222,253,286,321,358,397,438,481,526,573,622,673,726,781,838,897,958,1021,1086,1153,1222,1293,1366,1441,1518,1597,1678,1761,1846,1933,2022,2113,2206,2301,2398,2497,2598,2701,2806,2913,3022,3133,3246,3361,3478,3597,3718,3841,3966,4093,4222,4353,4486,46... |
; A124797: Sum of cyclic permutations of 123...n seen as number written in base n+1: ((n+1)^n-1)*(n+1)/2.
; 1,12,126,1560,23325,411768,8388604,193710240,4999999995,142655835300,4458050224122,151437553296120,5556003412779001,218946945190429680,9223372036854775800,413620130943168382080,19673204037648268787703,98920982783... |
# ORG 8000
MVI C,44
PUSH PSW
PUSH B
POP PSW
POP B
HLT
|
;******************************************************************************
.define dir_reg, 0x00
.define port_reg, 0x01
.define pin_reg, 0x02
.define prescaler_l, 0x03
.define prescaler_h, 0x04
.define count_ctrl, 0x05
.define uart_baud, 0x0A
.defin... |
; ATTOLISP.ASM
;
; 6502 ASSEMBLER IMPLEMENTATION OF A LISP TOO SMALL TO USE
;
;
R0 = $02 ; REGISTERS
R1 = $04
R2 = $06
R3 = $08
XPTR = $10 ; S-EXPRESSION SPACE POINTER
SCOPE = $12 ; CURRENT SCOPE POINTER
RSPTR = $14 ; RESULT STACK POINTER
QPTR = $16 ; Q... |
#include <deque>
#include <mutex>
#include <future>
#include <iostream>
std::mutex mu;
std::deque<std::packaged_task<void()>> tasks;
unsigned int id = 0;
bool gui_shutdown_message_received() {
return id == 10;
}
void get_and_process_gui_message() {
std::cout << "Processing data with id = " << id << std::endl... |
; A263945: Positive integers n such that (n+39)^3 - n^3 is a square.
; Submitted by Jon Maiga
; 26,871,59930,1155895,77814386,1500376111,101003038370,1947487061455,131101866015146,2527836705417751,170170121084646410,3281130096145204615,220880686066005050306,4258904336959770197791,286702960343553470676050,55280545482436... |
;
; Memory buffer reader
;
Reader: MACRO
; iy = this
; a <- value
Read_IY:
ld a,(0)
bufferPosition: equ $ - 2
inc (iy + Reader.bufferPosition)
ret nz
jp Reader_Read_IY.Continue
bufferStart:
dw 0
bufferEnd:
dw 0
filler:
dw System_ThrowException
fillPending:
db 0
bits:
db 0
_size:
ENDM
Read... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; ADC8rr
mov ch, 0xc
mov dh, 0x10
;TEST_BEGIN_RECORDING
adc ch, dh
;TEST_END_RECORDING
|
; A160914: Extended s-block elements for Janet table.
; 1,2,3,4,11,12,19,20,37,38,55,56,87,88,119,120,169,170,219,220,291,292,363,364,461,462,559,560,687,688,815,816,977,978,1139,1140,1339,1340,1539,1540,1781,1782,2023,2024,2311,2312,2599,2600,2937,2938,3275,3276
mov $4,$0
add $4,1
mov $7,$0
lpb $4
mov $0,$7
sub $... |
#include "catch.hpp"
#include "memory.hpp"
TEST_CASE( "memory tests", "[memory]" )
{
using namespace vnm;
auto mem { memory<16> {} };
SECTION( "set and at" )
{
mem[ 1 ] = 11111;
REQUIRE( mem[ 0 ] == 0 );
REQUIRE( mem[ 1 ] == 11111 );
REQUIRE( mem[ 2 ] == 0 );
}
... |
; A245872: Number of length 3+2 0..n arrays with some pair in every consecutive three terms totalling exactly n.
; 16,103,256,549,960,1579,2368,3433,4720,6351,8256,10573,13216,16339,19840,23889,28368,33463,39040,45301,52096,59643,67776,76729,86320,96799,107968,120093,132960,146851,161536,177313,193936,211719,230400,250... |
; A249910: Digital root of A003500(n).
; 2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4,2,4,5,7,5,4
gcd $0,6
mov $1,2
trn $1,$0
mov $2,$0
add $2,$0
add $1,$2
lpb $0,1
mov $... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
// Copyright 2017 David Conran
#include "IRsend.h"
#include "IRsend_test.h"
#include "gtest/gtest.h"
// Tests for sendNikai().
// Test sending typical data only.
TEST(TestSendNikai, SendDataOnly) {
IRsendTest irsend(4);
irsend.begin();
irsend.reset();
irsend.sendNikai(0xD5F2A); // Nikai TV Power Off.
EXPE... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x13de6, %r12
nop
nop
and $61723, %rbp
movb $0x61, (%r12)
cmp $64861, %r10
lea addresses_WC_ht+0x56d6, %rsi
lea addresses_normal_ht+0xa6d6, %rdi
nop
nop
nop
add %r9, %r9
mo... |
lda #$01
sta $f000
lda #$02
sta $f001
lda $f000
adc $f001
ldx $f001
ldy #$a3
sty $0001
stx $0002
ldx $01
ldy $02
|
;
; Enterprise 64/128 specific routines
; by Stefano Bodrato, 2011
;
; exos_write_character(unsigned char ch_number, unsigned char character);
;
;
; $Id: exos_write_character.asm,v 1.4 2016-06-19 20:17:32 dom Exp $
;
SECTION code_clib
PUBLIC exos_write_character
PUBLIC _exos_write_character
EXTERN ... |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) |
+---------... |
; int getc_fastcall(FILE *stream)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _getc_fastcall
EXTERN _fgetc_fastcall
defc getc_fastcall = _fgetc_fastcall
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
EL... |
[bits 32]
[section .text]
INT_VECTOR_SYS_CALL equ 0x80
_NR_GETTIME EQU 31
global gettime
gettime:
mov eax, _NR_GETTIME
mov ebx, [esp + 4]
int INT_VECTOR_SYS_CALL
ret |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation 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 so... |
**************************
* *
* APPLE-II HI-RESOLUTION *
* GRAPHICS SUBROUTINES *
* *
* BY WOZ 9/13/77 *
* *
* ALL RIGHTS RESERVED *
* *
**************************
* HI-RES EQUATES
SHAPEL EQU $1A POINTER TO
SHA... |
;pattern made ny me :)
;looks like I am forgetting this
;so its a revision
section .data
SYS_exit equ 60
EXIT_SUCCESS equ 0
STDIN equ 0 ; standard input
STDOUT equ 1 ; standard output
STDERR equ 2 ; standard error
SYS_read equ 0 ; read
SYS_write equ 1 ; write
LF equ 10 ; line feed
NULL equ 0 ; end of string
SYM db "... |
#include "common/http/http2/codec_impl.h"
#include <cstdint>
#include <memory>
#include <vector>
#include "envoy/event/dispatcher.h"
#include "envoy/http/codes.h"
#include "envoy/http/header_map.h"
#include "envoy/network/connection.h"
#include "common/common/assert.h"
#include "common/common/enum_to_int.h"
#include... |
// Copyright 2018 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 "device/gamepad/gamepad_id_list.h"
#include <algorithm>
#include <iterator>
#include "base/stl_util.h"
namespace device {
namespace {
static... |
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifdef __YASM_VERSION_ID__
%if __YASM_VERSION_ID__ < 01010000h
%error yasm version 1.1.0 or later needed.
%endif
; Yasm automatically includes .00 and complains about redefining it.
; https://www.tortall.net/projects/ya... |
; A094258: a(1) = 1, a(n+1) = n*n! for n >= 1.
; 1,1,4,18,96,600,4320,35280,322560,3265920,36288000,439084800,5748019200,80951270400,1220496076800,19615115520000,334764638208000,6046686277632000
mov $1,$0
fac $0
mul $1,$0
sub $1,1
add $1,1
|
-- 7 Billion Humans (2145) --
-- 54: Terrain Leveler --
-- Author: landfillbaby
-- Size: 92
-- Speed: 66
step n
a:
step n
if c == nothing:
jump a
endif
mem1 = calc mem1 + c
step n
mem1 = calc mem1 + c
step n
mem1 = calc mem1 + c
step n
mem1 = calc mem1 + c
step n
mem1 = calc mem1 + c
step n
mem1 = calc mem1 + c
step... |
; A101165: a(n) = (7*n^3 + 6*n^2 + 5*n) / 6.
; 0,3,15,43,94,175,293,455,668,939,1275,1683,2170,2743,3409,4175,5048,6035,7143,8379,9750,11263,12925,14743,16724,18875,21203,23715,26418,29319,32425,35743,39280,43043,47039,51275,55758,60495,65493,70759
mov $2,$0
add $0,2
lpb $2
add $0,$3
add $1,$0
sub $2,1
add $3,... |
/*
Copyright Oliver Kowalke 2009.
Copyright Thomas Sailer 2013.
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)
*/
/***********************************************************... |
Map_60796: dc.w word_607A0-Map_60796
dc.w word_607B4-Map_60796
dc.w word_607CE-Map_60796
dc.w word_607D6-Map_60796
dc.w word_607DE-Map_60796
word_607A0: dc.w 3
dc.b $F0, 5, 0, 0, $FF, $E0
dc.b $F0, $F, 0, 4, $FF, $F0
dc.b 0, 6, 0, $14, 0, $10
word_607B4: dc.w 4
dc.b $E8, $A, ... |
;;
;; Copyright (c) 2020-2021, 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... |
;;
;; Copyright (c) 2019-2020, 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... |
// Copyright 2014 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/devtools/protocol/network_handler.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/barrier_closure.... |
; A182432: Recurrence a(n)*a(n-2) = a(n-1)*(a(n-1)+3) with a(0) = 1, a(1) = 4.
; 1,4,28,217,1705,13420,105652,831793,6548689,51557716,405913036,3195746569,25160059513,198084729532,1559517776740,12278057484385,96664942098337,761041479302308,5991666892320124,47172293659258681,371386682381749321,2923921165394735884,230199... |
; A176636: Periodic sequence: Repeat 57, 71.
; 57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57
mod $0,2
mul $0,14
add $0,57
|
; A175805: a(n) = 21*2^n.
; 21,42,84,168,336,672,1344,2688,5376,10752,21504,43008,86016,172032,344064,688128,1376256,2752512,5505024,11010048,22020096,44040192,88080384,176160768,352321536,704643072,1409286144,2818572288,5637144576,11274289152,22548578304,45097156608,90194313216,180388626432,360777252864,721554505728,1... |
; A152030: a(n)=n^6-n^5-n^4-n^3-n^2-n.
; 0,-4,2,366,2732,11720,37326,98042,224696,465012,888890,1594406,2714532,4424576,6950342,10577010,15658736,22628972,32011506,44432222,60631580,81477816,107980862,141306986,182794152,233968100,296559146,372519702
mov $1,$0
mov $2,5
lpb $2
sub $0,1
mul $0,$1
sub $2,1
lpe
|
SECTION code_fp_math32
PUBLIC _exp10_fastcall
EXTERN _m32_exp10f
defc _exp10_fastcall = _m32_exp10f
|
; A270031: a(n) is the smallest b for which the base-b representation of n contains at least one 5 (or 0 if no such base exists).
; 0,0,0,0,6,0,0,0,0,0,6,7,8,9,10,11,6,13,7,15,8,17,6,19,10,7,11,23,6,6,6,6,6,6,6,7,7,7,7,7,6,8,8,8,8,8,6,9,9,9,9,9,6,7,10,10,10,10,6,11,7,11,11,11,6,6,6,6,6,6,6,13,13,13,7,13,6,14,14,14,14,7... |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "Resources.h"
#include "SampleCode.h"
#include "SkBlurMask.h"
#include "SkBlurDrawLooper.h"
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x713f, %rsi
lea addresses_A_ht+0x862f, %rdi
clflush (%rsi)
nop
nop
nop
nop
and $50817, %r10
mov $122, %rcx
rep movsq
nop
xor %rsi, %rsi
pop %rsi
pop %rdi
pop %rcx
pop %r10
ret
.global s_faulty_load
s_faulty_lo... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... |
.global s_prepare_buffers
s_prepare_buffers:
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1e187, %rsi
lea addresses_WC_ht+0x9f07, %rdi
nop
nop
xor $35231, %rax
mov $38, %rcx
rep movsq
nop
cmp $12073, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
ret
.global s_faulty_load
s_faulty_loa... |
// clang-format off
#include <NutsPCH.h>
// clang-format on
#include <VkNuts/Core/Log/Log.h>
#include <Platform/Vulkan/VulkanHelper.h>
#include <VkNuts/Core/Window/Window.h>
#include <VkNuts/Core/Event/WindowEvents.h>
#include <VkNuts/VkRenderer/VkRenderer.h>
#include <VkNuts/Core/Engine/Engine.h>
#include <Platform/... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: laserjet print driver
FILE: uiEvalPCL4Simplex.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;;
; format_e.s
;
; Copyright (C) Advanced RIS... |
SECTION code_clib
SECTION code_l
PUBLIC l_ltu_bc_de
l_ltu_bc_de:
; bc < de ?
; enter : de = unsigned int
; bc = unsigned int
;
; exit : carry set if bc<de, a<0
; z set if bc=de, a=0
; p,nc set if bc>=de, a>=0
; a>0 if bc>de
;
; uses : af
... |
This program is used to set the PSP address for a compiled BASIC program
The PSP segment is saved at 0:4F2H.
extrn $$main:far
cseg segment para public 'code'
; It can also be used to limit the maximum memory available to a compiled
; BASIC program. The option '/M:nnn' is used on the command line, where
; nnn is the... |
//=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... |
; A072815: Sum of proper divisors of 6n + 1.
; Submitted by Jon Maiga
; 0,1,1,1,6,1,1,1,8,17,1,1,1,1,23,21,1,1,1,29,12,1,27,1,35,1,1,1,14,73,1,29,1,1,47,1,39,1,1,53,1,33,35,45,59,1,1,1,18,65,51,1,1,41,109,1,1,57,1,77,20,1,1,1,191,41,1,45,1,89,1,69,1,1,95,53,1,1,75,145,51,1,47,1,107,81,59,1,24,113,1,1,87,57,119,1,1,65,5... |
; A065119: n-th cyclotomic polynomial is a trinomial.
; Submitted by Christian Krause
; 3,6,9,12,18,24,27,36,48,54,72,81,96,108,144,162,192,216,243,288,324,384,432,486,576,648,729,768,864,972,1152,1296,1458,1536,1728,1944,2187,2304,2592,2916,3072,3456,3888,4374,4608,5184,5832,6144,6561,6912,7776,8748,9216,10368,11664,1... |
; A268196: a(n) = Product_{k=0..n} binomial(3*k,k).
; Submitted by Jon Maiga
; 1,3,45,3780,1871100,5618913300,104309506501200,12129109415959536000,8920608231265175901456000,41809329673499408044341517200000,1256161937180234817183361549396758000000,243113461110708695347467432844366521953760000000,304299697842091305162518... |
//==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#in... |
###############################################################################
# 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... |
// Copyright (c) 2020-2021 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 <optional.h>
#include <streams.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <te... |
; A017263: a(n) = (9*n + 8)^7.
; 2097152,410338673,8031810176,64339296875,319277809664,1174711139837,3521614606208,9095120158391,20971520000000,44231334895529,86812553324672,160578147647843,282621973446656,476837158203125,775771085481344,1222791080775407,1874584905187328,2804020163098721,4103386730000000,58880463066408... |
; SMS (QXL) Supervisor mode BLAT routine
; 2006-10-20 1.01 BLAT macro definitions commented out - macro wasn't used (wl)
section blat
xdef blatt
xdef blattl
include 'dev8_keys_qdos_sms'
include 'dev8_smsq_qxl_keys'
*blat macro blv
* move.b [blv],-(sp)
* jsr blatt
* addq.l #2,sp
* endm
*
*blatl macro blv
* mov... |
; A045926: All digits even and nonzero.
; Submitted by Christian Krause
; 2,4,6,8,22,24,26,28,42,44,46,48,62,64,66,68,82,84,86,88,222,224,226,228,242,244,246,248,262,264,266,268,282,284,286,288,422,424,426,428,442,444,446,448,462,464,466,468,482,484,486,488,622,624,626,628,642,644,646,648,662,664,666,668,682,684,686,68... |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// TGUI - Texus' Graphical User Interface
// Copyright (C) 2012-2017 Bruno Van de Velde (vdv_b@tgui.eu)
//
// This software is provided 'as-is', without any express or implied warranty.
/... |
PUBLIC _z180_int_asci1
EXTERN _asci1_interrupt
defc _z180_int_asci1 = _asci1_interrupt
|
; Clear the Scrap
; 28/05-92 O.Fink
section utility
include win1_keys_thg
;;; include win1_keys_scrap
xdef sc_clr
xref ut_usscp
xref ut_frscp
;+++
; Clear the scrap
;
; Entry Exit
;
; Error returns: ERR.NI Thing or THING not implemented
;---
r_clr reg d4/a0-a4
sc_clr
movem.l r_clr,-(sp)
movem.l... |
; SBAS_LITEM - Locate Item V2.01 1992 Tony Tebby QJUMP
; This routine currently assumes the fixed memory model
section sbas
xdef sb_litem
xdef sb_lname
xdef sb_lnam2
xdef sb_gnam2
xref sb_anam2
xref cv_lctab
include 'dev8_keys_sbasic'
include 'dev8_keys_sys'
include 'dev8_keys_err'
include 'd... |
;*****************************************************************************
;* sad16-a.asm: x86 high depth sad functions
;*****************************************************************************
;* Copyright (C) 2010-2016 x264 project
;*
;* Authors: Oskar Arvidsson <oskar@irock.se>
;* Henrik Gramner <h... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1c563, %rsi
lea addresses_A_ht+0xe0c3, %rdi
nop
nop
cmp %r10, %r10
mov $71, %rcx
rep movsb
nop
nop
nop
nop
xor %r14, %r14
pop %rsi
pop %rdi
pop %rcx
pop %r14
pop %r10
ret
.global s_faulty_load
s_fau... |
;*****************************************************
;
; EG2000 colour graphics library library for z88dk
;
; Stefano Bodrato - May 2018
;
;*****************************************************
; ----- void __CALLEE__ cplot_callee(int x, int y, int c)
SECTION code_clib
PUBLIC cplot_callee
PUBLIC _cplot_callee
PUBL... |
# File: geomalgebra.asm
#
# Author: Margaret Dorsey
#
# Description: Handles all the functions inherent to geometric algebra
# objects, like the product, and also the building of those
# objects.
#
# Revision: see gitlog.txt
#
#
# CONSTANT DEFINITIONS
#
MEM_BOUND = 400
#syscalls
EXIT = 10
#
# DATA
#
.data
... |
; BSD
; int bcmp (const void *b1, const void *b2, size_t len)
SECTION code_clib
SECTION code_string
PUBLIC bcmp_callee
EXTERN memcmp_callee
defc bcmp_callee = memcmp_callee
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _bcmp_callee
defc _bcmp_callee = bcmp_callee
ENDIF
|
TITLE PRACTICE PROBLEM 2
.MODEL SMALL
.DATA
STR1 DB 'Input a uppercase character: $'
STR2 DB 'The converted lowercase character is: $'
.CODE
MAIN PROC
MOV DX, @DATA
MOV DS, DX
LEA DX, STR1
MOV AH, 9
INT 21h
... |
; A027801: a(n) = 5*(n+1)*binomial(n+4,5)/2.
; 5,45,210,700,1890,4410,9240,17820,32175,55055,90090,141960,216580,321300,465120,658920,915705,1250865,1682450,2231460,2922150,3782350,4843800,6142500,7719075,9619155,11893770,14599760,17800200,21564840,25970560,31101840,37051245,43919925,51818130,60865740,71192810,82940130... |
Label -mem-manager-initialize
DLabel $heap-start-ptr
DataZ 4
DLabel $heap-after-ptr
DataZ 4
DLabel $heap-first-free
DataZ 4 ... |
; A162897: a(1)=a(2)=2. a(n) = the smallest integer >= 2 such that a(n-1)^a(n) > a(n-2)^a(n-1).
; 2,2,3,2,4,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38
trn $0,1
mov $... |
;*****************************************************************************
;* bitstream-a.asm: x86 bitstream functions
;*****************************************************************************
;* Copyright (C) 2010-2018 x264 project
;*
;* Authors: Fiona Glaser <fiona@x264.com>
;* Henrik Gramner <henri... |
///////////////////////////////////////////////////////////////////////////////////////
// Data Analysis Code Project for the External Target Facility, HIRFL-CSR, @IMP //
// //
// BINGER/inc/etf/TADeployPara.C //
// TADeployPara.C -- source file for class TADeployPara ... |
; A168276: a(n) = 2*n - (-1)^n - 1.
; 2,2,6,6,10,10,14,14,18,18,22,22,26,26,30,30,34,34,38,38,42,42,46,46,50,50,54,54,58,58,62,62,66,66,70,70,74,74,78,78,82,82,86,86,90,90,94,94,98,98,102,102,106,106,110,110,114,114,118,118,122,122,126,126,130,130,134,134,138,138,142,142,146,146,150,150,154,154,158,158,162,162,166,166,... |
#include <catch2/catch.hpp>
#include <vcpkg/base/files.h>
#include <vcpkg/base/strings.h>
#include <iostream>
#include <random>
#include <vector>
#include <vcpkg-test/util.h>
using vcpkg::Test::AllowSymlinks;
using vcpkg::Test::base_temporary_directory;
using vcpkg::Test::can_create_symlinks;
#define CHECK_EC_ON_F... |
[Bayo2USv0_GP]
moduleMatches = 0xAF5D1A85
.origin = codecave
#Value is scalable in v5 - 100 default, 200 twice the high LOD culling distance
0x100AA3A8 = .float 200.0
#0x1014F804 = .float 3.0 |
// Copyright 2014 BVLC and contributors.
#ifndef _CAFFE_UTIL_IM2COL_HPP_
#define _CAFFE_UTIL_IM2COL_HPP_
namespace caffe {
template <typename Dtype>
void im2col_cpu(const Dtype* data_im, const int channels,
const int height, const int width, const int ksize, const int pad,
const int stride, Dtype* data_col);... |
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015
Vladimír Vondruš <mosra@centrum.cz>
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 Softwar... |
#include "duckdb/execution/executor.hpp"
#include "duckdb/execution/operator/helper/physical_execute.hpp"
#include "duckdb/execution/operator/join/physical_delim_join.hpp"
#include "duckdb/execution/operator/scan/physical_chunk_scan.hpp"
#include "duckdb/execution/operator/set/physical_recursive_cte.hpp"
#include "duc... |
ori $1, $0, 6
ori $2, $0, 8
ori $3, $0, 6
ori $4, $0, 9
sw $2, 0($0)
sw $4, 4($0)
sw $4, 8($0)
sw $3, 12($0)
sw $3, 16($0)
sw $4, 20($0)
sw $2, 24($0)
sw $4, 28($0)
sw $2, 32($0)
sw $3, 36($0)
sw $3, 40($0)
sw $2, 44($0)
sw $3, 48($0)
sw $3, 52($0)
sw $4, 56($0)
sw $3, 60($0)
sw $2, 64($0)
sw $1, 68($0)
sw $2, 72($0)
s... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2016, 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... |
#include "core.h"
#include "midipitchbendevent.h"
#include "idatastream.h"
MIDIPitchBendEvent::MIDIPitchBendEvent()
: m_PitchBendValue( 0 )
{
}
MIDIPitchBendEvent::~MIDIPitchBendEvent()
{
}
/*virtual*/ void MIDIPitchBendEvent::Load( const IDataStream& Stream )
{
MIDIMIDIEvent::Load( Stream );
const uint8 LSB = St... |
;------------------------------------------------------------------------------
;
; 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... |
;
; Spectrum C Library
;
; ANSI Video handling for The Sharp MZ
; (Hey, I've been lucky.. the Aquarius port works in the same way!)
;
; Text Attributes
; m - Set Graphic Rendition
;
; Stefano Bodrato - May 2000
; Stefano Bodrato - Jan 2002..fixed
;
; $Id: f_ansi_attr.asm,v 1.6 2016-06-12 16:06:43 dom Exp $
;
... |
; all the enemies
include "enemyData.inc"
ENEMY_CONFIGURATIONFLAG_RANDOM_JUMPING = $80
ENEMY_CONFIGURATIONFLAG_GRAVITY = $40
ENEMY_CONFIGURATIONFLAG_FLOOR_HANDLING = $20
ENEMY_CONFIGURATIONFLAG_XMOVEMENT = $10
ENEMY_CONFIGURATIONFLAG_XMOVEMENT_HALVE_SPEED = $08
ENEMY_CONFIGURATIONFLAG_COLLISION_JUMPI... |
; A236771: a(n) = n + floor(n/2 + n^2/3).
; 0,1,4,7,11,15,21,26,33,40,48,56,66,75,86,97,109,121,135,148,163,178,194,210,228,245,264,283,303,323,345,366,389,412,436,460,486,511,538,565,593,621,651,680,711,742,774,806,840,873,908,943,979,1015,1053,1090,1129,1168,1208,1248,1290,1331,1374,1417,1461,1505,1551,1596,1643,1690... |
device zxspectrum48
org $C000 ; must be in last 16k as I'm using all-RAM mapping for Layer2
ds 32, $55 ; reserved space for stack
stack:
dw $AAAA
INCLUDE "../../Constants.asm"
INCLUDE "../../Macros.asm"
INCLUDE "../../TestFunctions.asm"
INCLUDE "../../TestData.a... |
;
; Videoton TV Computer C stub
; Sandor Vass - 2019
;
; Editor get character
;
SECTION code_clib
PUBLIC tvc_ed_cpos
INCLUDE "target/tvc/def/tvc.def"
;
; Entry: (column, row) / X,Y
;
.tvc_ed_cpos
._tvc_ed_cpos
ld hl,2
add hl,sp
ld c,(hl)
inc hl
inc hl
l... |
; A040422: Continued fraction for sqrt(444).
; 21,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42,14,42
mov $1,2
pow $1,$0
add $1,2
gcd $1,6
sub $1,2
mul $1,7
add $1,14
mov $0,$1
|
; A001296: 4-dimensional pyramidal numbers: a(n) = (3*n+1)*binomial(n+2, 3)/4. Also Stirling2(n+2, n).
; 0,1,7,25,65,140,266,462,750,1155,1705,2431,3367,4550,6020,7820,9996,12597,15675,19285,23485,28336,33902,40250,47450,55575,64701,74907,86275,98890,112840,128216,145112,163625,183855,205905,229881,255892,284050,314470... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xd555, %r8
add %r15, %r15
mov $0x6162636465666768, %rbp
movq %rbp, (%r8)
nop
nop
nop
cmp $41196, %r10
lea addresses_A_ht+0x1ba55, %rcx
nop
nop
nop
xor %r10, %r10
movw $0x6162,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.