text stringlengths 1 1.05M |
|---|
!ifdef SYSTEM_VARS_ASM !eof
SYSTEM_VARS_ASM=1
Sys_rand_mem: !byte $00, $00, $00
Sys_mem_end: |
;
; 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... |
; A194688: First differences of A036554 (numbers whose binary representation ends in an odd number of zeros).
; Submitted by Jon Maiga
; 4,2,2,4,4,4,2,2,4,2,2,4,2,2,4,4,4,2,2,4,4,4,2,2,4,4,4,2,2,4,2,2,4,2,2,4,4,4,2,2,4,2,2,4,2,2,4,4,4,2,2,4,2,2,4,2,2,4,4,4,2,2,4,4,4,2,2,4,4,4,2,2,4,2,2,4,2,2,4,4,4,2,2,4,4,4,2,2,4,4,4,2... |
loop:
jmp loop |
; A135039: Ceiling(Pi*n^2).
; Submitted by Christian Krause
; 0,4,13,29,51,79,114,154,202,255,315,381,453,531,616,707,805,908,1018,1135,1257,1386,1521,1662,1810,1964,2124,2291,2464,2643,2828,3020,3217,3422,3632,3849,4072,4301,4537,4779,5027,5282,5542,5809,6083,6362,6648,6940,7239,7543,7854,8172,8495,8825,9161,9504,9853... |
; A276086 o=0: Prime product form of primorial base expansion of n: digits in primorial base representation of n become the exponents of successive prime factors whose product a(n) is.
; Coded manually 2021-02-26 by Antti Karttunen, https://github.com/karttu
; With signed 64-bit implementation this works only up to n=2... |
; Dummies for Pocedures name
section dummy
xdef prc_name
prc_name dc.w 10,'Procedures'
end
|
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// Store
lea addresses_normal+0x4270, %rbx
cmp %rsi, %rsi
movw $0x5152, (%rbx)
nop
and %rbx, %rbx
// REPMOV
lea addresses_normal+0x4270, %rsi
lea a... |
; A128017: Expansion of (1+2x+x^2-x^3)/(1-x^2+x^4).
; 1,2,2,1,1,-1,-1,-2,-2,-1,-1,1,1,2,2,1,1,-1,-1,-2,-2,-1,-1,1,1,2,2,1,1,-1,-1,-2,-2,-1,-1,1,1,2,2,1,1,-1,-1,-2,-2,-1,-1,1,1,2,2,1,1,-1,-1,-2,-2,-1,-1,1,1,2,2,1,1,-1,-1,-2,-2,-1,-1
add $0,1
mov $1,1
mov $2,1
lpb $0,1
sub $0,2
add $1,$2
sub $2,$1
lpe
|
#include <IO/ReadHelpers.h>
#include <IO/WriteBufferFromString.h>
#include <IO/Operators.h>
#include <Processors/Formats/Impl/TabSeparatedRowInputFormat.h>
#include <Processors/Formats/Impl/TabSeparatedRawRowInputFormat.h>
#include <Formats/verbosePrintString.h>
#include <Formats/FormatFactory.h>
#include <DataTypes/D... |
; A013970: a(n) = sum of 22nd powers of divisors of n.
; 1,4194305,31381059610,17592190238721,2384185791015626,131621735227521050,3909821048582988050,73786993887028445185,984770902214992292491,10000002384185795209930,81402749386839761113322,552061570551763831158810,3211838877954855105157370,16398981973176869693055250,7... |
;**************************************************************************
; arch/z80/src/ez80/ez80_startup.asm
;
; Copyright (C) 2008 Gregory Nutt. All rights reserved.
; Author: Gregory Nutt <gnutt@nuttx.org>
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted pro... |
; A109499: Number of closed walks of length n on the complete graph on 5 nodes from a given node.
; Submitted by Jon Maiga
; 1,0,4,12,52,204,820,3276,13108,52428,209716,838860,3355444,13421772,53687092,214748364,858993460,3435973836,13743895348,54975581388,219902325556,879609302220,3518437208884,14073748835532,56294995... |
// Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... |
/*
*
* Copyright (C) 2015-2016, J. Riesmeier, Oldenburg, Germany
* All rights reserved. See COPYRIGHT file for details.
*
* Source file for class CID10013_CTAcquisitionType
*
* Generated automatically from DICOM PS 3.16-2016a
* File created on 2016-02-20 12:21:24 by J. Riesmeier
*
*/
#include "dcmtk/c... |
.text
_netlib_after_swap:
mov -0x8(%rsp), %rbx
mov -0x10(%rsp), %rcx
mov -0x18(%rsp), %rdx
mov -0x20(%rsp), %rbp
mov -0x28(%rsp), %r8
mov -0x30(%rsp), %r9
mov -0x38(%rsp), %r10
mov -0x40(%rsp), %r11
mov -0x48(%rsp), %r12
mov -0x50(%rsp), %r13
mov -0x58(%rsp), %r14
mov -0x60(%rsp), %r15
mov -... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at ww... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... |
; Arquivo: Factorial.nasm
; Curso: Elementos de Sistemas
; Criado por: Luciano Soares
; Data: 27/03/2017
; Calcula o fatorial do número em R0 e armazena o valor em R1.
|
(LOOP_START)
// push constant 10
// *SP=i
// D=const
@10
D=A
// *p=D
@SP
A=M
M=D
// SP++
@SP
M=M+1
// goto TEST
@TEST
0;JMP
// if-goto TOM
// SP--
@SP
M=M-1
// D=*p
@SP
A=M
D=M
@TOM
D;JNE
// push static 4
// *SP=d
// D=d
@test.4
D=M
// *p=D
@SP
A=M
M=D
// SP++
@SP
M=M+1
|
; A167327: Totally multiplicative sequence with a(p) = 8*(p+3) for prime p.
; Submitted by Jon Maiga
; 1,40,48,1600,64,1920,80,64000,2304,2560,112,76800,128,3200,3072,2560000,160,92160,176,102400,3840,4480,208,3072000,4096,5120,110592,128000,256,122880,272,102400000,5376,6400,5120,3686400,320,7040,6144,4096000,352,1536... |
db DEX_EXEGGUTOR ; pokedex id
db 95, 95, 85, 55, 125
; hp atk def spd spc
db GRASS, PSYCHIC_TYPE ; type
db 45 ; catch rate
db 212 ; base exp
INCBIN "gfx/pokemon/front/exeggutor.pic", 0, 1 ; sprite dimensions
dw ExeggutorPicFront, ExeggutorPicBack
db EGG_BOMB, HYPNOSIS, SOFTBOILED, LEECH_SEED ; le... |
/*
* Copyright (C) 2018 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... |
; A003486: a(n) = (n^2 + 1)*3^n.
; 1,6,45,270,1377,6318,26973,109350,426465,1614006,5963949,21611934,77058945,271034910,942244893,3242852982,11063007297,37450647270,125911658925,420738651054,1398200544801,4623476115726,15219813910365,49895884778310,162961842549537,530402669511318,1720843165778733,5566686164040510,17958... |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_math
PUBLIC l_mulu_16_16x16
; compute: hl = hl * de
; alters : af, bc, de, hl
IF __CPU_Z180__ && ((__CLIB_OPT_IMATH = 0) || (__CLIB_OPT_IMATH = 100))
EXTERN l_z180_mulu_16_16x16
defc l_mulu_16_16x16 = l_z180_mulu_16_16x16
ELSE
IF __CPU_Z8... |
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any l... |
ld a, [#1]
cp #2
jr nz, #3 |
dw $0040
track_07_08:
db $FF, $31, $A6, $3F, $18, $F9, $18, $96, $3D, $4C
db $69, $8F, $FB, $C9, $E3, $F1, $8F, $9D, $E8, $E3
db $D6, $F2, $78, $FF, $DE, $8E, $9C, $4B, $EE, $AA
db $3E, $EF, $D2, $F3, $FA, $8F, $68, $C4, $BA, $CE
db $1D, $34, $8F, $7E, $F8, $79, $9E, $37, $BD, $C0
db $C0, $FB, $77, $7B, $9E, $3B... |
; A184358: a(n) = (n+1)!^2/2^n.
; 1,2,9,72,900,16200,396900,12700800,514382400,25719120000,1556006760000,112032486720000,9466745127840000,927741022528320000,104370865034436000000,13359470724407808000000,1930443519676928256000000
add $0,1
mov $4,$0
lpb $0
sub $0,1
mov $1,$4
add $2,1
add $3,$2
mul $4,$3
lpe
m... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1e66b, %r9
nop
nop
nop
inc %r8
mov $0x6162636465666768, %rdi
movq %rdi, %xmm4
vmovups %ymm4, (%r9)
nop
nop
cmp %rdi, %rdi
lea addresses_D_ht+0xcfbf, %rsi
lea addresses_A_ht+0x... |
; A128060: a(n) = 2*n - numerator((2*n-1)^2/(2*(2*n)!)).
; -1,1,1,1,1,9,1,1,15,1,1,21,1,25,27,1,1,33,35,1,39,1,1,45,1,49,51,1,55,57,1,1,63,65,1,69,1,1,75,77,1,81,1,85,87,1,91,93,95,1,99,1,1,105,1,1,111,1,115,117,119,121,123
mov $3,$0
sub $0,1
mov $1,1
add $1,$0
add $1,$0
mov $2,$0
lpb $2
mov $0,$1
lpb $3
mov $... |
/*
* Copyright © <2010>, 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, merg... |
; A227209: Expansion of 1/((1-x)^2*(1-2x)*(1-4x)).
; 1,8,43,198,849,3516,14311,57746,231997,930024,3724179,14904894,59635945,238576532,954371647,3817617642,15270732693,61083455040,244334868715,977341571990,3909370482241,15637490317548
mov $2,2
mov $3,$0
lpb $0
sub $0,1
add $2,1
mul $2,2
lpe
mov $1,3
sub $3,$2
mo... |
/*
Lightmetrica - A modern, research-oriented renderer
Copyright (c) 2015 Hisanari Otsu
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 ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>fsync(fd) -> str
Invokes the syscall fsync.
See 'man 2 fsync' for more information.
Arguments:
fd(int): fd
Returns:
int
</%docstring>
<%page args="fd=0"/>
<%
abi = pwnlib.abi.ABI.syscall()
stack = ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1626, %rsi
lea addresses_D_ht+0x1aa26, %rdi
nop
nop
nop
nop
nop
inc %r11
mov $123, %rcx
rep movsw
nop
nop
sub %rcx, %rcx
lea addresses_WT_ht+0x2a16, %rsi
lea addresses_normal_ht+0x... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x70ff, %rsi
lea addresses_WC_ht+0xdf8f, %rdi
nop
nop
nop
nop
inc %r13
mov $0, %rcx
rep movsq
nop
nop
xor %r11, %r11
lea addresses_WC_ht+0x414f, %rbx
nop
xor %rbp, %rbp
mov $0x... |
; intmax_t imaxabs(intmax_t j)
SECTION code_clib
SECTION code_inttypes
PUBLIC _imaxabs_callee
EXTERN _llabs_callee
defc _imaxabs_callee = _llabs_callee
|
; A110611: Minimal value of sum(p(i)p(i+1),i=1..n), where p(n+1)=p(1), as p ranges over all permutations of {1,2,...,n}.
; 1,4,11,21,37,58,87,123,169,224,291,369,461,566,687,823,977,1148,1339,1549,1781,2034,2311,2611,2937,3288,3667,4073,4509,4974,5471,5999,6561,7156,7787,8453,9157,9898,10679,11499,12361,13264,14211,152... |
###############################################################################
# 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... |
// Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... |
;Name: parsejsonobject.asm
;
;Build: nasm -felf64 parsejsonobject.asm -o parsejsonobject.o
; ld -s -melf_x86_64 -o parsejsonobject parsejsonobject.o
;
;Description: reply data in the form of a JSON object. After building this application,you need
; to upload this to your webservers... |
;
; Z88dk Generic Floating Point Math Library
;
; Return true
;
; $Id: f_no.asm,v 1.1 2002/01/21 20:35:22 dom Exp $:
XLIB f_no
.f_no
ld hl,0
and a
ret
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x86e7, %r11
xor $25655, %rbx
mov $0x6162636465666768, %rcx
movq %rcx, %xmm0
movups %xmm0, (%r11)
nop
nop
nop
and $58539, %rsi
lea addresses_WC_ht+0x1239f, %rsi
lea addresses_... |
; PEPE gerado por 'lcc' (IST: prs 2005)
; 'rl' serve como frame-pointer e 'r0' como acumulador
; os registos 'r1' a 'r10' sao preservados nas chamadas
PLACE 0
JMP main
; global fib
; TEXT
fib: ; ncalls=2
PUSH r9
PUSH r10
PUSH rl
MOV rl, sp
; P_i EQU 8
MOV r10, [rl + 8]
CMP r10,1
JGT L2
MOV r0, [rl + 8]
JMP L1
L2:
MOV r... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%docstring>
Invokes the syscall sigreturn. See 'man 2 sigreturn' for more information.
</%docstring>
${syscall('SYS_sigreturn')}
|
;
; Copyright (c) 2015 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x3c76, %r15
nop
nop
nop
nop
nop
sub %r14, %r14
movw $0x6162, (%r15)
nop
cmp %rax, %rax
lea addresses_UC_ht+0x1356, %r11
nop
sub %r8, %r8
mov (%r11), %rsi
and $38888, %r15
lea a... |
; char *fzx_string_partition_ww(struct fzx_font *ff, char *s, uint16_t allowed_width)
SECTION code_font_fzx
PUBLIC fzx_string_partition_ww_callee
EXTERN asm_fzx_string_partition_ww
fzx_string_partition_ww_callee:
pop af
pop hl
pop de
pop ix
push af
jp asm_fzx_string_partition_ww
|
/**
* @file src/llvmir2hll/analysis/no_init_var_def_analysis.cpp
* @brief Implementation of NoInitVarDefAnalysis.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include "retdec/llvmir2hll/analysis/no_init_var_def_analysis.h"
#include "retdec/llvmir2hll/ir/function.h"
#include "retdec/llvmir2h... |
; Allocate in heap V2.01 1986 Tony Tebby QJUMP
section sms
xdef sms_alhp
xref mem_alhp ; allocate in heap
xref sms_rte ; return
include 'dev8_keys_psf'
;+++
; d0 0 or out of memory
; d1 cr space required / spa... |
#include "gtest/gtest.h"
#include <Layers.h>
#include <Matrix.h>
#include "Util.h"
TEST(Afine_forward_backward, success) {
Affine A(4, 3);
A.W_ = MatrixXd(4, 3);
A.W_ << 0.1, 0.2, 0.3,
0.4, 0.5, 0.6,
0.7, 0.8, 0.9,
1.0, 1.1, 1.2;
A.b_ = RowVectorXd(3);
A.b_ ... |
###############################################################################
# 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... |
;IncludeEdit.dlg
IDD_DLGINCLUDE equ 1000
IDC_GRDINC equ 1001
IDC_BTNINCADD equ 1002
IDC_BTNINCDEL equ 1003
.const
IIncGrdSize dd 370
.data?
IncGrdSize dd 1 dup(?)
.code
ExportInclude proc uses esi edi,hMem:DWORD
mov fResourceh,FALSE
invoke xGlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,6... |
; ff3_cmdx_provoke.asm
;
; description:
; implements 'provoke' command
;
; version:
; 0.16 (2007-08-13)
;======================================================================================================
ff3_cmdx_provoke_begin:
;===========================================================================... |
/* file: pivoted_qr.cpp */
/*******************************************************************************
* Copyright 2014-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 Licens... |
; Small C+ Z88 Support Library
;
; Convert signed int to long
SECTION code_crt0_sccz80
PUBLIC l_int2long_s_float
EXTERN float
; If MSB of h sets de to 255, if not sets de=0
.l_int2long_s_float
ld de,0
IF __CPU_INTEL__
ld a,h
... |
; void *memrchr(const void *s, int c, size_t n)
SECTION code_string
PUBLIC memrchr_callee, l0_memrchr_callee
EXTERN asm_memrchr
memrchr_callee:
pop hl
pop bc
pop de
ex (sp),hl
l0_memrchr_callee:
ld a,e
jp asm_memrchr
|
;
; Z88 Small C+ Run Time Library
; Long support functions
;
; djm 25/2/99
; Rewritten for size and speed (untested, but should be OK)
;
; djm 7/6/99
; The optimizer version! Entered with long in dehl and counter in c
;
; aralbrec 01/2007
; Sped up, would be better with ... |
; ARM MODE.
code32
processor CPU32_V1
ldr r0,[r1]
ldr r0,[r1],+r2
ldr r0,[r1],-r2
ldr r0,[r1],-r2,lsl 3
ldr r0,[r1],r2,lsr 3
ldr r0,[r1],r2,asr 3
ldr r0,[r1],r2,ror 3
ldr r0,[r1],-r2,lsl 3
ldr r0,[r1],-r2,lsr 3
ldr r0,[r1],-r2,asr 3
ldr r0,[r1],-r2,ror 3
ldr r0,[r1],r2,rrx
ldr r0,[r1],-r2,rrx
ldr r0,[r1]... |
#Loh Hao Bin 25461257 Prac 4 Task 3
.data
size: .word 0 #size of the list
the_list: .word 0 #address of the list
prompt: .asciiz "Please input an item: "
askforlength: .asciiz "Please input the size of the list: "
errormsg: .asciiz "Please input a valid size"
sum: .word 0
summsg: .asciiz "\nThe sum until negative is: "... |
; A334277: Perimeters of almost-equilateral Heronian triangles.
; 12,42,156,582,2172,8106,30252,112902,421356,1572522,5868732,21902406,81740892,305061162,1138503756,4248953862,15857311692,59180292906,220863859932,824275146822,3076236727356,11480671762602,42846450323052,159905129529606,596774067795372,2227191141651882,8... |
; A040013: Continued fraction for sqrt(18).
; 4,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4
pow $1,$0
gcd $0,2
gcd $1,$0
mul $1,4
mov $0,$1
|
%include "macros.inc"
global _sumArray
global _getMedian
segment .text align=16
_sumArray:
mov r8, rsi
xor eax, eax
test r8, r8
jbe .return
cmp r8, 8
jb .noSSE
mov rsi, rdi
and rsi, 0xF
je .aligned
test rsi, 3
jne .noSSE
neg rsi
add rsi, 16
shr rsi, 2
lea rdx, [rsi + 8]
cmp r8, rdx
jb .noS... |
;
; Word: 2dup
; Dictionary: (a b - a b a b)
; Date: 1st February 2018
; Macro: Yes
; Notes:
;
pop ix
pop hl
push hl
push de
push hl
jp (ix)
|
; A144601: Christoffel word of slope 3/11.
; 0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0
mod $0,14
mov $2,$0
cmp $2,4
mov $1,$2
mov $2,$0
cmp $2,9
add $1,$2
mov $2... |
;======================================================================
;
; File Name : SGT3DC.ASM
;
; Originator : Advanced Embedded Control (AEC)
; Texas Instruments Inc.
;
; Description : This file contain source code for Dual three phase
; SIN generator module(Using Direct... |
/******************************************************************************
*
* Project: ISO 8211 Access
* Purpose: Implements the DDFModule class.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
******************************************************************************
* Copyright (c) 1999, Frank W... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r8
push %r9
push %rdx
// Faulty Load
lea addresses_RW+0xf802, %rdx
clflush (%rdx)
nop
nop
nop
nop
nop
inc %r14
mov (%rdx), %r9d
lea oracles, %r8
and $0xff, %r9
shlq $12, %r9
mov (%r8,%r9,1), %r9
pop %rd... |
; A091711: Exponent of 2 in (n^2)!.
; 0,3,7,15,22,34,46,63,78,97,116,142,165,193,221,255,286,321,356,397,435,479,526,574,620,672,723,781,836,896,956,1023,1086,1153,1220,1293,1363,1439,1514,1597,1676,1758,1842,1931,2017,2113,2205,2302,2396,2495,2596,2700,2801,2910,3018,3133,3243,3359,3474,3596,3715,3839,3963,4095,4222,4... |
; A293120: E.g.f.: exp(x^2/(1+x)).
; Submitted by Christian Krause
; 1,0,2,-6,36,-240,1920,-17640,183120,-2116800,26943840,-374220000,5628934080,-91122071040,1579034096640,-29155689763200,571308920582400,-11838533804697600,258608278645516800,-5938673374272038400,143003892952893772800,-3602735624977961472000,94765181895... |
; A022326: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 12.
; 1,12,14,27,42,70,113,184,298,483,782,1266,2049,3316,5366,8683,14050,22734,36785,59520,96306,155827,252134,407962,660097,1068060,1728158,2796219,4524378,7320598,11844977,19165576,31010554,50176131,81186686,131362818,212549505,343912324,556461830,90037... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r9
push %rdi
push %rsi
// Faulty Load
lea addresses_WC+0xda8a, %r9
nop
nop
nop
nop
sub %r11, %r11
vmovntdqa (%r9), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0, %r13
lea oracles, %rsi
and $0xff... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sccz80p_dloadb
cm48_sccz80p_dloadb:
; sccz80 float primitive
; Load float given pointer in HL pointing to last byte into AC'.
;
; enter : HL = double * (sccz80 format) + 5 bytes
;
; exit : AC'= double (math48 format)
; (exx set is sw... |
; A186948: a(n) = 3^n - 2*n.
; 1,1,5,21,73,233,717,2173,6545,19665,59029,177125,531417,1594297,4782941,14348877,43046689,129140129,387420453,1162261429,3486784361,10460353161,31381059565,94143178781,282429536433,847288609393
mov $1,3
pow $1,$0
sub $1,$0
sub $1,$0
mov $0,$1
|
; Upcase standard in and output to standard out
; upcase < file > upcased
section .bss
BufferSize: equ 1024
Buffer: resb BufferSize
section .data
section .text
global _start
_start:
Read:
mov eax, 3 ; `sys_read` syscall
mov ebx, 0 ; Use stdin
mov ecx, Buffer ; Read into buffer
mov edx, BufferSize ; Read... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <c... |
;
; Sprite Rendering Routine
; original code by Patrick Davidson (TI 85)
; modified by Stefano Bodrato - nov 2010
;
; Generic high resolution version
;
;
; $Id: w_putsprite.asm $
;
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SECTION smc_clib
PUBLIC putsprite
PUBLIC _putsprite
EXTERN w_pix... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2020 GBCR Developers
// Copyright (c) 2009-2020 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 <wallet/db.h>
#include <util/stre... |
SFX_Fly_3_Ch7:
unknownnoise0x20 2, 241, 18
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 161, 18
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 209, 18
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 129, 18
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 177, 18
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 97, 18
u... |
// -*- C++ -*-
//
// $Id: Functor_String.inl 1861 2011-08-31 16:18:08Z mesnierp $
#include "ace/ACE.h"
#include "ace/String_Base.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE unsigned long
ACE_Hash<ACE_CString>::operator () (const ACE_CString &t) const
{
return t.hash ();
}
ACE_INLINE int
ACE_Equal_To<ACE_CSt... |
/*=============================================================================
Copyright (c) 2011 Daniel James
Use, modification and distribution is subject to 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)
=============... |
; There are 10 byte unsigned-figures stored in SDATA,
; try to figure out how many figures among them cannt
; be diveded by 11 and store the count into COUNT.
; + Write a subroutine to achieve the judgement, the
; entry parameters should be stored in AL and the
; export parameters should be stored in ZF (... |
// Copyright Hugh Perkins 2016
// 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 in writi... |
// vim: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab :
/*
* Copyright (c) 2014-2017, Ryan V. Bissell
* All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause
* See the enclosed "LICENSE" file for exact license terms.
*/
#define CX_TRACE_SECTION "dslang"
#include "sexpr-quote.hpp"
#include "dslang... |
; A094347: a(n) = 14*a(n-1) - a(n-2); a(0) = a(1) = 2.
; Submitted by Jon Maiga
; 2,2,26,362,5042,70226,978122,13623482,189750626,2642885282,36810643322,512706121226,7141075053842,99462344632562,1385331749802026,19295182152595802,268747218386539202,3743165875258953026
sub $0,1
mov $3,1
lpb $0
sub $0,1
add $2,$3
... |
Name: kart-data.asm
Type: file
Size: 12649
Last-Modified: '1992-08-30T15:00:00Z'
SHA-1: DB1FF05721DC533FEEEA88F69EB25A4FBD79B771
Description: null
|
;Z80 Version by Dan Weiss
;Call depack.
;hl = source
;de = dest
ap_bits: .db 0
ap_byte: .db 0
lwm: .db 0
r0: .dw 0
ap_getbit:
push bc
ld bc,(ap_bits)
rrc c
jr nc,ap_getbit_continue
ld b,(hl)
inc hl
ap_getbit_continue:
ld a,c
and b
ld (ap_bits),bc
pop bc
ret
ap_getbitbc: ;doubles BC and adds the re... |
; captured local variable
#ruledef
{
emit {x: i8} => x
test {x} =>
{
y = 0x10
asm { emit x + y }
}
}
test 2 ; = 0x12 |
; A301684: Coordination sequence for node of type V2 in "krg" 2-D tiling (or net).
; 1,4,8,12,18,22,28,34,36,42,48,50,56,62,64,70,76,78,84,90,92,98,104,106,112,118,120,126,132,134,140,146,148,154,160,162,168,174,176,182,188,190,196,202,204,210,216,218,224,230,232,238,244,246,252,258,260,266,272,274,280,286,288,294,300,... |
#include "RobotArm.h"
#include "RenderQueue.h"
#include "LatLongAltitude.h"
#include "NullMaterial.h"
#include "Node.h"
#include "EffectHandler.h"
namespace Eegeo
{
RobotArmRenderable::RobotArmRenderable(Eegeo::Model& model,
Eegeo::Lighting::GlobalFogging& globalF... |
_mkdir: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc ... |
////////////////////////////////////////////////////////////////////////////////
// The MIT License (MIT)
//
// Copyright (c) 2018 Nicholas Frechette & Animation Compression Library contributors
// Copyright (c) 2018 Nicholas Frechette & Realtime Math contributors
//
// Permission is hereby granted, free of charge, to ... |
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int MAXN = 100005;
bool aft[MAXN];
bool cur[MAXN];
LL N, T;
LL getJump()
{
LL ans = 1;
for (int i = 0; i < 62; ++i)
{
ans <<= 1;
if (ans > T)
{
ans >>= 1;
return (LL)ans;
}
... |
Name: ys_w36.asm
Type: file
Size: 15463
Last-Modified: '2016-05-13T04:51:43Z'
SHA-1: 9E58D954C226CB9E100813C094462D8453266B52
Description: null
|
%define ARCH_ARM 0
%define ARCH_MIPS 0
%define ARCH_X86 1
%define ARCH_X86_64 0
%define HAVE_EDSP 0
%define HAVE_MEDIA 0
%define HAVE_NEON 0
%define HAVE_NEON_ASM 0
%define HAVE_MIPS32 0
%define HAVE_DSPR2 0
%define HAVE_MSA 0
%define HAVE_MIPS64 0
%define HAVE_MMX 1
%define HAVE_SSE 1
%define HAVE_SSE2 1
%define HAVE_... |
; A105333: a(n) = n*(n+1)/2 mod 16.
; 0,1,3,6,10,15,5,12,4,13,7,2,14,11,9,8,8,9,11,14,2,7,13,4,12,5,15,10,6,3,1,0,0,1,3,6,10,15,5,12,4,13,7,2,14,11,9,8,8,9,11,14,2,7,13,4,12,5,15,10,6,3,1,0,0,1,3,6,10,15,5,12,4,13,7,2,14,11,9,8,8,9,11,14,2,7,13,4,12
add $0,1
bin $0,2
mod $0,16
mov $1,$0
|
//$Id$
//------------------------------------------------------------------------------
// BplaneReal
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2015 United States Government as r... |
; $Id: noise.asm $
;
; Generic 1 bit sound functions
;
IF !__CPU_GBZ80__ && !__CPU_INTEL__
SECTION code_clib
PUBLIC noise
PUBLIC _noise
INCLUDE "games/games.inc"
;EXTERN bit_open_di
;EXTERN bit_close_ei
EXTERN asm_rand
EXTERN __snd_tick
;
; Ported by ... |
;******************************************************************************
;* VP9 loop filter SIMD optimizations
;*
;* Copyright (C) 2015 Ronald S. Bultje <rsbultje@gmail.com>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Le... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.