text
stringlengths
1
1.05M
ASAM1 AMODE 31 ASAM1 CSECT USING ASAM1,R15 * ************************************************* * SAMPLE PROGRAM ASAM1 * AUTHOR: DOUG STOUT * IBM CORPORATION * * A SIMPLE PROGRAM THAT: * - READS A QSAM FILE * - WRITES THE FIRST 80 BYTES OF EACH RECORD TO AN OUTPUT FILE * IN CHAR...
############################################################################### # 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...
/* * (C) Copyright 1996-2012 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an...
db 0 ; species ID placeholder db 90, 30, 15, 15, 40, 20 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 170 ; catch rate db 39 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F75 ; gender ratio db 100 ; unknown 1 db 10 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/igglybuf...
start START 0 JSUB stackinit .stack initialized LDA #100 rp COMP #0 SUB #1 STA @stackptr JSUB stackpush JEQ hlt LDA #20 JSUB sie LDA c LDS #400 MULR S, A LDS #1000 ADDR S, A CLEAR S ADDR A, S DIV #4095 MUL #4095 SUBR A, S CLEAR A ADDR S, A CLEAR S STA c CLEAR A CLEAR S CLEAR X CLE...
; A233820: Period 4: repeat [20, 5, 15, 10]. ; 20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5,15,10,20,5 mov $3,$0 add $0,7 mod $0,2 mov $1,$0 add $1,$0 mov $2,$3 sub $3,$3 add $3,$2 ad...
#include "CapacityLinkItem.hpp" #include <graph_analysis/gui/GraphWidget.hpp> #include <graph_analysis/WeightedEdge.hpp> #include <base-logging/Logging.hpp> #include <cmath> #include <iostream> #include <iomanip> #include <QSettings> #include <QFileDialog> #include <QCoreApplication> #include <QtCore/qmath.h> #include ...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; int putc_unlocked(int c, FILE *stream) ; ; Write char to stream. ; ; =============================================================== SECTION code_stdio PUBLIC asm_putc_u...
PAGE ,132 TITLE PARSE CODE AND CONTROL BLOCKS FOR ANSI.SYS ;****************** START OF SPECIFICATIONS ************************** ; MODULE NAME: PARSER.ASM ; DESCRIPTIVE NAME: PARSES THE DEVICE= STATEMENT IN CONFIG.SYS FOR ; ANSI.SYS ; FUNCTION: THE COMMAND LINE PASSED TO ANSI.SYS IN THE ...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="n, groups"/> <%docstring> Invokes the syscall setgroups. See 'man 2 setgroups' for more information. Arguments: n(size_t): n groups(gid_t): groups </%docstring> ${syscall('SYS_setgroups', n, groups)}
; float log10(float x) SECTION code_fp_math48 PUBLIC cm48_sdccix_log10 EXTERN cm48_sdccix_log10_fastcall cm48_sdccix_log10: pop af pop hl pop de push de push hl push af jp cm48_sdccix_log10_fastcall
; A179805: a(0) = 1, a(1) = 3, a(2) = 6 and a(n) = 2*a(n-1) - a(n-2) for n > 3. ; 1,3,6,15,24,33,42,51,60,69,78,87,96,105,114,123,132,141,150,159,168,177,186,195,204,213,222,231,240,249,258,267,276,285,294,303,312,321,330,339,348,357,366,375,384,393,402,411,420,429,438,447,456,465,474,483,492,501,510,519,528,537,546,55...
#include <ATen/Functions.h> #include <c10/core/MemoryFormat.h> #include "i_gelu_tpp.hpp" namespace intel_mlperf { at::Tensor i_gelu ( const at::Tensor& input, const at::Scalar& M, const at::Scalar& oscale, const at::Scalar& o_off) { auto sizes = input.sizes(); auto batch = sizes[0] * sizes[1]; ...
SECTION code_fp_math16 PUBLIC _f16_mul2 EXTERN cm16_sdcc_mul2 defc _f16_mul2 = cm16_sdcc_mul2
#include "light/platform/opengl/openglvertexarray.hpp" #include "core/logging.hpp" #include "glad/glad.h" namespace Light { GLenum Shader2OpenGLType(ShaderDataType type) { switch (type) { case ShaderDataType::Float: case ShaderDataType::Float2: case ShaderDataType::Float3: case ShaderDataType::Float4: ...
; A006579: Sum of gcd(n,k) for k = 1 to n-1. ; 0,1,2,4,4,9,6,12,12,17,10,28,12,25,30,32,16,45,18,52,44,41,22,76,40,49,54,76,28,105,30,80,72,65,82,132,36,73,86,140,40,153,42,124,144,89,46,192,84,145,114,148,52,189,134,204,128,113,58,300,60,121,210,192,160,249,66,196,156,281,70,348,72,145,250,220,196,297,78,352,216,161,8...
CeladonGym_h: db GYM ; tileset db CELADON_GYM_HEIGHT, CELADON_GYM_WIDTH ; dimensions (y, x) dw CeladonGymBlocks, CeladonGymTextPointers, CeladonGymScript ; blocks, texts, scripts db $00 ; connections dw CeladonGymObject ; objects
global start extern long_mode_start section .text bits 32 start: mov esp, stack_top mov edi, ebx ; Move Multiboot info pointer to edi call check_multiboot call check_cpuid call check_long_mode call set_up_page_tables call enable_paging ; load the 64-bit GDT lgdt [gdt64.pointer] jmp gdt64...
#include "Runtime/MP1/CPlayerVisor.hpp" #include "Runtime/CSimplePool.hpp" #include "Runtime/CStateManager.hpp" #include "Runtime/GameGlobalObjects.hpp" #include "Runtime/Camera/CGameCamera.hpp" #include "Runtime/Graphics/CBooRenderer.hpp" #include "Runtime/Graphics/CModel.hpp" #include "Runtime/GuiSys/CCompoundTarget...
@ This file was created from a .asm file @ using the ads2gas.pl script. .equ DO1STROUNDING, 0 .equ ARCH_ARM , 1 .equ ARCH_MIPS , 0 .equ ARCH_X86 , 0 .equ ARCH_X86_64 , 0 .equ ARCH_PPC32 , 0 .equ ARCH_PPC64 , 0 .equ HAVE_EDSP , 1 .equ HAVE_MEDIA , 1 .equ HAVE_NEON , 1 .equ HAVE_MIPS32 , 0 .equ HAVE_DSPR2 , ...
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ PAGE ,132 TITLE DOS - Code Page Switching - Printer Device Driver ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; FILE...
; ; written by Waleed Hasan ; ; Fixed list of pages (were off by 4) ; Graham R. Cobb 19 May 2002 XLIB findlib .findlib pop hl ; ret addr pop de ; &signature to look for push de push hl ; ;ASM entry point ; i/p : DE = points to signature to look for (zero terminated) ; o/p : HL = library page ; = -1 if not ...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "sparse_112_dot_product.h" #include <vespa/eval/eval/fast_value.hpp> #include <vespa/vespalib/util/typify.h> #include <vespa/vespalib/util/require.h> #include <vespa/eval/eval/visit_stuff.h> #include <algo...
TITLE Trim Trailing Characters (Trim.asm) ; Test the Trim procedure. Trim removes trailing all ; occurences of a selected character from the end of ; a string. ; Last update: 11/24/01 INCLUDE Irvine32.inc Str_trim PROTO, pString:PTR BYTE, ; points to string char:BYTE ; character to remove ...
dex txa eor #$ff
SECTION code_stdio PUBLIC __stdio_parse_mode __stdio_parse_mode: ; parse the fopen mode string ; valid characters include "rwabx+" ; ; enter : de = char *mode ; ; exit : de = char *mode_ptr (address of non-matching char) ; ; success, mode string valid ; ; c = flags ...
; A304506: a(n) = 2*(3*n+1)*(9*n+8). ; 16,136,364,700,1144,1696,2356,3124,4000,4984,6076,7276,8584,10000,11524,13156,14896,16744,18700,20764,22936,25216,27604,30100,32704,35416,38236,41164,44200,47344,50596,53956,57424,61000,64684,68476,72376,76384,80500,84724,89056,93496,98044,102700,107464,112336,117316,122404,127600...
; void dzx7_standard_back(void *src, void *dst) SECTION code_clib SECTION code_compress_zx7 PUBLIC _dzx7_standard_back EXTERN asm_dzx7_standard_back _dzx7_standard_back: pop af pop de pop hl push hl push de push af jp asm_dzx7_standard_back
.byte $00 ; Unknown purpose .byte OBJ_ROTODISCCLOCKWISE, $11, $14 .byte OBJ_GREENCHEEP, $17, $13 .byte OBJ_GREENCHEEP, $1F, $17 .byte OBJ_ROTODISCCLOCKWISE, $25, $14 .byte OBJ_GREENCHEEP, $29, $13 .byte OBJ_BOOMBOOMFLY, $5C, $28 .byte $FF ; Terminator
// Copyright (c) 2016 - 2018 Niobio developers - Derived work from -Karbowanec- // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "ChangeLanguageDialog.h" #include "ui_changelanguagedialog.h" #include "Settings....
org 100h start: mov ax, 5522h mov cx, 1234h xchg cx,ax mov al, 0 mov ah,4Ch int 21h
#include "mediapipe/framework/calculator_framework.h" #include "mediapipe/framework/port/status.h" #include "mediapipe/framework/formats/landmark.pb.h" #include "mediapipe/framework/formats/detection.pb.h" #include "mediapipe/framework/formats/matrix.h" #include <vector> namespace mediapipe{ namespace{ ...
; $Id: bs3-cmn-RegCtxSaveEx.asm $ ;; @file ; BS3Kit - Bs3RegCtxSaveEx. ; ; ; Copyright (C) 2007-2017 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 terms of...
#include<Test_Threads.hpp> #include<Test_Blas2_team_gemv.hpp>
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x910f, %rcx nop nop nop nop nop and %rax, %rax mov $0x6162636465666768, %r15 movq %r15, %xmm2 vmovups %ymm2, (%rcx) xor %rsi, %rsi lea addresses_WT_ht+0x1ae2f, %rdx nop nop su...
global _fatal_error _fatal_error: push bp mov bp, sp mov ax, word [bp+4] call os_fatal_error pop bp ret
; A044685: Numbers n such that string 5,8 occurs in the base 9 representation of n but not of n+1. ; 53,134,215,296,377,458,485,539,620,701,782,863,944,1025,1106,1187,1214,1268,1349,1430,1511,1592,1673,1754,1835,1916,1943,1997,2078,2159,2240,2321,2402,2483,2564,2645,2672,2726,2807 mov $2,$0 add $2,1 mov $5,$0 lpb $2 ...
; A218471: a(n) = n*(7*n-3)/2. ; 0,2,11,27,50,80,117,161,212,270,335,407,486,572,665,765,872,986,1107,1235,1370,1512,1661,1817,1980,2150,2327,2511,2702,2900,3105,3317,3536,3762,3995,4235,4482,4736,4997,5265,5540,5822,6111,6407,6710,7020,7337,7661,7992,8330,8675,9027,9386,9752,10125,10505,10892,11286,11687,12095,12510,1...
; A277813: a(n) = A115384(A277812(n)) = index of the row where n is located in array A277880. ; 1,2,1,3,2,1,4,5,3,2,6,1,7,8,4,9,5,3,10,2,11,12,6,1,13,14,7,15,8,4,16,17,9,5,18,3,19,20,10,2,21,22,11,23,12,6,24,1,25,26,13,27,14,7,28,29,15,8,30,4,31,32,16,33,17,9,34,5,35,36,18,3,37,38,19,39,20,10,40,2,41,42,21,43,22,11,44,...
; 16.8 signed binary math lib for AVR's with RAM V1.0 ; ALL code by Rolf R Bakke, April 2010 ;Uses no AVR registers exept r16 .def a=r16 .def Op1_2=r17 .def Op1_1=r18 .def Op1_0=r19 .def Op2_2=r20 .def Op2_1=r21 .def Op2_0=r22 .def Result2=r23 .def Result1=r24 .def Result0=r25 .def Sign=r26 ...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <gtest/gtest.h> #include <QPushButton> #include <QAction> #include <QtTest> #include <T...
; =============================================================== ; Dec 2012 by Einar Saukas & Urusergi ; "Turbo" version (89 bytes, 25% faster) ; =============================================================== ; ; void dzx7_turbo(void *src, void *dst) ; ; Decompress the compressed block at address src to address dst...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // File: ILStubCache.cpp // // #include "common.h" #include "ilstubcache.h" #include "dllimport.h" #include <formattype.h> #include "jitinterface.h" #include "sigbuilder.h" #inc...
; A113582: Triangle T(n,m) read by rows: T(n,m) = (n - m)*(n - m + 1)*m*(m + 1)/4 + 1. ; Submitted by Jamie Morken(s1) ; 1,1,1,1,2,1,1,4,4,1,1,7,10,7,1,1,11,19,19,11,1,1,16,31,37,31,16,1,1,22,46,61,61,46,22,1,1,29,64,91,101,91,64,29,1,1,37,85,127,151,151,127,85,37,1,1,46,109,169,211,226,211,169,109,46,1,1,56,136,217,28...
_usertests: file format elf32-i386 Disassembly of section .text: 00000000 <opentest>: // simple file system tests void opentest(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 28 sub $0x28,%esp int fd; printf(stdout, "op...
#include <iostream> #include <unistd.h> #include "conf.hpp" #include "client_sim.hpp" #include "realtime_pool.hpp" #include "read_buffer.hpp" const std::string CONF_DIR(std::getenv("UNCALLED_CONF")), DEF_MODEL = CONF_DIR + "/r94_5mers.txt", DEF_CONF = CONF_DIR + "/defaults.toml"; b...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Epson 9-pin driver FILE: eplx9fx100Info.asm AUTHOR: Dave Durran, 28 Mar 1990 REVISION HISTORY: Name Date Description ---- ---- --...
; A087165: a(n)=1 when n == 1 (mod 4), otherwise a(n) = a(n - ceiling(n/4)) + 1. Removing all the 1's results in the original sequence with every term incremented by 1. ; 1,2,3,4,1,5,2,6,1,3,7,2,1,4,8,3,1,2,5,9,1,4,2,3,1,6,10,2,1,5,3,4,1,2,7,11,1,3,2,6,1,4,5,2,1,3,8,12,1,2,4,3,1,7,2,5,1,6,3,2,1,4,9,13,1,2,3,5,1,4,2,8,1...
; A211522: Number of ordered triples (w,x,y) with all terms in {1,...,n} and w + 5y = 2x. ; 0,0,0,1,2,3,4,6,8,11,13,16,19,23,27,31,35,40,45,51,56,62,68,75,82,89,96,104,112,121,129,138,147,157,167,177,187,198,209,221,232,244,256,269,282,295,308,322,336,351,365,380,395,411,427,443,459,476,493,511,528,546,564,583,602,621,...
;/************************************************************************************************************************************/ ;/** ; * @file TxFM0.asm ; * @brief RFID Transmit in FM0 ; * @details ; * ; * @author Justin Reina, UW Sensor Systems Lab ; * @created ; * @last rev ; * ; * @notes ; * @todo ; * @c...
;****************************************************************************** ;* FFT transform with SSE/3DNow optimizations ;* Copyright (c) 2008 Loren Merritt ;* Copyright (c) 2011 Vitor Sessak ;* ;* This algorithm (though not any of the implementation details) is ;* based on libdjbfft by D. J. Bernstein. ;* ;* This...
include ksamd64.inc EXTERNDEF __imp_RtlCaptureContext:QWORD extern harness_main:proc extern report_end:QWORD extern savedContext:QWORD .code FuzzingHarness PROC add rsp, 8 ; discard return address push qword ptr [report_end] ; new retaddr push rcx ; preserve rcx lea rcx, qw...
; ---------------------------------------------------------------------------------------- ; Writes "Hello, World" to the console using only system calls. Runs on 64-bit Linux only. ; To assemble and run: ; ; nasm -felf64 hello.asm && ld hello.o && ./a.out ; ---------------------------------------------------------...
; A025790: Expansion of 1/((1-x)(1-x^8)(1-x^11)). ; 1,1,1,1,1,1,1,1,2,2,2,3,3,3,3,3,4,4,4,5,5,5,6,6,7,7,7,8,8,8,9,9,10,11,11,12,12,12,13,13,14,15,15,16,17,17,18,18,19,20,20,21,22,22,23,24,25,26,26,27,28,28,29,30,31 lpb $0 mov $2,$0 sub $0,8 div $2,11 seq $2,14181 ; Numbers > 9 with all digits the same. add $...
; Windows externdef ExitProcess:PROTO ; SDL include SDL.inc .CONST SCREEN_WIDTH = 640 SCREEN_HEIGHT = 480 WINDOW_TITLE BYTE "SDL Tutorial",0 .DATA .DATA? pWindow QWORD ? pScreenSurface QWORD ? .CODE main PROC sub rsp, 8 ; Align stack sub rsp, 20h ; Create shadow space mov rcx, SDL_INIT_VIDEO call SDL_In...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r8 push %r9 push %rdx push %rsi lea addresses_WC_ht+0x55c8, %r8 nop cmp $55016, %rsi movw $0x6162, (%r8) nop nop nop nop add %r11, %r11 lea addresses_normal_ht+0x78c8, %r9 clflush (%r9) nop nop cmp %rsi, %rsi vmovups (%r9), %ymm0 vextracti...
; ; Z88dk Generic Floating Point Math Library ; ; fraction add c ix de += (hl) ; ; $Id: fradd.asm,v 1.2 2012/04/17 16:37:46 stefano Exp $: XLIB fradd .FRADD LD A,(HL) ADD A,E LD E,A INC HL LD A,(HL) ADC A,D LD D,A ...
#include <iostream> #include "drink_shop_protocol.hpp" int main(int argc, char const *argv[]) { /* code */ class drink_shop_protocol p1; char *b1 = "hello"; std::cout << p1; p1.set_command(DRINK_SHOP_PROTO_CMD_ORDER); p1.set_result(-ENAVAIL); p1.set_body(b1); p1.set_body_length(strlen(...
; A193361: a(0)=0, a(1)=0; for n>1, a(n) = a(n-1) + (n-3)*a(n-2) + 1. ; Submitted by Jon Maiga ; 0,0,1,2,4,9,22,59,170,525,1716,5917,21362,80533,315516,1281913,5383622,23330405,104084736,477371217,2246811730,10839493637,53528916508,270318789249,1394426035918,7341439399397,39413238225512,215607783811041,1200938739448842...
; A097806: Riordan array (1+x, 1) read by rows. ; 1,1,1,0,1,1,0,0,1,1,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0 lpb $0 add $1,$2 add $2,1 sub $0,$2 trn $1,$0 lpe cmp $1,0 mo...
;/**************************************************************************** ; * ; * XVID MPEG-4 VIDEO CODEC ; * - MMX and XMM forward discrete cosine transform - ; * ; * Copyright(C) 2002 Pascal Massimino <skal@planet-d.net> ; * ; * This program is free software; you can redistribute it and/or modify it ; * und...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x179a9, %r10 nop nop and %r12, %r12 movl $0x61626364, (%r10) nop nop nop nop nop and $19898, %r13 lea addresses_D_ht+0x1e601, %rdx nop nop nop nop dec %rax movb (%rdx...
#include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first <<...
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
/* Copyright 2013-2018 MultiMC Contributors * * 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...
/* * Copyright (c) 2016, The OpenThread Authors. * 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 ...
Snd_DEZ2_Header: smpsHeaderStartSong 3 smpsHeaderVoice Snd_DEZ2_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $01, $00 smpsHeaderDAC Snd_DEZ2_DAC smpsHeaderFM Snd_DEZ2_FM1, $00, $0F smpsHeaderFM Snd_DEZ2_FM2, $00, $0C smpsHeaderFM Snd_DEZ2_FM3, $00, $0F smpsHeaderFM ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; WriteMm7.Asm ; ; Abstract: ; ; AsmWriteMm7 function ; ; Notes: ; ;----------------------------------...
; A021640: Decimal expansion of 1/636. ; 0,0,1,5,7,2,3,2,7,0,4,4,0,2,5,1,5,7,2,3,2,7,0,4,4,0,2,5,1,5,7,2,3,2,7,0,4,4,0,2,5,1,5,7,2,3,2,7,0,4,4,0,2,5,1,5,7,2,3,2,7,0,4,4,0,2,5,1,5,7,2,3,2,7,0,4,4,0,2,5,1,5,7,2,3,2,7,0,4,4,0,2,5,1,5,7,2,3,2 add $0,1 mov $2,10 pow $2,$0 mov $0,$2 div $0,636 mod $0,10
; A213634: n-[n/m], where m is the least nondivisor of n (as in A007978) and [ ] = floor. ; 1,2,2,3,3,5,4,6,5,7,6,10,7,10,8,11,9,14,10,14,11,15,12,20,13,18,14,19,15,23,16,22,17,23,18,29,19,26,20,27,21,32,22,30,23,31,24,39,25,34,26,35,27,41,28,38,29,39,30,52,31,42,32,43,33,50,34,46,35,47,36,58,37,50,38,51,39,59,40,54,41...
; A294628: a(n) = 8*(sigma(n) - n + (1/2)). ; Submitted by Jon Maiga ; 4,12,12,28,12,52,12,60,36,68,12,132,12,84,76,124,12,172,12,180,92,116,12,292,52,132,108,228,12,340,12,252,124,164,108,444,12,180,140,404,12,436,12,324,268,212,12,612,68,348,172,372,12,532,140,516,188,260,12,868,12,276,332,508,156,628,12,468,220,596,...
ο»Ώ// Class1.cpp #include "pch.h" #include "Class1.h" using namespace cx_boxing; using namespace Platform; Class1::Class1() { //<snippet01> Object^ obj = 5; //scalar value is implicitly boxed int i = safe_cast<int>(obj); //unboxed with explicit cast. //</snippet01> }
bits 64 default rel stub_offset: dq stub stub_success: dq 0x1111111111111111 ; return address used when the embedded texture is found stub_failed: dq 0x2222222222222222 ; return address to continue searching for the texture in fwTxdStore fragment_store: dq 0x3333333333333333 drawable_store: ...
; A191373: Sum of binomial coefficients C(i+j,i) modulo 2 over all pairs (i,j) of positive integers satisfying 5i+j=n. ; Submitted by Jamie Morken(s4) ; 1,1,1,1,1,2,1,2,1,2,2,3,1,2,2,4,1,2,2,4,2,3,3,5,1,3,2,5,2,3,4,6,1,3,2,6,2,3,4,6,2,4,3,7,3,5,5,8,1,4,3,8,2,3,5,8,2,4,3,8,4,6,6,9,1,5,3,9,2,3,6,9,2,4,3,9 lpb $0 sub $...
; Ti82 Graylib interrupt ;--------------------------------------------------------------------------- ; ; Ported by Stefano Bodrato - Mar 2000 ; ; Recoded -because of strange problems- by Henk Poley - July 2001 ; Based upon vnGrey, a Venus greyscale library (Ti83). ; ; $Id: gray82.asm,v 1.6 2015/...
/** * @example oglplus/028_glass_shape.cpp * @brief Show a simple simulation of refractive transparent object * * @oglplus_screenshot{028_glass_shape} * * Copyright 2008-2013 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at ht...
/* FormataΓ§Γ£o MonetΓ‘ria https://www.urionlinejudge.com.br/judge/pt/problems/view/1309 */ #include <iostream> #include <iomanip> using namespace std; void printCurrency(int dollars, int cents); void printDollars(int dollars); void printCents(int cents); int main(void) { ios::sync_with_stdio(false); int doll...
code segment ;octal multiplier by omer cihan benzer 2017400048 ;input read starts here mov ah , 02 mov cx , 22d mov bx , stringone oneloop: mov dl , [bx] int 21h inc bx dec cx jnz oneloop call reader mov oneh , dx ; oneh is the numberOneHigh mov onel , bx ; onel is the numberOneLow mov ah ,...
// RUN: %clang_cc1 -fsyntax-only -std=c++98 -Wc++11-compat -verify %s // RUN: %clang_cc1 -fsyntax-only -std=c++1y -Wc++11-compat -verify %s #if __cplusplus < 201103L namespace N { template<typename T> void f(T) {} // expected-note 2{{here}} namespace M { template void ::N::f<int>(int); // expected-warning {{e...
BITS 16 ORG 0x7C00 main: jmp short start %include "BPB.inc" %include "CommonMacros.inc" LOAD_KERNEL_AT: equ 0x00100000 %ifdef ULTRA_32 KERNEL_ORIGIN: equ 0xC0000000 KERNEL_ENTRYPOINT: equ LOAD_KERNEL_AT %elifdef ULTRA_64 KERNEL_ORIGIN: equ 0xFFFFFFFF80000000 PHYS_MEMORY: equ 0xFFFF800000000000...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 009612 move.l D1, (A0)+ [base+ 3A, base+ 4A, base+ 5A, base+ 8A, base+ 9A, base+ AA, base+ BA, base+ EA, base+ FA, base+12A, base+13A, base+16A, base+17A, base+1CA, base+1DA, base+20A, base+21A, base+24A, base...
; β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ ; Machine: Machine.asm v0.0.0.1 ; http://azmisahin.com ; ════════════════════════════════════════════════════════════════════════════════════════════════════ ; Copyright bilgi@azmisahin.com ; Licence ...
; A105500: Trajectory of 1 under the morphism 1->{1,2}, 2->{3,2}, 3->{3,4}, 4->{1,4}. ; 1,2,3,2,3,4,3,2,3,4,1,4,3,4,3,2,3,4,1,4,1,2,1,4,3,4,1,4,3,4,3,2,3,4,1,4,1,2,1,4,1,2,3,2,1,2,1,4,3,4,1,4,1,2,1,4,3,4,1,4,3,4,3,2,3,4,1,4,1,2,1,4,1,2,3,2,1,2,1,4,1,2,3,2,3,4,3,2,1,2,3,2,1,2,1,4,3,4,1,4,1,2,1,4,1 mov $4,-19446 cal $0,...
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ include bambi.inc public detect_stacker public detect_stacker_volume public stacker_dd_pointer zseg segment public 'CODE' assume cs:zseg as...
; A175831: Partial sums of ceiling(n^2/12). ; 0,1,2,3,5,8,11,16,22,29,38,49,61,76,93,112,134,159,186,217,251,288,329,374,422,475,532,593,659,730,805,886,972,1063,1160,1263,1371,1486,1607,1734,1868,2009,2156,2311,2473,2642,2819,3004,3196,3397,3606,3823,4049,4284,4527,4780,5042,5313,5594,5885,6185,6496,6817,7148,7490,784...
; A010051: Characteristic function of primes: 1 if n is prime, else 0. ; Submitted by Jamie Morken(s4) ; 0,1,1,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0 mov $1,$0 mul ...
; A276352: a(n) = 100^n - 10^n. ; 0,90,9900,999000,99990000,9999900000,999999000000,99999990000000,9999999900000000,999999999000000000,99999999990000000000,9999999999900000000000,999999999999000000000000,99999999999990000000000000,9999999999999900000000000000,999999999999999000000000000000 mov $1,10 pow $1,$0 bin $1,2...
; A195679: Order of n-th homotopy group of the topological group O(oo), with -1 if the homotopy group is Z. ; 2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1,1,-1,2,2,1,-1,1,1...
INCLUDE \masm32\include\masm32rt.inc INCLUDE \masm32\include\Irvine32.inc INCLUDELIB \masm32\lib\Irvine32.lib INCLUDE \masm32\include\debug.inc INCLUDELIB \masm32\lib\debug.lib .data barray BYTE 6 DUP (?) dwarray DWORD 3 DUP (?) TOTAL_LENGTH = $-barray bdmessage BYTE "Today as stored in a double word", 0dh, 0ah, 0...
; A225566: The set of magic numbers for an idealized harmonic oscillator atomic nucleus with a biaxially deformed prolate ellipsoid shape and an oscillator ratio of 3:1 ; 2,4,6,12,18,24,36,48,60,80,100,120,150,180,210,252,294,336,392,448,504,576,648,720,810,900,990,1100,1210,1320,1452,1584,1716,1872,2028,2184,2366,2548...
; A simple list of all current instructions in order with distinguishable parameters. nop ldr $1,a ldr [$1234],b ldr [HL],h str [$4321],l str [HL],a lda $2345 in $2,a out $3,b inc h dec l ina dea add $4 add a adc $5 adc b sub $6 sub h ...
######################################## # # Retroputer Kernel : IO Map # ######################################## .namespace kiomap { .namespace rtc { # real time clock .const hour 0x00 .const minute 0x01 .const second 0x02 .const centisecon...
// 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/app/chrome_watcher_client_win.h" #include "base/bind.h" #include "base/logging.h" #include "base/macros.h" #include "components/browser_...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x18c91, %rdx nop nop nop add $35045, %r10 mov (%rdx), %rsi nop nop inc %rdi lea addresses_normal_ht+0x4575, %rsi lea addresses_WT_ht+0x16911, %rdi nop add $6873, %r9 mov $87, ...
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Vicente J. Botet Escriba 2008-2009,2012. 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) // // See http://www.boost....
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rbp push %rdx lea addresses_WC_ht+0x170bb, %r11 nop nop add %rbp, %rbp movl $0x61626364, (%r11) nop nop nop nop sub %rdx, %rdx pop %rdx pop %rbp pop %r15 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %rbx ...
/* * DebugEngineInterpreter_impl.hpp * * * @date 12-07-2020 * @author Teddy DIDE * @version 1.00 * Debug Interpreter generated by gensources. */ #define A(str) encode<EncodingT,ansi>(str) #define C(str) encode<ansi,EncodingT>(str) NAMESPACE_BEGIN(interp) template <class EncodingT> DebugEngi...
; v1.0.1 by KirbyMIMI NTSC translation by Colt Zero updated by magi 10/29/21 ; Assembly AR Code .open "sys/main.dol" ; m_Do_controller_pad__mDoCPd_Create + 0x4C .org 0x80007ABC ; 04007ABC nop ...
ο»Ώ/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...