text
stringlengths
1
1.05M
.globl main .text main: li $v0,4 la $a0,str syscall li $v0,4 la $a0,strn syscall li $v0,1 la $t0,b0 lb $a0,0($t0) syscall lh $a0,0($t0) syscall lw $a0,0($t0) syscall la $t0,$h0 lh $a0,0($t0) syscall lw $a0,0($t0) syscall la $t0,w0 lw $a0,0($t0) syscall li $v0,10 syscall
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1995 -- All Rights Reserved PROJECT: Tiramisu MODULE: Preferences FILE: preffax2ItemGroupSpecial.asm AUTHOR: Peter Trinh, Mar 15, 1995 ROUTINES: Name Description ---- ----------- PrefItemGr...
; Executable name : args ; Version : 0.1 ; Created date : 07/02/2012 ; Last update : 07/02/2012 ; Author : helq ; Description : A simple program in assembly for Linux, using NASM 2.10, ; printing the second argv. ; ; Build using these commands: ; nasm -f elf -g -F stabs args.asm...
; A033487: a(n) = n*(n+1)*(n+2)*(n+3)/4. ; 0,6,30,90,210,420,756,1260,1980,2970,4290,6006,8190,10920,14280,18360,23256,29070,35910,43890,53130,63756,75900,89700,105300,122850,142506,164430,188790,215760,245520,278256,314160,353430,396270,442890,493506,548340,607620,671580,740460,814506,893970,979110,1070190,1167480,127...
#include "Tag.h" #include <cmath> // For trig functions using namespace std; using namespace boost::math; // Extend ostream. // Output stream operator. Allows easy writing of tag data to an output stream. ostream& operator<<(ostream& output_stream, const Tag& tag) { tuple<float, float, float> position = tag.getPo...
; A158764: 38*(38*n^2-1). ; 1406,5738,12958,23066,36062,51946,70718,92378,116926,144362,174686,207898,243998,282986,324862,369626,417278,467818,521246,577562,636766,698858,763838,831706,902462,976106,1052638,1132058,1214366,1299562,1387646,1478618,1572478,1669226,1768862,1871386,1976798,2085098,2196286,2310362,2427326,...
db 0 ; species ID placeholder db 75, 90, 50, 95, 110, 80 ; hp atk def spd sat sdf db DARK, FIRE ; type db 45 ; catch rate db 204 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F0 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/houndoom/fron...
.model small ; el tamanio del programa .stack 0h ; donde iniciara .data ; declara variables hor db ? min db ? sec db ? .code mov ax,@data mov ds,ax INICIO : MOV AH,06H ;LIMPIEZA 1 MOV AL,00H MOV BH,100D ;COLOR AMARILLO MOV CX,0000H ;PUNTO DE INICIO MOV DX,244fH ;PUNTO DE FINAL INT ...
; A047357: Numbers that are congruent to {0, 1, 3} mod 7. ; Submitted by Christian Krause ; 0,1,3,7,8,10,14,15,17,21,22,24,28,29,31,35,36,38,42,43,45,49,50,52,56,57,59,63,64,66,70,71,73,77,78,80,84,85,87,91,92,94,98,99,101,105,106,108,112,113,115,119,120,122,126,127,129,133,134,136,140 mul $0,36 div $0,27 mul $0,6 div...
; A026200: a(n) = (s(n) + 2)/3, where s(n) is the n-th number congruent to 1 mod 3 in A026166. ; Submitted by Jon Maiga ; 1,2,4,6,3,8,10,12,5,14,16,18,7,20,22,24,9,26,28,30,11,32,34,36,13,38,40,42,15,44,46,48,17,50,52,54,19,56,58,60,21,62,64,66,23,68,70,72,25,74,76,78,27,80,82,84,29,86,88,90,31,92,94,96,33,98,100,102,3...
global test_case extern path.filename extern std.outsln %include "String.inc" section .text test_case: mov rax, fullpath_str ; argument call path.filename ; extract filename call std.outsln ; print filename ret section .data fullpath: db "/path/to/filename.ext" full...
.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, 96 call lwaitly_b ld a, 80 ldff(68), a ld a, ff ld c, 69 ldff(c), a ldff(c), a ldff(c), a ldff(c), a ldff(c), a...
; VideoPrint.asm ; Commodore 64 ;------------------------------------------------------------------ !zone SetPrintYPosition SetPrintYPosition pha ; Set character pointer to beginning of row Y. lda SCREEN_LINE_OFFSET_TABLE_LO,y sta PrintCharacterPointer lda SCREEN_LINE_OFFSET_TABLE_HI,y sta PrintCharacte...
SFX_Battle_20_Ch7: unknownnoise0x20 12, 241, 84 unknownnoise0x20 8, 241, 100 endchannel
VermilionDockScript: call EnableAutoTextBoxDrawing CheckEventHL EVENT_STARTED_WALKING_OUT_OF_DOCK jr nz, .asm_1db8d CheckEventReuseHL EVENT_GOT_HM01 ret z ld a, [wDestinationWarpID] cp $1 ret nz CheckEventReuseHL EVENT_SS_ANNE_LEFT jp z, VermilionDock_1db9b SetEventReuseHL EVENT_STARTED_WALKING_OUT_OF_DOCK ...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 BSG Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.p...
;------------------------------------------------------------------------------ ; ; 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...
DEVICE ZXSPECTRUM1024 ORG $8000 regular: equClassic: EQU $4000 ; actually in current v1.17.0 this will still receive "page 5" page based ; on the current memory mapping and the address value, but in docs it's ; described as "irrelevant". This test is documenting the behaviou...
MENU_CONFIG_ANIMS_BANK_NUMBER = CURRENT_BANK_NUMBER menu_config_anim_cursor: ; Frame 1 ANIM_FRAME_BEGIN(8) ANIM_SPRITE($fe, TILE_MENU_CONFIG_SPRITES_CORNER, $00, $fd) ANIM_SPRITE($fe, TILE_MENU_CONFIG_SPRITES_CORNER, $40, $42) ANIM_SPRITE($0a, TILE_MENU_CONFIG_SPRITES_CORNER, $80, $fd) ANIM_SPRITE($0a, TILE_MENU_CONFI...
cpy #0 beq !e+ !: lsr {m1}+3 ror {m1}+2 ror {m1}+1 ror {m1} dey bne !- !e:
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_D3D9_DEVICEFUNCS_SET_SCISSOR_RECT_HPP_INCLUDED #define SGE_D3D9_DEVICEFUNCS_SET_SCISSOR...
; A097039: a(n) = Sum_{i=0..n} i*L(i), where L = A000032. ; 0,1,7,19,47,102,210,413,789,1473,2703,4892,8756,15529,27331,47791,83103,143810,247814,425445,727985,1241981,2113247,3587064,6075432,10269457,17326975,29185483,49083599,82429278,138244218,231565037 lpb $0 add $2,$0 add $3,$0 sub $0,1 add $4,$2 mov $1...
SFX_Snare8_1_Ch7: unknownnoise0x20 0, 130, 37 endchannel
; A309337: a(n) = n^3 if n odd, 3*n^3/4 if n even. ; 0,1,6,27,48,125,162,343,384,729,750,1331,1296,2197,2058,3375,3072,4913,4374,6859,6000,9261,7986,12167,10368,15625,13182,19683,16464,24389,20250,29791,24576,35937,29478,42875,34992,50653,41154,59319,48000,68921,55566,79507,63888,91125,73002,103823,82944,117649,93750,1...
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 10 ...
; A093390: a(n) = floor(n/9) + floor((n+1)/9) + floor((n+2)/9). ; 0,0,0,0,0,0,0,1,2,3,3,3,3,3,3,3,4,5,6,6,6,6,6,6,6,7,8,9,9,9,9,9,9,9,10,11,12,12,12,12,12,12,12,13,14,15,15,15,15,15,15,15,16,17,18,18,18,18,18,18,18,19,20,21,21,21,21,21,21,21,22,23,24,24,24,24,24,24,24,25,26,27,27,27,27,27,27,27,28,29,30,30,30,30,30,30,...
; A184589: floor(n*e-1); complement of A184590. ; 1,4,7,9,12,15,18,20,23,26,28,31,34,37,39,42,45,47,50,53,56,58,61,64,66,69,72,75,77,80,83,85,88,91,94,96,99,102,105,107,110,113,115,118,121,124,126,129,132,134,137,140,143,145,148,151,153,156,159,162,164,167,170,172,175,178,181,183,186,189,191,194,197,200,202,205,208,211...
.model large .586 stackle segment stack there dw 5 dw 7 dw 17 basket equ $ - there dw 128-basket/2 dup(0) stackle ends .data put db "boat", 0ah, 0dh,'$' .code main proc mov ax, @data mov ds, ax lea ax, put mov dx, ax mov sp, 0 pop cx multiply: pop ax imul cx, ax cmp sp, basket jl multipl...
// Copyright (c) 2011-2014 The Bitcoin Core developers // Copyright (c) 2014-2020 The Martkist Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "transactionfilterproxy.h" #include "transactiontablemodel....
; A195140: Multiples of 5 and odd numbers interleaved. ; 0,1,5,3,10,5,15,7,20,9,25,11,30,13,35,15,40,17,45,19,50,21,55,23,60,25,65,27,70,29,75,31,80,33,85,35,90,37,95,39,100,41,105,43,110,45,115,47,120,49,125,51,130,53,135,55,140,57,145,59,150,61,155,63,160,65,165,67,170,69,175,71,180,73,185,75,190,77,195,79,200,81,205...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Print Spooler FILE: processText.asm AUTHOR: Dave Durran ROUTINES: Name Description ---- ----------- DoTextPrinting Handles printing in t...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x175d4, %r9 nop nop nop nop nop cmp $64800, %rbp mov $0x6162636465666768, %rcx movq %rcx, %xmm7 movups %xmm7, (%r9) nop nop nop dec %rbx lea addresses_normal_ht+0x7dcf, %r...
// Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
#include <QtGlobal> // Automatically generated by extract_strings.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *bitcoin_strings[] = { QT_TRANSLATE_NOOP("bitcoin-core", "" "%s, you must set a rpcpassword in the configuration file:\n" "%s\n" "It is recomme...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: User/Text FILE: taRunManip.asm ROUTINES: Name Description ---- ----------- routine REVISION HISTORY: Name Date Description ----...
#ifndef NDNPH_TLV_VALUE_HPP #define NDNPH_TLV_VALUE_HPP #include "decoder.hpp" #include "encoder.hpp" namespace ndnph { namespace tlv { /** @brief A sequence of bytes, usually TLV-VALUE. */ class Value { public: static Value fromString(const char* str) { return Value(reinterpret_cast<const uint8_t*>(str), st...
/*Given an integer A, how many structurally unique BST’s (binary search trees) exist that can store values */ // Catalan Number uses. /* 1. Count the number of expressions containing n pairs of parentheses which are correctly matched. For n = 3, possible expressions are ((())), ()(()), ()()(), (())(), (()()). 2. Count ...
;***************************************************************** ;* - Description: Device definition file for RC Calibration ;* - File: m323.asm ;* - AppNote: AVR053 - Production calibration of the ;* RC oscillator ;* ;* - Author: Atmel Corporation: http://www.atmel.com ;*...
/* Copyright 2018 Google Inc. 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 agreed to in ...
/* * Copyright 2010 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 "tests/Test.h" #ifdef SK_SUPPORT_PDF #include "include/core/SkData.h" #include "include/core/SkStream.h" #include "include/private/SkTo.h" #incl...
; char *fgets(char *s, int n, FILE *stream) SECTION code_stdio PUBLIC fgets_unlocked EXTERN asm_fgets_unlocked fgets_unlocked: pop af pop ix pop bc pop de push de push bc push hl push af jp asm_fgets_unlocked
; A036291: a(n) = n*5^n. ; 0,5,50,375,2500,15625,93750,546875,3125000,17578125,97656250,537109375,2929687500,15869140625,85449218750,457763671875,2441406250000,12969970703125,68664550781250,362396240234375,1907348632812500,10013580322265625,52452087402343750,274181365966796875,1430511474609375000,7450580596923828125,38...
// Copyright (c) 2011 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 "base/bind.h" #include "base/files/scoped_temp_dir.h" #include "base/run_loop.h" #include "base/threading/sequenced_task_runner_handle.h" #in...
/* BSD 3-Clause License Copyright (c) 2018, KORG INC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of cond...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x218a, %rcx nop nop nop nop and $62363, %r15 mov $0x6162636465666768, %r14 movq %r14, %xmm1 movups %xmm1, (%rcx) nop nop lfence lea addresses_normal_ht+0x717c, %rsi lea address...
;;*************************************** ;; Origially based an example at http://www.cpcwiki.eu/index.php/Programming An_example_loader ;;*************************************** ColourPalette: ; hardware colours defb &54,&42,&56,&4A,&4C,&5E,&4E,&5E,&5E,&4C,&4C,&4C,&4C,&4C,&4C,&4B,&54 Palette_Init: ;; CPC has some q...
if not defined FMUL INCLUDE "print_fp.asm" ; HL = BC * DE DEBUG@FMUL: FMUL: CALL @FMUL ; 3:17 PUSH HL ; 1:11 LD HL, '*'+' ' * 256 ; 3:10 "* " LD A, COL_BLUE ; 2:7 JP PRINT_XFP ...
; ; Colour Genie EG2000 graphics routines ; Fast background restore ; ; ; $Id: bkrestore.asm,v 1.1 2015/10/28 07:18:49 stefano Exp $ ; PUBLIC bkrestore EXTERN pixeladdress .bkrestore ; __FASTCALL__ : sprite ptr in HL push hl pop ix ld h,(ix+2) ; restore sprite position ld l,(ix+3) ld a,(ix+0) ...
user/_forktest: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <print>: #define N 1000 void print(const char *s) { 0: 1101 addi sp,sp,-32 2: ec06 sd ra,24(sp) 4: e822 sd s0,16(sp) 6: e426 sd s1,8(sp) ...
! SPARC v9 __gmpn_add_n -- Add two limb vectors of the same length > 0 and store ! sum in a third limb vector. ! Copyright (C) 1999, 2000 Free Software Foundation, Inc. ! This file is part of the GNU MP Library. ! The GNU MP Library is free software; you can redistribute it and/or modify ! it under the terms of the ...
extern m7_ippsECCPSetStd:function extern n8_ippsECCPSetStd:function extern y8_ippsECCPSetStd:function extern e9_ippsECCPSetStd:function extern l9_ippsECCPSetStd:function extern n0_ippsECCPSetStd:function extern k0_ippsECCPSetStd:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment .data a...
frame 1, 03 frame 0, 03 frame 2, 03 endanim
/*Write C++/Java program to implement Cohen-Sutherland line clipping algorithm for given window. Draw line using mouse interfacing to draw polygon*/ #include<iostream> #include<graphics.h> using namespace std; class lineClip { private : int RIGHT = 2,LEFT = 1,TOP = 8,BOTTOM = 4; int x1,x2,y1,y2,xl,yl,xh,yh,x,y; p...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Printer Drivers FILE: printcomNoText.asm AUTHOR: Dave Durran ROUTINES: REVISION HISTORY: Name Date Description ---- ---- ----------- ...
#include "caffe2/core/logging.h" #include "caffe2/core/operator.h" #include "caffe2/onnx/backend.h" #include "caffe2/onnx/device.h" #include "caffe2/onnx/helper.h" #include "caffe2/utils/map_utils.h" #include "caffe2/utils/proto_utils.h" #ifndef C10_MOBILE #include "onnx/checker.h" #include "onnx/optimizer/optimize.h"...
.model small .stack 64 .data ;; take decimal and print on screen as a decimal value num dw 1 ; input value str db 4 dup('0') .code main proc mov ax,@data mov ds,ax mov ax,num lea si,str+3 lea di,str mov cx,4 mov dx,0 label1: mov bx,10 div bx mov dh,30h add dl,dh mov [si],dl dec si mov ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r9 push %rbp push %rbx push %rcx push %rsi lea addresses_normal_ht+0x1ecc8, %rsi nop nop nop nop xor %rbp, %rbp movw $0x6162, (%rsi) nop nop nop nop dec %rsi lea addresses_D_ht+0x12f68, %r15 cmp %r9, %r9 movups (%r15), %xmm4 vpextrq $0, %xmm4, %rbx ...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; int bv_priority_queue_resize(bv_priority_queue_t *q, size_t n) ; ; Attempt to resize the queue to n bytes. ; ; If n <= queue.capacity, the array owned by the queue will ; ...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
;********** PVM player *********** ; 19-08-2015 v0.01: Beat display at logo. ; v0.02: Raster bars added - Stable raster from Ricardo's code ; xx-09-2015 v0.10: VUMeter added ; 02-09-2015 v0.15: Playtime timer added ; 04-09-2015 v0.16: Code cleanup !to "mp1.prg" !sl "labels.txt" !source "macros.asm" ; ...
; Disassembly of file: hello.o ; Wed Nov 29 10:56:31 2017 ; Mode: 32 bits ; Syntax: YASM/NASM ; Instruction set: 80386 global _main extern _printf ; near SECTION .text align=1 execute ; section number 1, code _main: ; Function begin...
; A249769: Sequence of distinct least positive numbers such that the average of the first n terms is a factorial. ; 1,3,2,18,6,114,24,792,120,6120,720,52560,5040,498960,40320,5201280,362880,59149440,3628800,729388800,39916800,9699782400,479001600,138431462400,6227020800,2110960051200,87178291200,34261068441600,13076743...
; WARNING: Autogenerated file! Do not put extra data here; editor will not preserve it! .byte $02, $BD, $42, $42, $B4, $D7, $4B, $43, $43, $43, $4B, $D7, $E2, $42, $42, $02 .byte $02, $B4, $42, $B4, $42, $42, $42, $43, $43, $5E, $42, $42, $D7, $42, $42, $02 .byte $02, $49, $E5, $45, $47, $42, $42, $42, $D7, $D7, $...
format binary as 'gba' include '../lib/macros.inc' macro m_exit test { mov r7, test bl tmain_end } header: include '../lib/header.asm' main: m_test_init adr r0, tmain + 1 bx r0 code16 align 2 tmain: ; Reset test register mov r7,...
; A024378: a(n) = 2nd elementary symmetric function of the first n+1 positive integers congruent to 1 mod 4. ; 5,59,254,730,1675,3325,5964,9924,15585,23375,33770,47294,64519,86065,112600,144840,183549,229539,283670,346850,420035,504229,600484,709900,833625,972855,1128834,1302854,1496255,1710425,1946800,2206864,2492149 ...
dnl IA-64 mpn_sec_tabselect. dnl Copyright 2011 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser General Public License as published by the F...
// Copyright 2020 Google LLC // // 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 agreed to in ...
; A024163: Number of integer-sided triangles with sides a,b,c, a<b<c, a+b+c=n such that c - b < b - a. ; 0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,3,1,3,3,3,3,6,3,6,6,6,6,10,6,10,10,10,10,15,10,15,15,15,15,21,15,21,21,21,21,28,21,28,28,28,28,36,28,36,36,36,36,45,36,45,45,45,45,55,45,55,55,55,55,66,55,66,66,66,66,78,66,78,78,78,7...
// Tencent is pleased to support the open source community by making ncnn available. // // Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy ...
.include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 124 card_no equ "124" card_sub equ "Mod Card 124" card_sub_x...
/*--------------------------------------------------------------------------*\ | | | Copyright (C) 2017 | | | | ...
; =============================================================== ; Feb 2014 ; =============================================================== ; ; void bv_stack_clear(bv_stack_t *s) ; ; Clear the stack to empty. ; ; =============================================================== SECTION code_adt_bv_stack PUBLIC asm...
; ; Load a whole file by the BASIC driver ; ; Stefano - 28/06/2007 ; ; int zx_save_block(char *name, void *addr, size_t len) ; ; $Id: zx_save_block.asm,v 1.1 2007/07/03 07:32:03 stefano Exp $ XLIB zx_save_block LIB zx_setint LIB zx_goto LIB zxgetfname ; BASIC variable name .avar defb 'A',0 .lvar defb 'L',0 .z...
Route16GateUpstairsObject: db $a ; border block db $1 ; warps db $7, $7, $8, ROUTE_16_GATE_1F db $2 ; signs db $2, $1, $3 ; Route16GateUpstairsText3 db $2, $6, $4 ; Route16GateUpstairsText4 db $2 ; objects object SPRITE_YOUNG_BOY, $4, $2, STAY, NONE, $1 ; person object SPRITE_LITTLE_GIRL, $2, $5, WALK, $2, ...
; A152948: a(n) = (n^2 - 3*n + 6)/2. ; 2,2,3,5,8,12,17,23,30,38,47,57,68,80,93,107,122,138,155,173,192,212,233,255,278,302,327,353,380,408,437,467,498,530,563,597,632,668,705,743,782,822,863,905,948,992,1037,1083,1130,1178,1227,1277,1328,1380 bin $0,2 mov $1,$0 add $1,2
/* * Copyright (C) 2013-2015 Open Source Robotics Foundation * * 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...
; unsigned char mkstemp_ex(char *template) ; returns file descriptor instead of FILE* INCLUDE "config_private.inc" SECTION code_env PUBLIC asm_mkstemp_ex EXTERN asm_env_mkstemp defc asm_mkstemp_ex = asm_env_mkstemp ; Create a temporary file using a filename formed by replacing the ; last four 'XXXX' in the ...
#include <QXmlStreamWriter> #include <set> #include <QGuiApplication> #include <QtCore/qbuffer.h> #include "documentsaver.h" #include "imageforever.h" #include "ds3file.h" #include "snapshotxml.h" #include "variablesxml.h" #include "fileforever.h" #include "objectXml.h" DocumentSaver::DocumentSaver(const QString *file...
############################################################################### # 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...
; A204327: a(n) = Pell(n^2). ; Submitted by Christian Krause ; 1,12,985,470832,1311738121,21300003689580,2015874949414289041,1111984844349868137938112,3575077977948634627394046618865,66992092050551637663438906713182313772,7316660981177400006023755031791634132229378601 add $0,1 pow $0,2 seq $0,163271 ; Numerators of f...
/* * * Created on: 2019年10月1日 * Author: Lzy */ #include "macaddr.h" MacAddr::MacAddr() { mMac = sDataPacket::bulid()->mac; } MacAddr *MacAddr::bulid() { static MacAddr* sington = nullptr; if(sington == nullptr) sington = new MacAddr(); return sington; } uint MacAddr::macToInt(QStr...
include uXmx86asm.inc option casemap:none ifndef __X64__ .686P .xmm .model flat, c else .X64P .xmm option win64:11 option stackbase:rsp endif option frame:auto .code align 16 uXm_has_enabled_ZMM proto VECCALL (byte) align 16 uXm_has_enabled_ZMM proc VECCALL (byte) mov ...
#include "robotoc/riccati/backward_riccati_recursion_factorizer.hpp" namespace robotoc { BackwardRiccatiRecursionFactorizer::BackwardRiccatiRecursionFactorizer( const Robot& robot) : dimv_(robot.dimv()), dimu_(robot.dimu()), AtP_(MatrixXdRowMajor::Zero(2*robot.dimv(), 2*robot.dimv())), BtP_(Matrix...
; A232228: a(1)=1; thereafter a(n) = 2^(number of bits in binary expansion of a(n-1)) + 1 + a(n-1). ; 1,4,13,30,63,128,385,898,1923,3972,8069,16262,32647,65416,130953,262026,524171,1048460,2097037,4194190,8388495,16777104,33554321,67108754,134217619,268435348,536870805,1073741718,2147483543,4294967192,8589934489,171798...
; A144943: a(n) = number of divisors of n^3 (excluding 1 and n^3). ; Submitted by Jamie Morken(s3) ; 0,2,2,5,2,14,2,8,5,14,2,26,2,14,14,11,2,26,2,26,14,14,2,38,5,14,8,26,2,62,2,14,14,14,14,47,2,14,14,38,2,62,2,26,26,14,2,50,5,26,14,26,2,38,14,38,14,14,2,110,2,14,26,17,14,62,2,26,14,62,2,68,2,14,26,26,14,62,2,50,11,14,2...
; A132813: Triangle read by rows: A001263 * A127648 as infinite lower triangular matrices. ; Submitted by Christian Krause ; 1,1,2,1,6,3,1,12,18,4,1,20,60,40,5,1,30,150,200,75,6,1,42,315,700,525,126,7,1,56,588,1960,2450,1176,196,8,1,72,1008,4704,8820,7056,2352,288,9,1,90,1620,10080,26460,31752,17640,4320,405,10,1,110,2...
; A124350: a(n) = 4*n*(floor(n^2/2)+1). For n>=3, this is the number of directed Hamiltonian paths on the n-prism graph. ; 0,4,24,60,144,260,456,700,1056,1476,2040,2684,3504,4420,5544,6780,8256,9860,11736,13756,16080,18564,21384,24380,27744,31300,35256,39420,44016,48836,54120,59644,65664,71940,78744,85820,93456,101380,...
; A072265: Variant of Lucas numbers: a(n) = a(n-1) + 4*a(n-2) starting with a(0)=2 and a(1)=1. ; Submitted by Jon Maiga ; 2,1,9,13,49,101,297,701,1889,4693,12249,31021,80017,204101,524169,1340573,3437249,8799541,22548537,57746701,147940849,378927653,970691049,2486401661,6369165857,16314772501,41791435929,107050525933,2...
LABEL stdlib_strlen AUTO LABEL stdlib_strupr AUTO LABEL stdlib_putchar AUTO LABEL stdlib_getchar AUTO LABEL stdlib_puts AUTO LABEL stdlib_shutdown AUTO ;****************************************************************************** ; strlen LABEL stdlib_strlen_loop AUTO LABEL stdlib_strlen_done AUTO s...
//************************************************************************ // Copyright (C) 2020 Massachusetts Institute of Technology // // File Name: cep_crypto.cc/h // Program: Common Evaluation Platform (CEP) // Description: crypto test for CEP // Notes: //**********************************...
DATA SEGMENT AT 0E000H ; 数据段的位置从 0E000H 开始 ARRAY_B LABEL BYTE ; 不同类型同一起始地址 ARRAY_W DW 50 DUP (?) DATA ENDS STACK SEGMENT PARA STACK 'STACK' TOP LABEL BYTE BASE DB 100 DUP (?) STACK ENDS CODE SEGMENT ASSUME CS:CODE, DS:DATA, SS:STACK ; 段指定 ORG 1000H ; 指定主程序从 1000H 开始 START: MOV AX, DAT...
// Perf and stress test framework for blobfuse. // There are many existing benchmarks for file systems, and those are useful, but it's also useful to have something // purposefully designed to test and validate the expected behavior of blobfuse. // For the purposes of this file, "stress" refers to validating that there...
INCLUDE Irvine32.inc INCLUDE Macros.inc .data array DWORD 4 DUP(?) rowSize = ($ - array) DWORD 4 DUP(?) DWORD 4 DUP(?) DWORD 4 DUP(?) siz WORD 4 overhund DWORD 16 DUP(?) rowIndex DWORD ? colIndex DWORD ? sum DWORD 0 cout DWORD 0; count DWORD 1 num DWORD 0 .code ;================...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Client side implementation of the airboat. // // - Dampens motion of driver's view to reduce nausea. // - Autocenters driver's view after a period of inactivity. // - Controls headlights. // -...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; int mtx_lock(mtx_t *m) ; ; Block until the mutex is acquired. ; ; =============================================================== SECTION code_threads_mutex PUBLIC asm_m...
; ; ANSI Video handling for the MSX ; ; Handles colors ; ; Scrollup ; ; Stefano Bodrato - Oct. 2017 ; ; $Id: f_ansi_scrollup.asm $ ; SECTION code_clib PUBLIC ansi_SCROLLUP PUBLIC __tms9918_scroll_buffer EXTERN __tms9918_attribute IF FORms...
_resetAll: ;ExstoKit.c,60 :: void resetAll(){ ;ExstoKit.c,61 :: display1 = 1; BSF PORTA+0, 5 ;ExstoKit.c,62 :: display2 = 1; BSF PORTA+0, 2 ;ExstoKit.c,63 :: display3 = 1; BSF PORTE+0, 0 ;ExstoKit.c,64 :: display4 = 1; BSF PORTE+0, 2 ;ExstoKit.c,65 :: pi...
; A010811: 23rd powers: a(n) = n^23. ; 0,1,8388608,94143178827,70368744177664,11920928955078125,789730223053602816,27368747340080916343,590295810358705651712,8862938119652501095929,100000000000000000000000,895430243255237372246531,6624737266949237011120128,41753905413413116367045797,229585692886981495482220544,11222741...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rax push %rbp push %rdx push %rsi lea addresses_normal_ht+0x75d7, %rbp nop and %r8, %r8 mov $0x6162636465666768, %rsi movq %rsi, %xmm5 vmovups %ymm5, (%rbp) nop nop nop nop nop xor $27112, %rax lea addresses_UC_ht+0x1a8c7, %r11 dec %rdx mov...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: print drivers FILE: uiGetNoMain.asm AUTHOR: Dave Durran ROUTINES: Name Description ---- ----------- REVISION HISTORY: Nam...