text stringlengths 1 1.05M |
|---|
; A315725: Coordination sequence Gal.6.158.6 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Simon Strandgaard
; 1,6,12,18,22,26,30,34,38,44,50,56,62,68,74,78,82,86,90,94,100,106,112,118,124,130,134,138,142,146,150,156,1... |
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [(2.0 * (8.0 - 18.0 / 9.0 * (7.0 * 8.0 - 4.0 + 5.0 * 7.0) - 6.0) * (49.0 / 7.0 - 3.0))=]
.const 3 real [2.000000]
.const 4 real [8.000000]
.const 5 real [18.000000]
.const 6 real [9.000000]
.... |
_sh: file format elf64-x86-64
Disassembly of section .text:
0000000000001000 <runcmd>:
struct cmd *parsecmd(char*);
// Execute cmd. Never returns.
void
runcmd(struct cmd *cmd)
{
1000: f3 0f 1e fa endbr64
1004: 55 push %rbp
1005: 48 89 e5 mov %rsp,%rb... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x7bfc, %rcx
nop
and %rdx, %rdx
mov $0x6162636465666768, %r10
movq %r10, (%rcx)
nop
add $27952, %r14
lea addresses_D_ht+0x1187c, %r9
add %r8, %r8
movb (%r9), %r15b
add... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x67b2, %rdx
nop
nop
and $42281, %r13
movb $0x61, (%rdx)
nop
nop
nop
nop
nop
lfence
lea addresses_UC_ht+0xca4a, %r9
nop
nop
nop
inc %rcx
movw $0x6162, (%r9)
nop
nop
nop
dec %r1... |
//
// idt.asm
//
// Logic for creating the Interrupt Descriptor Table (IDT) structure and
// loading it into the CPU
//
#include "dx/system_call_vectors.h"
#include "hal/address_space_layout.h"
#include "hal/interrupt_vectors.h"
#include "interrupt_handler_stub.h"
#include "selector.h"
//
// Macros for addressing e... |
; ***************************************************************************** ; *****************************************************************************
;
; Name: clear.asm
; Purpose: Screen Erase/Fill Routine
; Created: 8th March 2020
; Reviewed: 16th March 2020
; Author: Paul Robson (paul@robsons.org.u... |
; A158543: a(n) = 144*n^2 - 12.
; Submitted by Christian Krause
; 132,564,1284,2292,3588,5172,7044,9204,11652,14388,17412,20724,24324,28212,32388,36852,41604,46644,51972,57588,63492,69684,76164,82932,89988,97332,104964,112884,121092,129588,138372,147444,156804,166452,176388,186612,197124,207924,219012,230388,242052,254... |
; A091919: Expansion of 1/((1-2*x)*(1-x^2)^2).
; 1,2,6,12,27,54,112,224,453,906,1818,3636,7279,14558,29124,58248,116505,233010,466030,932060,1864131,3728262,7456536,14913072,29826157,59652314,119304642,238609284,477218583,954437166,1908874348,3817748696,7635497409,15270994818,30541989654,61083979308,122167958635,244335... |
// Copyright (c) 2012 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 "chrome/browser/extensions/extension_uninstall_dialog.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/str... |
// Copyright 2013 The Flutter 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 "flutter/lib/ui/painting/paint.h"
#include "flutter/display_list/display_list_builder.h"
#include "flutter/fml/logging.h"
#include "flutter/lib/u... |
; Assembler should use basic 6502 instructions
processor 6502
; zero page
org $80
ZPNEG
.byte $00
ZP0
.byte $00
ZP1
.byte $00
ZP_ADDR0
.word DATA0
ZP_ADDR1
.word DATA1
ZP_ADDR2
.word DATA2
ZP_PAGE
.word PAGE0
; normal data
org $0400
DATA0
.byte $00
DATA1
.byte $00
DATA2
.byte $00
; page data
org $0480... |
// Copyright (c) 2018 PaddlePaddle Authors. 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... |
// Copyright 2020 The XLS Authors
//
// 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 by applicable law or agreed t... |
; A040379: Continued fraction for sqrt(399).
; 19,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38
mov $1,19
lpb $0
mod $0,2
mul $1,2
lpe
gcd $1,$0
|
object_const_def ; object_event constants
const LAVRADIOTOWER1F_RECEPTIONIST
const LAVRADIOTOWER1F_OFFICER
const LAVRADIOTOWER1F_SUPER_NERD1
const LAVRADIOTOWER1F_GENTLEMAN
const LAVRADIOTOWER1F_SUPER_NERD2
LavRadioTower1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
LavRadioTower1FReceptionistScript:
... |
Function17c000:
call DisableLCD
ld hl, vTiles2
ld bc, $31 tiles
xor a
call ByteFill
call LoadStandardFont
call LoadFontsExtra
ld hl, HaveWantMap
decoord 0, 0
bccoord 0, 0, wAttrMap
ld a, SCREEN_HEIGHT
.y
push af
ld a, SCREEN_WIDTH
push hl
.x
push af
ld a, [hli]
ld [de], a
inc de
ld a, [hli]
ld ... |
#include <tm_kit/infra/Environments.hpp>
#include <tm_kit/infra/TerminationController.hpp>
#include <tm_kit/infra/RealTimeApp.hpp>
#include <tm_kit/basic/ByteData.hpp>
#include <tm_kit/basic/SpdLoggingComponent.hpp>
#include <tm_kit/basic/real_time_clock/ClockComponent.hpp>
#include <tm_kit/transport/CrossGuidCompone... |
; A078044: Expansion of (1-x)/(1+x+2*x^3).
; Submitted by Christian Krause
; 1,-2,2,-4,8,-12,20,-36,60,-100,172,-292,492,-836,1420,-2404,4076,-6916,11724,-19876,33708,-57156,96908,-164324,278636,-472452,801100,-1358372,2303276,-3905476,6622220,-11228772,19039724,-32284164,54741708,-92821156,157389484,-266872900
mov $1... |
%ifdef CONFIG
{
"RegData": {
"RBX": "0x80",
"RDI": "0x00",
"RDX": "0xC0",
"RSI": "0x40",
"R8": "0x1",
"R9": "0x0",
"R10": "0x0",
"R11": "0x1"
}
}
%endif
mov rbx, 0x01
mov rdi, 0x01
mov rdx, 0x80
mov rsi, 0x80
mov r15, 1
mov rcx, 1
stc
rcr bl, cl
mov r8, 0
cmovo r8, r15 ; We only ... |
; A132413: Ceiling(n^2*exp(n)).
; 3,30,181,874,3711,14524,53736,190782,656350,2202647,7244772,23436690,74767864,235710440,735528909,2274844294,6980781346,21273830001,64432110648,194066078164,581597738908,1735097817528,5155001023066,15257734346790,45003062085867,132313215973896,387863167398712,1133865538404517,330625214... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r15
push %r8
push %rdx
// Faulty Load
mov $0x7f44c100000005c1, %r15
nop
nop
nop
nop
add %rdx, %rdx
movups (%r15), %xmm2
vpextrq $1, %xmm2, %r8
lea oracles, %r10
and $0xff, %r8
shlq $12, %r8
mov (%r10,%r... |
; A161758: a(n)=n-p+1 where p is the maximal prime less than n-2.
; 4,4,5,4,5,4,5,6,7,4,5,4,5,6,7,4,5,4,5,6,7,4,5,6,7,8,9,4,5,4,5,6,7,8,9,4,5,6,7,4,5,4,5,6,7,4,5,6,7,8,9,4,5,6,7,8,9,4,5,4,5,6,7,8,9,4,5,6,7,4,5,4,5,6,7,8,9,4,5,6,7,4,5,6,7,8,9,4,5,6,7,8,9,10,11,4
add $0,1
cal $0,64722 ; a(1) = 0; for n >= 2, a(n) = n - ... |
/*
* Copyright (c) 2001-2005 The Regents of The University of Michigan
* Copyright (c) 2007 MIPS Technologies, 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 sour... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#... |
; A la suite du code
; on ajoute un décalage avant (et donc une compensation?)
; pour chaque pattern, pour que l'inclinaison se fasse par rapport au
; centre de la lettre
split_pattern0: ; Droite
db #86,#00,#86,#00,#86,#00,#86,#00
db #86,#00,#86,#00,#86,#00
if NUM_SPLIT_LINES== 8
db #86,#00
endif
db 4
split_... |
SECTION code_driver
EXTERN asm_i2c_initialise
PUBLIC i2c_initialise
;------------------------------------------------------------------------------
; Initialise a PCA9665 device
;
; extern void __LIB__ i2c_initialise(uint8_t device) __smallc __z88dk_fastcall;
.i2c_initialise
ld a,l
jp asm_i2c_initialise... |
; A161938: a(n) = ((3+sqrt(2))*(2+sqrt(2))^n + (3-sqrt(2))*(2-sqrt(2))^n)/2.
; 3,8,26,88,300,1024,3496,11936,40752,139136,475040,1621888,5537472,18906112,64549504,220385792,752444160,2569005056,8771131904,29946517504,102243806208,349082189824,1191841146880,4069200207872,13893118537728,47434073735168,161950057865216,552... |
; A104635: Odd n such that 2*n+1 is prime.
; 1,3,5,9,11,15,21,23,29,33,35,39,41,51,53,63,65,69,75,81,83,89,95,99,105,111,113,119,125,131,135,141,153,155,165,173,179,183,189,191,209,215,219,221,231,233,239,243,245,249,251,261,273,281,285,293,299,303,309,315,321,323,329,341,345,359,363,369,371,375,393,405,411,413,419,429... |
.text:00000000000110B4 ; =============== S U B R O U T I N E =======================================
.text:00000000000110B4
.text:00000000000110B4
.text:00000000000110B4 sub_110B4 proc near ; CODE XREF: DriverEntry+DA↓p
.text:00000000000110B4
.text:00000000000110B4 var_78 = qword ptr -78h
.... |
; A017550: (12n+2)^6.
; 64,7529536,308915776,3010936384,15625000000,56800235584,164206490176,404567235136,885842380864,1771561000000,3297303959104,5789336458816,9685390482496,15557597153344,24137569000000
mul $0,12
add $0,2
pow $0,6
|
#include "InterruptHandler.h"
#include "UmikoBot.h"
#include <QtWidgets/QApplication>
#include <QtWidgets/QMessageBox>
int main(int argc, char* argv[])
{
InterruptHandler::Init();
qputenv("QT_QPA_PLATFORM_PLUGIN_PATH", ".");
QApplication app(argc, argv);
// Retrieve token from program arguments
QStringList ar... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x84bc, %r14
nop
cmp $36977, %r9
movups (%r14), %xmm7
vpextrq $0, %xmm7, %rdx
nop
and %rdi, %rdi
lea addresses_WC_ht+0xcc1c, %rdi
nop
and %rdx, %rdx
and $0xffffffffffffffc0, %r... |
; A310371: Coordination sequence Gal.6.258.6 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,10,14,18,22,28,32,36,40,46,50,54,60,64,68,72,78,82,86,90,96,100,104,110,114,118,122,128,132,136,140,146,150,154,160,164,168,172,178,182,... |
SFX_Battle_31_Ch4:
duty 2
squarenote 15, 15, -7, 2016
squarenote 15, 15, -7, 2016
squarenote 15, 15, -7, 2016
squarenote 15, 15, -7, 2016
squarenote 15, 15, 2, 2016
endchannel
SFX_Battle_31_Ch5:
duty 3
squarenote 15, 15, -7, 2018
squarenote 15, 15, -7, 2017
squarenote 15, 15, -7, 2018
squarenote 15, 15, -... |
/*
* 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 ... |
; Device Driver Linkage Link In V2.00 1985 Tony Tebby QJUMP
section iou
xdef iou_ddlk
xdef iou_svlk
include 'dev8_keys_iod'
include 'dev8_keys_qdos_sms'
;+++
; General directory device driver link in.
;
; a3 c p pointer to linkage block
;
; status ... |
Snd_MGZ2_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_MGZ2_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $3D
smpsHeaderDAC Snd_MGZ2_DAC
smpsHeaderFM Snd_MGZ2_FM1, $00, $09
smpsHeaderFM Snd_MGZ2_FM2, $00, $0C
smpsHeaderFM Snd_MGZ2_FM3, $00, $0D
smpsHeaderFM ... |
aseg
org 3000h
start0: jp start
leeteclas: ld (aux), BC
ld (aux+2), HL ; resguardo registros que reciben parametros
pop BC
ld (aux+4), BC ; resguardo dir. de instr. sig. a ret
pop BC ; B = cant caracteres, C = basura
pop HL ; HL = dir. de vuelco de caracteres leidos
push AF ; resguardo... |
// Authored by : tony9402
// Co-authored by : -
// Link : http://boj.kr/9289c0621c6f41dabd5bfc2ba190a2ce
#include<bits/stdc++.h>
using namespace std;
unordered_map<string, string> pokemon;
unordered_map<string, string> pokemonSeq;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int N, Q; cin >> N >... |
/** \file
* \brief main-function for creating an ObjectsToMarkers object and waiting
* for ROS events.
*/
// std.
#include <iostream>
#include <exception>
// ROS & Co.
#include <ros/ros.h>
#include <objects_to_markers/objects_to_markers.h>
using objects_to_markers::ObjectsToMarkers;
using namespace std;
void s... |
#include "HierarchyPanel.h"
#include "Editor.h"
#include "ApplicationInfoPanel.h"
#include <Lumos/Graphics/RHI/GraphicsContext.h>
#include <Lumos/Core/Application.h>
#include <Lumos/Scene/SceneManager.h>
#include <Lumos/Core/Engine.h>
#include <Lumos/Graphics/Renderers/RenderGraph.h>
#include <Lumos/Graphics/GBuffer.h... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>ustat(dev, ubuf) -> str
Invokes the syscall ustat.
See 'man 2 ustat' for more information.
Arguments:
dev(dev_t): dev
ubuf(ustat*): ubuf
Returns:
int
</%docstring>
<%page args="dev=0, ubuf=0... |
// Copyright (c) 2016 The Super Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "compat/byteswap.h"
#include "test/test_bitcoin.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(b... |
; A005536: a(0) = 0; thereafter a(2n) = n - a(n) - a(n-1), a(2n+1) = n - 2a(n) + 1.
; 0,1,0,0,1,3,3,4,3,3,1,0,0,1,0,0,1,3,3,4,6,9,10,12,12,13,12,12,13,15,15,16,15,15,13,12,12,13,12,12,10,9,6,4,3,3,1,0,0,1,0,0,1,3,3,4,3,3,1,0,0,1,0,0,1,3,3,4,6,9,10,12,12,13,12,12,13,15,15,16,18,21,22,24,27,31,33,36,37,39,39,40,42,45,46,... |
#ifndef MBLIB_BOOST_VARIANT_HPP_
#define MBLIB_BOOST_VARIANT_HPP_
#include <mblib/functor.hpp>
#include <boost/variant.hpp>
#include <boost/mpl/vector.hpp>
namespace boost_variant_utils_detail
{
template<class MPLVector, class... Types>
struct variadic_make_variant;
template<class MPLVector>
struct variadic_make_... |
struct B {
int i;
bool operator == (int b)
{
return i == b;
}
};
struct A {
int i;
operator B() const
{
B b;
b.i = i;
return b;
}
};
int main() {
A a;
a.i = 10;
assert( a.operator B() == 10 );
}
|
aci -128 ; CE 80
aci 127 ; CE 7F
aci 255 ; CE FF
adc (hl) ; 8E
adc (ix) ; FD 8E 00
adc (ix+127) ; FD 8E 7F
adc (ix-128) ; FD 8E 80
adc (iy) ; ... |
#include "CombatManager.hpp"
#include "MountainClimbingMovementAccumulationChecker.hpp"
#include "RNG.hpp"
// Check to see if the creature falls. Falling deals lump sum damage, influenced
// by how many turns past exhaustion have been spent mountain climbing.
void MountainClimbingMovementAccumulationChecker::check(Cr... |
#include <iostream>
#include <cstdlib>
#include <vector>
#include "majorityelement.hxx"
using namespace std;
int main(void) {
Solution sol;
std::vector<int> list {1, 2, 3, 4, 5, 5, 5, 5};
cout << sol.majorityElement(list) << endl;
return EXIT_SUCCESS;
}
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... |
; A193337: Sum of odd divisors of sigma(n).
; Submitted by Jamie Morken(s1.)
; 1,4,1,8,4,4,1,24,14,13,4,8,8,4,4,32,13,56,6,32,1,13,4,24,32,32,6,8,24,13,1,104,4,40,4,112,20,24,8,78,32,4,12,32,56,13,4,32,80,128,13,57,40,24,13,24,6,78,24,32,32,4,14,128,32,13,18,104,4,13,13,336,38,80,32,48,4,32,6,128,133,104,32,8,40,48,24,... |
; A140058: Numbers > 24 that are congruent to {5,6,7,8,9} mod 10.
; 25,26,27,28,29,35,36,37,38,39,45,46,47,48,49,55,56,57,58,59,65,66,67,68,69,75,76,77,78,79,85,86,87,88,89,95,96,97,98,99,105,106,107,108,109,115,116,117,118,119,125,126,127,128,129,135,136,137,138,139,145,146
mov $1,$0
div $0,5
mul $0,5
add $1,$0
add $... |
SECTION code_fp_math32
PUBLIC _tan
EXTERN cm32_sdcc_tan
defc _tan = cm32_sdcc_tan
|
; A063232: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 77 ).
; 5,16,24,36,44,56,64,76,84,96,104,116,124,136,144,156,164,176,184,196,204,216,224,236,244,256,264,276,284,296,304,316,324,336,344,356,364,376,384,396,404,416,424,436,444,456,464,476,484,496,504,516,524,536,544,556,564,576,584,596,604,6... |
_mkdir: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
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 ... |
section .multiboot_header
header_start:
; magic number
dd 0xe85250d6 ; multiboot2
; architecture
dd 0 ; protected mode
; header length
dd header_end - header_start
; checksum
dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) ; checksum
; end tag
dw 0
dw 0
d... |
#ifndef BOOST_THREAD_WIN32_SHARED_MUTEX_HPP
#define BOOST_THREAD_WIN32_SHARED_MUTEX_HPP
// (C) Copyright 2006-8 Anthony Williams
// (C) Copyright 2011-2012 Vicente J. Botet Escriba
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.b... |
; A168869: Number of reduced words of length n in Coxeter group on 48 generators S_i with relations (S_i)^2 = (S_i S_j)^20 = I.
; 1,48,2256,106032,4983504,234224688,11008560336,517402335792,24317909782224,1142941759764528,53718262708932816,2524758347319842352,118663642324032590544,5577191189229531755568,262127985893787... |
; A112655: a(n) cubed is congruent to a(n) (mod 13).
; 0,1,12,13,14,25,26,27,38,39,40,51,52,53,64,65,66,77,78,79,90,91,92,103,104,105,116,117,118,129,130,131,142,143,144,155,156,157,168,169,170,181,182,183,194,195,196,207,208,209,220,221,222,233,234,235,246
mov $1,$0
add $1,1
div $1,3
mul $1,10
add $1,$0
|
.globl main
.text
main:
# li $t0, 2147483647
li $t0, 2439
addi $sp, $sp, -4
sw $t0, 0($sp)
addi $sp, $sp, 4
# lw $t1, -4($sp)
# li $a0, 5
li $t1, 255
addi $sp, $sp, -8
sw $t1, 0($sp)
addi $sp, $sp, 8
# lw $t2, -8($sp)
li $t2, 256
addi $sp, $sp, -12
sw $t2, 0($sp)
addi $sp, $sp, 12
# lw $t2, -12($sp)... |
; A066798: a(n) = Sum_{i=1..n} binomial(6*i,3*i).
; Submitted by Jon Maiga
; 20,944,49564,2753720,157871240,9233006540,547490880980,32795094564080,1979734520212192,120244316085073616,7339672750101339356,449852213026938118560,27666867082225970134160,1706577353294117060381480,105533998640847528430052600,65406010125071464... |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
// Tests optimization of identical sub-expressions
// The two examples of i*2 is detected as identical leading to optimized ASM where *2 is only calculated once
// Commodore 64 PRG executable file
.file [name="subexpr-optimize-0.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
... |
; A329679: Number of excursions of length n with Motzkin-steps consisting only of consecutive steps UH, UD, HD and DH.
; 1,1,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
trn ... |
; A119248: a(n) is the difference between denominator and numerator of the n-th alternating harmonic number Sum_{k=1..n} (-1)^(k+1)/k = A058313(n)/A058312(n).
; Submitted by Christian Krause
; 0,1,1,5,13,23,101,307,641,893,7303,9613,97249,122989,19793,48595,681971,818107,13093585,77107553,66022193,76603673,1529091919,1... |
; A022963: 7-n.
; 7,6,5,4,3,2,1,0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52
sub $1,$0
add $1,7
mov $0,$1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x13ebf, %rsi
lea addresses_UC_ht+0x84bf, %rdi
clflush (%rdi)
nop
nop
nop
and %r9, %r9
mov $123, %rcx
rep movsw
nop
nop
nop
nop
and %rdi, %rdi
lea addresses_D_ht+0xdd87, %rax
n... |
#include <iostream>
using std::cout;
using std::cin;
using std::cerr;
using std::ostream;
class Rational {
public:
// to throw as exception
class Zero_Denom { };
// getters
int get_num() const { return numerator; }
int get_den() const { return denominator; }
// co... |
// Copyright (c) 2018-2021 Emil Dotchevski and Reverge Studios, Inc.
// 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)
#include <boost/leaf/handle_errors.hpp>
#include <boost/exception/info.hpp>
namespace leaf = bo... |
#ifndef BOOST_ARCHIVE_POLYMORPHIC_TEXT_WIARCHIVE_HPP
#define BOOST_ARCHIVE_POLYMORPHIC_TEXT_WIARCHIVE_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// polymorphic_text_wiarchive.hpp
// (C... |
/*
* 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, publis... |
/*
* Copyright (c) 2016, The OpenThread Authors.
* 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 ... |
; *****************************************************************************
; *****************************************************************************
;
; Name: spritesetup.asm
; Purpose: Set up sprites
; Created: 26th March 2020
; Reviewed: TODO
; Author: Paul Robson (paul@robsons.org.uk)
;
; ********... |
#fn add1(value) => value + 1
#d8 add1(0xffff) ; error: larger |
// @HEADER
// ***********************************************************************
//
// Sacado Package
// Copyright (2006) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this s... |
//=================================================================================================
/*!
// \file src/mathtest/tdvecdmatmult/VDbMHb.cpp
// \brief Source file for the VDbMHb dense vector/dense matrix multiplication math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This fil... |
; A040397: Continued fraction for sqrt(418).
; 20,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4
seq $0,10144 ; Continued fraction for sqrt(59).
seq $0,47423 ; Numbers that are con... |
; void *zx_aaddr2saddr(void *attraddr)
SECTION code_arch
PUBLIC zx_aaddr2saddr
zx_aaddr2saddr:
INCLUDE "arch/zx/display/z80/asm_zx_aaddr2saddr.asm"
|
;
; Old School Computer Architecture - interfacing FLOS
; Stefano Bodrato, 2011
;
; $Id: page_in_video.asm,v 1.4 2017/01/02 23:35:59 aralbrec Exp $
;
INCLUDE "flos.def"
SECTION code_clib
PUBLIC page_in_video
PUBLIC _page_in_video
defc page_in_videp = kjt_page_in_video
defc _page_in_videp = kjt_pa... |
; A083578: a(n) = (6^n + (-4)^n)/2.
; 1,1,26,76,776,3376,25376,131776,872576,4907776,30757376,179301376,1096779776,6496792576,39316299776,234555621376,1412702437376,8454739787776,50814338072576,304542431051776,1828628975845376
mov $2,$0
mov $3,$0
add $3,4
mov $5,$0
mov $0,1
mov $6,6
pow $6,$2
sub $2,$3
mov $4,$2
pow $... |
/**********************************************************************
* Copyright (c) 2008-2016, Alliance for Sustainable Energy.
* All rights reserved.
*
* 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 the Fre... |
// Copyright 2021 DeepMind Technologies Limited
//
// 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 by applicable l... |
; A228220: Number of second differences of arrays of length 5 of numbers in 0..n.
; 31,199,625,1429,2731,4651,7309,10825,15319,20911,27721,35869,45475,56659,69541,84241,100879,119575,140449,163621,189211,217339,248125,281689,318151,357631,400249,446125,495379,548131,604501,664609,728575,796519,868561,944821,1025419,111... |
.globl Tela79
Tela79:
addi $10, $0, 0xa8f2a8
sw $10, 268500992($0)
addi $10, $0, 0x00d800
sw $10, 268500996($0)
addi $10, $0, 0x00d800
sw $10, 268501000($0)
addi $10, $0... |
// Copyright 2012 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 "chrome/browser/ui/browser.h"
#include <stddef.h>
#include <algorithm>
#include <string>
#include <utility>
#include "base/base_paths.h"
#incl... |
; A105470: a(n)=1 if there is number of the form 6k+3 with prime(n) <= 6k+3 <= prime(n+1), otherwise 0.
; Submitted by Jon Maiga
; 1,1,0,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1... |
/*
* 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 of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
SECTION code_clib
PUBLIC xorpixel
EXTERN textpixl
EXTERN __gfx_coords
;
; $Id: xorpixl.asm,v 1.5 2016/07/02 09:01:36 dom Exp $
;
; ******************************************************************
;
; xor pixel at (x,y) coordinate.
;
; ZX 80 version.
; 64x48 dots.
;
;
.xorpixel
ld a,h
cp 64
... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="resource, rlimits"/>
<%docstring>
Invokes the syscall getrlimit. See 'man 2 getrlimit' for more information.
Arguments:
resource(rlimit_resource_t): resource
rlimits(rlimit): rlimits
</%docstring>
${syscall('SYS_getrlimit', resource... |
SECTION code_fp_math48
PUBLIC logb
EXTERN cm48_sccz80_logb
defc logb = cm48_sccz80_logb
|
;*****************************************************************************
;* DRVVERT.ASM - Get/Put/Set vertical segment/line driver functions.
;*
;* NOTES:
;*
;*
;* MAINTENANCE:
;* 03/27/91 Ian Lepore
;* Basically a total re-write.
;*******************************************************************... |
section .data
msg db "Hello, world!$"
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, msg
mov rdx, 13
syscall
mov rax, 60
mov rdi, 0
syscall
|
NewElderCode:
{
LDA $8A : CMP #$1B : BEQ .newCodeContinue
;Restore Jump we can keep the RTL so JML
JML $05F0CD
.newCodeContinue
PHB : PHK : PLB
LDA.b #$07 : STA $0F50, X ;Palette
JSR Elder_Draw
JSL Sprite_PlayerCantPassThrough
JSR Elder_Code
PLB
RTL
Elder_Draw:
{
LDA.b #$02 : STA $06 : STZ $07 ;Num... |
; A017809: Binomial coefficients C(93,n).
; 1,93,4278,129766,2919735,51971283,762245484,9473622444,101841441273,961835834245,8079421007658,60962903966874,416579843773639,2595612872743443,14832073558533960,78115587408278856,380813488615359423,1724861095493098563,7282746847637527266,28747684924884976050,10636643422207441... |
; A157728: a(n) = Fibonacci(n) - 4.
; 1,4,9,17,30,51,85,140,229,373,606,983,1593,2580,4177,6761,10942,17707,28653,46364,75021,121389,196414,317807,514225,832036,1346265,2178305,3524574,5702883,9227461,14930348,24157813,39088165,63245982,102334151,165580137,267914292,433494433,701408729,1134903166,1836311899,2971215069,... |
//===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
#include <iostream>
#include <map>
#include <string>
#include <utility>
int main()
{
std::multimap<std::string, std::string> familyChildrenMap;
std::string lastName, childName;
std::cout << "Please input children names first and then the family's last name bound to all these children names\n";
while (std::cin ... |
_zombie: formato del fichero elf32-i386
Desensamblado de la sección .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
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 ... |
; A120785: Denominators of partial sums of Catalan numbers scaled by powers of 1/16.
; 1,16,128,4096,32768,524288,4194304,268435456,2147483648,34359738368,274877906944,8796093022208,70368744177664,1125899906842624,9007199254740992,1152921504606846976
mul $0,2
add $0,2
seq $0,46161 ; a(n) = denominator of binomial(2n,n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.