text stringlengths 1 1.05M |
|---|
; A308663: Partial sums of A097805.
; 1,1,2,2,3,4,4,5,7,8,8,9,12,15,16,16,17,21,27,31,32,32,33,38,48,58,63,64,64,65,71,86,106,121,127,128,128,129,136,157,192,227,248,255,256,256,257,265,293,349,419,475,503,511,512
lpb $0
sub $0,1
mov $2,$0
sub $0,1
max $2,0
seq $2,28326 ; Twice Pascal's triangle A007318: T(n... |
; A165754: a(n) = nimsum(n+(n+1)+(n+2)).
; 3,0,5,2,7,4,9,6,11,8,13,10,15,12,17,14,19,16,21,18,23,20,25,22,27,24,29,26,31,28,33,30,35,32,37,34,39,36,41,38,43,40,45,42,47,44,49,46,51,48,53,50,55,52,57,54,59,56,61,58,63,60,65,62,67,64,69,66,71,68,73,70,75,72,77,74,79,76,81,78,83,80,85,82,87,84,89,86,91,88,93,90,95,92,97,9... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 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... |
#include <iostream>
#include "ModelMatrix.h"
ModelMatrix::ModelMatrix() {
pos = false;
posRot = false;
T.identity();
invT.identity();
startPosition = Vector3f(0.0, 0.0, 0.0);
orientation.identity();
}
ModelMatrix::~ModelMatrix() {
}
void ModelMatrix::setRotPos(const Vector3f &axis, float degrees, float dx, f... |
format PE64 console
entry start
include 'win64w.inc'
section '.data' data readable writeable
stdout dq ?
section '.text' code readable executable
start:
fastcall setStdout
mov rax, 90
mov r12, 10
mul r12
mov rcx, rax
fastcall iprintLF
fastcall quitProgram
include 'proc... |
; A186539: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=i^2 and g(j)=-2+3j^2. Complement of A186540.
; 1,3,4,6,7,9,11,12,14,15,17,18,20,22,23,25,26,28,29,31,33,34,36,37,39,41,42,44,45,47,48,50,52,53,55,56,58,59,61,63,64,66,67,69,70,72,74,75,77,78,80,82,83,85,86,88,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xe531, %rsi
lea addresses_A_ht+0x13cf3, %rdi
nop
nop
nop
nop
cmp %r9, %r9
mov $8, %rcx
rep movsq
nop
nop
nop
add $3532, %rdi
lea addresses_normal_ht+0x176f3, %r11
nop
sub $44115, %r13
mo... |
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; ADD32i32
mov eax, 0x4
;TEST_BEGIN_RECORDING
add eax, 0x6fffffff
;TEST_END_RECORDING
|
//
// Copyright 2020 WebAssembly Community Group participants
//
// 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1bf13, %rsi
lea addresses_normal_ht+0x6b63, %rdi
nop
nop
nop
nop
nop
sub $1483, %r12
mov $18, %rcx
rep movsw
nop
inc %rdx
lea addresses_A_ht+0x14b63, %r12
nop
nop
nop
nop
nop
mfence
m... |
; A082486: Decimal expansion of the constant c satisfying sum(k>=1,1/c^sqrtint(k))=1 where sqrtint(x)=floor(sqrt(x)).
; Submitted by Jon Maiga
; 4,5,6,1,5,5,2,8,1,2,8,0,8,8,3,0,2,7,4,9,1,0,7,0,4,9,2,7,9,8,7,0,3,8,5,1,2,5,7,3,5,9,9,6,1,2,6,8,6,8,1,0,2,1,7,1,9,9,3,1,6,7,8,6,5,4,7,4,7,7,1,7,3,1,6,8,8,1,0,7,9,6,7,9,3,9,3,1... |
// Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/render/cpdf_type3cache.h"
#include <map>
#include <mem... |
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifdef __YASM_VERSION_ID__
%i... |
;;;
; Handles the keyboard input for the input field.
;
; params:
; keycode - The windows virtual key code for the key that was pressed
;;;
proc InputOnKeyDown, keycode:QWORD
; Complete list of keycodes: https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
mov [keycode], rcx
... |
//
// Copyright (c) 2015 Singular Inversions Inc. (facegen.com)
// Use, modification and distribution is subject to the MIT License,
// see accompanying file LICENSE.txt or facegen.com/base_library_license.txt
//
// Authors: Andrew Beatty
// Created: March 22, 2011
//
#include "stdafx.h"
#include "FgGuiApiSpl... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;;
; __i64tod: __int64 to double conversion routine.
; __... |
main:
addi $t0, $0, 0 # i = 0
addi $t1, $0, 10 # upper limit = 10
addi $s1, $0, 0 # sum = 0
j loop
loop:
slt $t2, $t0, $t1
beq $t2, 0, done
addi $t0, $t0, 1
addi $s1, $s1, 1
j loop
done:
lui $t3, 0x1001
sw $s1 0($t3)
|
db 0 ; species ID placeholder
db 80, 125, 75, 85, 40, 95
; hp atk def spd sat sdf
db BUG, FIGHTING ; type
db 45 ; catch rate
db 200 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/heracross... |
// dllmain.cpp : Defines the entry point for the DLL application.
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:s
#include <windows.h>
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
... |
#include <ros/ros.h>
#include <trajectory_msgs/MultiDOFJointTrajectory.h>
#include <obot_messages.h>
#include <motor_publisher.h>
#include <algorithm>
class ArmTrajectories {
public:
ArmTrajectories() {
arm_trajectory_sub_ = nh_.subscribe<trajectory_msgs::MultiDOFJointTrajectory>("arm_command_trajector... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
/*--------------... |
RESULTS_START EQU $c000
RESULTS_N_ROWS EQU 2
include "base.inc"
; Modifying the wave length while the channel is playing will take
; effect only for the next sample. i.e., it cannot shorten or extend
; the length of the currently playing sample.
CorrectResults:
db $00, $00, $00, $00, $00, $00, $00, $0F
db $00, $00... |
// Scintilla source code edit control
/** @file UniConversion.cxx
** Functions to handle UTF-8 and UTF-16 strings.
**/
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
#include "UniConversi... |
#include "Liga.cpp"
#include "admEquipo.cpp"
using namespace std;
int main(){
while(true){
vector<Liga*> ligas;
admEquipo adm;
int opcion;
cout<<"1- Administrar Ligas\n2- Administrar Equipos\n3- Administrar Jugadores\n4- Jugar Partido\n5- Cargar Archivo\n6- Guardar Archivo\n7- Ver tablas\n";
cin>>opcion;
... |
// Copyright 2019 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 "components/performance_manager/persistence/site_data/leveldb_site_data_store.h"
#include <limits>
#include "base/bind.h"
#include "base/files/... |
// 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-CHROMIUM file.
#include "brightray/browser/browser_client.h"
#include "base/lazy_instance.h"
#include "base/no_destructor.h"
#include "base/path_service.h"... |
#include "Sendthread.h"
#include <QtDebug>
SendThread *new_thread= new SendThread();//Create new thread for receiving data
SendThread::SendThread(QObject *parent):QThread(parent)
{
Power_1=0;
Thread_Sign=true;
}
SendThread::~SendThread()
{
}
void SendThread::Send_Com(void)
{
serialPuts(serial->Serial_Fl... |
; A021186: Decimal expansion of 1/182.
; 0,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5
mov $1,$0
pow $0,2
mul $0,2
sub $0,$1
cal $0,21158 ; Decimal expansion of 1/154.... |
; A077998: Expansion of (1-x)/(1-2*x-x^2+x^3).
; 1,1,3,6,14,31,70,157,353,793,1782,4004,8997,20216,45425,102069,229347,515338,1157954,2601899,5846414,13136773,29518061,66326481,149034250,334876920,752461609,1690765888,3799116465,8536537209,19181424995,43100270734,96845429254,217609704247,488964567014,1098693409021,2468... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
.model
.stack
.data
.code
main proc
mov ah, 01h ; single character input
int 21h ; input in AL register
mov bl,al ;1st input
mov ah, 01h ; single character input
... |
%ifdef CONFIG
{
"RegData": {
"MM6": ["0x8000000000000000", "0x4001"],
"MM7": ["0x8000000000000000", "0x3FFF"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x3ff0000000000000 ; 1.0
mov [rdx + 8 * 0], rax
mov rax, 0x4000000000000000 ; 2.0
mov [rdx + 8 * 1], r... |
//==========================================================================
// ObTools::Chan: tcp-chan.cc
//
// TCP Socket channels (TCPSocketReader & TCPSocketWriter)
//
// Copyright (c) 2005 Paul Clark. All rights reserved
// This code comes with NO WARRANTY and is subject to licence agreement
//===================... |
// MIT License
//
// Copyright (c) 2017-2018 Artur Wyszyński, aljen at hitomi dot pl
//
// 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 th... |
; WARNING: do not edit!
; Generated from openssl/crypto/sha/asm/sha1-x86_64.pl
;
; Copyright 2006-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... |
; A222393: Nonnegative integers m such that 18*m*(m+1)+1 is a square.
; Submitted by Christian Krause
; 0,4,12,152,424,5180,14420,175984,489872,5978292,16641244,203085960,565312440,6898944364,19203981732,234361022432,652370066464,7961375818340,22161378278060,270452416801144,752834491387592,9187420795420572,255742113289... |
#include <iostream>
int main(int argc, char *argv[])
{
std::cout << "Hello world!" << std::endl;
}
// Create an empty Tic_Tac_Toe board
// Display the Game Instructions
// Determine who goes first
// Display the board
// While nobody has won and it’s not a tie
// If it’s the human’s turn
// Get the human’s mov... |
; int strcoll_callee(const char *s1, const char *s2)
SECTION code_clib
SECTION code_string
PUBLIC _strcoll_callee
EXTERN asm_strcoll
_strcoll_callee:
pop hl
pop de
ex (sp),hl
jp asm_strcoll
|
; ===============================================================
; Mar 2014
; ===============================================================
;
; size_t w_array_size(w_array_t *a)
;
; Return the array's current size in words.
;
; ===============================================================
SECTION code_adt_w_arr... |
; A259653: a(0)=0, a(1)=1, a(n) = min{3 a(k) + (3^(n-k)-1)/2, k=0..(n-1)} for n>=2.
; 0,1,4,7,16,25,34,61,88,115,142,223,304,385,466,547,790,1033,1276,1519,1762,2005,2734,3463,4192,4921,5650,6379,7108,9295,11482,13669,15856,18043,20230,22417,24604,31165,37726,44287,50848,57409,63970,70531,77092,83653,103336,123019,1427... |
format ELF64
use64
section '.text' executable
macro mbp ; todo
{
xchg bx, bx
}
VMX_ECX = 100000b
PAGE_PRESENT = 01b
PAGE_WRITE = 10b
PAGE_SIZE = 10000000b
include 'inc/consts.inc'
extrn kernel_start
public LongMode
LongMode:
mov ax, 0x0010
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
; mov ... |
; ----------------------------------------------------------------------------
; hello1.asm
;
; Displays a silly message to standard output. Illustrates user-defined data.
; The easiest way to do this is to put the data in a data segment, separate
; from the code, and access it via the ds register. Note that you mus... |
; A052528: Expansion of (1 - x)/(1 - 2*x - 2*x^2 + 2*x^3).
; 1,1,4,8,22,52,132,324,808,2000,4968,12320,30576,75856,188224,467008,1158752,2875072,7133632,17699904,43916928,108966400,270366848,670832640,1664466176,4129863936,10246994944,25424785408,63083832832,156523246592,388364588032,963608003584,2390898690048,59322842... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xb4a7, %rsi
lea addresses_D_ht+0x15d4b, %rdi
clflush (%rsi)
clflush (%rdi)
sub $42907, %r12
mov $126, %rcx
rep movsb
nop
nop
nop
nop
nop
sub $1749, %rdx
lea addresses_WC_ht+0x... |
_Museum1FText_5c21a::
text "Come again!"
done
_Museum1FText_5c21f::
text "It's ¥50 for a"
line "child's ticket."
para "Would you like to"
line "come in?"
done
_Museum1FText_5c224::
text "Right, ¥50!"
line "Thank you!"
done
_Museum1FText_5c229::
text "You don't have"
line "enough money."
prompt
_Museum... |
; AoC 2018 Day21 - from elfcode to elf.
; Compile with:
;
; nasm -f elf64 Day21.asm
; gcc -m64 -o Day21 Day21.o
;
; you have to enter you desired value for register 0
; before the label begin at mov r9, <value>
; because I was lazy and did not add program argument support
; For part 1, comment out the lines at the end
... |
# /* Copyright (C) 2001
# * Housemarque Oy
# * http://www.housemarque.com
# *
# * 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)
# */
#
# /* Revised by Paul Mensonides (2002) */
#
# /* See http://www.boost... |
extern m7_ippsSHA256Final:function
extern n8_ippsSHA256Final:function
extern y8_ippsSHA256Final:function
extern e9_ippsSHA256Final:function
extern l9_ippsSHA256Final:function
extern n0_ippsSHA256Final:function
extern k0_ippsSHA256Final:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment ... |
lui $1,6431
ori $1,$1,55871
lui $2,47894
ori $2,$2,30462
lui $3,28175
ori $3,$3,35771
lui $4,44141
ori $4,$4,51482
lui $5,29272
ori $5,$5,56392
lui $6,2298
ori $6,$6,5404
mthi $1
mtlo $2
sec0:
nop
nop
nop
slt $2,$6,$6
sec1:
nop
nop
subu $6,$4,$2
slt $4,$6,$6
sec2:
nop
nop
addiu $6,$4,-15576
slt $4,$6,$6
sec... |
; ==================================================================
; MikeOS -- The Mike Operating System kernel
; Copyright (C) 2006 - 2019 MikeOS Developers -- see doc/LICENSE.TXT
;
; This is loaded from the drive by BOOTLOAD.BIN, as KERNEL.BIN.
; First we have the system call vectors, which start at a static p... |
; A190816: a(n) = 5*n^2 - 4*n + 1.
; 1,2,13,34,65,106,157,218,289,370,461,562,673,794,925,1066,1217,1378,1549,1730,1921,2122,2333,2554,2785,3026,3277,3538,3809,4090,4381,4682,4993,5314,5645,5986,6337,6698,7069,7450,7841,8242,8653,9074,9505,9946,10397,10858,11329,11810,12301,12802,13313,13834,14365,14906,15457,16018,165... |
; A208376: Number of n X 5 0..1 arrays avoiding 0 0 0 and 1 1 1 horizontally and 0 0 1 and 1 0 1 vertically.
; 16,256,704,1344,2176,3200,4416,5824,7424,9216,11200,13376,15744,18304,21056,24000,27136,30464,33984,37696,41600,45696,49984,54464,59136,64000,69056,74304,79744,85376,91200,97216,103424,109824,116416,123200,130... |
;;
;; Copyright (c) 2012-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... |
.386
.model flat,stdcall
option casemap:none
include SimCad.inc
.code
start:
invoke GetModuleHandle,NULL
mov hInstance,eax
invoke GetCommandLine
invoke InitCommonControls
invoke LoadLibrary,addr RACad
.if eax
mov hRACad,eax
invoke RegCreateKeyEx,HKEY_CURRENT_USER,addr szSimCad,0,addr ... |
; A100311: Modulo 2 binomial transform of 8^n.
; Submitted by Jamie Morken(s2)
; 1,9,65,585,4097,36873,266305,2396745,16777217,150994953,1090519105,9814671945,68736258049,618626322441,4467856773185,40210710958665,281474976710657,2533274790395913,18295873486192705,164662861375734345
mov $1,1
lpb $0
sub $0,1
mul $1,... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 18.00.40629.0
TITLE C:\Users\cex123\Desktop\FYP\develop\spartan\source\Kernel\Device\Device.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB OLDNAMES
PUBLIC _Device
_device DD FLAT:_IDevice_Latch
DD FLAT:_IDevice_Unlatch
DD ... |
; A001594: 6^n + n^6.
; 1,7,100,945,5392,23401,93312,397585,1941760,10609137,61466176,364568617,2179768320,13065520825,78371693632,470196375201,2821126684672,16926683582305,101559990680640,609359787056377,3656158504062976,21936950726143977,131621703955647040,789730223201638705,4738381338512719872,28430288030173842001,1... |
extern m7_ippsHMAC_Update:function
extern n8_ippsHMAC_Update:function
extern y8_ippsHMAC_Update:function
extern e9_ippsHMAC_Update:function
extern l9_ippsHMAC_Update:function
extern n0_ippsHMAC_Update:function
extern k0_ippsHMAC_Update:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment ... |
TITLE INPTTY - console input
page ,132
;***
;inptty - console input
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
;BASIC Syntax mapping to included runtime entry points
;
;i) INPUT[;]["prompt";|,]variable[,variable]...
;
; BASCOM 2.0 generates calls to IN0A, IPUA, and a call to IPUB for
; each variable.... |
// Copyright (c) 2020 Simons Foundation
//
// 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.txt
//
// Unless required by applicable law or... |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT_1 DB 'Enter an integer : $'
PROMPT_2 DB 'The integer is : $'
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
LEA DX,PROMPT_1
MOV AH,9
INT 21H
MOV CX,2
MOV AH,1
INT 21H
MOV BL,AL
MOV AH,2
MOV DL,0DH
INT 21... |
.include "src/sms.inc"
.asciitable
map " " to "~" = $20
.enda
.def STACK_SIZE 60
.export STACK_SIZE
.ramsection "StackAndSAT" bank 0 slot WRAM0 align 256
stack_top ds STACK_SIZE
sat_unused1 db
sat_unused2 db
sat_unused3 db
sat_used db ; SAT fill level: $40 minimum, $80 maximum
sat_y ds NUM_SPRITES
sat_xn ds NUM_SPR... |
CGAJoker label byte
word C_BLACK
Bitmap <67,41,0,BMF_MONO>
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x00, 0x1f, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x01,
0x00
db 0x00, 0xea, 0xab, 0x00, 0x00, 0x00, 0x00, 0x03,
0x00
db 0x03... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="timerid"/>
<%docstring>
Invokes the syscall timer_getoverrun. See 'man 2 timer_getoverrun' for more information.
Arguments:
timerid(timer_t): timerid
</%docstring>
${syscall('SYS_timer_getoverrun', timerid)}
|
; A021349: Decimal expansion of 1/345.
; 0,0,2,8,9,8,5,5,0,7,2,4,6,3,7,6,8,1,1,5,9,4,2,0,2,8,9,8,5,5,0,7,2,4,6,3,7,6,8,1,1,5,9,4,2,0,2,8,9,8,5,5,0,7,2,4,6,3,7,6,8,1,1,5,9,4,2,0,2,8,9,8,5,5,0,7,2,4,6,3,7,6,8,1,1,5,9,4,2,0,2,8,9,8,5,5,0,7,2
add $0,1
mov $1,10
pow $1,$0
mul $1,8
div $1,2760
mod $1,10
mov $0,$1
|
/**
* File: curl_multi.cpp
* Author: Giuseppe Persico
*/
#include "curlcpp/curl_multi.h"
using curl::curl_multi;
using curl::curl_easy;
using std::vector;
using std::unique_ptr;
// Implementation of constructor.
curl_multi::curl_multi() : curl_interface() {
this->curl = curl_multi_init();
if (this->cur... |
; A179995: Generating function A(5,t)(1+t+t^2)/(1-t)^6, where A(5,t) is an Eulerian polynomial.
; 1,33,276,1299,4392,11925,27708,57351,108624,191817,320100,509883,781176,1157949,1668492,2345775,3227808,4358001,5785524,7565667,9760200,12437733,15674076,19552599,24164592,29609625,35995908
mov $1,1
trn $1,$0
mov $2,10
mo... |
// Test this without pch.
// RUN: %clang_cc1 -include %S/cxx-traits.h -std=c++11 -fsyntax-only -verify %s
// RUN: %clang_cc1 -x c++-header -std=c++11 -emit-pch -o %t %S/cxx-traits.h
// RUN: %clang_cc1 -std=c++11 -include-pch %t -DPCH -fsyntax-only -verify %s
#ifdef PCH
// expected-no-diagnostics
#endif
bool _Is_pod_... |
#include "DAVAEngine.h"
#include "UnitTests/UnitTests.h"
using namespace DAVA;
auto GetIndex = [](const FileList* files, DAVA::String filename)
{
auto i = 0u;
for (; i < files->GetCount(); ++i)
{
if (files->GetFilename(i) == filename)
break;
}
return i;
};
DAVA_TESTCLASS (File... |
#define __CLUCK2SESAME_PLATFORM_CLOCK_ASM
#include "Platform.inc"
#include "GeneralPurposeRegisters.inc"
#include "TableJumps.inc"
radix decimal
Clock code
global lookupNumberOfDaysInMonthBcd
lookupNumberOfDaysInMonthBcd:
.unknownBank
tableDefinitionToJumpWith RBB
retlw 0x00
retlw 0x31
retlw 0x28
retlw 0... |
; A293668: First differences of A292046.
; 1,2,3,1,4,1,1,1,2,1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1... |
//===--- NVPTX.cpp - Implement NVPTX target feature support ---------------===//
//
// 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
//
//===---------------------------... |
; /usr/local/bin/nasm -f macho64 64.asm && ld -macmacos_version_min 10.7.0 -lSystem -o 64 64.o && ./64
global start
section .text
start:
mov rax, 0x2000004 ; write
mov rdi, 1 ; stdout
mov rsi, msg
mov rdx, msg.len
syscall
mov rax, 0x2000001 ; exit
mov rdi, 0
... |
.ORIG x3000
LEA R0, text
PUTS
HALT
text .STRINGZ "Hello World!"
.END
|
PRESERVE8
THUMB
AREA |.text|,CODE,READONLY
EXPORT __main
__main
LDR R0,=0x20000000
LDR R1,=0x20000200
MOV R2,#0
swap
LDRB R3,[R0,R2]
STRB R3,[R1,R2]
ADD R2,R2,#1
CMP R2,#10
BLT swap
stop B stop
END
|
#include <iostream>
#include <deque>
using namespace std;
int main() {
bool isBotva = false;
long long int n = 0;
deque<int> first_player;
deque<int> second_player;
for (int i = 0; i < 5; i++) {
int k;
cin >> k;
first_player.push_back(k);
}
for (int i = 0; i < 5; i+... |
;
;
; Copyright (c) 2015 - 2021 by blindtiger. All rights reserved.
;
; The contents of this file are subject to the Mozilla Public 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.mozilla.org/MPL/
;
; Software... |
; int ungetc_callee(int c, FILE *stream)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _ungetc_callee
EXTERN asm_ungetc
_ungetc_callee:
pop af
pop hl
pop ix
push af
jp asm_u... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4142434445464748",
"RBX": "0x4142434445464748",
"RCX": "0x4142434445464748",
"RDX": "0x4142434445464748",
"RSI": "0x4142434445464748",
"RDI": "0x4142434445464748"
}
}
%endif
mov r15, 0xe0000000
mov rax, 0x4142434445464748
mov [r15 + 8 * 0], rax
mov [r... |
; ---------------------------------------------------------------------------
; Object 7D - hidden points at the end of a level
; ---------------------------------------------------------------------------
HiddenBonus:
moveq #0,d0
move.b obRoutine(a0),d0
move.w Bonus_Index(pc,d0.w),d1
jmp Bonus_Index(pc,d1.w)
... |
;----------------------------------------------------------;
; BOS kernel Christoffer Bubach, 2003-2005. ;
;----------------------------------------------------------;
; ;
; pointer to IDT (Interrupt Description Table) ;
; ... |
;
; jquanti.asm - sample data conversion and quantization (SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This fi... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dfix64u
EXTERN error_llznc, am48_dfix64_0, error_erange_llmc
EXTERN l_lsr_dehldehl
am48_dfix64u:
; double to 64-bit unsigned long long (truncates)
;
; enter : AC' = double x
;
; exit : success
;
; dehl'dehl = (unsigned long long)... |
; A209230: Number of set partitions of [n] that avoid 1231 and 1121.
; Submitted by Christian Krause
; 1,1,2,5,13,34,88,226,578,1476,3768,9620,24564,62728,160192,409096,1044744,2668048,6813600,17400400,44436688,113481248,289805440,740097568,1890041888,4826739776,12326402432
mov $5,1
lpb $0
sub $0,1
add $4,$1
mul... |
LABEL0:
while(8) JIP: LABEL0 { align1 1Q };
while(16) JIP: LABEL0 { align1 1H };
(-f0.0) while(8) JIP: LABEL0 { align1 1Q };
(-f0.0) while(16) JIP: LABEL0 { align1 1H... |
;=======================================
;
; MSU-1 Enhanced Audio Patch
; Zelda no Densetsu - Kamigami no Triforce
; Modified for VT Randomizer
;
; Author: qwertymodo
;
; Track List:
;
; 1 - Title ~ Link to the Past
; 2 - Hyrule Field
; 3 - Time of Falling Rain
; 4 - The Silly Pink Rabbit
; 5 - Forest of Mystery
;... |
; A151779: a(1)=1; for n > 1, a(n)=6*5^{wt(n-1)-1}.
; 1,6,6,30,6,30,30,150,6,30,30,150,30,150,150,750,6,30,30,150,30,150,150,750,30,150,150,750,150,750,750,3750,6,30,30,150,30,150,150,750,30,150,150,750,150,750,750,3750,30,150,150,750,150,750,750,3750,150,750,750,3750,750,3750,3750,18750,6,30,30,150,30,150,150,750,30,1... |
; A347051: a(0) = 1, a(1) = 2; a(n) = n * (n+1) * a(n-1) + a(n-2).
; Submitted by Christian Krause
; 1,2,13,158,3173,95348,4007789,224531532,16170278093,1455549559902,160126621867313,21138169636045218,3297714589844921321,600205193521411725640,126046388354086307305721,30251733410174235165098680,8228597533955746051214146... |
.MODEL SMALL
.STACK 100H
.DATA
NUM DB ?
MSG1 DB 10,13,'ENTER NO: $'
MSG2 DB 10,13,'NOT X TYPE $'
MSG3 DB 10,13,'X TYPE $'
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
LEA DX,MSG1
MOV AH,9
INT 21H
MOV AH,1
INT 21H
SUB AL,30H
MOV NUM,AL
CMP AL,1
JLE LBL2
MOV AH,00
CMP AL,3
JLE LBL3
... |
; A317633: Numbers congruent to {1, 7, 9} mod 10.
; 1,7,9,11,17,19,21,27,29,31,37,39,41,47,49,51,57,59,61,67,69,71,77,79,81,87,89,91,97,99,101,107,109,111,117,119,121,127,129,131,137,139,141,147,149,151,157,159,161,167,169,171,177,179,181,187,189,191,197,199,201,207,209,211,217,219,221,227,229,231,237,239,241,247,249,2... |
; A099800: Bisection of A002110.
; 2,30,2310,510510,223092870,200560490130,304250263527210,614889782588491410,1922760350154212639070,7858321551080267055879090,40729680599249024150621323470,267064515689275851355624017992790
mul $0,2
add $0,1
seq $0,2110 ; Primorial numbers (first definition): product of first n primes.... |
/*
* Copyright 2015-2017 Advanced Micro Devices, Inc.
*
* 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, modi... |
; A177699: E.g.f.: log(1+x)*sinh(x).
; Submitted by Jon Maiga
; 0,0,2,-3,12,-40,190,-1071,7224,-56232,495898,-4880755,53005700,-629398848,8110146070,-112690225935,1679413757168,-26719024870576,451969255722162,-8099650628337987,153288815339260796
mov $4,$0
add $0,1
lpb $0
sub $0,1
max $0,1
mov $2,$1
mod $2,2
... |
; A056865: a(n) = floor(n^2/10).
; 0,0,0,0,1,2,3,4,6,8,10,12,14,16,19,22,25,28,32,36,40,44,48,52,57,62,67,72,78,84,90,96,102,108,115,122,129,136,144,152,160,168,176,184,193,202,211,220,230,240,250,260,270,280,291,302,313,324
mov $1,$0
mul $1,$0
div $1,10
|
; A033569: a(n) = (2*n - 1)*(3*n + 1).
; -1,4,21,50,91,144,209,286,375,476,589,714,851,1000,1161,1334,1519,1716,1925,2146,2379,2624,2881,3150,3431,3724,4029,4346,4675,5016,5369,5734,6111,6500,6901,7314,7739,8176,8625,9086,9559,10044,10541,11050,11571,12104,12649,13206,13775,14356,14949,15554,16171,16800,17441,18094,187... |
/******************************************************************************
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: Implements OGRVFKDriver class.
* Author: Martin Landa, landa.martin gmail.com
*
*****************************************************************************... |
; unsigned char esx_dos_catalog_next(struct esx_cat *cat)
SECTION code_esxdos
PUBLIC _esx_dos_catalog_next_fastcall
EXTERN asm_esx_dos_catalog_next
_esx_dos_catalog_next_fastcall:
push ix
push iy
call asm_esx_dos_catalog_next
pop iy
pop ix
ret
|
; A179272: Sharp upper bound on Rosgen overlap number n-vertex graph with n => 14, formula abused here for nonnegative integers.
; -1,-2,-1,-1,1,2,5,7,11,14,19,23,29,34,41,47,55,62,71,79,89,98,109,119,131,142,155,167,181,194,209,223,239,254,271,287,305,322,341,359,379,398,419,439,461,482,505,527,551,574,599,623,649,674... |
; $Id: vgalib.asm,v 1.2 2000/10/22 21:38:16 plundis Exp $
; Abstract: VGA library in assembly
; Copyright 1999-2000 chaos development.
; Originally written by Johan Thim. Thank you for your great help!
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Publ... |
Name: runed2.asm
Type: file
Size: 19055
Last-Modified: '1992-11-18T01:42:32Z'
SHA-1: D8069438A5423D5A97FD3E594E505B155D12855F
Description: null
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.