text
stringlengths
1
1.05M
//********************************************************* // IncrementalSaveCommand.cpp // // //********************************************************* //********************************************************* #include "IncrementalSaveCommand.h" #include "ErrorReporting.h" //****************************...
/* * Copyright © 2012 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any purpose, provided that the * above copy...
; void *b_vector_init(void *p, size_t capacity, size_t max_size) SECTION code_adt_b_vector PUBLIC b_vector_init_callee b_vector_init_callee: pop af pop hl pop bc pop de push af INCLUDE "adt/b_vector/z80/asm_b_vector_init.asm"
; Segment Attribute DA_32 equ 0x4000 DA_DR equ 0x90 DA_DRW equ 0x92 DA_DRWA equ 0x93 DA_C equ 0x98 DA_CR equ 0x9A DA_CCO equ 0x9C DA_CCOR equ 0x9E DA_LIMIT_4K equ 0x8000 ; page attribute PG_P equ 1 PG_RWR equ 0 PG_RWW equ 2 PG_USS equ 0 PG_U...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Local/CharModule FILE: cmapFrench.def AUTHOR: Gene Anderson, Aug 22, 1989 REVISION HISTORY: Name Date Description ---- ---- ----------- eca...
; BEGIN_LEGAL ; Intel Open Source License ; ; Copyright (c) 2002-2016 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 reta...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 001758 move.b #$6, ($4,A6) 00175E rts [enemy+ 4, item+ 4] 00177A move.b #$6, ($4,A6) 001780 rts [enemy+ 4, item+ 4] 0048E8 move.l D0, (A4)+ 0048EA move.l D0, (A4)+ 004D3A move.l D0, (A4)+ 004D3C...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x9705, %rsi clflush (%rsi) nop nop nop dec %r9 vmovups (%rsi), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $1, %xmm3, %r14 nop nop nop inc %r10 lea addresses_A_ht+0xc85, %rcx ...
/* file: implicit_als_model.cpp */ /******************************************************************************* * Copyright 2014-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 th...
// 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 "content/renderer/devtools/render_widget_screen_metrics_emulator.h" #include "content/common/resize_params.h" #include "content/public/common/co...
; A105476: Number of compositions of n when each even part can be of two kinds. ; 1,1,3,6,15,33,78,177,411,942,2175,5001,11526,26529,61107,140694,324015,746097,1718142,3956433,9110859,20980158,48312735,111253209,256191414,589951041,1358525283,3128378406,7203954255,16589089473,38200952238,87968220657,202571077371,466475...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xbe65, %r15 nop nop nop sub %r9, %r9 mov (%r15), %ecx nop nop nop nop and %rbp, %rbp lea addresses_normal_ht+0x1165, %r11 nop nop and %rdi, %rdi movb (%r11), %dl nop dec %rbp ...
; Filename: msf-adduser.nasm ; Author: Metasploit ; Analysed by Re4son <re4son [at] whitedome.com.au> ; Purpose: Disassembly of msf linux/adduser ; for research purpose global _start section .text _start: ; setreuid() sets real and effective user IDs of the calling process ; int setreuid(uid...
; A009971: Powers of 27. ; 1,27,729,19683,531441,14348907,387420489,10460353203,282429536481,7625597484987,205891132094649,5559060566555523,150094635296999121,4052555153018976267,109418989131512359209,2954312706550833698643,79766443076872509863361,2153693963075557766310747,58149737003040059690390169,1570042899082081611...
// Copyright 2014 BitPay, Inc. // Copyright (c) 2017-2019 The MK2X developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <stdint.h> #include <vector> #include <string> #include <map> #include <univalue.h> #incl...
// for(i=0; i<n; i++){ // arr[i] = -1; // } // Suppose that arr=100 and n=10 // arr = 100 @100 D=A @arr M=D // n = 10 @10 D=A @n M=D // initialize i = 0 @i M=0 (LOOP) // if (i==n) goto END. (not STOP cause we dont intent to valuation) @i D=M @n ...
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
; A110388: a(n) = F(n)*F(n+1) mod 9, where F(n) = n-th Fibonacci number. ; Submitted by Stefano Spezia ; 1,2,6,6,4,5,3,3,7,8,0,0,1,2,6,6,4,5,3,3,7,8,0,0,1,2,6,6,4,5,3,3,7,8,0,0,1,2,6,6,4,5,3,3,7,8,0,0,1,2,6,6,4,5,3,3,7,8,0,0,1,2,6,6,4,5,3,3,7,8,0,0,1,2,6,6,4,5,3,3,7,8,0,0,1,2,6,6,4,5,3,3,7,8,0,0,1,2,6,6 add $0,1 seq $...
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2014) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
// generated from rosidl_generator_cpp/resource/msg__struct.hpp.em // generated code does not contain a copyright notice #ifndef SHAPE_MSGS__MSG__PLANE__STRUCT_HPP_ #define SHAPE_MSGS__MSG__PLANE__STRUCT_HPP_ // Protect against ERROR being predefined on Windows, in case somebody defines a // constant by that name. #i...
################################################################ ## KICKASS DISASS ## ## ## ## Powered by Capstone 4.0 ## ############################################################...
// Copyright 2017 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 "tools/traffic_annotation/auditor/traffic_annotation_file_filter.h" #include <fstream> #include "base/command_line.h" #include "base/files/file...
;;; Some instructions ;;;;; ; LDX: load x ; STX: store x ; SEI: set interrupt disable ; CLD: clear decimal ; TXS: transfer X to stack pointer ;;; ; Variables char_vel_x = $0001 char_vel_y = $0002 ;;; Important Registers ; PPU PPU_CTRL = $2000 PPU_MASK = $2001 PPU_STATUS = $2002 OAM_ADDR = $2003 O...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 0f in $0xf,%al 8010000c <entry>:...
; $Id: bs3-wc32-U8LS.asm $ ;; @file ; BS3Kit - 32-bit Watcom C/C++, 64-bit integer left shift. ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modi...
// Distributed under the BSD 2-Clause License - Copyright 2012-2021 Robin Degen #include <aeon/streams/devices/iostream_device.h> #include <aeon/streams/tags.h> #include <aeon/streams/stream.h> #include <aeon/streams/devices/span_device.h> #include <aeon/streams/devices/memory_device.h> #include <aeon/streams/filters/...
/*===========================================================================*\ * * * OpenMesh * * Copyright (C) 2001-2015 by Computer Graphics Group, RWTH Aachen * * ...
#pragma once #include "ProcessContext.hpp" #include "ProgramArgs.hpp" #include "Globals.hpp" #include <array> #include <optional> #include "../windows_include.hpp" namespace maxisoft::sandbox { struct SharedMemData { using MagicArray = std::array<char, 20>; MagicArray magic; std::array...
object_const_def ; object_event constants const ROUTE202_DAWNLUCAS const ROUTE202_YOUNGSTER_TRISTAN const ROUTE202_LASS_NATALIE const ROUTE202_YOUNGSTER_LOGAN const ROUTE202_OBJECT4 Route202_MapScripts: db 2 ; scene scripts scene_script .Dummy ; SCENE_DEFAULT scene_script .Dummy ; SCENE_FINISHED db 0 ; call...
[org 0x0100] jmp start isTSR: dw 0 oldISR: dd 0 ;-------------------------------------------------------------------------- myISR: cmp ah, 0x31 ;Agar tw 0x31 wali service call huwi tw kuch kaam karo, nahi tw humein koi kaam karney ki zaroorat ;hi nahi because hum ne tw sirf 31h wali service pe...
; A189967: Decimal expansion of (7+sqrt(105))/4, which has periodic continued fractions [4,3,4,1,4,3,4,1...] and [7/2, 1, 7/2, 1, ...]. ; Submitted by Jon Maiga ; 4,3,1,1,7,3,7,6,9,1,4,8,9,8,9,9,5,9,5,8,0,5,2,5,9,6,7,0,1,3,0,2,6,2,9,9,7,6,8,3,7,5,8,1,6,5,8,6,3,7,0,8,2,3,2,3,8,5,4,9,4,6,2,4,9,7,2,5,8,6,9,9,6,4,2,6,3,3,8...
; A022309: a(n) = a(n-1) + a(n-2) + 1 for n>1, a(0)=0, a(1)=4. ; 0,4,5,10,16,27,44,72,117,190,308,499,808,1308,2117,3426,5544,8971,14516,23488,38005,61494,99500,160995,260496,421492,681989,1103482,1785472,2888955,4674428,7563384,12237813,19801198,32039012,51840211,83879224,135719436,219598661,355318098,574916760,930234...
#ifndef STAN_MATH_PRIM_SCAL_PROB_NORMAL_SUFFICIENT_LPDF_HPP #define STAN_MATH_PRIM_SCAL_PROB_NORMAL_SUFFICIENT_LPDF_HPP #include <stan/math/prim/scal/meta/return_type.hpp> #include <stan/math/prim/scal/prob/normal_lpdf.hpp> #include <stan/math/prim/scal/meta/operands_and_partials.hpp> #include <stan/math/prim/scal/me...
include w2.inc include noxport.inc include consts.inc include structs.inc createSeg disp2_PCODE,disp2,byte,public,CODE ; DEBUGGING DECLARATIONS ifdef DEBUG midDisp2n equ 19 ; module ID, for native asserts NatPause equ 1 endif ifdef NatPause PAUSE MACRO int 3 ENDM...
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
.section/data .executable_name; .global __executable_name; .BYTE __executable_name[] = 'AudioLoopback.dxe', 0;
.byte $8D, $88, $8D, $8D, $8F, $90, $87, $95, $95, $95, $98, $EA, $E0, $EA, $94, $88 .byte $8D, $94, $88, $AD, $8D, $8D, $8E, $EA, $EA, $EA, $9D, $42, $46, $EA, $EA, $94 .byte $42, $42, $94, $95, $95, $95, $96, $EA, $44, $45, $04, $45, $4A, $51, $BC, $EA .byte $EA, $EA, $42, $99, $A2, $9A, $B4, $EA, $46, $99, $82,...
; Integrating the memory architecture of the NES system. This defines the later structure of the NES-ROM .INCLUDE "nes_memory.inc" .INCLUDE "nes.inc" * Fill all unused data with $ 00. .EMPTYFILL $00 ; We now switch to address $ 00 (absolute: $ 00) from BANK 0 to SLOT 0. HEADER .BANK 0 SLOT 0 .ORG $0000 * Byte 0-Byt...
/* * Copyright (c) 2015-2016, Technische Universität Dresden, Germany * 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 n...
;------------------------------------------------------------------------------ ; ; 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...
; ; online.asm ; ; Copyright (c) 2015 Rob Greene ; .PC02 ; Enable 65C02 instructions .include "../include/basic-system.inc" .include "../include/monitor.inc" .include "../include/asciih.inc" .include "../include/prodos.inc" ; Setup the installer code ... .define CMDNAME "ONLINE" .define HOOKADDR nextcmd...
BITS 32 section .text foo: dec dword [eax] inc word [eax] dec byte [eax] inc ch dec esp inc dx
SFX_Faint_Thud_Ch1: unknownsfx0x20 15, 209, 0, 2 unknownsfx0x10 8 endchannel SFX_Faint_Thud_Ch2: unknownnoise0x20 4, 245, 51 unknownnoise0x20 8, 244, 34 unknownnoise0x20 15, 242, 33 endchannel
; A157300: Decimal expansion of (1683 + 58*sqrt(2))/41^2. ; Submitted by Christian Krause ; 1,0,4,9,9,8,4,7,6,3,0,0,8,7,0,8,8,1,1,9,1,5,8,2,2,6,9,2,4,4,7,4,4,9,4,2,8,0,5,2,9,6,9,0,4,7,4,5,5,0,0,4,7,5,2,0,7,8,6,7,1,8,7,6,7,4,2,0,9,5,4,6,9,2,1,5,2,3,0,3,4,3,9,9,3,6,4,8,1,1,2,4,2,7,7,2,3,5,0,4 bin $1,$0 mov $2,2 mov $3,$...
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
#include "qmainwidget.h" QMainWidget::QMainWidget(QWidget *parent) : QWidget(parent) { }
; https://intermezzos.github.io/book/hello-world.html global start extern long_mode_start %define MULTIBOOT2_MAGIC_VALUE 0x36d76289 section .text bits 32 start: mov esp, stack_top ; `ebx` points to a boot information structure. ; We move it to `esi` to pass it to our kernel. mov esi, ebx ; `eax` should contain ...
; Copyright (c) 2004, 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 text of the license may be found at ...
; ; Copyright (c) 2011 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
; A198971: a(n) = 5*10^n - 1. ; 4,49,499,4999,49999,499999,4999999,49999999,499999999,4999999999,49999999999,499999999999,4999999999999,49999999999999,499999999999999,4999999999999999,49999999999999999,499999999999999999,4999999999999999999,49999999999999999999,499999999999999999999,4999999999999999999999,4999999999999...
/* * 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 ...
TowerMons6: db $0F db 22,GASTLY db 23,HOOTHOOT db 24,GASTLY db 25,GASTLY db 26,GASTLY db 21,MISDREAVUS db 22,CUBONE db 27,NOCTOWL db 22,HAUNTER db 27,HAUNTER db $00
; Purpose: Use Win32 API to ; - Establish a bind shell on port 4444 ; ; Uses Stephen Fewer's Block API hashing ; https://raw.githubusercontent.com/rapid7/metasploit-framework/master/external/source/shellcode/windows/x86/src/block/block_api.asm [BITS 32] cld call start ; Input: The hash of the API to call and all i...
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0xc2e3, %rsi lea addresses_WC_ht+0x1e2e3, %rdi nop nop nop xor $53866, %r15 mov $86, %rcx rep movsq nop inc %r12 lea addresses_normal_ht+0xeae3, %rsi lea addresses_normal_ht+0x3...
; A005358: Number of low discrepancy sequences in base 5. ; 0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,93,96,99,102,105,108,111,114,117,120,123,126,129,132,135,138,141,144,147,150,153,156,159,162 mov $2,1 mov $3...
; A053487: E.g.f.: exp(4x)/(1-x). ; 1,5,26,142,824,5144,34960,261104,2154368,19651456,197563136,2177388800,26145442816,339957865472,4759678552064,71396252022784,1142344327331840,19419870744510464,349557742120665088,6641597375170543616,132831948602922500096,2789470925059419013120,61368360368899404333056,1411472288555055...
; A082074: One quarter of first differences of primes of the form 4*k+1 (A002144). ; Submitted by Christian Krause ; 2,1,3,2,1,3,2,3,4,2,1,2,1,6,3,2,4,2,3,1,8,1,2,4,3,2,1,3,5,1,5,3,1,5,4,2,1,2,3,3,4,2,1,12,3,5,4,3,2,4,2,3,1,6,3,2,3,1,6,2,6,6,1,2,1,6,3,3,2,6,1,5,1,12,2,1,3,6,5,3,1,2,3,4,3,2,6,1,3,2,3,6,7,3,2,3,1,3,2,3 ...
; A018250: Expansion of 1/((1-4x)(1-5x)(1-8x)). ; Submitted by Jon Maiga ; 1,17,197,1945,17661,152817,1284277,10599305,86485421,700600417,5649437157,45422860665,364536479581,2922126916817,23406459170837,187399966290025,1499945489904141,12003309897022017,96045277784597317,768456490196791385,6148124360686023101,491873614...
#include <cmath> #include <cstdio> #include <set> #include <cstring> #include <string> #include <utility> #include <algorithm> #include <iostream> using namespace std; unsigned long long n, c; //string st; char a[50], b[4]; int main(){ cin >> c; for(;c--;){ cin >> n; switch (n%4){ case 0: ...
; char *fzx_string_partition_ww_callee(struct fzx_font *ff, char *s, uint16_t allowed_width) SECTION code_font_fzx PUBLIC _fzx_string_partition_ww_callee, l0_fzx_string_partition_ww_callee EXTERN asm_fzx_string_partition_ww _fzx_string_partition_ww_callee: pop hl pop bc pop de ex (sp),hl l0_fzx_strin...
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Copyright(C) 2014 Abinash Panda * Written(W) 2014 Abinash Panda */ #include <gtest/gtest.h> #include <shogun/features/SparseFeatures.h> #include <shogun/lib/SGVector.h> #include <shogun/structure/MultilabelCLRModel.h> #include <s...
; A267092: a(n) is the number of P-positions for n-modular Nim with 2 piles. ; 1,3,3,8,5,9,7,20,9,15,11,24,13,21,15,48,17,27,19,40,21,33,23,60,25,39,27,56,29,45,31,112,33,51,35,72,37,57,39,100,41,63,43,88,45,69,47,144,49,75,51,104,53,81,55,140,57,87,59,120,61,93,63,256,65,99,67,136,69,105,71,180,73,111,75,152,77,117,79...
#include "vm/test/test.hpp" #include "builtin/io.hpp" #include "builtin/string.hpp" #include <stdio.h> #include <sys/stat.h> class TestIO : public CxxTest::TestSuite, public VMTest { public: IO* io; int fd; void setUp() { create(); fd = make_io(); io = IO::create(state, fd); } void tearDown(...
; A225399: Number of nontrivial triangular numbers dividing triangular(n). ; Submitted by Jon Maiga ; 0,0,0,1,0,1,1,0,2,2,0,2,2,0,3,4,0,1,1,1,6,2,0,2,4,0,1,3,0,2,2,0,3,1,0,8,2,0,1,5,1,2,2,0,7,3,0,2,4,0,2,3,0,1,4,3,4,1,0,4,4,0,2,5,1,3,1,0,2,4,0,3,3,0,2,5,0,4,1,1,7,1,0,3,8,0,1 mov $1,$0 bin $0,2 add $0,$1 seq $0,325334 ...
UndergroundPathRoute7_Object: db $a ; border block db 3 ; warps warp 3, 7, 4, -1 warp 4, 7, 4, -1 warp 4, 4, 0, UNDERGROUND_PATH_WEST_EAST db 0 ; signs db 1 ; objects object SPRITE_FAT_BALD_GUY, 2, 4, STAY, NONE, 1 ; person ; warp-to warp_to 3, 7, UNDERGROUND_PATH_ROUTE_7_WIDTH warp_to 4, 7, UNDERGROUND_...
SetMemBitN MACRO mem,bitnbr ld hl,mem set bitnbr,(hl) ENDM ClearMemBitN MACRO mem,bitnbr ld hl,mem res bitnbr,(hl) ENDM ...
; uint sp1_AddColSpr(struct sp1_ss *s, void *drawf, uchar type, int graphic, uchar plane) SECTION code_clib SECTION code_temp_sp1 PUBLIC _sp1_AddColSpr_callee, l0_sp1_AddColSpr_callee EXTERN asm_sp1_AddColSpr _sp1_AddColSpr_callee: exx pop bc exx pop ix pop de pop hl pop bc ld a,l pop hl...
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x168c1, %rbx nop sub %rdx, %rdx mov $0x6162636465666768, %r11 movq %r11, (%rbx) nop nop nop nop and $52972, %rbx lea addresses_WC_ht+0x8941, %rsi lea addresses_A_ht+0x250...
// dllmain.cpp : Defines the entry point for the DLL application. #include "pch.h" #include "KeInterface.h" KeInterface Driver(R"(\\.\cbl)"); extern "C" { __declspec(dllexport) DWORD GetTargetPid() { return Driver.GetTargetPid(); } __declspec(dllexport) ULONG ReadVirtualMemory(ULONG ProcessId...
; A106836: First differences of A060833 and (from a(2) onward) also of A091067 and A255068. ; Submitted by Jon Maiga ; 3,3,1,4,1,2,1,4,3,1,1,3,1,2,1,4,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,4,3,1,4,1,2,1,4,3,1,1,3,1,2,1,1,3,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,4,3,1,4,1,2,1,4,3,1,1,3,1,2,1,4,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,1,3,3,1,4,1 ...
#pragma once #include "grid.hh" #include "source.hh" #include "tile.hh" namespace flywave { namespace nik { struct tiler_options { unsigned per_load_tile_count = 16; }; class tiler { public: tiler(std::shared_ptr<source> source, std::shared_ptr<grid> g, std::unique_ptr<tiler_options> options) : _s...
; A017355: a(n) = (10*n + 7)^3. ; 343,4913,19683,50653,103823,185193,300763,456533,658503,912673,1225043,1601613,2048383,2571353,3176523,3869893,4657463,5545233,6539203,7645373,8869743,10218313,11697083,13312053,15069223,16974593,19034163,21253933,23639903,26198073,28934443,31855013,34965783,38272753,41781923,45499293,...
; A333783: a(n) = sigma(n) - A332993(n). ; Submitted by Christian Krause ; 0,0,0,0,0,2,0,0,0,2,0,6,0,2,3,0,0,8,0,6,3,2,0,14,0,2,0,6,0,21,0,0,3,2,5,24,0,2,3,14,0,25,0,6,12,2,0,30,0,12,3,6,0,26,5,14,3,2,0,57,0,2,12,0,5,33,0,6,3,31,0,56,0,2,18,6,7,37,0,30,0,2,0,69,5,2,3,14,0,78,7,6,3,2,5,62,0,16,12,36 mov $1,$0 seq $0,33...
; Define printf as an external function EXTERN SDL_Init EXTERN Mix_OpenAudio EXTERN Mix_LoadMUS EXTERN Mix_PlayMusic EXTERN Mix_PlayingMusic SDL_INIT_AUDIO equ 0x00000010 AUDIO_S16LSB equ 0x8010 SECTION .DATA mensagemLeitura: db "Informe o caminho do áudio: ", 0 comprimentoLeitura: equ $-mensagemLeitura m...
bootblockother.o: file format elf32-i386 Disassembly of section .text: 00007000 <start>: # This code combines elements of bootasm.S and entry.S. .code16 .globl start start: cli 7000: fa cli # Zero data segment registers DS, ES, and SS. xorw %ax,%ax ...
Sound_5D_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_5D_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM5, Sound_5D_FM5, $F3, $00 ; FM5 Data Sound_5D_FM5: smpsSetvoice $00 dc.b nCs1, $05, nEb1 smpsStop Sound_5D_Voices: ; Voice $00 ; $20 ; $00, $00, $00, $00, ...
; A086946: a(n) = k where R(k+6) = 2. ; 14,194,1994,19994,199994,1999994,19999994,199999994,1999999994,19999999994,199999999994,1999999999994,19999999999994,199999999999994,1999999999999994,19999999999999994,199999999999999994,1999999999999999994,19999999999999999994,199999999999999999994,1999999999999999999994,1999999...
; A102716: Triangle read by rows: T(n,k) = sigma(binomial(n,k)) (0 <= k <= n), where sigma(m) is the sum of the positive divisors of m. ; 1,1,1,1,3,1,1,4,4,1,1,7,12,7,1,1,6,18,18,6,1,1,12,24,42,24,12,1,1,8,32,48,48,32,8,1,1,15,56,120,144,120,56,15,1,1,13,91,224,312,312,224,91,13,1,1,18,78,360,576,728,576,360,78,18,1,1,...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r8 push %r9 push %rdi push %rdx push %rsi // Store lea addresses_WC+0x12bef, %r9 nop inc %r12 movw $0x5152, (%r9) nop nop nop nop lfence // Store lea addresses_normal+0x4cef, %rsi nop nop nop nop add $...
#ifndef CONNECTION_HPP_VIA_HTTPLIB_ #define CONNECTION_HPP_VIA_HTTPLIB_ #pragma once ////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2013-2015 Ken Barker // (ken dot barker at via-technology dot co dot uk) // // Distributed under the Boost Software License, Version 1.0....
; A295287: Sum of the products of the smaller and larger parts of the partitions of n into two parts with the smaller part even. ; 0,0,0,4,6,8,10,28,34,40,46,88,100,112,124,200,220,240,260,380,410,440,470,644,686,728,770,1008,1064,1120,1176,1488,1560,1632,1704,2100,2190,2280,2370,2860,2970,3080,3190,3784,3916,4048,4180...
; A105824: a(n) = sigma(n) mod 4. ; 1,3,0,3,2,0,0,3,1,2,0,0,2,0,0,3,2,3,0,2,0,0,0,0,3,2,0,0,2,0,0,3,0,2,0,3,2,0,0,2,2,0,0,0,2,0,0,0,1,1,0,2,2,0,0,0,0,2,0,0,2,0,0,3,0,0,0,2,0,0,0,3,2,2,0,0,0,0,0,2,1,2,0,0,0,0,0,0,2,2,0,0,0,0,0,0,2,3,0,1 seq $0,46897 ; Sum of divisors of n that are not divisible by 4. mod $0,4
; A302777: a(n) = 1 if n is of the form p^(2^k) where p is prime and k >= 0, otherwise 0. ; 0,1,1,1,1,0,1,0,1,0,1,0,1,0,0,1,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0 seq $0,100995 ; If n is a p...
SECTION code_fcntl PUBLIC zx_01_output_char_32_tty_z88dk_08_backspace EXTERN zx_01_output_char_32_tty_z88dk_28_left defc zx_01_output_char_32_tty_z88dk_08_backspace = zx_01_output_char_32_tty_z88dk_28_left
; Tests float handling dw 3.14 dd 5.12 dq 3.141592653589793 dt 5653894745.318293470142875104710284019245e335 dw -62000.0 dd -47102940.467103581 dq -45102571092751092341095.5827509174509178450917845019 dt -1.e-1000
/* FILE: imgobj.cc -*-Mode: c++-*- * * C++ wrapper for 2D image data. At present, the data are stored as * 24-bit color values, red+green+blue, in consecutive elements of a * char array. The interface is intended to be flexible enough that, * potentially, the backend could be changed to support m...
// Copyright 2017 The Fuchsia 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 <assert.h> #include <lib/zx/clock.h> #include <lib/zx/timer.h> #include <stdio.h> #include <threads.h> #include <unistd.h> #include <zxtest/zxtes...
; A022988: 32-n. ; 32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28 mov $1,32 sub $1,$0
; Disassembly of EYES ; ; preliminary disassembly, for when I added this in to a menu system ; ; CPU Type: Z80 ; ; Created with dZ80 1.50 ; ; on Sunday, 29 of September 2002 at 12:51 PM ; 0000 F3 DI 0001 AF XOR A 0002 0608 LD B,$08 0004 210050 LD HL,$5000 0007...
; A329202: a(n) = floor(2*log_2(n)) = floor(log_2(n^2)). ; 0,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12 add $0,1 pow $0,2 lpb $0 div $0,2 add $1,1 lpe ...
; A128054: Count, omitting numbers of the form 6k+4 and doubling multiples of 6. ; 0,0,1,2,3,5,6,6,7,8,9,11,12,12,13,14,15,17,18,18,19,20,21,23,24,24,25,26,27,29,30,30,31,32,33,35,36,36,37,38,39,41,42,42,43,44,45,47,48,48,49,50,51,53,54,54,55,56,57,59,60,60,61,62,63,65,66,66 sub $0,1 lpb $0 add $1,$0 mod $0,6 di...
; ;======================================================================= ; HDIAG ASCI Driver ;======================================================================= ; ; ASCI0 is programmed with a fixed divisor of 480, resulting in a ; baud rate of 38400 at the standard cpu frequency of 18.432 MHz ; ; The Z18...
; ------------------------------------------------------------------ ; Simple file manager for MikeOS: copy, delete and rename files ; ------------------------------------------------------------------ BITS 16 %INCLUDE "mikedev.inc" ORG 32768 ; This is the point used by the disk buffer in the MikeOS k...
.org 0 goto main .alias STATUS 1 .org 5 main: set 0x21 ; 5 put 0x4 ; 6 put 0x21 ; 7 clr ; 8 iget 0 ; 9 subl 0x21 ; 10 skbs STATUS 0 ; 11 goto error ; 12 set 0x22 ; 13 put 0x22 ; 14 clr ; 15 iget 0 1 ; 16 subl 0x22 ; 17 sk...
.ORIG x3000 LEA R0, DATA1 LDW R2, R0, #0 COUNT LDW R1, R0, #0 XOR R3 ,R1, R2 BRZ ERROR ADD R0, R0, x-1 LSHF R2, R2, #1 ADD R2, R2, #1 BRP COUNT BRNZP DONE ERROR LEA R5, DATA17 LDW R6, R5,#0 DONE HALT DATA1 .FILL x1 DATA2 .FILL x3 DATA3 .FILL x7 DATA4 .FILL xf DATA5 .FILL xf1 DATA6 .FILL xf3 DAT...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004B0E clr.w ($6a8e,A5) 004B12 lea ($6ac2,A5), A0 004B3A addq.w #1, ($6a8e,A5) [base+6A90] 004B3E rts [base+6A8E] 006684 move.w ($6a8e,A5), D6 006688 beq $66f2 [base+6A8E] 00E954 clr.w ($6...
Route1_Object: db $b ; border block def_warps def_signs sign 9, 27, 3 ; Route1Text3 def_objects object SPRITE_YOUNGSTER, 5, 24, WALK, UP_DOWN, 1 ; person object SPRITE_YOUNGSTER, 15, 13, WALK, LEFT_RIGHT, 2 ; person def_warps_to ROUTE_1 ; unused warp_to 2, 7, 4
; ; z88dk RS232 Function ; ; OSCA version ; ; unsigned char rs232_put(char) ; ; $Id: rs232_put.asm,v 1.1 2012/06/26 06:11:23 stefano Exp $ ; __FASTCALL__ XLIB rs232_put INCLUDE "osca.def" rs232_put: ld c,2 .s_wait in a,(sys_joy_com_flags) ; ensure no byte is still being trans...