text stringlengths 1 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb64e, %rsi
lea addresses_UC_ht+0x72ff, %rdi
nop
nop
cmp $4921, %r8
mov $11, %rcx
rep movsq
nop
nop
nop
cmp $21518, %rcx
lea addresses_WT_ht+0xcf4f, %r10
nop
nop
nop
nop
dec %rbp
mov $0x... |
.def counter_x r0
.def counter_y r1
.def comp r2
.def s_zero r3
.def s_one r4
.label setup
.label entry_addr
loadi counter_x, vram_width
loadi counter_y, vram_height
rst s_zero
loadi s_one, 1
sub counter_x, s_one
sub counter_y, s_one
push dword, msg_welcome
push dword, 29
push word, sys_write
sys... |
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/server/CarlaMeasurements.h"
#include "carla/Logging.h"
namespace carla {
name... |
; this is a list of the sprites that can be enabled/disabled during the game
; there may be unused sprites, but these will remain unmarked until
; the disassembly is complete
const_def
const HS_PALLET_TOWN_OAK ; 00
const HS_LYING_OLD_MAN ; 01
const HS_OLD_MAN_1 ; 02
... |
#include "Engine.h"
#include <regression/tframe.h>
#include <spine/Options.h>
#include <spine/Reactor.h>
using namespace std;
SmartMet::Engine::Authentication::Engine *authengine;
std::string apikey = "testkey";
std::string apikey2 = "testkey2";
std::string apikey_wildcard = "testkey_wildcard";
namespace Tests
{
//... |
/**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <cstdlib>
#include <cctype>
#include <algorithm>
#include <iostream>
using namespace std;
bool is_vowel(char c) {
c = tolower(c);
return c=='a'||c=='e'||c=='i'||c=='o'||c=='u';
}
int main() {
... |
#include "include/MMVII_all.h"
#include "include/MMVII_2Include_Serial_Tpl.h"
#include "LearnDM.h"
//#include "include/MMVII_Tpl_Images.h"
namespace MMVII
{
class cAppliCalcHistoCarac : public cAppliLearningMatch
{
public :
cAppliCalcHistoCarac(const std::vector<std::string> & aVArgs,const cSpecMMVII_App... |
;
; New stdio functions for Small C+
;
; gets(char *s) - get string from console
;
;
; $Id: gets.asm,v 1.8 2015/01/19 01:33:20 pauloscustodio Exp $
;
PUBLIC gets
EXTERN fgetc_cons
EXTERN fputc_cons
DEFINE EMULATECURSOR
; Enter in with hl holding the address of string to print
.gets
; we don't __FASTCAL... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin 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 "init.h... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?timer_head@@3PEAU_timer_@@EA ; timer_head
PUBLIC ?timer_last@@3PEAU_timer_@@EA ; timer_last
PUBLIC ?utimer_id@@3IA ; utimer_id
_BSS SEGMENT
?timer_head@@3PEAU_time... |
bits 16
cpu 386
section .cmike_init
global _start
_start:
mov word [old_stack], sp
mov sp, stack_top
extern main
call main
mov sp, word [old_stack]
ret
old_stack: dw 0
section .bss
resb 3072
stack_top:
|
; A313611: Coordination sequence Gal.6.337.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,14,20,24,29,34,38,44,48,53,58,63,68,72,78,82,87,92,96,102,106,111,116,121,126,130,136,140,145,150,154,160,164,169,174,179,184,188,194... |
; A073554: Number of Fibonacci numbers F(k), k <= 10^n, which end in 7.
; 0,14,134,1334,13334,133334,1333334,13333334,133333334,1333333334,13333333334,133333333334,1333333333334,13333333333334,133333333333334,1333333333333334,13333333333333334,133333333333333334,1333333333333333334,13333333333333333334,1333333333333333... |
/**
* Copyright (c) 2006-2020 LOVE Development Team
*
* 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 software.
*
* Permission is granted to anyone to use this software for any purpose,
* ... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: graphicsPolyline.asm
AUTHOR: Steve Scholl, Oct 23, 1989
ROUTINES:
Name Description
---- -----------
EXT GrDrawPolyline Draws a p... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %rbp
push %rbx
push %rcx
// Faulty Load
lea addresses_WC+0x269b, %r11
nop
nop
nop
nop
inc %rbp
movups (%r11), %xmm5
vpextrq $1, %xmm5, %rcx
lea oracles, %r12
and $0xff, %rcx
shlq $12, %rcx
mov ... |
;================================================================================
; New Item Handlers
;--------------------------------------------------------------------------------
; REMEMBER TO UPDATE THE TABLES IN UTILITIES.ASM!
;--------------------------------------------------------------------------------
; #$... |
;
; .. X. .X XX
; .. .. .. ..
;
; .. X. .X XX
; X. X. X. X.
;
; .. X. .X XX
; .X .X .X .X
;
; .. X. .X XX
; XX XX XX XX
SECTION rodata_driver
PUBLIC textpixl
.textpixl
defb 0x00, 0x05, 0x06, 0x07
defb 0x08, 0x09, 0x0... |
// Version information for the "UsageEnvironment" library
// Copyright (c) 1996-2020 Live Networks, Inc. All rights reserved.
#ifndef _USAGEENVIRONMENT_VERSION_HH
#define _USAGEENVIRONMENT_VERSION_HH
#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2020.03.06"
#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1583452800... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sccz80p_dldpsh
cm48_sccz80p_dldpsh:
; sccz80 float primitive
; Push float pointed to by HL onto stack.
;
; enter : HL = double * (sccz80 format)
;
; exit : stack = double (sccz80 format)
;
; uses : af, bc, de, hl
ld c,(hl)
inc hl... |
/*************************************************************************/
/* audio_stream_player_2d.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
; A060783: Number of conics which pass through 3 points and are bitangent to a general curve of order n.
; 0,0,4,36,132,340,720,1344,2296,3672,5580,8140,11484,15756,21112,27720,35760,45424,56916,70452,86260,104580,125664,149776,177192,208200,243100,282204,325836,374332,428040,487320,552544,624096,702372,787780,880740,9... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdio>
#include <cstdlib>
#include <gtest/gtest.h>
#include <faiss/IndexBinaryFlat.h>
#include <faiss/utils/hamming.h... |
SECTION bss_fp_mbf32
PUBLIC MULVAL
MULVAL: defb 0,0,0
|
SECTION .text
GLOBAL test
test:
pmuludq xmm0, xmm0
pmuludq xmm0, xmm1
pmuludq xmm0, xmm2
pmuludq xmm0, xmm3
pmuludq xmm0, xmm4
pmuludq xmm0, xmm5
pmuludq xmm0, xmm6
pmuludq xmm0, xmm7
pmuludq xmm0, xmm8
pmuludq xmm0, xmm9
pmuludq xmm0, xmm10
pmuludq xmm0, xmm11
pmuludq xmm0, xmm12
pmuludq xmm0, xmm13
pmuludq xmm0, xmm1... |
;-------------------
; test for ldd/std
;-------------------
.def yl = r28
.def yh = r29
.def zl = r30
.def zh = r31
;-------------------
ldi r16,0xff
ldi r24,0x10
mov r7 ,r16
mov r8 ,r24
ldi r16,0x20
ldi r24,0x30
;-------------------
ldi yh,0x01
ldi yl,0x10
... |
###############################################################################
# Copyright 2019 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... |
//========================================================================
//
// Splash.cc
//
// Copyright 2003-2013 Glyph & Cog, LLC
//
//========================================================================
#include <aconf.h>
#ifdef USE_GCC_PRAGMAS
#pragma implementation
#endif
#include <stdlib.h>
#include <str... |
; A024655: n written in fractional base 9/7.
; Submitted by Jon Maiga
; 0,1,2,3,4,5,6,7,8,70,71,72,73,74,75,76,77,78,750,751,752,753,754,755,756,757,758,7530,7531,7532,7533,7534,7535,7536,7537,7538,75310,75311,75312,75313,75314,75315,75316,75317,75318,75380,75381,75382,75383,75384
mov $3,1
lpb $0
mov $2,$0
div $0,... |
; $Id: floorf.asm $
;; @file
; IPRT - No-CRT floorf - AMD64 & X86.
;
;
; Copyright (C) 2006-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the... |
; A014692: a(n) = prime(n) - (n-1).
; 2,2,3,4,7,8,11,12,15,20,21,26,29,30,33,38,43,44,49,52,53,58,61,66,73,76,77,80,81,84,97,100,105,106,115,116,121,126,129,134,139,140,149,150,153,154,165,176,179,180,183,188,189,198,203,208,213,214,219,222,223,232,245,248,249,252,265,270,279,280,283,288,295,300,305,308,313,320,323,330... |
;
; ZX Spectrum ZXMMC specific routines
; code by Alessandro Poppi
; ported to z88dk by Stefano Bodrato - Feb 2010
;
; int mmc_command(struct MMC mmc_descriptor, unsigned char command, long parameter)
;
; $Id: mmc_command.asm,v 1.3 2016/06/10 21:28:03 dom Exp $
;
;----------------------------------------------------... |
; A035487: Second column of Stolarsky array.
; 2,6,11,15,19,23,28,32,36,40,44,49,53,57,61,66,70,74,78,83,87,91,95,100,104,108,112,116,121,125,129,133,138,142,146,150,155,159,163,167,172,176,180,184,189,193,197,201
mov $4,$0
add $0,10
mov $1,19
mul $1,$0
mov $5,4
lpb $0
mov $0,6
mov $2,$1
div $2,$5
add $5,$2
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1a092, %rsi
lea addresses_WT_ht+0x1a6fa, %rdi
clflush (%rdi)
nop
nop
and $1664, %rax
mov $86, %rcx
rep movsl
nop
nop
nop
nop
nop
and $79, %r8
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r8
ret
.global s... |
// Copyright 2012-2021 Jan Niklas Hasse <jhasse@bixense.com>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
/// Functions related to the global ModelView matrix
/// @file
#pragma once
#include "Mat3.hpp"
namespace jngl {
/// Returns a copy of the global ModelView matrix
jngl::Mat3 mod... |
#ifndef CPP_HPP_95E41B70_5DB2_4E5B_A468_95343C6438AD
#define CPP_HPP_95E41B70_5DB2_4E5B_A468_95343C6438AD
#pragma once
/*
cpp.hpp
Some workarounds & emulations for C++ features, missed in currently used compilers & libraries.
Here be dragons
*/
/*
Copyright © 2013 Far Group
All rights reserved.
Redistribution and ... |
dc.w word_21AC6-Map_CNZSOZBreakableWall
dc.w word_21AE0-Map_CNZSOZBreakableWall
dc.w word_21B12-Map_CNZSOZBreakableWall
dc.w word_21B2C-Map_CNZSOZBreakableWall
dc.w word_21B5E-Map_CNZSOZBreakableWall
dc.w word_21B84-Map_CNZSOZBreakableWall
word_21AC6: dc.w 4 ; DATA XREF: ROM:00021ABAo
dc.b $E0, $D, ... |
;;
;; Copyright (c) 2020-2021, 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... |
; char *strupr(char *s)
SECTION code_string
PUBLIC strupr
EXTERN asm_strupr
defc strupr = asm_strupr
|
; error display routine
; blinks the (error #)+1 in all three leds
pezro ldx #0 ; error #1 for zero page
.byte skip2 ; skip next two bytes
perr ldx temp ; get error #
txs ; use stack as storage reg.
pe20 tsx ; restore error #
pe30 lda #led0+led1
... |
#ifndef SRC_CONTEXT_FILTER_CONTEXT_H_
#define SRC_CONTEXT_FILTER_CONTEXT_H_
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include "core/crystal.hpp"
#include "core/filter.hpp"
#include "core/optics.hpp"
#include "io/serialize.hpp"
namespace icehalo {
class RayPathFilterContext;
using RayPath... |
; ===============================================================
; Jun 2007
; ===============================================================
;
; uint zx_aaddr2py(void *attraddr)
;
; Attribute address to pixel y coordinate.
;
; ===============================================================
SECTION code_arch
PUBLI... |
// Copyright 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 "content/child/npapi/np_channel_base.h"
#include "base/auto_reset.h"
#include "base/containers/hash_tables.h"
#include "base/lazy_instance.h"
#i... |
[sonic2013_v48]
moduleMatches = 0xC5691A40
.origin = codecave
; app::WorldAreaMapInfo::Load
_linkSonicLoad:
lwz r12, 0(r31)
lwz r0, 0xC(r12)
lis r4, LinksonicPacLoad@ha
mtctr r0
addi r4, r4, LinksonicPacLoad@l
li r5, 0x4001
mr r3, r31
bctrl
; return to original code
lwz r12, 0(r31)
b 0x02B0FD04
; app::WorldAreaMap... |
;字母反向排列
jmp start
string:
db 'changlon'
start:
;将db中的内容入栈
mov ax,0x7c0
mov ds,ax
mov si,string
mov ax,cs
mov ss,ax
mov sp,0
mov cx, ( start - string )
xor ax,ax
e:
mov al , [si]
push ax
inc si
loop e
mov si,string
mov cx, (start - string )
o:
pop ax
mov byte [si], al
inc si
... |
; BSD
; void bcopy_callee(const void *src, void *dst, size_t len)
SECTION code_string
PUBLIC _bcopy_callee
EXTERN asm_bcopy
_bcopy_callee:
pop af
pop hl
pop de
pop bc
push af
jp asm_bcopy
|
// written by bastiaan konings schuiling 2008 - 2014
// this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important.
// i do not offer support, so don't ask. to be used for inspiration :)
#ifndef _HPP_GUI2_VIEW_FRAME
#define _HPP_GUI2_VIEW_FRAME
#in... |
; A290917: p-INVERT of the positive integers, where p(S) = (1 - S)^2.
; 2,7,22,67,200,588,1708,4913,14018,39725,111922,313752,875702,2434747,6746350,18636343,51340988,141089508,386857888,1058572325,2891193242,7882921697,21458980582,58330331952,158339542250,429274563823,1162435429318,3144299295403,8496313890608,22935929... |
// Copyright (c) 2011 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 "base/strings/stringprintf.h"
#include "base/win/scoped_handle.h"
#include "base/win/windows_version.h"
#include "sandbox/win/src/nt_interna... |
BITS 64
GLOBAL _start
_start:
;stack frame
push rbp
mov rbp, rsp
sub rsp, 0x200
;lets print message: rdi and rdx already set!
print:
mov rdi, 1
mov rsi, msg1
mov rdx, 0x27
mov rax, 1
syscall
;now read input 1 byte at a time:
mov rsi, rsp
read:
mov rax, 0
mov r10, rsp
add r10, 0x200
mov rdi, 0
mov rdx, 1
syscall
;co... |
addi $t1, $t1, 1 # Counting - 1
bne $t1, 10, Continue
nop
li $t1, 0
Continue:
sw $t1, 0x7f40($0)
loop_0:
lw $s0, 0x7f50($0) # Read Time Length
beq $s0, 0, loop_0
nop
li $t2, 55000000
beq $s0, 1, NextWait
nop
li $t2, 110000000
NextWait:
sw $t2, 0x7f04($0) # Set Timer
eret |
; A094160: Column 4 of A048790.
; 0,4,76,344,936,1980,3604,5936,9104,13236,18460,24904,32696,41964,52836,65440,79904,96356,114924,135736,158920,184604,212916,243984,277936,314900,355004,398376,445144,495436,549380,607104,668736,734404,804236,878360,956904,1039996,1127764,1220336,1317840,1420404,1528156,1641224,1759736,... |
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
$@feat.00 equ 1
section .text code align=64
%else
section .text code
%endif
;extern _OPENSSL_ia32cap_P
global _bn_mul_mont
align 16
_bn_mul_mont:
L$_bn_mul_mont_begin:
push ebp
push ebx
push esi
push edi
xor eax,ea... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
**
** Source : test.c
**
** Purpose: InterlockedIncre... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
; A238340: Number of partitions of 4n into 4 parts.
; 1,5,15,34,64,108,169,249,351,478,632,816,1033,1285,1575,1906,2280,2700,3169,3689,4263,4894,5584,6336,7153,8037,8991,10018,11120,12300,13561,14905,16335,17854,19464,21168,22969,24869,26871,28978,31192,33516,35953,38505,41175,43966,46880,49920,53089,56389,59823,63394,... |
<% from pwnlib.shellcraft import i386 %>
<%page args="string, sock = '1'"/>
<%docstring>
Writes a string to a file descriptor
Example:
>>> run_assembly(shellcraft.echo('hello', 1)).recvall()
'hello'
</%docstring>
${i386.pushstr(string, append_null = False)}
${i386.linux.syscall('SYS_write', sock, 'esp', len... |
; #########################################################################
.386
.model flat, stdcall
option casemap :none ; case sensitive
; #########################################################################
include \masm32\include\windows.inc
include \masm32\include\user32.in... |
/*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
; multitasking and dynamic thread registration
; delete the completed task
[org 0x0100]
jmp start
; PCB layout:
; ax,bx,cx,dx,si,di,bp,sp,ip,cs,ds,ss,es,flags,next,dummy
; 0, 2, 4, 6, 8, 10,12,14,16,18,20,22,24, 26 , 28 , 30
pcb: times 32*16 dw 0 ; space for 32 PCBs
stack: times 32*256 dw 0 ; spa... |
; A292350: Number of Lyndon words (aperiodic necklaces) with 6 beads of n colors.
; 0,9,116,670,2580,7735,19544,43596,88440,166485,295020,497354,804076,1254435,1897840,2795480,4022064,5667681,7839780,10665270,14292740,18894799,24670536,31848100,40687400,51482925,64566684,80311266,99133020,121495355,147912160,178951344,... |
// Document/View sample for Boost.Signals
// Copyright Keith MacDonald 2005. 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)
// For more information, see http://www.boost.org
#incl... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: Valve.VR.IVROverlay
#includ... |
; char *strcpy(char * restrict s1, const char * restrict s2)
SECTION code_string
PUBLIC strcpy
EXTERN asm_strcpy
strcpy:
pop af
pop hl
pop de
push de
push hl
push af
jp asm_strcpy
|
// Copyright (c) 2009 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.
// This file contains the implementation of the helper functions for resources.
#include "gpu/command_buffer/common/resource.h"
namespace gpu {
nam... |
; license:MIT License
; copyright-holders:Hiromasa Tanaka
_music_game_over:
DB 0
DW _music_game_over_trk1
DW _music_game_over_trk2
DW _music_game_over_trk3
_music_game_over_trk1:
DB 201, %10, 200, 15 , 21 , 28 , 20 , 28 , 19 , 28 , 18 , 28 , 17 , 112
DB 255
_music_game_over_trk2:
DB 2... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _asin
EXTERN cm48_sdcciy_asin
defc _asin = cm48_sdcciy_asin
|
;; @file
;
; Copyright 2006 - 2010 Unified EFI, Inc.<BR>
; Copyright (c) 2010, 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. The full text... |
; A070960: a(1) = 1; a(n) = n!*(3/2) for n>=2.
; 1,3,9,36,180,1080,7560,60480,544320,5443200,59875200,718502400,9340531200,130767436800,1961511552000,31384184832000,533531142144000,9603560558592000
mov $2,$0
mov $1,1
add $1,$2
fac $1
mul $1,3
div $1,2
|
SECTION code_fp_math48
PUBLIC ___fs2schar
EXTERN cm48_sdccixp_ds2schar
defc ___fs2schar = cm48_sdccixp_ds2schar
|
; A259060: Numbers that are representable in at least two ways as sums of four distinct nonvanishing cubes.
; 6426,7900,9614,11592,13858,16436,19350,22624,26282,30348,34846,39800,45234,51172,57638,64656,72250,80444,89262,98728,108866,119700,131254,143552,156618,170476,185150,200664,217042,234308,252486,271600,291674
m... |
; A032357: Convolution of Catalan numbers and powers of -1.
; Submitted by Christian Krause
; 1,0,2,3,11,31,101,328,1102,3760,13036,45750,162262,580638,2093802,7601043,27756627,101888163,375750537,1391512653,5172607767,19293659253,72188904387,270870709263,1019033438061,3842912963391,14524440108761,55009110807243,208738... |
; Copyright (c) 2018 M D
;
; This software is released under the MIT License.
; https://opensource.org/licenses/MIT
[extern isr_handler]
[extern irq_handler]
isr_common_stub:
pusha
mov ax, ds
push eax
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
push esp
cld
call isr_handler
pop eax
... |
; A209345: Number of 4-bead necklaces labeled with numbers -n..n allowing reversal, with sum zero with no three beads in a row equal
; 4,15,35,72,128,205,311,448,618,829,1083,1382,1734,2141,2605,3134,3730,4395,5137,5958,6860,7851,8933,10108,11384,12763,14247,15844,17556,19385,21339,23420,25630,27977,30463,33090,35866,3... |
; Charging turning speed, credit goes to Colt Zero(Olivine Ellva)
.org Update__16SpyroChargeStateFv+0x11C
bl set_charge_speed
.org end
; For crash testing
;.space 0x10000, 0xFF
.global set_charge_speed
set_charge_speed:
stwu sp, -0x10 (sp)
mflr r18
stw r18, 0x14 (sp)
bl sets... |
; Tests for APU clock jitter. Also tests basic timing of frame irq flag
; since it's needed to determine jitter.
.include "prefix_apu.a"
jitter = 1
reset:
jsr setup_apu
lda #2;) Frame irq is set too soon
sta result
lda #$40 ; clear frame irq flag
sta $4017
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x152cb, %r13
dec %r12
movb $0x61, (%r13)
nop
sub %rsi, %rsi
lea addresses_D_ht+0x9f0b, %rsi
clflush (%rsi)
nop
nop
nop
add $39025, %r15
and $0xffffffffffffffc0, %rsi
movn... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="clock_id, res"/>
<%docstring>
Invokes the syscall clock_getres. See 'man 2 clock_getres' for more information.
Arguments:
clock_id(clockid_t): clock_id
res(timespec): res
</%docstring>
${syscall('SYS_clock_getres', clock_id, res)}
|
; A154681: Triangle read by rows where T(m,n) = 2*m*n + m + n +3.
; Submitted by Christian Krause
; 7,10,15,13,20,27,16,25,34,43,19,30,41,52,63,22,35,48,61,74,87,25,40,55,70,85,100,115,28,45,62,79,96,113,130,147,31,50,69,88,107,126,145,164,183,34,55,76,97,118,139,160,181,202,223,37,60,83,106,129,152,175,198,221,244,267... |
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0xc0800000bf800000", "0xc2800000c1800000"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x3f80000040000000 ; 1.0, 2.0
mov [rdx + 8 * 0], rax
mov rax, 0x4080000041000000 ; 4.0, 8.0
mov [rdx + 8 * 1], rax
mov rax, 0x418000004... |
#include <EditorFrameworkPCH.h>
#include <Core/Graphics/Camera.h>
#include <EditorFramework/Assets/AssetDocument.h>
#include <EditorFramework/DocumentWindow/EngineDocumentWindow.moc.h>
#include <EditorFramework/DocumentWindow/EngineViewWidget.moc.h>
#include <EditorFramework/Gizmos/SphereGizmo.h>
#include <Foundation/... |
include emu8086.inc
ORG 100h
MOV row, 0
GOTOXY 0, row
PRINT 'Digite um numero inteiro entre 00 e 99: '
start:
ADD row, 1
MOV AH, 01
INT 21h
MOV BH, AL
INT 21h
MOV BL, AL
CMP BH, 30h
JB iffails
JMP ifok
iffails:
GOTOXY 0, row
PRINT 'O valor digitado eh invalido, digite novamente: ... |
;
;
; Nim's Runtime Library
; (c) Copyright 2015 Rokas Kupstys
;
; See the file "copying.txt", included in this
; distribution, for details about the copyright.
;
format MS64 COFF
section ".text" executable align 16
public narch_getRegisters
public narch_setjmp
public narch_longjmp
public narc... |
; A089607: a(n)=((-1)^(n+1)*A002425(n)) modulo 4.
; 1,3,1,3,3,1,1,3,3,3,1,1,3,1,1,3,3,3,1,3,3,1,1,1,3,3,1,1,3,1,1,3,3,3,1,3,3,1,1,3,3,3,1,1,3,1,1,1,3,3,1,3,3,1,1,1,3,3,1,1,3,1,1,3,3,3,1,3,3,1,1,3,3,3,1,1,3,1,1,3,3,3,1,3,3,1,1,1,3,3,1,1,3,1,1,1,3,3,1,3,3,1,1,3,3
lpb $0
add $0,1
mov $1,$0
add $1,1
div $1,2
gcd... |
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; DEC16r
mov dx, 0x30
;TEST_BEGIN_RECORDING
dec dx
;TEST_END_RECORDING
|
; A266811: Total number of ON (black) cells after n iterations of the "Rule 62" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by Christian Krause
; 1,4,7,13,18,26,35,45,55,69,82,97,113,131,149,170,190,213,237,262,287,316,344,374,405,438,471,507,542,580,619,659,699,743,786,831,877,925... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x67ff, %rcx
clflush (%rcx)
nop
nop
sub %r12, %r12
movb (%rcx), %al
nop
nop
xor %rax, %rax
lea addresses_WT_ht+0x16867, %rsi
lea addresses_A_ht+0xd027, %rdi
nop
nop
nop
nop
add... |
/*
+----------------------------------------------------------------------+
| Swoole |
+----------------------------------------------------------------------+
| This source file is subject to version 2.0 of the Apache license, |
| that is bundl... |
ldl $1
xor r1,r1,r1
nop r0,r0,r0
add r7,r0,r0
nop r0,r0,r0
add r7,r0,r0
nop r0,r0,r0
add r7,r0,r0
nop r0,r0,r0
add r7,r0,r0
nop r0,r0,r0
ldl $100
lsr r1,r7,r0
push r0,r0,r0
hlt
|
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
// Arquivo threadpl_unit.cpp
// Criado em 02/12/2018 as 12:19 por Acrisio
// Implementação da classe threadpl_unit
#if defined(_WIN32)
#pragma pack(1)
#endif
#if defined(_WIN32)
#include <WinSock2.h>
#elif defined(__linux__)
#include "../UTIL/WinPort.h"
#endif
#include "threadpl_unit.hpp"
#include "../UTIL/message_p... |
SECTION code_fp_math48
PUBLIC _tan
EXTERN cm48_sdccix_tan
defc _tan = cm48_sdccix_tan
|
; A053477: Sum of iterates of divisor number function A000005.
; 1,2,5,9,7,15,9,17,14,19,13,27,15,23,24,23,19,33,21,35,30,31,25,41,30,35,36,43,31,47,33,47,42,43,44,50,39,47,48,57,43,59,45,59,60,55,49,67,54,65,60,67,55,71,64,73,66,67,61,87,63,71,78,73,74,83,69,83,78,87,73,99,75,83,90,91,86,95,81,99,88,91,85,111,94,95,96... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: Clavin
MODULE: Outbox
FILE: outboxUtils.asm
AUTHOR: Adam de Boor, May 3, 1994
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name D... |
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 int [-10]
.const 3 int [1]
.const 4 string [io.writeln]
.const 5 int [-20]
.end
.entity start
.valid_context_when (always)
.method constructor
ldconst 2 --> [-10]
ldconst 3 ... |
// Try and create two Data blocks that overlap each other
define MEMORY_MAP = HIROM
define ROM_SIZE = 1
include "../../../src/common/memory.inc"
createDataBlock(rom0, 0xc00000, 0xc000ff)
createDataBlock(rom1, 0xc00100, 0xc001ff)
createDataBlock(rom2, 0xc00100, 0xc0017f) // ERROR
createDataBlock(rom3, 0xc10000, ... |
#include "../GraphicsHost/GuiGraphicsHost.h"
namespace vl
{
namespace presentation
{
namespace compositions
{
using namespace collections;
using namespace controls;
using namespace elements;
/***********************************************************************
GuiWindowComposition
******************... |
; A314969: Coordination sequence Gal.4.78.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Jamie Morken(s2)
; 1,5,9,14,20,26,31,35,40,45,49,54,60,66,71,75,80,85,89,94,100,106,111,115,120,125,129,134,140,146,151,155,160,... |
noop # Test load pixel instruction
# Write test values to register
addi $1 $0 1 # $1 = 1
addi $2 $0 2 # $2 = 2;
addi $3 $0 3 # $3 = 3;
addi $5 $0 0 # i = 0
addi $6 $0 32 # lim = 32
printValues:
lp $4 0($5) # pixel = pmem(i)
noop
noop
noop
beq $4 $0 3 # continue if $4 ... |
VictoryRoad2Object:
db $7d ; border block
db $7 ; warps
db $8, $0, $2, VICTORY_ROAD_1
db $7, $1d, $3, $ff
db $8, $1d, $3, $ff
db $7, $17, $0, VICTORY_ROAD_3
db $e, $19, $2, VICTORY_ROAD_3
db $7, $1b, $1, VICTORY_ROAD_3
db $1, $1, $3, VICTORY_ROAD_3
db $0 ; signs
db $d ; objects
object SPRITE_HIKER, $c, $... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.