text
stringlengths
1
1.05M
/* 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...
; A301672: Coordination sequence for node of type V2 in "krr" 2-D tiling (or net). ; 1,4,8,13,17,20,25,30,33,37,42,46,50,54,58,63,67,70,75,80,83,87,92,96,100,104,108,113,117,120,125,130,133,137,142,146,150,154,158,163,167,170,175,180,183,187,192,196,200,204,208,213,217,220,225,230,233,237,242,246,250,254,258,263,267,27...
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: rad.asm,v 1.2 2007/07/21 21:28:22 dom Exp $ ; INCLUDE "#cpcfirm.def" INCLUDE "#cpcfp.def" XLIB rad XDEF radc XREF fa .rad xor a call firmware .radc defw CPCFP_FLO_DEG_RAD ret
//***************************************************************************** // Copyright 2017-2020 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://w...
// { Driver Code Starts #include <bits/stdc++.h> using namespace std; vector<int> minAnd2ndMin(int a[], int n); int main() { int t; cin >> t; while (t--) { int n; cin >> n; int a[n]; for (int i = 0; i < n; i++) cin >> a[i]; vector<int> ans = minAnd2nd...
; A164894: Base-10 representation of the binary string formed by appending 10, 100, 1000, 10000, ..., etc., to 1. ; 1,6,52,840,26896,1721376,220336192,56406065280,28879905423616,29573023153783296,60565551418948191232,248076498612011791288320,2032242676629600594233921536,33296264013899376135928570454016 add $0,1 mov $2...
; F-Zero Climax Translation by Normmatt .align 4 Profile24_CharacterProfile: .sjis "本職は、惑星間運送",TextNL,"業者。相棒のドラク",TextNL,"につき合い、受取人",TextNL,"不明の荷物だった",TextNL,"F-ZEROマシン",TextNL,"で参戦している。",TextNL,"最初グランプリには",TextNL,"あまり興味を示して",TextNL,"いなかったが次第に",TextNL,"F-ZEROの世界",TextNL,"のとりこになり、今",TextNL,"では一流パイロット",TextNL,"の仲間入りを果...
;; Author: Moss Gallagher ;; Date: 12-Oct-21 %include "std/sys.asm" %include "std/str.asm" global _start section .data str: db "Hello", 0 loop_num: equ 25 section .text _start: mov r15, rsp call main mov eax, esi ; exit code call sys~exit ; call exit main: ...
db 0 ; 495 DEX NO db 80, 100, 50, 200, 100, 50 ; hp atk def spd sat sdf db ELECTRIC, ELECTRIC ; type db 3 ; catch rate db 219 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 100 ; unknown 1 db 120 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/other/reg...
BITS 32 ; XOR [ESP], ESI and XOR ESI, [ESP] can be encoded in two ways, one of which is ; alphanumeric. NASM chooses the wrong one, which is why we have these: %define xor_esp_esi db 0x31, 0x34, 0x64 %define xor_esi_esp db 0x33, 0x34, 0x64 start: PUSH 0x66666666 ; IMUL ESI, [ESP], 0x69 db ...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; Serial libraries ; serial control commands ; ; ------ ; $Id: ozgetlcr.asm,v 1.1 2003/10/22 09:56:34 stefano Exp $ ; XLIB ozgetlcr ozgetlcr: in a,(43h) ld l,a ...
/* * Copyright 2008 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkCanvas.h" #include "include/core/SkColorFilter.h" #include "include/core/SkImage.h" #include "include/core/SkImageFilter.h" #incl...
; A021748: Decimal expansion of 1/744. ; 0,0,1,3,4,4,0,8,6,0,2,1,5,0,5,3,7,6,3,4,4,0,8,6,0,2,1,5,0,5,3,7,6,3,4,4,0,8,6,0,2,1,5,0,5,3,7,6,3,4,4,0,8,6,0,2,1,5,0,5,3,7,6,3,4,4,0,8,6,0,2,1,5,0,5,3,7,6,3,4,4,0,8,6,0,2,1,5,0,5,3,7,6,3,4,4,0,8,6 add $0,1 mov $1,10 pow $1,$0 mul $1,5 div $1,3720 mod $1,10 mov $0,$1
; A098790: a(n) = 2*a(n-1) + a(n-2) + 1, a(0) = 1, a(1) = 2. ; Submitted by Christian Krause ; 1,2,6,15,37,90,218,527,1273,3074,7422,17919,43261,104442,252146,608735,1469617,3547970,8565558,20679087,49923733,120526554,290976842,702480239,1695937321,4094354882,9884647086,23863649055,57611945197,139087539450,335787024098...
; ; Timer handlers for Shock Lobster ; ; Copyright 2021 Dave VanEe ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyone to use this software for any pur...
; A108924: J(n)^2+J(n+1)^2, with J(n) the Jacobsthal number A001045(n). ; 1,2,10,34,146,562,2290,9074,36466,145522,582770,2329714,9321586,37280882,149134450,596515954,2386107506,9544342642,38177545330,152709831794,610840026226,2443358706802,9773437623410,39093744901234 mul $0,2 mov $2,1 mov $5,1 mov $6,1 lpb $0 sub ...
INCLUDE "graphics/grafix.inc" XLIB setxy LIB l_cmp XREF COORDS ; ; $Id: w_setxy.asm,v 1.1 2008/07/17 15:39:56 stefano Exp $ ; ; ****************************************************************** ; ; Move current pixel coordinate to (x0,y0). Only legal coordinates ; are accepted. ; ; Wide resolution (WORD based p...
SECTION code_clib SECTION code_l PUBLIC l_fast_atoul EXTERN l_fast_atou, error_mc l_fast_atoul: ; ascii buffer to unsigned long conversion ; whitespace is not skipped ; char consumption stops on overflow ; ; enter : de = char * ; ; exit : bc = & next char to interpret in buffer ; d...
; A097338: Positive integers n such that 2n-11 is prime. ; 7,8,9,11,12,14,15,17,20,21,24,26,27,29,32,35,36,39,41,42,45,47,50,54,56,57,59,60,62,69,71,74,75,80,81,84,87,89,92,95,96,101,102,104,105,111,117,119,120,122,125,126,131,134,137,140,141,144,146,147,152,159,161,162,164,171,174,179,180,182,185,189,192,195,197,200,2...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_A_ht+0x1320d, %r12 clflush (%r12) nop nop nop nop cmp $14392, %r15 mov $0x6162636465666768, %rsi movq %rsi, %xmm6 movups %xmm6, (%r12) sub $41987, %r12 lea addresses_UC_ht+0xcc37, %rsi lea ad...
// ******************************************************** // * DEBUG FLAGS: * // * * // * - DEBUG_STAGE(INT STAGE_NUM): * // * Enable Stage Select * // * ...
; A329684: Number of excursions of length n with Motzkin-steps forbidding all consecutive steps of length 2 except UD and HH. ; 1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 cmp $0,2 add $0,1
; A043554: Essentially same as A005811. ; 1,1,2,1,2,3,2,1,2,3,4,3,2,3,2,1,2,3,4,3,4,5,4,3,2,3,4,3 mov $2,$0 cmp $2,0 add $0,$2 cal $0,88748 ; a(n) = 1 + Sum_{k=0..n-1} 2 * A014577(k) - 1. mov $1,$0 sub $1,1
psect atof_c,0,0,0,0,0 nam atof_c ttl atof atof: pshs u ldu 4,s leas -19,s bra _2 _3 leau 1,u _2 ldb 0,u cmpb #32 beq _3 _4 ldb 0,u cmpb #9 lbeq _3 _1 ldb 0,u cmpb #45 bne _6 _5 ldd #1 bra _$1 _6 clra clrb _$1 std 7,s _7 ldb 0,u cmpb #45 beq _8 _10 ldb 0,u cmpb #43 bne _9 _8 leau 1,u _9 leax 11,s psh...
section .text global _start ;must be declared for ld linker _start: ;tell linker entry point mov eax,'2' ;move 2 to eax register sub eax, '0' ;set 2 as a signed integer mov ebx, '3' ;move 3 to ebx regist...
; ; jquant.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 file...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="file, buf"/> <%docstring> Invokes the syscall lstat. See 'man 2 lstat' for more information. Arguments: file(char): file buf(stat): buf </%docstring> ${syscall('SYS_lstat', file, buf)}
;; last edit date: 2016/10/26 ;; author: Forec ;; LICENSE ;; Copyright (c) 2015-2017, Forec <forec@bupt.edu.cn> ;; Permission to use, copy, modify, and/or distribute this code for any ;; purpose with or without fee is hereby granted, provided that the above ;; copyright notice and this permission notice appear in all ...
; A229469: Numbers n such that T(n) + S(n) + 1 is prime, where T(n) and S(n) are the n-th triangular and square numbers. ; Submitted by Jamie Morken(s2) ; 1,5,8,9,12,17,21,24,29,32,41,44,45,53,56,57,60,68,69,77,81,84,89,92,96,108,113,117,120,132,144,149,156,164,185,197,200,201,212,213,224,233,236,248,252,260,264,269,28...
db 0 ; species ID placeholder db 45, 45, 35, 20, 20, 30 ; hp atk def spd sat sdf db BUG, BUG ; type db 255 ; catch rate db 56 ; base exp db PSNCUREBERRY, BRIGHTPOWDER ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 15 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/wurm...
; A093461: a(1)=1, a(n) = 2*(n^(n-1)-1)/(n-1) for n >= 2. ; 1,2,8,42,312,3110,39216,599186,10761680,222222222,5187484920,135092431034,3883014187080,122109965116022,4170418003627232,153722867280912930,6082648984458358560,257166065851611356702 add $0,1 mov $2,$0 lpb $0 mov $3,$2 lpb $3 dif $3,$0 cmp $3,$2 ...
BPLIST "" invalid_type BPLIST "" BPLIST . DEVICE ZXSPECTRUM48 ; global device specified at end of pass 1
// coding: utf-8 // ---------------------------------------------------------------------------- /* Copyright (c) 2011, Roboterclub Aachen e.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
SECTION code_fp_am9511 PUBLIC tanh EXTERN cam32_sccz80_tanh defc tanh = cam32_sccz80_tanh ; SDCC bridge for Classic IF __CLASSIC PUBLIC _tanh EXTERN cam32_sdcc_tanh defc _tanh = cam32_sdcc_tanh ENDIF
############################################################################### # 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...
// // SPDX-License-Identifier: BSD-3-Clause // Copyright (c) Contributors to the OpenEXR Project. // //--------------------------------------------------------------------- // // Constructors and destructors for our exception base class. // //--------------------------------------------------------------------- #inc...
.text main: # Same sign li $t0, 300 li $t1, 300 ble $t0, $t1, branch li $a0, 0 li $v0, 1 syscall j next branch: li $a0, 1 li $v0, 1 syscall next: # Diff sign li $t0, 300 li $t1, -200 ble $t0, $t1, branch_2 li $a0, 0 li $v0, 1 syscall j next_2 branch_2: li $a0, 1 li $v0, 1 syscall next_2: # Same sign li $t0, ...
; A226761: G.f.: 1 / (1 + 12*x*G(x)^2 - 13*x*G(x)^3) where G(x) = 1 + x*G(x)^4 is the g.f. of A002293. ; Submitted by Christian Krause ; 1,1,16,118,1004,8601,75076,662796,5903676,52949332,477533356,4326309406,39343725716,358943047438,3283745710968,30112624408488,276715616909148,2547523969430508,23491659440021920,216942...
//============================================================================== // 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. // ...
; A017558: a(n) = (12*n + 3)^2. ; 9,225,729,1521,2601,3969,5625,7569,9801,12321,15129,18225,21609,25281,29241,33489,38025,42849,47961,53361,59049,65025,71289,77841,84681,91809,99225,106929,114921,123201 mul $0,12 mov $1,$0 add $1,3 pow $1,2
bits 16 write_status: push si push si mov si, .msg call write_string pop si call write_string pop si ret .msg db "[ STATUS ] ", 0x00 write_warning: push si push si mov s...
// // Created by Matthew Gretton-Dann on 05/12/2021. // #include <algorithm> #include <array> #include <iostream> #include <ostream> #include <regex> #include <set> #include <string> #include <vector> /** \brief Item types. */ enum class ItemType { generator, chip }; /** \brief An Item - consists of a type and a n...
// Copyright 2021, Autonomous Space Robotics Lab (ASRL) // // 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 appli...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D00 move.b D0, ($6bdc,A5) 004D04 move.b D0, ($6bdd,A5) 016A0C move.b ($6bdc,A5), D1 016A10 adda.w D1, A4 [base+6BDC] 016A54 move.b D1, ($6bdc,A5) 016A58 rts [base+6BDC] 016AEA move.b ($6bdc,A5...
; HOTKEY set stuffer buffer V2.02  1988 Tony Tebby QJUMP section hotkey xdef hk_sstbf ; set stuff buffer xref cv_locas include 'dev8_ee_hk_data' include 'dev8_mac_assert' ;+++ ; Set a new string in the stuffer buffer. It does not stuff a new s...
#include "Platform.inc" #include "FarCalls.inc" #include "Buttons.inc" #include "TestFixture.inc" radix decimal ButtonFlagsTest code global testArrange testArrange: testAct: fcall initialiseButtons testAssert: banksel buttonFlags .assert "buttonFlags == 0, 'Expected buttonFlags to be cleared.'" return ...
; A107963: a(n) = (n+1)*(n+2)*(n+3)*(n+4)*(5*n^2 + 19*n + 15)/360. ; 1,13,73,273,798,1974,4326,8646,16071,28171,47047,75439,116844,175644,257244,368220,516477,711417,964117,1287517,1696618,2208690,2843490,3623490,4574115,5723991,7105203,8753563,10708888,13015288,15721464,18881016,22552761,26801061,31696161,37314537,437...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x12f8d, %rsi lea addresses_WT_ht+0x191e9, %rdi clflush (%rsi) nop dec %r10 mov $87, %rcx rep movsl xor %r11, %r11 lea addresses_A_ht+0x695, %rdi clflush (%rdi) nop nop nop nop...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2008, 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 distributi...
; Egg Hunter Shellcode Linux x86 ; by Daniel Roberson -- SLAE 877 ; BITS 32 ; If the egg is changed here, it must be changed in the shellcode as well mov ebx, 0x424a424a ; EGG: inc edx ; dec edx ; inc edx ...
; généré avec https://github.com/oxypomme/BMPtoASM push AX push BX mov AX, playerX mov BX, playerY add AX, 2 mov BX, playerY add BX, 8 oxgSHOWPIXEL AX, BX, 007h ; 2-8 inc AX mov BX, playerY add BX, 7 oxgSHOWPIXEL AX, BX, 007h ; 3-7 inc BX oxgSHOWPIXEL AX, BX, 007h ; 3-8 inc AX mov BX, playerY add BX,...
section .init global _init:function _init: push ebp mov ebp, esp ; gcc will nicely put the contents of crtbegin.o's .init section here. section .fini global _fini:function _fini: push ebp mov ebp, esp ; gcc will nicely put the contents of crtbegin.o's .fini section here.
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid com...
;; ;; Copyright (c) 2019-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...
/* */ #include "macros.h" .globl exception_vector .macro exception_handler name .align 7 //start at 80 byte alignement ? stp x29,x30, [sp, #-16]! bl exception_enter bl \name b exception_return .endm .macro unhandled_exception .align 7 //start at 80 byte alignement stp x29,x30, [sp, #-16]! bl exception_...
; ; Startup for S-OS (The Sentinel) Japanese OS ; ; Stefano Bodrato - Winter 2013 ; ; $Id: sos_crt0.asm,v 1.16 2016-07-15 21:38:08 dom Exp $ ; ; There are a couple of #pragma commands which affect ; this file: ; ; #pragma output nostreams - No stdio disc files ; #pragma output noredir - do not inse...
; A224525: Number of idempotent 3 X 3 0..n matrices of rank 1. ; 27,69,123,195,273,375,477,603,735,885,1035,1221,1395,1593,1803,2031,2253,2511,2757,3039,3321,3615,3909,4251,4575,4917,5271,5649,6015,6429,6819,7245,7671,8109,8559,9051,9513,9999,10497,11031,11541,12099,12633,13203,13785,14367,14949,15591,16203,16845,17487...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (c) Copyright GeoWorks 1995. All Rights Reserved. GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: Sokoban FILE: sokobanJBitmaps.asm AUTHOR: Steve Yegge, Jul 27, 1995 ROUTINES: Name Description ---- ----------- RE...
############################################################################### # 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...
; A000529: Powers of rooted tree enumerator. ; 20,74,186,388,721,1236,1995,3072,4554,6542,9152,12516,16783,22120,28713,36768,46512,58194,72086,88484,107709,130108,156055,185952,220230,259350,303804,354116,410843,474576,545941,625600,714252,812634,921522,1041732,1174121,1319588,1479075,1653568,1844098,2051742,2277624,25...
; A176010: Positive numbers k such that k^2 == 2 (mod 97). ; 14,83,111,180,208,277,305,374,402,471,499,568,596,665,693,762,790,859,887,956,984,1053,1081,1150,1178,1247,1275,1344,1372,1441,1469,1538,1566,1635,1663,1732,1760,1829,1857,1926,1954,2023,2051,2120,2148,2217,2245,2314,2342,2411,2439,2508,2536,2605,2633,2702,27...
; A134058: Triangle read by rows, T(n,k) = 2*binomial(n,k) if k > 0, (0 <= k <= n), left column = (1,2,2,2,...). ; 1,2,2,2,4,2,2,6,6,2,2,8,12,8,2,2,10,20,20,10,2,2,12,30,40,30,12,2,2,14,42,70,70,42,14,2,2,16,56,112,140,112,56,16,2,2,18,72,168,252,252,168,72,18,2 lpb $0,1 cal $0,109128 ; Triangle read by rows: T(n,k)...
; A281831: Number of nX2 0..1 arrays with no element equal to more than four of its king-move neighbors and with new values introduced in order 0 sequentially upwards. ; Submitted by Christian Krause ; 2,8,31,121,472,1841,7181,28010,109255,426157,1662256,6483749,25290329,98646746,384778723,1500857065,5854200856,2283473...
; Program 01 - Addition of two byte-numbers ; Written by Hamidreza Hosseinkhani (hosseinkhani@live.com) ; June, 2011 TITLE Addition of two byte-numbers StkSeg SEGMENT para stack 'stack' DB 64 DUP (?) StkSeg ENDS DtaSeg SEGMENT para private 'data' Num1 DB 0FEh Num2 DB 0EDh ORG 000Ah Sum DW ? ...
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include <algorithm> #include "xfa/src/foxitlib.h" #include "xfa/src...
; ; jdmrgss2.asm - merged upsampling/color conversion (SSE2) ; ; Copyright 2009, 2012 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 ...
; void *zx_py2aaddr_fastcall(uchar y) SECTION code_arch PUBLIC _zx_py2aaddr_fastcall _zx_py2aaddr_fastcall: INCLUDE "arch/zx/display/z80/asm_zx_py2aaddr.asm"
; uint8_t hbios_e_de_hl(uint16_t func_device, uint16_t arg, void * buffer) SECTION code_clib SECTION code_arch PUBLIC _hbios_e_de_hl EXTERN asm_hbios_e ._hbios_e_de_hl pop af pop bc pop de pop hl push hl push de push bc push af jp asm_hbios_e
/* Copyright (c) 2005-2016, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; kernel.asm ; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; Forrest Yu, 2005 ; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++...
dnl HP-PA mpn_lshift -- Shift a number left. dnl Copyright 1992, 1994, 2000, 2001, 2002 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public License as p...
; A277267: Minimum number of single-direction edges in leveled binary trees with n nodes. ; Submitted by Jon Maiga ; 0,0,1,1,1,2,3,3,3,3,3,4,5,6,7,7,7,7,7,7,7,7,7,8,9,10,11,12,13,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,31,31,31,31,31,31,31,31,31,31,31,31,31,...
; A288876: a(n) = binomial(n+4, n)^2. Square of the fifth diagonal sequence of A007318 (Pascal). Fifth diagonal sequence of A008459. ; 1,25,225,1225,4900,15876,44100,108900,245025,511225,1002001,1863225,3312400,5664400,9363600,15023376,23474025,35820225,53509225,78411025,112911876,160022500,223502500,308002500,41922562...
global main extern printf extern scanf extern getchar section .text main: Entry_main: ...
; $Id: zero.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; IPRT - Zero Memory. ; ; ; Copyright (C) 2013-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 unde...
.text .intel_syntax noprefix .literal16 .p2align 4 MASK12: .long 0 .long 0xffffffff .long 0xffffffff .long 0 .text .globl __Z22matrixTransformG3_SIMDPiS_ii .p2align 4, 0x90 __Z22matrixTransformG3_SIMDPiS_ii: push rbp mov rbp, r...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x733c, %r11 nop nop nop sub %r15, %r15 mov (%r11), %r12w nop nop nop nop xor %rsi, %rsi lea addresses_UC_ht+0xcdbc, %rsi lea addresses_normal_ht+0x1749c, %rdi add $60843,...
#include "GCAnimatedTexture.h" #include "com/mojang/minecraftpe/client/renderer/texture/TextureGroup.h" #include "com/mojang/minecraftpe/client/renderer/texture/TextureData.h" #include "com/mojang/minecraftpe/client/renderer/texture/TextureAtlas.h" #include "com/mojang/minecraftpe/client/renderer/texture/TextureAtlasTe...
Vs_BattlefieldTypical: .include "PRG/levels/2PVs/Typical" Vs_Unused: .include "PRG/levels/2PVs/Unused" Vs_BattlefieldLadders: .include "PRG/levels/2PVs/Ladders" Vs_BattlefieldFountain: .include "PRG/levels/2PVs/Fountain"
; A341523: Number of prime factors (with multiplicity) shared by n and sigma(n): a(n) = bigomega(gcd(n, sigma(n))). ; 0,0,0,0,0,2,0,0,0,1,0,2,0,1,1,0,0,1,0,1,0,1,0,3,0,1,0,3,0,2,0,0,1,1,0,0,0,1,0,2,0,2,0,2,1,1,0,2,0,0,1,1,0,2,0,3,0,1,0,3,0,1,0,0,0,2,0,1,1,1,0,1,0,1,0,2,0,2,0,1,0,1,0,3,0,1,1,2,0,3,1,2,0,1,1,3,0,0,1,0 s...
#pragma once #include <string> #include "../../messages/message.hh" namespace eclipse { namespace messages { struct IBlockInfoRequest: public Message { IBlockInfoRequest() = default; ~IBlockInfoRequest() = default; std::string get_type() const override; uint32_t job_id; uint32_t map_id; uint32_t reducer...
// Original test: ./rbatterm/hw4/problem6/xori_5.asm // Author: rbatterm // Test source code follows // Test random sequence (from Random.org) lbi r2, 8 //01000 xori r1, r2, 11 //01011 halt //= 00011
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <algorithm> #include <cassert> #include <ranges> #include <string> #include <string_view> #include <type_traits> #include <utility> #include <range_algorithm_support.hpp> using namespace std; tem...
; AesOpt.asm -- AES optimized code for x86 AES hardware instructions ; 2021-03-10 : Igor Pavlov : Public domain include 7zAsm.asm ifdef ymm0 use_vaes_256 equ 1 ECHO "++ VAES 256" else ECHO "-- NO VAES 256" endif ifdef x64 ECHO "x86-64" else ECHO "x86" if (IS_CDECL gt 0) ECHO "ABI : CDECL" else ECHO "AB...
-- HUMAN RESOURCE MACHINE PROGRAM -- -- in1 % in2, ... -> out JUMP b a: ADD 2 OUTBOX b: INBOX COPYTO 0 INBOX COPYTO 2 COPYFROM 0 c: SUB 2 JUMPN a JUMP c
.686 .model flat,stdcall option casemap:none include .\bnlib.inc include .\bignum.inc .code bnDivpow2 proc bnX:DWORD,bitsY:DWORD,bnQuo:DWORD invoke bnMov,bnQuo,bnX invoke bnShr,bnQuo,bitsY ret bnDivpow2 endp end
#include "prefix/source_full_header.h" int main() { return 0; }
PresetsMenu14speed: dw #presets_goto_14speed_crateria dw #presets_goto_14speed_brinstar dw #presets_goto_14speed_wrecked_ship dw #presets_goto_14speed_brinstar_revisit dw #presets_goto_14speed_upper_norfair dw #presets_goto_14speed_lower_norfair dw #presets_goto_14speed_maridia dw #prese...
// // Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. // #include "sys_dev_wifi_native.h" // clang-format off static const CLR_RT_MethodHandler method_lookup[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ...
; A222257: Lexicographically earliest injective sequence of positive integers such that the sum of 6 consecutive terms is always divisible by 6. ; 1,2,3,4,5,9,7,8,15,10,11,21,13,14,27,16,17,33,19,20,39,22,23,45,25,26,51,28,29,57,31,32,63,34,35,69,37,38,75,40,41,81,43,44,87,46,47,93,49,50,99,52,53,105,55,56,111,58,59,11...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 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 distr...
; signed long __fs2ulong_callee(float f) SECTION code_fp_math48 PUBLIC cm48_sdccixp_ds2ulong_callee EXTERN cm48_sdccixp_dcallee1, am48_dfix32u cm48_sdccixp_ds2ulong_callee: ; double to unsigned long ; ; enter : stack = sdcc_float x, ret ; ; exit : dehl = (unsigned long)(x) ; ; uses : af, bc...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1291f, %rdx nop nop nop nop sub %rdi, %rdi movb (%rdx), %r15b nop nop nop cmp $17390, %rsi lea addresses_A_ht+0x1902b, %rsi lea addresses_WC_ht+0x706b, %rdi nop nop nop inc %rbp mov $2...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rdx push %rsi lea addresses_UC_ht+0x5629, %r8 add $14060, %r12 mov (%r8), %rsi nop nop nop add $62893, %rdx pop %rsi pop %rdx pop %r8 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r14 push %r15 push %rbx push %rsi ...
%include "include/PagingInit.mac" [BITS 16] ;******************************************************************************************************** ;Generacion de paginas para el mappeo de los 4 primeros megas de memoria en identity mapping ; ; ;*******************************************************************...
; ; i8254 演奏 Test (チャネル2使用) ; ;============================================== ;使用例) ;>G 7000 CDEFGABO5C ;>G 7000 CDEFEDCR4EFGAGFER4O4CR4CR4CR4CR4L8CCDDEEFFL4EDC ; org 7000h ; PIT_C2 EQU 1Ah PIT_CWR EQU 1Bh ; C2_MODE0 EQU 0B0h C2_MODE3 EQU 0B6h ; SOUND_WAIT EQU 60000 SOUND_WAIT8 EQU 30000 NO_SOUND_WAIT EQU 100 ...
; A100131: a(n) = Sum_{k=0..floor(n/4)} binomial(n-2k, 2k)*2^(n-4k). ; 1,2,4,8,17,38,88,208,497,1194,2876,6936,16737,40398,97520,235424,568353,1372114,3312564,7997224,19306993,46611190,112529352,271669872,655869073,1583407994,3822685036,9228778040,22280241089,53789260190,129858761440,313506783040,756872327489,182725143...
; A036547: a(n) = T(6,n), array T given by A048471. ; 1,65,257,833,2561,7745,23297,69953,209921,629825,1889537,5668673,17006081,51018305,153054977,459164993,1377495041,4132485185,12397455617,37192366913,111577100801,334731302465,1004193907457,3012581722433,9037745167361,27113235502145,81339706506497,244019119519553,732...
#ifndef VIENNACL_LINALG_LANCZOS_HPP_ #define VIENNACL_LINALG_LANCZOS_HPP_ /* ========================================================================= Copyright (c) 2010-2016, Institute for Microelectronics, Institute for Analysis and Scientific Computing, TU ...