text stringlengths 1 1.05M |
|---|
#include <Alembic/Util/All.h>
#include <Alembic/AbcCoreAbstract/All.h>
#include <Alembic/AbcCoreOgawa/All.h>
#ifdef SIMBA_ENABLE_ALEMBIC_HDF5
#include <Alembic/AbcCoreHDF5/All.h>
#endif // SIMBA_ENABLE_ALEMBIC_HDF5
#include <Alembic/Abc/All.h>
#include <Alembic/AbcCoreFactory/All.h>
#include <Alembic/AbcGeom/All.h>
#in... |
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by Alexander R. Pruss
; by Stefano Bodrato - Oct. 2003
;
; Serial libraries
; buffered serial input
;
; ------
; $Id: ozclearserialbuffer.asm,v 1.3 2016-06-27 21:25:36 dom Exp $
;
SECTION code_clib
PUBLIC ozclearserialbuffer
PUBLIC _ozclearseria... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1ad9b, %rbp
nop
nop
nop
dec %r14
movl $0x61626364, (%rbp)
nop
nop
cmp $65224, %r11
lea addresses_normal_ht+0x5d2e, %rsi
lea addresses_WC_ht+0x9b9b, %rdi
nop
nop
nop
inc %... |
//////////////////////////////////////////////////////////////////////////////
// nv_processor_status_macs.asm
// Copyright(c) 2021 Neal Smith.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// This assembler file contains macros and c... |
# ORG 8000
MVI B,52
MOV A,B
RAR
JC EXIT
MOV A,B
OUT 40
EXIT: HLT
|
; void *obstack_1grow_fast(struct obstack *ob, char c)
SECTION code_alloc_obstack
PUBLIC obstack_1grow_fast
EXTERN l0_obstack_1grow_fast_callee
obstack_1grow_fast:
pop af
pop de
pop hl
push hl
push de
push af
jp l0_obstack_1grow_fast_callee
|
// Copyright 2014 the V8 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.
#include "src/snapshot/snapshot-source-sink.h"
#include "src/base/logging.h"
#include "src/handles-inl.h"
#include "src/objects-inl.h"
namespace v8 {... |
// Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use,... |
#include <qt/test/addressbooktests.h>
#include <qt/test/util.h>
#include <test/test_erexcoin.h>
#include <interfaces/node.h>
#include <qt/addressbookpage.h>
#include <qt/addresstablemodel.h>
#include <qt/editaddressdialog.h>
#include <qt/callback.h>
#include <qt/optionsmodel.h>
#include <qt/platformstyle.h>
#include <... |
idle:
DB 0, 0, 0, 0, 0, 112, 119, 119, 0, 0, 0, 0
DB 0, 0, 0, 0, 0, 23, 17, 17, 7, 0, 0, 0
DB 0, 0, 0, 0, 112, 17, 17, 17, 113, 0, 0, 0
DB 0, 0, 0, 0, 23, 17, 30, 30, 113, 0, 0, 0
DB 0, 0, 0, 16, 17, 17, 238, 174, 17... |
# mp_limb_t mulredc1_10(mp_limb_t * z, const mp_limb_t x, const mp_limb_t * y,
# const mp_limb_t *m, mp_limb_t inv_m);
#
# Linux: z: %rdi, x: %rsi, y: %rdx, m: %rcx, inv_m: %r8
# Needs %rbx, %rsp, %rbp, %r12-%r15 restored
# Windows: z: %rcx, x: %rdx, y: %r8, m: %r9, inv_m: 28(%rsp)
# ... |
//=================================================================================================
/*!
// \file src/mtl/SMatDVecMult.cpp
// \brief Source file for the MTL sparse matrix/dense vector multiplication kernel
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of ... |
/*
* TLSConnection.actor.cpp
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ... |
Health:
Default:
01411f15da = F3:0F110F
01411f15de = F345:0F58D8
New Opcodes:
01411f15da = 90
01411f15db = 90
01411f15dc = 90
01411f15dd = 90
01411f15de = 90
01411f15df = 90
01411f15d0 = 90
01411f15d1 = 90
01411f15d2 = 90
___________________________________________... |
; A215414: Unix epoch timestamp for start of year, beginning with 1970.
; 0,31536000,63072000,94694400,126230400,157766400,189302400,220924800,252460800,283996800,315532800,347155200,378691200,410227200,441763200,473385600,504921600,536457600,567993600,599616000,631152000,662688000,694224000,725846400,757382400,7889184... |
/* ============================================================================
* Copyright (c) 2018 BlueQuartz Software, LLC
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistribut... |
// Copyright (C) 2018-2019 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vpu/frontend/frontend.hpp>
#include <memory>
#include <string>
#include <vpu/sw/post_op_stage.hpp>
namespace vpu {
void FrontEnd::parseBias(
const Model::Ptr& model,
const ie::CNNLayerPtr& layer,
... |
.byte 0x02,0x00,0x09,0x00
.word 0x08095838
.byte 0x09,0x00,0x0F,0x00
.byte 0x02,0x00,0x00,0x00
.byte 0x00,0x01,0x00,0x00
.byte 0x00,0x1E,0x00,0x03
.byte 0x09,0x00,0x00,0x00
.byte 0x02,0x00,0x00,0x00
.byte 0xCC,0x14,0x0A,0x00
.byte 0xA2,0x36,0x00,0x00
.byte 0x09,0x00,0x01,0x00
.byte 0x02,0x00,0x00,0x00
.byte 0x70,0x4B,0... |
; A092296: a(n) = 3*n + A090193(n).
; 1,5,6,11,12,16,18,22,26,29,30,34,36,40,44,46,50,51,54,58,62,64,68,69,74,75,79,83,84,88,90,94,98,100,104,105,108,112,116,118,122,123,128,129,133,136,140,141,146,147,151
mov $2,34
mov $4,$0
mov $5,$0
lpb $0
sub $0,1
add $2,$4
div $4,3
lpe
mov $0,1
mov $4,$2
mod $4,3
add $0,$4
... |
; A087213: Expansion of (1+x-4*x^2) / ((1+x)*(1-4*x^2)).
; Submitted by Jon Maiga
; 1,0,0,4,-4,20,-20,84,-84,340,-340,1364,-1364,5460,-5460,21844,-21844,87380,-87380,349524,-349524,1398100,-1398100,5592404,-5592404,22369620,-22369620,89478484,-89478484,357913940,-357913940,1431655764,-1431655764,5726623060,-5726623060,... |
; A177277: Partial sums of round(n^2/28).
; 0,0,0,0,1,2,3,5,7,10,14,18,23,29,36,44,53,63,75,88,102,118,135,154,175,197,221,247,275,305,337,371,408,447,488,532,578,627,679,733,790,850,913,979,1048,1120,1196,1275,1357,1443,1532,1625,1722,1822,1926,2034,2146,2262,2382,2506,2635,2768,2905,3047,3193,3344,3500,3660,3825,3995... |
;
; z88dk - Spectrum +3 stdio Library
;
; djm 10/4/2000
;
; int rename(char *source, char *dest)
;
; $Id: rename.asm,v 1.6 2017-01-02 21:02:22 aralbrec Exp $
SECTION code_clib
PUBLIC rename
PUBLIC _rename
EXTERN dodos
INCLUDE "target/zx/def/p3dos.def"
.rename
._rename
pop bc
pop de ;new filename... |
INCLUDE "constants.asm"
INCLUDE "macros/wram.asm"
INCLUDE "vram.asm"
SECTION "Stack", WRAM0
wStackBottom::
ds $100 - 1
wStack::
wStackTop::
ds 1
SECTION "Audio RAM", WRAM0
wMusic::
; nonzero if playing
wMusicPlaying:: db ; c100
wChannels::
wChannel1:: channel_struct wChannel1 ; c101
wChannel2:: channel_str... |
; This table translates key presses into ascii codes.
; Also used by 'GetKey' and 'LookupKey'. An effort has been made for
; this key translation table to emulate a PC keyboard with the 'CTRL' key
SECTION rodata_clib
PUBLIC in_keytranstbl
.in_keytranstbl
; 45 bytes per table
;Unshifted
defb 'r', 'e', 'w', 't', 'q... |
//#include <cstdio> //c¿é¤J¿é¥X
//#include <fstream>
//#include <sstream> //cmd
//#include <conio.h> //if(kbhit())
//#include <windows.h>
//#include <ctime> //time srand(time(NULL));
#include <algorithm> //sort(n,n+k) reverse
#include <iomanip> //¤p¼Æ fixed<<setprecision or setw
//#include <cstdlib> //system
//#in... |
; A160278: Angle in degrees between the two hands of a 12-hour analog clock at 12*n minutes after noon/midnight.
; 0,66,132,162,96,30,36,102,168,126,60,6,72,138,156,90,24,42,108,174,120,54,12,78,144,150,84,18,48,114,180,114,48,18,84,150,144,78,12,54,120,174,108,42,24,90,156,138,72,6,60,126,168,102,36,30,96,162,132,66
... |
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021 Vladimír Vondruš <mosra@centrum.cz>
Copyright © 2020, 2021 Erik Wijmans <etw@gatech.edu>
Copyright © 2021 Konstantinos Chatzilygeroudis <costashatz@gmail.com>
Permissi... |
;
;
; ZX Maths Routines
;
; 8/12/02 - Stefano Bodrato
;
; $Id: dgt.asm,v 1.5 2016-06-22 19:59:18 dom Exp $
;
IF FORzx
INCLUDE "zxfp.def"
ENDIF
IF FORzx81
INCLUDE "81fp.def"
ENDIF
IF FORlambda
INCLUDE "lambdafp.def"
ENDIF
SECTION code_fp
PUBLIC dgt
... |
#include "brick.h"
Brick::Brick(const Point &pos)
: GameObject("res/images/brick.png", pos)
{
scaledWidth = bitmap.getWidth() * SCALE;
scaledHeight = bitmap.getHeight() * SCALE;
box.resize(Point(scaledWidth, scaledHeight));
objectType = GameObject::Brick;
}
void Brick::update(ALLEGRO_EVENT event) ... |
Name: z00_int0.asm
Type: file
Size: 4873
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: AA2237A18729EBDEE3B54A463402F8C60A87E397
Description: null
|
; A217871: a(n)=b(n,1) where b(0,m)=m, b(n,m)=b(floor(n/4),m*2).
; 1,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,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,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16
mov $1,1
lpb $0,1
div $0,4
mul $1,2
lpe... |
Map_CB924: dc.w word_CB926-Map_CB924
word_CB926: dc.w $12
dc.b $C0, $F, 0, 0, $FF, $E0
dc.b $C0, $F, 8, 0, 0, 0
dc.b $C8, $A, 0, $10, $FF, $C8
dc.b $C8, $A, 8, $10, 0, $20
dc.b $E0, $F, 0, $19, $FF, $C0
dc.b $E0, $F, 8, $19, 0, $20
dc.b $E0, $F, 0, $29, $FF, $E0
... |
/*************************************************************************/
/* texture.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
; A281500: Reduced denominators of f(n) = (n+1)/(2^(2+n)-2) with A026741(n+1) as numerators.
; 2,3,14,15,62,63,254,255,1022,1023,4094,4095,16382,16383,65534,65535,262142,262143,1048574,1048575,4194302,4194303,16777214,16777215,67108862,67108863,268435454,268435455,1073741822,1073741823,4294967294,4294967295,17179869182... |
; A025974: Expansion of 1/((1-2x)(1-4x)(1-7x)(1-11x)).
; Submitted by Jon Maiga
; 1,24,383,5166,63993,756108,8690611,98243322,1099333565,12223792152,135381670359,1495646457318,16497281164417,181786417955556,2001865410394427,22036025351972754,242504828325007749
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1... |
;
; Generic trick to adapt a classic function to the CALLEE mode
;
; ----- void __CALLEE__ xordrawb(int x, int y, int x2, int y2)
;
;
; $Id: xordrawb_callee.asm $
;
SECTION smc_clib
PUBLIC xordrawb_callee
PUBLIC _xordrawb_callee
EXTERN xordrawb
.xordrawb_callee
._xordrawb_callee
ld hl,retaddr
ex (sp),hl
ld... |
; A151899: Period 6: repeat [0, 0, 1, 1, 1, 2].
; 0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1,1,1,2,0,0,1
mod $0,6
mov $1,1
add $1,$0
div $1,3
|
; void *zx_cxy2aaddr(uchar x, uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC zx_cxy2aaddr
EXTERN asm_zx_cxy2aaddr
zx_cxy2aaddr:
pop af
pop de
pop hl
push hl
push de
push af
ld h,e
jp asm_zx_cxy2aaddr
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _zx_cxy2aaddr
defc _zx_cxy2aad... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xb8dc, %rcx
nop
nop
sub %r12, %r12
mov (%rcx), %bx
nop
nop
nop
and $23548, %rdi
lea addresses_normal_ht+0x6dfc, %r10
nop
nop
nop
nop
nop
cmp %r12, %r12
movw $0x6162, (%r1... |
include "ddragon.inc"
include "ddragon_diag.inc"
include "error_codes.inc"
include "macros.inc"
global auto_ic12_dead_output_test
section text
; ic12 is a 74ls245 that sits between the cpu's data
; bus and everything except for the program roms.
; This test will see if that ic has dead output
; towards the c... |
; A158561: a(n)=((2^n)*((2^n)+1) - (2^(n-1))*((2^(n-1))+1))/2, a(1)=3.
; 3,7,26,100,392,1552,6176,24640,98432,393472,1573376,6292480,25167872,100667392,402661376,1610629120,6442483712,25769869312,103079346176,412317122560,1649267965952,6597070815232,26388281163776,105553120460800,422212473454592,1688849877041152,675539... |
; A155750: First differences of A031215.
; 4,6,6,10,8,6,10,8,10,8,10,12,6,6,18,8,12,12,10,8,12,6,24,6,10,12,12,8,10,12,18,6,20,12,10,14,10,14,12,12,12,10,14,6,16,12,12,18,20,16,12,8,16,8,12,6,22,6,12,14,10,18,18,14,10,14,12,18,22,12,6,12,18,6,18,6,24
mov $27,$0
mov $29,2
lpb $29
clr $0,27
mov $0,$27
sub $29,1
... |
; A307923: Number of (undirected) Hamiltonian cycles in the n-cocktail party graph.
; Submitted by Jamie Morken(w2)
; 0,1,16,744,56256,6385920,1018114560,217234805760,59809766768640,20651520261980160,8740913386202726400,4451168534087349043200,2685007039858238501683200,1893459488121880710532300800,1543515756205349079583... |
/*
* Copyright 2015-2017 Advanced Micro Devices, Inc.
*
* 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, modi... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="pid"/>
<%docstring>
Invokes the syscall sched_getscheduler. See 'man 2 sched_getscheduler' for more information.
Arguments:
pid(pid_t): pid
</%docstring>
${syscall('SYS_sched_getscheduler', pid)}
|
;*********************************************************************
;* Title: W5100SDRV05.asm
;*********************************************************************
;* Author: R. Allen Murphey, MarkO
;*
;* License: Contributed 2021 by R. Allen Murphey to CoCoIO Development
;*
;* Description: WIZnet W5100S driver cod... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %r9
push %rbx
push %rcx
// Store
lea addresses_PSE+0x176d9, %rcx
nop
add $50494, %r11
movw $0x5152, (%rcx)
nop
nop
nop
nop
nop
add %rbx, %rbx
// Faulty Load
lea addresses_UC+0x1128d, %r12
nop
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1045c, %rax
nop
nop
sub %rcx, %rcx
movb $0x61, (%rax)
nop
nop
nop
nop
add %r11, %r11
lea addresses_WT_ht+0xcb3c, %r10
nop
nop
nop
nop
inc %rcx
movw $0x6162, (%r10)
nop
and %r... |
; A238874: Strictly superdiagonal compositions: compositions (p1, p2, p3, ...) of n such that pi > i.
; 1,0,1,1,1,2,3,4,5,7,10,14,19,25,33,44,59,79,105,138,180,234,304,395,513,665,859,1105,1416,1809,2306,2935,3731,4737,6005,7598,9593,12085,15192,19061,23875,29861,37299,46532,57978,72145,89650,111243,137837,170545,21072... |
; A071353: First term of the continued fraction expansion of (3/2)^n.
; Submitted by Jon Maiga
; 2,4,2,16,1,2,11,1,2,1,2,1,1,1,1,1,3,1,1,3,1,1,1,8,5,1,7,1,25,16,1,1,1,1,1,2,1,1,1,3,2,1,1,1,3,1,1,2,7,4,3,2,4,1,3,1,3,1,1,1,2,10,1,2,4,1,4,2,1,3,2,14,9,6,1,11,1,1,2,1,1,2,6,1,12,1,1,2,1,2,19,12,8,1,89,59,1,3,1,2
add $0,1
m... |
; A170678: Number of reduced words of length n in Coxeter group on 45 generators S_i with relations (S_i)^2 = (S_i S_j)^49 = I.
; 1,45,1980,87120,3833280,168664320,7421230080,326534123520,14367501434880,632170063134720,27815482777927680,1223881242228817920,53850774658067988480,2369434084954991493120,1042550997380196256... |
#pragma once
#include "UIContainerElement.hpp"
#include "UIAdorner.hpp"
namespace ln {
class UIPopupAdorner;
enum class PlacementMode
{
Bottom,
Overray, // 中央に重ねる
};
// TODO: レイアウトは行わず、イベントルーティングだけ行うフラグとか用意してみる
class UIPopup
: public UIContainerElement
{
public:
void setPlacementTarget(UIElement* targ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... |
; A021939: Decimal expansion of 1/935.
; 0,0,1,0,6,9,5,1,8,7,1,6,5,7,7,5,4,0,1,0,6,9,5,1,8,7,1,6,5,7,7,5,4,0,1,0,6,9,5,1,8,7,1,6,5,7,7,5,4,0,1,0,6,9,5,1,8,7,1,6,5,7,7,5,4,0,1,0,6,9,5,1,8,7,1,6,5,7,7,5,4,0,1,0,6,9,5,1,8,7,1,6,5,7,7,5,4,0,1
add $0,1
mov $1,10
pow $1,$0
mul $1,4
div $1,3740
mod $1,10
mov $0,$1
|
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x2020202020202020", "0x2020202020202020"],
"XMM1": ["0x2020202020202020", "0x2020202020202020"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x6162636465666768
mov [rdx + 8 * 0], rax
mov rax, 0x7172737475767778
mov [rdx... |
; A171583: 10^n*(4+3*10^n)+3.
; 10,343,30403,3004003,300040003,30000400003,3000004000003,300000040000003,30000000400000003,3000000004000000003,300000000040000000003,30000000000400000000003
seq $0,199683 ; 3*10^n+1.
add $0,2
mov $1,-2
add $1,$0
mul $1,$0
mov $0,$1
div $0,3
add $0,2
|
/*
* Copyright (C) 2014 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/reshade#license
*/
#include "dll_log.hpp"
#include "dll_config.hpp"
#include "dll_resources.hpp"
#include "runtime_vk.hpp"
#include "runtime_objects.hpp"
#include "format_utils.hpp"
#include <imgui.h>
#include <imgui_i... |
; A086955: a(n) = n^2 + 2*n + 2 - (-1)^n.
; 1,6,9,18,25,38,49,66,81,102,121,146,169,198,225,258,289,326,361,402,441,486,529,578,625,678,729,786,841,902,961,1026,1089,1158,1225,1298,1369,1446,1521,1602,1681,1766,1849,1938,2025,2118,2209,2306,2401,2502,2601,2706,2809,2918,3025,3138,3249,3366,3481,3602,3721,3846,3969,4098... |
; A194074: Natural fractal sequence of A194073.
; 1,2,3,1,2,3,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
mov $1,$0
add $1,1
mov $0,$1
mov $2,5
lpb $0
mov $3,$1
mov $1,$0
... |
/*=========================================================================
Program: Visualization Toolkit
Module: ImageResizeCropping.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
T... |
; int __CALLEE__ isunordered(double x, double y)
SECTION code_fp_math48
PUBLIC cm48_sccz80_isunordered_callee
EXTERN am48_isunordered, cm48_sccz80p_dcallee2
cm48_sccz80_isunordered_callee:
call cm48_sccz80p_dcallee2
; AC'= y
; AC = x
jp am48_isunordered
|
; A095098: Fib001 numbers: those n for which the Zeckendorf expansion A014417(n) ends with two zeros and a final one.
; 6,9,14,19,22,27,30,35,40,43,48,53,56,61,64,69,74,77,82,85,90,95,98,103,108,111,116,119,124,129,132,137,142,145,150,153,158,163,166,171,174,179,184,187,192,197,200,205,208,213,218,221,226,229,234,239,2... |
#include "opusfile.hpp"
#include <stdexcept>
#include <iostream>
#include <limits>
#include "buffer.h"
#include "opusfile.h"
namespace alure
{
static int read(void *user_data, unsigned char *ptr, int size)
{
std::istream *stream = static_cast<std::istream*>(user_data);
stream->clear();
if(size < 0 ||... |
; "l2_draw_thick_box bc=rowcol, de=heightwidth h=color"
; TODO DMA Optimise
l2_draw_fill_box: push bc,,de,,hl
ld d,e
ld e,h
call l2_draw_horz_line ; "bc = left side row,col, d = length, e = color"
... |
; A069072: a(n) = (2n+1)*(2n+2)*(2n+3).
; 6,60,210,504,990,1716,2730,4080,5814,7980,10626,13800,17550,21924,26970,32736,39270,46620,54834,63960,74046,85140,97290,110544,124950,140556,157410,175560,195054,215940,238266,262080,287430,314364,342930
mul $0,2
mov $1,-4
bin $1,$0
mul $1,6
mov $0,$1
|
include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTMgrPacketHookNext, 5, Wintab, -, 205
|
///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... |
;================================================================================
; Dungeon & Boss Drop Fixes
;--------------------------------------------------------------------------------
DropSafeDungeon:
LDA $040C : CMP #$08 : BEQ +
LDA $01C6FC, X : JSL Sprite_SpawnFallingItem
+
RTL
;--------------------------... |
; A106665: Alternate paper-folding (or alternate dragon curve) sequence.
; 1,0,0,1,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,1,1,1,0,1,1,0,0,0,1,1,0,0,1,0,0,1,1,1,0,0,1,0,0,0,1,1,0,0,1,0,0,1,1,1,0,1,1,0,0,0,1,1,0,1,1,0,0,1,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,1,1,1,0,1,1,0,0,0,1,1,0,1,1,0,0,1
add $0,1
lpb $0
dif $0,2
add $1,2
lpe
mo... |
###############################################################################
# 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... |
#include "undef.h"
#define UNI_DISABLE_ASSERTS
#define UNI_ENABLE_DYNAMIC_ASSERT_HANDLER
#include <uniassert/uniassert.h>
#if defined(UNI_ASSERTS_ENABLED)
# error "UNI_ASSERTS_ENABLED is defined"
#endif
#if defined(UNI_SYSTEM_ASSERT)
# error "UNI_SYSTEM_ASSERT is defined"
#endif
#if defined(UNI_DYNAMIC_ASSERT_HANDLER... |
; A209722: 1/4 the number of (n+1) X 4 0..2 arrays with every 2 X 2 subblock having distinct clockwise edge differences.
; 4,5,6,8,10,14,18,26,34,50,66,98,130,194,258,386,514,770,1026,1538,2050,3074,4098,6146,8194,12290,16386,24578,32770,49154,65538,98306,131074,196610,262146,393218,524290,786434,1048578,1572866,209715... |
; A062981: a(n) = n^phi(n).
; Submitted by Jon Maiga
; 1,2,9,16,625,36,117649,4096,531441,10000,25937424601,20736,23298085122481,7529536,2562890625,4294967296,48661191875666868481,34012224,104127350297911241532841,25600000000,7355827511386641,26559922791424,907846434775996175406740561329,110075314176,909494701772928237... |
; double atan (double d);
; -----------------------
; This function returns the arc tangent of a real number.
; KNOWN BUGS !!!
; 1. Does not handle exceptions.
section .code
global _atan
_atan push rbp
mov rbp, rsp
fld tword [rbp+16]
... |
;; 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.
#include "AsmMacros.h"
TEXTAREA
;;
;;
;;
;; GC Probe Hijack targets
;;
;;
EXTERN RhpPInvokeExceptionGuard
... |
###############################################################################
# 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x12882, %rdi
nop
nop
dec %r12
movw $0x6162, (%rdi)
nop
nop
nop
nop
nop
sub $57546, %rbx
lea addresses_UC_ht+0x10c82, %rsi
lea addresses_UC_ht+0x9902, %rdi
nop
nop
nop
nop
nop
x... |
; A037631: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,3,0.
; Submitted by Jamie Morken(s3)
; 2,23,230,2302,23023,230230,2302302,23023023,230230230,2302302302,23023023023,230230230230,2302302302302,23023023023023,230230230230230,2302302302302302
mov $2,2
lpb $... |
; A084326: a(0)=0, a(1)=1; for n>1, a(n) = 6*a(n-1)-4*a(n-2).
; 0,1,6,32,168,880,4608,24128,126336,661504,3463680,18136064,94961664,497225728,2603507712,13632143360,71378829312,373744402432,1956951097344,10246728974336,53652569456640,280928500842496,1470960727228416,7702050360000512
mov $3,1
lpb $0,1
sub $0,1
add ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xaa4f, %rbp
clflush (%rbp)
nop
nop
xor $4599, %rcx
movw $0x6162, (%rbp)
nop
nop
nop
nop
sub $46777, %r12
lea addresses_D_ht+0x9a03, %rsi
lea addresses_WC_ht+0xd198, %rdi
nop
n... |
/* power.asm
* Computes the integer power: R0 <- ARG[0] ^ ARG[1]
*
* Programmer: Mayer Goldberg, 2010
*/
POWER:
MOV(R1, STARG(0)); /* A */
MOV(R2, STARG(1)); /* B */
CMP(R2, IMM(0));
JUMP_EQ(L_POWER_A_0);
MOV(R3, R2);
AND(R3, IMM(1));
CMP(R3, IMM(0));
JUMP_EQ(L_POWER_A_EVEN);
SHR(R2, IMM(1));
... |
/**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... |
.data
stereo_mod:
.byte 0x00
.byte 0x62
.byte 0x80
.byte 0x3f
main_tune:
.byte 0x00
.byte 0x65
.byte 0x42
.byte 0x3a
pw:
.byte 0x00
.byte 0x00
.byte 0xc0
.byte 0x3f
oct_semitones:
.byte 12
.byte 0
end_mod_add_ch:
.byte 0
.byte 0
.byte 160
.byte 50
end_mod_add:
.byte 0
.byte 0
.byte 128
.byte 54
end_mod:
.byte 0
.byte 0... |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 pus... |
; A002262: Triangle read by rows: T(n,k), 0 <= k <= n, in which row n lists the first n+1 nonnegative integers.
; 0,0,1,0,1,2,0,1,2,3,0,1,2,3,4,0,1,2,3,4,5,0,1,2,3,4,5,6,0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,11,0,1,2,3,4,5,6,7,8,9,10,11,12,0,1,2,3,4,5,6,7,8,... |
@START
0;JMP
(EQ)
@R13
M=D
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=0
@END_EQ
D;JNE
@SP
A=M-1
M=-1
(END_EQ)
@R13
A=M
0;JMP
(GT)
@R13
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=0
@END_GT
D;JLE
@SP
A=M-1
M=-1
(END_GT)
@R13
A=M
0;JMP
(LT)
@R13
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=0
@END_LT
D;JGE
... |
; A038507: a(n) = n! + 1.
; 2,2,3,7,25,121,721,5041,40321,362881,3628801,39916801,479001601,6227020801,87178291201,1307674368001,20922789888001,355687428096001,6402373705728001
mov $1,$0
cal $1,142
add $1,1
|
/*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining a... |
; A170041: Number of reduced words of length n in Coxeter group on 32 generators S_i with relations (S_i)^2 = (S_i S_j)^36 = I.
; 1,32,992,30752,953312,29552672,916132832,28400117792,880403651552,27292513198112,846067909141472,26228105183385632,813071260684954592,25205209081233592352,781361481518241362912,2422220592706... |
; A248205: Indices of centered octagonal numbers (A016754) that are also pentagonal numbers (A000326).
; Submitted by Jon Maiga
; 1,50,4851,475300,46574501,4563825750,447208348951,43821854371400,4294094520048201,420777441110352250,41231895134294472251,4040304945719747928300,395908652785401002501101,38795007668023578497... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rbp
push %rsi
lea addresses_normal_ht+0xa548, %r12
nop
nop
nop
nop
cmp $7572, %rsi
mov (%r12), %bp
nop
nop
nop
nop
nop
add $16913, %rsi
lea addresses_WT_ht+0x288, %rsi
clflush (%rsi)
nop
nop
nop
nop
add $38942, %r8
mov $0x6162636465666768, ... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
; A024904: Numbers k such that 7*k - 5 is prime.
; Submitted by Jon Maiga
; 1,4,6,12,16,22,24,28,34,46,48,52,54,58,64,66,72,78,82,94,102,108,118,124,126,132,136,148,156,162,168,174,184,186,196,198,202,204,208,214,222,232,252,256,258,268,274,286,288,292,294,298,306,312,316,318,334,336,342,346,352,354,364,366,384,388,394... |
;
; open a file on an Amstrad NC100
;
SECTION code_clib
PUBLIC open
PUBLIC _open
.open
._open
pop af ; return address
pop bc ; don't care
pop de ; read or write
pop hl ; name
push hl
push de
push bc
push af
ld d, 0
ld a, e ; mode bits
and 3 ; R/W bits
cp 3
jr z, open_failed ; Invalid ... |
; ************ DESCRIZIONE SOTTOPROGRAMMA ************
Il seguente sottoprogramma denominato SEGNO_ARRAY riceve:
- nei registri R0 e R1 gli indirizzi rispettivamente della prima e dell’ultima cella di una zona di memoria
contenente l’array I di numeri interi in complemento a due;
- nel registro R2 l’indirizzo della p... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rax
push %rdi
lea addresses_normal_ht+0xa2e7, %r15
nop
nop
add %rax, %rax
movb (%r15), %r10b
nop
nop
nop
nop
nop
add $54559, %r8
pop %rdi
pop %rax
pop %r8
pop %r15
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
p... |
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
#include "Stdafx.h"
#include "JavascriptObjectWrapper.h"
using namespace System;
using namespace CefSharp::Internals;
namespace Ce... |
; 8086 assembly file
; by:czfshine
; date: 2018/04/02 21:13:56
;试编制一个程序:从键盘输入一行字符,
;要求第一个键入的字符必须是空格符,
;如不是,则退出程序;
;如是,则开始接收键入的字符并顺序存放在首地址为buffer的缓冲区中(空格符不存入),
;直到接收到第二个空格符时退出程序。
; The Main Data segment
DATA SEGMENT
max db 255
len byte 0
buf DB 255 DUP(?)
DATA ENDS
;entry code segment
CODE SEGMENT
AS... |
#pragma once
#include <string>
#include <vector>
#include <stdexcept>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
struct WindowInfo {
uint32_t m_win_width;
uint32_t m_win_height;
std::string m_title;
};
class App {
public:
App(std::pair<uint32_t, ... |
INCLUDE "hardware.inc"
SECTION "Header", ROM0[$100]
EntryPoint: ; This is where execution begins
di ; Disable interrupts. That way we can avoid dealing with then, especially since we didn't talk about them yet :p
jp Start ; Leave this tiny space
REPT $150 - $104
db 0
ENDR
SECTION "Game c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.