text
stringlengths
1
1.05M
/* Copyright (c) 2017-2020 Hans-Kristian Arntzen * * 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, me...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; display blanking control functions ; LCDStatus is 0c024h in the OS; ; ; ; ------ ; $Id: ozunblankscreen.asm,v 1.3 2016-06-28 14:48:17 dom Exp $ ; SECTION code_clib PUBLIC ozunblankscree...
addi r1 r0 65 sw r1 0(r1) addi r1 r1 -5 push r1 pop r31 pop r1 tty r1 halt # Prints "A"
#pragma once #include <string> typedef struct _jmethodID* jmethodID; typedef struct _JavaVM JavaVM; typedef struct _JNIEnv JNIEnv; namespace mbgl { namespace android { extern JavaVM* theJVM; extern std::string cachePath; extern std::string dataPath; extern std::string apkPath; extern std::string androidRelease; e...
#ifndef SPROUT_FUNCTIONAL_HASH_SSCRISK_CEL_UTILITY_HPP #define SPROUT_FUNCTIONAL_HASH_SSCRISK_CEL_UTILITY_HPP #include <cstddef> #include <sprout/config.hpp> #include <sprout/functional/hash/hash.hpp> #include <sscrisk/cel/utility.hpp> namespace sprout { template<typename T1, typename T2> inline SPROUT_CO...
/**************************************************************************** Copyright (c) Microsoft Corporation 1997 All rights reserved File: DEBUG.CPP Debugging utilities ***************************************************************************/ #include "pch.h" #include <shlwapi.h> D...
; ; jidctfst.asm - fast integer IDCT (SSE2) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assemble...
; A114752: a(2n)=2n, a(2n+1)=4n+1. ; 1,2,5,4,9,6,13,8,17,10,21,12,25,14,29,16,33,18,37,20,41,22,45,24,49,26,53,28,57,30,61,32,65,34,69,36,73,38,77,40,81,42,85,44,89,46,93,48,97,50,101,52,105,54,109,56,113,58,117,60,121,62,125,64,129,66,133,68,137,70,141,72,145,74,149,76,153,78,157,80,161,82,165,84,169,86,173,88,177,90,...
break(8) JIP: LABEL0 UIP: LABEL1 { align1 1Q }; break(16) JIP: LABEL0 UIP: LABEL1 { align1 1H }; LABEL0: (+f0.0) break(8) JIP: LABEL1 UIP: LABEL1 { align1 1Q }; (+f0.0) break(16) JIP: LABEL1 UIP: LABEL1 { align1 1H...
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gl/GrGLPathRendering.h" #include "gl/GrGLNameAllocator.h" #include "gl/GrGLUtil.h" #include "gl/GrGLGpu.h" #include "GrGLPath.h" #include "GrGLPathRange.h" #include...
// --- System Core API -- define GC_ALLOC 10001h define INIT_RND 10012h define CALC_SIZE 1001Fh define GET_COUNT 10020h define CORE_ET_TABLE 2000Bh define elVMTSizeOffset 0004h define elSizeOffset 0004h define elVMTOffset 0008h define elObjectOffset 0008h ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: BlockModule.hpp * Author: ubuntu * * Created on February 10, 2018, 3:21 PM */ #ifndef BLOCKMODULE_HPP #define BLOC...
/*========================================================================= * * Copyright NumFOCUS * * 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 * * https://www.apache.o...
/* * Copyright 2019 Xilinx, 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
; A111397: Composite numbers (modulo 3). ; 1,0,2,0,1,0,2,0,1,0,2,0,1,0,1,2,0,1,0,2,0,1,2,0,2,0,1,0,2,0,1,0,1,2,0,1,0,1,2,0,1,0,2,0,1,2,0,2,0,1,0,2,0,1,2,0,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,2,0,1,0,2,0,1,0,2,0,1,0,1,2,0,1,2,0,1,2,0,1,2,0,2,0,1,0,1 seq $0,2808 ; The composite numbers: numbers n of the form x*y for x > 1 and...
; A016814: a(n) = (4n+1)^2. ; 1,25,81,169,289,441,625,841,1089,1369,1681,2025,2401,2809,3249,3721,4225,4761,5329,5929,6561,7225,7921,8649,9409,10201,11025,11881,12769,13689,14641,15625,16641,17689,18769,19881,21025,22201,23409,24649,25921,27225,28561,29929,31329,32761,34225,35721,37249,38809,40401,42025,43681,45369,470...
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <algorithm> #include <cassert> #include <forward_list> #include <ranges> #include <span> #include <type_traits> #include <utility> #include <vector> #include <range_algorithm_support.hpp> using nam...
lda {c1},x clc adc #<{c2} sta {c1},x lda {c1}+1,x adc #>{c2} sta {c1}+1,x
#include "Etterna/Globals/global.h" #include "ActorMultiVertex.h" #include "ActorUtil.h" #include "Etterna/Models/Misc/LocalizedString.h" #include "Etterna/Models/Lua/LuaBinding.h" #include "Etterna/Singletons/LuaManager.h" #include "RageUtil/Graphics/RageDisplay.h" #include "RageUtil/Graphics/RageTexture.h" #include "...
; A089252: a(n) = ((2*n-1)!!/sqrt(3))*(integral_{x=0..sqrt(3/4)} 1/(1-x^2)^(n+1/2) dx). ; Submitted by Christian Krause ; 1,6,72,1392,38016,1347840,58752000,3036579840,181428387840,12299042488320,932514044313600,78184097316864000,7181946863065497600,717283471185779097600,77383645289778040012800 mul $0,2 mov $1,1 lpb $...
; If set to 1, timing information is generated during music generation ; which is needed for Clinkster_GetInstrumentTrigger. ; Set it to 0 if you don't need this functionality. %define CLINKSTER_GENERATE_TIMING_DATA 0 ; Offset applied by Clinkster_GetPosition to compensate for graphics latency. ; Measured in samples ...
section .bss $buf2 resb 2 section .text global _prints, _readb, _exit, _start extern _env, _strlen, _main _prints: push qword [rsp+8] ; pushd 'prints' first argument call _strlen mov rdx, rax ; strlen pop rsi ; string mov edi, 1 ; stdout mov eax, 1 ; SYS_write syscall ret _readb: push rdi push rsi ...
// Test access to __ma variable from inline ASM // Commodore 64 PRG executable file .file [name="inline-asm-ma-var.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 ...
; vim: autoindent noexpandtab tabstop=4 shiftwidth=4 ; ; UART / WIFI Module ; DEBUG equ 0 ; switch to 1 to have commands/responses printed ; to the spectrum screen while running FUDGE_DELAY equ 20 ; currently used to delay a little before draining FIFO ; ; Rem_Initialise ;----- ; expects HL - Point to N...
/************************************************************************************ Filename : Service_NetClient.cpp Content : Client for service interface Created : June 12, 2014 Authors : Michael Antonov, Kevin Jenkins, Chris Taylor Copyright : Copyright 2014 Oculus VR, Inc. All ...
; A008255: Coordination sequence T2 for feldspar. ; 1,4,10,22,38,56,82,112,142,182,226,268,322,380,434,502,574,640,722,808,886,982,1082,1172,1282,1396,1498,1622,1750,1864,2002,2144,2270,2422,2578,2716,2882,3052,3202,3382,3566,3728,3922,4120,4294,4502,4714,4900,5122,5348,5546,5782,6022,6232,6482,6736,6958,7222,7490,7724...
# cdr rcu: 0177520 # cdr rdb: 0177522 # stack start: 0600 # push: MOVW <data>, -(R6) # pop: MOVW (R6)+, <data> .SECTION .DATA .SECTION .CODE .GLOBAL MAIN MAIN: MOVW 0600, R6 JSR R5, (CLEAR_CDR) # left red triangle MOVW 1, -(R6) MOVW 84, -(R6) MOVW 85, -(R6) MOVW ...
; ; ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2019 Broadcom Inc. All rights reserved. ; ; ; This is the default program for the (25 GE + 6 XE/HG port) BCM56636 SDKs. ; To start it, use the following comman...
; ; 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...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x73d6, %rsi lea addresses_UC_ht+0x1eae6, %rdi nop nop nop nop nop add %r14, %r14 mov $61, %rcx rep movsq and $30347, %r13 lea addresses_normal_ht+0x8f36, %rcx nop nop xor $4487, %rsi mo...
-- 7 Billion Humans (2053) -- -- 52: The Mode Code -- -- Author: soerface -- Size: 62 -- Speed: 156 mem1 = nearest datacube pickup s if w == nothing: jump a endif if e == nothing: write 5 jump b endif c: if w == nothing: mem2 = calc sw + 1 write mem2 jump d endif if e == nothing: mem2 = calc se - 1 write mem2...
; A092370: Triangle read by rows: T(n,k)=(1/2)*C(n+k,k)*C(n,n-k). ; Submitted by Christian Krause ; 1,3,3,6,15,10,10,45,70,35,15,105,280,315,126,21,210,840,1575,1386,462,28,378,2100,5775,8316,6006,1716,36,630,4620,17325,36036,42042,25740,6435,45,990,9240,45045,126126,210210,205920,109395,24310,55,1485,17160 lpb $0 a...
TITLE seagullbird_t19 .MODEL SMALL .DATA INPUT_INFO DB 'PLEASE ENTER A STRING ENDING WITH A DOLLAR SYMBOL (ENTER # TO QUIT):', 0AH, 0DH, '$' BUFF DB 80, ?, 80 DUP (?) WRONG_MSG DB 'PLEASE END YOUR STRING WITH A DOLLAR SYMBOL!', 0AH, 0DH, '$' .CODE MAIN PROC FAR ASSUME CS:_TEXT, DS:_DATA PUSH DS XOR AX, AX PUSH A...
/** * @file Dambreak.cpp * @brief 2D dambreak example. * @details This is the one of the basic test cases, also the first case for * understanding SPH method for fluid simulation. * @author Luhui Han, Chi Zhang and Xiangyu Hu */ #include "sphinxsys.h" //SPHinXsys Library. using namespace SPH; //Namespace ...
/* Copyright 2020 The OneFlow 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 agre...
MACRO m1 ; commentA nop ; comment1 ; commentB nop ; comment2 nop ; comment3 ENDM MACRO m2 nop ; with its own comment m2.nop ENDM MACRO m3 ; without comment on code line nop ENDM m1 scf ; main line m2_1 with comment ...
/**************************************************************************************** * @author: kzvd4729 created: Oct/08/2018 16:58 * solution_verdict: Wrong answer on test 10 language: GNU C++14 * run...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x800d, %rdx xor $63003, %rax mov $0x6162636465666768, %r12 movq %r12, %xmm4 movups %xmm4, (%rdx) nop nop nop and %r14, %r14 lea addresses_WT_ht+0x1460d, %rsi lea addresses_A_h...
; A015943: (2^(2n)+n) mod (2n). ; 1,2,1,4,9,10,11,8,1,6,15,4,17,2,19,16,21,10,23,36,1,38,27,40,49,42,1,4,33,46,35,32,31,50,9,28,41,54,25,56,45,22,47,36,19,62,51,16,67,26,13,100,57,82,89,72,7,74,63,76,65,78,1,64,49,70,71,52,133,46,75,136,77,90,49,28,93,118,83,16,1,98,87,148,89,102,151,152,93,46,95,164,157,110,169,160,10...
; A137803: a(n) = floor(n*(sqrt(2) + 1/2)). ; 1,3,5,7,9,11,13,15,17,19,21,22,24,26,28,30,32,34,36,38,40,42,44,45,47,49,51,53,55,57,59,61,63,65,66,68,70,72,74,76,78,80,82,84,86,88,89,91,93,95,97,99,101,103,105,107,109,111,112,114,116,118,120,122,124,126,128,130,132,133,135,137,139,141,143,145,147,149,151,153,155,156,158...
; A079028: a(0) = 1, a(n) = (n+4)*4^(n-1) for n >= 1. ; 1,5,24,112,512,2304,10240,45056,196608,851968,3670016,15728640,67108864,285212672,1207959552,5100273664,21474836480,90194313216,377957122048,1580547964928,6597069766656,27487790694400 add $0,4 mov $2,4 pow $2,$0 mul $0,$2 mov $1,$0 div $1,1024
; Program 7.1 ; CMPS - MASM (32-bit) ; Copyright (c) 2017 Hall & Slonka .386 .MODEL FLAT, stdcall .STACK 4096 ExitProcess PROTO, dwExitCode:DWORD .data src BYTE "Test sentence",0 lenSrc EQU ($ - src) dst BYTE "Test sentence",0 lenDst EQU ($ - dst) .code _main PROC ; compare string lengths mov eax, lenSrc cmp eax, l...
; A052707: Odd powers of 2 multiplied by Catalan numbers. ; Submitted by Jon Maiga ; 0,2,8,64,640,7168,86016,1081344,14057472,187432960,2549088256,35223764992,493132709888,6979724509184,99710350131200,1435829041889280,20819521107394560,303720072625520640,4454561065174302720 lpb $0 mov $2,$0 trn $2,1 seq $2,15140...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
; A083858: Expansion of x/(1 - 3*x - 6*x^2). ; Submitted by Jon Maiga ; 0,1,3,15,63,279,1215,5319,23247,101655,444447,1943271,8496495,37149111,162426303,710173575,3105078543,13576277079,59359302495,259535569959,1134762524847,4961500994295,21693078131967,94848240361671,414703189876815,1813199011800471,7927816174662303,3...
; A108725: Numbers n such that 11*n + 19 is prime. ; 0,2,8,12,14,20,24,30,44,48,50,54,62,72,78,90,92,98,104,110,122,128,132,134,140,150,162,164,168,170,174,180,188,192,194,212,218,230,234,240,252,258,260,272,282,288,290,294,300,308,318,320,324,332,344,348,362,372,374,378,384,398,402,404,408,420,434,444,450,462,468,470,...
#include <alignment/format/IntervalPrinter.hpp> void IntervalOutput::Print(T_AlignmentCandidate &alignment, std::ostream &outFile) { int mapQV = alignment.mapQV; int lastBlock = alignment.blocks.size() - 1; if (lastBlock < 0) return; outFile << alignment.qName << " " << alignment.tName << " " << alig...
;****************************************************************************** ; ; (c) 2015 by BECK IPC GmbH ; http://www.beck-ipc.com ; ;****************************************************************************** ; ; Module: cry47.asm ; Function: Dynamic linking of TCPI/IP API Function Crypt_RSA_Verify() ; ;...
;========================================== ;==== Scale_Weight_Cal.ASM ;========================================== W_CAL_Handle_Entry: BTFSS W_CAL_Flag,B_W_CAL_Flag_EN GOTO W_CAL_Handle_Clr BTFSS W_CAL_Flag,B_W_CAL_Flag_TRG GOTO W_CAL_Handle_Exit BCF W_CAL_Flag,B_W_CAL_Flag_TRG ;--- BTFSC W...
// Copyright 2014 the V8 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. #include "src/v8.h" #include "src/interpreter/bytecode-array-builder.h" #include "src/interpreter/bytecode-array-iterator.h" #include "src/interpreter/...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Storel Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpc/server.h" #includ...
; A003259: Complement of A003258. ; 1,4,6,9,11,14,17,19,22,25,27,30,32,35,38,40,43,45,48,51,53,56,59,61,64,66,69,72,74,77,79,82,85,87,90,93,95,98,100,103,106,108,111,114,116,119,121,124,127,129,132,134,137,140,142,145,148,150,153,155 mov $5,$0 mov $8,$0 add $0,3 mov $1,$0 mov $2,$0 pow $5,2 mov $6,2 lpb $2 mov $7,2 ...
; ASM source file created by SevenuP v1.21 ; SevenuP (C) Copyright 2002-2007 by Jaime Tejedor Gomez, aka Metalbrain ;GRAPHIC DATA: ;Pixel Size: ( 24, 32) ;Char Size: ( 3, 4) ;Sort Priorities: X char, Char line, Y char ;Data Outputted: Gfx ;Interleave: Sprite ;Mask: No barbaro_cuelga: ...
; A065915: Numerator of sigma(8*n^2)/sigma(4*n^2). ; 15,63,15,255,15,63,15,1023,15,63,15,255,15,63,15,4095,15,63,15,255,15,63,15,1023,15,63,15,255,15,63,15,16383,15,63,15,255,15,63,15,1023,15,63,15,255,15,63,15,4095,15,63,15,255,15,63,15,1023,15,63,15,255,15,63,15,65535,15,63,15,255,15,63,15,1023,15,63,15,255,15,63,15,...
cpu P4 bits 32 %include "kernel.inc" global idt_init, idt_set extern INT_00, INT_01, INT_02, INT_03, INT_04, INT_05, INT_06, INT_07 extern INT_08, INT_0A, INT_0B, INT_0C, INT_0D, INT_0E, INT_0F extern INT_10, INT_11, INT_12, INT_13 section .bss ; ---------------------------------------------- align 4096 idt ...
; A201964: Primes of the form 10n^2 - 9. ; Submitted by Christian Krause ; 31,151,241,631,991,1201,1951,2551,4831,5281,9601,11551,12241,13681,14431,15991,18481,24001,27031,28081,30241,37201,38431,48991,53281,54751,57751,59281,62401,67231,68881,73951,77431,79201,84631,99991,102001,118801,127681,132241,141601,156241,1612...
; A027765: a(n) = (n+1)*binomial(n+1,5). ; 5,36,147,448,1134,2520,5082,9504,16731,28028,45045,69888,105196,154224,220932,310080,427329,579348,773927,1020096,1328250,1710280,2179710,2751840,3443895,4275180,5267241,6444032,7832088,9460704,11362120,13571712,16128189,19073796,22454523,26320320,30725318,35728056,41391714,47...
; A017116: a(n) = (8*n + 4)^4. ; 256,20736,160000,614656,1679616,3748096,7311616,12960000,21381376,33362176,49787136,71639296,100000000,136048896,181063936,236421376,303595776,384160000,479785216,592240896,723394816,875213056,1049760000,1249198336,1475789056,1731891456,2019963136,2342560000,2702336256,3102044416,354453...
cmp {c1},y beq !+ bcs {la1} !:
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
; A027861: Numbers k such that k^2 + (k+1)^2 is prime. ; Submitted by Jon Maiga ; 1,2,4,5,7,9,12,14,17,19,22,24,25,29,30,32,34,35,39,42,47,50,60,65,69,70,72,79,82,84,85,87,90,97,99,100,102,104,109,110,115,122,130,135,137,139,144,149,154,157,160,162,164,167,172,174,185,187,189,195,199,202,204,207,212,217,220,222,224,225...
bits 64 default rel section .text global pal_execute_xsetbv pal_execute_xsetbv : mov rax, rdi mov rdx, rdi shr rdx, 32 mov rcx, 0 xsetbv ret
;; ;; Copyright (c) 2012-2020, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h A DB 5 DUP(6) ret
/* Copyright (c) 2009-2016, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #include <El-lite.hpp> #include <iomanip> namespace { ...
//===-- driver.cpp --------------------------------------------------------===// // // Copyright 2021 Zachary Selk // // 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....
; A169548: Number of reduced words of length n in Coxeter group on 7 generators S_i with relations (S_i)^2 = (S_i S_j)^35 = I. ; 1,7,42,252,1512,9072,54432,326592,1959552,11757312,70543872,423263232,2539579392,15237476352,91424858112,548549148672,3291294892032,19747769352192,118486616113152,710919696678912,426551818007...
#include "gtest/gtest.h" #include <random> #include "xtensor/xarray.hpp" #include "z5/factory.hxx" #include "z5/multiarray/broadcast.hxx" namespace z5 { namespace multiarray { // fixture for the broadcasting test class BroadcastTest : public ::testing::Test { protected: BroadcastTest() : fZarr(...
Invincible_Header: smpsHeaderStartSong 2 smpsHeaderVoice Invincible_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $01, $E8 smpsHeaderDAC Invincible_DAC smpsHeaderFM Invincible_FM1, $F4, $11 smpsHeaderFM Invincible_FM2, $F4, $09 smpsHeaderFM Invincible_FM3, $E8, $0F smp...
/* * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist...
/* * 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 related...
SECTION code_fp_math32 PUBLIC cm32_sdcc_tan EXTERN cm32_sdcc_fsread1, _m32_tanf cm32_sdcc_tan: call cm32_sdcc_fsread1 jp _m32_tanf
#include <cstring> #include <cstdlib> #include <iostream> #include "orm/schema.h" #include "orm/schema_config.h" #include "orm/schema_reader.h" #include "orm/engine.h" #include "orm/code_gen.h" using namespace std; using namespace Yb; #define ORM_LOG(x) cerr << "yborm_gen: " << x << "\n"; struct Params { string ...
// C. Experience // https://codeforces.com/edu/course/2/lesson/7/1/practice/contest/289390/problem/C #include <iostream> #include <vector> class Game { public: Game(size_t n) : parent_(n, -1), extra_points_(n, 0) { } int Find(int x) { if (parent_[x] < 0) { return x; ...
_mkdir: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 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 ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: MODULE: FILE: uiAddressControl.asm AUTHOR: Allen Yuen, Jun 16, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Desc...
#include "Platform.inc" #include "InitialisationChain.inc" radix decimal InitialiseAfterDoorDummy code global INITIALISE_AFTER_DOOR INITIALISE_AFTER_DOOR: return end
;--------------------------------------------------------- ; ; LDOS (Leonard Demo Operating System) ; AMIGA version ; Written by Leonard/Oxygene ; https://github.com/arnaud-carre/ldos ; ; Boot sector ; ;--------------------------------------------------------- MEMF_CHIP = (1<<1) ; Chip memory MEMF_FAST = (1<<2) ; ...
[BITS 64] section .text global _start _start: mov section .data hi db "hello!", $0A, $00
TITLE LIBRTN - Copyright (c) SLR Systems 1994 INCLUDE MACROS INCLUDE IO_STRUC INCLUDE EXES PUBLIC LIBSTUFF,RET_TRUE,RET_FALSE,LIB_ROUTINE_FINAL,LIB_ROUTINE_FINAL_COMENT .DATA EXTERNDEF EXETYPE_FLAG:BYTE .CODE FILEPARSE_TEXT EXTERNDEF _get_filename:proc,HANDLE_LIBS:PROC,HANDLE_LOD:PROC,GTNXTU:PR...
; A265542: Largest base-9 palindrome m <= n, written in base 9. ; 0,1,2,3,4,5,6,7,8,8,11,11,11,11,11,11,11,11,11,11,22,22,22,22,22,22,22,22,22,22,33,33,33,33,33,33,33,33,33,33,44,44,44,44,44,44,44,44,44,44,55,55,55,55,55,55,55,55,55,55,66,66,66,66,66,66,66,66,66,66,77,77,77,77,77,77,77,77,77,77,88,88 seq $0,265541 ; L...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x2370, %rsi lea addresses_WC_ht+0x60a8, %rdi nop nop nop nop xor %r12, %r12 mov $126, %rcx rep movsw nop nop nop nop nop and %rbp, %rbp lea addresses_UC_ht+0xcf70, %rbx nop and $20545,...
//===-- RecordStreamer.cpp - Record asm definde and used symbols ----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
SECTION code_fp_am9511 PUBLIC cam32_sdcc___slong2fs EXTERN asm_am9511_float32 .cam32_sdcc___slong2fs pop bc ;return pop hl ;value pop de push de push hl push bc jp asm_am9511_float32
Name: ys_pldt_e.asm Type: file Size: 69822 Last-Modified: '2016-05-13T04:51:43Z' SHA-1: D61131DE82285E520F400919B8965F1B34C255F6 Description: null
#ifndef __cplusplus #error "icsneolegacy.cpp must be compiled with a C++ compiler!" #endif #define NOMINMAX #define ICSNEOC_MAKEDLL #include "icsneo/icsneolegacy.h" #undef ICSNEOC_MAKEDLL #include "icsneo/icsneoc.h" #include "icsneo/communication/network.h" #include <map> #include <algorithm> #include <cstring> #i...
INCLUDE Irvine32.inc ; group no : 25 ; student 1 least two no : 45 .data consoleHandle DWORD ? xyInit COORD <46,22> ; 起始座標 xyBound COORD <80,25> ; 一個頁面最大的邊界 xyPos COORD <?,?> ; 現在的游標位置 main EQU start@0 .code main PROC ; Get the Console standard output handle: INVOKE GetStdHandle, STD_OUTPUT_HAND...
;; Tests that verify that malloc is working properly. ;! Test malloc proc 0, malloc mov rdi, 8 call malloc assert rax, ne, -1, "Tests: malloc 1: FAILED" mov rdi, rax call free mov rdi, 8 call malloc assert rax, ne, -1, "Tests: malloc 2: FAILED" mov rdi, 10h call malloc push rax mov rdi, rax xor rsi, r...
section .data Number: db 17 Exponent: db 6 section .bss Power: resb 16 section .text global _start EXTERN printText, printNewline, convertNumberToString ;****************************************************************************** ; Calculates the power of a number with a given exponent. ; ; Input: rbx: The...
/* *************************************************************************************************** ** ** profile.cpp ** ** Real-Time Hierarchical Profiling for Game Programming Gems 3 ** ** by Greg Hjelstrom & Byon Garrabrant ** **************************************************************************************...
; A170140: Number of reduced words of length n in Coxeter group on 35 generators S_i with relations (S_i)^2 = (S_i S_j)^38 = I. ; 1,35,1190,40460,1375640,46771760,1590239840,54068154560,1838317255040,62502786671360,2125094746826240,72253221392092160,2456609527331133440,83524723929258536960,2839840613594790256640,965545...
; A202462: a(n) = Sum_{j=1..n} Sum_{i=1..n} F(i,j), where F is the Fibonacci fusion array of A202453. ; 1,5,21,70,214,614,1703,4619,12363,32812,86636,228012,598893,1571089,4118305,10790194,28262594,74014290,193807315,507451415,1328617751,3478516440,9107117016,23843134680,62422772569,163425968669,427856404653,1120145302...
; int w_array_resize(w_array_t *a, size_t n) SECTION code_adt_w_array PUBLIC w_array_resize EXTERN asm_w_array_resize w_array_resize: pop af pop de pop hl push hl push de push af jp asm_w_array_resize
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x7c4f, %rcx nop cmp %rdx, %rdx mov $0x6162636465666768, %r13 movq %r13, %xmm0 vmovups %ymm0, (%rcx) nop nop cmp %rsi, %rsi lea addresses_UC_ht+0xb61f, %rsi lea addresses_WT_ht+0x1a02f, %...
/* * Copyright 2009-2017 Alibaba Cloud 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...
/* types.cpp * this file contains functions for type handling and inference */ #include <cstdio> #include <cstdlib> #include <iostream> #include <sstream> #include <string> #include "tetra.h" extern Node* root; /* the symbol table for storing constants and globals */ std::map<String, Symbol> globals; /* map for s...
;================================================================================ ; New Item Handlers ;-------------------------------------------------------------------------------- ; REMEMBER TO UPDATE THE TABLES IN UTILITIES.ASM! ;-------------------------------------------------------------------------------- ; #$...
%ifdef CONFIG { "RegData": { "RAX": "0x3ff0000000000000", "RBX": "0x3fe0000000000000" }, "Env": { "FEX_X87REDUCEDPRECISION" : "1" } } %endif lea rdx, [rel data] fld tword [rdx + 8 * 0] lea rdx, [rel data2] fld tword [rdx + 8 * 0] fdivr st1, st0 fstp qword [rdx] mov rax, [rdx] fstp qword [rdx] mov rbx,...
;name: semester.asm ; ;build: nasm -felf64 semester.asm -o semester.o ; ;description: calculating in which semester a month is. ; semester: A period or term of six months ; ; month nr binary in AL AL <- AL + 1 AL <- AL >> 3 ; ---------- --- ------------ ------------ ------------- ; january ...
/*! * \file math.cpp * \ingroup math * * \brief The definition of basic mathematical functions. */ #include "math.h" #include "common.h" #include <gmp.h> #include <stdint.h> uint32_t abs_i(const int32_t x) { return (uint32_t)((x < 0) ? -x : x); } double abs_d(const double x) { return (x < 0) ? -x : ...