text
stringlengths
1
1.05M
/** * @file * @copyright defined in eos/LICENSE.txt */ #pragma once namespace eosio { namespace client { namespace http { fc::variant call( const std::string& server, uint16_t port, const std::string& path, const fc::variant& postdata = fc::variant() ); const strin...
; double __FASTCALL__ tan(double x) SECTION code_fp_math48 PUBLIC cm48_sccz80_tan EXTERN am48_tan defc cm48_sccz80_tan = am48_tan
; A120157: a(1)=13; a(n)=floor((39+sum(a(1) to a(n-1)))/3). ; 13,17,23,30,40,54,72,96,128,170,227,303,404,538,718,957,1276,1701,2268,3024,4032,5376,7168,9558,12744,16992,22656,30208,40277,53703,71604,95472,127296,169728,226304,301738,402318,536424,715232,953642,1271523,1695364,2260485,3013980,4018640,5358187,7144249,95...
/** * Marlin 3D Printer Firmware * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
SECTION code_fp_math16 PUBLIC powf16_callee EXTERN cm16_sccz80_pow_callee defc powf16_callee = cm16_sccz80_pow_callee ; SDCC bridge for Classic IF __CLASSIC PUBLIC _powf16_callee defc _powf16_callee = powf16_callee ENDIF
; A071575: Number of iterations of cototient(n) needed to reach 1 (cototient(x) = x-phi(x)). ; 0,1,1,2,1,3,1,3,2,4,1,4,1,4,2,4,1,5,1,5,3,5,1,5,2,5,3,5,1,6,1,5,2,6,2,6,1,6,3,6,1,7,1,6,4,6,1,6,2,7,2,6,1,7,3,6,4,7,1,7,1,6,4,6,2,7,1,7,3,7,1,7,1,7,3,7,2,8,1,7,4,8,1,8,4,7,2,7,1,8,2,7,3,7,2,7,1,7,4,8 lpb $0 mov $2,$0 seq...
#include <Maestro.H> #include <Maestro_F.H> using namespace amrex; void Maestro::EstDt() { // timer for profiling BL_PROFILE_VAR("Maestro::EstDt()", EstDt); // allocate a dummy w0_force and set equal to zero Vector<Real> w0_force_dummy((base_geom.max_radial_level + 1) * ...
opt l- /* ----------------------------------------------------------------------- /* CPU 6502 /* 19.04.2018 /* ----------------------------------------------------------------------- /* 16.03.2019 poprawka dla @printPCHAR, @printSTRING gdy [YA] = 0 /* /* --------------------------...
// Copyright (c) 2011-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "guiutil.h" #include "bitcoinaddressvalidator.h" #include "bitcoinunits.h" #include "qvalidatedlineedit.h" #include...
////////////////////////////////////////////////////////////////////// // merlin/TreeInfo.cpp // (c) 2000-2007 Goncalo Abecasis // // This file is distributed as part of the MERLIN source code package // and may not be redistributed in any form, without prior written // permission from the author. Permission ...
/* * OldTLogServer_6_2.actor.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
macro print,val,pos pha lda \1 and #%11110000 lsr lsr lsr lsr clc adc #$30 sta $0400+\2 lda \1 and #%00001111 clc adc #$30 sta $0401+\2 pla endmacro macro inc16,val,label inc \1 bne \2 inc \1+1 \2: endmacro macro pushall pha txa pha ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xa1f9, %rsi lea addresses_WC_ht+0x1efd9, %rdi xor $43189, %r15 mov $92, %rcx rep movsq nop nop nop cmp $57321, %r15 lea addresses_WT_ht+0x10c39, %rdi nop nop nop cmp $27843, %rcx movb $0x61,...
; A298029: Coordination sequence of Dual(3.4.6.4) tiling with respect to a trivalent node. ; 1,3,6,12,18,33,39,51,57,69,75,87,93,105,111,123,129,141,147,159,165,177,183,195,201,213,219,231,237,249,255,267,273,285,291,303,309,321,327,339,345,357,363,375,381,393,399,411,417,429,435,447,453,465,471,483,489,501,507,519,525...
include w2.inc include noxport.inc include consts.inc include structs.inc createSeg fieldsp_PCODE,fieldspn,byte,public,CODE ; DEBUGGING DECLARATIONS ifdef DEBUG midFieldspn equ 23 ; module ID, for native asserts endif ;DEBUG ; EXPORTED LABELS ; EXTERNAL FUNCTION...
// // Boost.Process // Regression tests for the detail::command_line functions. // // Copyright (c) 2006 Julio M. Merino Vidal. // // 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.) // #include <boost/process/conf...
// Copyright (c) 2017-2019 The yep developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "libzerocoin/Denominations.h" #include "libzerocoin/CoinSpend.h" #include "libzerocoin/Accumulator.h" #include "zyep/zerocoin...
cpu hd6413309 maxmode on page 0 relaxed on dc.w 1234 dc.w $4d2 dc.w @2322 dc.w %10011010010 dc.w 4d2h dc.w 2322o dc.w 10011010010b dc.w 0x4d2 dc.w 02322 nop sleep rts rte eepmov eepmov.b eepmov.w dec r2h dec #1,r5l dec r4 dec #1,...
; A186500: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=i^2 and g(j)=-4+5j^2. Complement of A186499. ; 2,6,9,12,16,19,22,25,29,32,35,38,42,45,48,51,54,58,61,64,67,71,74,77,80,84,87,90,93,97,100,103,106,110,113,116,119,122,126,129,132,135,139,142,145,148,152,155,158...
; A052641: Expansion of e.g.f. (1-x)/(1-3*x-x^2+x^3). ; Submitted by Jon Maiga ; 1,2,14,132,1704,27360,527760,11874240,305343360,8833224960,283928198400,10038995366400,387222498432000,16180539927552000,728132005791590400,35106736224688128000,1805508406018437120000,98659182376425775104000,5708198840012560539648000,34861...
; A026119: Bisection of A000016 (also of A000013). ; Submitted by Jon Maiga ; 1,2,4,10,30,94,316,1096,3856,13798,49940,182362,671092,2485534,9256396,34636834,130150588,490853416,1857283156,7048151672,26817356776,102280151422,390937468408,1497207322930,5744387279818,22076468764192,84973577874916,327534518354296,12641683...
processor 6502 ORG $1001 DC.W $100B,0 DC.B $9E,"4109",0,0,0 ; SYS4107 JMP main org $1800,$00 include "fw_interface.asm" include "fw_bootstrap.asm" main SUBROUTINE lda #$00 jsr fw_init sei sta $ff3f lda #$00 sta $ff0a ldy #$10 lda #$00 .0 sta $0000,y iny bne .0 jsr fw_run...
; --------------------------------------------------------------------------- ; Sprite mappings - spinning platforms (SBZ) ; --------------------------------------------------------------------------- dc.w byte_15944-Map_obj69a, byte_1594F-Map_obj69a dc.w byte_1595A-Map_obj69a, byte_15965-Map_obj69a dc.w byt...
; A063147: Dimension of the space of weight 2n cusp forms for Gamma_0( 79 ). ; 6,19,33,45,59,73,85,99,113,125,139,153,165,179,193,205,219,233,245,259,273,285,299,313,325,339,353,365,379,393,405,419,433,445,459,473,485,499,513,525,539,553,565,579,593,605,619,633,645,659 mov $1,6 mov $4,$0 add $4,$0 add $0,$4 mov $2,$0 ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x16e7f, %r11 nop sub %r15, %r15 mov $0x6162636465666768, %rdx movq %rdx, (%r11) nop nop nop nop nop cmp $21351, %rbp lea addresses_D_ht+0x1b82f, %r14 n...
; A155459: a(n)=7*a(n-1)+36*a(n-2), n>2 ; a(0)=1, a(1)=1, a(2)=7 . ; Submitted by Christian Krause ; 1,1,7,85,847,8989,93415,977509,10205503,106628845,1113800023,11635238581,121543470895,1269672885181,13263275148487,138551149905925,1447335954687007,15119193079422349,157938445924688695 sub $0,1 mov $3,1 lpb $0 sub $0...
[ENABLE] aobscanmodule(INJECT,ninja.exe,83 81 14 0E 01 00 FF) alloc(newmem,$1000) label(code) label(return) newmem: code: add dword ptr [ecx+00010E14], 00 jmp return INJECT: jmp newmem nop nop return: registersymbol(INJECT) [DISABLE] INJECT: db 83 81 14 0E 01 00 FF unregist...
#include <bits/stdc++.h> using namespace std; typedef long long int I; const I lim = numeric_limits<I>::max() / 2; I div2(vector<I> &t10) { I n = t10.size(); I even = true; for(I i = 0; i < n; ++i) { if(i < n - 1) t10[i + 1] += 10 * (t10[i] % 2); else if(t10[i] % 2 != 0) even = false; ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MMC1 subroutines PRGBankWrite: ; Set PRG bank number and LDA sourcebank ; enable WRAM. AND #%01111111 ; STA $E000 ; LSR A ; STA $E000 ...
; A114607: Start with 1 0 1 0 then add a one every time (e.g. 1 1 0 1 1 1 0 1 1 1 1 0 ...). ; 1,0,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1 sub $0,1 lpb $0...
#include "brickenginepch.h" #include "Application.h" #include "BrickEngine/Log.h" #include "BrickEngine/Renderer/Renderer.h" #include "Input.h" #include <GLFW/glfw3.h> namespace BrickEngine { #define BIND_EVENT_FN(x) std::bind(&Application::x, this, std::placeholders::_1) Application* Application::s_Instance =...
#include "glview.h" #include <QOpenGLTexture> #include <QOpenGLFunctions> #include <QOpenGLExtraFunctions> #include <iostream> #include "project.h" #include "sessionsettings.h" #include "glcache.h" #define DEBUG_PAINT_LAYER 0 namespace MouseMode { enum { FREE, CAMERA, TOOL, HUD }; } int mouseMode = MouseMode::...
;/*------------------------------------------------------------*/ ;/* filename - tgrmv.asm */ ;/* */ ;/* function(s) */ ;/* TGroup removeView member fun...
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp ...
/* Egg Autonomous State * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include "Common/Compiler.h" #include "Common/Cpp/Exceptions.h" #include "CommonFramework/ImageTools/ImageStats.h" #include "CommonFramework/ImageTools/SolidColorTest.h" #include "CommonFramework/VideoPipeline/Vi...
// Copyright (c) 2021 The Fuchsia Authors // // Permission to use, copy, modify, and/or distribute this software for any purpose with or without // fee is hereby granted, provided that the above copyright notice and this permission notice // appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DI...
; ; Sharp MZ Routines ; ; getk() Read key status ; ; Stefano Bodrato - 5/5/2000 ; ; UncleBod - 2018-09-25 ; ; TODO ; Conversion of mzASCII to real ASCII, especially codes 0-127 ; ; $Id: getk.asm,v 1.4 2016-06-12 17:32:01 dom Exp $ ; SECTION code_clib PUBLIC getk PUBLIC _getk .getk ._getk call $1B ;get...
; A113009: {Sum of the digits of n} raised to the power {number of digits of n}. ; 0,1,2,3,4,5,6,7,8,9,1,4,9,16,25,36,49,64,81,100,4,9,16,25,36,49,64,81,100,121,9,16,25,36,49,64,81,100,121,144,16,25,36,49,64,81,100,121,144,169,25,36,49,64,81,100,121,144,169,196,36,49,64,81,100,121,144,169,196 mov $2,$0 seq $0,7953 ; D...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
; A163275: a(n) = n^5*(n+1)^2/2. ; 0,2,144,1944,12800,56250,190512,537824,1327104,2952450,6050000,11595672,21026304,36386714,60505200,97200000,151519232,230016834,341067024,495219800,705600000,988352442,1363135664,1853666784,2488320000,3300781250,4330761552,5624771544,7236959744,9230017050,11676150000,14658125312,18270...
main: addi $s0, $zero, 0 addi $s1, $zero, 10 addi $s3, $zero, 0 lw $t0, 1000($s0) addi $s2, $zero, 0 lw $t1, 3000($s2) load_loop: addi $s0, $s0, 4 lw $t2, 1000($s0) addi $s3, $s3, 1 bne $s3, $s1, load_loop addi $t3, $t1, $t0 exit:
# Copyright (c) 2021 William Emerison Six # # 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...
/** * Time: 2021-03-18 19:18:47 **/ #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef pair<string, string> pss; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<pii> vii; typedef vector<ll> vl; typedef vector<vl> vvl; doub...
/*Exercise 1 - Calculations Convert the C program given below which converts a length given in cm to inches to a C++ program. Please Note that the input command in C++ is std::cin. This is a representation of the Keyboard. e.g. float data1; int data2; scanf("%f", &data1); --> std::cin >> data1; scanf("%d", &data2)...
; A037865: a(n)=(number of digits <=2)-(number of digits >2) in base 6 representation of n. ; Submitted by Christian Krause ; 1,1,-1,-1,-1,2,2,2,0,0,0,2,2,2,0,0,0,0,0,0,-2,-2,-2,0,0,0,-2,-2,-2,0,0,0,-2,-2,-2,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,3,3,3,1,1,1,3,3,3,1 add $0,1 m...
#include "iot_Register.h" auto d7_out = iot::Pin{D7, OUTPUT}; auto led = iot::DigitalPin{d7_out}; auto led_port = iot::DigitalPort{ std::vector<iot::DigitalPin>{ led // 0 } }; void loop_led_flashing(); int PF_not_implemented( String args ); void setup() { led_port.add( iot::Pin{D7, OUTPUT} ); // 1 ...
; A047542: Numbers that are congruent to {0, 1, 2, 4, 7} mod 8. ; 0,1,2,4,7,8,9,10,12,15,16,17,18,20,23,24,25,26,28,31,32,33,34,36,39,40,41,42,44,47,48,49,50,52,55,56,57,58,60,63,64,65,66,68,71,72,73,74,76,79,80,81,82,84,87,88,89,90,92,95,96,97,98,100,103,104 add $0,2 mov $1,$0 lpb $1 trn $1,4 add $0,$1 trn $1,1...
/* * Copyright (c) 2012, Michael Lehn * * 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,...
bits 64 jmp rcx jmp [rax] jmp qword [rax] jmp near [rax] jmp near qword [rax] jmp far [rax] jmp far dword [rax] jmp far qword [rax] call rcx call [rax] call qword [rax] call near [rax] call near qword [rax] call far [rax] call far dword [rax] call far qword [rax]
; A117081: a(n) = 36*n^2 - 810*n + 2753, producing the conjectured record number of 45 primes in a contiguous range of n for quadratic polynomials, i.e., abs(a(n)) is prime for 0 <= n < 44. ; 2753,1979,1277,647,89,-397,-811,-1153,-1423,-1621,-1747,-1801,-1783,-1693,-1531,-1297,-991,-613,-163,359,953,1619,2357,3167,4049...
; A054526: Triangle T(n,k): T(n,k) = phi(k) (n >= 1, 1 <= k <= n). ; 1,1,1,1,1,2,1,1,2,2,1,1,2,2,4,1,1,2,2,4,2,1,1,2,2,4,2,6,1,1,2,2,4,2,6,4,1,1,2,2,4,2,6,4,6,1,1,2,2,4,2,6,4,6,4,1,1,2,2,4,2,6,4,6,4,10,1,1,2,2,4,2,6,4,6,4,10,4,1,1,2,2,4,2,6,4,6,4,10,4,12 cal $0,25675 ; Exponent of 8 (value of j) in n-th number of form...
; A256494: Expansion of -x^2*(x^3+x-1) / ((x-1)*(x+1)*(2*x-1)*(x^2+1)). ; 0,1,1,2,3,7,13,26,51,103,205,410,819,1639,3277,6554,13107,26215,52429,104858,209715,419431,838861,1677722,3355443,6710887,13421773,26843546,53687091,107374183,214748365,429496730,858993459,1717986919,3435973837,6871947674,13743895347,27487790695,...
%include "include/u7bg-all-includes.asm" defineAddress 214, 0x0ED3, doesItemFit_getBulkOfItems defineAddress 214, 0x0F16, doesItemFit_getBulkOfItems_end %define doesItemFit_reg_pn_droppedIbo di %define doesItemFit_reg_pn_destinationIbo si %assign doesItemFit_var_droppedItemBulk -0x02 %ass...
; ; Small C Z88 runtime library ; ; Multiply two 16 bit numbers hl=hl*de (unsigned) SECTION code_clib SECTION code_l_sccz80 PUBLIC l_mult_u PUBLIC l_mult_u_0 EXTERN l_mulu_16_16x16 defc l_mult_u = l_mulu_16_16x16 ; Multiply two 16 bit numbers hl=bc*de (unsigned) .l_mult_u_0 ld hl,bc jp l_mulu_16_16x1...
; A134752: a(n) = 3^(2*n-1) + 2. ; 5,29,245,2189,19685,177149,1594325,14348909,129140165,1162261469,10460353205,94143178829,847288609445,7625597484989,68630377364885,617673396283949,5559060566555525,50031545098999709,450283905890997365,4052555153018976269 mov $1,9 pow $1,$0 div $1,8 mul $1,24 add $1,5 mov $0,$1
// Test operator BYTE2() // Commodore 64 PRG executable file .file [name="operator-byte2.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .segme...
; ----------------------------------------------------------------------------- ; A 64-bit Linux application that writes the first 90 Fibonacci numbers. To ; assemble and run: ; ; nasm -felf64 fib.asm && gcc fib.o && ./a.out ; ----------------------------------------------------------------------------- gl...
// 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 "android_webview/browser/aw_devtools_manager_delegate.h" #include "android_webview/browser/browser_view_renderer.h" #include "android_webview/co...
; A232982: The Gauss factorial n_6!. ; Submitted by Jamie Morken(s3) ; 1,1,1,1,1,5,5,35,35,35,35,385,385,5005,5005,5005,5005,85085,85085,1616615,1616615,1616615,1616615,37182145,37182145,929553625,929553625,929553625,929553625,26957055125,26957055125,835668708875,835668708875,835668708875,835668708875,29248404810625,29...
; A332410: a(n) = 2*a(n-1) - a(n-2) + a(n-5) - 2*a(n-6) + a(n-7) with a(0)=0, a(1)=1, a(2)=3, a(3)=6, a(4)=11, a(5)=17, a(6)=24. ; 0,1,3,6,11,17,24,32,41,52,64,77,91,106,123,141,160,180,201,224,248,273,299,326,355,385,416,448,481,516,552,589,627,666,707,749,792,836,881,928,976,1025,1075,1126,1179,1233,1288,1344,1401,14...
#include "velkocpu.def" start: ldi (A, 0) ldi (B, 1) out (A) out (B) next: add (A, B) bcs (end) out (A) add (B, A) bcs (end) out (B) jmp (next) end: hlt ()
#include <bits/stdc++.h> using namespace std; vector <int> x, ans[100]; bool ok; int k, t; void f(int col){ if(col == 8){ ans[k++] = x; return; } for(int i = 1; i <= 8; i++){ ok = true; for(int j = 0; j < x.size(); j++) if(x[j] == i || abs(col - j) == abs(x[j] - i)){ ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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...
; A142553: Primes congruent to 23 mod 53. ; Submitted by Jon Maiga ; 23,659,977,1613,1931,2143,3203,3733,4051,4157,4793,5323,5641,6277,6701,7019,7549,7867,8291,8609,8821,10093,10729,11047,11471,11789,12107,12637,12743,13591,13697,14969,15287,15817,15923,16453,18043,18149,18679,19421,19739,20269,20693,21011,21647,21859,...
// // VulkanCrop.hpp // MNN // // Created by MNN on 2019/01/31. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef VulkanCrop_hpp #define VulkanCrop_hpp #include <stdio.h> #include "VulkanBasicExecution.hpp" namespace MNN { class VulkanCrop : public VulkanBasicExecution { public: VulkanCrop(const...
/* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and r...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; int ba_stack_pop(ba_stack_t *s) ; ; Pop item from stack. ; ; =============================================================== SECTION code_clib SECTION code_adt_ba_stack ...
; A036100: Centered cube numbers: (n+1)^22 + n^22. ; 1,4194305,31385253913,17623567104025,2401777977060041,134005889633282761,4041442752425255185,77696797343421194513,1058557878478449439345,10984770902183611232881,91402749386839761113321,633464188299276178706665,3763900316867291522750713,19610816941310676211030265,9121...
; ================================================================== ; KEYBOARD HANDLING ROUTINES ; ================================================================== ; ------------------------------------------------------------------ ; os_wait_for_key -- Waits for keypress and returns key ; IN: Nothing; OUT: A...
#include "SimG4Core/Physics/interface/PhysicsListFactory.h" #include "DummyPhysics.h" #include "FTFCMS_BIC.h" #include "FTFPCMS_BERT.h" #include "FTFPCMS_BERT_ATL_EMM.h" #include "FTFPCMS_BERT_EML.h" #include "FTFPCMS_BERT_EMM.h" #include "FTFPCMS_BERT_EMN.h" #include "FTFPCMS_BERT_EMM_TRK.h" #include "FTFPCMS_BERT_HP...
; ; Copyright (c) 2013 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...
; A000316: Two decks each have n kinds of cards, 2 of each kind. The first deck is laid out in order. The second deck is shuffled and laid out next to the first. A match occurs if a card from the second deck is next to a card of the same kind from the first deck. a(n) is the number of ways of achieving no matches. ; Su...
PROCESSOR 6502 LIST OFF ; Pseudo-registers R0 EQU $fb R1 EQU $fc R2 EQU $fd R3 EQU $fe R4 EQU $3f R5 EQU $40 R6 EQU $41 R7 EQU $42 R8 EQU $43 R9 EQU $44 RA EQU $45 RB EQU $46 stack EQU $0100 ; Floating point routines MOVFM EQU $bba2 CONUPK EQU $ba8c MOVMF EQU $bbd4 FCO...
// Fill out your copyright notice in the Description page of Project Settings. #include "OeipLiveActor.h" #include "OeipManager.h" #include "OeipLiveManager.h" // Sets default values AOeipLiveActor::AOeipLiveActor() { // Set this actor to call Tick() every frame. You can turn this off to improve performance if you d...
; A048760: Largest square <= n. ; 0,1,1,1,4,4,4,4,4,9,9,9,9,9,9,9,16,16,16,16,16,16,16,16,16,25,25,25,25,25,25,25,25,25,25,25,36,36,36,36,36,36,36,36,36,36,36,36,36,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,10...
section ".data" xdef pSnd_SetTime_voice1 pSnd_SetTime_voice1: mulu interrupt5rate,d0 move.l d0,time_counter_voice1 rts
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x4c69, %r12 sub %r10, %r10 mov (%r12), %edx nop nop nop inc %r13 lea addresses_UC_ht+0x11064, %rsi lea addresses_A_ht+0x13f4, %rdi nop nop nop nop nop and $30191, %rax mov $10...
#include <unordered_map> #include <utility> #include <fstream> #include <cassert> #include <sstream> #include <iterator> #include <algorithm> #include <cmath> #include "manifold_mesh.h" #include "util.h" const ManifoldMesh::VertKey ManifoldMesh::INVALID_VERT; const ManifoldMesh::FaceKey ManifoldMesh::INVALID_FACE; co...
Map_83BFC: dc.w word_83BFE-Map_83BFC word_83BFE: dc.w 1 dc.b $F8, 1, 0, 0, $FF, $FC
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x727b, %r14 nop nop nop nop add $23619, %r10 movl $0x61626364, (%r14) nop nop nop nop sub $5800, %r10 lea addresses_WC_ht+0x16553, %r15 nop nop nop nop nop mfence movb (%r15),...
section .text global _start ;must be declared for linker (ld) _syscall: int 0x80 ;system call ret _start: ;tell linker entry point push dword len ;message length push dword msg ;message to write push dword 1 ;file descriptor (stdout) mov eax,0x4 ;system call number (sys_write) call _syscall ;cal...
SFX_Snare8_3_Ch7: noisenote 0, 8, 2, 37 endchannel
#include "TempModel.h" namespace EERAModel { namespace Model { TempModel::TempModel(const CommonModelInputParameters& commonParameters, const ObservationsForModels& observations, Random::RNGInterface::Sptr rng, Utilities::logging_stream::Sptr log) : rng_(rng) { fixedParameters_ = BuildFixedParameter...
;// TI File $Revision: /main/3 $ ;// Checkin $Date: January 4, 2011 10:10:51 $ ;//########################################################################### ;// ;// FILE: F2806x_usDelay.asm ;// ;// TITLE: Simple delay function ;// ;// DESCRIPTION: ;// ;// This is a simple delay function that can be used to inse...
; A036135: a(n) = 2^n mod 83. ; 1,2,4,8,16,32,64,45,7,14,28,56,29,58,33,66,49,15,30,60,37,74,65,47,11,22,44,5,10,20,40,80,77,71,59,35,70,57,31,62,41,82,81,79,75,67,51,19,38,76,69,55,27,54,25,50,17,34,68,53,23,46,9,18,36,72,61,39,78,73,63,43,3,6,12,24,48,13,26,52,21,42,1,2,4,8,16,32,64,45,7,14,28,56,29,58,33,66,49,15,30...
; multi-segment executable file template. data segment msjPair dw "Nombre est pair$" msjImpaire dw "Nombre impaire$" N dw 7 ends stack segment dw 128 dup(0) ends code segment start: ; set segment registers: mov ax, data mov ds, ax mov es, ax mov ax, N mov b...
; A121991: a(n) = 3*a(n-1) - a(n-2) - a(n-3) + 12. ; 0,1,13,50,148,393,993,2450,5976,14497,35077,84770,204748,494409,1193721,2882018,6957936,16798081,40554301,97906898,236368324,570643785,1377656145,3325956338,8029569096,19385094817,46799759029,112984613186,272768985724,658522584969,1589814156009,3838150897346,92661159...
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ; ; xlat tables for case conversion ; .xlist include version.inc include cmacros.inc .list sBegin data public _XLTab, _XUTab assumes ds,data ; ; t...
; A137282: Final digit of A136408(n). ; Submitted by Jon Maiga ; 1,2,4,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9,7,3,7,5,7,1,7,9 mov $1,1 lpb $0 sub $0,1 mul $2,3 mov $3,$1 mov $1,$2 mul $1,6...
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef ECORE_EPARAMETER_HPP #define ECORE_EPARAMETER_HPP #include <list> #include <memory> #include <st...
; A006411: Number of nonseparable tree-rooted planar maps with n + 2 edges and 3 vertices. ; 3,20,75,210,490,1008,1890,3300,5445,8580,13013,19110,27300,38080,52020,69768,92055,119700,153615,194810,244398,303600,373750,456300,552825,665028,794745,943950,1114760,1309440,1530408,1780240,2061675,2377620,2731155,3125538,356...
# Authors: Miriam Penger, Lena Gerken, Tina Höflich # Handles various actions concerning the ball in pong # TODO: check and adapt these values. important: they are used to check with the center of the ball, not its closest edge. # TODO: use display measurements as a constant defined up here .eqv LEFT_SCORING_BORDER 26...
_hackbench: file format elf32-i386 Disassembly of section .text: 00000000 <rdtsc>: { asm volatile("hlt"); } static inline unsigned long long rdtsc(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 10 sub $0x10,%esp unsigned long long ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x39a, %rsi lea addresses_A_ht+0x19052, %rdi nop nop xor %r10, %r10 mov $71, %rcx rep movsq nop nop nop and $41402, %rdi lea addresses_WT_ht+0x12036, %r14 clflush (%r14) sub $1...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r9 push %rax push %rbx push %rcx lea addresses_UC_ht+0x4505, %rbx nop dec %rax mov $0x6162636465666768, %r9 movq %r9, (%rbx) nop inc %rbx lea addresses_UC_ht+0x1095d, %rcx nop nop nop nop nop and %r9, %r9 mov (%rcx), %r14 nop nop and $54862, %rcx le...
; A256506: a(n) = (2*n+3)*a(n-1) + a(n-2), a(0)=0, a(1)=1. ; Submitted by Jon Maiga ; 0,1,7,64,711,9307,140316,2394679,45639217,960818236,22144458645,554572284361,14995596136392,435426860239729,13513228263567991,446371959557983432,15636531812792988111,578998049032898543539,22596560444095836186132,9270379762569621821749...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1e1f2, %rdi nop nop nop xor %r10, %r10 mov $0x6162636465666768, %r8 movq %r8, (%rdi) cmp $20689, %r9 lea addresses_WC_ht+0xa2b2, %rsi lea addresses_D_ht+0x6652, %rdi nop nop n...
/* Copyright 2019 Friedolin Groeger, Lennart Nachtigall 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 applicab...
#include registers.inc ;******************************************************************************* ; UNIVERSIDAD DE COSTA RICA ESCUELA DE INGENIERIA ELECTRICA ; MICROPROCESADORES IE 623 I SEMESTRE 2020 ;******************************************************************************* ; ...