text
stringlengths
1
1.05M
#include "HandleImageProcessing.h" namespace AI::ImageProcessing { template <typename T> void HandleImageProcessing<T>::processImage(T& args) { processEvent(this, args); } }
; A317365: Expansion of e.g.f. x*exp(x/(1 + x))/(1 + x). ; Submitted by Jon Maiga ; 0,1,0,-3,16,-75,336,-1295,1632,55881,-1124000,16722981,-229985040,3089923837,-41225160144,545880027225,-7069180940864,86130735547665,-882387869940288,3847692639294541,171852333163131600,-8392137456287472699,276055495385982856720,-806794...
; A195013: Multiples of 2 and of 3 interleaved: a(2n-1) = 2n, a(2n) = 3n. ; 2,3,4,6,6,9,8,12,10,15,12,18,14,21,16,24,18,27,20,30,22,33,24,36,26,39,28,42,30,45,32,48,34,51,36,54,38,57,40,60,42,63,44,66,46,69,48,72,50,75,52,78,54,81,56,84,58,87,60,90,62,93,64,96,66,99,68,102,70,105,72,108,74,111,76,114,78,117,80,120,82,1...
// Copyright (C) 2000-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your op...
/* * Timer_counter_0.inc * * Date: 09.01.2016 15:58:11 * Author: Borko Rajkovic */ ; Timer/Counter0 Init TC0_INIT: ldi tmpReg, (1<<WGM01)|(5<<CS00) ; Setup existing clock prescaler to 1024 (C...
#include <graphene/chain/contract_object.hpp> #include <graphene/chain/contract_function_register_scheduler.hpp> namespace graphene { namespace chain { bool register_scheduler::is_owner() { return caller == contract.owner; } void register_scheduler::set_permissions_flag(bool flag) { try { FC_ASSERT...
#include "pyhelp.h" // include first to avoid annoying redef warning #include "history.h" namespace py = pybind11; PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>) namespace neml { PYBIND11_MODULE(history, m) { m.doc() = "Internal variable tracking system."; py::class_<History, std::shared_ptr<History>>(m,...
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you mPrimitiveFields.may not use this file except in compliance with the License. * You mPrimitiveFields.may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
; A007334: Number of spanning trees in the graph K_{n}/e, which results from contracting an edge e in the complete graph K_{n} on n vertices (for n>=2). ; 1,2,8,50,432,4802,65536,1062882,20000000,428717762,10319560704,275716983698,8099130339328,259492675781250,9007199254740992,336755653118801858,13493281232954916864,57...
// license:BSD-3-Clause // copyright-holders:Mike Balfour /************************************************************************* audio\bsktball.c *************************************************************************/ #include "emu.h" #include "includes/bsktball.h" #include "sound/discrete.h" /***********...
# # Test for instructions XTR, NTR, RТЕ, UZA, U1A, УТА. # org 1 lbl start vtm ws+1,15 ita 0 vtm 0o77,2 vtm -63,3 # 1-64 lbl loop ntr 0,2 rte 0o77 atx ws its 2 asn 23 # 64-41 aex ...
; $Id: bit_close.asm,v 1.3 2016-06-16 19:33:59 dom Exp $ ; ; VG-5000 1 bit sound functions ; ; void bit_click(); ; ; Stefano Bodrato - 2014 ; SECTION code_clib PUBLIC bit_close PUBLIC _bit_close .bit_close ._bit_close ret
Name: zel_ram.asm Type: file Size: 65428 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: A398140B1961450E04B70E7B2C9DFDA113D0CD6C Description: null
; A158638: a(n) = 48*n^2 + 1. ; 1,49,193,433,769,1201,1729,2353,3073,3889,4801,5809,6913,8113,9409,10801,12289,13873,15553,17329,19201,21169,23233,25393,27649,30001,32449,34993,37633,40369,43201,46129,49153,52273,55489,58801,62209,65713,69313,73009,76801,80689,84673,88753,92929,97201,101569,106033,110593,115249,120001,...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; ba_stack_t *ba_stack_init(void *p, void *data, size_t capacity) ; ; Initialize a byte array stack structure at address p and set the ; stack's initial data and capacity me...
/*++ Copyright (c) 2013 Microsoft Corporation Module Name: opt_context.cpp Abstract: Facility for running optimization problem. Author: Anh-Dung Phan (t-anphan) 2013-10-16 Notes: --*/ #include "util/gparams.h" #include "ast/for_each_expr.h" #include "ast/ast_pp.h" #include "ast/bv_decl_plugin.h" #i...
; A198410: ((3^(n-1) + 1)^3 -1)/3^n. ; 7,37,271,2269,19927,177877,1596511,14355469,129159847,1162320517,10460530351,94143710269,847290203767,7625602267957,68630391713791,617673439330669,5559060695695687,50031545486420197,450283907053258831,4052555156505760669,36472996387631139607,328256967425918137237,29543127066449768...
; A001547: a(n) = (7*n+1)*(7*n+2)*(7*n+4). ; 8,792,4320,12650,27840,51948,87032,135150,198360,278720,378288,499122,643280,812820,1009800,1236278,1494312,1785960,2113280,2478330,2883168,3329852,3820440,4356990,4941560,5576208,6262992,7003970,7801200,8656740,9572648,10550982,11593800,12703160,13881120,15129738,16451072,1...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D94 move.l D1, (A1)+ 004D96 dbra D0, $4d94 012D0A add.w ($56,A6), D0 [123p+ 54, enemy+54, item+54] 012D0E move.w ($c,A6), D1 [123p+ 56, enemy+56, item+56] 012D32 add.w ($56,A6), D0 [123p+ 54, ...
/*- * Copyright (c) 2003 Hidetoshi Shimokawa * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa * 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 ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2013, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
/* * All Video Processing kernels * Copyright © <2010>, 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 ri...
; Internal routine to write long at far pointer ; 31/3/00 GWL ; Entry: E'H'L'=far pointer ; DEHL=long ; ; $Id: lp_plong.asm,v 1.4 2016-06-10 22:42:22 dom Exp $ ; SECTION code_clib PUBLIC lp_plong EXTERN farseg1,incfar .lp_plong ld a,($04d1) ex af,af' p...
// Copyright (c) 2011-2016 The vhkdCoin Core vhkd // 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/vhkd-config.h" #endif #include "utilitydialog.h" #include "ui_helpmessagedialog.h" ...
//================================================================================================= /*! // \file src/mathtest/operations/smatdmatschur/LCbLDb.cpp // \brief Source file for the LCbLDb sparse matrix/dense matrix Schur product math test // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved...
#include "AiGameObject.h" AiGameObject::AiGameObject(const std::string& name_, MATH::Vec3 position_) { name = name_; SetPos(position_); mRenderer = AddComponent<MeshRenderer>(); mRenderer->LoadModel("Plane.fbx"); mRenderer->CreateShader("DefaultVert.glsl", "DefaultFrag.glsl"); AddComponent<RigidBody3D>(); aiC...
; A178869: a(n) = 9*a(n-1) - 10*a(n-2); a(0)=0, a(1)=1. ; Submitted by Jamie Morken(s2) ; 0,1,9,71,549,4231,32589,250991,1933029,14887351,114655869,883029311,6800705109,52376052871,403377424749,3106636294031,23925952398789,184267208648791,1419145353851229,10929636098173151,84175271345046069 mov $2,1 lpb $0 sub $0,1 ...
#ifndef OBJECTS_OBJMGR___SEQ_MAP_CI__HPP #define OBJECTS_OBJMGR___SEQ_MAP_CI__HPP /* $Id: seq_map_ci.hpp 496211 2016-03-24 15:33:11Z vasilche $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechn...
SECTION rodata_font_fzx PUBLIC _ff_ind_TerminoLatin5 _ff_ind_TerminoLatin5: BINARY "font/fzx/fonts/ind/Termino/Termino_Latin5.fzx"
global _start section .text _start: jmp code hello_world: db 'hello world',0xa code: mov al, 1 xor rdi, rdi add rdi, 1 lea rsi, [rel hello_world] xor rdx,rdx add rdx,12 syscall xor rax,rax add rax,60 xor rdi,rdi syscall
// 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 "google_apis/gcm/base/socket_stream.h" #include <stdint.h> #include <memory> #include <string> #include <utility> #include <vector> #include "...
; Z88 Small C+ Run Time Library ; Long functions ; SECTION code_clib SECTION code_l_sccz80 PUBLIC l_long_xor l_long_xor: ; dehl = secondary ; stack = primary, ret pop ix pop bc ld a,c xor l ld l,a ld a,b xor h ld h,a pop bc ld a,c xor e ...
#include "ScanImageTo3D.h" #include "RegardRGBDMainWindow.h" #include <iostream> #include <sstream> #include <limits> #include <Eigen/LU> #include <Eigen/Geometry> #include <open3d/pipelines/registration/GlobalOptimization.h> #include <open3d/pipelines/color_map/ColorMapOptimization.h> ScanImageTo3D:...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR THE BIFROST*2 ENGINE ; ; See "bifrost2.h" for further details ; ---------------------------------------------------------------- ; unsigned char BIFROST2_getTile(unsigned int px,unsigned int py) ; callee SECTION code_clib...
; A141104: Lower Even Swappage of Upper Wythoff Sequence. ; 2,4,6,10,12,14,18,20,22,26,28,30,34,36,38,40,44,46,48,52,54,56,60,62,64,68,70,72,74,78,80,82,86,88,90,94,96,98,102,104,106,108,112,114,116,120,122,124,128,130,132,136,138,140,142,146,148,150,154,156,158,162 add $0,1 mul $0,34 div $0,26 mul $0,2 mov $1,$0
CAPS_ON - Turn the keyboard CAPS LOCK key on ; ; inputs: none ; output: none ;* * * * * * * * * * * * * *  CAPS_ON PROC FAR push ax MOV AX,40FFh JMP keyboard_set CAPS_ON ENDP comment  ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -(MOUSE/KEY) NUMLOCK_ON - Turn the keyboar...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; size_t strlcat(char * restrict s1, const char * restrict s2, size_t n) ; ; Append chars from s2 to s1 such that the total length of the resulting s1 ; is maximum n chars i...
Music_MeetEvilTrainer_Ch0:: tempo 124 volume 7, 7 duty 2 toggleperfectpitch notetype 12, 11, 1 rest 4 octave 3 D_ 2 C# 2 notetype 12, 4, 15 D_ 4 Music_MeetEvilTrainer_branch_7f6ae:: notetype 12, 10, 1 D_ 4 D_ 4 D_ 4 notetype 12, 7, 0 D_ 4 loopchannel 0, Music_MeetEvilTrainer_branch_7f6ae Music_Meet...
; Map structure: ; Field size: 128x128 ; Each tile is 2 bytes worth: ; - If it's grass or a stump, the first byte is the type; the second byte is not used ; - If it's a tree or resource, the first byte is the type; the second byte is how full the tree/resource is ; - If it's a building, the first byte is the ty...
; ; VDP line interrupt timer ; ; 300 Hz resolution ; LineTimer_SAMPLES: equ 147 LineTimer_LINESTEP_60HZ: equ 52 LineTimer_LINESTEP_50HZ: equ 51 LineTimer_IE1: equ 00010000B LineTimer: MACRO super: Timer LineTimer_Start, LineTimer_Stop, LineTimer_Reset, Update liffy: equ LineInterruptHandler.liffy lastLiffy: db 0 ...
; A304384: a(n) = 168*2^n - 26 (n>=1). ; 310,646,1318,2662,5350,10726,21478,42982,85990,172006,344038,688102,1376230,2752486,5504998,11010022,22020070,44040166,88080358,176160742,352321510,704643046,1409286118,2818572262,5637144550,11274289126,22548578278,45097156582,90194313190,180388626406,360777252838,721554505702,1...
;------------------------------------------------------------------------------ ; ; CpuFlushTlb() for ARM ; ; Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> ; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ;-------...
/* Copyright 2015 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...
;=============================================================================== ; Util to invoke a HBIOS function ; Usage B C .... ; stksiz .equ $200 ; Working stack size restart .equ $0000 ; CP/M restart vector bdos .equ $0005 ; BDOS invocation vector #DEFINE PRTS(S) CALL prtstrd \ .TEXT S ;====================...
// Copyright (c) 2009-2018 The Karmacoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <psbt.h> #include <util/strencodings.h> #include <numeric> PartiallySignedTransaction::PartiallySignedTransactio...
; $Id: bs3-cmn-RegGetTr.asm 72138 2018-05-07 13:03:51Z vboxsync $ ;; @file ; BS3Kit - Bs3RegGetTr ; ; ; Copyright (C) 2007-2018 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or m...
; ; int fdgetpos(int fd, long *dump) ; ; Return position in file ; ; This returns longs even though there's no real need to do so ; ; $Id: fdgetpos.asm,v 1.2 2003/10/13 22:57:00 dom Exp $ XLIB fdgetpos INCLUDE "#p3dos.def" LIB l_plong XREF dodos .fdgetpos pop hl ;ret address pop de ;where to stor...
// 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 "net/http/http_auth_controller.h" #include <utility> #include "base/bind.h" #include "base/callback_helpers.h" #include "base/metrics/histo...
/*========================================================================= Library: CTK Copyright (c) Kitware Inc. 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.ap...
SECTION code_fp_math48 PUBLIC ___fs2sint_callee EXTERN cm48_sdccixp_ds2sint_callee defc ___fs2sint_callee = cm48_sdccixp_ds2sint_callee
.gba .create "out.bin",0 .area 0x8 .fill 0x8 .close .endarea .macro myopen,offset .open "out2.bin",offset .endmacro .area 0x8 myopen 4 .endarea .close
comment * Algo : GOST Block : 8 bytes Key : 32 bytes (256 b) push offset key ;password ptr, exactly 32 bytes readed as key !!! push offset plain ;data to encrypt ptr push offset encrypted_buf ;destination ptr call Gost_Crypt push offset key ;password ptr, exactly 32 bytes readed as key !!! push offset encr...
/** * @file soil.cpp * @author Bernd Giesecke (bernd.giesecke@rakwireless.com) * @brief Soil sensor initialization and readings * @version 0.1 * @date 2021-08-17 * * @copyright Copyright (c) 2021 * */ #include "app.h" /** Sensor */ RAK12035 sensor; soil_data_s g_soil_data; struct calib_values_s { uint16_t ...
#pragma once #include <mutex> #include <thread> #include <glm/mat4x4.hpp> // mat4 #include "sound/sound.hpp" void loadAudio(); void debugPrintAudio(); typedef short SoundSample; class VehicleEngineAudioStream : public sf::SoundStream { public: void initializeEngineAudio(); void setEngineRpm(float newR...
; Startup Code for pacman machine ; ; B. Leperchey 2012 ; ; -startup=2 --> provide an IRQ handler (now required for the Tetris game) ; ; $Id:$ ; DEFC ROM_Start = $0000 DEFC INT_Start = $0038 DEFC NMI_Start = $0066 DEFC CODE_Start = $0100 DEFC VRAM_Start = $4000 DEFC VRAM_Length= $0400 DEFC C...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1e1e9, %r12 nop nop nop sub %rbx, %rbx movups (%r12), %xmm4 vpextrq $1, %xmm4, %r11 nop nop nop nop add $38779, %r10 lea addresses_D_ht+0x167e9, %r15 nop...
%include "util.mac" extern buffer, store, array, inprompt, newline, arraysize, inpromptsize, newlinesize, inputarray, printarray section .data outprompt1: db 'MAXIMUM OUTPUT: ' outprompt2: db 'MINIMUM OUTPUT: ' outpromptsize: equ 8 section .bss max: resb 1 min: resb 1 section .text global _start _start: call...
; A116523: a(0)=1, a(1)=1, a(n) = 17*a(n/2) for n=2,4,6,..., a(n) = 16*a((n-1)/2) + a((n+1)/2) for n=3,5,7,.... ; 0,1,17,33,289,305,561,817,4913,4929,5185,5441,9537,9793,13889,17985,83521,83537,83793,84049,88145,88401,92497,96593,162129,162385,166481,170577,236113,240209,305745,371281,1419857,1419873,1420129,1420385,14...
// Generated from /POI/java/org/apache/poi/util/RLEDecompressingInputStream.java #include <org/apache/poi/util/RLEDecompressingInputStream.hpp> #include <java/io/ByteArrayInputStream.hpp> #include <java/io/ByteArrayOutputStream.hpp> #include <java/io/InputStream.hpp> #include <java/lang/IllegalArgumentException.hpp> #...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ZeroMem.nasm ; ; Abstract: ; ; ZeroMem function ; ; Notes: ; ;--------------------------------------...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 91 call lwaitly_b ld hl, fe00 ld d, 10 ld a, d ld(hl++), a ld a, 0d ld(hl++), a inc l inc l ld a, d ld(hl++), ...
; A047619: Numbers that are congruent to {1, 2, 5} mod 8. ; 1,2,5,9,10,13,17,18,21,25,26,29,33,34,37,41,42,45,49,50,53,57,58,61,65,66,69,73,74,77,81,82,85,89,90,93,97,98,101,105,106,109,113,114,117,121,122,125,129,130,133,137,138,141,145,146,149,153,154,157,161,162,165,169,170,173,177,178,181,185,186,189,193,194,197,20...
; A077588: Maximum number of regions into which the plane is divided by n triangles. ; 1,2,8,20,38,62,92,128,170,218,272,332,398,470,548,632,722,818,920,1028,1142,1262,1388,1520,1658,1802,1952,2108,2270,2438,2612,2792,2978,3170,3368,3572,3782,3998,4220,4448,4682,4922,5168,5420,5678,5942,6212,6488 mul $0,3 sub $2,$0 tr...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 110 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %25 %85 OpExecutionMode %4 Ori...
<% from pwnlib.shellcraft.amd64.linux import setsockopt from pwnlib.shellcraft.amd64 import push from pwnlib.constants import SOL_SOCKET, SO_RCVTIMEO %> <%page args="sock, secs"/> <%docstring> Invokes the syscall for setsockopt to set a timeout on a socket in seconds. See 'man 2 setsockopt' for more informa...
; A test program for the jasmZ80 assembler ; This assembly program tests the following instructions: ; - ld (bc/de), a ; - ld a, (bc/de) ; - jp (hl) ; - ld (**), hl ; - ld hl, (**) ; - ld (**), a ; - ld (**), bc ; ; NOTE: This program's intention is to test the jasmZ80 assembler ; (and possibly other assemblers) NOT t...
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosMakePipe DOS wrapper ; ; (c) osFree Project 2022, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev...
; A271389: a(n) = 2*a(n-1) + a(n-2) + n^2 for n>1, with a(0)=0, a(1)=1. ; 0,1,6,22,66,179,460,1148,2820,6869,16658,40306,97414,235303,568216,1371960,3312392,7997033,19306782,46610958,112529098,271669595,655868772,1583407668,3822684684,9228777661,22280240682,53789259754,129858760974,313506782543,756872326960,1827251437...
/* * * Copyright (c) 2021 Project CHIP Authors * * 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 requir...
#include <service/endpoint_state.hpp> #include <exit/session.hpp> #include <hook/shell.hpp> #include <service/endpoint.hpp> #include <service/outbound_context.hpp> #include <util/str.hpp> namespace llarp { namespace service { bool EndpointState::SetOption(const std::string& k, const std::string& v, ...
; A033567: a(n) = (2*n-1)*(4*n-1). ; 1,3,21,55,105,171,253,351,465,595,741,903,1081,1275,1485,1711,1953,2211,2485,2775,3081,3403,3741,4095,4465,4851,5253,5671,6105,6555,7021,7503,8001,8515,9045,9591,10153,10731,11325,11935,12561,13203,13861,14535,15225,15931,16653,17391,18145,18915,19701,20503,21321,22155,23005,23871,2...
; ; S-OS specific routines ; by Stefano Bodrato, 2013 ; ; Set the current S-OS file name and type ; ; ; int sos_file(char *name,type) ; ; ; $Id: sos_file_callee.asm,v 1.5 2016-06-19 20:58:00 dom Exp $ ; SECTION code_clib PUBLIC sos_file_callee PUBLIC _sos_file_callee PUBLIC asm_sos_file sos_file_callee: _sos_file_...
/** * @file LinkedList.hpp * @brief The main header file for the LinkedList Class */ #ifndef _LINKED_LIST_HPP_ #define _LINKED_LIST_HPP_ struct LLNode { int key; LLNode *next; }; class LinkedList { private: LLNode *head; public: LinkedList(); ~LinkedList(); void insert(LLNode *prev, int ne...
ASSUME CS: code, DS:data ; 8. Print of the screen, for each number between 32 and 126, the value ; of the number (in base 10) and the character whose ASCII code the number is. data SEGMENT public i_start DB 32 i_end DB 126 data ENDS code SEGMENT public ; import print procedure extrn print:proc start: mo...
; A119479: Length of longest run of consecutive integers having exactly n divisors. ; 1,2,1,3,1,5,1,7,1,3,1 pow $0,2 mov $2,$0 lpb $0 div $0,2 add $3,$2 mov $4,$0 cmp $4,0 add $0,$4 gcd $0,$3 sub $2,1 mul $0,$2 add $1,7 lpe div $1,7 add $1,1 mov $0,$1
;************************************************************************** ;* ;* FILE runner.asm ;* Copyright (c) 1994, 2001, 2003 Daniel Kahlin <daniel@kahlin.net> ;* Written by Daniel Kahlin <daniel@kahlin.net> ;* $Id: runner.asm,v 1.12 2003/08/26 16:51:38 tlr Exp $ ;* ;* DESCRIPTION ;* runner for packed vic-trac...
; A168489: Numbers that are congruent to {7,11} mod 12. ; 7,11,19,23,31,35,43,47,55,59,67,71,79,83,91,95,103,107,115,119,127,131,139,143,151,155,163,167,175,179,187,191,199,203,211,215,223,227,235,239,247,251,259,263,271,275,283,287,295,299,307,311,319,323,331,335,343,347,355,359,367,371,379,383,391,395,403,407,415,419...
; ; Disk 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 TITLE DISK - Disk utility routines NAME Disk i_need COUTDSAV,BYTE i_need COUTSAV,DW...
OPT --zxnext --syntax=abfw : ORG $1234 RELOCATE_START ASSERT 2 * relocate_count == relocate_size ASSERT 12 == relocate_count dw relocate_count dw relocate_size reloc1: ; generate two relocation records: ld hl,reloc1,,bc,reloc2-reloc1,,de,reloc1+5,,sp,absolute1 jp ...
; PROLOGUE(mpn_sumdiff_n) ; ; Copyright 2011 The Code Cavern ; ; Windows Conversion Copyright 2008 Brian Gladman ; ; This file is part of the MPIR Library. ; ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published...
; int isalnum(int c) SECTION code_clib SECTION code_ctype PUBLIC isalnum EXTERN asm_isalnum, error_zc isalnum: inc h dec h jp nz, error_zc ld a,l call asm_isalnum ld l,h ret c inc l ret ; SDCC bridge for Classic IF __CLASSIC PUBLIC _isalnum defc _isalnum = isalnum ENDIF
lui $1,62486 ori $1,$1,45572 lui $2,21452 ori $2,$2,59355 lui $3,22214 ori $3,$3,65088 lui $4,58524 ori $4,$4,31651 lui $5,47094 ori $5,$5,64407 lui $6,26673 ori $6,$6,57819 mthi $1 mtlo $2 sec0: nop nop nop or $0,$6,$6 sec1: nop nop subu $6,$1,$2 or $4,$6,$6 sec2: nop nop xori $6,$4,27956 or $1,$6,$6 sec3:...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x10332, %rsi lea addresses_WC_ht+0x1dbb4, %rdi add %r13, %r13 mov $48, %rcx rep movsb nop nop nop sub $22787, %r10 lea addresses_WT_ht+0x3f8c, %rax nop nop nop nop nop xor %r...
/** * @file oglplus/shapes/cage.hpp * @brief Cage builder * * @author Matus Chochlik * * Copyright 2010-2013 Matus Chochlik. 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) */ #pragma once #ifndef OGLP...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_TekWall_Sloped_Left_SM_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------...
;***************************************************************************** ;* x86util.asm: x86 utility macros ;***************************************************************************** ;* Copyright (C) 2008-2014 x264 project ;* ;* Authors: Holger Lubitz <holger@lubitz.org> ;* Loren Merritt <lorenm@u.wa...
; A269446: a(n) = n*(n^6 + n^3 + 1)*(n^6 - n^3 + 1)*(n^2 + n + 1)*(n^2 - n + 1)*(n + 1) + 1. ; 1,19,524287,581130733,91625968981,4768371582031,121871948002099,1899815864228857,20587884010836553,168856464709124011,1111111111111111111,6115909044841454629,29043636306420266077,121826690864620509223,459715689149916492091,15...
; A167548: The fifth row of the ED1 array A167546 ; 24,240,960,2688,6144,12264,22200,37320,59208,89664,130704,184560,253680,340728,448584,580344,739320,929040,1153248,1415904,1721184,2073480,2477400,2937768,3459624,4048224,4709040,5447760,6270288,7182744,8191464,9303000,10524120,11861808,13323264,14915904,16647360,1852...
#pragma once #include "../../../JObject.hpp" namespace android::hardware::biometrics { class BiometricPrompt_AuthenticationCallback; } namespace android::hardware::biometrics { class BiometricPrompt_CryptoObject; } namespace android::os { class CancellationSignal; } namespace android::hardware::biometrics { clas...
; ; z88dk library: Generic VDP support code ; ; int msx_vram(); ; ; Detects the VRAM size (in KB) ; ; $Id: gen_vram.asm,v 1.3 2016/06/16 19:30:25 dom Exp $ ; SECTION code_clib PUBLIC msx_vram PUBLIC _msx_vram INCLUDE "msx/vdp.inc" msx_vram: _msx_vram: ld hl,VRAM_SIZE ret
; A078049: Expansion of (1-x)/(1+x+2*x^2-x^3). ; Submitted by Simon Strandgaard ; 1,-2,0,5,-7,-3,22,-23,-24,92,-67,-141,367,-152,-723,1394,-100,-3411,5005,1717,-15138,16709,15284,-63840,49981,92983,-256785,120800,485753,-984138,133432,2320597,-3571599,-936163,10399958,-12099231,-9636848,44235268,-37060803,-61046581,179...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x15488, %rsi lea addresses_A_ht+0x66cc, %rdi nop nop nop nop nop sub %rax, %rax mov $105, %rcx rep movsw nop nop lfence lea addresses_WT_ht+0x135c8, %r15 nop nop xor $5664...
object_const_def ; object_event constants const GOLDENRODNAMERATER_NAME_RATER GoldenrodNameRater_MapScripts: db 0 ; scene scripts db 0 ; callbacks GoldenrodNameRater: faceplayer opentext special NameRater waitbutton closetext end GoldenrodNameRaterBookshelf: jumpstd difficultbookshelf GoldenrodNameRater...
; A040133: Continued fraction for sqrt(146). ; 12,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12,24,12 pow $1,$0 sub $1,2 gcd $1,$0 mul $1,12 mov $0,$1
#include "stdafx.h" #include "FFmpegAVDecoder.h" #include "Util/FFmpeg/FFmpegUtils.h" #include "UseLoggerLibBlackVision.h" namespace bv { // ********************************* // FFmpegAVDecoder::FFmpegAVDecoder ( AVAssetConstPtr asset ) : m_muted( false ) , m_paused( false ) { auto path = ass...
; ; ZX Spectrum specific routines ; by Stefano Bodrato, 29/06/2006 ; ; Copy a string to a BASIC variable ; ; int __CALLEE__ zx_setstr_callee(char variable, char *value); ; ; ; $Id: zx_setstr_callee.asm,v 1.1 2007/06/13 00:03:17 aralbrec Exp $ ; XLIB zx_setstr_callee XDEF ASMDISP_ZX_SETSTR_CALLEE zx_setstr_callee: p...
; A214045: Least m>0 such that n! <= 5^m. ; 1,1,2,2,3,5,6,7,8,10,11,13,15,16,18,20,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,56,58,60,62,64,67,69,71,74,76,78,81,83,86,88,90,93,95,98,100,103,105,108,110,113,115,118,120,123,125,128,131,133,136,138,141,144,146,149,152,154,157,160,162,165,168,171,173,176,179,182,1...
#include <cmath> #include "../include/Scene.h" // Classe responsável por controlar os objetos em renderização Scene::Scene(const GLint &program){ this->_program = program; this->_id_current_obj = 0; } void Scene::insertObject(Object &obj){ this->_objects.insert(this->_objects.end(), obj); } void Scene::n...
/*! * @file * @brief Camera Controller * @author Gus Grubba <mavlink@grubba.com> * */ #include "QGCCameraControl.h" #include "QGCCameraIO.h" #include "SettingsManager.h" #include "VideoManager.h" #include "QGCMapEngine.h" #include <QDir> #include <QStandardPaths> #include <QDomDocument> #include <QDomNodeLis...
bits 64 sub rsp, 8 sub rsp, 128 sub rdi, r10 sub al, 10 sub ax, 10 sub rdx, rcx sub rax, 32 sub [rbp-40], rax ; sub rdi, [rbp-72] sub eax, dword [rdi+44] sub dword [rdi+44], 1 sub r10, rcx