text
stringlengths
1
1.05M
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2019 The digiquian Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "coincontrol...
; ; Word: DROP ; Dictionary: (a - ) ; Date: 1st February 2018 ; Macro: Yes ; Notes: ; pop hl pop de jp (hl)
.686 .model flat,stdcall option casemap:none include .\bnlib.inc include .\bignum.inc .code ;; esi=bnX ;; edi=Prod ;; School boy _bn_muldw_basecase proc c pushad mov ebp,[esp+pushad_ebx] xor ebx,ebx .repeat xor edx,edx mov eax,[esi].BN.dwArray[ebx*4-4+4] xor ecx,ecx inc ebx mul edi add eax,ecx adc ...
#include "ogm/ast/parse.h" #include <iostream> #include <cstring> payload_type_t ogm_ast_tree_get_payload_type( const ogm_ast_t* tree ) { switch (tree->m_subtype) { case ogm_ast_st_imp_assignment: case ogm_ast_st_exp_arithmetic: case ogm_ast_st_exp_accessor: case ogm_ast_st_imp_body: c...
#include <unistd.h> #include <cstddef> #include <set> #include <string> #include <vector> #include<iostream> #include "system.h" using std::set; using std::size_t; using std::string; using std::vector; Processor& System::Cpu() { cpu_ = Processor(); return cpu_; } vector<Process>& System::Processes() { ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1109f, %rbx nop nop nop nop cmp %r13, %r13 mov $0x6162636465666768, %r15 movq %r15, %xmm3 movups %xmm3, (%rbx) nop inc %rbp lea addresses_WT_ht+0xcc6f, %rsi lea addresses_WC_h...
; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : findchange.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 2021 ; Authors : Fred Bowen ; ...
; A081270: Diagonal of triangular spiral in A051682. ; 3,16,38,69,109,158,216,283,359,444,538,641,753,874,1004,1143,1291,1448,1614,1789,1973,2166,2368,2579,2799,3028,3266,3513,3769,4034,4308,4591,4883,5184,5494,5813,6141,6478,6824,7179,7543,7916,8298,8689,9089,9498,9916,10343,10779,11224,11678,12141,12613,13094,13584,1...
; Thanks to Kazuto for developing the original QS code that inspired this one QuickSwap: ; We perform all other checks only if we are pushing L or R in order to have minimal ; perf impact, since this runs every frame LDA.b $F6 : AND #$30 : BEQ .done XBA ; stash away the value for after the checks. LDA.l QuickS...
; A101601: G.f.: c(3x)^3, c(x) the g.f. of A000108. ; Submitted by Christian Krause ; 1,9,81,756,7290,72171,729729,7505784,78298974,826489170,8811646074,94753804536,1026499549140,11192793160815,122744496427425,1352917116177840,14979996753469110,166542316847391870 add $0,1 mov $1,$0 seq $0,151383 ; Number of walks with...
#include "dll.h" #include <cstring> ice::Library* LIBRARY = NULL; char ERROR_MESSAGE[512]; bool dll_initialize(void) { if (dll_is_initialized()) { return true; } try { memset(ERROR_MESSAGE, '\0', sizeof(ERROR_MESSAGE)/sizeof(ERROR_MESSAGE[0])); #if (defined(_WIN32) || defined(__WIN32_...
; A013830: a(n) = 4^(5*n + 1). ; 4,4096,4194304,4294967296,4398046511104,4503599627370496,4611686018427387904,4722366482869645213696,4835703278458516698824704,4951760157141521099596496896,5070602400912917605986812821504,5192296858534827628530496329220096,5316911983139663491615228241121378304,544451787073501541541399371...
/***************************************************************************************** * * * OpenSpace * * ...
; A299960: a(n) = ( 4^(2*n+1) + 1 )/5. ; Submitted by Jon Maiga ; 1,13,205,3277,52429,838861,13421773,214748365,3435973837,54975581389,879609302221,14073748835533,225179981368525,3602879701896397,57646075230342349,922337203685477581,14757395258967641293,236118324143482260685,3777893186295716170957 mov $2,16 pow $2,$0 ...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ namespace Multiplayer { inline bool operator ==(const ConstNetworkEntityHandle& lhs, AZStd::nu...
; A063142: Dimension of the space of weight 2n cusp forms for Gamma_0( 74 ). ; 8,27,45,65,83,103,121,141,159,179,197,217,235,255,273,293,311,331,349,369,387,407,425,445,463,483,501,521,539,559,577,597,615,635,653,673,691,711,729,749,767,787,805,825,843,863,881,901,919 mul $0,19 add $0,1 div $0,2 mov $1,1 sub $1,$0 trn...
; A254377: Characteristic function of A230709: a(n) = 1 if n is either evil (A001969) or even odious (A128309), otherwise 0 (when n is odd odious). ; 1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,...
;=============================================================================== ; Copyright 2014-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") co...
TT START 0 USING *,0 USING *,1 EXTRN PRNT ENTRY FOF BCW EQU X'54' ADDRESS OF CHANNEL 5 BCW DEV EQU X'A8' MUX CHAN 5 DEV 0 ADDRESS TST EQU * OPEN PRNT BAL 14,PW PRINT TH...
; A249038: Number of odd terms in first n terms of A249036. ; 1,1,1,2,2,2,3,4,4,5,5,5,6,7,7,7,8,9,9,10,10,11,11,11,12,13,13,13,14,15,15,15,16,17,17,17,18,19,19,20,20,21,21,22,22,23,23,23,24,25,25,25,26,27,27,27,28,29,29,29,30,31,31,31,32,33,33,33,34,35,35,35,36,37,37,37,38,39 lpb $0 mov $2,$0 sub $0,1 seq $2,249...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved GEOWORKS CONFIDENTIAL PROJECT: Network extensions MODULE: Socket library FILE: socketMisc.asm AUTHOR: Eric Weber, May 25, 1994 ROUTINES: Name Description ---- ---...
; A100102: 2^(2*n)-(2*n-1). ; 2,3,13,59,249,1015,4085,16371,65521,262127,1048557,4194283,16777193,67108839,268435429,1073741795,4294967265,17179869151,68719476701,274877906907,1099511627737,4398046511063,17592186044373,70368744177619 mul $0,2 mov $1,2 pow $1,$0 sub $1,$0 add $1,1 mov $0,$1
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<vector<int>> pathSum(TreeNode* root, int sum) { if (root == NULL) { ...
; 2018 July feilipu SECTION code_clib SECTION code_math PUBLIC l_z80n_mulu_40_32x8 l_z80n_mulu_40_32x8: ; multiplication of 32-bit number and 8-bit number into a 40-bit product ; ; enter : a = 8-bit multiplier = x ; dehl = 32-bit multiplicand = y ; ; exit : ade...
; A133086: Row sums of triangle A133085. ; 1,4,10,26,64,152,352,800,1792,3968,8704,18944,40960,88064,188416,401408,851968,1802240,3801088,7995392,16777216,35127296,73400320,153092096,318767104,662700032,1375731712,2852126720,5905580032,12213813248,25232932864,52076478464,107374182400,221190815744,455266533376,936302870...
; A040683: Continued fraction for sqrt(710). ; Submitted by Jamie Morken(s3.) ; 26,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1,52,1,1,1,4,1,1,1 mov $1,126 mov $2,$0 dif $2,2 lpb $0 mov $0,0 mo...
/*************************************************************************** * base.cpp is part of Math gric Library * Copyright (C) 2007-2014 Alexey Balakin <mathgl.abalakin@gmail.ru> * * * * This program is free software; you can redi...
CinnabarIslandObject: db $43 ; border block db $5 ; warps db $3, $6, $1, MANSION_1 db $3, $12, $0, CINNABAR_GYM db $9, $6, $0, CINNABAR_LAB_1 db $b, $b, $0, CINNABAR_POKECENTER db $b, $f, $0, CINNABAR_MART db $5 ; signs db $5, $9, $3 ; CinnabarIslandText3 db $b, $10, $4 ; MartSignText db $b, $c, $5 ; PokeC...
#include <assert.h> #include <fstream> #include "imageloader.h" using namespace std; Image::Image(char* ps, int w, int h) : pixels(ps), width(w), height(h) { } Image::~Image() { delete[] pixels; } namespace { //Converts a four-character array to an integer, using little-endian form int toInt(const char* bytes...
_TEXT SEGMENT PUBLIC co_swap co_swap PROC mov [rdx],rsp mov rsp,[rcx] pop rax mov [rdx+ 8],rbp mov [rdx+16],rsi mov [rdx+24],rdi mov [rdx+32],rbx mov [rdx+40],r12 mov [rdx+48],r13 mov [rdx+56],r14 mov [rdx+64],r15 movaps [rdx+ 80],xmm6 movaps [rdx+ 96],xmm7 movaps [rdx+112],xmm8 add rdx,112 movaps [r...
//===- lib/MC/MCWin64EH.cpp - MCWin64EH implementation --------------------===// // // 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 // //===---------------------------...
; A292545: Number of 6-cycles in the n-Sierpinski tetrahedron graph. ; 0,218,876,3504,14016,56064,224256,897024,3588096,14352384,57409536,229638144,918552576,3674210304,14696841216,58787364864,235149459456,940597837824,3762391351296,15049565405184,60198261620736,240793046482944,963172185931776,3852688743727104 mov $2,...
; A034714: Dirichlet convolution of squares with themselves. ; 1,8,18,48,50,144,98,256,243,400,242,864,338,784,900,1280,578,1944,722,2400,1764,1936,1058,4608,1875,2704,2916,4704,1682,7200,1922,6144,4356,4624,4900,11664,2738,5776,6084,12800,3362,14112,3698,11616,12150,8464,4418,23040,7203,15000,10404,16224,5618,23328,12...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; int obstack_grow0(struct obstack *ob, void *data, size_t size) ; ; Grow the current object by appending size bytes read from ; address data followed by a NUL char. ; ; ===...
#include "PrecompiledHeaders.h" #include "JoystickDX.h" #include "DeviceItem.h" #include "Core.h" #include "Window.h" //IMPLEMENT_AND_REGISTER_CLASS_INFO(JoystickDX, JoystickDevice, Input); IMPLEMENT_CLASS_INFO(JoystickDX) BOOL CALLBACK EnumJoystickObjectsCallback( const DIDEVICEOBJECTINSTANCEA* instancea , ...
// Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2017-2018 The GoByte Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "darksend.h" #include "governance-vote.h" #include "masternod...
; A118742: Numbers n for which the expression n!/(n+1) is an integer. ; 0,5,7,8,9,11,13,14,15,17,19,20,21,23,24,25,26,27,29,31,32,33,34,35,37,38,39,41,43,44,45,47,48,49,50,51,53,54,55,56,57,59,61,62,63,64,65,67,68,69,71,73,74,75,76,77,79,80,81,83,84,85,86,87,89,90,91,92,93,94,95,97 seq $0,72668 ; Numbers one less than...
// A simple program to draw a ball sprite to screen at left/upper corner // Steps: // 1) Load sprite data into RAM since program can't load data from ROM directly // 2) Initialize variables to point to source (sprite) and destination (screen) addresses // 3) Loop copying source to destination // Load sprite into RAM[1...
#if LOGGING #ifndef LOGGER #define LOGGER #include <string> #include <fstream> namespace logger { extern const std::string path ; extern std::ofstream out ; void flush() ; } #endif #endif
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/browser_plugin/browser_plugin_bindings.h" #include <cstdlib> #include <string> #include "base/bind.h" #include "base/mess...
// Ceres Solver - A fast non-linear least squares minimizer // Copyright 2016 Google Inc. All rights reserved. // http://ceres-solver.org/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of so...
// Copyright (c) 2009-2018 The Bitcoin Core developers // Copyright (c) 2020 The Xcoin 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/xcoin-config.h> #endif #include ...
.MODEL SMALL .STACK 100H .DATA STRING DB "I love cat$" VOWEL DB ? .CODE MAIN PROC MOV AX, @DATA MOV DS, AX MOV SI, OFFSET STRING MOV BL, 00 BACK: MOV AL, [SI] CMP AL,'$' JZ FINAL CMP AL,'A' JZ COUNT CMP AL,'E' JZ COUNT CMP AL,'I' JZ COUNT CMP AL,...
SECTION rodata_font_fzx PUBLIC _ff_ao_Dutch _ff_ao_Dutch: BINARY "font/fzx/fonts/ao/Dutch/Dutch.fzx"
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args=""/> <%docstring> Invokes the syscall vfork. See 'man 2 vfork' for more information. Arguments: </%docstring> ${syscall('SYS_vfork')}
#include <avr/io.h> int main() { while (1) { } return 0; }
/* Stream Converters * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include <string.h> #include "Exceptions.h" #include "AlignedVector.tpp" #include "StreamConverters.h" #include <iostream> using std::cout; using std::endl; namespace PokemonAutomation{ StreamConverter::...
; ================================================================ ; DevSound - a Game Boy music system by DevEd ; ; Copyright (c) 2017 - 2018 DevEd ; ; Permission is hereby granted, free of charge, to any person obtaining ; a copy of this software and associated documentation files (the ; "Software"), to deal i...
; A080820: Least m such that m^2 >= n*(n+1)/2. ; 1,2,3,4,4,5,6,6,7,8,9,9,10,11,11,12,13,14,14,15,16,16,17,18,19,19,20,21,21,22,23,23,24,25,26,26,27,28,28,29,30,31,31,32,33,33,34,35,35,36,37,38,38,39,40,40,41,42,43,43,44,45,45,46,47,48,48,49,50,50,51,52,52,53,54,55,55,56,57,57,58,59,60,60,61,62,62,63,64,64,65,66,67,67,6...
/* * Copyright (C) 2017 Shaiya Genesis <http://www.shaiyagenesis.com/> * * 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 * t...
; Based on http://problemkaputt.de/2k6specs.htm ; Write addresses VSYNC = $00 ; ......1. vertical sync set-clear VBLANK = $01 ; 11....1. vertical blank set-clear WSYNC = $02 ; <strobe> wait for leading edge of horizontal blank RSYNC = $03 ; <strobe> reset horizontal sync counter NUSIZ0 = $04 ; ....
INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC getmaxx PUBLIC _getmaxx EXTERN __gal_mode .getmaxx ._getmaxx ld a,(__gal_mode) and a ld hl, +63 ret z ld hl,255 ret
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ; $Id: uncircle.asm $ ; ; Usage: uncircle(int x, int y, int radius, int skip); SECTION code_graphics PUBLIC uncircle PUBLIC _uncircle ...
; char *ulltoa(uint64_t num, char *buf, int radix) SECTION code_clib SECTION code_stdlib PUBLIC _ulltoa EXTERN asm_ulltoa _ulltoa: pop af pop hl pop de exx pop hl pop de pop ix exx pop bc push bc push hl push de push hl push de push hl push af jp asm_ulltoa
; A193592: Triangle read by rows having n-th row 1, n, n-1, n-2,..., 2, 1 for n>=0. ; 1,1,1,1,2,1,1,3,2,1,1,4,3,2,1,1,5,4,3,2,1,1,6,5,4,3,2,1,1,7,6,5,4,3,2,1,1,8,7,6,5,4,3,2,1,1,9,8,7,6,5,4,3,2,1,1,10,9,8,7,6,5,4,3,2,1,1,11,10,9,8,7,6,5,4,3,2,1,1,12,11,10,9,8,7,6,5,4,3,2,1 lpb $0,1 mov $1,$2 trn $1,$0 add $2,1 ...
/****************************************************************************** * * Project: GML Reader * Purpose: Code to translate between GML and OGR geometry forms. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright ...
; A291582: Maximum number of 6 sphinx tile shapes in a sphinx tiled hexagon of order n. ; 30,132,306,552,870,1260,1722,2256,2862,3540,4290,5112,6006,6972,8010,9120,10302,11556,12882,14280,15750,17292,18906,20592,22350,24180,26082,28056,30102,32220,34410,36672,39006,41412,43890,46440,49062,51756,54522,57360,60270,63252,...
; void b_vector_empty_fastcall(b_vector_t *v) SECTION code_clib SECTION code_adt_b_vector PUBLIC _b_vector_empty_fastcall EXTERN _b_array_empty_fastcall defc _b_vector_empty_fastcall = _b_array_empty_fastcall
#ifndef OCCA_PARSER_MAGIC_HEADER #define OCCA_PARSER_MAGIC_HEADER #include "occaParser.hpp" namespace occa { namespace parserNS { class parserBase; class viInfo_t; class infoDB_t; typedef std::map<statement*, int> smntInfoMap_t; typedef smntInfoMap_t::iterator smntInfoIterator; typedef s...
/* MIT License Copyright (c) 2021 Attila Kiss 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, publish, dis...
#include "geometry/GeometryIO.h" #include "geometry/GeometryObject.h" #include "quickhull/QuickHull.hpp" #include <fstream> #include <set> #include <algorithm> #include <iostream> #include <sstream> #include <cstring> namespace fast { FAST_EXPORT TriangleMesh loadParticleMesh(const std::string & path) { usi...
; A204439: Symmetric matrix: f(i,j)=((i+j+2)^2 mod 3), by (constant) antidiagonals. ; 1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 add $0,1 lpb $0 add $0,1 mov $1...
; A162214: a(n) = the largest positive multiple of n with exactly n digits when written in binary. ; 1,2,6,12,30,60,126,248,504,1020,2046,4092,8190,16380,32760,65520,131070,262134,524286,1048560,2097144,4194300,8388606,16777200,33554425,67108860,134217702,268435440,536870910,1073741820,2147483646,4294967264,8589934584,...
; A093141: Expansion of (1-6x)/(1-10x). ; 1,4,40,400,4000,40000,400000,4000000,40000000,400000000,4000000000,40000000000,400000000000,4000000000000,40000000000000,400000000000000,4000000000000000,40000000000000000,400000000000000000 mov $1,10 pow $1,$0 mul $1,2 sub $1,1 div $1,5 add $1,1 mov $0,$1
; A178305: a(0)=1, a(1)=a(2)=1 and a(3k)=a(k), a(3k+1) = a(3k+2) = 2a(k) for k >= 1. ; 0,1,1,1,2,2,1,2,2,1,2,2,2,4,4,2,4,4,1,2,2,2,4,4,2,4,4,1,2,2,2,4,4,2,4,4,2,4,4,4,8,8,4,8,8,2,4,4,4,8,8,4,8,8,1,2,2,2,4,4,2,4,4,2,4,4,4,8,8,4,8,8,2,4,4,4,8,8,4,8,8,1,2,2,2,4,4,2,4,4,2,4,4,4,8,8,4,8,8,2,4,4,4,8,8 mov $1,2 cal $0,160384...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x5293, %rsi lea addresses_A_ht+0x4e93, %rdi nop nop nop nop nop and %r15, %r15 mov $58, %rcx rep movsq nop and %r14, %r14 lea addresses_WT_ht+0x12093, %r15 sub %r14, %r14 movl...
[bits 16] vpcomltb xmm1, xmm2, xmm3 ; out: 8F E8 68 CC 313 00 vpcomleb xmm1, xmm2, xmm3 ; out: 8F E8 68 CC 313 01 vpcomgtb xmm1, xmm2, xmm3 ; out: 8F E8 68 CC 313 02 vpcomgeb xmm1, xmm2, xmm3 ; out: 8F E8 68 CC 313 03 vpcomeqb xmm1, xmm2, xmm3 ; out: 8F E8 68 CC 313 04 vpcomneqb xmm1, xmm2, xmm3 ; out: 8F E8 68 CC 313 ...
; char *gets_unlocked_fastcall(char *s) SECTION code_stdio PUBLIC _gets_unlocked_fastcall EXTERN asm_gets_unlocked _gets_unlocked_fastcall: push ix call asm_gets_unlocked pop ix ret
Route21Mons: db $19 db 21,RATTATA db 23,PIDGEY db 30,RATICATE db 23,RATTATA db 21,PIDGEY db 30,PIDGEOTTO db 32,PIDGEOTTO db 28,MR_MIME db 30,MR_MIME db 32,MR_MIME db $05 db 15,TENTACOOL db 10,TENTACOOL db 15,TENTACOOL db 10,TENTACOOL db 15,TENTACOOL db 20,TENTACOOL db 25,TENTACOOL db 30,TENTACRUEL ...
#include <iostream> #include <string> #include <pcl/common/common_headers.h> #include <pcl/io/pcd_io.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/visualization/cloud_viewer.h> #include <pcl/console/parse.h> #include <pcl/point_types.h> #include <pcl/features/normal_3d.h> #include <pcl/features/pfh.h> ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x107cc, %rbx nop nop nop inc %rsi mov $0x6162636465666768, %r12 movq %r12, %xmm2 movups %xmm2, (%rbx) nop nop nop nop xor %rbp, %rbp lea addresses_WC_ht+0x1a30c,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x11bac, %r14 nop nop nop nop nop add $49505, %rbx mov $0x6162636465666768, %rsi movq %rsi, %xmm6 movups %xmm6, (%r14) xor $62371, %rsi lea addresses_A_ht+0xcafc, %rsi nop nop...
; this is especially thanks to: ; http://blog.markloiseau.com/2012/05/tiny-64-bit-elf-executables/ BITS 64 org 0x00400000 ; Program load offset ; 64-bit ELF header ehdr: ; 1), 0 (ABI ver.) db 0x7F, "ELF", 2, 1, 1, 0 ; e_ident times 8 db 0 ; reserved (zeroes) dw 2 ; e_type...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x2e96, %rsi lea addresses_UC_ht+0x532d, %rdi nop nop nop nop nop and $57265, %r12 mov $111, %rcx rep movsw nop nop nop nop add $52307, %rax lea addresses_WT_ht+0x12a6a, %rsi lea addres...
#include "CharacterDemo.h" #include "GlutStuff.h" #include "GLDebugDrawer.h" #include "btBulletDynamicsCommon.h" GLDebugDrawer gDebugDrawer; int main(int argc,char** argv) { CharacterDemo* characterDemo = new CharacterDemo; characterDemo->initPhysics(); characterDemo->getDynamicsWorld()->setDebu...
dnl MIPS32 mpn_addmul_1 -- Multiply a limb vector with a single limb and add dnl the product to a second limb vector. dnl Copyright 1992, 1994, 1996, 2000, 2002 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or ...
.code /* "<stdin>":0:109 contract x { constructor() public {} function g(uint32 a) public pure returns(uint32 ret) { ret = a + 23; } } */ 0x80 0x40 mstore /* "<stdin>":13:36 constructor() public {} */ callvalue /* "--CODEGEN--":8:17 */ dup1 /* "--CODEGEN--":5:7 */ iszero tag_1 jumpi /* "--CODEGEN--":30:31 */ 0x...
# PowerPC-64 mpn_rshift -- Shift a number right. # Copyright (C) 1999, 2000 Free Software Foundation, Inc. # This file is part of the GNU MP Library. # The GNU MP Library is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as published by # the Free ...
; ; ZX81 libraries - Stefano ; ;---------------------------------------------------------------- ; Internal use code portion to update the actual ptr to d-file ; Can't be used from the external, it expect adjusted ; values for ROW and COLUMN ;---------------------------------------------------------------- ; ; $...
db LAPRAS ; pokedex id db 130 ; base hp db 85 ; base attack db 80 ; base defense db 60 ; base speed db 95 ; base special db WATER ; species type 1 db ICE ; species type 2 db 45 ; catch rate db 219 ; base exp yield INCBIN "pic/gsmon/lapras.pic",0,1 ; 77, sprite dimensions dw LaprasPicFront dw LaprasPicBack ; attacks kno...
Music_SafariZone_Ch1:: tempo 132 volume 7, 7 vibrato 6, 3, 4 toggle_perfect_pitch duty_cycle 2 note_type 12, 9, 2 octave 3 pitch_slide 1, 4, A_ note C_, 1 pitch_slide 1, 4, A_ note G_, 1 pitch_slide 1, 4, A_ note C_, 1 pitch_slide 1, 4, A_ note G_, 1 rest 4 duty_cycle 3 Music_SafariZone_branch_bc4f:: ...
; ; Copyright (c) 2016-2017 László Heim ; ; Source file for image loading functions ; %include 'third-party/util.inc' ; Memory allocation and file heandling %include 'third-party/io.inc' %include 'third-party/mio.inc' ; Print memory contents global spr_create global spr_load_gimp_ppm global spr_dump_memory glo...
; A024537: a(n) = floor( a(n-1)/(sqrt(2) - 1) ), with a(0) = 1. ; 1,2,4,9,21,50,120,289,697,1682,4060,9801,23661,57122,137904,332929,803761,1940450,4684660,11309769,27304197,65918162,159140520,384199201,927538921,2239277042,5406093004,13051463049,31509019101,76069501250,183648021600,443365544449,1070379110497,258412376...
; ; VGM YM2610 chip ; YM2610: MACRO super: Chip YM2610_ym2610Name, Header.ym2610BClock, YM2610_Connect ; hl' = time remaining ; ix = player ; iy = reader ProcessPort0Command: PROC call Reader_ReadWord_IY jp System_Return writeRegister: equ $ - 2 ENDP ; hl' = time remaining ; ix = player ; iy = reader ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x5420, %r12 nop nop nop add %r8, %r8 movl $0x61626364, (%r12) sub $57762, %rdx lea addresses_D_ht+0x5cb8, %rsi lea addresses_A_ht+0x136de, %rdi nop sub $10994, %rax mov $65, %rcx rep mov...
; A082305: G.f.: (1 - 6*x - sqrt(36*x^2 - 16*x + 1))/(2*x). ; Submitted by Jon Maiga ; 1,7,56,497,4760,48174,507696,5516133,61363736,695540258,8004487568,93283238986,1098653880688,13056472392796,156371970692448,1885491757551213,22870028390806296,278862330338622618,3416227165353152976,42026974738864811934,51898575787509...
; A262734: Period 16: repeat (1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2). ; 1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8...
#Mergesort for benchmarking #Optimized for 512 bit I$ 1024 bit D$ #Author Adam Hendrickson ahendri@purdue.edu #CORE 0 org 0x0000 ori $fp, $zero, 0xFFFC ori $sp, $zero, 0xFFFC ori $a0, $zero, data lw $s0, size($zero) srl $a1, $s0, 1 or $s1, $zero, $a0 or $s2, $zero, $a1 jal insertion...
;FINAL .include "m2560def.inc" .def temp =r21 .def row =r17 .def col =r18 .def mask =r19 .def temp2 =r20 .def count_letter =r22 ;multiple times .def push_flag=r23 ;whether any button has pushed .def letter_num = r24 ;maximum number .def finish_input_flag =r25 ;0 is pushed, input finish .def temp_count_...
; A033415: [ 95/n ]. ; 95,47,31,23,19,15,13,11,10,9,8,7,7,6,6,5,5,5,5,4,4,4,4,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 add $0,1 mov $1,95 div $1,$0
TITLE Assignment 4 (Project04.asm) ; Name: Brandon Lee ; Email: leebran@onid.oregonstate.edu ; Class: CS271 Section 400 ; Assignment: #4 ; Due Date: 4/10/15 ; Description: The fourth homework assignment - procedures, loops, nested loops, data validation INCLUDE Irvine32.inc LOWER = 1 UPPER = 400 ...
#include "mission_raw_impl.h" #include "system.h" #include "global_include.h" #include <fstream> // for `std::ifstream` #include <sstream> // for `std::stringstream` #include <cmath> namespace dronecode_sdk { using namespace std::placeholders; // for `_1` MissionRawImpl::MissionRawImpl(System &system) : PluginImplBa...
#include <helper.h> unsigned int Helper::getLedSpeed(DistanceSensor sensor) { // TODO use percent values to release dependency to fixed warn distance if (sensor.getDistance() <= 50) { return 3; } if (sensor.getDistance() <= 100) { return 2; } return 1; }
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1b835, %rcx nop sub $18820, %r13 mov (%rcx), %eax sub $30841, %rax lea addresses_D_ht+0x73d5, %r8 nop dec %r9 mov $0x6162636465666768, %r10 movq %r10, %xmm4 and $0xfffffff...
; ----- bool multipoint(int hv, int length, int x, int y) ;Usage: ;pick a vertical or horizontal bit bar, up to 16 bits long IF !__CPU_INTEL__ && !__CPU_GBZ80__ SECTION code_graphics PUBLIC multipoint_callee PUBLIC _multipoint_callee PUBLIC asm_multipoint EXTERN w_pointxy EXTERN swapg...
; A274536: a(n) = 6 * sigma(n). ; 6,18,24,42,36,72,48,90,78,108,72,168,84,144,144,186,108,234,120,252,192,216,144,360,186,252,240,336,180,432,192,378,288,324,288,546,228,360,336,540,252,576,264,504,468,432,288,744,342,558,432,588,324,720,432,720,480,540,360,1008,372,576,624,762,504,864,408,756,576,864,432,1170,444,684,...
; Define some selectors. SCodeSelector equ 0x08 ; System Code Selector SDataSelector equ 0x10 ; System Data Selector VideoSelector equ 0x18 ; Video Selector TSS1Selector equ 0x20 TSS2Selector equ 0x28 ; Define the location of read sectors num ReadSectors equ 0x0ff0 ; Define the location of keybo...
;***************************************************************************** ;* Copyright (C) 2005-2010 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Fiona Glaser <fiona@x264.com> ;* ;* This file is part of Libav. ;* ;* Libav is free software; you can redistribute it and/or ;* modify...
// // Created by nunol on 12/31/2021. // #include "Engine/Graphics/Renderer.hpp" #include <stdexcept> #include <array> using namespace nl::gfx; Renderer::Renderer(Window &window, Device &device) : _window{window}, _device{device} { recreateSwapChain(); createCommandBuffers(); } Renderer::~Renderer() { freeComma...
; A220492: Number of primes p between quarter-squares, Q(n) < p <= Q(n+1), where Q(n) = A002620(n). ; 0,0,1,1,1,1,1,1,2,1,1,1,2,2,1,2,2,2,2,1,4,1,2,2,2,3,3,2,2,2,4,2,4,3,1,4,2,4,3,3,3,4,4,3,4,3,2,4,4,5,4,4,4,3,4,4,4,5,4,4,4,4,5,5,5,4,6,4,4,5,5,5,7,2,3,6,6,6,6,5,8,4,5,6,5,4,7 mov $3,2 mov $5,$0 lpb $3,1 mov $0,$5 s...