text stringlengths 1 1.05M |
|---|
%ifdef CONFIG
{
"RegData": {
"RBX": "0x0000000000000003",
"RCX": "0x0000000000000002",
"RDX": "0x0000000000000001",
"RSI": "0x0000000000000000",
"R8": "0x0",
"R9": "0x0",
"R10": "0x1",
"R11": "0x1"
}
}
%endif
mov rbx, 0x0000000000000001
mov rcx, 0x0000000000000001
mov rdx, 0x80000... |
;*****************************************************************************
; GCAM.ASM -- DSP-BASED CCD CONTROLLER PROGRAM
;
; This version slightly modified by Michael Lesser from
; original code by Greg Burley for operation of the
; ITL guider.
;
; Last change 02Feb09 RAT - dual readout missing data, V... |
; float sqrt(float x)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdccix_sqrt
EXTERN cm48_sdccix_sqrt_fastcall
cm48_sdccix_sqrt:
pop af
pop hl
pop de
push de
push hl
push af
jp cm48_sdccix_sqrt_fastcall
|
/*****************************************************************************************[Main.cc]
The MIT License (MIT)
Copyright (c) 2014, Sam Bayless
Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson
Copyright (c) 2007-2010, Niklas Sorensson
Permission is hereby granted, free of charge, to any person obt... |
/* keyviserver - A key value store server based on keyvi.
*
* Copyright 2019 Hendrik Muhs<hendrik.muhs@gmail.com>
*
* 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.apac... |
; A122795: Connell (5,3)-sum sequence (partial sums of the (5,3)-Connell sequence)
; 1,3,10,22,39,57,80,108,141,179,222,270,319,373,432,496,565,639,718,802,891,985,1080,1180,1285,1395,1510,1630,1755,1885,2020,2160,2305,2455,2610,2766,2927,3093,3264,3440,3621,3807,3998,4194,4395,4601,4812,5028,5249,5475,5706,5938,6175,6... |
// MIT License
//
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved.
//
// 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 lim... |
// Copyright (c) 2013 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 "ui/message_center/message_center_tray.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/observer_list.h"
#includ... |
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Oct 06 06:38:24 2018 *
;****************************************************************************... |
TITLE NamMgr.asm - Name Table manager
;****************************************************************************
; Copyright <C> 1985, Microsoft Corporation
;Purpose:
; This module contains the routines necessary to create and manage the
; symbol name table. These routines are:
;
; CopyONamPb
; Copies the ASCI... |
%ifdef CONFIG
{
"RegData": {
"MM6": ["0x8000000000000000", "0x4000"],
"MM7": ["0x8000000000000000", "0xBFFF"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
lea rdx, [rel data]
fld tword [rdx + 8 * 0]
lea rdx, [rel data2]
fld tword [rdx + 8 * 0]
fsub st1, st0
hlt
align 8
data:
dt 1.... |
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) )
ftyp_start:
dd BE(ftyp_end - ftyp_start)
db "ftyp"
db "isom"
dd BE(0x00)
db "mif1", "miaf"
ftyp_end:
meta_start:
dd BE(meta_end - meta_start)
db "meta"
dd BE(0)
hdlr_start:
dd BE(hdlr_end - hdlr... |
; double cos (double d);
; ----------------------
; This function returns the cosine of a real number.
; KNOWN BUGS !!!
; 1. Does not handle exceptions.
section .code
global _cos
_cos push rbp
mov rbp, rsp
fld tword [rbp+16]
fcos ... |
; $Id: bit_open.asm,v 1.7 2016-06-16 19:34:00 dom Exp $
;
; Z88 1 bit sound functions
;
; void bit_open();
;
; Stefano Bodrato - 28/9/2001
; Based on the Dominic Morris' code
;
SECTION code_clib
PUBLIC bit_open
PUBLIC _bit_open
INCLUDE "interrpt.def"
PUBLIC snd_asave
EXTERN ... |
Name: mn_hp_smplay.asm
Type: file
Size: 97252
Last-Modified: '1993-08-24T11:34:58Z'
SHA-1: ABE54A674E062792870E26478B08325FA5CC94E6
Description: null
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... |
/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
nlsat_evaluator.cpp
Abstract:
Helper class for computing the infeasible intervals of an
arithmetic literal.
Author:
Leonardo de Moura (leonardo) 2012-01-12.
Revision History:
--*/
#include "nlsat/nlsat_evaluator.h"
#include "nlsat/nlsat_... |
handle_input:
.var pra = $dc00 //CIA#1 Port Register A
.var prb = $dc01 //CIA#1 Port Register B
.var ddra = $dc02 // CIA#1 (Data Direction Register A)
.var ddrb = $dc03 // CIA#1 (Data Direction Register B)
lda #$FF
sta ddra // set data register a to output
lda #$00
sta ddrb // set data register b to input
... |
; A101399: a(0) = 1, a(1) = 2, a(2) = 5; for n >= 3, a(n) = a(n-1) + 2*a(n-2) + a(n-3).
; 1,2,5,10,22,47,101,217,466,1001,2150,4618,9919,21305,45761,98290,211117,453458,973982,2092015,4493437,9651449,20730338,44526673,95638798,205422482,441226751,947710513,2035586497,4372234274,9391117781,20171172826,43325642662,930591... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rbp
push %rbx
push %rdi
push %rdx
lea addresses_normal_ht+0x18030, %rdx
nop
nop
nop
nop
xor $3881, %rbp
mov (%rdx), %r8d
and $36891, %rdi
lea addresses_WC_ht+0x13f50, %r13
nop
and $39119, %r8
movb $0x61, (%r13)
nop
nop
nop
sub %rbp, %rbp
le... |
SECTION "Map_318E", ROM0[$B800]
Map_318E_Header:
hdr_tileset 17
hdr_dimensions 6, 6
hdr_pointers_a Map_318E_Blocks, Map_318E_TextPointers
hdr_pointers_b Map_318E_Script, Map_318E_Objects
hdr_pointers_c Map_318E_InitScript, Map_318E_RAMScript
hdr_palette $06
... |
// Copyright 2017 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 "chromecast/graphics/cast_focus_client_aura.h"
#include <memory>
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/test_window_de... |
#include <stdio.h>
#include "agg_basics.h"
#include "agg_rendering_buffer.h"
#include "agg_rasterizer_scanline_aa.h"
#include "agg_scanline_u.h"
#include "agg_scanline_p.h"
#include "agg_renderer_scanline.h"
#include "agg_renderer_primitives.h"
#include "agg_conv_curve.h"
#include "agg_conv_stroke.h"
#include... |
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_SEP proto VECCALL (byte)
align 16
uXm_has_SEP proc VECCALL (byte)
mov eax, 1
cpui... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module scene_6_actors
.optsdcc -mgbz80
;--------------------------------------------------------
; P... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1456f, %rdi
nop
xor %rbp, %rbp
mov $0x6162636465666768, %rsi
movq %rsi, (%rdi)
nop
nop
nop
nop
xor %rcx, %rcx
lea addresses_WC_ht+0x26ef, %rsi
nop
nop
nop
nop
dec %r11
vmovups ... |
TITLE UTIL - Handle utilities
NAME UTIL
;** Handle related utilities for MSDOS 2.X.
;
; pJFNFromHandle written
; SFFromHandle written
; SFFromSFN written
; JFNFree written
; SFNFree written
;
; Modification history:
;
; Created: MZ 1 April 1983
.xlist
.xcref
include version.inc
include d... |
STAGE_PIT_MOVING_PLATFORM_1_OFFSET = STAGE_ELEMENT_SIZE * 2
STAGE_PIT_MOVING_PLATFORM_2_OFFSET = STAGE_PIT_MOVING_PLATFORM_1_OFFSET + STAGE_ELEMENT_SIZE
#define STAGE_PIT_MOVING_PLATFORM_SPRITES $20
#define STAGE_PIT_NB_MOVING_PLATFORM_SPRITES 8
#define STAGE_PIT_PLATFORM_MAX_HEIGHT 88
#define STAGE_PIT_PLATFORM_MIN... |
;-------------------------------------------------------------------------------
; memmsg.nasm - memory manager message handlers.
;-------------------------------------------------------------------------------
module taskman.mm.memmsg
%include "sys.ah"
%include "rmk.ah"
%include "errors.ah"
%include "cpu/paging.ah"
... |
; Test clashing segment properties
IDEAL
; defaulting to private
SEGMENT SEG1
ENDS
SEGMENT SEG1 PUBLIC
ENDS
SEGMENT SEG1 STACK
ENDS
SEGMENT SEG1 PRIVATE
ENDS
SEGMENT SEG1
ENDS
; explicitly private
SEGMENT SEG2 PRIVATE
ENDS
SEGMENT SEG2 PUBLIC
ENDS
SEGMENT SEG2 STACK
ENDS
SEGMENT SEG2 PRIVATE
E... |
; void *tshc_saddrpup(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_saddrpup
EXTERN zx_saddrpup
defc tshc_saddrpup = zx_saddrpup
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshc_saddrpup
defc _tshc_saddrpup = tshc_saddrpup
ENDIF
|
//
// EVPPKey.cpp
//
//
// Library: Crypto
// Package: CryptoCore
// Module: EVPPKey
//
// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/Crypto/EVPPKey.h"
#include "Poco/Crypto/ECKey.h"
#include "Poco/Crypto/RSAKey.h"
... |
.data
start_Address: .word 0xffff0000
newline: .asciiz "\n"
lchar: .asciiz "L"
rchar: .asciiz "R"
uchar: .asciiz "U"
dchar: .asciiz "D"
.text
.globl_start
_start:
##########
#1_1 test
##########
li $a0, 0xffff0000
li $a1, 5
li $a2, 4
jal clear_board
move $a0, $v0
li $v0,1
syscall
li $v0, 4
la $a0, newline
syscall
... |
;================================================================================
; New Item Handlers
;--------------------------------------------------------------------------------
; REMEMBER TO UPDATE THE TABLES IN UTILITIES.ASM!
;--------------------------------------------------------------------------------
; #$... |
// [2021y-02m-05d] Idrisov Denis R.
#include <mygtest/modern.hpp>
//==============================================================================
//==============================================================================
#ifdef TEST_MODERN
#define dTEST_COMPONENT example, additional
#define dTEST_METHOD metho... |
# mp_limb_t mulredc5(mp_limb_t * z, const mp_limb_t * x, const mp_limb_t * y,
# const mp_limb_t *m, mp_limb_t inv_m);
#
# Stack:
# inv_m ## parameters
# m
# y
# x
# z (4*(2k+7))%esp
# ??? (1 limb???)
# ebp ## pushed registers (4*(2k+5))%esp
# edi... |
#include "Fl_Multiline_OutputC.h"
#ifdef __cplusplus
EXPORT {
#endif
/* Inherited from Fl_Widget */
FL_EXPORT_C(int,Fl_Multiline_Output_handle)(fl_Multiline_Output self, int event){
return (static_cast<Fl_Multiline_Output*>(self))->handle(event);
}
FL_EXPORT_C(fl_Group,Fl_Multiline_Output_parent)(fl_Multil... |
; A163163: a(n) = sigma(n) + tau(n) - n.
; 1,3,3,6,3,10,3,11,7,12,3,22,3,14,13,20,3,27,3,28,15,18,3,44,9,20,17,34,3,50,3,37,19,24,17,64,3,26,21,58,3,62,3,46,39,30,3,86,11,49,25,52,3,74,21,72,27,36,3,120,3,38,47,70,23,86,3,64,31,82,3,135,3,44,55,70,23,98,3,116,45,48,3,152,27,50,37,100,3,156,25,82,39,54,29,168,3,79,63,12... |
; int fzx_puts_justified_callee(struct fzx_state *fs, char *s, uint16_t allowed_width)
SECTION code_font
SECTION code_font_fzx
PUBLIC _fzx_puts_justified_callee
EXTERN asm_fzx_puts_justified
_fzx_puts_justified_callee:
pop af
pop ix
pop hl
pop bc
push af
jp asm_fzx_puts_justified
|
; A267922: Triangle read by rows giving successive states of cellular automaton generated by "Rule 245" initiated with a single ON (black) cell.
; 1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1... |
db "MOUSE@" ; species name
db "When it is anger-"
next "ed, it immediately"
next "discharges the"
page "energy stored in"
next "the pouches in its"
next "cheeks.@"
|
; A279030: Decimal representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 129", based on the 5-celled von Neumann neighborhood.
; 1,0,5,0,21,0,85,0,341,0,1365,0,5461,0,21845,0,87381,0,349525,0,1398101,0,5592405,0,22369621,0,... |
#include <gtest/gtest.h>
#include <pheromones/FunctionListLengthRequestDTO.h>
class FunctionListLengthRequestDTOFixture : public testing::Test {
public:
FunctionListLengthRequestDTO* m_fListResquest;
void SetUp() override { m_fListResquest = new FunctionListLengthRequestDTO(); }
void TearDown() overrid... |
;---------------------------------------
; exec - execute application
;---------------------------------------
executeApp ld (appParams+1),hl
ex de,hl
ld a,(hl)
cp #00
jp z,errorPar
call checkIsPath
call storeHomePath
ex af,af'
cp #00
call z,exeApp
;call restorePath ; restore... |
//=================================================================================================
/*!
// \file src/mathtest/svecdvecmult/VCbV6a.cpp
// \brief Source file for the VCbV6a sparse vector/dense vector multiplication math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// Thi... |
; A267247: Decimal representation of the n-th iteration of the "Rule 165" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by Jamie Morken(s2)
; 1,2,14,42,254,762,3822,10922,65534,196602,983022,2817962,16711422,50002682,250539758,715827882,4294967294,12884901882,64424509422,184683593642... |
db 0 ; species ID placeholder
db 70, 60, 125, 55, 115, 70
; hp atk def spd sat sdf
db ROCK, WATER ; type
db 45 ; catch rate
db 199 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 100 ; unknown 1
db 30 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/omastar/f... |
; A000201: Lower Wythoff sequence (a Beatty sequence): a(n) = floor(n*phi), where phi = (1+sqrt(5))/2 = A001622.
; Submitted by Christian Krause
; 1,3,4,6,8,9,11,12,14,16,17,19,21,22,24,25,27,29,30,32,33,35,37,38,40,42,43,45,46,48,50,51,53,55,56,58,59,61,63,64,66,67,69,71,72,74,76,77,79,80,82,84,85,87,88,90,92,93,95,97... |
; A185057: a(n) = n^n! (mod 5).
; 0,1,4,4,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1
mov $2,$0
lpb $2
pow $0,2
mod $0,5
div $2,2
sub $2,1
lpe
|
; A029883: First differences of Thue-Morse sequence A001285.
; 1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-1,1,-1,0,1,-1,1,0,-1,0,1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-1,0,1,0,-1,1,-1,0,1,-1,1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-1,1,-1,0,1,-1,1,0,-1,0,1,0,-1,1,-1,0,1,-1,1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-1,0,1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-... |
; nasmfunc.asm
; TAB=4
section .text
GLOBAL io_hlt, io_cli, io_sti, io_stihlt
GLOBAL io_in8, io_in16, io_in32
GLOBAL io_out8, io_out16, io_out32
GLOBAL io_load_eflags, io_store_eflags
GLOBAL load_gdtr, load_idtr
GLOBAL asm_irq_handler21, asm_irq_handler2c
GLOBAL load_cr0, store_cr0
... |
#ifndef ULMBLAS_LEVEL3_MKERNEL_MGEMM_TCC
#define ULMBLAS_LEVEL3_MKERNEL_MGEMM_TCC 1
#include <ulmblas/level3/mkernel/mgemm.h>
#include <ulmblas/level3/ukernel/ugemm.h>
namespace ulmBLAS {
template <typename IndexType, typename T, typename Beta, typename TC>
void
mgemm(IndexType mc,
IndexType nc,
... |
; A170014: Number of reduced words of length n in Coxeter group on 5 generators S_i with relations (S_i)^2 = (S_i S_j)^36 = I.
; 1,5,20,80,320,1280,5120,20480,81920,327680,1310720,5242880,20971520,83886080,335544320,1342177280,5368709120,21474836480,85899345920,343597383680,1374389534720,5497558138880,21990232555520,87... |
; A332993: a(1) = 1, for n > 1, a(n) = n + a(A032742(n)).
; 1,3,4,7,6,10,8,15,13,16,12,22,14,22,21,31,18,31,20,36,29,34,24,46,31,40,40,50,30,51,32,63,45,52,43,67,38,58,53,76,42,71,44,78,66,70,48,94,57,81,69,92,54,94,67,106,77,88,60,111,62,94,92,127,79,111,68,120,93,113,72,139,74,112,106,134,89,131,80,156,121,124,84,155... |
; Assembly for testcls-bytecode.bas
; compiled with mcbasic
; Equates for MC-10 MICROCOLOR BASIC 1.0
;
; Direct page equates
DP_LNUM .equ $E2 ; current line in BASIC
DP_TABW .equ $E4 ; current tab width on console
DP_LPOS .equ $E6 ; current line position on console
DP_LWID .equ $E7 ; current line width of console
;
... |
; A216256: Minimum length of a longest unimodal subsequence of a permutation of n elements.
; 1,2,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,7,7,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,10,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,16,16,16,16,16,1... |
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: VGA16 Video Driver
FILE: vga16Admin.asm
AUTHOR: Jim DeFrisco
ROUTINES:
Name Description
---- -----------
VidScreenOn turn... |
include 'emu8086.inc'
print 'Enter the Fcuking Number: '
mov bh,10
mov ah,1
int 21h
mov bl,al
mov ah,1
int 21h
mov cl,al
sub bl,48
sub cl,48
printn ""
cmp cl,5
JL yes_less
cmp cl,5
JE yes_equal
cmp cl,5
JG yes_greater
yes_less:
sub bh,5
add bh,cl
sub bl,1
... |
; ===============================================================
; Apr 2014
; ===============================================================
;
; void rewind(FILE *stream)
;
; Clear any stream error and execute fseek(stream, 0L, SEEK_SET)
; ===============================================================
INCLUDE "cl... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video Drivers
FILE: vga16Output.asm
AUTHOR: Jim DeFrisco, Oct 7, 1992
ROUTINES:
Name Description
---- -----------
REVISION HI... |
// Generated by Haxe 4.1.4
#include <hxcpp.h>
#include <stdio.h>
extern "C" void __hxcpp_main();
extern "C" void __hxcpp_lib_main();
#ifndef INCLUDED_verb_Verb
#include <verb/Verb.h>
#endif
HX_LOCAL_STACK_FRAME(_hx_pos_fe66fde75063e1fc_1___hxcpp_main,"hxcpp","__hxcpp_main",0x10478780,"hxcpp.__hxcpp_main","?",1,0x00... |
%include "macros.inc"
global _wav_write
global _wav_parse
segment .text align=16
_wav_write:
mov edx, [rsi + 36]
cmp edx, 1
je .nbytes2
mov eax, -1
cmp edx, 3
jne .return
mov eax, 4
jmp .continue
.nbytes2:
mov eax, 2
.continue:
mov dword [rdi], 0x46464952
mov r8d, [rsi + 8]
lea ecx, [r8 + 36]
mo... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; WriteDr4.Asm
;
; Abstract:
;
; AsmWriteDr4 function
;
; Notes:
;
;----------------------------------... |
; A266297: Numbers whose last digit is a square.
; 0,1,4,9,10,11,14,19,20,21,24,29,30,31,34,39,40,41,44,49,50,51,54,59,60,61,64,69,70,71,74,79,80,81,84,89,90,91,94,99,100,101,104,109,110,111,114,119,120,121,124,129,130,131,134,139,140,141,144,149,150,151,154,159,160,161,164,169,170,171,174,179,180,181,184,189,190,191,1... |
.main
ADDI r0 0 # r0 = 0
ADDI r14 4 # int i = 4
.L1
ADDI r0 1 # x++
SUBI r14 1 # i--
CMPI r14 0 # i - 0, jump if i >= 0;
BGE -4 # jump back 3 lines
ADD r1 r0 # r1 should get final value of x, which is 5
|
; A038408: Coordination sequence for Zeolite Code DFT.
; 1,4,10,21,36,55,79,106,138,175,215,260,309,362,420,482,548,618,693,772,855,943,1034,1130,1231,1335,1444,1557,1674,1796,1922,2052,2186,2325,2468,2615,2767,2922,3082,3247,3415,3588,3765,3946,4132,4322,4516,4714,4917,5124,5335,5551,5770,5994,6223,6455,6692,6933,7178... |
;ΠΠ΅ΡΠ΅ΠΊΡΡΡΡ Π΄Π΅Π²ΡΡΡΡ ΡΡΠ½ΠΊΡΠΈΡ ΠΏΡΠ΅ΡΡΠ²Π°Π½ΠΈΡ 21h ΡΠ°ΠΊΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ, ΡΡΠΎΠ±Ρ Π² Π²ΡΠ²ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΡΡΡΠΎΠΊΠ΅ ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΠ΅ Π±ΡΠΊΠ²Ρ Π·Π°ΠΌΠ΅Π½ΡΠ»ΠΈΡΡ Π±ΠΎΠ»ΡΡΠΈΠΌΠΈ,
; Π° Π±ΠΎΠ»ΡΡΠΈΠ΅ Π½Π° ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΠ΅.
CSEG segment
assume cs:CSEG, ds:CSEG, es:CSEG, ss:CSEG
org 80h
cmdLength db ? ;cmd line lenght
cmdLine db ? ;cmd line
org 100h
Start:
jmp init
Int_21h_proc proc
... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_round
EXTERN am48_round
defc asm_round = am48_round
|
#pragma comment(linker, "/stack:640000000")
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <list>
#include <map... |
; A085533: (2n)^(2n+1).
; 0,8,1024,279936,134217728,100000000000,106993205379072,155568095557812224,295147905179352825856,708235345355337676357632,2097152000000000000000000000,7511413302012830262726227918848,32009658644406818986777955348250624
mul $0,2
mov $1,$0
add $1,1
pow $0,$1
|
; A008123: Coordination sequence T1 for Zeolite Code KFI.
; 1,4,9,17,29,45,64,86,112,141,173,209,249,292,338,388,441,497,557,621,688,758,832,909,989,1073,1161,1252,1346,1444,1545,1649,1757,1869,1984,2102,2224,2349,2477,2609,2745,2884,3026,3172,3321,3473,3629,3789,3952,4118,4288,4461,4637,4817,5001,5188,5378,5572,5769,5... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xc560, %r8
clflush (%r8)
nop
nop
nop
nop
inc %rdi
mov (%r8), %rdx
nop
nop
sub %r9, %r9
lea addresses_D_ht+0x33e0, %rcx
nop
nop
sub $29798, %r10
and $0xffffffffffffffc0, %rcx
vmo... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>mlockall(flags) -> str
Invokes the syscall mlockall.
See 'man 2 mlockall' for more information.
Arguments:
flags(int): flags
Returns:
int
</%docstring>
<%page args="flags=0"/>
<%
abi = pwnli... |
; A021684: Expansion of 1/((1-x)(1-3x)(1-9x)(1-10x)).
; Submitted by Jon Maiga
; 1,23,360,4810,59111,690573,7801990,86089520,933531621,9989073523,105774639620,1110701801430,11583617458531,120125571974873,1239860303429250,12746044308940540,130587414625807841,1334016890279410623,13593453599567226880,138214098268373746850... |
#include <iostream>
#include <cmath>
using namespace std;
void startup() {
cout << "Welcome to Artillery." << endl;
cout << "You are in the middle of a war and being charged by thousands of enemies." << endl;
cout << "You have one cannon, which you can shoot at any angle." << endl;
cout << "You only ha... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_dconst_inf, asm_dconst_pinf, asm_dconst_minf
EXTERN am48_dconst_inf, am48_dconst_pinf, am48_dconst_minf
defc asm_dconst_inf = am48_dconst_inf
defc asm_dconst_pinf = am48_dconst_pinf
defc asm_dconst_minf = am48_dconst_minf
|
; A322783: a(n) = 1 - n + (2^(n+2) - (-1)^n)/3.
; 2,3,4,9,18,39,80,165,334,675,1356,2721,5450,10911,21832,43677,87366,174747,349508,699033,1398082,2796183,5592384,11184789,22369598,44739219,89478460,178956945,357913914,715827855,1431655736
mov $2,$0
mov $7,$0
add $7,1
lpb $7,1
mov $0,$2
sub $7,1
sub $0,$7
mov ... |
; A156189: Denominator of Euler(n, 1/6).
; 1,3,36,108,1296,3888,46656,139968,1679616,5038848,60466176,181398528,2176782336,6530347008,78364164096,235092492288,2821109907456,8463329722368,101559956668416,304679870005248,3656158440062976,10968475320188928,131621703842267136,394865111526801408,4738381338321616896,14215144... |
; A179179: a(n) = phi(n) - omega(n) = A000010(n) - A001221(n).
; Submitted by Jon Maiga
; 1,0,1,1,3,0,5,3,5,2,9,2,11,4,6,7,15,4,17,6,10,8,21,6,19,10,17,10,27,5,29,15,18,14,22,10,35,16,22,14,39,9,41,18,22,20,45,14,41,18,30,22,51,16,38,22,34,26,57,13,59,28,34,31,46,17,65,30,42,21,69,22,71,34,38,34,58,21,77,30,53,38,81,21... |
#include "util.h"
#include <fstream>
bool file_exists(std::string path) {
std::ifstream f(path);
return f.good();
}
|
#include "testing/testing.hpp"
#include "coding/byte_stream.hpp"
#include "coding/coding_tests/test_polylines.hpp"
#include "coding/geometry_coding.hpp"
#include "coding/point_to_integer.hpp"
#include "coding/pointd_to_pointu.hpp"
#include "coding/varint.hpp"
#include "coding/writer.hpp"
#include "geometry/distance.h... |
#pragma once
#include <cstdint>
#include <string>
namespace vkBasalt
{
uint32_t convertToKeySym(std::string key);
bool isKeyPressed(uint32_t ks);
} // namespace vkBasalt
|
dnl PowerPC-64 mpn_addmul_1 and mpn_submul_1.
dnl Copyright 1999-2001, 2003-2006, 2010-2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser ... |
/*===================================================================
BlueBerry Platform
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY o... |
/*
* IDEA
* (C) 1999-2010,2015 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/idea.h>
#include <botan/loadstor.h>
#include <botan/cpuid.h>
#include <botan/internal/ct_utils.h>
namespace Botan {
namespace {
/*
* Multiplication modulo 65537
*/
inline uint16_t mu... |
; A099464: Trisection of tribonacci numbers.
; 0,1,7,44,274,1705,10609,66012,410744,2555757,15902591,98950096,615693474,3831006429,23837527729,148323355432,922906855808,5742568741225,35731770264967,222332455004452,1383410902447554,8607945812375585,53560898629395777
mul $0,3
cal $0,73 ; Tribonacci numbers: a(n) = a(n-1... |
; A159917: Fixed point of the morphism 0 -> 01, 1 -> 2, 2 -> 01, starting from a(0) = 0.
; 0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2
add $0,2
cal $0,24... |
; A279882: a(n) = 2^(prime(n) + 1) - 1.
; 7,15,63,255,4095,16383,262143,1048575,16777215,1073741823,4294967295,274877906943,4398046511103,17592186044415,281474976710655,18014398509481983,1152921504606846975,4611686018427387903,295147905179352825855,4722366482869645213695
seq $0,40 ; The prime numbers.
add $0,1
mov $1,... |
org 0
bits 16
_start: ; Start BIOS Parameter Block
jmp short start
nop
times 33 db 0x0 ; Fake parameters
start:
jmp 0x7c0:step2
step2:
cli ; Clear Interrupts
mov ax, 0x7c0
mov ds, ax
mov es, ax
mov ax, 0x0
mov ss, ax
mov sp, 0x7c00
sti ; Enable Interrupts
mov ah, 0x2 ; Read Sector Command
... |
; A037972: a(n) = n^2*(n+1)*C(2*n-2,n-1)/2.
; 0,1,12,108,800,5250,31752,181104,988416,5212350,26741000,134132856,660284352,3199016548,15288882000,72209880000,337535723520,1563410094390,7182839945160,32761238433000,148450107960000,668693511305820,2995943329133040,13356820221694560,59280701238720000,262011779925187500,11... |
; float __sint2fs_callee(signed int si)
SECTION code_fp_math48
PUBLIC cm48_sdcciyp_sint2ds_callee
EXTERN am48_double16, cm48_sdcciyp_m482d
cm48_sdcciyp_sint2ds_callee:
; signed int to double
;
; enter : stack = signed int si, ret
;
; exit : dehl = sdcc_float(si)
;
; uses : af, bc, de, hl, b... |
; A008844: Squares of sequence A001653: y^2 such that x^2 - 2*y^2 = -1 for some x.
; 1,25,841,28561,970225,32959081,1119638521,38034750625,1292061882721,43892069261881,1491038293021225,50651409893459761,1720656898084610641,58451683124983302025,1985636569351347658201,67453191674820837076801,2291422880374557112953025,778... |
#include "GvtCalculator.h"
#include "Lp.h"
#include "Log.h"
#include "GvtRequestMessage.h"
#include <spdlog/spdlog.h>
GvtCalculator::GvtCalculator() {
// Do nothing
}
GvtCalculator::GvtCalculator(Lp *pLp) :
fLp(pLp), fColour(WHITE), fRedTime(ULONG_MAX), fIsAcceptingRequests(true) {
fNextLpInRing = (pLp->GetRa... |
format PE GUI
entry start
include 'win32a.inc'
section '.data' data readable writeable
kernel32 dd ?
target dd ?
section '.text' code readable writeable executable
start:
mov eax, [fs:0x30]
mov eax, [eax+0x0c]
mov esi, [eax+0x14]
... |
.386
.model flat, stdcall
option casemap :none
;; ASSEMBLING & LINKING
;; ml.exe main.asm /c
;; link /SUBSYSTEM:CONSOLE main.obj
;βββββββββββββββββββββββββββββββββββ
;ββ ββ ββββββββ ββ ββ β βββ βββ ββββ
;ββ ββ ββ β βββ ββ ββ β β β ββββββββ
;ββ ββββββββββββββββββββββββββββββββ
;βββββββββββββββββββββββββββββββββββ
inc... |
; 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
; Scp Missile Edg Edg Lin Gun Exp Vtx Edg Bounty Face Edg Face Vertices
; ... |
ο»Ώ#include "pch.h"
#include "BrofilerDurangoTestMain.h"
#include "Common\DirectXHelper.h"
#include "Brofiler.h"
using namespace BrofilerDurangoTest;
using namespace Windows::Foundation;
using namespace Windows::System::Threading;
using namespace Concurrency;
// Loads and initializes application assets when... |
; A260637: Sums of seven consecutive squares: a(n) = n^2 + (n+1)^2 + (n+2)^2 + (n+3)^2 + (n+4)^2 + (n+5)^2 + (n+6)^2.
; 28,35,56,91,140,203,280,371,476,595,728,875,1036,1211,1400,1603,1820,2051,2296,2555,2828,3115,3416,3731,4060,4403,4760,5131,5516,5915,6328,6755,7196,7651,8120,8603,9100,9611,10136,10675,11228,11795,12... |
/*
* Copyright 2016 Google LLC
*
* 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 to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.