text stringlengths 1 1.05M |
|---|
;
; ZX Spectrum specific routines
; by Stefano Bodrato, 28/06/2006
;
; Copy a variable to basic
;
; int __CALLEE__ zx_setfloat_callee(char *variable, float value);
;
; $Id: zx_setfloat_callee.asm,v 1.6 2016-06-10 20:02:04 dom Exp $
;
SECTION code_clib
PUBLIC zx_setfloat_callee
PUBLIC _zx_setfloat_callee
PU... |
; A291506: a(n) = (n!)^8 * Sum_{i=1..n} 1/i^8.
; Submitted by Jon Maiga
; 0,1,257,1686433,110523752704,43173450975314176,72514862031522895036416,418033821374598847702425993216,7013444132843374500928464765799366656,301905779820559925981495987360836056017534976,30190578282735799739825404733506718906135347200000000,647161... |
; A066335: Binary string which equals n when 1's and 2's bits have negative weights.
; Submitted by Jon Maiga
; 0,111,110,101,100,1011,1010,1001,1000,1111,1110,1101,1100,10011,10010,10001,10000,10111,10110,10101,10100,11011,11010,11001,11000,11111,11110,11101,11100,100011,100010,100001,100000,100111,100110,100101
seq ... |
#include <algorithm>
#include <sstream>
#include "CSE.h"
#include "CodeGen_Internal.h"
#include "CodeGen_OpenCL_Dev.h"
#include "Debug.h"
#include "EliminateBoolVectors.h"
#include "EmulateFloat16Math.h"
#include "ExprUsesVar.h"
#include "IRMutator.h"
#include "IROperator.h"
#include "Simplify.h"
namespace Halide {
n... |
; A101265: a(1) = 1, a(2) = 2, a(3) = 6; a(n) = 5*a(n-1) - 5*a(n-2) + a(n-3) for n>3.
; 1,2,6,21,77,286,1066,3977,14841,55386,206702,771421,2878981,10744502,40099026,149651601,558507377,2084377906,7779004246,29031639077,108347552061,404358569166,1509086724602,5631988329241,21018866592361,78443478040202,292755045568446,... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="file, buf"/>
<%docstring>
Invokes the syscall stat. See 'man 2 stat' for more information.
Arguments:
file(char): file
buf(stat): buf
</%docstring>
${syscall('SYS_stat', file, buf)}
|
//////////////////////////////////////////////////////////////////////
//
// Crytek Source code
// Copyright (c) Crytek 2001-2004
//
// File: XNetwork.cpp
// Description: Network stuffs implementation.
//
// History:
// - August 6, 2001: Created by Alberto Demichelis
// - February 2005: Modified by Mar... |
; A166466: Trisection a(n) = A000265(3n).
; 3,3,9,3,15,9,21,3,27,15,33,9,39,21,45,3,51,27,57,15,63,33,69,9,75,39,81,21,87,45,93,3,99,51,105,27,111,57,117,15,123,63,129,33,135,69,141,9,147,75,153,39,159,81,165,21,171,87,177,45,183,93,189,3,195,99,201,51
add $0,1
mov $1,$0
mul $1,3
mov $2,64
gcd $2,$1
div $1,$2
|
;
; Copyright (C) 2008-2020 Advanced Micro Devices, 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 list of... |
; #########################################################################
TextFind proc lpBuffer:DWORD, len:DWORD
LOCAL tp :DWORD
LOCAL tl :DWORD
LOCAL sch:DWORD
LOCAL ft :FINDTEXT
LOCAL Cr :CHARRANGE
invoke SendMessage,hRichEd,WM_GETTEXTLENGTH,0,0
mov tl, eax
invoke SendMessage,hR... |
; A081866: a(n)=sigma_9(2n-1).
; 1,19684,1953126,40353608,387440173,2357947692,10604499374,38445332184,118587876498,322687697780,794320419872,1801152661464,3814699218751,7625984925160,14507145975870,26439622160672,46413842369328,78815680978608,129961739795078,208738965677816,327381934393962,502592611936844,756719475330... |
SFX_Cry1C_3_Ch5:
duty_cycle_pattern 3, 3, 1, 1
square_note 7, 13, 6, 2017
square_note 6, 12, 6, 2018
square_note 9, 13, 6, 2017
square_note 7, 12, 6, 2016
square_note 5, 11, 6, 2018
square_note 7, 12, 6, 2017
square_note 6, 11, 6, 2016
square_note 8, 10, 1, 2015
sound_ret
SFX_Cry1C_3_Ch6:
duty_cycle_patter... |
db 0 ; species ID placeholder
db 80, 92, 65, 68, 65, 80
; hp atk def spd sat sdf
db WATER, WATER ; type
db 60 ; catch rate
db 170 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/seaking/front.dimensions"
db GROWTH_MEDIUM_FAST... |
// Copyright (c) 2011-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <qt/addressbookpage.h>
#include <qt/forms/ui_a... |
$CASE ON
;; Macro to add jump table elements
JP_FAR MACRO lbl
LD NB,#@DPAG(lbl)
JRL lbl
ENDM
;; Begin pokemon mini header
DEFSECT ".min_header", CODE AT 2100H
SECT ".min_header"
ASCII "MN"
JP_FAR __START
JP_FAR ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16427, %rsi
lea addresses_A_ht+0x1a0ba, %rdi
nop
nop
nop
nop
add %rbp, %rbp
mov $99, %rcx
rep movsb
nop
nop
nop
nop
nop
add $50042, %r10
lea addresses_D_ht+0x5d9f, %r8
nop
nop
... |
SECTION code_fp_am9511
PUBLIC cam32_sdcc___sint2fs
EXTERN asm_am9511_float16
.cam32_sdcc___sint2fs
pop bc ;return
pop hl ;value
push hl
push bc
jp asm_am9511_float16
|
// Time: O(n)
// Space: O(k)
class Solution {
public:
vector<int> distinctNumbers(vector<int>& nums, int k) {
vector<int> result;
unordered_map<int, int> count;
for (int i = 0; i < size(nums); ++i) {
++count[nums[i]];
if (i >= k) {
if (--count[nums[i... |
; A305397: Largest diameter of a lattice polygon.
; Submitted by Christian Krause
; 2,3,4,4,5,6,6,7,8,8,8,9,10,10,10,11,12
mov $2,$0
add $0,1
lpb $0
sub $0,1
mov $3,$2
sub $3,$0
sub $3,1
mov $4,0
mov $10,$3
sub $10,$0
mov $7,$10
mov $8,$10
mov $9,$0
lpb $7
mov $0,1
mov $5,$9
mod $5,2
... |
.model small
public InitXMode320x240x256
public CloseXMode320x240x256
SC_INDEX equ 03c4h ; sequencer port
CRTC_INDEX equ 03d4h ; CRT controller port
MISC_OUTPUT equ 03c2h ; miscellaneous output register
MAP_MASK equ 02h ; index map mask registru
SCREEN_SEG equ 0a000h
... |
; A277636: Number of 3 X 3 matrices having all elements in {0,...,n} with determinant = permanent.
; 1,343,6859,50653,226981,753571,2048383,4826809,10218313,19902511,36264691,62570773,103161709,163667323,251239591,374805361,545338513,776151559,1083206683,1485446221,2005142581,2668267603,3504881359,4549540393,5841725401... |
/*******************************************************************************
* Filename : spi5fieldvalues.hpp
*
* Details : Enumerations related with SPI5 peripheral. This header file is
* auto-generated for STM32F411 device.
*
*
***********************************************************... |
; L1009.asm
; Generated 10.30.2000 by mlevel
; Modified 10.30.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level1009Section",ROMX
;---------------------------------------------------------------------
L1009_C... |
; A010853: Constant sequence: a(n) = 14.
; 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14
mov $1,14
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2018-2019, 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 s... |
;
; ZX81 libraries
;
;--------------------------------------------------------------
; This code comes from the 'HRG_Tool'
; by Matthias Swatosch
; Original function name: "HRG_Tool_TXTcopy"
;--------------------------------------------------------------
;
; $Id: copytxt_arx.asm,v 1.5 2017/01/02 22:58:00 aralbrec Exp ... |
page ,132
;Thunk Compiler Version 1.8 Dec 14 1994 14:53:05
;File Compiled Fri Jun 20 10:27:33 1997
;Command Line: thunk -P2 -NC ddraw -t thk3216 ..\32to16.thk -o 32to16.asm
TITLE $32to16.asm
.386
OPTION READONLY
OPTION OLDSTRUCTS
IFNDEF IS_16
IFNDEF IS_32
%out command line error: specify one ... |
; A195062: Period 7: repeat [1, 0, 1, 0, 1, 0, 1].
; 1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1
mod $0,7
mod $... |
; Gravity Ring
; Negate pit damage if we have the gravity ring
; Guard/Diamond rings also reduces the damage dealt.
DoPitDamage:
LDA !GravityRingFlag : BEQ + ; check if we have the gravity ring
RTL ; if we have it, don't do anything
+
JSL.l OHKOTimer ; otherwise, call damage routines
LDA $7EF36... |
;--------------------------------------------------------------
; ARX816 style Graphics
; for the ZX81
;--------------------------------------------------------------
;
; Invert screen output
;
; Stefano - Oct 2011
;
;
; $Id: invhrg_arx.asm,v 1.3 2016-06-27 20:26:33 dom Exp $
;
SECTION code_clib
... |
bootblockother.o: 檔案格式 elf32-i386
Disassembly of section .text:
00007000 <start>:
# This code combines elements of bootasm.S and entry.S.
.code16
.globl start
start:
cli
7000: fa cli
# Zero data segment registers DS, ES, and SS.
xorw %ax,%ax
7001:... |
Name: zel_ending.asm
Type: file
Size: 102194
Last-Modified: '2016-05-13T04:20:48Z'
SHA-1: 1245B96E6CD53964BBC3274533C37CD51E0F16E4
Description: null
|
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x0000000000000000", "0x0000000000000000"],
"XMM1": ["0xffffffffffffffff", "0xffffffffffffffff"],
"XMM2": ["0x0b0d090e0b0d090e", "0x0b0d090e0b0d090e"],
"XMM3": ["0xffffffff00000000", "0x0b0d090effffffff"],
"XMM4": ["0x0202020202020202", "0x0303030303030303"]
... |
; ===============================================================
; 2017
; ===============================================================
;
; void tshc_cls_wc(struct r_Rect8 *r, uchar attr)
;
; Clear the rectangular area on screen.
;
; ===============================================================
SECTION code_clib... |
; A062192: Row sums of unsigned triangle A062138 (generalized a=5 Laguerre).
; Submitted by Christian Krause
; 1,7,57,529,5509,63591,805597,11109337,165625929,2654025319,45481765921,829903882017,16062421776397,328634683136839,7086337847838789,160604998959958441,3816483607166825617,94879581028960162887,24626979531069738... |
#ifndef Integral_Value_Operator_hh
#define Integral_Value_Operator_hh
#include "Integration_Mesh.hh"
#include "Vector_Operator.hh"
#include <memory>
#include <vector>
class Angular_Discretization;
class Energy_Discretization;
class Weak_Spatial_Discretization;
class Integral_Value_Operator : public Vector_Operator
... |
; A055374: Invert transform applied three times to Pascal's triangle A007318.
; Submitted by Christian Krause
; 1,1,1,4,8,4,16,48,48,16,64,256,384,256,64,256,1280,2560,2560,1280,256,1024,6144,15360,20480,15360,6144,1024,4096,28672,86016,143360,143360,86016,28672,4096,16384,131072,458752,917504,1146880,917504
lpb $0
... |
%include "../defaults_bin.asm"
mov cx,64
loopTop:
push cx
mov ah,0
sub ah,cl
mov al,0xc4
push ax
call trial
pop ax
mov al,0xc5
push ax
call trial
pop ax
pop cx
loop loopTop
; mov cx,8
;loopTop2:
; push cx
; mov ah,0x40
; sub ah,cl
; mov al,0xff
; push ax
; call trial
; pop ax
; ... |
setrepeat 2
frame 1, 04
frame 0, 04
frame 2, 04
frame 0, 04
dorepeat 1
endanim
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x884c, %rsi
lea addresses_D_ht+0x8cdc, %rdi
inc %r11
mov $81, %rcx
rep movsw
nop
cmp $11445, %rdx
lea addresses_A_ht+0x138dc, %r11
nop
nop
nop
nop
nop
cmp %rbx, %rbx
mov (%r11), %cx
nop... |
/********************* */
/*! \file ce_guided_instantiation.cpp
** \verbatim
** Original author: Andrew Reynolds
** Major contributors: none
** Minor contributors (to current version): none
** This file is part of the CVC4 project.
** Copyright (c) 2009-2014 ... |
; A217527: a(n) = 2^(n-2)*(n-2)^2+2^(n-1).
; 2,6,24,88,288,864,2432,6528,16896,42496,104448,251904,598016,1400832,3244032,7438336,16908288,38141952,85458944,190316544,421527552,929038336,2038431744,4454350848,9697230848,21038628864,45499809792,98113159168,210990268416,452582178816,968515125248,2068026753024,44066364456... |
; A109523: a(n) is the sum of the (1,2)- and (1,3)-entries of the matrix P^n + T^n, where the 3 X 3 matrices P and T are defined by P = [0,1,0; 0,0,1; 1,0,0] and T = [0,1,0; 0,0,1; 1,1,1].
; Submitted by Simon Strandgaard
; 0,2,2,2,5,8,13,25,45,81,150,275,504,928,1706,3136,5769,10610,19513,35891,66013,121415,223318,410... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... |
/*
** Copyright 2011-2013 Merethis
**
** This file is part of Centreon Engine.
**
** Centreon Engine 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.
**
** Centreon Engine is distributed in the hope... |
/*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile: CMakeSetupDialog.cxx,v $
Language: C++
Date: $Date: 2012/03/29 17:21:09 $
Version: $Revision: 1.1.1.1 $
Copyright (c) 2002 Kitware, Inc., Insight Co... |
; A014900: a(1)=1, a(n)=17*a(n-1)+n.
; 1,19,326,5546,94287,1602885,27249052,463233892,7874976173,133874594951,2275868114178,38689757941038,657725884997659,11181340044960217,190082780764323704,3231407272993502984,54933923640889550745,933876701895122362683,15875903932217080165630,269890366847690362815730,4588136236410736... |
.inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; VERT mirroring for HORIZ scrolling
;;;;;;;;;;;;;;;
;; DECLARE SOME VARIABLES HERE
.rsset $0000 ;;start variables at ram location 0
scroll .rs 1 ; horizontal ... |
; Blob dropping code V2.00 1992 Tony Tebby
;
; d0 c s byte offset / composite colour
; d1 c s row offset
; d2 c s horizontal pattern repeat / horizontal offset
; d3 c s vertical pattern repeat / vertical offset
; d4 s blob mask
; d5 c s sprite word counter / horizontal mask (high word)
; d6 c s row counter
; d7 c... |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC console_01_output_stdio_msg_putc
EXTERN OTERM_MSG_PUTC, l_jpix
console_01_output_stdio_msg_putc:
; E' = char
; BC' = number > 0
; HL = number > 0
;
; return:
;
; HL = number of bytes successfully output
; carry set if error
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xf57b, %rax
nop
nop
nop
nop
sub %r9, %r9
mov $0x6162636465666768, %r13
movq %r13, (%rax)
nop
nop
nop
nop
dec %r11
lea addresses_D_ht+0xbabb, %rsi
lea addresses_WC_ht+0x39fb, %r... |
; A157861: a(n) = 3600*n^2 + n.
; 3601,14402,32403,57604,90005,129606,176407,230408,291609,360010,435611,518412,608413,705614,810015,921616,1040417,1166418,1299619,1440020,1587621,1742422,1904423,2073624,2250025,2433626,2624427,2822428,3027629,3240030,3459631,3686432,3920433,4161634,4410035,4665636,4928437,5198438,5475... |
; A242602: Integers repeated thrice in a canonical order.
; 0,0,0,1,1,1,-1,-1,-1,2,2,2,-2,-2,-2,3,3,3,-3,-3,-3,4,4,4,-4,-4,-4,5,5,5,-5,-5,-5,6,6,6,-6,-6,-6,7,7,7,-7,-7,-7,8,8,8,-8,-8,-8,9,9,9,-9,-9,-9,10,10,10,-10,-10,-10,11,11,11,-11,-11,-11,12,12,12,-12,-12,-12,13,13,13,-13,-13,-13,14,14,14,-14,-14,-14
mul $0,2
div ... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
; A323741: a(n) = m-p where m = (2n+1)^2 and p is the largest prime < m.
; 2,2,2,2,8,2,2,6,2,2,6,6,2,2,8,2,2,2,10,12,2,8,2,2,8,6,2,20,12,2,2,6,6,2,2,6,2,2,12,8,6,6,8,2,8,2,12,6,10,8,2,22,2,14,20,6,6,2,2,2,8,6,2,8,2,6,2,12,2,14,6,2,8,8,14,10,2,18,20,2,8,14,6,2,10,2,32,2,12,12,2,8,6,44,2,6,14,6,20,14
seq $0,73577 ; a(n)... |
#include "PID.h"
/**
* TODO: Complete the PID class. You may add any additional desired functions.
*/
PID::PID() {}
PID::~PID() {}
void PID::Init(double Kp_, double Ki_, double Kd_) {
/**
* Initialization PID coefficients (and errors)
*/
PID::Kp = Kp_;
PID::Ki = Ki_;
PID::Kd = Kd_;
error_p = 0... |
#include <EditorFrameworkPCH.h>
#include <EditorFramework/Actions/AssetActions.h>
#include <EditorFramework/Assets/AssetCurator.h>
#include <EditorFramework/Assets/AssetDocument.h>
#include <GuiFoundation/Action/ActionManager.h>
#include <GuiFoundation/Action/ActionMapManager.h>
ezActionDescriptorHandle ezAssetAction... |
; A017392: a(n) = (11*n)^4.
; 0,14641,234256,1185921,3748096,9150625,18974736,35153041,59969536,96059601,146410000,214358881,303595776,418161601,562448656,741200625,959512576,1222830961,1536953616,1908029761,2342560000,2847396321,3429742096,4097152081,4857532416,5719140625,6690585616,7780827681,8999178496,10355301121,1... |
;
; Amstrad CPC library
; ******************************************************
; ** Librería de rutinas para Amstrad CPC **
; ** Raúl Simarro, Artaburu 2009 **
; ******************************************************
;
; cpc_GetScrAddress(int x, int y) __smallc ;
;
; $Id: cpc_G... |
#include "game.h"
extern int fog;
namespace ai
{
using namespace game;
avoidset obstacles;
int updatemillis = 0, iteration = 0, itermillis = 0, forcegun = -1;
vec aitarget(0, 0, 0);
VAR(aidebug, 0, 0, 6);
VAR(aiforcegun, -1, -1, NUMGUNS - 1);
ICOMMAND(addbot, "s", (char *s), addmsg(N_ADDBOT, "ri", *s ? clam... |
; int vfprintf_unlocked(FILE *stream, const char *format, void *arg)
SECTION code_clib
SECTION code_stdio
PUBLIC vfprintf_unlocked
EXTERN asm_vfprintf_unlocked
vfprintf_unlocked:
pop af
pop bc
pop de
pop ix
push hl
push de
push bc
push af
jp asm_vfprintf_unlocked
|
; A040481: Continued fraction for sqrt(504).
; 22,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2
mov $1,4
mov $2,$0
gcd $2,4
pow $1,$2
lpb $0
mov $0,1
mul $1,2
lpe
div $1,24
mu... |
MOD_A: BEGIN
SECTION TEXT
MOD_B: EXTERN
PUBLIC FAT
PUBLIC N
INPUT N
LOAD N
FAT: SUB ONE
JMPZ FIM
JMP MOD_B
FIM: OUTPUT N
STOP
SECTION BSS
N: SPACE
SECTION DATA
ONE: CONST 1
END
|
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; Licensed under the MIT License.
;
; Module Name:
;
; SgemmKernelAvx512F.asm
;
; Abstract:
;
; This module implements the kernels for the single precision matrix/matrix
; multiply operation (SGEMM).
;
; This implementation uses AVX512F instruc... |
MODULE __printf_number
SECTION code_clib
PUBLIC __printf_number
EXTERN __printf_print_to_buf
EXTERN __printf_print_the_buffer
EXTERN l_int2long_s
EXTERN l_long_neg
EXTERN l_long_div_u
EXTERN l_div_u
EXTERN l_neg
EXTERN get_16bit_ap_parameter
EXTERN __printf_add_offset
EXTERN __printf_issccz80
EXTERN _... |
; Copyright 2021 Carl Georg Biermann
; This file contains a range of macros used by the synth engine.
; Some macros do VERA stuff, some macros do various types of
; multiplication. Some are for memory allocation.
; Synth engine definitions
.define N_VOICES 16
.define N_TIMBRES 32
.define N_OSCILLATORS 16 ; total nu... |
#include "blpch.h"
#include "Bolt/Core/Input.h"
#include "Bolt/Core/Application.h"
#include <GLFW/glfw3.h>
#ifdef BL_PLATFORM_WINDOWS
namespace Bolt {
bool Input::IsKeyPressed(KeyCode keycode) {
BL_PROFILE_FUNCTION();
auto window = static_cast<GLFWwindow*>(Application::Get().GetWindow().GetNativeWindow());
au... |
public _blake3_hash_many_sse2
public blake3_hash_many_sse2
public blake3_compress_in_place_sse2
public _blake3_compress_in_place_sse2
public blake3_compress_xof_sse2
public _blake3_compress_xof_sse2
_TEXT SEGMENT ALIGN(16) 'CODE'
ALIGN 16
blake3_hash_many_sse2 PROC
_blake3_hash_many_sse2 PROC
push r15
... |
; stdio_numprec
; 05.2008 aralbrec
PUBLIC stdio_numprec
EXTERN stdio_utoa_any
INCLUDE "../stdio.def"
; outputs unsigned integer to string buffer taking precision into account
;
; enter : a = precision
; b = num chars in buffer
; c = radix
; de = number
; hl = & next free position i... |
;[]------------------------------------------------------------[]
;| _FTOUL.ASM -- Float to 64-bit unsigned long conversion |
;[]------------------------------------------------------------[]
;
; C/C++ Run Time Library - Version 10.0
;
; Copyright (c) 1996, 2000 by Inprise Corporation
; All Ri... |
; A142981: a(1) = 1, a(2) = 7, a(n+2) = 7*a(n+1) + (n+1)^2*a(n).
; Submitted by Jon Maiga
; 1,7,53,434,3886,38052,406260,4708368,58959216,794092320,11454567840,176267145600,2883327788160,49972442123520,914939341344000,17648374867200000,357763095454464000,7604722004802048000,169148296960860672000,3929342722459564032000,... |
; ----------------------------------------------------------------------------
; Copyright 1987-1988,2019 by T.Zoerner (tomzo at users.sf.net)
; 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... |
; A239031: Number of 4 X n 0..2 arrays with no element equal to the sum of elements to its left or one plus the sum of the elements above it, modulo 3.
; 4,11,28,59,110,189,306,473,704,1015,1424,1951,2618,3449,4470,5709,7196,8963,11044,13475,16294,19541,23258,27489,32280,37679,43736,50503,58034,66385,75614,85781,96948,... |
; A137893: Fixed point of the morphism 0->100, 1->101, starting from a(1) = 1.
; 1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0
add $0,1
mul $0,2
mov $1,$0
... |
; void closeall(void)
; 07.2009 aralbrec
XLIB closeall
LIB close
XREF LIBDISP2_CLOSE
INCLUDE "../stdio.def"
; close all open fds
; does not close any open FILEs -- for that see fcloseall
; fcloseall should always be called before closeall
; running closeall without first running fcloseall can
; orphan open FILEs wi... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %r9
push %rbp
push %rcx
lea addresses_A_ht+0xaa3a, %r10
clflush (%r10)
nop
xor %r11, %r11
mov (%r10), %cx
nop
nop
nop
nop
sub %r12, %r12
lea addresses_UC_ht+0x174aa, %r11
nop
xor %rbp, %rbp
mov (%r11), %r15w
nop
nop
nop
and %r11, ... |
; A155626: 5^n-4^n+1.
; 1,2,10,62,370,2102,11530,61742,325090,1690982,8717050,44633822,227363410,1153594262,5835080170,29443836302,148292923330,745759583942,3745977788890,18798608421182,94267920012850,472439111692022
mov $2,13
lpb $0,1
sub $0,1
add $1,$2
mul $1,5
mul $2,4
lpe
div $1,65
add $1,1
|
;
; ^C status routines for MSDOS
;
INCLUDE DOSSEG.ASM
CODE SEGMENT BYTE PUBLIC 'CODE'
ASSUME SS:DOSGROUP,CS:DOSGROUP
.xlist
.xcref
INCLUDE DOSSYM.ASM
INCLUDE DEVSYM.ASM
.cref
.list
i_need DevIOBuf,BYTE
i_need DidCTRLC,BYTE
i_need INDOS,BYTE
i_need DSKSTCOM,BYTE
... |
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "logdevice/common/settings/SettingsUpdater.h"
#include "logdevice/common... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x11dca, %r13
nop
nop
nop
nop
nop
and %r11, %r11
mov $0x6162636465666768, %r9
movq %r9, (%r13)
dec %r10
lea addresses_A_ht+0x1cf53, %rsi
lea addresses_WT_ht+0x1c67e, %rdi
nop
no... |
;;
;; Copyright (c) 2012-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... |
// This file is licensed under the Elastic License 2.0. Copyright 2021 StarRocks Limited.
#include "aggregate_streaming_sink_operator.h"
#include "simd/simd.h"
namespace starrocks::pipeline {
Status AggregateStreamingSinkOperator::prepare(RuntimeState* state) {
RETURN_IF_ERROR(Operator::prepare(state));
RETU... |
.nolist ; We don't want to actually include defs in our listing file.
.include "m168def.inc" ; m168def.inc defines all the pins on the Mega168 so we can
; use them by their names rather than addresses (not fun).
.list ; We DO want to include the following code in... |
; A059144: A hierarchical sequence (W3{2,2}*cc - see A059126).
; 15,24,15,33,15,24,15,42,15,24,15,33,15,24,15,51,15,24,15,33,15,24,15,42,15,24,15,33,15,24,15,60,15,24,15,33,15,24,15,42,15,24,15,33,15,24,15,51,15,24,15,33,15,24,15,42,15,24,15,33,15,24,15,69,15,24,15,33,15
add $0,1
lpb $0
dif $0,2
add $1,1
lpe
mul $... |
; fasm example of using the C library in Linux
; compile the source with commands like:
; fasm libcdemo.asm libcdemo.o
; gcc libcdemo.o -o libcdemo
; strip libcdemo
format ELF
include 'cdecl.inc'
section '.text' executable
public main
extrn printf
extrn getpid
main:
call getpid
ccall printf, msg,eax
... |
db HITMONCHAN ; 107
db 50, 105, 79, 76, 35, 110
; hp atk def spd sat sdf
db FIGHTING, FIGHTING ; type
db 45 ; catch rate
db 140 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/hitmonchan/fron... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0
TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-rets.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC ___local_stdio_printf_options
PUBLIC __vfprintf_l
PUBLIC _printf
... |
//*********************************************************************
//17/04/2019 1.0.0 Rémi Saint-Amant Creation
//*********************************************************************
#include "BudBurst.h"
#include "Basic/WeatherDefine.h"
#include "ModelBase/EntryPoint.h"
using namespace std;
using nam... |
lc r4, 0x7fffffff
lc r5, 0x00000000
gts r6, r4, r5
halt
#@expected values
#r4 = 0x7fffffff
#r5 = 0x00000000
#r6 = 0x00000001
#pc = -2147483628
#e0 = 0
#e1 = 0
#e2 = 0
#e3 = 0
|
; A310373: Coordination sequence Gal.6.150.5 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 Christian Krause
; 1,4,10,14,18,23,27,31,36,40,44,50,54,58,64,68,72,77,81,85,90,94,98,104,108,112,118,122,126,131,135,139,144,1... |
; A024072: a(n) = 6^n - n^10.
; 1,5,-988,-58833,-1047280,-9757849,-60419520,-282195313,-1072062208,-3476706705,-9939533824,-25574627545,-59740581888,-124797797833,-210890490880,-106465406049,1721598279680,14910665544287,97989489441792,603228673752695,3645918440062976,21920270759399655,131595143919475712,789688796542389... |
; A094806: Number of (s(0), s(1), ..., s(2n)) such that 0 < s(i) < 8 and |s(i) - s(i-1)| = 1 for i = 1,2,...,2n, s(0) = 1, s(2n) = 5.
; 1,5,20,74,264,924,3200,11016,37792,129392,442496,1512224,5165952,17643456,60250112,205729920,702452224,2398414592,8188884992,27958972928,95458646016,325917686784,1112755552256,37991910... |
; A067897: a(n) = A000085(n) - (1 + Sum_{j=1..n-1} A000085(j)).
; Submitted by Jamie Morken(s1)
; 0,0,0,0,2,8,32,112,412,1504,5760,22464,91224,379424,1632896,7201472,32709136,152094976,725810176,3540883968,17680145184,90115509888,469094763008,2489169367808,13465672180160,74161734785536
mov $3,1
lpb $0
sub $0,1
sub... |
;este es un comentario
list p=18f4550 ;modelo de procesador
#include<p18f4550.inc> ;libreria de nombre de registros
;Bits de configuracion del microcontrolador
CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT))
CONFIG PWRT = ON ; Power-up Timer Enable b... |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2004-2012. Distributed under 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)
//
// See http://www.boost.org/libs/interpr... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x44b9, %r9
nop
nop
nop
add %rdx, %rdx
movb $0x61, (%r9)
nop
nop
nop
nop
nop
cmp $37542, %rbx
lea addresses_D_ht+0x14d71, %r14
inc %r8
movb $0x61, (%r14)
nop... |
; A006416: Number of rooted planar maps. Also a(n)=T(4,n-3), array T as in A049600.
; 1,8,20,38,63,96,138,190,253,328,416,518,635,768,918,1086,1273,1480,1708,1958,2231,2528,2850,3198,3573,3976,4408,4870,5363,5888,6446,7038,7665,8328,9028,9766,10543,11360,12218,13118,14061,15048,16080,17158,18283,19456,20678,21950,23273... |
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 7/12/98 djm
;double asin(double)
;Number in FA..
SECTION code_fp
INCLUDE "fpp.def"
PUBLIC asin
EXTERN fsetup
EXTERN stkequ2
.asin
... |
; A158275: Denominators of antiharmonic means of divisors of n.
; Submitted by Christian Krause
; 1,3,2,1,3,6,4,3,1,9,6,2,7,12,6,1,9,3,10,1,8,18,12,6,1,21,2,4,15,18,16,3,12,27,12,1,19,6,14,9,21,24,22,2,3,36,24,2,1,1,18,7,27,6,18,12,4,9,30,2,31,48,4,1,21,36,34,3,24,36,36,3,37,57,2,10,24,42,40,3,1,63,42,8,27,66,6,18,45,9... |
rainbow_bridge:
lw t2, RAINBOW_BRIDGE_CONDITION
beq t2, r0, @@open
li at, 1
beq t2, at, @@medallions
li at, 2
beq t2, at, @@dungeons
li at, 3
beq t2, at, @@stones
li at, 4
beq t2, at, @@vanilla
li at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.