text stringlengths 1 1.05M |
|---|
;
; USER2.ASM
; More Win16 USER thunks
;
; History:
;
; Created 25-Jan-1991 by Jeff Parsons (jeffpar)
; Added Win 31 thunks 22nd-March-1992 by Chandan S. Chauhan (ChandanC)
; Split off from USER.ASM 9-Jun-92 by BobDay
;
;--
TITLE USER2.ASM
PAGE ,132
.286p
.xlist
... |
;
; Game device library for the Pasopia7
;
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
EXTERN get_psg
.joystick
._joystick
;__FASTCALL__ : joystick no. in HL
ld bc,0x1a
dec l
jr z,got_port
ld bc,0x19
dec l
jr z,got_port
ld hl,0
ret
got_port:
ld a,1 ;Select the joystick
out ($1b),a
... |
//===-- SBAddress.cpp -------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2015, 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 distr... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\xinclude.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _xmlMalloc:DWORD
CO... |
; A111034: Sum of squares of digits of e.
; 4,53,54,118,122,186,187,251,255,319,335,360,441,441,457,482,486,495,520,529,565,565,569,633,682,698,747,748,757,782,786,822,858,862,878,959,1008,1057,1082,1131,1135,1151,1200,1200
lpb $0
mov $2,$0
sub $0,1
seq $2,248558 ; Squares of the digits of the decimal expansion ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x17be3, %r11
nop
nop
nop
and $5421, %rbp
mov (%r11), %eax
nop
nop
nop
nop
sub %r13, %r13
lea addresses_A_ht+0x13217, %rbx
nop
nop
xor %rdi, %rdi
mov $0x6162636465666768, %rax
... |
; A019618: Expansion of 1/((1-4*x)*(1-7*x)*(1-10*x)).
; Submitted by Jon Maiga
; 1,21,303,3745,42711,464961,4918663,51086385,524227671,5336085601,54018566823,544793838225,5480212349431,55028108373441,551863246323783,5529708675105265,55374624529091991,554289026917064481,5546689809273133543,55493495148326663505,555121131... |
// Copyright 2020 The Chromium OS 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 <string>
#include <base/files/file_util.h>
#include "vm_tools/common/pstore.h"
#include "vm_tools/concierge/arc_vm.h"
#include "vm_tools/con... |
; Groups are defined in data/trainers/parties.asm.
TrainerGroups:
; entries correspond to trainer classes (see constants/trainer_constants.asm)
dba FalknerGroup
dba WhitneyGroup
dba BugsyGroup
dba MortyGroup
dba PryceGroup
dba JasmineGroup
dba ChuckGroup
dba ClairGroup
dba Rival1Group
dba PokemonProfGroup
d... |
/** private imeplementation.
* https://github.com/azadkuh/qhttp
*
* @author amir zamani
* @version 2.0.0
* @date 2014-07-11
*/
#ifndef QHTTPSERVER_PRIVATE_HPP
#define QHTTPSERVER_PRIVATE_HPP
///////////////////////////////////////////////////////////////////////////////
#include "qhttpserver.hpp"
#include "qht... |
.thumb
@ORG 0x8D2D8
.equ returnPoint, 0x808D2F3
.equ String_GetFromIndex, 0x800A241
mov r0, #0x0 @short chapter objective
ldr r3, =GetChapterObjective @and this gives us the textid in r0
bl BXR3
ldr r3, =String_GetFromIndex
bl BXR3
mov r5,r0
ldr r0, =returnPoint
bx r0
BXR3:
bx r3
|
/***************************************************/
/*! \class SineWave
\brief STK sinusoid oscillator class.
This class computes and saves a static sine "table" that can be
shared by multiple instances. It has an interface similar to the
WaveLoop class but inherits from the Generator class. Output... |
SECTION code_clib
SECTION code_sound_bit
PUBLIC _bitfx_9
INCLUDE "config_private.inc"
_bitfx_9:
; Dual note with fuzzy added
ld b,100
ss_loop:
dec h
jr nz, ss_jump
push hl
push af
ld a,__SOUND_BIT_TOGGLE
ld h,0
and (hl)
ld l,a
pop af
xor l
INCLUDE "sound... |
; void ba_priority_queue_clear_fastcall(ba_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_ba_priority_queue
PUBLIC _ba_priority_queue_clear_fastcall
EXTERN asm_ba_priority_queue_clear
defc _ba_priority_queue_clear_fastcall = asm_ba_priority_queue_clear
|
/** @file
A brief file description
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you und... |
extern early_serial_base
extern boot_params
extern lines,cols,vidport
extern vidmem
extern memmove
extern __putstr
global __puthex
__puthex:; Function begin
push r12 ; 2C90 _ 41: 54
push rbp ; 2C92 _ 55
mov eax, ... |
;
; ZX Spectrum specific routines
;
; int zx_betadisk();
;
; The result is:
; - 0 (false) if the Beta 128 Disk Interface is missing
; - 1 (true) if the Beta 128 Disk Interface is connected
;
; It has the side effect of enabling the TRDOS System variables
;
;
; $Id: zx_betadisk.asm,v 1.2 2015/01/19 01:33:07 pauloscustod... |
//----------------------------------*-C++-*----------------------------------//
// Copyright 2020 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... |
; A117441: Periodic with repeating part {1,1,0,1,-1,0,-1,-1,0,-1,1,0}.
; 1,1,0,1,-1,0,-1,-1,0,-1,1,0,1,1,0,1,-1,0,-1,-1,0,-1,1,0,1,1,0,1,-1,0,-1,-1,0,-1,1,0,1,1,0,1,-1,0,-1,-1,0,-1,1,0,1,1,0,1,-1,0,-1,-1,0,-1,1,0,1,1,0,1,-1,0,-1,-1,0,-1,1,0,1,1,0,1,-1,0
mul $0,9
add $0,9
bin $0,2
mov $1,$0
div $0,9
mul $0,4
sub $0,$1
... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/base/user_demographics.h"
#include <utility>
#include "base/logging.h"
namespace syncer {
// static
UserDemographicsResult U... |
#include <bits/stdc++.h>
using namespace std;
using ll=long long;
ll cnt[9];
const ll D = 10;
ll dfs(ll w, ll i) {
if (i == 0) return w;
ll r = min(cnt[i], w/i);
ll l = max(0ll, r-D);
ll delta = w;
for (ll k = l; k <= r; k++) {
delta = min(delta, dfs(w - k*i, i-1));
//cerr<<delta<<... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="dev, ubuf"/>
<%docstring>
Invokes the syscall ustat. See 'man 2 ustat' for more information.
Arguments:
dev(dev_t): dev
ubuf(ustat): ubuf
</%docstring>
${syscall('SYS_ustat', dev, ubuf)}
|
db "STARSHAPE@" ; species name
db "If the impact site"
next "of a meteorite is"
next "found, this"
page "#MON is certain"
next "to be within the"
next "immediate area.@"
|
; void *b_array_data_fastcall(b_array_t *a)
SECTION code_adt_b_array
PUBLIC _b_array_data_fastcall
defc _b_array_data_fastcall = asm_b_array_data
INCLUDE "adt/b_array/z80/asm_b_array_data.asm"
|
; IO Priority Setting V2.00 1986 Tony Tebby
section sms
xdef sms_iopr
xref sms_rtok
include 'dev8_keys_sys'
;+++
; IO Priority Setting OS entry
;---
sms_iopr
move.w d2,sys_iopr(a6) ; set priority
jmp sms_rtok ; always return OK
end
|
org 0x7E00
xor ax, ax
mov ds, ax
jmp begin
color_aux: db 1
game_active: dw 0
game_lifes: dw 3
game_score: dw 0
plat_posx: dw 130
plat_posy: dw 190
ball_posx: dw 153
ball_posy: dw 180
ball_orienx: dw 0
ball_orieny: dw 1
display_bcd: times 35 dw 0
welcome_message: db "breakout"
gover_message: db "game ... |
/* mockturtle: C++ logic network library
* Copyright (C) 2018-2020 EPFL
*
* 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... |
;******************************************************************************
;* x86 optimizations for PNG decoding
;*
;* Copyright (c) 2008 Loren Merritt <lorenm@u.washington.edu>
;* Copyright (c) 2012 Ronald S. Bultje <rsbultje@gmail.com>
;*
;* This file is part of Libav.
;*
;* Libav is free software; you can redis... |
#ifndef BUS_STOP_SER_HPP
#define BUS_STOP_SER_HPP
#include "bus_stop.hpp"
#include "gps_ser.hpp"
namespace boost {
namespace serialization {
template<class Archive>
void serialize(Archive & ar, bus_stop & obj, const unsigned int version) {
ar & obj.latitude;
ar & obj.longitude;
}
tem... |
; A130770: One third of the least common multiple of 3 and n^2+n+1.
; 1,1,7,13,7,31,43,19,73,91,37,133,157,61,211,241,91,307,343,127,421,463,169,553,601,217,703,757,271,871,931,331,1057,1123,397,1261,1333,469,1483,1561,547,1723,1807,631,1981,2071,721,2257,2353,817,2551,2653,919,2863,2971,1027,3193,3307,1141,3541,3661,1... |
; A079675: a(1)=1; a(n)=sum(u=1,n-1,sum(v=1,u,sum(w=1,v,sum(x=1, w,sum(y=1,x,a(y)))))).
; 1,1,6,26,106,431,1757,7168,29244,119305,486716,1985603,8100456,33046585,134816705,549997641,2243767969,9153665985,37343255690,152345382480,621507555626,2535499503900,10343812679475,42198572937400,172153113473000,702315088294876,28... |
inicio:
mov ah, 9
lea dx, texto1
int 21h
mov ah, 1
int 21h
cmp al, '0'
jl nao_numero ;menor jl
cmp al, '9'
jg nao_numero ;maior jg
numero:
mov ah, 9
lea dx, texto2
int 21h
jmp inicio
nao_numero:
mov ah, 9
lea dx, texto3
int 21h
jmp inicio
ret
texto1 db 0ah, 0dh, 'Carregue numa tecla: $'
texto2 db ' Nume... |
;********************************************************************************
; DOES IT WORK? YES
; FILENAME: METROKNOME
; VERSION: 1.0
; DATE: 19OCT2016
; FILE SAVED AS: 16F648A_MetroKnomeV1.asm
; MICROCONTROLLER: PIC16F648A
; CLOCK FREQUENCY: 48kHz using the on-board oscillator for battery life
;********... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: UserInterface/Text
FILE: textManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
John 12-Jun-89 Initial version
DESCR... |
# ORG 8000
MVI A,67
MVI B,56
SUB B
SUI 34
HLT
|
; A083426: (4*7^n+2^n)/5.
; 1,6,40,276,1924,13452,94132,658860,4611892,32282988,225980404,1581861804,11073030580,77511209964,542578461556,3798049214508,26586344468788,186104411215980,1302730878380788,9119116148403372
mov $1,2
mov $2,$0
mov $3,4
lpb $2
add $1,$3
mul $1,2
sub $2,1
mul $3,7
lpe
sub $1,2
div $1,2
... |
; A053796: n^2+n modulo 5.
; 0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0
mov $1,$0
mul $1,$0
add $1,$0
mod $1,5
|
//
// OnScreenController.cpp
// mayo
//
// Created by jiehong jiang on 7/9/17.
//
//
#include "OnScreenControllerLayer.hpp"
OnScreenControllerLayer* OnScreenControllerLayer::create(const Size& screenSize){
OnScreenControllerLayer *pRet = new(std::nothrow) OnScreenControllerLayer(screenSize);
if (pRet && pR... |
;; @file
; Interrupt Redirection Template
;
; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;;
DEFAULT REL
SECTION .text
;----------------------------------------------------------------------------
; Procedure: InterruptRed... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x6b5b, %r15
nop
nop
nop
nop
and %r13, %r13
mov $0x6162636465666768, %rcx
movq %rcx, %xmm5
movups %xmm5, (%r15)
nop
nop
nop
nop
dec %r11
lea addresses_normal_ht+0x1920b, %r... |
; void *b_vector_size(b_vector_t *v)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC _b_vector_size
EXTERN _b_array_size
defc _b_vector_size = _b_array_size
|
; Original address was $B962
; 7-6
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKLOW
.byte LEVEL4_BGBANK_INDEX(0) | LEVEL4_INITACT_NOTHING
... |
SECTION code_fp_math48
PUBLIC mm48__comser
EXTERN mm48_equal, mm48_fpmul, mm48__calcs
mm48__comser:
; enter : a = loop count
; AC' = X
;
; exit : AC' = result
; AC = X
;
; uses : af, bc, de, hl, af', bc', de', hl'
;COMSER udregner en potensraekke af formen:
;T=X*((((X^2+K1)*X^2+K2)....)*X^2+K... |
; Copyright 2005-2012 Intel Corporation. All Rights Reserved.
;
; This file is part of Threading Building Blocks.
;
; Threading Building Blocks is free software; you can redistribute it
; and/or modify it under the terms of the GNU General Public License
; version 2 as published by the Free Software Foundation.
;
; Th... |
extern scanf
extern printf
section .data
format db "%d",0
napis1 db "Podaj ilosc wyrazow ciagu: ",0
napis2 db "Podaj liczbe: ",0
napis3 db "Parzyste liczby sposrod wprowadzonych, to:",0
licznik dd 0
temp dd 0
tab TIMES 500 dd 0
format2 db " %d,",0
endl db 10,0
section .text
global main
main:
xor rax, rax
... |
/* Copyright © 2017-2020 ABBYY Production 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 in writing,... |
; A276647: Number of squares after the n-th generation in a symmetric (with 45 degree angles) non-overlapping Pythagoras tree.
; 1,3,7,15,31,59,107,183,303,483,755,1151,1735,2571,3787,5511,7999,11507,16547,23631,33783,48027,68411,96983,137839,195075,276883,391455,555175,784427,1111979,1570599,2225823,3143187,4453763,62... |
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
if(argc != 3){
7: 83 39 03 cmpl $0x3,(%ecx)... |
;
; Copyright (C) 2007-2012 Intel Corporation.
; SPDX-License-Identifier: MIT
;
PUBLIC GetEspBeforeCalled
.code
GetEspBeforeCalled PROC
mov rax, rsp
add rax, 8
ret
GetEspBeforeCalled ENDP
end |
test START 5000
WORD f'123.123'
a ADD @test
b EQU *
ORG 5022
LDA #15
k SUBR X, L
ORG 0xffff0
c RESB 16
d EQU *
USE
LDCH =c'a'
USE foo
USE ... |
DrawKrisPackGFX:
ld hl, PackFGFXPointers
add hl, de
add hl, de
ld a, [hli]
ld e, a
ld d, [hl]
ld hl, vTiles2 tile $50
lb bc, BANK(PackFGFX), 15
call Request2bpp
ret
PackFGFXPointers:
dw PackFGFX + (15 tiles) * 1 ; ITEM_POCKET
dw PackFGFX + (15 tiles) * 3 ; BALL_POCKET
dw PackFGFX + (15 tiles) * 0 ; KEY_IT... |
title system.cpp
.386
.387
includelib CPPOM30.LIB
includelib OS2386.LIB
CODE32 segment dword use32 public 'CODE'
CODE32 ends
DATA32 segment dword use32 public 'DATA'
DATA32 ends
CONST32_RO segment dword use32 public 'CONST'
CONST32_RO ends
BSS32 segment dword use32 public 'BSS'
BSS32 ends
EH_CODE segment dword use... |
//
//
// Copyright (C) 2018 Greg Landrum and T5 Informatics GmbH
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#include "catch.hpp"
#i... |
// Boost.Geometry
// Copyright (c) 2018, Oracle and/or its affiliates.
// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
// Licensed under the Boost Software License version 1.0.
// http://www.boost.org/users/license.html
#ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_LINE_INTERPOLATE_HPP
#... |
_test2: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 ... |
/*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Write denoise history to mem... |
;
; Copyright (c) 2010 The VP8 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 projec... |
; A321090: Sequence {a(n), n>=0} satisfying the continued fraction relation: if z = [a(0) + 1; a(1) + 1, a(2) + 1, a(3) + 1, ..., a(n) + 1, ...], then 3*z = [a(0) + 9; a(1) + 11, a(2) + 11, a(3) + 11, ..., a(n) + 11, ...].
; 2,0,1,2,1,0,2,1,0,2,0,1,2,0,1,2,1,0,2,0,1,2,0,1,2,1,0,2,0,1,2,1,0,2,1,0,2,0,1,2,1,0,2,1,0,2,0,1... |
;
; Old School Computer Architecture - interfacing FLOS
; Stefano Bodrato, 2011
;
; Get pointer to device info table
;
; $Id: get_device_info.asm,v 1.1 2011/08/03 08:13:40 stefano Exp $
;
INCLUDE "flos.def"
XLIB get_device_info
get_device_info:
jp kjt_get_device_info
|
// This file is part of the QuantumGate project. For copyright and
// licensing information refer to the license file(s) in the project root.
#include "pch.h"
#include "UDPConnectionKeys.h"
#include "..\..\..\QuantumGateCryptoLib\QuantumGateCryptoLib.h"
namespace QuantumGate::Implementation::Core::UDP
{
void Symmetr... |
; pasmo -I ../binary16 -d test_fbld.asm 24576.bin > test.asm ; grep "BREAKPOINT" test.asm
; randomize usr 57344
INCLUDE "finit.asm"
color_flow_warning EQU 1
carry_flow_warning EQU 1
DATA_ADR EQU $6000 ; 24576
TEXT_ADR EQU $E000 ; 57344
ORG ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x107ad, %r15
nop
nop
add $15209, %r8
movb $0x61, (%r15)
nop
and $19848, %r8
lea addresses_normal_ht+0x11bd5, %rdx
nop
nop
nop
sub %r8, %r8
movups (%rdx), %xmm6
vpextrq $0,... |
// Copyright (c) 2015 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/win/process_startup_helper.h"
#include <crtdbg.h>
#include <new.h>
#include "base/base_switches.h"
#include "base/command_line.h"
na... |
;***************************************************************************************************
;*
;* Place : CVUT FEL, Katedra Mereni
;* Lecturer : Doc. Ing. Jan Fischer,CSc.
;* Subject : A4M38AVS, A4B38NVS
;* Development kit : STM32L100 DISCOVERY (STM32L100RC)
;* Authors : M... |
; A313720: Coordination sequence Gal.6.153.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,15,20,24,29,34,38,43,48,53,58,63,68,73,78,82,87,92,96,101,106,111,116,121,126,131,136,140,145,150,154,159,164,169,174,179,184,189,194... |
; A160742: a(n) = A151566(n)*2.
; 0,2,4,8,12,16,20,28,36,40,44,52,60,68,76,92,108,112,116,124,132,140,148,164,180,188,196,212,228,244,260,292,324,328,332,340,348,356,364,380,396,404,412,428,444,460,476,508,540,548,556,572,588,604,620,652,684
mov $20,$0
mov $22,$0
lpb $22,1
mov $0,$20
sub $22,1
sub $0,$22
mov $... |
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "Profile.hpp"
namespace audio
{
class ProfileRoutingLoudspeaker : public Profile
{
static constexpr uint32_t sampleRate = 16000;
public:
... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
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 w... |
; A309685: Number of even parts appearing among the smallest parts of the partitions of n into 3 parts.
; 0,0,0,0,0,0,1,1,2,2,3,3,5,5,7,7,9,9,12,12,15,15,18,18,22,22,26,26,30,30,35,35,40,40,45,45,51,51,57,57,63,63,70,70,77,77,84,84,92,92,100,100,108,108,117,117,126,126,135,135,145,145,155,155,165
div $0,2
bin $0,2
div... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global sha256_multi_block
ALIGN 32
sha256_multi_block:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_sha256_multi_block:
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
... |
; Sound engine constants and stuff
INCLUDE "./inc/hardware_constants.inc"
INCLUDE "./inc/sound/wram.asm"
; The rst vectors are unused.
SECTION "rst 00", ROM0 [$00]
reti
SECTION "rst 08", ROM0 [$08]
reti
SECTION "rst 10", ROM0 [$10]
reti
SECTION "rst 18", ROM0 [$18]
reti
SECTION "rst 20", ROM0 [$20]
reti
SECTION "... |
global excPF:function
extern puts
extern hexprintln
extern hexprintln64
extern cprint
extern panic
extern printk
extern puts
extern sysExit
extern mmGetEntry
extern allocPhysPage
extern allocCleanPhysPage
extern allocLargePhysPage
extern allocLargeCleanPhysPage
extern mmDoCOW
extern mmGetPageEntry
%define endl 10, ... |
copyright zengfr site:http://github.com/zengfr/romhack
0032F6 tst.b ($2e,A6) [1p+7E, boss+7E, container+7E, enemy+7E, weapon+7E]
00A2C6 dbra D0, $a2c0
copyright zengfr site:http://github.com/zengfr/romhack
|
#include "../log.h"
#include <thread>
int main(int argc, char **argv)
{
printf("With LogManager mode \n");
int count = 0;
char *buf = (char *)malloc(128);
if (buf == NULL) return 1;
for (;;)
{
count++;
sprintf(buf, "this is test round %d", count);
logutil::GetLogger("test")->Print(buf);
logutil::LogNam... |
Map_3616C0: dc.w Frame_3616CA-Map_3616C0
dc.w Frame_3616F0-Map_3616C0
dc.w Frame_361716-Map_3616C0
dc.w Frame_361748-Map_3616C0
dc.w Frame_36176E-Map_3616C0
Frame_3616CA: dc.w 6
dc.b $EA, 6, 0, 7,$FF,$F0
dc.b $EA, 6, 8, 7, 0, 0
dc.b 8, 0, 0, 0,$FF,$E8
dc.b 0, 6, 0, 1,$FF,$F0
dc.b 0... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="sig, handler"/>
<%docstring>
Invokes the syscall signal. See 'man 2 signal' for more information.
Arguments:
sig(int): sig
handler(sighandler_t): handler
</%docstring>
${syscall('SYS_signal', sig, handler)}
|
; A188168: a(0) = a(1) = 1; a(n) = 5*a(n-1) + 5*a(n-2).
; Submitted by Christian Krause
; 1,1,10,55,325,1900,11125,65125,381250,2231875,13065625,76487500,447765625,2621265625,15345156250,89832109375,525886328125,3078592187500,18022392578125,105504923828125,617636582031250,3615707529296875,21166720556640625
lpb $0
su... |
#pragma once
#include "types.hpp"
#include <memory>
#include <string>
#include <unordered_set>
#include <vector>
// Forward declaration
struct ZSTD_CCtx_s;
namespace mcap {
/**
* @brief Configuration options for McapWriter.
*/
struct McapWriterOptions {
/**
* @brief Disable CRC calculations for Chunks, Attac... |
// Copyright 2014 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 has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8LayerRect.h"
#include "bindings/core/v8/V8C... |
ORG $80 ; where we want our zero-page vars
EXO_buffer_len = 1024 ; this must match the parameter -m
EXO_buffer_start = $7000
EXO_table = $7b00 ; 156-byte table
INCLUDE "lib/exomiser.h.asm"
ORG &1900
.start
INCLUDE "lib/exomiser.asm"
INCLUDE "lib/vgmplayer.asm"
INCLUDE "lib/irq.asm"
LOOP = TRUE
.event_handler
{
ph... |
db 0 ; species ID placeholder
db 55, 40, 85, 40, 80, 105
; hp atk def spd sat sdf
db NORMAL, FLYING ; type
db 75 ; catch rate
db 114 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 10 ; step cycles to hatch
INCBIN "gfx/pokemon/togetic/front.dimensions"
db GROWTH_FAST ; ... |
; A091915: Maximum of even products of partitions of n.
; Submitted by Christian Krause
; 0,2,2,4,6,8,12,18,24,36,54,72,108,162,216,324,486,648,972,1458,1944,2916,4374,5832,8748,13122,17496,26244,39366,52488,78732,118098,157464,236196,354294,472392,708588,1062882,1417176,2125764,3188646,4251528
add $0,2
seq $0,792 ; a... |
TITLE BubbleSort Procedure (BSort.asm)
; Sort an array of signed integers, using the Bubble
; sort algorithm. The main program is in B_main.asm.
; Last update: 9/10/01
INCLUDE Irvine32.inc
.code
;----------------------------------------------------------
BubbleSort PROC USES eax ecx esi,
... |
;****************************************
;* *
;* diagonal lines *
;* *
;****************************************
; 10 SYS (49152)
*=$0801
BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $31, $35, ... |
/* Copyright (c) 2012-2017, ARM Limited and Contributors
*
* SPDX-License-Identifier: MIT
*
* 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 limita... |
; A288429: a(n) = 2*a(n-1) - a(n-2) + a(n-3) - a(n-4), where a(0) = 2, a(1) = 4, a(2) = 5, a(3) = 6.
; 2,4,5,6,9,13,18,26,38,55,80,117,171,250,366,536,785,1150,1685,2469,3618,5302,7770,11387,16688,24457,35843,52530,76986,112828,165357,242342,355169,520525,762866,1118034,1638558,2401423,3519456,5158013,7559435,11078890,... |
/*
* Copyright (C) 2000 Lars Knoll (knoll@kde.org)
* Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
* All right reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library... |
; A144328: A002260 preceded by a column of 1's: a (1, 1, 2, 3, 4, 5,...) crescendo triangle by rows.
; 1,1,1,1,1,2,1,1,2,3,1,1,2,3,4,1,1,2,3,4,5,1,1,2,3,4,5,6,1,1,2,3,4,5,6,7,1,1,2,3,4,5,6,7,8,1,1,2,3,4,5,6,7,8,9,1,1,2,3,4,5,6,7,8,9,10,1,1,2,3,4,5,6,7,8,9,10,11,1,1,2,3,4,5,6,7,8,9,10,11,12,1,1,2,3,4,5,6,7,8
lpb $0
t... |
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include <catch2/catch.hpp>
#include "classes.hpp"
TEST_CASE("intrusive_ptr") {
SECTION("make_counted") {
auto p = make_counted<class0>();
REQUIRE(class0_instances == 1);
REQUIRE(p->unique() ==... |
; A294566: a(n) is the smallest positive integer of length (distance from origin) n in the Cayley graph of the integers generated by all powers of 5.
; 1,2,3,8,13,38,63,188,313,938,1563,4688,7813,23438,39063,117188,195313,585938,976563,2929688,4882813,14648438,24414063,73242188,122070313,366210938,610351563,1831054688,... |
; input radius
; radius * radius = reg
; reg * 3.1415 = fläche
in $64 ; = radius
ld $64
mul $64
st $65 ; = reg
ld $65
mul 3 ; (3.1415)
st $66 ; fläche
out $66
end
|
; A021923: Decimal expansion of 1/919.
; Submitted by Christian Krause
; 0,0,1,0,8,8,1,3,9,2,8,1,8,2,8,0,7,3,9,9,3,4,7,1,1,6,4,3,0,9,0,3,1,5,5,6,0,3,9,1,7,3,0,1,4,1,4,5,8,1,0,6,6,3,7,6,4,9,6,1,9,1,5,1,2,5,1,3,6,0,1,7,4,1,0,2,2,8,5,0,9,2,4,9,1,8,3,8,9,5,5,3,8,6,2,8,9,4,4
add $0,1
mov $1,10
pow $1,$0
div $1,919
mod $1,1... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
; A117590: a(n) = ceiling(x(n)), where x(n) = 3*x(n-1)/2 and x(1) = 1.
; 2,3,5,7,11,16,23,35,52,77,116,173,260,390,584,876,1314,1971,2956,4434,6651,9976,14964,22446,33669,50503,75754,113631,170446,255669,383503,575254,862880,1294320,1941480,2912220,4368329,6552494,9828740,14743110
lpb $0
mov $2,$0
sub $0,1
seq $... |
; This file is a part of the IncludeOS unikernel - www.includeos.org
;
; Copyright 2015 Oslo and Akershus University College of Applied Sciences
; and Alfred Bratterud
;
; 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 ... |
;
; 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 www.aome... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x1",
"RBP": "0x41424344"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov esp, 0xe0000020
mov ebp, 0x41424344
; Act like an ENTER frame without using ENTER
push ebp
mov ebp, esp
call .target
jmp .end
.target:
mov eax, 1
leave
.end:
hlt
|
/**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2020 UniPro <ugene@unipro.ru>
* http://ugene.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
* ... |
; A007070: a(n) = 4*a(n-1) - 2*a(n-2) with a(0) = 1, a(1) = 4.
; 1,4,14,48,164,560,1912,6528,22288,76096,259808,887040,3028544,10340096,35303296,120532992,411525376,1405035520,4797091328,16378294272,55918994432,190919389184,651839567872,2225519493120,7598398836736,25942556360704,88573427769344,302408598355968,103248753... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.