text
stringlengths
1
1.05M
.macro read_settings mem ldsptl mov mem, a .endm .macro read_settings_to_a ldsptl .endm .macro next_settings ptr izsn ptr dec ptr+1 inc ptr+1 .endm .macro find_settings label, ptr, ?find_settings_loop, ?found_settings mov a, #<label mov ptr, a mov a, #>label mov ptr+1, a mov a, #ptr mov sp, a find_settings_loop: ld...
#pragma once #include "World.hpp" #include "System\CommandQueue.hpp" class GameState : public State { public: static const sf::Time TimePerFrame; GameState(Context* context); State::Type run(); void handleInput()...
// Copyright (c) 2012 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 "webkit/browser/fileapi/file_system_dir_url_request_job.h" #include <algorithm> #include "base/bind.h" #include "base/compiler_specific.h" ...
; long long strtoll( const char * restrict nptr, char ** restrict endptr, int base) SECTION code_clib SECTION code_stdlib PUBLIC _strtoll EXTERN asm_strtoll, l_store_64_dehldehl_mbc _strtoll: pop af pop bc exx pop hl pop de pop bc push bc push de push hl exx pu...
// 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 <memory> #include <string> #include <utility> #include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/run_loop.h" #include ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x19b9d, %r11 and $25964, %r12 mov (%r11), %rdi nop and %rdx, %rdx lea addresses_UC_ht+0x1a41d, %rsi lea addresses_UC_ht+0x10b9d, %rdi nop nop cmp $21656, %rax mov $0, %rcx rep movsb no...
/* ---------------------------------------------------------------------- OINK - scripting wrapper on MapReduce-MPI library http://www.sandia.gov/~sjplimp/mapreduce.html, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov See the README file in the top-level MR-MPI directory. -----------------...
; A343199: Decimal expansion of 6+2*sqrt(3). ; 9,4,6,4,1,0,1,6,1,5,1,3,7,7,5,4,5,8,7,0,5,4,8,9,2,6,8,3,0,1,1,7,4,4,7,3,3,8,8,5,6,1,0,5,0,7,6,2,0,7,6,1,2,5,6,1,1,1,6,1,3,9,5,8,9,0,3,8,6,6,0,3,3,8,1,7,6,0,0,0,7,4,1,6,2,2,9,2,3,7,3,5,1,4,4,9,7,1,5,1 lpb $0 mov $2,$0 mov $0,0 seq $2,10469 ; Decimal expansion of squa...
// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors // 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...
; A129071: Numbers n such that (n-7)/6 is prime. ; Submitted by Jon Maiga ; 19,25,37,49,73,85,109,121,145,181,193,229,253,265,289,325,361,373,409,433,445,481,505,541,589,613,625,649,661,685,769,793,829,841,901,913,949,985,1009,1045,1081,1093,1153,1165,1189,1201,1273,1345,1369,1381,1405,1441,1453,1513,1549,1585,1621,163...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Mouse Driver -- GRiDPAD pen mouse driver FILE: gridpen.asm AUTHOR: Gene Anderson, July 18th, 1990 ROUTINES: Name Description ---- ---------...
;//########################################################################### ;// ;// FILE: F2837xD_DBGIER.asm ;// ;// TITLE: Set the DBGIER register ;// ;// DESCRIPTION: ;// ;// Function to set the DBGIER register (for realtime emulation). ;// Function Prototype: void SetDBGIER(Uint16) ;// Usage: SetDBGIER(value)...
// Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017-2018 The KRT developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-lice...
.macro draw_pixel(%x, %y, %color) add $t0, $zero, MAX_WIDTH add $t1, $zero, DISPLAY_ADDRESS mul $t2, $t0, %y add $t2, $t2, %x mul $t2, $t2, 4 add $t2, $t2, $t1 lw $t3, %color sw $t3, 0($t2) .end_macro .macro draw_horizontal_line(%from, %to, %y, %color) add $t0, $zero, MAX_WIDTH add $t1, $zero, DISP...
;------------------------------------------------------------------------------ ; ; 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...
/** GDevelop - Panel Sprite Extension Copyright (c) 2012-2016 Victor Levasseur (victorlevasseur01@orange.fr) This project is released under the MIT License. */ #if defined(GD_IDE_ONLY) #include <iostream> #include "GDCore/Extensions/PlatformExtension.h" #include "GDCore/Tools/Localization.h" void DeclarePanelSpriteOb...
; *********************************************************************************************** ; ; Bootloader 2. Displays AAA.DDD in octal. Writes to page 1xx ; ; *********************************************************************************************** cpu sc/mp buffer = 0x7A ; positioned here so...
.xlist include xsum.amd64 .list
; A189409: a(n) = prime(n)#^2 + 1, where prime(n)# is the n-th primorial (A002110). ; 2,5,37,901,44101,5336101,901800901,260620460101,94083986096101,49770428644836901,41856930490307832901,40224510201185827416901,55067354465423397733736101,92568222856376731590410384101,171158644061440576710668800200901,37808944473172223...
;long lseek(int fd, long posn, int whence) ;returns ; ;whence= ; 0 SEEK_SET from start of file ; 1 SEEK_CUR from current position ; 2 SEEK_END from end of file (always -ve) ; ; $Id: lseek.asm,v 1.1 2002/06/23 12:11:31 dom Exp $ ; XLIB lseek .lseek LD IX,0 ADD IX,SP LD B,(IX+2) ;whence - range not tested DEC B ...
; A335979: Number of partitions of n into exactly two parts with no decimal carries. ; 0,0,1,1,2,2,3,3,4,4,0,1,2,3,4,5,6,7,8,9,1,2,4,5,7,8,10,11,13,14,1,3,5,7,9,11,13,15,17,19,2,4,7,9,12,14,17,19,22,24,2,5,8,11,14,17,20,23,26,29,3,6,10,13,17,20,24,27,31,34,3,7,11,15,19,23 seq $0,61486 ; Let the number of digits in n b...
// Copyright (c) 2020 The Orbit 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 "TimerTrack.h" #include <GteVector.h> #include <absl/flags/declare.h> #include <absl/synchronization/mutex.h> #include <stddef.h> #include <al...
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
;19、从键盘输入一系列以 $ 为结束符的字符串,然后对其中的非数字字符计数,并显示出计数结果。 .model small .data strings db '1234fdsa56fdsafdsa7fdsa890$' .code start: mov ax,@data mov ds,ax call counter mov ah,4ch int 21h counter proc push ax push bx push dx ...
; A047432: Numbers that are congruent to {0, 1, 4, 5, 6} mod 8. ; 0,1,4,5,6,8,9,12,13,14,16,17,20,21,22,24,25,28,29,30,32,33,36,37,38,40,41,44,45,46,48,49,52,53,54,56,57,60,61,62,64,65,68,69,70,72,73,76,77,78,80,81,84,85,86,88,89,92,93,94,96,97,100,101,102 mov $1,$0 lpb $0 trn $0,4 add $1,3 mov $2,1 trn $2,$0 ...
copyright zengfr site:http://github.com/zengfr/romhack 0030BA rts [boss+A, boss+C, container+ A, container+ C, enemy+ A, enemy+ C, weapon+ A, weapon+ C] 003A0E movem.l D0-D3, -(A6) 003A12 move.w D4, ($4e,A6) 009ACA dbra D5, $9ac8 0519E4 move.l ($e,A6), ($a,A6) [container+ 3] 0519EA move.w #$100, ($50,A6)...
MODULE libfile ; Load directory ; In: HL: pointer to filename of libfile to load ; DE: destination address directory ; Out: A: 0 if directory has been loaded ; <>0 if directory hasn't been loaded ; Destroys: all load_directory: ld (current_directory),de ld de,fcb.FNAME l...
SECTION code_clib SECTION code_fp_math48 PUBLIC _ceil_fastcall EXTERN cm48_sdcciy_ceil_fastcall defc _ceil_fastcall = cm48_sdcciy_ceil_fastcall
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x6ed5, %r13 nop nop nop nop nop add %r12, %r12 movb $0x61, (%r13) nop nop nop xor $53149, %r10 lea addresses_normal_ht+0xd7b5, %rsi lea addresses_UC_ht+0x145b5, %rdi nop nop no...
// $Id: iq_router.hpp 5263 2012-09-20 23:40:33Z dub $ /* Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University 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 ...
;************************* strstr64.asm ************************************ ; Author: Agner Fog ; Date created: 2011-07-14 ; Last modified: 2011-07-14 ; Description: ; Faster version of the standard strstr function: ; char * A_strstr(char * haystack, const char * needle); ; Searches for substring n...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: tsReference.asm AUTHOR: John Wedgwood, Nov 20, 1991 ROUTINES: Name Description ---- ----------- CopyTextReference Copy text into a...
/* * Copyright (C) 2019 The Android Open Source Project * * 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 app...
PLUS .BYT '+' spc .BYT 32 ret .BYT 13 EOT .BYT 3 ; End of text ; Strings opderr .BYT 32 .BYT 'i' .BYT 's' .BYT 32 .BYT 'n' .BYT 'o' .BYT 't' .BYT 32 ...
#include "common.h" #include "args.h" #include <lemon/network_simplex.h> const char * help_message = "Usage: lemon_test" ; int main (int argc, char ** argv) { Args args(argc, argv, help_message); // right now, we only test compilation return 0; }
; A211668: Number of iterations sqrt(sqrt(sqrt(...(n)...))) such that the result is < 3. ; 0,0,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3 mov $1,8 lpb $0 div $0,$1 add $0,1 add $1,3 lpe su...
SECTION code_fcntl PUBLIC asm_tty_state_get_2 EXTERN l_inc_hl, asm_tty_state_get_1 EXTERN asm0_tty_state_param_store asm_tty_state_get_2: ; c = ascii char ; stack = & tty.action ; first store next state pop hl ld de,asm_tty_state_get_1 call asm0_tty_state_param_store ; hl = & ...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: Org.BouncyCast...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1b15b, %r12 nop add %r13, %r13 mov (%r12), %rbx nop nop cmp $41796, %rdi lea addresses_UC_ht+0xc8db, %r12 nop nop nop nop sub $19417, %r9 mov (%r12), %rdi nop nop add $23613, ...
; ; Z80 ANSI Library ; ;--------------------------------------------------- ; LF - chr(10) Line Feed ; Do also a Carriage return. ; ; Stefano Bodrato - 21/4/2000 ; ; $Id: f_ansi_lf.asm,v 1.4 2016-04-04 18:31:22 dom Exp $ ; SECTION code_clib PUBLIC ansi_LF EXTERN __console_y EXTERN __console_x EXTERN __co...
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x7070, %r11 add %rdx, %rdx and $0xffffffffffffffc0, %r11 movaps (%r11), %xmm4 vpextrq $1, %xmm4, %r9 nop nop nop nop and $472, %rax lea addresses_A_ht+0x12a70, %rsi lea address...
#include <crtdbg.h> #include <gtest/gtest.h> namespace testing { #ifdef _DEBUG class MemoryLeakDetector : public EmptyTestEventListener { public: virtual void OnTestStart(const TestInfo&) { _CrtMemCheckpoint(&m_onStart); } virtual void OnTestEnd(const TestInfo&...
; A070569: n^4 mod 26. ; 0,1,16,3,22,1,22,9,14,9,16,3,14,13,14,3,16,9,14,9,22,1,22,3,16,1,0,1,16,3,22,1,22,9,14,9,16,3,14,13,14,3,16,9,14,9,22,1,22,3,16,1,0,1,16,3,22,1,22,9,14,9,16,3,14,13,14,3,16,9,14,9,22,1,22,3,16,1,0,1,16,3,22,1 pow $0,4 mod $0,26 mov $1,$0
; A088650: a(n) = smallest value of x pertaining to A020498, or the smallest x such that A020498(k) + x is prime for all k = 1 to n. ; 1,2,4,4,4,4,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10 mul $0,2 mov $1,4 mov $2,1 mov $3,4 trn $3,$0 sub $1,$3 trn $1,1 mov $4,1 lpb $0,1 mov $0,10 sub $1,$4 add $1,4 ...
; A219211: Number of n X 2 arrays of the minimum value of corresponding elements and their horizontal, vertical, diagonal or antidiagonal neighbors in a random, but sorted with lexicographically nondecreasing rows and columns, 0..2 n X 2 array. ; 3,3,7,12,21,35,57,91,142,216,320,462,651,897,1211,1605,2092,2686,3402,425...
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function HitPointBar.HitPointBar_C.Up...
cpy #1 bmi {la1}
/* Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
; A040157: Continued fraction for sqrt(171). ; 13,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13 pow $1,$0 sub $1,2 gcd $1,$0 mul $1,13
#include "sfmlApp.h" #include "appConsts.h" #include "sfmlDrawManager.h" #include "sfmlInputInfo.h" #include "sfmlCanvasDrawManager.h" #include <string> SFMLApp::SFMLApp(Point _size) : App(_size) { } SFMLApp::~SFMLApp() { App::~App(); delete window; } void SFMLApp::setup() { App::initialSetup(); window = new...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xbe6e, %rbp nop nop nop cmp $48949, %r13 movups (%rbp), %xmm3 vpextrq $0, %xmm3, %rax nop nop nop nop nop add $59636, %rsi lea addresses_UC_ht+0xcfb6, %rsi lea addresses_A_ht+...
; A166154: 7*n*(n+1)/2 - 5. ; 2,16,37,65,100,142,191,247,310,380,457,541,632,730,835,947,1066,1192,1325,1465,1612,1766,1927,2095,2270,2452,2641,2837,3040,3250,3467,3691,3922,4160,4405,4657,4916,5182,5455,5735,6022,6316,6617,6925,7240,7562,7891,8227,8570,8920,9277,9641,10012,10390,10775,11167,11566,11972,12385,12805,132...
; ******************************************************************************************* ; Say - Write input string to console ; Copyright (c) 2021 by Gaston Williams ; ******************************************************************************************* #include ops.inc #include bios.inc #include kernel...
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 90 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %9 OpExecutionMode %4 OriginUpp...
; Can Buy ; computed row on screen considering what stock is visible ; Show ; Tech Level ; Price ; Name ; TypeId ;char name[16]; ;current_quantit...
; A179894: Given the series (1, 2, 1, 2, 1, 2, ...), let (1 + 2x + x^2 + 2x^3 + ...) * (1 + 2x^2 + x^3 + 2x^4 + ...) = (1 + 2x + 3x^2 + 7x^3 + ...) ; 1,2,3,7,7,12,11,17,15,22,19,27,23,32,27,37,31,42,35,47,39,52,43,57,47,62,51,67,55,72,59,77,63,82,67,87,71,92,75,97,79,102,83,107,87,112,91,117,95,122,99,127,103,132,107,1...
//---------------------------------------------------------------------------- // Copyright [2014] [Ztachip Technologies Inc] // // 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://...
; A047320: Numbers that are congruent to {0, 5, 6} mod 7. ; 0,5,6,7,12,13,14,19,20,21,26,27,28,33,34,35,40,41,42,47,48,49,54,55,56,61,62,63,68,69,70,75,76,77,82,83,84,89,90,91,96,97,98,103,104,105,110,111,112,117,118,119,124,125,126,131,132,133,138,139,140 mov $1,$0 add $0,2 div $0,3 mul $0,4 add $0,$1
IF !_CLIB_CFG_ASM_ defc _CLIB_CFG_ASM_ = 1 ; ************************************************************************** ; IF YOU MAKE CHANGES TO THIS FILE YOU MUST RECOMPILE THE EMBEDDED LIBRARIES ; ************************************************************************** ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
; A292510: a(n) = smallest k >= 1 such that {1, p(n,2), p(n,3), ..., p(n,k)} can be partitioned into two sets with equal sums, where p(n,m) is m-th n-gonal number. ; 4,7,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,...
// Copyright 2012 the V8 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 "src/elements.h" #include "src/arguments.h" #include "src/conversions.h" #include "src/frames.h" #include "src/heap/factory.h" #include "src/i...
// NNDoc.cpp : implementation of the CNNDoc class // #include "stdafx.h" #include "NN.h" #include "NNDoc.h" #include "TrainNetDialogPropSheet.h" #include "InitNeuralNetworkDialog.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif //////////////////////////////////////...
; A098580: Expansion of (sqrt(1-8*x)-4*x)/sqrt(1-8*x). ; Submitted by Christian Krause ; 1,-4,-16,-96,-640,-4480,-32256,-236544,-1757184,-13178880,-99573760,-756760576,-5778898944,-44304891904,-340806860800,-2629081497600,-20331563581440,-157569617756160,-1223481737871360,-9515969072332800,-74124390668697600,-578170247...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x5c37, %rsi lea addresses_UC_ht+0x1421f, %rdi nop nop nop nop nop and $45714, %r13 mov $95, %rcx rep movsb nop nop nop xor $60196, %rcx lea addresses_normal_ht+0x195a7, %r10 nop nop no...
data segment a db 0 data ends assume es:data code segment mov byte ptr [a],1 code ends
; A138188: Expansion of (1-2x-2x^2-x^3)/(1+x+x^2-x^3-x^4-x^5). ; 1,-3,0,3,-5,0,5,-7,0,7,-9,0,9,-11,0,11,-13,0,13,-15,0,15,-17,0,17,-19,0,19,-21,0,21,-23,0,23,-25,0,25,-27,0,27,-29,0,29,-31,0,31,-33,0,33,-35,0,35,-37,0,37,-39,0,39,-41,0,41 mov $1,$0 add $1,1 mov $2,1 lpb $1,1 sub $1,3 add $2,2 lpe mul $1,$2
; A079326: a(n) = the largest number m such that if m monominoes are removed from an n X n square then an L-triomino must remain. ; 1,2,7,9,17,20,31,35,49,54,71,77,97,104,127,135,161,170,199,209,241,252,287,299,337,350,391,405,449,464,511,527,577,594,647,665,721,740,799,819,881,902,967,989,1057,1080,1151,1175,1249,1274...
; void __CALLEE__ sp1_MoveSprAbs_callee(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uchar row, uchar col, uchar vrot, uchar hrot) ; 04.2006 aralbrec, Sprite Pack v3.0 ; sinclair zx version SECTION code_clib SECTION code_temp_sp1 PUBLIC sp1_MoveSprAbs_callee EXTERN asm_sp1_MoveSprAbs sp1_MoveSprAbs_callee...
; A102310: Square array read by antidiagonals: Fibonacci(k*n). ; 1,1,1,2,3,2,3,8,8,3,5,21,34,21,5,8,55,144,144,55,8,13,144,610,987,610,144,13,21,377,2584,6765,6765,2584,377,21,34,987,10946,46368,75025,46368,10946,987,34,55,2584,46368,317811,832040,832040,317811,46368,2584,55,89,6765,196418,2178309,9227465,14930352,9227...
#include "world.h" #include "objectmanager.h" #include "playermanager.h" #include "scripts/scriptmap.h" #include "netserver.h" #include "common/gameinfo.hpp" #include "r3d.hpp" World::World() { time = new r3dTime; server = new NetServer; gameinfo = new GameInfo; grid = new r3dNavGrid; playermanager...
#include "Function.h" namespace cmd { //-------------------------------------------------------------- Function::Function() { this->f = NULL; } //-------------------------------------------------------------- Function::Function(const function<void()>& f) { this->f = f; } //-------------------------------...
;; ;; Copyright (c) 2012-2018, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
#include "Platform.inc" #include "FarCalls.inc" #include "Lcd.inc" #include "../../LcdStates.inc" #include "../../../ShiftRegister/ShiftOutMock.inc" #include "TestFixture.inc" radix decimal udata global initialShiftRegisterBuffer global expectedShiftOut1 global expectedShiftOut2 global expectedShiftOut3 ...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0xc42e, %rsi lea addresses_WT_ht+0xf2c, %rdi nop nop and $20065, %r15 mov $5, %rcx rep movsq nop nop sub %rax, %rax pop %rsi pop %rdi pop %rcx pop %rax pop %r15 ret .global s_faulty_load s_faulty_load:...
; A084055: 6*n digit-reversed mod 6. ; 3,3,0,3,3,0,0,3,0,0,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0 add $0,2 mul $0,6 lpb $0 mov $1,$0 div $0,10 mod $1,2 lpe mul $1,3 mov $0,...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017-2019 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
; void zx_scroll_up(uchar rows, uchar attr) SECTION code_arch PUBLIC _zx_scroll_up EXTERN asm_zx_scroll_up _zx_scroll_up: pop af pop de pop hl push hl push de push af jp asm_zx_scroll_up
/*=auto========================================================================= Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Program: 3D Slicer Module: $RCSfile: vtkMRMLAbstractLogic...
;***************************************************************************** ;* cpu-a.asm: x86 cpu utilities ;***************************************************************************** ;* Copyright (C) 2003-2013 x264 project ;* ;* Authors: Laurent Aimar <fenrir@via.ecp.fr> ;* Loren Merritt <lorenm@u.washi...
; A300846: a(n) = 3*(n - 1)^2*n^3. ; 0,0,24,324,1728,6000,16200,37044,75264,139968,243000,399300,627264,949104,1391208,1984500,2764800,3773184,5056344,6666948,8664000,11113200,14087304,17666484,21938688,27000000,32955000,39917124,48009024,57362928,68121000 mov $1,$0 bin $1,2 mul $0,$1 mul $0,$1 mul $0,12
.global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1590e, %r9 nop nop nop nop add %rbx, %rbx movups (%r9), %xmm6 vpextrq $1, %xmm6, %r8 nop xor %rdx, %rdx lea addresses_D_ht+0xaf52, %r8 nop nop nop nop xor $13973, %rcx mov $0x6...
#include <AllNodeHeaders.h> Node* NodeStatement::parse(CompilerState &cs) { Lexer &lex = cs.lexer; Logger::logParseEntry(__CLASS_NAME__, lex.peek()); Node *statement = new NodeStatement(); if (lex.peek().value == TokenTable::TS[TN_opnbrc]) { statement->addNode(new TerminalNode(lex.read())); bool blockError ...
SECTION code_clib SECTION code_fp_math48 PUBLIC asm_dne EXTERN am48_dne defc asm_dne = am48_dne
_test: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" 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 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x3c94, %rsi lea addresses_D_ht+0x3268, %rdi nop nop dec %r10 mov $99, %rcx rep movsl nop sub $46263, %r10 lea addresses_D_ht+0xd836, %rcx nop nop nop nop sub %rdi, %rdi mov (%rcx), %rax...
db 0 ; 479 DEX NO (FROST FORM) db 50, 65, 107, 86, 105, 107 ; hp atk def spd sat sdf db ELECTRIC, ICE ; type db 45 ; catch rate db 182 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/s...
; A166978: a(n) = 4*( 1-(-1)^n) -2^n. ; -1,6,-4,0,-16,-24,-64,-120,-256,-504,-1024,-2040,-4096,-8184,-16384,-32760,-65536,-131064,-262144,-524280,-1048576,-2097144,-4194304,-8388600,-16777216,-33554424,-67108864,-134217720,-268435456,-536870904,-1073741824,-2147483640,-4294967296,-8589934584,-17179869184,-34359738360,-...
; ; z88dk library: Generic VDP support code ; ; void get_vdp_reg(int reg) ; ;============================================================== ; Gets the value of a VDP register ;============================================================== ; ; $Id: gen_get_vdp_reg.asm,v 1.3 2016-06-16 19:30:25 dom Exp $ ; SECTI...
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES PUBLIC ?master_count@@3HA ; master_count PUBLIC ?slave_count@@3HA ; slave_count PUBLIC ?root@@3PEAU_tele_type_@@EA ; root PUBLIC ?last@@3PEAU_tele_type_@@EA ; last _BSS ...
db 0 ; species ID placeholder db 60, 50, 70, 65, 50, 90 ; hp atk def spd sat sdf db BUG, POISON ; type db 45 ; catch rate db 160 ; base exp db NO_ITEM, SILVERPOWDER ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokemon/dustox/front.dimensions" db GROWTH_MEDIUM_F...
; A312205: Coordination sequence Gal.4.43.1 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. ; Submitted by Jon Maiga ; 1,4,8,13,19,25,30,34,38,42,46,51,57,63,68,72,76,80,84,89,95,101,106,110,114,118,122,127,133,139,144,148,152,156,160,...
; A174301: A symmetrical triangle: T(n,k) = binomial(n, k)*if(floor(n/2) greater than or equal to k then 4^k, otherwise 4^(n-k)). ; Submitted by Christian Krause ; 1,1,1,1,8,1,1,12,12,1,1,16,96,16,1,1,20,160,160,20,1,1,24,240,1280,240,24,1,1,28,336,2240,2240,336,28,1,1,32,448,3584,17920,3584,448,32,1,1,36,576,5376,3225...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ Load address 3BFA (3BF4) @@ 495A (4954) @@ @@ We get called with: @@ OR[280] = 24 @@ OR[281] = 0x5CEC @@ OR[282] = 0 @@ and we never return @@ @@ Input: @@ OR[280] - Function code @@ RQ@SIO - start I/O to a device @@ RQ@WIO ...
// 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/synchronization/condition_variable.h" #include <errno.h> #include <stdint.h> #include <sys/time.h> #include "base/optional.h" #includ...
; A024648: n written in fractional base 8/6. ; Submitted by Christian Krause ; 0,1,2,3,4,5,6,7,60,61,62,63,64,65,66,67,640,641,642,643,644,645,646,647,6420,6421,6422,6423,6424,6425,6426,6427,64200,64201,64202,64203,64204,64205,64206,64207,64260,64261,64262,64263,64264,64265,64266,64267 mov $3,1 lpb $0 mov $2,$0 di...
// // fumarole_data_io.cpp // Contains functions for loading fumarole data from disk // #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <boost/filesystem.hpp> #include "config/config.hpp" #include "io/fumarole_data_io.hpp" namespace IO { // Read all greyscale data void GetGre...
#include "FMMWrapper.hpp" #include "FMMWrapperWall2D.hpp" #include <boost/python.hpp> #include <boost/python/numpy.hpp> #include <cmath> #include <cstdio> #include <iostream> #include <vector> namespace p = boost::python; namespace np = boost::python::numpy; void FMM_SetBox(FMM_Wrapper *fmm, double xlow, double xhi...
; https://www.gnu.org/software/grub/manual/multiboot2/multiboot.html section .uefi_header header_start: dd 0xe85250d6 ; magic number (multiboot 2) dd 0 ; architecture 0 (protected mode i386) dd header_end - header_start ; header length ; checksum dd 0x100000000...