text
stringlengths
1
1.05M
; =============================================================== ; Jun 2007 ; =============================================================== ; ; void *zx_cxy2aaddr(uchar x, uchar y) ; ; Attribute address of character square at x,y. ; ; =============================================================== SECTION code_cli...
sty $ff ldy #1 lda ({z2}),y pha dey lda ({z2}),y ldy $ff sta ({z1}),y iny pla sta ({z1}),y
// stdafx.cpp : source file that includes just the standard includes // QueueWithTwoStacks.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
; Here is place for your custom display list definition. ; Handy constants are defined first: DL_BLANK1 = 0; // 1 blank line DL_BLANK2 = %00010000; // 2 blank lines DL_BLANK3 = %00100000; // 3 blank lines DL_BLANK4 = %00110000; // 4 blank lines DL_BLANK5 = %01000000; // 5 blank lines DL_BLANK6 = %01010000; // 6 blank ...
/*************************************************************************/ /* godot_rid.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
[BITS 32] global _start section .text _start: xor edx, edx ; zero out edx push edx ; push null byte onto stack push 0x6578652e ; push '.exe' onto stack push 0x636c6163 ; push 'calc' onto stack mov ebx, esp ; save stack pointer push ebx ; push pointer to 'calc.exe' mov edx, 0x77c...
############################################################################### # Copyright 2019 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...
/* ==================================================================== * The Vovida Software License, Version 1.0 * * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
dnl MIPS64 mpn_submul_1 -- Multiply a limb vector with a single limb and dnl subtract the product from a second limb vector. dnl Copyright 1992, 1994, 1995, 2000, 2001, 2002 Free Software Foundation, dnl Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistri...
//===----------------------- noexception3.pass.cpp ------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: org.w3c.dom.Entity ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEMENTATIO...
[bits 64] idt_base: times (256 * 8) db 0 idt: .limit: dw (idt - idt_base) - 1 .base: dq idt_base %define EXCEPT_REPORT_MAGIC 0x215f25d0 struc except_report .magic: resd 1 .vec: resq 1 .rsp00: resq 1 .rsp08: resq 1 .rsp10: resq 1 .rsp18: resq 1 .kern: resq 1 .cr2: resq 1 .stack: resb 1024 endstruc ...
; A022415: Kim-sums: "Kimberling sums" K_n + K_4. ; 3,10,13,15,18,21,23,26,28,31,34,36,39,42,44,47,49,52,55,57,60,62,65,68,70,73,76,78,81,83,86,89,91,94,97,99,102,104,107,110,112,115,117,120,123,125,128,131,133,136,138,141,144,146,149,151,154,157,159,162,165,167,170,172,175,178 mul $0,89 mov $2,17 lpb $0 div $0,$2 ...
;=============================================================================== ; Copyright 2015-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://www.apa...
; void *tshc_cy2saddr(uchar row) SECTION code_clib SECTION code_arch PUBLIC _tshc_cy2saddr_fastcall EXTERN _zx_cy2saddr_fastcall defc _tshc_cy2saddr_fastcall = _zx_cy2saddr_fastcall
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
global _start section .data str: db "Hello, world!", 0xA len: equ $-str section .text _start: mov rax, 0x2100_0004 ; write mov rdi, 1 ; stdout mov rsi, str ; buf mov rdx, len ; len syscall mov rax, 1 ; exi...
; THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX ; SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO ; END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ; ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS ; IN USING, DIS...
; A274048: a(n) = A116640(A018900(n)). ; Submitted by Jamie Morken(s3.) ; 19,23,29,31,37,49,47,53,65,89,79,85,97,121,169,143,149,161,185,233,329,271,277,289,313,361,457,649,527,533,545,569,617,713,905,1289,1039,1045,1057,1081,1129,1225,1417,1801 mov $2,$0 mov $0,2 add $2,2 pow $0,$2 mov $2,2 lpb $0 mul $2,2 mov $3...
; lzo1x_s1.asm -- lzo1x_decompress_asm ; ; This file is part of the LZO real-time data compression library. ; ; Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The LZO library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General P...
/* * Cobra -- SDL2 C++ Wrapper * * Copyright (C) 2017 Olivier Dion <olivier-dion@hotmail.com> * * 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 t...
; Copyright (c) 2011 Scott Mansell <phiren@gmail.com> ; Licensed under the MIT license ; Refer to the included LICENCE file. [bits 32] hlt [bits 16] start: cli mov dx, cs mov ds, dx lgdt [gdtr] mov eax, cr0 or al, 1 mov cr0, eax jmp long 0x8:0xf0000+protected [bits 32] protected: jmp 0x8:0x000001bc db ...
// // Copyright (c) 2008-2021 the Urho3D project. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
/* * Copyright (C) 2010 Google 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 conditio...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * Copyright (C) 2002-2017 Németh László * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the L...
// push constant 0 @0 D=A @SP A=M M=D @SP M=M+1 // pop local 0 @0 D=A @LCL D=D+M @R13 M=D @SP AM=M-1 D=M @R13 A=M M=D (null$LOOP_START) // push argument 0 @0 D=A @ARG A=D+M D=M @SP A=M M=D @SP M=M+1 // push local 0 @0 D=A @LCL A=D+M D=M @SP A=M M=D @SP M=M+1 // add @SP AM=M-1 D=M A=A-1 M=D+M // pop local 0 @0 D=A @LCL ...
#include "stdafx.h" #include "Mouse.h" #include "MainCamMgr.h" #include "Tile.h" IMPLEMENT_SINGLETON(CMouse) CMouse::CMouse() : m_pCamMgr(CMainCamMgr::GetInstance()) { } CMouse::~CMouse() { } const D3DXVECTOR3 CMouse::GetMouse() const { POINT tPoint; GetCursorPos(&tPoint); ScreenToClient(g_hWnd, &tPoint); ret...
; A135391: Numbers n such that 9^n and 9^(n+1) have the same number of decimal digits. ; 21,43,65,87,109,131,152,174,196,218,240,262,284,305,327,349,371,393,415,437,458,480,502,524,546,568,590,611,633,655,677,699,721,743,764,786,808,830,852,874,896,917,939,961,983,1005,1027,1049,1070,1092,1114,1136,1158,1180,1201,1223,...
; A126864: a(n) = gcd(n, Product_{p|n} (p-1)), where the product is over the distinct primes, p, that divide n. ; Submitted by Christian Krause ; 1,1,1,1,1,2,1,1,1,2,1,2,1,2,1,1,1,2,1,4,3,2,1,2,1,2,1,2,1,2,1,1,1,2,1,2,1,2,3,4,1,6,1,2,1,2,1,2,1,2,1,4,1,2,5,2,3,2,1,4,1,2,3,1,1,2,1,4,1,2,1,2,1,2,1,2,1,6,1,4,1,2,1,12,1,2,1...
; A100167: Structured pentagonal icositetrahedral numbers (vertex structure 13). ; Submitted by Jon Maiga ; 1,38,171,460,965,1746,2863,4376,6345,8830,11891,15588,19981,25130,31095,37936,45713,54486,64315,75260,87381,100738,115391,131400,148825,167726,188163,210196,233885,259290,286471,315488,346401,379270,414155,451116...
; A164582: a(n) = 5*a(n - 1) - a(n - 2), with n>2, a(1)=2, a(2)=3. ; 2,3,13,62,297,1423,6818,32667,156517,749918,3593073,17215447,82484162,395205363,1893542653,9072507902,43468996857,208272476383,997893385058,4781194448907,22908078859477,109759199848478,525887920382913,2519680402066087,12072514089947522,578428900476715...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xde14, %rbp nop nop nop nop nop xor $55944, %r12 mov (%rbp), %r9 inc %r11 lea addresses_WC_ht+0x16714, %rsi lea addresses_A_ht+0xcc14, %rdi nop nop nop xor %rbx, %rbx mov $67,...
/* * Copyright 2016 Utkin Dmitry <loentar@gmail.com> * * 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 a...
; A116796: Number of permutations of length n which avoid the patterns 2314, 3241, 4132. ; 1,2,6,21,72,236,745,2286,6866,20285,59156,170712,488401,1387226,3916062,10996581,30737760,85573316,237387961,656451270,1810142186,4978643597,13661617196,37409025456,102238082977,278920277426,759695287350,2066068144821,56110442896...
%ifdef CONFIG { "RegData": { "RAX": "0x4142434457584857", "RBX": "0x6162636467687576", "RCX": "0x8788919291929394", "RDX": "0xA7A8919293949596", "RSI": "0xB1B2B3B4B5B6B7B8" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx +...
SECTION code_fp_am9511 PUBLIC cam32_sccz80_fmul2 EXTERN cam32_sccz80_read1, asm_am9511_fmul2_fastcall .cam32_sccz80_fmul2 call cam32_sccz80_read1 jp asm_am9511_fmul2_fastcall
; A157476: 2048n^2 + 128n + 1. ; 2177,8449,18817,33281,51841,74497,101249,132097,167041,206081,249217,296449,347777,403201,462721,526337,594049,665857,741761,821761,905857,994049,1086337,1182721,1283201,1387777,1496449,1609217,1726081,1847041,1972097,2101249,2234497,2371841,2513281,2658817,2808449,2962177,3120001,32819...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x16e00, %r8 nop nop nop nop nop sub $37699, %rdx vmovups (%r8), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $0, %xmm4, %rcx nop nop nop add %rax, %rax lea addresses_...
#include "hi.asm" prolog odata = 0xff0 ctrl = 0xff1 idata = 0xff1 main: ld state eq jc 2f li(1 << 6) jmp 3f 2: lh 0 3: st ctrl ld state not st state li(0xff) st wait 1: asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr asr ld wait addi (-1) ...
; A046667: a(n) = A046666(n)/2. ; 0,0,1,0,2,0,3,3,4,0,5,0,6,6,7,0,8,0,9,9,10,0,11,10,12,12,13,0,14,0,15,15,16,15,17,0,18,18,19,0,20,0,21,21,22,0,23,21,24,24,25,0,26,25,27,27,28,0,29,0,30,30,31,30,32,0,33,33,34,0,35,0,36,36,37,35,38,0,39,39,40,0,41,40,42,42,43,0,44,42,45,45,46,45,47,0,48,48,49,0,50,0,51,51,52,0,53,0,54,...
; A047780: Number of inequivalent ways to color faces of a cube using at most n colors. ; 0,1,10,57,240,800,2226,5390,11712,23355,43450,76351,127920,205842,319970,482700,709376,1018725,1433322,1980085,2690800,3602676,4758930,6209402,8011200,10229375,12937626,16219035,20166832,24885190,30490050,37109976,44887040,5397773...
Route11_h: db OVERWORLD ; tileset db ROUTE_11_HEIGHT, ROUTE_11_WIDTH ; dimensions (y, x) dw Route11Blocks, Route11TextPointers, Route11Script ; blocks, texts, scripts db WEST | EAST ; connections WEST_MAP_CONNECTION ROUTE_11, VERMILION_CITY, -3, 1, VermilionCityBlocks EAST_MAP_CONNECTION ROUTE_11, ROUTE_12, -3, 2...
sta {m1}+1 lda #<{c1} sta {m1}
;/*------------------------------------------------------------*/ ;/* filename - ttprvlns.asm */ ;/* */ ;/* function(s) */ ;/* TTerminal prevLines member func...
version https://git-lfs.github.com/spec/v1 oid sha256:2cc085c846cd667cc11844ed3edabb353465bdf03b532912d8a37c036ec76233 size 2430
; jailbreak.asm - Copyright (C) 2018 Gabriele Tornetta. All rights reserved. ; ; Demonstration of how to break from a chroot jail. ; ; This works by chrooting into a new directory while maintaining the current ; working directory. We can then navigate to the actual root folder recursively ; and gain view of the full fi...
; Second test tile main: MOV r0 0 start: CMP r0 0x00FFFFFF >= JMP end INC r0 JMP start end: HALT
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0xb1c8, %r13 nop nop nop nop nop sub $31646, %r15 mov (%r13), %r9 nop nop nop nop add %rbp, %rbp lea addresses_WC_ht+0x10028, %rsi lea addresses_normal_ht+0xf810, %rdi nop nop n...
#define GETTEXT_DOMAIN "kdesktop-lib" #include "gui/dialogs/desktop.hpp" #include "gui/widgets/label.hpp" #include "gui/widgets/track.hpp" #include "gui/widgets/listbox.hpp" #include "gui/widgets/button.hpp" #include "gui/widgets/stack.hpp" #include "gui/widgets/window.hpp" #include "gui/dialogs/menu.hpp" #include "g...
;---------------------------------------------------------------------------- ; Excepcion RTI ; EIE, UCR ; Brandon Esquivel Molina ; brandon.esquivel@ucr.ac.cr ; Uso de Real-time Interrupt ;-------------------------------------------------...
/******************************************************************************* * Copyright 2019-2022 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...
; Switch to 32 bit protected mode [bits 16] pm_switch: cli ; prevent interrupts during switch lgdt [gdt_descriptor] ; load global descriptor table mov eax, cr0 ; move cr0 to eax or eax, 0x1 ; set the first bit to indicate in protected mode mov cr0, eax ...
; A165856: Totally multiplicative sequence with a(p) = 35. ; Submitted by Jon Maiga ; 1,35,35,1225,35,1225,35,42875,1225,1225,35,42875,35,1225,1225,1500625,35,42875,35,42875,1225,1225,35,1500625,1225,1225,42875,42875,35,42875,35,52521875,1225,1225,1225,1500625,35,1225,1225,1500625,35,42875,35,42875,42875,1225,35,525218...
/* vim: set sw=2: * Copyright (c) 2009, Gennady Bystritsky <bystr@mac.com> * * Distributed under the MIT Licence. * This is free software. See 'LICENSE' for details. * You must read and accept the license prior to use. * * Author: Gennady Bystritsky (gennady.bystritsky@quest.com) */ #ifndef _SK_UTIL_PROCE...
#include "EditorApplication.h" EditorApp* EditorApp::sInstance = nullptr; EditorApp::EditorApp() : Application({ "Test", R"(C:\Dev\Lumen\TestProject\)", Lumen::Graphics::RendererApi::Vulkan, { "Editor", 1920, 1080 } }) { sInstance = this; } EditorApp::~EditorApp() { delete mGui; } b8 EditorApp::Init() { if (Ap...
; ; stack.asm ; ; MC6809E emulator test code for stack operations. ; All tests will use direct or immediate addressing for simplicity, ; other addressing modes will be tested separately. ; jmp start ; setcf: equ $01 clrcf: equ $fe ; varstart equ * ; var0: fcb $ff var1:...
; A249745: Permutation of natural numbers: a(n) = (1 + A064989(A007310(n))) / 2. ; 1,2,3,4,6,7,9,10,5,12,15,8,16,19,21,22,13,24,11,27,30,17,31,34,36,18,37,40,20,42,28,26,45,49,51,52,54,55,29,33,25,14,57,64,43,66,69,39,35,70,75,44,76,48,79,82,61,84,23,87,90,47,46,91,96,97,99,58,56,60,100,62,73,72,106,112,114,115,65,117,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x13d1a, %rax nop nop nop nop xor $62660, %r14 mov $0x6162636465666768, %r8 movq %r8, (%rax) dec %rsi lea addresses_WC_ht+0x232e, %rsi lea addresses_WT_ht+0x311a, %rdi nop nop ...
; A197424: Number of subsets of {1, 2, ..., 4*n + 2} which do not contain two numbers whose difference is 4. ; 4,36,225,1600,10816,74529,509796,3496900,23961025,164249856,1125736704,7716041281,52886200900,362488284900,2484529385121,17029223715904,116720020119616,800010960336225,5483356589096100,37583485459535236 add $...
SECTION code_clib PUBLIC pixeladdress EXTERN base_graphics ; ; $Id: pixladdr.asm,v 1.7 2016/06/20 21:47:41 dom Exp $ ; ; ****************************************************************** ; ; Get absolute pixel address in map of virtual (x,y) coordinate. ; ; Design & programming by Gunther Strube, Copyright (C)...
.kdata .align 0 #Vetor para leitura do dado theString: .space 20 # Respostas n1: .asciiz "one\n" n2: .asciiz "two\n" n3: .asciiz "thre\ne" n4: .asciiz "four\n" n5: .asciiz "five\n" quit1: .asciiz "9\n" .text j Inicial ###################################################################### Metodos para as re...
; A002042: a(n) = 7*4^n. ; 7,28,112,448,1792,7168,28672,114688,458752,1835008,7340032,29360128,117440512,469762048,1879048192,7516192768,30064771072,120259084288,481036337152,1924145348608,7696581394432,30786325577728,123145302310912,492581209243648,1970324836974592,7881299347898368,31525197391593472,126100789566373888...
.MODEL SMALL .STACK 100H .DATA main_return_val DW ? a2 DW ? b2 DW ? t1 DW ? .CODE PRINT_INT PROC PUSH AX PUSH BX PUSH CX PUSH DX OR AX, AX JGE END_IF1 PUSH AX MOV DL,'-' MOV AH, 2 INT 21H POP AX NEG AX END_IF1: XOR CX...
;=============================================================================== ; Copyright 2014-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://www.apa...
ldy #0 sec lda ({z2}),y sbc ({z3}),y sta {m1} ora #$7f bmi !+ lda #0 !: sta {m1}+1
lhu $1,12($0) sh $4,0($0) lhu $1,10($0) addiu $5,$3,-8358 srl $1,$3,8 xor $3,$3,$3 lb $0,2($0) srav $4,$1,$3 addu $4,$4,$3 sra $3,$3,6 lhu $5,12($0) slti $4,$3,29454 nor $5,$0,$3 lhu $1,10($0) srav $6,$3,$3 lh $3,10($0) sltu $1,$4,$3 addiu $3,$1,-18102 addu $4,$5,$3 subu $3,$6,$3 sll $0,$0,3 lbu $3,8($0) slti $3,$4,-18...
; GeekOS setup code ; Copyright (c) 2001,2004 David H. Hovemeyer <daveho@cs.umd.edu> ; $Revision: 1.10 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". ; A lot of this code is adapted from Kernel Toolkit 0.2 ; and Linux version 2.2.x, so the follo...
; A152100: G.f.: 1 - 2*x*(-7 - 10*x + x^2)/(x - 1)^4. ; 1,14,76,218,472,870,1444,2226,3248,4542,6140,8074,10376,13078,16212,19810,23904,28526,33708,39482,45880,52934,60676,69138,78352,88350,99164,110826,123368,136822,151220,166594,182976,200398,218892,238490,259224,281126,304228,328562,354160,381054,409276,438858,46983...
; A007492: Fibonacci(n) - (-1)^n. ; 2,0,3,2,6,7,14,20,35,54,90,143,234,376,611,986,1598,2583,4182,6764,10947,17710,28658,46367,75026,121392,196419,317810,514230,832039,1346270,2178308,3524579,5702886,9227466,14930351,24157818,39088168 add $0,1 mov $1,$0 seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) =...
. test input sample p1 START 0 i1 FLOAT i2 ADDR B, L SHIFTL S, 10 i3 SHIFTR L, 5 i4 TIXR B i5 RSUB i6 ADD =[1 + 2] +ADD test + 3 ADD test + bar + 3 * 5, X i7 J @[foo + 10] LDF =F'0.0' LDF =X'1234'...
ViridianForestObject: db $3 ; border block db $6 ; warps db $0, $1, $2, VIRIDIAN_FOREST_EXIT db $0, $2, $2, VIRIDIAN_FOREST_EXIT db $2f, $f, $1, VIRIDIAN_FOREST_ENTRANCE db $2f, $10, $1, VIRIDIAN_FOREST_ENTRANCE db $2f, $11, $1, VIRIDIAN_FOREST_ENTRANCE db $2f, $12, $1, VIRIDIAN_FOREST_ENTRANCE db $6 ; signs...
.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_A_ht+0x5761, %rsi lea addresses_D_ht+0x15361, %rdi nop nop nop and %r11, %r11 mov $21, %rcx rep movsb nop add $16275, %rbx lea addresses_normal_ht+0x8361, %r12 nop nop nop nop nop d...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "irc.h" #include "db.h" #include "net.h" #include "init.h" #include "strl...
; A168189: a(n) = n^3*(n^8 + 1)/2. ; 0,1,1028,88587,2097184,24414125,181398636,988663543,4294967552,15690530169,50000000500,142655835971,371504186208,896080198117,2024782586204,4324877931375,8796093024256,17135948156273,32134205042532,58245129452539,102400000004000,175138750275741,292159150710988,476404878963047,760840...
; A124351: Order of the automorphism group of the n-prism graph. ; 12,48,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284...
BR L5 L0: PROC 2 LDLADDR 8 GETCH STORE2B LDCB 0 LDCB 0 LDLADDR 8 LOAD2B LDCB 0 LDCB 0 LDCCH 'E' CMP BZ L3 CALL L0 L3: L4: LDLADDR 8 LOAD2B PUTCH RET 0 L5: CALL L0 HALT
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rbp push %rbx push %rdi push %rdx lea addresses_D_ht+0x932d, %r12 nop sub %rbp, %rbp movw $0x6162, (%r12) sub %rbx, %rbx lea addresses_WT_ht+0x9b2d, %rdx nop nop nop nop nop cmp %r8, %r8 vmovups (%rdx), %ymm2 vextracti128 $0, %ymm2, %xmm2 v...
; A115335: a(0) = 3, a(1) = 5, a(2) = 1, and a(n) = (2^(1 + n) - 11*(-1)^n)/3 for n > 2. ; 3,5,1,9,7,25,39,89,167,345,679,1369,2727,5465,10919,21849,43687,87385,174759,349529,699047,1398105,2796199,5592409,11184807,22369625,44739239,89478489,178956967,357913945,715827879,1431655769,2863311527,5726623065,11453246119,229...
/* * 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 "EditorSpawnerComponent.h" #include <AzCore/Serialization/Utils.h> #include <AzToolsFramewo...
#include <iostream> #include <string> #include <vector> #include <climits> #include "nodo.hpp" #ifndef ALBERO_HPP #define ALBERO_HPP namespace Albero { struct Albero { Nodo::Nodo *radice; }; // ************************************************************* // PROTOTIPI /** * Cos...
; A161428: a(n) = A161424(n)/4. ; 4,5,6,7,8,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277 mov $2,$0 sub $0,1 cal $0,86969 ; Duplicate of A014692. trn $0,5 mov $1,$0 a...
; A156623: Values of register b when register a becomes 0 for the two register machine {i[1], i[1], i[1], d[2,1], d[1,6], i[2], d[1,5], d[2,3]} ; 1,2,3,5,8,12,18,27,41,62,93,140,210,315,473,710,1065,1598,2397,3596,5394,8091,12137,18206,27309,40964,61446,92169,138254 mul $0,2 mov $1,12 lpb $0 sub $0,2 div $1,4 mu...
Name: zel_pysb.asm Type: file Size: 126790 Last-Modified: '2016-05-13T04:27:09Z' SHA-1: CB4A4D77CF4CF82E67521515D610DE68E5806272 Description: null
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r9 push %rax push %rdx push %rsi lea addresses_UC_ht+0x10c35, %rdx nop nop and %r9, %r9 mov (%rdx), %esi inc %r14 lea addresses_normal_ht+0x13b07, %rax nop and $10211, %r12 movups (%rax), %xmm2 vpextrq $0, %xmm2, %r11 nop nop nop nop nop c...
;* * * * * Small-C/Plus z88dk * * * * * ; Version: 16894-223f580fd-20200818 ; ; Reconstructed for z80 Module Assembler ; ; Module compile time: Wed Jul 7 12:41:42 2021 C_LINE 0,"powf16.c" MODULE powf16_c INCLUDE "z80_crt0.hdr" C_LINE 0,"math16.h" C_LINE 0,"/home/phillip/Z80/z88dk/lib/config/../..//includ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x15642, %rsi lea addresses_WC_ht+0x9bc2, %rdi clflush (%rdi) nop nop nop xor %r8, %r8 mov $100, %rcx rep movsw nop nop nop xor %r9, %r9 lea addresses_WC_ht+0xd74a, %rsi lea add...
; A081221: Number of consecutive numbers >= n having at least one square divisor > 1. ; 0,0,0,1,0,0,0,2,1,0,0,1,0,0,0,1,0,1,0,1,0,0,0,2,1,0,2,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,2,1,0,0,3,2,1,0,1,0,1,0,1,0,0,0,1,0,0,2,1,0,0,0,1,0,0,0,1,0,0,2,1,0,0,0,2,1,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,3,2,1 mov $1,$0 seq $1,67535 ; Smalle...
#pragma once #include <climits> #include <map> #include <sdbusplus/server.hpp> #include <string> #include <unordered_map> #include <vector> namespace openpower { namespace vpd { /** @brief The OpenPOWER VPD, in binary, is specified as a * sequence of characters */ static_assert((8 == CHAR_BIT), "A byte is n...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; Detours Test Program ;; ;; Microsoft Research Detours Package ;; ;; Copyright (c) Microsoft Corporation. All rights reserved. ;; .386 .model flat,C PUBLIC CodeTemplate PUBLIC CodeTemplate_End _TEXT SEGMENT CodeTemplate PROC nop...
; ; Generic pseudo graphics routines for text-only platforms ; ; Written by Stefano Bodrato 30/01/2002 ; ; ; Plot pixel at (x,y) coordinate. ; ; ; $Id: plotpixl.asm,v 1.7 2016-08-05 07:04:09 stefano Exp $ ; INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC plotpix...
; A267779: Binary representation of the n-th iteration of the "Rule 211" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by Jamie Morken(s3) ; 1,101,11001,1111101,111111001,11111111101,1111111111001,111111111111101,11111111111111001,1111111111111111101,111111111111111111001,11111111111...
// Copyright (c) 2014-2017 The Wiki Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include "darksend.h" #include "governance-classes.h" #include "masternode-payments.h" #includ...
; A015485: q-Fibonacci numbers for q=12. ; Submitted by Jon Maiga ; 0,1,12,1729,2987724,61953446593,15416000025617100,46031929420554204172993,1649407256866864913519509578444,709214929702322267749941478181800334017,3659393259623103647557638545139154960967463412428,22657998529493430151183844876242484474954887699888020450...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Compute the line coordinates and put into a vector ; Basic concept by Rafael de Oliveira Jannone (calculate_side) ; ; Stefano Bodrato - 13/3/2009 ; ; ; $Id: stencil_add_circle.asm,v 1.6 2016/04/22 20:29:...
; A194825: Digital roots of the nonzero 9-gonal (nonagonal) numbers. ; 1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3 pow $0,2 mul $0,1331 mod $0,9 mov $1,$0 add $1,1
/* * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
// 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 "flutter/assets/zip_asset_store.h" #include <fcntl.h> #include <unistd.h> #include <utility> #include "flutter/assets/unique_unzipper.h" #incl...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
; Filename: assignment4.nasm ; Author: Adam Brown ; Website: https://coffeegist.com ; ; ; Purpose: Create a custom encoder/decoder for the SLAE exam global _start section .text _start: ; Push shellcode onto stack in reverse order push 0x0f0f0f8f push 0xdc1abff0 push 0x9862f198 push 0x5ff2987d push 0x78...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xf81c, %rax nop nop nop and %rbx, %rbx vmovups (%rax), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %rdx nop nop nop nop dec %rdi lea addresses_WC_ht+0x12bec, %r9 nop...