text
stringlengths
1
1.05M
;------------------------------------------------------------------------------ ; ; Copyright (c) 2016, 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....
Label -mem-manager-initialize DLabel $heap-start-ptr DataZ 4 DLabel $heap-after-ptr DataZ 4 DLabel $heap-first-free DataZ 4 ...
GymStatues: ; if in a gym and have the corresponding badge, a = GymStatueText2_id and jp PrintPredefTextID ; if in a gym and don’t have the corresponding badge, a = GymStatueText1_id and jp PrintPredefTextID ; else ret call EnableAutoTextBoxDrawing ld a, [wPlayerFacingDirection] cp SPRITE_FACING_UP ret nz ld hl, ....
EXTRN pj_dget_err:word CGROUP group code code segment dword 'CODE' assume cs:CGROUP,ds:CGROUP include errcodes.i ; I renamed it cause it is so picky -- use change_dir() in dosstuff.c Peter public _lodos_set_dir ; ** does not handle a trailing '\' ** ; Errcode _lodos_set_dir(char *path); _lodos_set...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 15/10/98 ; ; ; Page the graphics bank in/out - used by all gfx functions ; Simply does a swap... ; ; ; $Id: swapgfxbk.asm,v 1.2 2017-01-02 22:57:59 aralbrec Exp $ ...
; A198392: a(n) = (6*n*(3*n+7)+(2*n+13)*(-1)^n+3)/16 + 1. ; Submitted by Jamie Morken(s2) ; 2,4,12,18,31,41,59,73,96,114,142,164,197,223,261,291,334,368,416,454,507,549,607,653,716,766,834,888,961,1019,1097,1159,1242,1308,1396,1466,1559,1633,1731,1809,1912,1994,2102,2188,2301,2391,2509,2603,2726,2824,2952,3054,3187,329...
global main extern printf extern scanf SECTION .bss b5b567 resb 8 c3bd resb 8 d3 resb 8 SECTION .text main: mov rax,11 mov [b5b567],rax xor rax,rax mov rax,0 mov [d3],rax xor rax,rax ; starting label of while 0 label0: mov rax,[b5b567] mov rbx,5 cmp rax,rbx jl label2 ; starting label of while...
; =============================================================== ; Feb 2014 ; =============================================================== ; ; size_t w_vector_push_back(w_vector_t *v, void *item) ; ; Append word to end of vector, return index of appended word. ; ; =================================================...
#include "bitcoinunits.h" #include <QStringList> BitcoinUnits::BitcoinUnits(QObject *parent): QAbstractListModel(parent), unitlist(availableUnits()) { } QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits() { QList<BitcoinUnits::Unit> unitlist; unitlist.append(BTC); unitlist.append(mBT...
;/** @file ; Low level x64 routines used by the debug support driver. ; ; Copyright (c) 2007 - 2011, 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. ...
//Copyright (C) 2020, Nicolas Morales Escobar. All rights reserved. #include "Game/Private/GameObjects/Player/Player.h" Player::Player() { transform->SetPosition(Vector2(Screen::GetWidth() * 0.5f, 550)); myType = GameObjectType::Player; } Player::~Player() { } void Player::Update(float deltaTime) { int x = 0;...
/* * Copyright 2016 The Kythe 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 ap...
;; @file ; This is the assembly code for page fault handler hook. ; ; Copyright (c) 2015, 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. The full tex...
; A063249: Doubly hexagonal numbers. ; 0,1,66,435,1540,4005,8646,16471,28680,46665,72010,106491,152076,210925,285390,378015,491536,628881,793170,987715,1216020,1481781,1788886,2141415,2543640,3000025,3515226,4094091,4741660,5463165,6264030,7149871,8126496,9199905,10376290,11662035,13063716,14588101,16242150,18033015,19...
goldspdl = Ob.a goldspdh = Ob.b ;obecna, 16 bitowa szybkość spadania goldyl = Ob.c ;obecne low dla pozycji y goldwait = Ob.d goldcol = Ob.e obgold: ldx tempx lda goldwait,x beq @nowait jmp @wait @nowait lda #2 jsr startanim ldx tempx lda goldspdl,x clc adc goldyl,x sta goldyl,...
#include<iostream> #include<queue> using namespace std; class node{ public: int data; node* left; node* right; node(int d){ data = d; left = nullptr; right = nullptr; } }; void insert(node* &root,int d){ if(d==-1){return;} if(root == nullptr){ root = new...
; A028949: Write numbers from 1 to n(n+1)/2 in a left-justified lower triangular array (a) downwards and (b) across; a(n) is number of numbers in same position in both. ; 1,3,4,4,5,4,4,6,4,6,4,6,6,4,6,4,6,6,4,6,4,5,8,4,10,4,4,6,6,10,4,4,6,4,6,4,4,10,6,6,4,6,10,4,6,6,6,8,4,6,8,4,6,6,8,6,6,6,6,8,6,4,10,6,6,6,4,10,6,6,4,4...
global asm_isr_init extern isr_dispatch extern idt_register_handler extern kprintf lol: db "interrupt %d", 10, 0 %define WITH_ERROR push eax %macro isr 1-2 push dword 0 jmp isr_%1.fin isr_%1: cli pusha %2 push dword %1 call isr_dispatch add esp, 8 ...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="fd, file, tvp"/> <%docstring> Invokes the syscall futimesat. See 'man 2 futimesat' for more information. Arguments: fd(int): fd file(char): file tvp(timeval): tvp </%docstring> ${syscall('SYS_futimesat', fd, file, tvp)}
db SNORLAX ; pokedex id db 160 ; base hp db 110 ; base attack db 65 ; base defense db 30 ; base speed db 65 ; base special db NORMAL ; species type 1 db NORMAL ; species type 2 db 25 ; catch rate db 154 ; base exp yield INCBIN "pic/gsmon/snorlax.pic",0,1 ; 77, sprite dimensions dw SnorlaxPicFront dw SnorlaxPicBack ; at...
; A132923: Triangle by columns, F(n) followed by (F(n)+1), (F(n)+2), (F(n)+3),... ; Submitted by Jon Maiga ; 1,2,1,3,2,2,4,3,3,3,5,4,4,4,5,6,5,5,5,6,8,7,6,6,6,7,9,13,8,7,7,7,8,10,14,21,9,8,8,8,9,11,15,22,34,10,9,9,9,10,12,16,23,35,55 lpb $0 add $1,1 sub $0,$1 lpe sub $1,$0 seq $0,187107 ; Number of nontrivial comp...
// 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 "chromeos/components/tether/network_connection_handler_tether_delegate.h" #include <memory> #include "base/bind.h" #include "chromeos/component...
; A001042: a(n) = a(n-1)^2 - a(n-2)^2. ; Submitted by Christian Krause ; 1,2,3,5,16,231,53105,2820087664,7952894429824835871,63248529811938901240357985099443351745,4000376523371723941902615329287219027543200136435757892789536976747706216384,1600301232874364098958665532014462958011944637653737218415413071360948057549809...
// C:\diabpsx\SOURCE\TESTCODE.CPP #include "types.h" // address: 0x800732C4 // line start: 66 // line end: 69 void DoGameTestStuff__Fv() { } // address: 0x800732F0 // line start: 73 // line end: 76 void DoInitGameStuff__Fv() { }
; A021058: Decimal expansion of 1/54. ; 0,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8,5,1,8 lpb $0,1 sub $2,2 add $2,$0 trn $0,$1 sub $1,$0 trn $1,1 add $1,4 t...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2007, 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...
#include "shm.hpp" #include <wl_connection.hpp> #include <x_connection.hpp> #include <wayland-server.h> #include <unistd.h> #include <sys/mman.h> #include <cstring> #if __ORDER_LITTLE_ENDIAN == __BYTE_ORDER__ #define NATIVE_XCB_IMAGE_ORDER XCB_IMAGE_ORDER_LSB_FIRST #else #define NATIVE_XCB_IMAGE_ORDER XCB_IMAGE_ORDER_...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x17275, %rsi lea addresses_D_ht+0xc035, %rdi nop nop nop nop nop cmp $21932, %rbx mov $67, %rcx rep movsl nop nop nop add %rax, %rax lea addresses_UC_ht+0x17315, %rsi lea addresses_A_ht+0x9db5, %...
; A077802: Sum of products of parts increased by 1 in hook partitions of n, where hook partitions are of the form h*1^(n-h). ; 1,2,7,18,41,88,183,374,757,1524,3059,6130,12273,24560,49135,98286,196589,393196,786411,1572842,3145705,6291432,12582887,25165798,50331621,100663268,201326563,402653154,805306337,1610612704 mov...
;Example of NestorWeb CGI script that performs a client redirect. ;The client will receive a "302 Found" status. CR: equ 13 LF: equ 10 STDOUT: equ 1 _WRITE: equ 49h org 100h ld de,REDIR ld hl,REDIR_END-REDIR ld b,STDOUT ld c,_WRITE call 5 ret REDIR: db "Location...
.MODEL SMALL .STACK 32 .DATA STR1 DB 21,0,22 dup ('$') STR2 DB 21,0,22 dup ('$') nl db 21,0,22 dup ('$') .CODE START: MOV AX,@DATA MOV DS,AX DISP: LEA DX,STR1 ...
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/ganesh/effects/GrGaussianConvolutionFragmentProcessor.h" #include "src/core/SkGpuBlurUtils.h" #include "src/gpu/KeyBuilder.h" #include "src/gpu/ganesh/GrTex...
;=============================================================================== ; Copyright 2015-2021 Intel Corporation ; ; 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.apa...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; zx spectrum if2 cartridge ;; ;; generated by target/zx/startup/zx_crt_if2.m4 ;; ;; ;; ;; 16k ROM in 0-16k area, ram placement per pragmas ;;...
section .data; Data segement msg db "Hello, world!", 0x0a; The string and newline char section .text; Text segement global _start; Default entry point for elf Linking _start: ;SYSCALL: write(1, msg, 14) mov eax, 4 ; put 4 into eax since write is syscall #4 mov ebx, 1 ; put 1 into ebx since stdout is 1 mov ec...
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; typedef long long i64; #define M1 998244353 #define M2 1000000007 #define BASE 19260817 #define INF 0x3f3f3f3f struct Hash { i64 h1 = 0, h2 = 0; Hash &operator+=(i64 v) { h1 += v; h2 += v; if (h1 >= M1) ...
;/* ========================================================== ; * Copyright (c) Texas Instruments Inc , 2004, 2005 ; * ; * Use of this software is controlled by the terms and conditions found ; * in the license agreement under which this software has been supplied ; * priovided ; * ==================...
;;############################################################################# ;;! \file source/FFT32_calc.asm ;;! ;;! \brief Complex FFT (radix-2 DIT) Calculation Function ;;! ;;! \date Feb 26, 2002 ;;! ;; ;; Group: C2000 ;; Target Family: C28x ;; ;;#################################################...
; A169409: Number of reduced words of length n in Coxeter group on 12 generators S_i with relations (S_i)^2 = (S_i S_j)^32 = I. ; 1,12,132,1452,15972,175692,1932612,21258732,233846052,2572306572,28295372292,311249095212,3423740047332,37661140520652,414272545727172,4556998002998892,50126978032987812,551396758362865932 ...
SECTION code_fp_am9511 PUBLIC ___fs2sint_callee EXTERN cam32_sdcc___fs2sint_callee defc ___fs2sint_callee = cam32_sdcc___fs2sint_callee
; A071797: Restart counting after each new odd integer (a fractal sequence). ; 1,1,2,3,1,2,3,4,5,1,2,3,4,5,6,7,1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,10,11,1,2,3,4,5,6,7,8,9,10,11,12,13,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,1,2,3,4,5,6...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x13d57, %rdx nop nop nop nop nop dec %r9 mov (%rdx), %cx nop nop nop cmp %rdi, %rdi lea addresses_UC_ht+0x16557, %rsi lea addresses_WC_ht+0x14357, %rdi nop nop cmp %rbx, %rbx m...
; A104859: Partial sums of A001764. ; 1,2,5,17,72,345,1773,9525,52788,299463,1730178,10144818,60211926,361042498,2183809018,13308564682,81637319641,503667864976,3123298907641,19456221197941,121696331095636,764008782313381,4812523626352501,30406927367484181,192657165369301081,1223805148529083309,7792322562300177937,4972...
/* * * Copyright (c) 2021 Project CHIP Authors * * 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 requir...
#include "types.h" /* * --INFO-- * Address: ........ * Size: 00009C */ void _Error(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: ........ * Size: 0000F4 */ void _Print(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: 80128520 * Size: 000084 */ TaiChappySoundTable::TaiChappySoun...
/* * 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 * */ #ifndef DRILLER_ANNOTATIONS_H #define DRILLER_ANNOTATIONS_H #if !defined(Q_MOC_RUN) #include <AzCor...
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2013 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 source code must retain the above copyright noti...
// Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2017-2018 The TERRACREDIT developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "pubkey.h" #include <secp256k1.h> #include <secp256k1_recovery.h> ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2018 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 source ...
// RUN: %clang_cc1 -std=c++1z -verify %s class Bar { int myVal; public: Bar(); int getValue(); }; class Foo { Bar myBar; public: Foo(); Bar &getBar(); }; Bar &getBarFromFoo(Foo &f); int getintFromBar(Bar &b); int bar(int); int foo(int); struct PairT { int t1; int t2; }; struct PairT baz(int); i...
.model small .data Arr db 5,1,8,7,4,3 ;array to be sorted Len equ $-arr ;to find the length of array .code Mov ax,@data Mov ds,ax ; initializing the data segment mov ch,len-1 ;ch holds number of passes again:mov cl,ch ;cl holds number of comparisons mov si,offset arr ;point si to the first element of array repeat:mov a...
; A294568: Decimal expansion of 1/18779. ; Submitted by Jamie Morken(w2) ; 0,0,0,0,5,3,2,5,0,9,7,1,8,3,0,2,3,5,9,0,1,8,0,5,2,0,7,9,4,5,0,4,4,9,9,7,0,7,1,1,9,6,5,4,9,3,3,7,0,2,5,4,0,0,7,1,3,5,6,3,0,2,2,5,2,5,1,6,1,0,8,4,1,8,9,7,8,6,4,6,3,6,0,2,9,6,0,7,5,4,0,3,3,7,6,1,1,1,6,1 seq $0,83811 ; Numbers n such that 2n+1 is t...
; A173193: (2*10^n+43)/9. ; 7,27,227,2227,22227,222227,2222227,22222227,222222227,2222222227,22222222227,222222222227,2222222222227,22222222222227,222222222222227,2222222222222227,22222222222222227,222222222222222227 mov $1,10 pow $1,$0 div $1,3 mul $1,40 add $1,6 div $1,6 add $1,6 mov $0,$1
; VGMSFX sound effect data NUM_SFX = 0 section fragment "SFX pointers",rom0 SFXTest_Pointers: defsfx: macro section "SFX Data - \1",romx SFX_\1: db \2 incbin "Audio/SFX/\1.vgm",$c0 db $ff section fragment "SFX pointers",rom0 SFXPtr_\1: db SFXPtr_\1.end-SFXPtr_\1 db bank(SFX_\1) dw SFX_...
; $Id: tstAsmLock-1.asm $ ;; @file ; Disassembly testcase - Valid fnstsw* instructitons. ; ; This is a build test, that means it will be assembled, disassembled, ; then the disassembly output will be assembled and the new binary will ; compared with the original. ; ; ; Copyright (C) 2008-2015 Oracle Corporation ; ; Th...
; A236224: Sum of the sixteenth powers of the first n primes. ; 65536,43112257,152631002882,33385561572483,45983115425144644,711399724608324485,49372591600275192966,337814005167896360647,6470424420848895009608,256716898101196243797129,984140019848381507625610,13321651934065547869899851,77080682848718602216332492,213694...
; A170224: Number of reduced words of length n in Coxeter group on 23 generators S_i with relations (S_i)^2 = (S_i S_j)^40 = I. ; 1,23,506,11132,244904,5387888,118533536,2607737792,57370231424,1262145091328,27767192009216,610878224202752,13439320932460544,295665060514131968,6504631331310903296,143101889288839872512 ad...
; A099836: Bisection of A000961. ; Submitted by Jamie Morken(s4) ; 1,3,5,8,11,16,19,25,29,32,41,47,53,61,67,73,81,89,101,107,113,125,128,137,149,157,167,173,181,193,199,223,229,239,243,256,263,271,281,289,307,313,331,343,349,359,367,379,389,401,419,431,439,449,461,467,487 mul $0,4 mov $2,1 lpb $0 sub $0,2 seq $2,1...
DATA SEGMENT ANSI DB 1BH,"[3m","$" DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA START: MOV AX,DATA MOV DS,AX MOV AH,9 MOV DX,OFFSET ANSI INT 21H MOV AL,'A' MOV DX,10H MOV BL,0F0H A1: PUSH DX MOV AH,9 MOV BH,...
ChrisNameMenuHeader: db MENU_BACKUP_TILES ; flags menu_coords 0, 0, 10, TEXTBOX_Y - 1 dw .MaleNames db 1 ; ???? db 0 ; default option .MaleNames: db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags db 5 ; items db "NEW NAME@" MalePlayerNameArray: db "CHRIS@" db "MAT@" db "ALLAN@" d...
format elf64 use64 section '.text' executable extrn kernel_start public rt0 rt0: xchg bx, bx jmp kernel_start
; A084175: Jacobsthal oblong numbers. ; 0,1,3,15,55,231,903,3655,14535,58311,232903,932295,3727815,14913991,59650503,238612935,954429895,3817763271,15270965703,61084037575,244335800775,977343902151,3909374210503,15637499638215,62549992960455,250199983026631,1000799909736903,4003199683686855,16012798645268935,6405119476...
; A269461: Number of length-n 0..2 arrays with no repeated value equal to the previous repeated value. ; Submitted by Jon Maiga ; 3,9,24,66,174,462,1206,3150,8166,21150,54582,140718,362118,931134,2391894,6141006,15757734,40420062,103647606,265721070,681097926,1745555070,4473092502,11461604238,29366557158,75238139934,19...
/* Copyright (C) 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distribut...
; ; jcqntmmx.asm - sample data conversion and quantization (MMX) ; ; 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 fi...
; void __CALLEE__ *memopi(void *dst, void *src, uint n, uint op) ; *dst = *src OP *dst, increasing src and dst addresses ; OP: 0=load, 1=or, 2=xor, 3=and, 4=add, 5 = adc, 6=sub, 7 = sbc, 8 = rls, 9 = rrs else address of OP function ; 05.2007 aralbrec PUBLIC memopi_callee PUBLIC _memopi_callee PUBLIC asm_memopi EXTERN...
#ifndef ALEPH_GEOMETRY_DOWKER_COMPLEX_HH__ #define ALEPH_GEOMETRY_DOWKER_COMPLEX_HH__ #include <aleph/math/Combinations.hh> #include <aleph/topology/filtrations/Data.hh> #include <aleph/topology/Simplex.hh> #include <aleph/topology/SimplicialComplex.hh> #include <boost/graph/adjacency_list.hpp> #include <boost/grap...
; A133600: Row sums of triangle A133599. ; 1,4,7,16,28,64,112,256,448,1024,1792,4096,7168,16384,28672,65536,114688,262144,458752,1048576,1835008,4194304,7340032,16777216,29360128,67108864,117440512,268435456,469762048,1073741824,1879048192 mov $3,$0 add $3,1 mov $8,$0 lpb $3,1 mov $0,$8 trn $3,2 sub $0,$3 mov ...
.686 .model flat,stdcall option casemap:none include .\bnlib.inc include .\bignum.inc .code bnMov proc bn_Dest:DWORD,bn_Src:DWORD mov edx,edi mov eax,esi mov edi,bn_Dest mov ecx,BN_ALLOC_BYTES mov esi,bn_Src shr ecx,2 rep movsd mov esi,eax mov edi,edx ret bnMov endp end
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ABI41_0_0experiments.h" #include "ABI41_0_0experiments-inl.h" namespace ABI41_0_0facebook { namespace yoga { namespace i...
mov ah, 0x0e mov al, 'h' int 0x10 mov al, 'i'
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> * 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, t...
CODE SEGMENT org 100h entry: mov dx, OFFSET message mov ah, 9 int 21h ret message db "The answer is no!", 0dh, 0ah, "$" CODE ENDS END entry
#include <string> #include <arpa/inet.h> #include <cassert> #include "util/socket/tcp.h" #include "include/MulticlientTCPTransport.h" namespace l5 { namespace transport { using namespace std::string_literals; using namespace util; MulticlientTCPTransportServer::MulticlientTCPTransportServer(std::string_view port) : ...
;Testname=test; Arguments=-fbin -oradix.bin; Files=stdout stderr radix.bin ;; Integer constants... dd 1010_0101 ; Decimal dd 01010_0101 ; Decimal (*not* octal!) dd 0d1010_0101 ; Decimal dd 0t1010_0101 ; Decimal dd 1010_0101d ; Decimal dd 1010_0101t ; Decimal dd 0b1010_0101 ; Binary dd 0y...
preset_prkd_bombs_elevator: dw #$0000 dl $7E078B : db $02 : dw $0000 ; Elevator Index dl $7E078D : db $02 : dw $AB58 ; DDB dl $7E078F : db $02 : dw $0000 ; DoorOut Index dl $7E079B : db $02 : dw $DF45 ; MDB dl $7E079F : db $02 : dw $0006 ; Region dl $7E07C3 : db $02 : dw $E22A ; GFX...
ORG 100 LDA NUM CMA INC STA NUM CICLO, LDA HEAD I ADD DIFF ADD NUM SZA BUN AFT BUN FINE AFT, LDA HEAD INC STA HEAD BUN CICLO FINE, LDA HEAD I OUT HLT NUM, DEC 5 DIFF, DEC -48 N0, DEC 48 N1, DEC 49 N2, DEC 50 N3, DEC 51 N4, DEC 52 N5, DEC 53 N6, DEC 54 N7, DEC 55 N8, DEC 56 N9, DEC 57 TOT, DEC -10 HEAD, N0 END
SECTION .text global make_negative make_negative: mov eax,edi cmp eax,0d jl done neg eax done: ret
/* This file is part of the source code to the LEPROSY Virus 1.00 Copy-ya-right (c) 1990 by PCM2. This program can cause destruction of files; you're warned, the author assumes no responsibility for damage this program causes, incidental or otherwise. This program is not intended for general distribu...
; A017720: Binomial coefficients C(n,56). ; 1,57,1653,32509,487635,5949147,61474519,553270671,4426165368,31966749880,210980549208,1285063345176,7282025622664,38650751381832,193253756909160,914734449370024,4116305022165108,17675898036356052,72667580816130436,286845713747883300,1090013712241956540,3996716944887173980,141...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1c3b0, %rsi lea addresses_A_ht+0x1a470, %rdi clflush (%rsi) nop xor $5650, %r10 mov $108, %rcx rep movsq nop nop nop nop sub %rdx, %rdx lea addresses_WC_ht+0xc3e0, %rbp clflush (%...
; A040056: Continued fraction for sqrt(65). ; 8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16...
//===-- SIShrinkInstructions.cpp - Shrink Instructions --------------------===// // // 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 // /// The pass tries to use the 32...
; A101855: a(n) = n*(n+1)*(n+2)*(n+4)*(n+23)/120. ; 6,30,91,216,441,812,1386,2232,3432,5082,7293,10192,13923,18648,24548,31824,40698,51414,64239,79464,97405,118404,142830,171080,203580,240786,283185,331296,385671,446896,515592,592416,678062,773262,878787,995448 lpb $0 mov $2,$0 sub $0,1 seq $2,101854 ; a(n) = n*...
start: set r2 7 push r2 set r2 3 push r2 run sum set r2 4 pushsp pop r3 add r3 r3 r2 push r3 popsp mov r2 r1 writenumber r2 stop sum: push r0 pushsp pop r0 set r2 0 sub r2 r0 r2 push r2 popsp set r3 8 add r3 r0 r3 load r3 r3 set r4 12 add r4 r0 r4 load r4 r4 add r5 r3 r4 push r0 popsp po...
db "ARMOR@" ; species name db "In just one of its" next "mighty hands, it" next "has the power to" page "make the ground" next "shake and moun-" next "tains crumble.@"
; A262258: a(n) = the number of hills (arch length of 1 with no covering arches) for semi-meander solutions with n arches and floor((n+2)/2) arch group returns to the x axis. ; Submitted by Christian Krause ; 1,2,2,4,6,10,16,24,40,56,96,128,224,288,512,640,1152,1408,2560,3072,5632,6656,12288,14336,26624,30720,57344,655...
/* ************************************************************************ * Copyright (c) 2018 Advanced Micro Devices, Inc. * * 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 re...
/* * 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...
; A142616: Primes congruent to 21 mod 55. ; Submitted by Simon Strandgaard ; 131,241,461,571,1231,1451,2111,2221,2441,2551,3541,3761,4091,4201,4421,4751,4861,5081,5521,5741,5851,6841,8161,8821,9041,9151,9371,9811,10141,10691,11131,11351,11681,12011,12451,12671,12781,13001,13331,13441,14321,14431,15091,15641,15971,16301...
title "User Mode Zero and Move Memory functions" ;++ ; ; Copyright (c) 1989 Microsoft Corporation ; ; Module Name: ; ; movemem.asm ; ; Abstract: ; ; This module implements functions to zero and copy blocks of memory ; ; ; Author: ; ; Steven R. Wood (stevewo) 25-May-1990 ; ; Environm...
.CHIP PMS150C // Give package map to writer pcount VDD PA0 PA3 PA4 PA5 PA6 PA7 GND SHORTC_MSK1 SHORTC_MASK1 SHIFT .writer package 8, 1, 7, 5, 6, 4, 3, 2, 8, 0x000D, 0x000D, 4 //{{PADAUK_CODE_OPTION .Code_Option Security Disable .Code_Option Bootup_Time Fast .Code_Option Drive ...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
#include "SampleAnalyzer/User/Analyzer/user.h" using namespace MA5; bool user::Initialize(const MA5::Configuration& cfg, const std::map<std::string,std::string>& parameters) { // Initializing PhysicsService for MC PHYSICS->mcConfig().Reset(); // definition of the multiparticle "hadronic" ...
; A017617: a(n) = 12*n + 8. ; 8,20,32,44,56,68,80,92,104,116,128,140,152,164,176,188,200,212,224,236,248,260,272,284,296,308,320,332,344,356,368,380,392,404,416,428,440,452,464,476,488,500,512,524,536,548,560,572,584,596,608,620,632,644,656,668,680,692,704,716,728,740,752,764,776,788,800,812,824,836,848,860,872,884,896...
; A164545: a(n) = 4*a(n-1) + 4*a(n-2) for n > 1; a(0) = 1, a(1) = 8. ; 1,8,36,176,848,4096,19776,95488,461056,2226176,10748928,51900416,250597376,1209991168,5842354176,28209381376,136206942208,657665294336,3175488946176,15332616962048,74032423632896,357460162379776,1725970344050688,8333722025721856 mov $1,1 lpb $0,1 ...
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
// RUN: %clang_cc1 -emit-llvm -o - -triple=i386-pc-win32 -std=c++11 %s -fcxx-exceptions -fms-extensions | FileCheck %s // CHECK-DAG: @"\01??_R0?AUY@@@8" = linkonce_odr global %rtti.TypeDescriptor7 { i8** @"\01??_7type_info@@6B@", i8* null, [8 x i8] c".?AUY@@\00" }, comdat // CHECK-DAG: @"_CT??_R0?AUY@@@8??0Y@@QAE@ABU0...
_ls: file format elf32-i386 Disassembly of section .text: 00000000 <main>: close(fd); } 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 push %eb...