text
stringlengths
1
1.05M
.386P .model FLAT ; ; r_drawa.s ; x86 assembly-language edge clipping and emission code ; include qasm.inc include d_if.inc if id386 ; !!! if these are changed, they must be changed in r_draw.c too !!! FULLY_CLIPPED_CACHED equ 080000000h FRAMECOUNT_MASK equ 07FFFFFFFh _DATA SEGMENT Ld0 dd 0.0 Ld1 dd 0.0 L...
.386p .387 include print.dat assume cs:FLAT,ds:FLAT,es:FLAT,fs:FLAT,gs:FLAT,ss:FLAT _TEXT segment para use32 public 'CODE' include print.equ ini_print proc near mov dword ptr [iexpld],esi mov dword ptr [obase],10 mov dword ptr [prmdp],100 mov dword ptr [prmlp],2000 mov dword ptr [prmln],2000 ...
// Copyright 2015 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 "chrome/installer/setup/installer_crash_reporting.h" #include <iterator> #include <vector> #include "base/command_line.h" #include "base/debug/...
; A055032: Denominator of (Sum(m^(n-1),m=1..n-1)+1)/n. ; Submitted by Jamie Morken(w1) ; 1,1,1,4,1,3,1,8,9,5,1,12,1,7,15,16,1,9,1,20,7,11,1,24,25,13,27,28,1,15,1,32,33,17,35,36,1,19,13,40,1,21,1,44,45,23,1,48,49,25,51,52,1,27,55,56,19,29,1,60,1,31,63,64,65,33,1,68,69,35,1,72,1,37,25,76,77,39,1,80,81,41,1,84,85,43,87,88...
; ; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. 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, ; this list of...
; void *obstack_1grow_callee(struct obstack *ob, char c) SECTION code_clib SECTION code_alloc_obstack PUBLIC _obstack_1grow_callee EXTERN asm_obstack_1grow _obstack_1grow_callee: pop af pop hl pop bc push af jp asm_obstack_1grow
; ; Copyright (c) 2008-2012 Stefan Krah. 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, this list of conditions ...
org 100h L1: NOP L2: MOV DX, 0FFFFH IN AL, DX MOV CL, AL L3: MOV DX, 0000H IN AL, DX MOV CH, AL L4: ADD CL, CH L5: MOV AL, CL OUT 0FEH, AL L6: HLT ret
; size_t obstack_object_size(struct obstack *ob) SECTION code_alloc_obstack PUBLIC _obstack_object_size EXTERN asm_obstack_object_size _obstack_object_size: pop af pop hl push hl push af jp asm_obstack_object_size
// // Coypright (c) 2021 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // #include "stdafx.h" #include "FgMetaFormat.hpp" #include "FgDiagnostics.hpp" #include "FgTestUtil...
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: UserInterface/Gen FILE: genControl.asm ROUTINES: Name Description ---- ----------- GLB GenControlClass Control object REVISION HISTOR...
; A016937: a(n) = (6*n + 2)^5. ; 32,32768,537824,3200000,11881376,33554432,79235168,164916224,312500000,550731776,916132832,1453933568,2219006624,3276800000,4704270176,6590815232,9039207968,12166529024,16105100000,21003416576,27027081632,34359738368,43204003424,53782400000,66338290976,81136812032,98465804768,1186367498...
// push constant 111 @111 D=A @SP A=M M=D @SP M=M+1 // push constant 333 @333 D=A @SP A=M M=D @SP M=M+1 // push constant 888 @888 D=A @SP A=M M=D @SP M=M+1 // pop static 8 @16 D=A @8 D=D+A @R15 M=D @SP AM=M-1 D=M @R15 A=M M=D // pop static 3 @16 D=A @3 D=D+A @R15 M=D @SP AM=M-1 D=M @R15 A=M M=D // pop static 1 @16 D=A ...
Music_MtMoon: musicheader 4, 1, Music_MtMoon_Ch1 musicheader 1, 2, Music_MtMoon_Ch2 musicheader 1, 3, Music_MtMoon_Ch3 musicheader 1, 4, Music_MtMoon_Ch4 Music_MtMoon_Ch1: tempo 208 volume $77 dutycycle $2 tone $0001 vibrato $8, $14 stereopanning $f0 notetype $c, $45 note __, 2 loopchannel 0, Music_MtMoon...
/***************************************************************************** * * NXP Confidential Proprietary * * Copyright 2018 NXP * All Rights Reserved * ****************************************************************************** * * THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR * IM...
dw $0040 track_12_08: db $F5, $77, $86, $EF, $47, $1E, $4F, $1E, $F8, $77 db $EF, $47, $B1, $C3, $DF, $0F, $67, $99, $E3, $7B db $DC, $0C, $0F, $FD, $E8, $E9, $C4, $BE, $EA, $A3 db $EE, $FD, $2F, $3F, $A8, $F6, $8C, $4B, $AC, $E1 db $D3, $48, $F9, $EF, $87, $AB, $BB, $AF, $BD, $EA db $78, $F3, $EF, $72, $BB, $BB...
; A082766: Series ratios converge alternately to sqrt(2) and 1+sqrt(1/2). ; Submitted by Jamie Morken(s2) ; 1,1,2,3,4,7,10,17,24,41,58,99,140,239,338,577,816,1393,1970,3363,4756,8119,11482,19601,27720,47321,66922,114243,161564,275807,390050,665857,941664,1607521,2273378,3880899,5488420,9369319,13250218,22619537,3198885...
.nds .relativeinclude on .erroronwarning on ; This patch allows the front and back entrances of Kalidus to be unlocked separately from one another. ; Normally you'd need to unlock the front entrance first, then the back entrance. ; Trying to unlock the back entrance first would crash the game. ; With this patch you ca...
############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
// Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1cf9f, %rbp nop nop nop nop nop cmp %r14, %r14 mov $0x6162636465666768, %rax movq %rax, (%rbp) nop nop nop and %r12, %r12 lea addresses_normal_ht+0x114ff, %rsi lea addre...
; ;MEMORY MODEL : Interpretation when omitted ;When the -cpu=S1 option is specified, small is assumed. ;When the -cpu=S2 or -cpu=S3 option is specified, medium is assumed ; ; define this macro if you are using MEDIUM model otherwise comment it $IFNDEF __RL78_MEDIUM__ __RL78_MEDIUM__ .EQU 0x01 $ENDIF ;.EXTERN _port...
/** * 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: ret .global s_faulty_load s_faulty_load: push %r13 push %rbp push %rcx push %rdi push %rdx // Faulty Load lea addresses_UC+0x3d11, %rbp dec %r13 mov (%rbp), %cx lea oracles, %rdi and $0xff, %rcx shlq $12, %rcx mov (%rdi,%rcx,1), %rcx pop %rdx pop %rdi pop %rcx pop %rbp...
// Copyright 2020, Nathan Blane #include "EngineStatView.hpp" #include "Debugging/ProfilerStatistics.hpp" #include "Visualization/ScreenTextItem.hpp" #include "Engine/FrameData.hpp" static void MoveMetricPositionDown(Vector2& currentScreenPos) { currentScreenPos.y += 20; } static void FormatAndAddTextIte...
; This is a comment. ;Since implementing the FizzBuzz game with Assembly is a bit complicated, this code just implements Hello World. bits 64 global _start ;Program codes are written in this section. section .text _start: ;Calls `sys_write` system call. mov rax, 1 ;specifies the system call mov rdi...
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : skip.asm ; Purpose : Structure Skipping Code ; Date : 29th August 2019 ; Review : 1st September 2019 ; Author : ...
; A030978: Maximal number of non-attacking knights on an n X n board. ; 0,1,4,5,8,13,18,25,32,41,50,61,72,85,98,113,128,145,162,181,200,221,242,265,288,313,338,365,392,421,450,481,512,545,578,613,648,685,722,761,800,841,882,925,968,1013,1058,1105,1152,1201,1250,1301,1352,1405,1458,1513,1568,1625,1682,1741,1800,1861,192...
#include "win.h" #include "ui_win.h" Win::Win(QWidget *parent) : QDialog(parent), ui(new Ui::Win) { ui->setupUi(this); } Win::~Win() { delete ui; } void Win::display(int level, int moves, int pushes) { if(level < 0) ui->level->hide(); if(moves < 0) ui->move...
//===-- SIFoldOperands.cpp - Fold operands --- ----------------------------===// // // 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 // /// \file //===-----------------...
.model small .data .code main proc mov ax,1000H mov bx,2000H cmp ax,bx endp end main
; A245093: Triangle read by rows in which row n lists the first n terms of A000203. ; 1,1,3,1,3,4,1,3,4,7,1,3,4,7,6,1,3,4,7,6,12,1,3,4,7,6,12,8,1,3,4,7,6,12,8,15,1,3,4,7,6,12,8,15,13,1,3,4,7,6,12,8,15,13,18,1,3,4,7,6,12,8,15,13,18,12,1,3,4,7,6,12,8,15,13,18,12,28,1,3,4,7,6,12,8,15,13,18,12,28,14,1,3,4,7,6,12,8,15,13 s...
// Copyright 2017 Polonite Authors. All rights reserved. // Distributed under MIT license that can be found in the LICENSE file. #include "Base/Memory/LinearAllocator.h" #include "Base/Error/BasicExceptions.h" #include "Base/Math/Alignment.h" #include "Base/Memory/Allocate.h" #include <stdlib.h> namespace stp { /*...
/** Copyright 2009-2021 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering ...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
; A004247: Multiplication table read by antidiagonals: T(i,j) = ij (i>=0, j>=0). ; 0,0,0,0,1,0,0,2,2,0,0,3,4,3,0,0,4,6,6,4,0,0,5,8,9,8,5,0,0,6,10,12,12,10,6,0,0,7,12,15,16,15,12,7,0,0,8,14,18,20,20,18,14,8,0,0,9,16,21,24,25,24,21,16,9,0,0,10,18,24,28,30,30,28,24,18,10,0,0,11,20,27,32,35,36,35,32,27,20,11,0,0,12,22,30,3...
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "mxtest/control/CompileControl.h" #ifdef MX_COMPILE_IMPORT_TESTS #include "ImportTestImpl.h" #include "ezxml/XFactory.h" #include "mxtest/file/StupidFileFunctions.h" #include "mxtest/file/Path.h" #include ...
SECTION code_clib SECTION code_fp_math48 PUBLIC ___fs2ulong_callee EXTERN cm48_sdccixp_ds2ulong_callee defc ___fs2ulong_callee = cm48_sdccixp_ds2ulong_callee
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x114ff, %rsi nop nop nop nop and %rbx, %rbx and $0xffffffffffffffc0, %rsi vmovntdqa (%rsi), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $0, %xmm5, %rcx nop sub $42530, %rbp lea...
; A164131: Numbers n such that n^2 == 2 (mod 31). ; 8,23,39,54,70,85,101,116,132,147,163,178,194,209,225,240,256,271,287,302,318,333,349,364,380,395,411,426,442,457,473,488,504,519,535,550,566,581,597,612,628,643,659,674,690,705,721,736,752,767,783,798,814,829,845,860,876,891,907,922,938,953,969,984,1000,1015,1031,1046...
; A167381: The numbers read down the left-center column of an arrangement of the natural numbers in square blocks. ; 1,3,6,10,14,18,23,29,35,41,47,53,60,68,76,84,92,100,108,116,125,135,145,155,165,175,185,195,205,215,226,238,250,262,274,286,298,310,322,334,346,358,371,385,399,413,427,441,455,469,483,497,511,525,539,553...
#include <iostream> #include <time.h> extern "C" { // Too much of a headache and segfaults in unix // tm gmtime_safe(const time_t time) { // tm tm_snapshot; // #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__)) // gmtime_s(&tm_snapshot, &time); // #else // gmtime_r(&time, &tm_snapshot); // POS...
; ; Fast background restore ; ; VZ200/300 version ; ; ; $Id: bkrestore.asm,v 1.4 2002/04/17 21:30:25 dom Exp $ ; XLIB bkrestore LIB pixeladdress .bkrestore ld hl,2 add hl,sp ld e,(hl) inc hl ld d,(hl) ;sprite address push de pop ix ld h,(i...
; ; Copyright (c) 2020 Bitdefender ; SPDX-License-Identifier: Apache-2.0 ; section .text %ifdef __YASM_MAJOR__ %include "cpu_state_defs.nasm" %else %include "kernel\cpu_state_defs.nasm" %endif %ifdef EFI_BUILD %include "asmlib\loader_interface.nasm" %else %ifdef _CPU_STATE_ASM_USE_WINGUEST_PATH_ ...
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <_RTL_CRITICAL_SECTION.hpp> START_ATF_NAMESPACE typedef _RTL_CRITICAL_SECTION *PCRITICAL_SECTION; END_ATF_NAMESPACE
;------------------------------------------------------------------------------ ; ; 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. Th...
inventory_check: andi a0, a0, 0xFF li t0, SAVE_CONTEXT beq a0, 0x8C, @@return ; Deku Nuts (5) lbu v0, 0x75 (t0) beq a0, 0x8D, @@return ; Deku Nuts (10) lbu v0, 0x75 (t0) beq a0, 0x00, @@return ; Deku Stick lbu v0, 0x74 (t0) beq a0, 0x8A, @@retu...
%ifdef CONFIG { "RegData": { "MM0": ["0x0", "0x0"], "MM1": ["0x0", "0x0"], "MM2": ["0x1010101010101010", "0x0"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0xFFFFFFFFFFFFFFFF mov [rdx + 8 * 0], rax mov rax, 0x0 mov [rdx + 8 * 1], rax mov rax, 0x10101010...
; A178349: Partial sums of sum_{n=0...infinity} 1010^n. ; 1,1011,1021111,1031322111,1041635332111,1052051685432111,1062572202286432111,1073197924309296432111,1083929903552389396432111,1094769202587913290396432111,1105716894613792423300396432111,1116774063559930347533400396432111,1127941804195529651008734400396432111,11...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; WriteMm1.Asm ; ; Abstract: ; ; AsmWriteMm1 function ; ; Notes: ; ;----------------------------------...
#ifndef MAT_H #define MAT_H #include <iostream> namespace ariel { std::string mat(int col, int row, char c1, char c2); } #endif
; ----------------------------------------------------------------------------- ; Call printf with seven parameters ; 4x of them are assigned to registers. ; 3x of them are assigned to stack spaces. ; ----------------------------------------------------------------------------- ; Call printf with seven parameters ...
object_const_def ; object_event constants const TINTOWER8F_POKE_BALL1 const TINTOWER8F_POKE_BALL2 const TINTOWER8F_POKE_BALL3 TinTower8F_MapScripts: db 0 ; scene scripts db 0 ; callbacks TinTower8FNugget: itemball NUGGET TinTower8FMaxElixer: itemball MAX_ELIXER TinTower8FFullRestore: itemball FULL_RESTORE...
.386p ;comment @ ;include mymacro.asm ;comment Kernel Segment public para use32 assume cs:Kernel ;param:string __hexstr2int proc push ebp mov ebp,esp push edx push esi sub esp,40h push ss:[ebp + 8] call __strlen add esp,4 mov edx,0 cmp eax,8 ja _hexstr2intover cmp eax,0 jbe _hexst...
; --------------------------------------------------------------------------- ; Sprite mappings - advancing wall of lava (MZ) ; --------------------------------------------------------------------------- dc.w byte_F538-Map_obj4E dc.w byte_F566-Map_obj4E dc.w byte_F594-Map_obj4E dc.w byte_F5C2-Map_obj4E ...
// --------------------------------------------------------------------- // // Copyright (c) 2014 - 2022 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
; $Id: setjmp.asm $ ;; @file ; IPRT - No-CRT setjmp & longjmp - AMD64 & X86. ; ; ; Copyright (C) 2006-2015 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 modify it under the te...
; A099378: Denominators of the harmonic means of the divisors of the positive integers. ; Submitted by Jon Maiga ; 1,3,2,7,3,1,4,15,13,9,6,7,7,3,2,31,9,13,10,7,8,9,12,5,31,21,10,1,15,3,16,21,4,27,12,91,19,15,14,9,21,2,22,7,13,9,24,31,19,31,6,49,27,5,18,15,20,45,30,7,31,12,52,127,21,3,34,21,8,9,36,65,37,57,62,35,24,7,40...
f1: PUSH %14 MOV %15,%14 @f1_body: MOV $0,%13 JMP @f1_exit @f1_exit: MOV %14,%15 POP %14 RET f2: PUSH %14 MOV %15,%14 @f2_body: MOV $0,%13 JMP @f2_exit @f2_exit: MOV %14,%15 POP %14 RET f3: PUSH %14 MOV %15,%14 @f3_body: MOV $0,%13 JMP @f3_exit @f3_exit: MOV %14,%15 ...
#ifndef PYTHONIC_BUILTIN_DICT_UPDATE_HPP #define PYTHONIC_BUILTIN_DICT_UPDATE_HPP #include "pythonic/include/builtins/dict/update.hpp" #include "pythonic/__dispatch__/update.hpp" #endif
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-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 "rpc/protocol.h" #include "random.h" #include "tinyformat.h" #include "util....
; =============================================================== ; Jan 2014 ; =============================================================== ; ; char *_memstrcpy(void *p, char *s, size_t n) ; ; At most n chars from string s are copied to p. The terminating ; '\0' in s is not copied. ; ; ===========================...
; A103838: Complement of A001671. ; 2,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79 mul $0,2 mov $1,$0 lpb $1 add $0,2 sub $2,$1 add $2,$0 sub ...
dnl ARM mpn_addlsh1_n and mpn_sublsh1_n dnl Contributed to the GNU project by Torbjörn Granlund. dnl Copyright 2012 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 modify dnl it under the terms of either: dn...
org 0x7c00 start: push cs pop ds mov bx, string repeat: mov al, [bx] test al, al je end push bx mov ah, 0x0e mov bx, 0x000f int 0x10 pop bx inc bx jmp repeat end: jmp $ string: db "Hello, world", 0 times 510 - ($-$$) db 0 db 0x55, 0xaa
** = $0021 ; ; Character look-up table. Frequently-used ; characters stored as 4-bit pointers ; into part of this table (FUTBL). In- ; frequently-used characters stored as ; 8-bit pointers into the other part ; (IUTBL). Note that the last two en- ; tries are variables, used for special ;...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2015 Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Redistributions of s...
#define BIORBD_API_EXPORTS #include "s2mActuatorGauss6p.h" #include "s2mGenCoord.h" s2mActuatorGauss6p::s2mActuatorGauss6p( int direction, double Tmax, double T0, double wmax, double wc, double amin, double wr, double w1, double r, double qopt, double facteur, double r2...
#include "audiorecorder.h" #include <QApplication> #include <QFile> int main(int argc, char *argv[]) { QApplication a(argc, argv); /* 指定文件 */ QFile file(":/style.qss"); /* 判断文件是否存在 */ if (file.exists() ) { /* 以只读的方式打开 */ file.open(QFile::ReadOnly); /* 以字符串的方式保存读出的结果 */ ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 lea addresses_WC_ht+0x1c9d7, %r12 nop nop nop nop xor %r13, %r13 movups (%r12), %xmm3 vpextrq $1, %xmm3, %r10 nop sub %r13, %r13 pop %r13 pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r9 push %rbx push...
; PROLOGUE(mpn_addmul_1) ; 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...
; A213508: The sequence Z(n) arising in the enumeration of balanced binary trees. ; 1,3,4,7,9,10,11,15,18,20,22,23,24,25,26,31,35,38,41,43,45,47,49,50,51,52,53,54,55,56,57,63,68,72,76,79,82,85,88,90,92,94,96,98,100,102,104,105,106,107 mov $16,$0 mov $18,$0 add $18,1 lpb $18 mov $0,$16 sub $18,1 sub $0,$18 add ...
; A190954: a(n) = 10*a(n-1) + 4*a(n-2), with a(0)=0, a(1)=1. ; Submitted by Jamie Morken(s4) ; 0,1,10,104,1080,11216,116480,1209664,12562560,130464256,1354892800,14070785024,146127421440,1517557354496,15760083230720,163671061725184,1699750950174720,17652193748647936,183320941287178240,1903818187866374144,19771465643812...
#include "common/common/thread.h" #include "common/event/libevent.h" #include "test/test_common/simulated_time_system.h" #include "event2/event.h" #include "gtest/gtest.h" namespace Envoy { namespace Event { namespace Test { class SimulatedTimeSystemTest : public testing::Test { protected: SimulatedTimeSystemTest...
// Demonstrates an array with a trailing comma // Commodore 64 PRG executable file .file [name="initializer-4.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 :Basi...
; A271091: Number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 275", based on the 5-celled von Neumann neighborhood. ; Submitted by Jon Maiga ; 1,5,5,40,5,112,5,216,5,352,5,520,5,720,5,952,5,1216,5,1512,5,1840,5,2200,5,2592,5,3016,5,3472,5,3960,5,4480,5,5032,...
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. 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 * * Unle...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x25e4, %rdx nop add $40472, %r13 mov (%rdx), %bp nop nop nop cmp $285, %r8 lea addresses_WC_ht+0x1ae24, %rsi lea addresses_A_ht+0x7058, %rdi nop nop nop nop sub %rbp, %rbp mov...
;; ;; Copyright (C) Manas Kamal Choudhury 2021 ;; ;; _low_level.asm -- Machine Level assembly codes ;; for x86_64 ;; ;; /PROJECT -- Aurora v1.0 {Xeneva} ;; /AUTHOR -- Manas Kamal Choudhury ;; ;; =========================================================== ;; section .text [BITS 64] ;---...
#include "classifier.h" #include <math.h> #include <string> #include <vector> using Eigen::ArrayXd; using std::string; using std::vector; // Initializes GNB GNB::GNB() { /** * TODO: Initialize GNB, if necessary. May depend on your implementation. */ left_means = ArrayXd(4); left_means << 0,0,0,0; ...
;; ;; Copyright (c) 2020-2021, 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...
/*========================================================================= * * 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 * * http://www.apache.or...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x1a7d1, %rsi lea addresses_A_ht+0xad84, %rdi nop nop nop nop nop dec %r9 mov $43, %rcx rep movsw dec %rax lea addresses_A_ht+0x1a94c, %r13 nop nop nop nop sub %r12, %r12 movw $0x6162, (%...
; A016954: a(n) = (6n+3)^10. ; 59049,3486784401,576650390625,16679880978201,205891132094649,1531578985264449,8140406085191601,34050628916015625,119042423827613001,362033331456891249,984930291881790849,2446194060654759801,5631351470947265625,12157665459056928801,24842341419143568849,48398230717929318249,9043820750088044...
global _rotateLeft ; uint32_t rotateLeft(uint32_t value, uint32_t count) global _rotateRight ; uint32_t rotateRight(uint32_t value, uint32_t count) segment .text align=16 _rotateLeft: mov eax, edi mov ecx, esi rol eax, cl ret _rotateRight: mov eax, edi mov ecx, esi ror eax, cl ret
;; z28r asm ;; system font for MegaMicro data font ;; \x80 0b00000000 0b00000000 0b00000000 0b00011000 0b00011000 0b00000000 0b00000000 0b00000000 ;; \x81 0b00000000 0b00000000 0b00000000 0b00000000 0b00001111 0b00001111 0b00001111 0b00001111 ;; \x82 0b00000000 0b00000000 0b...
; A314754: Coordination sequence Gal.5.82.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,9,13,19,23,27,33,37,41,46,51,55,59,65,69,73,79,83,87,92,97,101,105,111,115,119,125,129,133,138,143,147,151,157,161,165,171,175,179,184,18...
rl c rl b rl e rl d rl l rl h rr b rr c rr d rr e rr h rr l sla c rl b sla e rl d add hl, hl sli c rl b sli e rl d sli l rl h sli c rl b sli e rl d sli l rl h sra b rr c sra d rr e sra...
#include "script_component.hpp" class CfgPatches { class ADDON { name = COMPONENT_NAME; units[] = { QGVAR(moduleAddIntel), QGVAR(moduleAddIntel3den), "keko_ModuleAddIntel3den" }; weapons[] = {}; requiredVersion = REQUIRED_VERSION; ...
; $Id: VBoxBiosAlternative.asm $ ;; @file ; Auto Generated source file. Do not edit. ; ; ; Source file: post.c ; ; BIOS POST routines. Used only during initialization. ; ; ; ; Copyright (C) 2004-2015 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rdx lea addresses_D_ht+0x1ef4, %r14 clflush (%r14) nop nop nop add %rdx, %rdx mov $0x6162636465666768, %r10 movq %r10, (%r14) sub $32054, %r8 pop %rdx pop %r8 pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r...
; A007758: a(n) = 2^n*n^2. ; 0,2,16,72,256,800,2304,6272,16384,41472,102400,247808,589824,1384448,3211264,7372800,16777216,37879808,84934656,189267968,419430400,924844032,2030043136,4437573632,9663676416,20971520000,45365592064,97844723712,210453397504,451508436992,966367641600,2063731785728,4398046511104,9354438770688...
; A021814: Expansion of 1/((1-x)(1-4x)(1-6x)(1-8x)). ; Submitted by Jon Maiga ; 1,19,239,2519,24135,218343,1903783,16194343,135426599,1118993447,9166829607,74629521447,604827848743,4885462331431,39365093814311,316610553147431,2543028967600167,20405121901817895,163606407806611495,1311044224509177895,10501513034426642471...
; ######################################################################### .386 .model flat, stdcall option casemap :none option dotname ; ######################################################################### include \masm32\include\windows.inc include \masm32\include\masm32.inc incl...
; A021491: Decimal expansion of 1/487. ; Submitted by Jon Maiga ; 0,0,2,0,5,3,3,8,8,0,9,0,3,4,9,0,7,5,9,7,5,3,5,9,3,4,2,9,1,5,8,1,1,0,8,8,2,9,5,6,8,7,8,8,5,0,1,0,2,6,6,9,4,0,4,5,1,7,4,5,3,7,9,8,7,6,7,9,6,7,1,4,5,7,9,0,5,5,4,4,1,4,7,8,4,3,9,4,2,5,0,5,1,3,3,4,7,0,2 add $0,1 mov $2,10 pow $2,$0 div $2,487 mov $0,$2 mod $...
; A081594: Let n = 10x + y where 0 <= y <= 9, x >= 0. Then a(n) = 2x+y. ; 0,1,2,3,4,5,6,7,8,9,2,3,4,5,6,7,8,9,10,11,4,5,6,7,8,9,10,11,12,13,6,7,8,9,10,11,12,13,14,15,8,9,10,11,12,13,14,15,16,17,10,11,12,13,14,15,16,17,18,19,12,13,14,15,16,17,18,19,20,21,14,15,16,17,18,19,20,21,22,23,16,17,18,19,20,21,22,23,24,25,18,19,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1aacf, %rsi lea addresses_WC_ht+0xd987, %rdi add $20219, %rbx mov $67, %rcx rep movsw nop cmp %rax, %rax lea addresses_normal_ht+0xd3cf, %r11 nop nop nop nop cmp %rdi, %rdi mo...
#Mitch Guthrie #Homework 1 # C code: # a = 4*(b-c) + (d+e)/2 .data a: .word 0 # a b: .word 12 # b c: .word 5 # c d: .word 3 # d e: .word 7 # e newline: .byte '\n' .text lw $s0, a # load all data from RAM into registers lw $s1, b lw $s2, c lw $s3, d lw $s4, e sub $t0, $s1, $s2 add $t1, $s3...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Buffer Definitions: // // cbuffer cbPS // { // // float4 g_param; // Offset: 0 Size: 16 // // } // // // Resource Bindings: // // Name Type Format Dim Slot Elements // ...
;; ;; 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...