text stringlengths 1 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xef57, %r9
nop
nop
nop
nop
nop
inc %r14
movb $0x61, (%r9)
nop
sub $16388, %r8
lea addresses_D_ht+0x1c757, %rsi
lea addresses_A_ht+0x1c937, %rdi
nop
mfence
mov $125, %rcx
rep mov... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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 <sstream>
#include <cstring>
#include "opennwa/Nwa.hpp"
#include "opennwa/details/Configuration.hpp"
#include "opennwa/NestedWord.hpp"
#include "opennwa/query/transitions.hpp"
#include "opennwa/query/calls.hpp"
#include "opennwa/query/internals.hpp"
#include "opennwa/nwa_pds/conversions.hpp"
#include "wali/wp... |
;
; jdsample.asm - upsampling (MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2016, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc... |
; A290699: a(n) = 2^n - n + n^2.
; 0,2,6,14,28,52,94,170,312,584,1114,2158,4228,8348,16566,32978,65776,131344,262450,524630,1048956,2097572,4194766,8389114,16777768,33555032,67109514,134218430,268436212,536871724,1073742694,2147484578,4294968288,8589935648,17179870306
sub $0,1
mov $2,2
pow $2,$0
sub $3,$0
bin $3,2
add... |
; --------------------------------------
Start:
; Turn LCD back light off.
mvi a,0
out 1
hlt
; Turn LCD back light on.
mvi a,1
out 1
... |
#include <gtest/gtest.h>
#include "cinn/cinn.h"
#include "cinn/optim/optimize.h"
#include "tests/test02_helper.h"
namespace cinn {
using poly::Iterator;
Expr M(1024);
Expr N(1024);
Expr K(1024);
TEST(test02_matmul, basic) {
Placeholder<float> A("A", {M, K});
Placeholder<float> B("B", {K, N});
Var k(K.as_int3... |
opt l-
/* -----------------------------------------------------------------------
/* CPU 6502 Run Time Library - C64
/* 19.04.2018
/* -----------------------------------------------------------------------
/* 16.03.2019 poprawka dla @printPCHAR, @printSTRING gdy [YA] = 0
/* 29.... |
; A135301: a(1)=1, a(n)=a(n-1)+n^0 if n odd, a(n)=a(n-1)+ n^2 if n is even.
; 1,5,6,22,23,59,60,124,125,225,226,370,371,567,568,824,825,1149,1150,1550,1551,2035,2036,2612,2613,3289,3290,4074,4075,4975,4976,6000,6001,7157,7158,8454,8455,9899,9900,11500,11501,13265,13266,15202,15203,17319,17320,19624,19625,22125,22126,24... |
segment .text
extern printIntC
extern printCharC
extern printNLC
extern printFloatC
global id
global idf
global testTrivial
global testVars
global testArgs
global testArgsAndVars
global testLogic
global float2int
global floatMath
global int2float
global loopTest
global floatComp
global notTest
global ifTest
global mai... |
-- 7 Billion Humans (2087) --
-- 42: Important Email Organization --
-- Author: landfillbaby
-- Size: 18
-- Speed: 170
-- Speed Tests: 169, 170, 172, 170, 171, 170, 169, 171, 169, 168
-- Success Rate: 222/225
mem4 = nearest wall
a:
mem1 = nearest datacube
step mem1
if c == datacube and
s != shredder:
pickup c
mem1... |
SECTION "ROM Bank 08", ROMX[$4000], BANK[$08]
toc_08_4000:
assign [$DA48], $A0
clear [$DA46]
ld [$DA47], a
ld hl, $B201
ld [hl], a
dec h
ld b, $12
ld a, $B2
.loop_08_4015:
ld [hl], a
dec h
dec a
dec b
jr nz, .loop_08_4015
ld a, $FF
ld b... |
lda {c1},x
sta {m1}
lda {c1}+1,x
sta {m1}+1
lda {c1}+2,x
sta {m1}+2
lda {c1}+3,x
sta {m1}+3
|
; A014773: Squares of odd heptagonal numbers.
; 1,49,3025,6561,35721,55225,162409,219961,485809,613089,1147041,1385329,2325625,2725801,4239481,4862025,7144929,8059921,11336689,12623809,17147881,18896409,24950025,27258841,35153041,38130625,48205249,51969681,64593369,69272329,84842521,90573289,109516225,116445681,1392164... |
; A123327: a(n) = A000203(n) + A004125(n).
; 1,3,5,8,10,15,16,23,25,31,34,45,42,55,60,67,69,86,84,103,102,113,122,145,134,154,165,180,181,210,199,230,232,251,266,289,271,308,325,348,339,380,369,412,417,430,451,498,471,513,521,552,559,612,601,640,633
mov $2,$0
lpb $2
add $3,1
mov $4,$2
lpb $4
trn $1,$3
tr... |
/* $NoKeywords: $ */
/*
//
// Copyright (c) 1993-2011 Robert McNeel & Associates. All rights reserved.
// OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
// McNeel & Associates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IMPLIED WARRANTIES OF FITNESS FOR A... |
/*
//@HEADER
// ************************************************************************
//
// KokkosKernels 0.9: Linear Algebra and Graph Kernels
// Copyright 2017 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retain... |
[NSMBU+LU_CrashFix_V0]
moduleMatches = 0x1049CED8, 0x777D7B44
; remove check for mii data
0x024D7394 = b .+0xE8
[NSMBU_CrashFix_V64USV80EU]
moduleMatches = 0x6CAEA914, 0xFA29C89F
0x024D71C4 = b .+0xE8
[NSMBU_CrashFix_V0USV0EU]
moduleMatches = 0xA7A5ECF1, 0xC7B938AD
0x024BDE70 = b .+0xE8
[NSLU_CrashFix_V0EU]
modul... |
/*
mulINTEGER
divmulINT
*/
.proc mulINTEGER
jsr imulCARD
jmp movaBX_EAX
.endp
.proc divmulINT
REAL ldy <divREAL
lda >divREAL
bne skp
MOD mva #{jsr} _mod
lda :STACKORIGIN+STACKWIDTH*3,x ; divisor sign
spl
jsr negCARD
DIV ldy <idivCARD
lda >idivCARD
skp sty addr
sta addr+1
ldy #0
lda :STACKORIG... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... |
*= $0801
.byte $4c,$16,$08,$00,$97,$32
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$30,$00,$00,$00,$a9
.byte $01,$85,$02
jsr print
.byte 147,14,13
.text "Commodore 64 "
.text "Emulator Test Suite"
.byte 13
.text "Public Dom... |
; uint16_t in_pause(uint16_t dur_ms)
SECTION code_input
PUBLIC in_pause
EXTERN asm_in_pause
defc in_pause = asm_in_pause
|
; ##################################
; Low-level assembly port functions
; ##################################
[bits 32]
section .text
; @function void out_8(uint16_t port, uint8_t b)
; Writes the byte to the given port
global out_8
out_8:
; standard frame setup
push ebp
mov ebp, esp
; al is used for the byte ... |
//
// Crude mock-up of tracking finding and fitting. A total cheat using MC
// truth information for the track parameters and magic numbers for the
// covariance matrix; then smear by the covariance matrix.
//
// The goal is to have enough features present to allow us to develop the data
// product and the class... |
#include "touch.h"
UI_Touch::UI_Touch(UI * userInterface, XPT2046_Touchscreen * touchScreen) {
ui = userInterface;
ts = touchScreen;
};
void UI_Touch::begin() {
if (!(*ts).begin()) {
#ifdef USE_SERIAL
Serial.println("Failed to Start Touch");
#endif
(*ui).screen->println("Failed to Start Touch");... |
# @Name: QuicksortRecursive
# @Description: The program implements the recursive Quicksort algorithm.
#
# @Author: Giacomo Marciani <giacomo.marciani@gmail.com>
.data
msg_welcome: .asciiz "Il programma ordina gli elementi di un array 10-dimensionale tramite lalgoritmo QuickSort ricorsivo.\n\n"
A: .word 2,4,6,8,10,3,6... |
/*
* Copyright (C) 2017 The Android Open Source Project
* Copyright (C) 2018 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.lavender"
#include <hardware/hw_auth_token.h>
#include <hardware/hardware.h>
#include <hardware/finger... |
; A301454: Number of strictly log-concave permutations of {1,...,n}.
; 1,1,2,4,6,8,10,12,12,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
trn $0,1
mov $2,3
lpb $0,1
sub ... |
; A106352: Number of compositions of n into 3 parts such that no two adjacent parts are equal.
; 1,2,7,9,15,21,28,35,46,54,66,78,91,104,121,135,153,171,190,209,232,252,276,300,325,350,379,405,435,465,496,527,562,594,630,666,703,740,781,819,861,903,946,989,1036,1080,1128,1176,1225,1274,1327,1377,1431
mov $3,$0
add $3,1... |
; A153509: Period 9: repeat [6, 6, 6, 3, 3, 3, 0, 0, 0].
; 6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3
div $0,-3
mod $0,3
mov $1,$0
add $1,2
mul $1,3
|
00000000 E8F3FDFFFF call 0xfffffdf8
00000005 83C404 add esp,byte +0x4
00000008 83EC0C sub esp,byte +0xc
0000000B FF7508 push dword [ebp+0x8]
0000000E E866FFFFFF call 0xffffff79
00000013 83C410 add esp,byte +0x10
|
#include "hip_conversions.hpp"
hipError_t ihipMemcpy3D_validate(const hipMemcpy3DParms* p);
hipError_t ihipMemcpy_validate(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind);
hipError_t ihipMemcpyCommand(amd::Command*& command, void* dst, const void* src, size_t sizeBytes,
... |
;********************************************************************************************************
; uC/OS-II
; The Real-Time Kernel
;
; Copyright 1992-2021 Silicon Laboratories Inc. www.silabs.com
;
; ... |
; PROJETO DE PROCESSADORES - ELC 1094 - PROF. CARARA
; PROCESSADOR R8
; CARLOS GEWEHR E EMILIO FERREIRA
; DESCRIÇÃO:
; PROCESSADOR R8 COM SUPORTE A INTERRUPÇÕES DE I/O VIA PIC OU TIMER E TRAPS
; APLICAÇÃO ATUAL:
; BUBBLE SORT COM INPUT VIA UART E CONTADORES
; CHANGELOG:
;
; TODO:
;
; OBSERVA... |
;RCX: 1st integer argument
;RDX: 2nd integer argument
;R8: 3rd integer argument
;R9: 4th integer argument
;vmcall: rdx = password1 info(rax)->password(@offset 4)=password 2
;vmcall(info)
extern vmx_password1 : QWORD
extern vmx_password3 : QWORD
_TEXT SEGMENT 'CODE'
PUBLIC dovmcall_intel
dovmcall_intel:
mov rax,... |
; A114347: Cumulative sum of triple factorial numbers a(n) = n!!! (A007661).
; 1,2,4,7,11,21,39,67,147,309,589,1469,3413,7053,19373,48533,106773,316213,841093,1947653,6136453,17158933,41503253,137845653,402385173,1010993173,3515895573,10658462613,27699486613,100341656213
lpb $0
mov $2,$0
sub $0,1
seq $2,7661 ; T... |
MODULE generic_console_vpeek
SECTION code_clib
PUBLIC generic_console_vpeek
EXTERN generic_console_xypos
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN screendollar
EXTERN screendollar_with_count
generic_console_vpeek:
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: User Interface
MODULE: InterApplication Communication Protocol
FILE: iacpManager.asm
AUTHOR: Adam de Boor, Oct 12, 1992
ROUTINES:
Name Description
---- ---... |
; A037668: Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0.
; 3,17,85,428,2142,10710,53553,267767,1338835,6694178,33470892,167354460,836772303,4183861517,20919307585,104596537928,522982689642,2614913448210,13074567241053,65372836205267,326864181026335
add $0,1
seq $0,3... |
;
; This file contains an 'Intel Peripheral Driver' and is
; licensed for Intel CPUs and chipsets under the terms of your
; license agreement with Intel or your vendor. This file may
; be modified by the user, subject to additional terms of the
; license agreement
;
;---------------------------------------------------... |
lda {m2}
sec
sbc #{c1}
sta {m1}
lda {m2}+1
sbc #0
sta {m1}+1 |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x80fe, %rsi
lea addresses_UC_ht+0x19e3e, %rdi
nop
add $15370, %r14
mov $51, %rcx
rep movsw
nop
nop
nop
cmp $23076, %r13
lea addresses_UC_ht+0x1dc46, %rsi
lea addresses_WT_ht+0xad65, %rd... |
list p=18f4550 ;modelo de microcontrolador
#include<p18f4550.inc> ;llamada a la libreria de nombres
;Aqui van los bits de configuracion (directivas de pre procesador)
CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT))
CONFIG PWRT = ON ; Power-up Ti... |
/*
* Copyright (c) 2010-2014, 2017-2018 ARM Limited
* Copyright (c) 2013 Advanced Micro Devices, Inc.
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intelle... |
#include "Application.h"
#include "ModuleVehicle.h"
#include "Vehicle.h"
ModuleVehicle::ModuleVehicle(Application* app, bool start_enabled) : Module(app, start_enabled), vehicle(NULL)
{
turn = acceleration = brake = 0.0f;
}
ModuleVehicle::~ModuleVehicle()
{}
// Load assets
bool ModuleVehicle::Start()
{
LOG("Loadin... |
; A124158: Maximal number of edges in a rectangle visibility graph with n nodes.
; 0,1,3,6,10,15,21,28,34,40,46,52,58,64,70,76,82,88,94,100,106,112,118,124,130,136,142,148,154,160,166,172,178,184,190,196,202,208,214,220,226,232,238,244,250,256,262,268,274,280,286,292,298,304,310,316,322,328,334,340
mov $2,$0
lpb $2
... |
#include <iostream>
using namespace std;
class time
{
private:
int hours;
int mins;
int secs;
public:
time() : hours(0),mins(0),secs(0)
{}
time(int h, int m, int s) : hours(h), mins(m), secs(s)
{}
void display() const
{
cout << hours << ':' << mins << ':' << secs;
}
time operat... |
.org $0100
.include "05.inc2.asm"
.include "05.inc3.asm"
bar:
push de
call blah
xor d
ret pe
call testfunc
exx
ret
|
BattleCommand_Substitute:
; substitute
call BattleCommand_MoveDelay
ld hl, wBattleMonMaxHP
ld de, wPlayerSubstituteHP
ldh a, [hBattleTurn]
and a
jr z, .got_hp
ld hl, wEnemyMonMaxHP
ld de, wEnemySubstituteHP
.got_hp
ld a, BATTLE_VARS_SUBSTATUS4
call GetBattleVar
bit SUBSTATUS_SUBSTITUTE, a
jr nz, .already_... |
/*
Copyright (c) 2018 Xavier Leclercq
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, ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>fchmod(fd, mode) -> str
Invokes the syscall fchmod.
See 'man 2 fchmod' for more information.
Arguments:
fd(int): fd
mode(mode_t): mode
Returns:
int
</%docstring>
<%page args="fd=0, mode=0"/>
<%
abi... |
#include "cliente.h"
namespace Caio{
Cliente::Cliente():
codigo(""),
logradouro(""),
setor(""),
cidade(""),
estado(""),
telefone(""),
email("")
{
}
Cliente::Cliente(QString &log, QString &se, QString &c, QString &e, QString &t, QString &em, QString type):
codigo(""),
... |
global acquireSpinlock:function
global releaseSpinlock:function
extern panic
SECTION .text
acquireSpinlock:
pushf
xor ecx, ecx
pop rdx
.lock:
cli
lock bts dword [rdi], 0
jnc .noSpin
test edx, (1 << 9)
jz .spin
sti
.spin:
inc ecx
pause
test [rdi], dword 1
jz .lock
;cmp ecx, 0x7FFFFFFF ;100... |
;------------------------------------------------------------------------------
;
; 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... |
; A092236: a(n) = (3^n + 2*3^(n/2)*cos(n*Pi/6))/3.
; Submitted by Christian Krause
; 1,2,4,9,24,72,225,702,2160,6561,19764,59292,177633,532170,1595052,4782969,14346720,43040160,129127041,387400806,1162241784,3486784401,10460412252,31381236756,94143533121,282430067922,847289140884,2541865828329,7625595890664
lpb $0
s... |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+---------... |
assume cs:code, ds:data, ss:stack
; 栈段
stack segment
db 100 dup(0)
stack ends
; 数据段
data segment
db 100 dup(0)
data ends
; 代码段
code segment
start:
; 手动设置ds、ss的值
mov ax, data
mov ds, ax
mov ax, stack
mov ss, ax
; 业务逻辑
push 1
push 2
call ... |
; A131209: Maximal distance between two signed permutations of n elements.
; 0,1,3,3,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,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69
mov $1,$0
lpb $1
add $0,1
gcd $1,3
lpe
|
#include <2DGameSDK/scene/SceneGraphNode.h>
using namespace sf;
namespace game {
const Transform _ZERO_TRANSFORM = Transform();
SceneGraphNode::SceneGraphNode(SceneGraph* graph, SceneGraphNode* parent, Entity* entity) : mGraph(graph), mParent(parent), mEntity(entity) {
if(entity != nullptr) {
... |
; char *gets(char *s)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _gets
EXTERN _gets_fastcall
_gets:
pop af
pop hl
push hl
push af
jp _gets_fastcall
;;;;;;;;;;;;;;;;;;;;;;;... |
; A041026: Numerators of continued fraction convergents to sqrt(18).
; Submitted by Jon Maiga
; 4,17,140,577,4756,19601,161564,665857,5488420,22619537,186444716,768398401,6333631924,26102926097,215157040700,886731088897,7309005751876,30122754096401,248291038523084,1023286908188737,8434586304032980,34761632124320657,286... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x1200",
"RDI": "0xE0000006",
"RSI": "0xDFFFFFFE"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x6162
mov [rdx + 8 * 0], rax
mov rax, 0x4546
mov [rdx + 8 * 1], rax
lea rdi, [rdx + 8 * 1]
lea rsi, [rdx + 8 * 0]
std
cm... |
RECDATA64 STRUCT
OPERAND DQ(2) dup(?)
RESULT DQ(2) dup(?)
FLAG DQ(2) dup(?)
RECDATA64 ENDS
__ENTER MACRO
push rbp
mov rbp,rsp
push rax
push rcx
push rdx
push rbx
... |
/*********************************************************************
Matt Marchant 2016 - 2019
http://trederia.blogspot.com
tmxlite - Zlib license.
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of this sof... |
#include "core_generic_plugin/generic_plugin.hpp"
#include "core_python27/defined_instance.hpp"
#include "core_python27/listener_hooks.hpp"
#include "core_python27/scripting_engine.hpp"
#include "core_python27/script_object_definition_registry.hpp"
#include "core_python27/type_converters/converter_queue.hpp"
#include ... |
; A060937: Number of iterations of d(n) (A000005) needed to reach 2 starting at n (n is counted).
; 1,2,3,2,4,2,4,3,4,2,5,2,4,4,3,2,5,2,5,4,4,2,5,3,4,4,5,2,5,2,5,4,4,4,4,2,4,4,5,2,5,2,5,5,4,2,5,3,5,4,5,2,5,4,5,4,4,2,6,2,4,5,3,4,5,2,5,4,5,2,6,2,4,5,5,4,5,2,5,3,4,2,6,4,4,4,5,2,6,4,5,4,4,4,6,2,5,5,4,2
add $0,1
lpb $0
s... |
.globl main
.data
File: .asciiz "c:\\check.txt" #Filename for input
buffer: .space 2048 #Space used as buffer
.text
########################################################################################
li $t1, 0x000000ff #Loading blue in register.
li $t2, 0x00000000 #Loading black in regis... |
; A269705: Numbers k such that prime(k) == 1 (mod 9).
; 8,12,21,29,31,38,42,46,58,63,75,78,84,93,99,100,106,112,115,131,134,141,145,153,157,159,167,169,179,187,191,193,207,211,224,232,242,244,247,257,260,264,272,276,279,287,303,306,310,316,324,326,327,335,337
seq $0,61237 ; Prime numbers == 1 (mod 9).
seq $0,230980 ; ... |
; A134500: a(n) = Fibonacci(7n + 2).
; Submitted by Jamie Morken(s1)
; 1,34,987,28657,832040,24157817,701408733,20365011074,591286729879,17167680177565,498454011879264,14472334024676221,420196140727489673,12200160415121876738,354224848179261915075,10284720757613717413913
mul $0,7
add $0,1
mov $2,1
lpb $0
sub $0,2
... |
; A229526: The c coefficients of the transform ax^2 + (4a/k - b)x + 4a/k^2 + 2b/k + c= 0 for a,b,c = 1,-1,-1, k = 1,2,3...
; 5,1,1,-1,-11,-5,-31,-11,-59,-19,-95,-29,-139,-41,-191,-55,-251,-71,-319,-89,-395,-109,-479,-131,-571,-155,-671,-181,-779,-209,-895,-239,-1019,-271,-1151,-305,-1291,-341,-1439,-379,-1595,-419,-175... |
; unsigned char esx_disk_stream_start(struct esx_filemap_entry *entry)
SECTION code_esxdos
PUBLIC _esx_disk_stream_start_fastcall
EXTERN asm_esx_disk_stream_start
_esx_disk_stream_start_fastcall:
push ix
call asm_esx_disk_stream_start
pop ix
ret
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x5b4c, %r12
nop
nop
nop
nop
nop
sub $38280, %rsi
mov $0x6162636465666768, %rax
movq %rax, (%r12)
nop
nop
nop
nop
nop
cmp %rdi, %rdi
lea addresses_WC_ht+0x48ae, %r14
nop
nop
no... |
; A101890: Sum C(n,2k)F(k), k=0..floor(n/2).
; Submitted by Christian Krause
; 0,0,1,3,7,15,32,70,157,357,815,1859,4232,9620,21853,49635,112747,256139,581944,1322210,3004145,6825557,15507867,35234183,80052656,181881000,413236953,938882307,2133159119,4846579847,11011525360
mov $1,1
lpb $0
sub $0,1
add $1,$3
sub $... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x9865, %rdx
nop
nop
xor $2684, %rsi
mov $0x6162636465666768, %r11
movq %r11, (%rdx)
cmp %r12, %r12
lea addresses_WC_ht+0x1965, %rax
nop
and $52025, %rdx
movb $0x61, (%rax... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2015-2017 The Dash developers
// Copyright (c) 2015-2017 The Bitsend developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/... |
// Copyright (C) 2008-2011 NICTA (www.nicta.com.au)
// Copyright (C) 2008-2011 Conrad Sanderson
//
// This file is part of the Armadillo C++ library.
// It is provided without any warranty of fitness
// for any purpose. You can redistribute this file
// and/or modify it under the terms of the GNU
// Lesser General Pub... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Phore developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... |
/**
* \file dnn/src/arm_common/elemwise/ternary/algo.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2020 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distribute... |
// Copyright 2020 The Tint 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 ... |
; Copyright 2019 by Sven Fabricius, see LICENSE.txt
;
; @file SSD1289_Fill.asm
;
; @brief Fill the area specified by setBounds with color
;
; @author Sven Fabricius
; Contact: Sven.Fabricius@livediesel.de
;typedef struct _SSD1289_config
;{
; volatile uint16_t * dataOut; + 0
; volatile uint16_t * dataIn; + ... |
/**********************************************************************************
* TRIE OF BITS (MAX XOR IN ARRAYS) *
* *
* Problem: Given an array a[i] and an integer y, find max value of y... |
SetLastFaceVisible: MACRO
ld a,$FF ; last normal is always visible ;;;
ld (UbnkFaceVisArray+15),a ; XX2+15 ... |
; ---------------------------------------------------------------------------
; Animation script - electrocution orbs (SBZ)
; ---------------------------------------------------------------------------
dc.w byte_161CC-Ani_obj6E
dc.w byte_161D0-Ani_obj6E
byte_161CC: dc.b 7, 0, $FF, 0
byte_161D0: dc.b 0, 1, 1, 1, 2, ... |
;basic sanity check with a few external calls
global main
section .text
main:
mov rbx, 17
level1: ;17 executions each below here
mov rax, 0
inc rax
inc rax
inc rax
inc rax
dec rax
dec rax
xchg rax, rbx
xchg rax, rbx
mov rcx, 47
level2: ;799 executions each below here
inc rax
inc rax
inc r... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, 8000
ld a, ff
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
... |
// Copyright 2019 Victor Smirnov
//
// 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... |
// Copyright (c) 2007 The NetBSD Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this lis... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
#include "overviewpage.h"
#include "ui_overviewpage.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "optionsmodel.h"
#include "transactiontablemodel.h"
#include "transactionfilterproxy.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "askpassphrasedialog.h"
#include "main.h"
#include "bitcoin... |
/*
The discretization component of Amanzi.
License: BSD
Author: Konstantin Lipnikov (lipnikov@lanl.gov)
*/
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <vector>
#include "UnitTest++.h"
#include "Teuchos_ParameterList.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_XMLParameterListHelpers.... |
#include "../CuMatrix.h"
#include "../util.h"
#include "tests.h"
#include <GL/gl.h>
#include <GL/glut.h>
#include "../ogl/AccelEvents.h"
#include "../ogl/Point.h"
#include "../ogl/Perspective.h"
#include "../ogl/Arrow.h"
#include "../ogl/LookAt.h"
#include "../ogl/Text.h"
#ifdef CuMatrix_Enable_Ogl
void display(void... |
;name: sslsocket.asm
;build: nasm -felf64 sslsockettest.asm -l sslsockettest.lst -o sslsockettest.o
; ld -melf_x86_64 -g --dynamic-linker /lib64/ld-linux-x86-64.so.2 -o sslsockettest sslsockettest.o `pkg-config --libs openssl`
;description: this program is a convertion to assembly langu... |
; A169127: Number of reduced words of length n in Coxeter group on 18 generators S_i with relations (S_i)^2 = (S_i S_j)^26 = I.
; 1,18,306,5202,88434,1503378,25557426,434476242,7386096114,125563633938,2134581776946,36287890208082,616894133537394,10487200270135698,178282404592306866,3030800878069216722,51523614927176684... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012-2014 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby g... |
; Dummies for Button name
section dummy
xdef bt_name
bt_name dc.w 12,'Button Frame'
end
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1b7b0, %r14
nop
nop
sub $23746, %rbx
movb (%r14), %r12b
nop
nop
sub $13738, %r13
lea addresses_UC_ht+0x48f0, %rdi
nop
nop
nop
nop
nop
inc %rbp
mov $0x61626364656667... |
/*
This file is part of the TIPE stabilisator source code.
TIPE stabilisator 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 3 of the License, or
(at your option) any later vers... |
; A063647: Number of ways to write 1/n as a difference of exactly 2 unit fractions.
; 0,1,1,2,1,4,1,3,2,4,1,7,1,4,4,4,1,7,1,7,4,4,1,10,2,4,3,7,1,13,1,5,4,4,4,12,1,4,4,10,1,13,1,7,7,4,1,13,2,7,4,7,1,10,4,10,4,4,1,22,1,4,7,6,4,13,1,7,4,13,1,17,1,4,7,7,4,13,1,13,4,4,1,22,4,4,4,10,1,22,4,7,4,4,4,16,1,7,7,12
add $0,1
pow $... |
#include <smpch.h>
#include "WindowInput.h"
#include "WindowDisplay.h"
#include <Core\Events\InputEvents.h>
double Input::mouseXPos; double Input::mouseYPos; double Input::mouseXScroll; double Input::mouseYScroll;
//links the events needed for input
void Input::LinkEvents()
{
MouseMoveEvent::AddMethod(&Input::Updat... |
; Konami VRC4e: (up to 256KB) PRG-ROM + (0,2,8)KB PRG-RAM + (up to 512KB) CHR-ROM
; http://bootgod.dyndns.org:7777/search.php?keywords=23&kwtype=pcb
;------------------------------------------------------------------------------;
; number of 16K PRG banks
PRG_BANKS = $04
; number of 8K CHR banks
; Valid values: $02 (1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.