text stringlengths 1 1.05M |
|---|
; A176434: Decimal expansion of (7+3*sqrt(7))/2.
; Submitted by Christian Krause
; 7,4,6,8,6,2,6,9,6,6,5,9,6,8,8,5,8,8,5,7,5,2,4,2,3,6,3,0,4,5,8,8,9,0,6,3,8,5,6,5,3,8,8,7,7,4,6,2,3,6,7,5,2,7,0,5,5,2,5,0,1,6,8,8,8,0,1,6,0,3,2,3,4,8,4,5,4,2,5,4,4,1,6,4,0,5,8,9,3,2,9,7,1,1,8,1,5,4,1,5
mov $2,1
mov $3,$0
mul $3,4
lpb $3
... |
#include "CommBatteryEventOpcUa.hh"
#define SERONET_NO_DEPRECATED
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ComplexType.hpp>
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ElementPrimitives.hpp>
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/SelfDescriptionArray.hpp>
#... |
/*
* Copyright 2015-2016 Tomas Mikalauskas. All rights reserved.
* GitHub repository - https://github.com/TywyllSoftware/TywRenderer
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#include <RendererPch\stdafx.h>
#include <iomanip>
//Triangle Includes
#include "Main.h"
#inc... |
; A173246: Expansion of (1+x)^50 * (1-x)/(1 - x^51).
; 1,49,1175,18375,210700,1888460,13771940,83993700,436994250,1968555050,7766844470,27081460630,84045912300,233460867500,582985137700,1312983918820,2672860120455,4923689695575,8206149492625,12352414499425
mov $3,$0
mov $6,2
lpb $6
sub $6,1
add $0,$6
sub $0,1
... |
; A037506: Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0.
; 1,7,35,176,882,4410,22051,110257,551285,2756426,13782132,68910660,344553301,1722766507,8613832535,43069162676,215345813382,1076729066910,5383645334551,26918226672757,134591133363785,672955666818926
add $0,2
... |
; A050408: a(n) = (117*n^2 - 99*n + 2)/2.
; 1,10,136,379,739,1216,1810,2521,3349,4294,5356,6535,7831,9244,10774,12421,14185,16066,18064,20179,22411,24760,27226,29809,32509,35326,38260,41311,44479,47764,51166,54685,58321,62074,65944,69931,74035,78256,82594,87049,91621,96310,101116,106039,111079,116236,121510,126901,1324... |
; A052975: Expansion of (1-2*x)*(1-x)/(1-5*x+6*x^2-x^3).
; 1,2,6,19,61,197,638,2069,6714,21794,70755,229725,745889,2421850,7863641,25532994,82904974,269190547,874055885,2838041117,9215060822,29921113293,97153242650,315454594314,1024274628963,3325798821581,10798800928441,35063486341682,113850424959345,369670007675074,12... |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
// Copyright (c) 2011-2013 The Bitcoin Core developers
// Copyright (c) 2014-2016 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "openuridialog.h"
#include "ui_openuridialog.h"
#include "guiut... |
//===----------------------------------------------------------------------===//
//
// BusTub
//
// clock_replacer.cpp
//
// Identification: src/buffer/clock_replacer.cpp
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
//
//===--------------------------------------------... |
#import "../common.inc"
#import "fld-text.inc"
#import "../zoom-plasma/zoom-plasma.inc"
.const zp_base = $80
.const fld_y_index = zp_base
.const fld_y = zp_base + 1
.const enable_motion = zp_base + 3
.pc = fld_text_code_base "interface"
jmp init_bg
jmp init_int
.pc = * "init bg"
... |
; A051947: Partial sums of A034263.
; 1,10,49,168,462,1092,2310,4488,8151,14014,23023,36400,55692,82824,120156,170544,237405,324786,437437,580888,761530,986700,1264770,1605240,2018835,2517606,3115035,3826144,4667608,5657872,6817272,8168160,9735033,11544666
mov $2,$0
add $0,4
bin $0,$2
mov $1,$2
mul $2,2
add $2,3
mul $... |
;===============================================================================
; Copyright 2015-2020 Intel Corporation
;
; 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.apa... |
; A334940: Partial sums of A230595.
; Submitted by Christian Krause
; 0,0,0,1,1,3,3,3,4,6,6,6,6,8,10,10,10,10,10,10,12,14,14,14,15,17,17,17,17,17,17,17,19,21,23,23,23,25,27,27,27,27,27,27,27,29,29,29,30,30,32,32,32,32,34,34,36,38,38,38,38,40,40,40,42,42,42,42,44,44,44,44,44,46,46,46,48,48,48,48,48,50,50,50,52,54,56,56,... |
; void *p_stack_top(p_stack_t *s)
SECTION code_adt_p_stack
PUBLIC _p_stack_top
EXTERN _p_forward_list_front
defc _p_stack_top = _p_forward_list_front
|
# C1-0--0
ldsi s0, 3 # 0
ldsi s1, 4 # 1
subs s3, s0, s1 # 2
bit s195 # 3
adds s114, s195, s195 # 4
bit s155 # 5
adds s196, s114, s155 # 6
adds s115, s196, s196 # 7
bit s156 # 8
adds s197, s115, s156 # 9
adds s116, s197, s197 # 10
bit s157 # 11
adds s198, s116, s157 # 12
adds s117, s198, s198 # 13
bit s158 # 14
adds s19... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*=============================================================
**
** Source: test1.c
**
** Purpose: Debugs the help... |
global _start
section .text
_start:
jmp short call_abc
abc:
pop rdi ; load own address
sub rdi,46 ; jump over egghunter code to avoid finding tag for searching
mov rax,0x8899AABBCCDDEEFF ; load tag 0xAABBCCDD
xor rcx,rcx
mov cx... |
; A038234: Triangle whose (i,j)-th entry is binomial(i,j)*4^(i-j)*4^j.
; Submitted by Christian Krause
; 1,4,4,16,32,16,64,192,192,64,256,1024,1536,1024,256,1024,5120,10240,10240,5120,1024,4096,24576,61440,81920,61440,24576,4096,16384,114688,344064,573440,573440,344064,114688,16384,65536,524288
lpb $0
add $1,1
sub... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.6 #12555 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... |
//http://www.cplusplus.com/reference/algorithm/sort/
//http://en.cppreference.com/w/cpp/algorithm/equal
//http://en.cppreference.com/w/cpp/algorithm/mismatch
//http://en.cppreference.com/w/cpp/algorithm/copy
//http://www.cplusplus.com/reference/algorithm/fill/
//http://en.cppreference.com/w/cpp/algorithm/swap
//http://... |
; ***************************************************************************************
; ***************************************************************************************
;
; Name : bootloader.asm
; Author : Paul Robson (paul@robsons.org.uk)
; Date : 14th December 2018
; Purpose : Boot-Loads code by lo... |
; libKong example program ROM, 16KB
.data
; This header contains our main zero-page requirements.
; Don't allocate before $20.
; 32 bytes on the zero page should be enough for libKong.
.include "../../KongZP.asm"
; Starting here leaves a 16-byte boundary between
; the libKong allocation and our ZP re... |
org #4000
ld a, 0
ld b, 0
ld c, 1
ld hl, var1
add hl, bc
ld (hl), a
loop:
jr loop
org #c000
var1: db 1
|
; WARNING: do not edit!
; Generated from openssl/crypto/modes/asm/aesni-gcm-x86_64.pl
;
; Copyright 2013-2020 The OpenSSL Project Authors. All Rights Reserved.
;
; Licensed under the OpenSSL license (the "License"). You may not use
; this file except in compliance with the License. You can obtain a copy
; in the file... |
// 4. Квадратно уравнение
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
// Коефициенти на квадратното уравнение
int a, b, c;
// Въвеждаме коефициентите
cout << "a=?, b=?, c=?" << endl;
cin >> a >> b >> c;
// Извършваме математически сметки
float d = pow(b, 2) - 4 *... |
.model small
.stack 100h
.data
nr dw 0Bh
nl db 10,13,'$'
.code
start:
mov ax, @data
mov ds, ax
mov bx, nr
mov cx, 8
print:
mov ah, 02h
mov dl, '0'
test bx, 10000000b
jz zero
mov dl, '1'
... |
; A169459: Number of reduced words of length n in Coxeter group on 14 generators S_i with relations (S_i)^2 = (S_i S_j)^33 = I.
; 1,14,182,2366,30758,399854,5198102,67575326,878479238,11420230094,148462991222,1930018885886,25090245516518,326173191714734,4240251492291542,55123269399790046,716602502197270598
add $0,1
mo... |
obj/user/forktree.debug: 文件格式 elf32-i386
Disassembly of section .text:
00800020 <_start>:
// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp
800020: 81 fc 00 e0 bf ee cmp $0x... |
; A051062: a(n) = 16*n + 8.
; 8,24,40,56,72,88,104,120,136,152,168,184,200,216,232,248,264,280,296,312,328,344,360,376,392,408,424,440,456,472,488,504,520,536,552,568,584,600,616,632,648,664,680,696,712,728,744,760,776,792,808,824,840
mul $0,16
add $0,8
|
/*
* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
* Not a Contribution
*/
/*
* Copyright (C) 2016 The Android 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 ... |
.data
MainMessage : .asciiz "Enter a Valid Number of the Menus \n1- Search for Request by Priority \n2- Delete all Requests of same Priority \n3- Process all Requests of same Priority \n4- Empty All lists \n5- Insert Requests \n6- print All \n-1 to end the program\n"
firstMessage : .asciiz "Enter The Request Priori... |
; A266659: Triangle read by rows giving successive states of cellular automaton generated by "Rule 47" initiated with a single ON (black) cell.
; 1,1,1,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,... |
;=============================================================
;=== FILE: isrutilities.asm
;===
;=== Copyright (c)1998 Metrowerks, Inc. All rights reserved.
;=============================================================
; Recommended tab stop = 8.
;=====================================================================... |
//==-------------- math.hpp - DPC++ Explicit SIMD API --------------------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
; A083392: Alternating partial sums of A000217.
; 0,-1,2,-4,6,-9,12,-16,20,-25,30,-36,42,-49,56,-64,72,-81,90,-100,110,-121,132,-144,156,-169,182,-196,210,-225,240,-256,272,-289,306,-324,342,-361,380,-400,420,-441,462,-484,506,-529,552,-576,600,-625,650,-676,702,-729,756,-784,812,-841,870,-900,930,-961,992,-1024,1056,-... |
/*
* GDevelop Core
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
* reserved. This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"
#include "GDCore/Project/Object.h"
#include "GDCore/Tools/Localization.h"
#include "GDCore/Extensions/Metadata/MultipleInstruc... |
//////////////////////////////////////////////////////////////////////////////
// astro_blackhole_code.asm
// Copyright(c) 2021 Neal Smith.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// The following subroutines should be called f... |
; Original address was $B908
; 7-6
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKLOW
.byte LEVEL4_BGBANK_INDEX(0) | LEVEL4_INITACT_NOTHING
... |
;
; jidctflt.asm - floating-point IDCT (64-bit SSE & SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, 2016, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see cop... |
; A183208: Iterates of f(x)=floor((3x-1)/2) from x=6.
; 6,8,11,16,23,34,50,74,110,164,245,367,550,824,1235,1852,2777,4165,6247,9370,14054,21080,31619,47428,71141,106711,160066,240098,360146,540218,810326,1215488,1823231,2734846,4102268,6153401,9230101,13845151
mov $1,5
mov $2,$0
lpb $2
mul $1,3
div $1,2
sub $2,1... |
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// 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... |
; Prevent Kokiri Sword from being added to inventory on game load
; Replaces:
; sh t9, 0x009C (v0)
.orga 0xBAED6C ; In memory: 0x803B2B6C
nop
;==================================================================================================
; Time Travel
;===================================================... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: Clavin
MODULE: Outbox
FILE: outboxC.asm
AUTHOR: Chung Liu, Nov 22, 1994
ROUTINES:
Name Description
---- -----------
MAILBOXSETCANCELACTION
REVISION H... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "ArithmeticBcd.inc"
#include "SunriseSunset.inc"
#include "States.inc"
radix decimal
defineSunriseSunsetState SUN_STATE_SUNRISE_STORE
.setBankFor accumulatorLowerLow
movf accumulatorLowerLow, W
.setBankFor sunriseHourBcd
movwf sunriseHourBcd
.... |
// Copyright (c) 2011-present, Facebook, Inc. 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. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef ROCKSDB_LITE... |
; A104582: Triangle read by rows: T(i,j) is the (i,j)-entry (1 <= j <= i) of the product of the lower triangular matrix (Fibonacci(i-j+1)) and of the lower triangular matrix all of whose entries are equal to 1 (for j <= i).
; 1,2,1,4,2,1,7,4,2,1,12,7,4,2,1,20,12,7,4,2,1,33,20,12,7,4,2,1,54,33,20,12,7,4,2,1,88,54,33,20,... |
; A028116: Expansion of 1 / ((1-4*x)*(1-5*x)*(1-7*x)*(1-9*x)).
; Submitted by Simon Strandgaard
; 1,25,398,5162,59619,640227,6549376,64780804,625573157,5936696909,55620675474,516146265726,4755391291015,43574880995671,397637888433092,3617137005125528,32823750870307593,297304128579802113,2688988551055876630,2429375098428... |
SECTION code_driver
PUBLIC _sd_write_byte_fastcall
EXTERN asm_sd_write_byte
;Do a write bus cycle to the SD drive, via the CSIO
;
;input L = byte to write to SD drive
defc _sd_write_byte_fastcall = asm_sd_write_byte
|
; pletter v0.5c msx unpacker
; call unpack with hl pointing to some pletter5 data, and de pointing to the destination.
; changes all registers
; define lengthindata when the original size is written in the pletter data
; define LENGTHINDATA
module pletter
macro GETBIT
add a,a
call z,getbit
... |
; A290770: a(n) = Product_{k=1..n} k^(2*k).
; Submitted by Jon Maiga
; 1,1,16,11664,764411904,7464960000000000,16249593066946560000000000,11020848942410302096869949440000000000,3102093199396597590886754340698424229232640000000000,465607547420733489126893933985879279492195953053596584509440000000000,46560754742073348912... |
include multi\mac.inc
.model small
.stack 64
.data
msg db "hello","$"
.code
main proc far
mov ax,@DaTa
mov ds,ax
mov ah,9
mov dx,offset msg
int 21h
hlt
MOV AH,4CH
INT 21H ;BACK TO DOS
main endp
end main |
;
; Old School Computer Architecture - interfacing FLOS
; Stefano Bodrato, 2011
;
; $Id: set_pen.asm,v 1.3 2015/01/19 01:33:00 pauloscustodio Exp $
;
INCLUDE "flos.def"
PUBLIC set_pen
set_pen:
;__FASTCALL__
ld a,l
jp kjt_set_pen
|
; @com.wudsn.ide.asm.hardware=ATARI2600
icl "vcs.asm"
icl "macro.asm"
opt h-f+l+
org $f000
; We're going to use a more clever way to position sprites
; ("players") which relies on additional TIA features.
; Because the CPU timing is 3 times as coarse as the TIA's,
; we can only access 1 out of 3 possible positi... |
/*
* Copyright (C) 2010, Google 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... |
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer cbMain
// {
//
// float4x4 g_mWorld; // Offset: 0 Size: 64 [unused]
// float4x4 g_mView; // Offset: 64 Size: 64 [unused]
// float4x4 g_mProjection; ... |
dnl PowerPC-64 mpn_divexact_1 -- mpn by limb exact division.
dnl Copyright 2006 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as published
... |
; int strcmp(const char *s1, const char *s2)
SECTION code_string
PUBLIC strcmp_callee
EXTERN asm_strcmp
strcmp_callee:
pop af
pop hl
pop de
push af
jp asm_strcmp
|
#pragma once
#include <string>
#include "tokentype.hpp"
#include "scanner.hpp"
#include "model.hpp"
namespace lexer {
/**
* Token Class
* representation of Token
*/
class Token
{
public:
const std::string lexeme;
const tokenizer::TokenType type;
Token(const std::string &_lexeme, const tokenizer:... |
#include <iostream>
#include <vector>
using namespace std;
struct Enviament {
string dni;
string exer;
int temps;
string res;
};
struct exercici {
string nom;
string res;
};
struct alums {
string dni;
vector<exercici> exer;
};
typedef vector<Enviament> Historia;
typedef vector<alums> Alumnes;
void mes... |
/*
* W.J. van der Laan 2011-2012
*/
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "init.h"
#include "util.h"
#include "ui_interface.h"
#include "paymentserver.h"
#include "splashscreen.h"
#include "intro.h"
... |
; int vopen(const char *path, int oflag, void *arg)
SECTION code_clib
SECTION code_fcntl
PUBLIC vopen_callee
EXTERN asm_vopen
vopen_callee:
pop af
pop hl
pop bc
pop de
push af
jp asm_vopen
|
; A053127: Binomial coefficients C(2*n-4,5).
; 6,56,252,792,2002,4368,8568,15504,26334,42504,65780,98280,142506,201376,278256,376992,501942,658008,850668,1086008,1370754,1712304,2118760,2598960,3162510,3819816,4582116,5461512,6471002,7624512,8936928,10424128,12103014,13991544,16108764,18474840,21111090,24040016,2728533... |
SFX_Heal_Ailment_2_Ch4:
duty 2
pitchenvelope 1, 4
squarenote 4, 15, 2, 1536
squarenote 4, 15, 2, 1536
pitchenvelope 1, 7
squarenote 15, 15, 2, 1536
pitchenvelope 0, 0
endchannel
|
/***********************************************************************************************************************
* *
* ANTIKERNEL v0.1 ... |
SECTION UNION "X", WRAM0
SECTION UNION "X", WRAM0, ALIGN[16]
|
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 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 "base58.h"
#include "clientversion.h"
#include "init.h"
#include "main.h"
#in... |
#include<bits/stdc++.h>
using namespace std;
int main()
{
vector<int>vect{1,2,3,4,5};
for (int i=0; i < vect.size(); i++)
cout <<vect[i];
cout << "\n";
//for left
// rotate(vect.begin(),vect.begin()+2,vect.end());
// cout << "Old vector :";
// for (int i=0; i < vect.size()... |
%include "fuzzy/memmgr/tables/gdt.asm"
[BITS 32]
extern interrupt_handler_0x00_0x1F_exception
global at_stack
global _interrupt_handler_0x00_exception
global _interrupt_handler_0x01_exception
global _interrupt_handler_0x02_exception
global _interrupt_handler_0x03_exception
global _interrupt_handler_0x04_exception
gl... |
; A212762: Number of (w,x,y,z) with all terms in {0,...,n}, w and x odd, y even.
; 0,2,6,32,60,162,252,512,720,1250,1650,2592,3276,4802,5880,8192,9792,13122,15390,20000,23100,29282,33396,41472,46800,57122,63882,76832,85260,101250,111600,131072,143616,167042,182070,209952,227772
mov $3,$0
add $0,1
add $3,2
div $3,2
mov... |
; A006483: a(n) = Fibonacci(n)*2^n + 1.
; 1,3,5,17,49,161,513,1665,5377,17409,56321,182273,589825,1908737,6176769,19988481,64684033,209321985,677380097,2192048129,7093616641,22955425793,74285318145,240392339457,777925951489,2517421260801,8146546327553,26362777698305,85311740706817,276074592206849,893396147240961,289109... |
LevelID = $FE
SRAMCopySrcLo = $DC
SRAMCopySrcHi = $D8
SRAMCopyDstLo = $DE
SRAMCopyDstHi = $DA
SRAMCopySize = $FC
SRAMCopyRt = $DC
ExObjTemps = $D8
ExGFXBG1Base = $E0
ExGFXBG2Base = $E6
ExGFXBG3Base = $EA
ExGFXOBJBase = $EE
ExTMBG2 = $D0
ExTMBG3 = $D2
ExPAL = $D4
ExANIM = $D5
ExMAP16 = $D6
|
#pragma once
#include "token.hpp"
namespace cctt
{
auto pretty_print_token_tree(Token const* first, Token const* last) -> void;
}
|
; A330451: a(n) = a(n-3) + 20*n - 30 for n > 2, with a(0)=0, a(1)=3, a(2)=13.
; 0,3,13,30,53,83,120,163,213,270,333,403,480,563,653,750,853,963,1080,1203,1333,1470,1613,1763,1920,2083,2253,2430,2613,2803,3000,3203,3413,3630,3853,4083,4320,4563,4813,5070,5333,5603,5880,6163,6453,6750,7053,7363,7680,8003,8333,8670,9013,9... |
COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GeoWrite
FILE: documentPage.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/92 Initial version
DESCRIPT... |
;;
;; Copyright (c) 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 the ... |
; A121925: a(n) = floor(n*(Pi^e + e^Pi)).
; 0,45,91,136,182,227,273,319,364,410,455,501,547,592,638,683,729,775,820,866,911,957,1003,1048,1094,1139,1185,1231,1276,1322,1367,1413,1459,1504,1550,1595,1641,1687,1732,1778,1823,1869,1915,1960,2006,2051,2097,2143,2188,2234,2279,2325,2371,2416,2462,2507,2553,2599,2644,2690,27... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>unlink(name) -> str
Invokes the syscall unlink.
See 'man 2 unlink' for more information.
Arguments:
name(char*): name
Returns:
int
</%docstring>
<%page args="name=0"/>
<%
abi = pwnlib.abi.AB... |
#pragma once
#include "Object.hpp"
#include <set>
namespace alisp
{
struct SharedValueObjectBase : Object
{
std::set<SharedValueObjectBase*>* markedForCycleDeletion = nullptr;
void tryDestroySharedData(); // Derived classes must call this from destructor.
virtual const void* sharedDataPointer() const = 0;... |
; A037959: (n+2)!*n^2*(n+1)/48.
; Submitted by Jon Maiga
; 6,90,1200,15750,211680,2963520,43545600,673596000,10977120000,188367379200,3399953356800,64457449056000,1281520880640000,26676557107200000,580481882652672000,13183287756807168000
add $0,1
mov $1,$0
seq $0,200978 ; Number of ways to arrange n books on 3 consecu... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x166bc, %r8
nop
nop
cmp $52234, %r14
and $0xffffffffffffffc0, %r8
vmovaps (%r8), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %rbx
nop
cmp %r14, %r14
lea address... |
; A307832: Number of palindromic decagonal (10-gonal) numbers of length n whose index is also palindromic.
; 2,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
mov $1,2
mov $2,$0
mov $4,1
lpb $2,1
add $2,3
sub $2,$4
add $3,4
lpb $4,1
mov $1,0
trn $2,3
trn $4,$3
lpe
mov $3,$1
add $1,$2
trn $2,1
add $... |
; A231601: Number of permutations of [n] avoiding ascents from odd to even numbers.
; 1,1,1,4,8,54,162,1536,6144,75000,375000,5598720,33592320,592950960,4150656720,84557168640,676457349120,15620794116480,140587147048320,3628800000000000,36288000000000000
mov $2,$0
mov $3,$0
add $3,$0
div $0,2
div $3,4
mov $4,$2
sub $4... |
proc InputOnChar, char:WORD
cmp cl, 0 ; NULL (0x00) = Backspace character
je .done
cmp cl, 8 ; BS (0x08) = Backspace character
je .backspace
cmp cl, 10 ; LF (0x0A) = Line feed character
je .linefeed
cmp cl, 13 ; CR (0x0D) = Carriage return
je .linefeed
fastcall InputBuff... |
###############################################################################
# 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... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief BksFreeFocus DOS wrapper
;
; (c) osFree Project 2018, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokushe... |
; void *malloc(size_t size)
INCLUDE "clib_cfg.asm"
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _malloc
EXTERN asm_malloc
_malloc:
pop af
pop hl
push hl
push af
jp asm_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
... |
; A133546: Binomial transform of [1,3,5,6,7,8,9,10,11,...] (i.e., positive integers except 2 and 4).
; 1,4,12,31,74,169,376,823,1782,3829,8180,17395,36850,77809,163824,344047,720878,1507309,3145708,6553579,13631466,28311529,58720232,121634791,251658214,520093669,1073741796,2214592483,4563402722
mov $1,4
mov $2,$0
lpb ... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; CDQ
;TEST_BEGIN_RECORDING
MOV eax, 0x819EDB32
MOV edx, 0
cdq
;TEST_END_RECORDING
|
#include <iostream> // For `<<`
#include <cstdlib> // For `exit`
#include <vector> // For `vector`
#include <cstring> // For `strcmp`
using namespace std;
int factorial(int);
string permute(int, string);
void swap(string&, int, int);
void remove_duplicates(vector<string>&);
void print_usage();
int main(int argc, char... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosSearchPath DOS wrapper
;
; (c) osFree Project 2022, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokush... |
; A318047: a(n) = sum of values taken by all parking functions of length n.
; Submitted by Christian Krause
; 1,8,81,1028,15780,284652,5903464,138407544,3619892160,104485268960,3299177464704,113120695539612,4185473097734656,166217602768452900,7051983744002135040,318324623296131263408,15232941497754507165696,77029104023... |
; A250791: Number of (n+1) X (2+1) 0..1 arrays with nondecreasing min(x(i,j),x(i,j-1)) in the i direction and nondecreasing absolute value of x(i,j)-x(i-1,j) in the j direction.
; Submitted by Christian Krause
; 24,66,180,490,1336,3646,9956,27194,74288,202950,554460,1514802,4138504,11306590,30890164,84393482,230567264,... |
*= $C800
;.D X-XFER128.BIN
; Requires modem on channel 5, file on channel 2
JMP SENDFIL
JMP RECVCHK
JMP SENDFIL
JMP RECVCRC
PRINT2
NOP
;OPEN1,8,15,"S0:X-XFER 1300,ML1300X":CLOSE1:SAVE"ML1300X",8:STOP
;**********
;CRC TABLES
;**********
CRCLSB
BYTE 0,... |
; A174426: Denominator of fractions in A171676.
; 4,36,36,144,144,144,400,400,400,400,900,900,900,900,900,1764,1764,1764,1764,1764,1764,3136,3136,3136,3136,3136,3136,3136,5184,5184,5184,5184,5184,5184,5184,5184,8100,8100,8100,8100,8100,8100,8100,8100,8100
mov $3,1
lpb $0,1
sub $0,1
mov $2,2
add $3,1
add $4,1
... |
// 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 "ppapi/proxy/message_handler.h"
#include "ipc/ipc_message.h"
#include "ppapi/proxy/plugin_dispatcher.h"
#include "ppapi/proxy/ppapi_messages.h"
... |
; void in_Wait(uint ticks)
; 09.2005 aralbrec
PUBLIC in_Wait
EXTERN t_delay
; Waits a period of time measured in milliseconds.
;
; enter : HL = time to wait in ms
; used : AF,BC,DE,HL
.in_Wait
; wait 1ms in loop controlled by HL
; at 3.5MHz, 1ms = 3500 T states
ld e,l
ld d,h
.loop
ld hl,3500 - 36
ca... |
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
// Hint: --trace_serializer is a useful debugging flag.
#include <fstream>
#include <iostream>
#include "deno.h"
#include "file_util.h"
#include "internal.h"
#include "third_party/v8/include/v8.h"
#include "third_party/v8/src/base/logging.h"
in... |
.macro _str,msg
.stringn msg+"<end>" :: .align 4
.endmacro
;repointing stuff
.org 0x08006E9C
.word @NewEndingScript
.org 0x0802E4B4 ;repointing cutscene script locations
.word @Kappado1start
.word @Kappado1redo
.word @Kappado2start
.word @Kappado2redo
.word @Kappado3start
.word @Kappado3redo
.word @Tenko1sta... |
; A277499: E.g.f.: -sin(LambertW(-x)).
; Submitted by Christian Krause
; 0,1,2,8,52,476,5646,82368,1426888,28623376,652516090,16660233600,470930272572,14598765522368,492441140292934,17955574113204224,703714660937658128,29500170665998713088,1317136516654501334898,62399954043306802391040,3126350346520523438151620,1651573... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.