text
stringlengths
1
1.05M
; A127365: Signed repeated natural numbers. ; 0,0,-1,-1,2,2,-3,-3,4,4,-5,-5,6,6,-7,-7,8,8,-9,-9,10,10,-11,-11,12,12,-13,-13,14,14,-15,-15,16,16,-17,-17,18,18,-19,-19,20,20,-21,-21,22,22,-23,-23,24,24,-25,-25,26,26,-27,-27,28,28,-29,-29,30,30,-31,-31,32,32,-33,-33,34,34,-35,-35,36,36,-37,-37,38,38,-39,-39,40,40,-41,-41,...
/* g++ --std=c++20 -pthread -o ../_build/cpp/memory_ranges_uninitialized_fill_1.exe ./cpp/memory_ranges_uninitialized_fill_1.cpp && (cd ../_build/cpp/;./memory_ranges_uninitialized_fill_1.exe) https://en.cppreference.com/w/cpp/memory/ranges/uninitialized_fill */ #include <iostream> #include <memory> #include <string> i...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="scp"/> <%docstring> Invokes the syscall sigreturn. See 'man 2 sigreturn' for more information. </%docstring> ${syscall('SYS_sigreturn')}
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/CMain FILE: cmainPenInputControl.asm AUTHOR: David Litwin, Apr 8, 1994 ROUTINES: Name Description ---- ----------- GLB OLPenI...
SFX_Cry00_1_Ch4: dutycycle 245 squarenote 4, 15, 3, 1816 squarenote 15, 14, 5, 1944 squarenote 8, 9, 1, 1880 endchannel SFX_Cry00_1_Ch5: dutycycle 160 squarenote 5, 11, 3, 1800 squarenote 15, 12, 5, 1928 squarenote 8, 7, 1, 1864 endchannel SFX_Cry00_1_Ch7: noisenote 3, 10, 1, 28 noisenote 14, 9, 4, 44 ...
// 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 "remoting/base/rate_counter.h" namespace remoting { RateCounter::RateCounter(base::TimeDelta time_window) : time_window_(time_window), ...
/// \file // Range v3 library // // Copyright Eric Niebler 2014-present // // Use, modification and distribution is subject to 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) // // Project home: https://github.com/ericniebler...
; A033486: a(n) = n*(n + 1)*(n + 2)*(n + 3)/2. ; 0,12,60,180,420,840,1512,2520,3960,5940,8580,12012,16380,21840,28560,36720,46512,58140,71820,87780,106260,127512,151800,179400,210600,245700,285012,328860,377580,431520,491040,556512,628320,706860,792540,885780,987012,1096680,1215240,1343160,1480920,1629012,1787940,19582...
; A271114: Expansion of (1+x)*(2+x)/(1-x)^2. ; 2,7,13,19,25,31,37,43,49,55,61,67,73,79,85,91,97,103,109,115,121,127,133,139,145,151,157,163,169,175,181,187,193,199,205,211,217,223,229,235,241,247,253,259,265,271,277,283,289,295,301,307,313,319,325,331,337,343,349,355,361,367,373,379,385,391,397,403,409,415,421,427,433,...
// Ceres Solver - A fast non-linear least squares minimizer // Copyright 2013 Google Inc. All rights reserved. // http://code.google.com/p/ceres-solver/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * ...
#ifndef __UTILITY_CHARS_CHAR_TRAITS__ #define __UTILITY_CHARS_CHAR_TRAITS__ /** * \file char_traits.hpp * \author Inochi Amaoto * */ #include<utility/config/utility_config.hpp> #include<utility/sstd/cstring.hpp> #include<utility/sstd/cstdint.hpp> #include<utility/stream/streamoff.hpp> #include<utility/stream/fpo...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x17f98, %r8 nop nop nop and %r11, %r11 movups (%r8), %xmm5 vpextrq $1, %xmm5, %rbp nop nop cmp $33929, %rbx lea addresses_UC_ht+0x1d1f8, %r15 nop nop xor %rsi, %rsi mov (%r15),...
//===--- CSDiag.cpp - Constraint Diagnostics ------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xb25f, %rsi clflush (%rsi) nop nop sub %rax, %rax movb (%rsi), %r11b nop nop nop nop dec %r8 lea addresses_A_ht+0x1b26f, %rsi lea addresses_normal_ht+0x1a65f, %rdi nop nop nop...
# prototype-0--0 ldsi s0, 10 # 0 ldsi s1, 11 # 1 startopen 1, s0 # 2 stopopen 1, c0 # 3 print_char 32 # 4 print_char 97 # 5 print_char 61 # 6 print_reg c0 # 7 print_char 10 # 8 private_output s1, 0, 0 # 9 restart # 10
/** * Copyright (c) 2020 Horizon Robotics. All rights reserved. * @File: ClassifyPredictor.cc * @Brief: definition of the ClassifyPredictor * @Author: zhe.sun * @Email: zhe.sun@horizon.ai * @Date: 2020-08-30 14:28:17 * @Last Modified by: zhe.sun * @Last Modified time: 2020-08-30 16:19:08 */ #include "PredictM...
; A200862: G.f.: (1-2*x^2)/(1-2*x-5*x^2+9*x^3). ; Submitted by Jon Maiga ; 1,2,7,15,47,106,312,731,2068,4983,13727,33757,91302,227846,608389,1534290,4059911,10315771,27122487,69284630,181339756,465000279,1213137668,3119218927,8119123683,20916102989,54354854050,140218109898,363965563145,939827989330,2437520805303,629849...
;------------------------------------------------------------------------------ ;* ;* Copyright 2006 - 2007, Intel Corporation ;* All rights reserved. This program and the accompanying materials ;* are licensed and made availab...
#include "sudoku.h" #include "mainsudoku.h" extern MainSudoku *pt_w; void Sudoku::exibir() const{ for(int i=0; i<9; i++) for(int j=0; j<9; j++){ pt_w->exibirCelulaAtual(i,j,this->at(i,j)); } } void Sudoku::exibir_origem() const{ for(int i=0; i<9; i++) for(int j=0; j<9; j++){ pt_w->exibir...
; A083297: a(n) = (4*4^n + (-6)^n)/5. ; Submitted by Jon Maiga ; 1,2,20,8,464,-736,12608,-42880,388352,-1805824,12932096,-69203968,448778240,-2558451712,15887581184,-93178003456,567657955328,-3371587993600,20366966915072,-121652045676544,732111297314816,-4383871690866688,26338414517288960,-157889749615378432,9479014476...
/* * All Video Processing kernels * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ //---------- PL3_AVS_IEF_Unpack_...
/*************************************************************************/ /* visual_script_func_nodes.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
* Sprite leer * * Mode 4 * +|-------------------+ * - - * | | * | | * | | * | | * | | * | | * | | * | ...
############################################################################### # 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...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: DaisyWheel drivers FILE: fontDaisyWheelInfo.asm AUTHOR: Dave Durran REVISION HISTORY: Name Date Description ---- ---- -----------...
/* * ISPlanar.cpp * * Created on: Oct 10, 2016 * Author: hornak */ #include "ISCaptShrinkage.h" IS_Capt_Shrinkage::IS_Capt_Shrinkage() { // TODO Auto-generated constructor stub this->center_of_IS_front = Vector3d( 0.0 , 0.0 , 0.0 ); this->center_of_IS_rear = Vector3d( -1.0 , 0.0 , 0.0 ); this->radius_o...
; A159915: a(n) = floor((n+1)/4)*floor(n/2). ; 0,0,0,1,2,2,3,6,8,8,10,15,18,18,21,28,32,32,36,45,50,50,55,66,72,72,78,91,98,98,105,120,128,128,136,153,162,162,171,190,200,200,210,231,242,242,253,276,288,288,300,325,338,338,351,378,392,392,406,435,450,450 mov $1,$0 div $0,2 add $1,1 div $1,4 mul $0,$1
_diff: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char buf1[512], buf2[512]; int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
; A298031: Coordination sequence of Dual(3.4.6.4) tiling with respect to a tetravalent node. ; 1,4,10,16,30,36,48,54,66,72,84,90,102,108,120,126,138,144,156,162,174,180,192,198,210,216,228,234,246,252,264,270,282,288,300,306,318,324,336,342,354,360,372,378,390,396,408,414,426,432,444,450,462,468,480,486,498,504,516,522...
; ; Tape save routine ; ; Stefano 31/5/2010 ; ; int __CALLEE__ tape_save_block_callee(void *addr, size_t len, unsigned char type) XLIB tape_save_block_callee XDEF ASMDISP_TAPE_SAVE_BLOCK_CALLEE .tape_save_block_callee pop ix pop bc pop de pop hl push ix ; enter : hl = addr ; de = len ; ...
Dump of assembler code for function main: => 0x000055555556f950 <+0>: push %r15 0x000055555556f952 <+2>: mov $0x1,%ecx 0x000055555556f957 <+7>: push %r14 0x000055555556f959 <+9>: push %r13 0x000055555556f95b <+11>: push %r12 0x000055555556f95d <+13>: push %rbp 0x000055555556f95e <+14>: pu...
#ifndef XOROSHIRO_HPP_INCLUDED #define XOROSHIRO_HPP_INCLUDED 1 /* * A C++ implementation of a family of Xoroshiro generators. * * See: * https://en.wikipedia.org/wiki/Xoroshiro128%2B * http://xoroshiro.di.unimi.it/xoroshiro128plus.c * * Based on the design and public domain implementation of * Xoroshi...
; A211540: Number of ordered triples (w,x,y) with all terms in {1..n} and 2w = 3x + 4y. ; 0,0,0,0,0,1,1,2,3,4,5,7,8,10,12,14,16,19,21,24,27,30,33,37,40,44,48,52,56,61,65,70,75,80,85,91,96,102,108,114,120,127,133,140,147,154,161,169,176,184,192,200,208,217,225,234,243,252,261,271,280,290,300,310,320,331,341,352,363,374,...
############################################################################### # 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...
; void tshr_cls(uchar ink) SECTION code_clib SECTION code_arch PUBLIC _tshr_cls_fastcall EXTERN asm_tshr_cls defc _tshr_cls_fastcall = asm_tshr_cls
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xac26, %r12 nop nop nop sub $55289, %r10 movb (%r12), %bl nop nop cmp $28779, %r8 lea addresses_WT_ht+0xe26, %rsi lea addresses_UC_ht+0xe0a6, %rdi nop nop nop cmp %r8, %r8 mov $9, %...
; A035214: 2 followed by a run of n 1's. ; 2,2,1,2,1,1,2,1,1,1,2,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1...
addiu $0,$3,-32026 srl $4,$3,19 addiu $4,$3,14042 sra $5,$3,1 addu $1,$1,$3 subu $1,$5,$3 srav $0,$0,$3 slt $6,$0,$3 sllv $6,$3,$3 addiu $0,$0,26983 sll $1,$5,5 andi $3,$3,36232 ori $1,$1,25178 lh $1,2($0) sb $3,15($0) lb $1,1($0) srav $4,$2,$3 sb $5,13($0) addiu $4,$5,-23423 addiu $3,$1,29948 lb $0,2($0) ori $3,$3,279...
// // Copyright (c) 2011 The ANGLE 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. // #include "Preprocessor.h" #include <cassert> #include <sstream> #include "Diagnostics.h" #include "DirectiveParser.h" #include "Macro.h" ...
; A130453: A097806 * A059268. ; 1,2,2,2,4,4,2,4,8,8,2,4,8,16,16,2,4,8,16,32,32,2,4,8,16,32,64,64,2,4,8,16,32,64,128,128 seq $0,128219 ; A000012 * A127701. a(1) = 1, a(2) = 2, a(3) = 2; by rows, n-1 terms of 2, 3, 4...followed by "n". seq $0,304517 ; a(n) = 16*2^n - 11 (n>=1). div $0,64 add $0,1
; A007283: a(n) = 3*2^n. ; 3,6,12,24,48,96,192,384,768,1536,3072,6144,12288,24576,49152,98304,196608,393216,786432,1572864,3145728,6291456,12582912,25165824,50331648,100663296,201326592,402653184,805306368,1610612736,3221225472,6442450944,12884901888,25769803776,51539607552,103079215104,206158430208,412316860416,824633...
.globl Tela59 Tela59: addi $10, $0, 0xcff8cf sw $10, 268500992($0) addi $10, $0, 0x00d800 sw $10, 268500996($0) addi $10, $0, 0x00d800 sw $10, 268501000($0) addi $10, $0...
// Copyright 2019 Uber Technologies, Inc. All Rights Reserved. // Modifications copyright Microsoft // // 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/license...
;=============================================================================== ; MODE - Display and/or modify device configuration ; ;=============================================================================== ; ; Author: Wayne Warthen (wwarthen@gmail.com) ;_________________________________________________...
; MASM math definitions for libcgc ; ; Original license: ; Copyright (c) 2014 Jason L. Wright (jason@thought.net) ; 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 c...
; A016138: Expansion of 1/((1-3x)(1-7x)). ; 1,10,79,580,4141,29230,205339,1439560,10083481,70604050,494287399,3460188940,24221854021,169554572470,1186886790259,8308221880720,58157596211761,407103302622490,2849723505777919,19948065702706900,139636463405732701,977455254300482110,6842186811484434379,47895307774534219480,3...
; unsigned char ulap_pent_from_attr_paper(unsigned char attr) SECTION code_clib SECTION code_arch PUBLIC _ulap_pent_from_attr_paper EXTERN asm_ulap_pent_from_attr_paper _ulap_pent_from_attr_paper: pop af pop hl push hl push af jp asm_ulap_pent_from_attr_paper
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Hookshot ; General-purpose library for injecting DLLs and hooking function calls. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Authored by Samuel Grossman ; Copyright (c) 2019-2021 ;;;;;;;;;;;;;;;;;;...
/* P N T S _ B R E P . C P P * BRL-CAD * * Copyright (c) 2012-2014 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2...
/** * @file padding.hpp * @author Saksham Bansal * * Definition of the Padding class that pads the incoming data. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack....
; A268165: Number of n X 2 0..3 arrays with every repeated value in every row and column one larger mod 4 than the previous repeated value, and upper left element zero. ; Submitted by Christian Krause ; 4,64,900,12100,155236,1932100,23444964,278956804,3265665316,37722185284,430853083236,4874266035076,54692207394724,609...
;================================================= ; Name: Moya, Branden ; Username: bmoya001@ucr.edu ; ; Lab: lab 1 ; Lab section: 021 ; TA: Bryan Marsh ; ;================================================= .Orig x3000 ;Instructions HALT ;Local data .end
; ; Copyright (c) 2020 Bitdefender ; SPDX-License-Identifier: Apache-2.0 ; STRUC PCPU .Self resq 1 .Id resd 1 .BootInfoIndex resd 1 .VmxActivated resb 1 .IsIntel resb 1 .Vcpu resq 1 .VmxOnPa ...
.386 .model flat, stdcall option casemap :none include \MASM32\INCLUDE\windows.inc include \MASM32\INCLUDE\kernel32.inc include \MASM32\INCLUDE\user32.inc includelib \MASM32\LIB\kernel32.lib includelib \MASM32\LIB\user32.lib _OPCODE struct dwOldAddress dd ? dwNewAddress dd ? dwJumpAddress dd ? dwLen...
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "host_api/impl/io_extension.hpp" #include <runtime/wasm_result.hpp> namespace kagome::host_api { IOExtension::IOExtension(std::shared_ptr<runtime::WasmMemory> memory) : memory_(std::move(memory)), ...
; vim: set syntax=z80: ; Trim AuditAssert's from the release build #cflags -DNAUDIT _project_start equ 0x8000 #target BIN #code _HEADER, _project_start #code _GSINIT #code _HOME #code _CODE #code _INITIALIZER #data _INITIALIZED, _INITIALIZER, _INITIALIZER_size #code _CABS, _INITIALIZER_end, 0 #code _GSFINAL, *, 0 ...
org $008921 ; Routine to hack BCS $15 ; Change branch op (seems to let at least 05-06 without encounters)
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: PostScript Translation Library FILE: exportText.asm AUTHOR: Jim DeFrisco, 21 March 1991 ROUTINES: Name Description ---- ----------- EmitT...
// Copyright (c) 2015-2021 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #ifndef active_region_generator_hpp #define active_region_generator_hpp #include <vector> #include <string> #include <functional> #include <algorithm> #include <boost/optional.hpp>...
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 48 sub $0x48,%esp int i, n; int l, w, c, inword; l = w = c = 0; 6: c7...
#include <cmath> #include <iostream> #include <fstream> #include <iterator> #include <string> #include <iomanip> #include "de2d.h" double Omega(const Vector2D & rM, const Vector2D & rN, const Vector2D nN) { Vector2D rNM = rM - rN; Vector2D gradPhi = (0.5/M_PI/pow(rNM.module(),2.0))*rNM; return dotProd(gra...
; ; ANSI Video handling for the MSX ; ; Handles colors ; ; Scrollup ; ; Stefano Bodrato - Sept. 2017 ; ; $Id: f_ansi_scrollup_nobios.asm $ ; SECTION code_clib PUBLIC ansi_SCROLLUP PUBLIC __tms9918_scroll_buffer EXTERN __tms9918_attribute ...
TITLE PRNVALFP - Print floaing point values page 56,132 ;*** ; PRNVALFP - Print values ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; ; This module contains B$P<term><type> for floating point ; ; The PRINT, WRITE, and LPRINT statements have a large number of ; runtime calls that can be generated, based o...
; A102560: Expansion of (1-x^3)/(1-x^4). ; 1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1 mod $0,4 mov $2,$0 gcd $0,2 sub $0,$2 div $0,2
; A079757: Periodic sequence 1 0 -2 3 -2 0,... ; 1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0,1,0,-2,3,-2,0 pow $0,2 mov $2,$0 add $2,2 add $0,$2 div $0,3 sub $0,1 mov ...
; all the enemies include "enemyData.inc" ENEMY_CONFIGURATIONFLAG_RANDOM_JUMPING = $80 ENEMY_CONFIGURATIONFLAG_GRAVITY = $40 ENEMY_CONFIGURATIONFLAG_FLOOR_HANDLING = $20 ENEMY_CONFIGURATIONFLAG_XMOVEMENT = $10 ENEMY_CONFIGURATIONFLAG_XMOVEMENT_HALVE_SPEED = $08 ENEMY_CONFIGURATIONFLAG_COLLISION_JUMPI...
SECTION code_driver SECTION code_driver_terminal_output PUBLIC zx_01_output_char_32_tty_z88dk_23_atr zx_01_output_char_32_tty_z88dk_23_atr: ; atr dx,dy ; de = parameters * ex de,hl ld d,(hl) ; d = dy inc hl ld e,(hl) ; e = dx ex de,hl ld e...
; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : const.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 2021 ; Authors : Fred Bowen ; ; ***...
////////////////////////////////////////////////////////////////////////////// // nv_color_macs.asm // Copyright(c) 2021 Neal Smith. // License: MIT. See LICENSE file in root directory. ////////////////////////////////////////////////////////////////////////////// // This assembler file defines colors for the C64. th...
; A175006: Row sums of triangle A175009. ; 1,3,9,21,44,81,139,222,339,495,701,963,1294,1701,2199,2796,3509,4347,5329,6465,7776,9273,10979,12906,15079,17511,20229,23247,26594,30285,34351,38808,43689,49011,54809,61101,67924,75297,83259,91830,101051,110943,121549,132891,145014,157941,171719,186372,201949,218475,236001,254...
#include "athena/WiiSaveReader.hpp" #include "athena/WiiSave.hpp" #include "athena/WiiFile.hpp" #include "athena/WiiImage.hpp" #include "athena/WiiBanner.hpp" #include "athena/Utility.hpp" #include "athena/FileWriter.hpp" #include "md5.h" #include "aes.hpp" #include "ec.hpp" #include "sha1.h" #include <iostream> #inclu...
; A094639: Partial sums of squares of Catalan numbers (A000108). ; 1,2,6,31,227,1991,19415,203456,2248356,25887400,307993016,3763786812,47032778956,598933188956,7751562502556,101741582076581,1351906409905481,18159677984049581,246298405721739581 mov $2,$0 add $2,1 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 sub $0,$2 s...
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2005. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: Implements movement type for tracked vehicles ---------------------------------...
; A082298: G.f.: (1-3*x-sqrt(9*x^2-10*x+1))/(2*x). ; Submitted by Christian Krause ; 1,4,20,116,740,5028,35700,261780,1967300,15072836,117297620,924612532,7367204260,59240277988,480118631220,3917880562644,32163325863300,265446382860420,2201136740855700,18329850024033012,153225552507991140,1285310632274024484,1081570376...
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: test.asm ; Purpose: Tokenise testing code. ; Created: 8th March 2021 ; Reviewed: 16th March 2021 ; Author...
; A289617: a(n) = A005187(A001222(n)). ; 0,1,1,3,1,3,1,4,3,3,1,4,1,3,3,7,1,4,1,4,3,3,1,7,3,3,4,4,1,4,1,8,3,3,3,7,1,3,3,7,1,4,1,4,4,3,1,8,3,4,3,4,1,7,3,7,3,3,1,7,1,3,4,10,3,4,1,4,3,4,1,8,1,3,4,4,3,4,1,8,7,3,1,7,3,3,3,7,1,7,3,4,3,3,3,10,1,4,4,7 seq $0,1222 ; Number of prime divisors of n counted with multiplicity (also ...
; A229803: Domination number for rook graph HR(n) on a triangular board of hexagonal cells. The rook can move along any row of adjacent cells, in any of the three directions. ; 1,1,2,2,3,3,3,4,4,5,5,6,6,7,7,8,8,9,9,9 mul $0,6 add $0,15 div $0,13 mov $1,$0
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; gfx functions ; ; Videmo memory page handling ; ; ; ------ ; $Id: ozactivatedisplaypage.asm,v 1.3 2016-06-28 14:48:17 dom Exp $ ; SECTION code_clib PUBLIC ozactivatedisplaypage PUBLIC ...
; Unset a window definition section utility xdef ut_unset ;+++ ; Unset a window definition and release its space ; ; Entry Exit ; a4 window working definition ;--- ut_unset mt.alchp equ $18 mt.rechp equ $19 wm.unset equ $14 wm.setup equ ...
/* * Copyright (c) 2013, Alexander Fronkin * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list o...
// Copyright 2012 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...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xf58a, %rdx sub %r9, %r9 movb (%rdx), %r13b nop nop nop nop sub %rsi, %rsi lea addresses_UC_ht+0x166ca, %rsi lea addresses_A_ht+0x18066, %rdi nop nop nop nop and %rax, %rax mo...
; Top-hole Golf ; Copyright 2020-2021 Matthew Clarke ; FIXME: possible optimizations. ; After calling spr_calc_dx/dy, won't always need to call a corresponding ; spr_move routine. Store dx/dy value in accumulator at end of initial ; routine to allow user to check it quickly for zero?! ; After a spr_move routine, up...
// Copyright 2015 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 "core/frame/csp/CSPSource.h" #include "core/dom/Document.h" #include "core/frame/csp/ContentSecurityPolicy.h" #include "platform/network/Resourc...
; Z88 Small C+ Graphics Functions ; Draw a circle on the Z88 map ; Adapted from my Spectrum Routine ; (C) 1995-1998 D.J.Morris ; ; ZX81 version ; Non IY dependent (self modifying code) ; A' isn't used ; ; $Id: dcircle2.asm,v 1.6 2017-01-02 21:51:24 aralbrec Exp $ ; PUBLIC dra...
; Copyright (c) 2010 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. ; ; Tag the exception handler as an SEH handler in case the executable ; is linked with /SAFESEH (which is the default). ; ; MASM 8.0 inserts an additiona...
/* * PURPOSE: * Class representing an articulated rigid body. Stores the body's * current state, allows forces and torques to be set, handles * timestepping and implements Featherstone's algorithm. * * COPYRIGHT: * Copyright (C) Stephen Thompson, <stephen@solarflare.org.uk>, 2011-2013 * Portions wr...
.size 8000 .data@0 01 .text@48 jp ff81 .data@9c 02 03 04 05 .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld hl, ff81 ld a, 0e ld(hl++), a ld a, 27 ld(hl++), a ld a, 3e ld(hl++), a ld a, 00 ld(hl++), a ld a, e0 ld(hl++), a ld a, 46 ld(hl++), a ld a, 0d ld(hl++), a ld a, 20 ld(hl++), a ...
; A061776: Start with a single triangle; at n-th generation add a triangle at each vertex, allowing triangles to overlap; sequence gives number of triangles in n-th generation. ; 1,3,6,12,18,30,42,66,90,138,186,282,378,570,762,1146,1530,2298,3066,4602,6138,9210,12282,18426,24570,36858,49146,73722,98298,147450,196602,29...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: dBase IV MODULE: Lib FILE: libFormat.asm AUTHOR: Ted H. Kim, 9/14/92 REVISION HISTORY: Name Date Description ---- ---- ----------- ted 9/92 Initial revision DESCRIP...
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA...
/* ************************************************************************ * Copyright 2018-2020 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "cblas_interface.hpp" #include "flops.hpp" #include "norm.hpp" #include "rocblas.hpp" #include "rocblas...
#define __FAAS_USED_IN_BINDING #include "ipc/shm_region.h" #include "ipc/base.h" #include "common/stat.h" #include "common/time.h" #include "utils/fs.h" #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> namespace faas { namespace ipc { std::unique_ptr<ShmRegion> ShmCreate(std::st...
#include "c3.h" #include "chart.h" #include "aui.h" #include "aui_uniqueid.h" #include "aui_ldl.h" #include "aui_window.h" #include "aui_bitmapfont.h" #include "pixelutils.h" #include "primitives.h" #include "c3_hypertipwindow.h" #include "aui_hypertextbox.h" #include "colorset.h" // g_colorSet #includ...
; A313115: Coordination sequence Gal.4.43.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,4,9,14,19,24,29,34,38,42,47,52,57,62,67,72,76,80,85,90,95,100,105,110,114,118,123,128,133,138,143,148,152,156,161,166,171,176,181,186,190,1...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x19a4a, %rbp nop nop nop nop cmp %rdi, %rdi and $0xffffffffffffffc0, %rbp movaps (%rbp), %xmm7 vpextrq $0, %xmm7, %r9 nop nop cmp %r15, %r15 lea addresses_WT_ht+0x11...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "FakeStreams.h" #include "Resources.h" #include "SkAndroidCodec.h" #include "SkAutoMalloc.h" #include "SkBitmap.h" #include "SkCodec.h" #include "SkCodecImageGenerato...
; A189894: Number of isosceles right triangles on a 2n X (n+1) grid. ; 4,50,208,582,1308,2556,4528,7460,11620,17310,24864,34650,47068,62552,81568,104616,132228,164970,203440,248270,300124,359700,427728,504972,592228,690326,800128,922530,1058460,1208880,1374784,1557200,1757188,1975842,2214288,2473686,2755228,3060140,338...
#pragma once #include <futurepia/protocol/asset.hpp> namespace futurepia { namespace chain { namespace util { using futurepia::protocol::asset; using futurepia::protocol::price; inline asset to_snac( const price& p, const asset& pia ) { FC_ASSERT( pia.symbol == PIA_SYMBOL ); if( p.is_null() ) return ass...
// Copyright (c) 2018 Microsoft Corporation // Licensed under the MIT license. // Author: Paul Koch <code@koch.ninja> #include "PrecompiledHeader.h" #include <stddef.h> // size_t, ptrdiff_t #include "ebm_native.h" // FloatEbmType #include "EbmInternal.h" // INLINE_ALWAYS #include "Logging.h" // EBM_ASSERT & LOG #inc...