text stringlengths 1 1.05M |
|---|
//==-- loop_proto_to_llvm.cpp - Protobuf-C++ conversion
//---------------------==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------... |
#include <cassert>
#include <stdexcept>
#include <iostream>
#ifdef WIN32
# include <windows.h>
#else
# include <unistd.h>
#endif
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
#include <xmlrpc-c/server_abyss.hpp>
using namespace std;
#ifdef WIN32
#define SLEEP(seconds) SleepEx(seconds * 1000);
#el... |
#ifdef COMPILATION// -*-indent-tabs-mode:t;c-basic-offset:4;tab-width:4-*-
$CXX $CXXFLAGS $0 -o $0.$X -lboost_unit_test_framework&&$0.$X&&rm $0.$X;exit
#endif
// © Alfredo A. Correa 2018-2020
#define BOOST_TEST_MODULE "C++ Unit Tests for Multi select range"
#define BOOST_TEST_DYN_LINK
#include<boost/test/unit_test.hpp... |
/*
* Copyright 2018-2021 Mahdi Khanalizadeh
*
* 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 o... |
# STAMPA INVERSA DI UNA STRUCT LISTA
.data
lista: .word
4,4,
2,-1,
1,3,
3,1,
5,2
.text
li $t0,0
li $t1,0
jal PR # chiamata ricorsiva
li $v0,10
syscall
PR:
subi $sp,$sp,12 # allocazione stack
sw $ra,0($sp)
sw $t0,4($sp)
sw $t4,8($sp)
addi $t1,$t0,1 # i++
sll $t2,$t0,2 # offset i
sll $t3,$t1,2 ... |
#include "views/gamelist/VideoGameListView.h"
#include "views/ViewController.h"
#include "Window.h"
#include "animations/LambdaAnimation.h"
#include <sys/stat.h>
#include <fcntl.h>
#ifdef _RPI_
#include "components/VideoPlayerComponent.h"
#include "Settings.h"
#endif
#include "components/VideoVlcComponent.h"
VideoGame... |
//===--- MacroExpansion.cpp - Top level Macro Expansion -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
; A301270: Number of labeled trees on n vertices containing two fixed non-adjacent edges.
; 4,20,144,1372,16384,236196,4000000,77948684,1719926784,42417997492,1157018619904,34599023437500,1125899906842624,39618312131623748,1499253470328324096,60724508119499193196,2621440000000000000000,120167769980326767578964,58299958... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "Lcd.inc"
#include "Buttons.inc"
#include "States.inc"
#include "OptionStates.inc"
ARROW_CHARACTER equ 0x7e
radix decimal
defineUiState UI_STATE_OPTION_CHANGED
.knownBank uiState
movlw 3
movwf uiOptionCounter
defineUiStateInSameSection UI_STATE... |
// Define this module's name.
// This is also used when creating variable/function names via the GVAR/DFUNC macros
// You should always set this macro properly as any module before could have already set this
// macro which could lead to name-clashes between these two modules.
#define MODULE LM
// include the macro-fi... |
/**
* @file Denominations.cpp
*
* @brief Functions for converting to/from Zerocoin Denominations to other values library.
*
* @copyright Copyright 2017 PIVX Developers
* @copyright Copyright 2019 Bluecoin Developers
* @license This project is released under the MIT license.
**/
#include "Denomi... |
///------------------------------------------------------------------------------
//
// Copyright (c) 2008 - 2009, Apple Inc. 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 distribu... |
; A218289: Denominator of the sixth increasing diagonal of the autosequence of the second kind from (-1)^n/(n+1).
; Submitted by Stefano Spezia
; 6,12,12,12,210,168,504,72,198,660,1716,1092,546,336,4080,2448,5814,684,1596,4620,10626,6072,2760,1560,17550,9828,21924,2436,5394,14880,32736,17952,7854,4284,46620,25308,54834... |
; A281746: Nonnegative numbers k such that k == 0 (mod 3) or k == 0 (mod 5).
; 0,3,5,6,9,10,12,15,18,20,21,24,25,27,30,33,35,36,39,40,42,45,48,50,51,54,55,57,60,63,65,66,69,70,72,75,78,80,81,84,85,87,90,93,95,96,99,100,102,105,108,110,111,114,115,117,120,123,125,126,129,130,132,135,138,140,141,144,145,147,150,153,155,1... |
.386
.model flat,stdcall
option casemap:none
__UNICODE__ equ 1
include windows.inc
include user32.inc
include kernel32.inc
include gdi32.inc
includelib gdi32.lib
include shell32.inc
includelib shell32.lib
includelib user32.lib
includelib kernel32.lib
include gdiplus.inc
includelib gdiplus.lib
WM_DPICHANGED equ 002E0h
... |
;
; Fast background save
;
; PC6001 version
;
;
; $Id: bksave.asm,v 1.2 2015/01/19 01:32:51 pauloscustodio Exp $
;
PUBLIC bksave
EXTERN pixeladdress
.bksave
ld hl,2
add hl,sp
ld e,(hl)
inc hl
ld d,(hl) ;sprite address
push de
pop ix
inc ... |
lda {m2}
sta {m1}+2
lda {m2}+1
sta {m1}+3
lda #{c1}
sta {m1}
lda #0
sta {m1}+1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x13bb0, %rbp
xor %r9, %r9
movw $0x6162, (%rbp)
nop
inc %rax
lea addresses_WT_ht+0x6ab0, %r9
nop
nop
nop
nop
nop
sub %r12, %r12
movw $0x6162, (%r9)
nop
nop
and %r9, %r9
lea add... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: dBase III
MODULE: Lib
FILE: libMain.asm
AUTHOR: Ted Kim, September 14, 1992
ROUTINES:
Name Description
---- -----------
GLB TransGetExportOptions Re... |
; A068720: Arithmetic derivative of squares: a(n) = 2*n*A003415(n).
; 0,4,6,32,10,60,14,192,108,140,22,384,26,252,240,1024,34,756,38,960,420,572,46,2112,500,780,1458,1792,58,1860,62,5120,924,1292,840,4320,74,1596,1248,5440,82,3444,86,4224,3510,2300,94,10752,1372,4500,2040,5824,106,8748,1760,10304,2508,3596,118,11040,12... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>symlinkat(from, tofd, to) -> str
Invokes the syscall symlinkat.
See 'man 2 symlinkat' for more information.
Arguments:
from(char*): from
tofd(int): tofd
to(char*): to
Returns:
int
</%docstring>
<%p... |
;
; ZX 81 specific routines
; by Stefano Bodrato, Oct 2007
;
; This routine gives the length of the current BASIC program.
; Memory used by variables is not included.
;
; $Id: zx_basic_length.asm,v 1.3 2015/08/11 07:16:35 stefano Exp $
;
PUBLIC zx_basic_length
zx_basic_length:
IF FORlambda
ld de,$4396 ; locati... |
;; @file
; This is the assembly code for transferring to control to OS S3 waking vector
; for IA32 platform
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;;
SECTION .text
global ASM_PFX(AsmFixAddress16)
global ASM_PFX(AsmJmpAd... |
%ifndef READ_CONSOLE_LINE
%define READ_CONSOLE_LINE
%ifndef _READCONSOLELINE
extern _GetCommandLineA@16
%endif
;0 args
;returns pointer to commandline string
;example call readConsoleLine
readConsoleLine:
pop dword [std_addr] ;this is apparently the address, so let's just save it and push it back later :)
... |
/*
* Copyright (c) 2014-2022 The Voxie Authors
*
* 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, mer... |
; A170930: G(n,1) with n index G(n,i)=n*(G(n,i-1)+G(n,i-2))=(a^i-b^i)*d where d=sqrt(n*(n+4)); a=(n+d)/2; b=(n-d)/2
; 0,21,63,252,945,3591,13608,51597,195615,741636,2811753,10660167,40415760,153227781,580930623,2202475212,8350217505,31658078151,120024886968,455048895357,1725221346975,6540810726996,24798096221913
lpb $... |
; A033940: a(n) = 10^n mod 7.
; 1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6,4,5,1,3,2,6
mov $1,3
lpb $0
sub $0,1
mul $1,3
mod $1,21
lpe
mov $0,$1
div $0,3
|
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2006 Joseph Wang
Copyright (C) 2012 Liquidnet Holdings, Inc.
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is f... |
/* Copyright 2019 The TensorFlow Authors. 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 by applicable law or a... |
; A169630: a(n) = n times the square of Fibonacci(n).
; 0,1,2,12,36,125,384,1183,3528,10404,30250,87131,248832,705757,1989806,5581500,15586704,43356953,120187008,332134459,915304500,2516113236,6900949462,18888143927,51599794176,140718765625,383142771674,1041660829548,2828107288188,7668512468789,20768716848000,561856468... |
include "sprite/constants.asm"
include "sprite/routines.asm"
|
db 0 ; species ID placeholder
db 60, 45, 50, 70, 80, 80
; hp atk def spd sat sdf
db BUG, FLYING ; type
db 45 ; catch rate
db 160 ; base exp
db NO_ITEM, SILVERPOWDER ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/butter... |
[bits 64]
vmaskmovps [edi],ymm0,ymm1
vextractf128 xmm0,ymm1,1
vextractf128 [edi],ymm1,1
|
; A135860: a(n) = binomial(n(n+1), n).
; 1,2,15,220,4845,142506,5245786,231917400,11969016345,706252528630,46897636623981,3461014728350400,281014969393251275,24894763097057357700,2389461906843449885700,247012484980695576597296,27361230617617949782033713,3233032526324680287912449550,405917652852163253891909880775,539647... |
// Copyright (c) 2014-2018 The Dash Core developers
#include "governance-validators.h"
#include "utilstrencodings.h"
#include "data/proposals_valid.json.h"
#include "data/proposals_invalid.json.h"
#include "test/test_encocoin.h"
#include <iostream>
#include <fstream>
#include <string>
#include <boost/test/unit_tes... |
#pragma once
#include "Utilities/rect.hpp"
#include <string>
#include <vector>
#include <map>
#include <utility>
namespace ph {
struct StateData
{
IntRect startFrame;
unsigned frameCount;
};
using AnimationStatesData = std::map<std::string, StateData>;
void loadAnimationStatesFromFile(const std::string& filepath... |
; A032612: Concatenation of n and n+7.
; 18,29,310,411,512,613,714,815,916,1017,1118,1219,1320,1421,1522,1623,1724,1825,1926,2027,2128,2229,2330,2431,2532,2633,2734,2835,2936,3037,3138,3239,3340,3441,3542,3643,3744,3845,3946,4047,4148,4249
mov $1,$0
add $1,1
mov $2,$0
add $0,1
add $1,5
lpb $1
mul $0,10
div $1,8
lp... |
; A159247: Numerator of Hermite(n, 1/10).
; Submitted by Jon Maiga
; 1,1,-49,-149,7201,37001,-1763249,-12863549,604273601,5749693201,-266173427249,-3141020027749,143254364959201,2027866381608601,-91087470841872049,-1510593937967892749,66805009193436144001,1275280159567750343201,-55508977654852972057649,-120326112126582... |
; A001094: a(n) = n + n*(n-1)*(n-2)*(n-3).
; 0,1,2,3,28,125,366,847,1688,3033,5050,7931,11892,17173,24038,32775,43696,57137,73458,93043,116300,143661,175582,212543,255048,303625,358826,421227,491428,570053,657750,755191,863072,982113,1113058,1256675,1413756,1585117,1771598,1974063,2193400,2430521,2686362,2961883,325806... |
#include "evaluator9.h"
namespace {
struct _Cl3 {
};
struct _Cl7 {
};
static const std::map<std::string, double*>* userData;
View<double*, double, to_list_t<P<3,1>>> _t11;
View<double*, double, to_list_t<P<3,1>>> _t9;
template<typename _T1>
void _lam3(_Cl3 _cl, double x3, double y3, _T1 _result);
double _l... |
// Bootstrap
@261
D=A
@SP
M=D
@Sys.init
0;JMP
// function Class1.set 0
(Class1.set)
@Class1.set.locals
M=0
(Class1.set.locals_loop)
@0
D=A
@Class1.set.locals
D=D-M
@Class1.set.end_locals_loop
D;JEQ
@SP
M=M+1
A=M-1
M=0
@Class1.set.locals
M=M+1
@Class1.set.locals_loop
0;JMP
(Class1.set.end_locals_lo... |
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) )
ftyp_start:
dd BE(ftyp_end - ftyp_start)
db "ftyp"
db "isom"
dd BE(0x00)
db "mif1", "miaf"
ftyp_end:
meta_start:
dd BE(meta_end - meta_start)
db "meta"
dd BE(0)
dinf_start:
dd BE(dinf_end - dinf... |
; void heap_free_unlocked(void *heap, void *p)
SECTION code_clib
SECTION code_alloc_malloc
PUBLIC _heap_free_unlocked
EXTERN asm_heap_free_unlocked
_heap_free_unlocked:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_heap_free_unlocked
|
#INCLUDE<P16F84A.INC>
ORG 0X00
GOTO INICIO
ORG 0X04 ;as interrupções sempre levam para a posição 4
GOTO INTERRUPT
;--- ACENDER E APAGAR UM LED ATRAVÉS DE BOTOES USANDO INTERRUPCAO ---;
INICIO
CLRW
CLRF PORTB
CLRF PORTA
BSF STATUS,RP0
MOV... |
#ifdef SANDESH
#include <stdio.h>
#endif // !SANDESH
#include "t_type.h"
#include "t_typedef.h"
#ifdef SANDESH
#include "t_program.h"
#include "t_struct.h"
#endif // !SANDESH
#include "md5.h"
void t_type::generate_fingerprint() {
std::string material = get_fingerprint_material();
md5_state_t ctx;
md5_init(&ctx)... |
[ORG 0x7c00] ;add to offsets
;Init the environment
; init data segment
; init stack segment allocate area of mem
; init E/video segment and allocate area of mem
; Set to 0x03/80x25 text mode
; Hide the cursor
xor ax, ax ;make it zero
mov ds, ax ;DS=0
mov ss, ax ;stack starts at 0
mov... |
; A158401: a(n) = 841*n^2 - 2*n.
; 839,3360,7563,13448,21015,30264,41195,53808,68103,84080,101739,121080,142103,164808,189195,215264,243015,272448,303563,336360,370839,407000,444843,484368,525575,568464,613035,659288,707223,756840,808139,861120,915783,972128,1030155,1089864,1151255,1214328,1279083,1345520,1413639,14834... |
; A115342: 1 + (n-6)*2^(n-1).
; 1,65,257,769,2049,5121,12289,28673,65537,147457,327681,720897,1572865,3407873,7340033,15728641,33554433,71303169,150994945,318767105,671088641,1409286145,2952790017,6174015489,12884901889,26843545601,55834574849,115964116993
mov $1,2
pow $1,$0
mul $1,$0
div $1,2
mul $1,64
add $1,1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x118f7, %rsi
nop
nop
nop
cmp $63412, %r13
mov (%rsi), %r11
nop
nop
dec %r14
lea addresses_WC_ht+0x13817, %r10
nop
nop
nop
nop
nop
inc %rbx
mov (%r10), %rdx
cmp $168... |
;*****************************************************************************
;* x86-optimized functions for gblur filter
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License as published by the Free So... |
pushpc
; Code that is run once after the game has been powered on.
org $00802F
JML init_hook
NOP
init_done:
; optimize message pointer creation by a lot
org $1CF37A
PEA.w MessagePointers
PEA.w $71C0
PEA.w 396*2
SEC ; bank 7F
; push to stack: source, destination, size
; carry = wram bank
DoWRAMBig:
REP #$20
PL... |
dnl MIPS64 mpn_add_n -- Add two limb vectors of the same length > 0 and store
dnl sum in a third limb vector.
dnl Copyright 1995, 2000, 2001, 2002 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it un... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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 s... |
typedef double scalar;
class X {
public:
X(scalar a);
bool operator==(const X& other);
};
void f() {
X a(1.0);
if(a == 1.0) {}
if(a == 2*2) {}
}
int main() {
return 1;
}
|
; A339570: Denote the van der Corput sequence of fractions 1/2, 1/4, 3/4, 1/8, 5/8, 3/8, 7/8, 1/16, ... (A030101/A062383) by v(n), n >= 1. Then a(n) = denominator of v(A014486(n)).
; 4,16,16,64,64,64,64,64,256,256,256,256,256,256,256,256,256,256,256,256,256,256,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,102... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: circle.asm,v 1.6 2016-04-13 21:09:09 dom Exp $
;
;Usage: circle(struct *pixels)
SECTION code_clib
PUBLIC circ... |
/*
* Copyright (C) 2012-2016 Open Source Robotics Foundation
*
* 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... |
#include<iostream>
using namespace std;
void swapping(int &a, int &b) {
int temp;
temp = a;
a = b;
b = temp;
}
void display(int *array, int size) {
for(int i = 0; i<size; i++)
cout << array[i] << " ";
cout << endl;
}
void merge(int *array, int l, int m, int r) {
int i, j, k, nl, nr;
... |
lorom
; x button hook
;----------------------------------------
; inside dungeon/room
org $0287FB
InsideDungeon_XButton:
JSL Dungeon_XButton_Hook
;----------------------------------------
org $0DBB67
Sound_SetSfxPanWithPlayerCoords:
org $0DBB8A
Sound_SetSfx3PanLong:
org $258000
;-----------------------------------... |
Name: kart-drive-back.asm
Type: file
Size: 17067
Last-Modified: '1991-11-29T03:29:32Z'
SHA-1: 3F14690689142D8ED57223B4BC25FA1DD56F470A
Description: null
|
; A063492: a(n) = (2*n - 1)*(11*n^2 - 11*n + 6)/6.
; 1,14,60,161,339,616,1014,1555,2261,3154,4256,5589,7175,9036,11194,13671,16489,19670,23236,27209,31611,36464,41790,47611,53949,60826,68264,76285,84911,94164,104066,114639,125905,137886,150604,164081,178339,193400,209286,226019,243621,262114,281520,301861,323159,345436... |
#include "cube_light_custom_editor.h"
#include "engine/core/editor/editor.h"
#include "engine/core/math/Curve.h"
#include "engine/core/main/Engine.h"
namespace Echo
{
#ifdef ECHO_EDITOR_MODE
CubeLightCustomEditor::CubeLightCustomEditor(Object* object)
: ObjectEditor(object)
{
m_gizmo = ECHO_DOWN_CAST<Echo::Gizmo... |
; A166776: Number of nX2 1..3 arrays containing at least one of each value, all equal values connected, and rows considered as a single number in nondecreasing order.
; 0,12,51,135,286,530,897,1421,2140,3096,4335,5907,7866,10270,13181,16665,20792,25636,31275,37791,45270,53802,63481,74405,86676,100400,115687,132651,1514... |
; #########################################################################
.386
.model flat, stdcall
option casemap :none ; case sensitive
; #########################################################################
; ------------------------------
; Build this app in console mode.
; ... |
/*
1053 Path of Equal Weight (30 分)
Given a non-empty tree with root R, and with weight W
i
assigned to each tree node T
i
. The weight of a path from R to L is defined to be the sum of the weights of all the nodes along the path from R to any leaf node L.
Now given any weighted tree, you are supposed to find... |
; A319384: a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5), a(0)=1, a(1)=5, a(2)=9, a(3)=21, a(4)=29.
; 1,5,9,21,29,49,61,89,105,141,161,205,229,281,309,369,401,469,505,581,621,705,749,841,889,989,1041,1149,1205,1321,1381,1505,1569,1701,1769,1909,1981,2129,2205,2361,2441,2605,2689,2861,2949,3129,3221,3409,3505,37... |
; A160272: Angle between the two hands of a 12 hour analog clock n*12 minutes after noon/midnight, measured in units of minutes.
; 0,11,22,27,16,5,6,17,28,21,10,1,12,23,26,15,4,7,18,29,20,9,2,13,24,25,14,3,8,19,30,19,8,3,14,25,24,13,2,9,20,29,18,7,4,15,26,23,12,1,10,21,28,17,6,5,16,27,22,11
mov $1,2
mul $1,$0
mul $1,4... |
; A003984: Table of max(x,y), where (x,y) = (0,0),(0,1),(1,0),(0,2),(1,1),(2,0),...
; 0,1,1,2,1,2,3,2,2,3,4,3,2,3,4,5,4,3,3,4,5,6,5,4,3,4,5,6,7,6,5,4,4,5,6,7,8,7,6,5,4,5,6,7,8,9,8,7,6,5,5,6,7,8,9,10,9,8,7,6,5,6,7,8,9,10,11,10,9,8,7,6,6,7,8,9,10,11,12,11,10,9,8,7,6,7,8,9,10,11,12,13,12,11,10,9,8,7,7,8
lpb $0,1
sub $0... |
#include "HitboxOverlay.h"
#include "Core/interfaces.h"
#include "Game/gamestates.h"
#include "Game/Jonb/JonbReader.h"
#include "imgui_internal.h"
void HitboxOverlay::Update()
{
if (HasNullptrInData() || !m_windowOpen)
{
return;
}
if (!isHitboxOverlayEnabledInCurrentState())
{
return;
}
BeforeDraw();
I... |
; A152947: a(n) = 1 + (n-2)*(n-1)/2.
; 1,1,2,4,7,11,16,22,29,37,46,56,67,79,92,106,121,137,154,172,191,211,232,254,277,301,326,352,379,407,436,466,497,529,562,596,631,667,704,742,781,821,862,904,947,991,1036,1082,1129,1177,1226,1276,1327,1379,1432,1486,1541,1597,1654,1712,1771,1831,1892,1954,2017,2081,2146,2212,2279,23... |
; Usage:
;
; 1. Define a symbol "aPLibMemory" which points to the start of 5 bytes of RAM.
; 2. If you want to decompress to VRAM:
; .define aPLibToVRAM
; 3. .include this file in your code
; 4. ld hl,<source address>
; ld de,<destination address> ; e.g. $4000 for VRAM address 0
; call aPLib_decompress
;
; The... |
; A242954: a(n) = Product_{i=1..n} A234957(i).
; 1,1,1,1,4,4,4,4,16,16,16,16,64,64,64,64,1024,1024,1024,1024,4096,4096,4096,4096,16384,16384,16384,16384,65536,65536,65536,65536,1048576,1048576,1048576,1048576,4194304,4194304,4194304,4194304,16777216,16777216,16777216
lpb $0
mov $2,$0
lpb $2
gcd $1,4
div $2... |
;******************************************************************************
;* SSE-optimized functions for the DCA decoder
;* Copyright (C) 2012-2014 Christophe Gisquet <christophe.gisquet@gmail.com>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it... |
// 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 "base/basictypes.h"
// TODO(ellyjones): Remove once http://crbug.com/523296 is fixed.
#if defined(OS_IOS) && !TARGET_IPHONE_SIMULATOR
#include "b... |
; A100832: Amenable numbers: n such that there exists a multiset of integers (s(1), ..., s(n)) whose size, sum and product are all n.
; 1,5,8,9,12,13,16,17,20,21,24,25,28,29,32,33,36,37,40,41,44,45,48,49,52,53,56,57,60,61,64,65,68,69,72,73,76,77,80,81,84,85,88,89,92,93,96,97,100,101,104,105,108,109,112,113,116,117,120,... |
// Copyright (c) 2018, NVIDIA CORPORATION. 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 ... |
; int posix_memalign(void **memptr, size_t alignment, size_t size)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC posix_memalign
EXTERN asm_posix_memalign
posix_memalign:
pop af
... |
;
; Copyright (c) 2010 The WebM 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 proje... |
; A001564: 2nd differences of factorial numbers.
; Submitted by Jon Maiga
; 1,3,14,78,504,3720,30960,287280,2943360,33022080,402796800,5308934400,75203251200,1139544806400,18394619443200,315149522688000,5711921639424000,109196040425472000,2196014181064704000,46346783255764992000,1024251745442365440000,23655106225501470... |
; void adt_ListConcat(struct adt_List *list1, struct sp_List *list2)
; CALLER linkage for function pointers
XLIB adt_ListConcat
LIB adt_ListConcat_callee
XREF ASMDISP_ADT_LISTCONCAT_CALLEE
.adt_ListConcat
pop bc
pop hl
pop de
push de
push hl
push bc
jp adt_ListConcat_callee + ASMDISP_ADT_LI... |
;Testname=test; Arguments=-fbin -ofar64.bin; Files=stdout stderr far64.bin
; BR 2039212
bits 64
call qword far [rax]
jmp qword far [rax]
call dword far [rax]
jmp dword far [rax]
call far [rax]
jmp far [rax]
|
; A074574: a(n) = 5^n + 7^n + 8^n.
; Submitted by Christian Krause
; 3,20,138,980,7122,52700,395418,2998820,22932642,176524460,1365982698,10616089460,82804904562,647865527420,5082373099578,39962451176900,314860495170882,2485193267125580,19646626804658058,155533156747557140,1232809138336099602,9782394738096262940,776991... |
; A315178: Coordination sequence Gal.4.62.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,6,10,14,18,22,28,34,38,42,46,50,56,62,66,70,74,78,84,90,94,98,102,106,112,118,122,126,130,134,140,146,150,154,158,162,168,174,178,182,186,1... |
#pragma once
#include <vili/parser/parser_state.hpp>
namespace obe::Config::Templates
{
vili::parser::state getMountTemplates();
}
|
; A246607: E.g.f.: exp(x - x^3).
; Submitted by Christian Krause
; 1,1,1,-5,-23,-59,241,2311,9745,-30743,-529919,-3161069,6984121,216832045,1696212337,-2117117729,-138721306079,-1359994188719,367573878145,127713732858667,1523067770484361,1104033549399061,-159815269852521359,-2270787199743845705,-3946710127731620303,260... |
; A286186: Number of connected induced (non-null) subgraphs of the friendship graph with 2n+1 nodes.
; 7,22,73,268,1039,4114,16405,65560,262171,1048606,4194337,16777252,67108903,268435498,1073741869,4294967344,17179869235,68719476790,274877907001,1099511627836,4398046511167,17592186044482,70368744177733,281474976710728... |
/****************************************************************************
*
* Copyright 2018 Samsung Electronics 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... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
###############################################################################
# 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... |
// Range v3 library
//
// Copyright Jeff Garland 2017
//
// 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)
//
// Project home: https://github.com/ericniebler/range-v3
//
///[... |
_testcount: file format elf32-i386
Disassembly of section .text:
00000000 <lcg_parkmiller>:
static unsigned random_seed = 1;
//#define RANDOM_MAX ((1u << 31u) - 1u)
#define RANDOM_MAX 100000
unsigned lcg_parkmiller(unsigned *state)
{
0: 55 push %ebp
1: 89 e5 mov %... |
/**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... |
#include <memory>
#include <Wal.hpp>
#include "Runner.hpp"
#include <map>
#include "Component/Music/MusicComponent.hpp"
#include "Component/Sound/SoundComponent.hpp"
#include "Component/Controllable/ControllableComponent.hpp"
#include "Component/Position/PositionComponent.hpp"
#include "Component/Keyboard/KeyboardCompo... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2009-2013, ARM Ltd. All rights reserved.
; 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 f... |
; A287350: Number of independent vertex sets and vertex covers in the n-gear graph.
; Submitted by Jon Maiga
; 5,11,26,63,155,386,971,2463,6290,16151,41651,107778,279635,727031,1893266,4936383,12883115,33647426,87928091,229874703,601171730,1572591911,4114506851,10766734338,28177307555,73748411111,193034371346,505287594... |
; A DEMO VIRUS FOR DSCE BY [PF]
.286
DEMO SEGMENT
ASSUME CS:DEMO,DS:DEMO
ORG 0000
VIR_LEN EQU OFFSET DSCE_END
EXTRN DSCE:NEAR,DSCE_END:NEAR
START: CALL BEG
BEG PROC
BEG ENDP
CLD
MOV AH,62H
INT... |
INCLUDE "defines.inc"
SECTION "Actor Variables", HRAM
; The index of the next available OAM slot
hNextAvailableOAMSlot::
DS 1
SECTION "Common Actor Code", ROM0
; Hide all objects in OAM by zeroing their Y positions
HideAllObjects::
ld hl, wShadowOAM
HideAllObjectsAtAddress::
ld d, OAM_COUNT
Hi... |
@; SVC & PendSV
@; Constants
@;registers used for SysTick, SVC, and PendSV initializations, drawn from DDI0439 and DDI0403D
.equ SCR,0xE000ED10 @;System Control Register
.equ CCR,0xE000ED14 @;Configuration and Control Register.
.equ SHPR1,0xE000ED18 @;System Handler Priority Register 1
.equ SHPR2,0xE000ED1C... |
/* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certai... |
; Verifies LDY with all applicable addressing modes
.segment "VECTORS"
.word $eaea
.word init
.word $eaea
.segment "ZEROPAGE"
; Used for zero page address mode testing
zp:
.byte $00 ; Padding so remaining bytes can be accessed in zeropage plus tests
.byte $42 ; Positive
.byte $00... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.