text
stringlengths
1
1.05M
; A170939: 4^n-2^n+2. ; 2,4,14,58,242,994,4034,16258,65282,261634,1047554,4192258,16773122,67100674,268419074,1073709058,4294901762,17179738114,68719214594,274877382658,1099510579202,4398044413954,17592181850114,70368735789058,281474959933442,1125899873288194 mov $1,2 pow $1,$0 bin $1,2 mul $1,2 add $1,2 mov $0,$1
// Copyright (c) 2011-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/carpinchoamountfield.h> #include <qt/carpinchounits.h> #include <qt/guiconstants.h> #include <qt/guiutil.h> #in...
; A000932: a(n) = a(n-1) + n*a(n-2); a(0) = a(1) = 1. ; 1,1,3,6,18,48,156,492,1740,6168,23568,91416,374232,1562640,6801888,30241488,139071696,653176992,3156467520,15566830368,78696180768,405599618496,2136915595392,11465706820800,62751681110208,349394351630208,1980938060495616 add $0,1 mov $2,2 mov $3,1 lpb $0 mul $3...
#include "Defines.h" #include "Game.h" #include "FixedMath.h" #include "Draw.h" const char map[MAP_WIDTH * MAP_HEIGHT] PROGMEM = { 0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8, 0,3,2,2,2,2,2,2,4,0,0,0,0,0,0,0, 0,1,0,0,0,0,0,0,1,0,0,3,2,2,4,0, 0,1,0,8,8,8,8,0,6,2,2,5,0,0,1,0, 0,1,0,0,0,8,8,0,0,0,0,0,0,0,1,0, 0,6,2,4,0,8,8,8,8...
/* This program is supposed to be used with the IntallerCollection_***.cs examples. Provide the exe of this program as input to the InstallerCollection_***.exe programs. */ #using <System.dll> #using <System.Configuration.Install.dll> using namespace System; using namespace System::Collections; using namespace System:...
; void *p_forward_list_front(p_forward_list_t *list) SECTION code_adt_p_forward_list PUBLIC _p_forward_list_front EXTERN asm_p_forward_list_front _p_forward_list_front: pop af pop hl push hl push af jp asm_p_forward_list_front
; A017354: a(n) = (10*n + 7)^2. ; 49,289,729,1369,2209,3249,4489,5929,7569,9409,11449,13689,16129,18769,21609,24649,27889,31329,34969,38809,42849,47089,51529,56169,61009,66049,71289,76729,82369,88209,94249,100489,106929,113569,120409,127449,134689,142129,149769,157609,165649,173889,182329,190969,199809,208849,218089,22...
; _init.asm ; jump to kinit [bits 32] __init: extern kinit jmp kinit nop nop nop
/* Sirikata * Trace.cpp * * Copyright (c) 2010, Ewen Cheslack-Postava * 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 co...
#include "VertexBuffer.h" namespace Woo { namespace Graphics { VertexBuffer::VertexBuffer(GLfloat* data, GLsizei count, GLuint componentCount) : m_componentCount(componentCount) { glGenBuffers(1, &m_bufferID); glBindBuffer(GL_ARRAY_BUFFER, m_bufferID); glBufferData(GL_ARRAY_BUFFER, count*sizeof(float), dat...
SECTION code_l PUBLIC l_minu_bc_dehl EXTERN l_minu_bc_hl l_minu_bc_dehl: ; return unsigned minimum of bc and dehl ; ; enter : bc = unsigned 16 bit number ; dehl = unsigned 32 bit number ; ; exit : hl = smaller of the two unsigned numbers ; carry set if dehl was smaller, z ...
#include "ofMain.h" #include "ofApp.h" //======================================================================== int main( ){ ofSetupOpenGL(1050,850,OF_WINDOW); // <-------- setup the GL context // this kicks off the running of my app // can be OF_WINDOW or OF_FULLSCREEN // pass in width and height too: ofRun...
; Copyright (C) 2018 FIX94 ; ; This software may be modified and distributed under the terms ; of the MIT license. See the LICENSE file for details. SECTION "HDR",ROM0[$0] rstbase: ; if any RST lands here, return ds $FF reti entry: ; 100, goto start nop jp _start SECTION "MAIN",ROM0[$150] _start: di ; ini...
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) ) ftyp_start: dd BE(ftyp_end - ftyp_start) db "ftyp" db "isom" dd BE(0x00) db "mif1" ftyp_end: meta_start: dd BE(meta_end - meta_start) db "meta" dd BE(0) hdlr_start: dd BE(hdlr_end - hdlr_start) ...
cmp [$varName], byte 0 je allocate mov rcx, [$varName] call free allocate: mov rcx, $valLength call malloc mov [$varName], rax mov rcx, [$value] mov [rax], rcx
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x3b05, %r10 nop nop nop nop dec %rbx mov (%r10), %rdx nop nop nop nop nop add $38606, %rcx lea addresses_D_ht+0x193e5, %r15 xor $20191, %r9 mov $0x6162636465666768, %rdi movq %...
SFX_80712_4_Ch4: dutycycle 204 unknownsfx0x20 8, 245, 0, 6 unknownsfx0x20 2, 210, 56, 6 unknownsfx0x20 2, 194, 48, 6 unknownsfx0x20 2, 194, 40, 6 unknownsfx0x20 2, 178, 32, 6 unknownsfx0x20 2, 178, 16, 6 unknownsfx0x20 2, 162, 24, 6 unknownsfx0x20 2, 178, 16, 6 unknownsfx0x20 8, 193, 32, 6 endchannel SFX_80...
/* * Copyright (c) 2017, Intel Corporation * * 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, merge, publi...
; Utils ; Various utility functions ; ; 2017 Scott Lawrence ; ; This code is free for any use. MIT License, etc. .module Utils ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Line input routines ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ClearLine ; clear the l...
; A016938: a(n) = (6*n + 2)^6. ; 64,262144,7529536,64000000,308915776,1073741824,3010936384,7256313856,15625000000,30840979456,56800235584,98867482624,164206490176,262144000000,404567235136,606355001344,885842380864,1265319018496,1771561000000,2436396322816,3297303959104,4398046511104,5789336458816,7529536000000,968539...
%ifdef CONFIG { "RegData": { "XMM0": ["0x4018000000000000", "0x4018000000000000"], "XMM1": ["0x4018000000000000", "0x4018000000000000"], "XMM2": ["0x4000000000000000", "0x4000000000000000"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4008000000000000 m...
; A256249: Partial sums of A006257 (Josephus problem). ; 0,1,2,5,6,9,14,21,22,25,30,37,46,57,70,85,86,89,94,101,110,121,134,149,166,185,206,229,254,281,310,341,342,345,350,357,366,377,390,405,422,441,462,485,510,537,566,597,630,665,702,741,782,825,870,917,966,1017,1070,1125,1182,1241,1302,1365,1366,1369,1374,1381,1390,...
DATA SEGMENT NOTIC DB "Please input the word!",0AH,0DH DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA START: MOV AX,DATA MOV DS,AX MOV CX,19H LEA BX,[NOTIC] AA0: MOV DL,[BX] MOV AH,2 INT 21H INC BX LOOP AA0 AA1: MOV AH,1 ...
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from thread_dispatcher.djinni #include "Runnable.hpp" // my header namespace djinni_generated { Runnable::Runnable() : ::djinni::JniInterface<::ledger::core::api::Runnable, Runnable>("co/ledger/core/Runnable$CppProxy") {} Runnable::~Runnable()...
//Optimise #include <bits/stdc++.h> using namespace std; #define multitest 1 #ifdef Debug #define db(...) ZZ(#__VA_ARGS__, __VA_ARGS__); template <typename Arg1> void ZZ(const char *name, Arg1 &&arg1) { std::cerr << name << " = " << arg1 << endl; } template <typename Arg1, typename... Args> void ZZ(const char *names,...
; A015215: Sum of Gaussian binomial coefficients for q=23. ; Submitted by Stefano Spezia ; 1,2,26,1108,318532,310699784,2050802289512,45998820030427216,6982715817685577376784,3602226883731790235442134048,12576944383710950724867108854566304,149227717546908065915667125958905292219712,1198343563199597728504315002852101769...
; A207021: Number of nX5 0..1 arrays avoiding 0 0 0 and 0 1 1 horizontally and 0 0 1 and 1 0 1 vertically ; 13,169,624,1586,3315,6123,10374,16484,24921,36205,50908,69654,93119,122031,157170,199368,249509,308529,377416,457210,549003,653939,773214,908076,1059825,1229813,1419444,1630174,1863511,2121015,2404298,2715024,305...
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ // Alain 18.12.2014: workaround after VS2013 & intel XE 2015 #ifndef MKL_BLAS # define MKL_BLAS MKL_DO...
; A169545: Number of reduced words of length n in Coxeter group on 4 generators S_i with relations (S_i)^2 = (S_i S_j)^35 = I. ; 1,4,12,36,108,324,972,2916,8748,26244,78732,236196,708588,2125764,6377292,19131876,57395628,172186884,516560652,1549681956,4649045868,13947137604,41841412812,125524238436,376572715308,1129718...
// 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/animation/CSSValueInterpolationType.h" #include "core/animation/InterpolationEnvironment.h" #include "core/animation/StringKeyframe.h" #in...
;; ;; Copyright (c) 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 the ...
; A033131: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0. ; 1,5,20,81,325,1300,5201,20805,83220,332881,1331525,5326100,21304401,85217605,340870420,1363481681,5453926725,21815706900,87262827601,349051310405,1396205241620,5584820966481,22339283865925,89357135463700,3574...
//////////////////////////////////////////////////////////////////////////// // // This file is part of RTIMULib // // Copyright (c) 2014-2015, richards-tech, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"...
;**** A P P L I C A T I O N N O T E A V R 2 0 0 ************************ ;* ;* Title: Multiply and Divide Routines ;* Version: 1.1 ;* Last updated: 97.07.04 ;* Target: AT90Sxxxx (All AVR Devices) ;* ;* Support E-mail: avr@atmel.com ;* ;* DESCRIPTION ;* This Application Note lists subroutines for the ...
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #in...
Route3_h: db OVERWORLD ; tileset db ROUTE_3_HEIGHT, ROUTE_3_WIDTH ; dimensions (y, x) dw Route3_Blocks ; blocks dw Route3_TextPointers ; texts dw Route3_Script ; scripts db NORTH | WEST ; connections NORTH_MAP_CONNECTION ROUTE_3, ROUTE_4, 25, 0, Route4_Blocks WEST_MAP_CONNECTION ROUTE_3, PEWTER_CITY, -3, 1, Pew...
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 Bryce Adelstein-Lelbach // Copyright (c) 2011-2015 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/testapp.h> #include <vespa/searchcore/proton/common/statusreport.h> namespace proton { TEST("require that default status report works") { StatusReport sr(StatusRe...
; A247215: Integers k such that 3k+1 and 6k+1 are both squares. ; 0,8,280,9520,323408,10986360,373212840,12678250208,430687294240,14630689753960,497012764340408,16883803297819920,573552299361536880,19483894374994434008,661878856450449219400,22484397224940279025600,763807626791519037651008,25946974913686707001108680,881...
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; See the LICENSE file in the project root for more information. ; ==++== ; ; ; ==--== ; *********************************************************************** ; File: JIThelp.asm ...
; A281593: a(n) = b(n) - Sum_{j=0..n-1} b(n) with b(n) = binomial(2*n, n). ; 1,1,3,11,41,153,573,2157,8163,31043,118559,454479,1747771,6740059,26055459,100939779,391785129,1523230569,5931153429,23126146629,90282147849,352846964649,1380430179489,5405662979649,21186405207549,83101804279101,326199124351701,128130148410360...
/*** For more information please refer to files in the COPYRIGHT directory ***/ #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <time.h> #include <assert.h> #include "irodsFs.hpp" #include "iFuseLib.hpp" #include "iFuseOper.hpp" #include "irods_hashtable.h" #include "irods_list.h" #include "iFuseLib...
; A051064: 3^a(n) exactly divides 3n. Or, 3-adic valuation of 3n. ; 1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,5,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,...
; A101084: Numbers k such that 97*k + 101 is a prime. ; Submitted by Christian Krause ; 0,6,8,14,18,30,36,50,86,90,96,110,114,116,126,128,134,138,140,156,158,174,186,194,200,204,218,236,258,260,266,278,294,296,300,314,326,336,338,344,348,354,366,368,378,398,420,428,468,470,476,498,504,516,524,530,534,560,578,590,594,60...
USE32 global __context_switch extern __context_switch_delegate section .text __context_switch: ; retrieve stack location ;pop ebx ; delegate reference ;pop ecx ; create stack frame push ebp mov ebp, esp ; save special purpose stuff push esi push edi ; save cur...
#include <chrono> #include <memory> #include <string> #include "common/filesystem/filesystem_impl.h" #include "common/filter/auth/client_ssl.h" #include "common/http/message_impl.h" #include "common/network/address_impl.h" #include "test/mocks/network/mocks.h" #include "test/mocks/runtime/mocks.h" #include "test/mock...
; A114003: Rows sums of triangle A114002. ; 1,3,3,5,3,7,3,7,5,7,3,11,3,7,7,9,3,11,3,11,7,7,3,15,5,7,7,11,3,15,3,11,7,7,7,17,3,7,7,15,3,15,3,11,11,7,3,19,5,11,7,11,3,15,7,15,7,7,3,23,3,7,11,13,7,15,3,11,7,15,3,23,3,7,11,11,7,15,3,19,9,7,3,23,7,7,7,15,3,23,7,11,7,7,7,23,3,11,11,17,3,15,3,15,15,7,3,23,3,15,7,19,3,15,7,11,...
############################################################################### # 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...
@0 D=M @23 D;JLE @16 M=D @16384 D=A @17 M=D @17 A=M M=-1 @17 D=M @32 D=D+A @17 M=D @16 MD=M-1 @10 D;JGT @23 0;JMP
li s0, 0x400b0000 li x10, 20 sw x10, 0x0(s0) sw x10, 16(s0) li x11, 2 sw x11, 0x4(s0) sw x11, 20(s0) li x12, 3 sw x12, 0x8(s0) sw x12, 24(s0) li x13, 1 sw x13, 0xc(s0) sw x13, 28(s0)
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <miner.h> #include <amount.h> #include <chain.h> #include <chainparams....
; A129954: Second differences of A129952. ; 1,3,6,14,32,72,160,352,768,1664,3584,7680,16384,34816,73728,155648,327680,688128,1441792,3014656,6291456,13107200,27262976,56623104,117440512,243269632,503316480,1040187392,2147483648,4429185024,9126805504,18790481920,38654705664,79456894976,163208757248,335007449088,68719476...
/* * Copyright (C) 2017 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...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 91 call lwaitly_b xor a, a ldff(40), a ld hl, fea0 lbegin_fill_oam: dec l ld(hl), a jrnz lbegin_fill_oam ld hl, fe00 ld d, 10 ld a, d ld(hl), a inc l ld a, 09 ld(hl), a ld a, 97 ldff(4...
; A088992: Derangement numbers d(n,5) where d(n,k) = k(n-1)(d(n-1,k) + d(n-2,k)), with d(0,k) = 1 and d(1,k) = 0. ; Submitted by Jamie Morken(s1) ; 1,0,5,50,825,17500,458125,14268750,515440625,21188375000,976671703125,49893003906250,2797832158515625,170863509745312500,11287987223748828125,802119551344589843750,61005565...
mov ah, 0x0e ; tty mode mov bp, 0x8000 ; this is an address far away from 0x7c00 so that we don't get overwritten mov sp, bp ; if the stack is empty then sp points to bp push 'A' push 'B' push 'C' ; to show how the stack grows downwards mov al, [0x7ffe] ; 0x8000 - 2 int 0x10 ; prints A mov al, [0x7ffc] ; 0x8000 - 4...
default rel bits 64 segment .data format_length db 'length is %lf', 0xa, 0 ; lf for double in c99 format_distance db 'distance is %lf', 0xa, 0 format_inner db 'dot product is %lf', 0xa, 0 v1x dd 5.0 v1y dd 6.0 v1z dd 7.0 v2x dd 8.0 v2y dd 9.0 v2z dd 10.0 segment .text extern pri...
; A071578: Number of iterations of Pi(n) needed to reach 1, where Pi(x) denotes the number of primes <= x. ; 0,1,2,2,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5 ...
setrepeat 2 frame 0, 05 frame 1, 05 frame 2, 05 frame 3, 05 frame 4, 05 frame 5, 05 dorepeat 1 endanim
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.0.0 #11528 (MINGW64) ;-------------------------------------------------------- ; MODULE 04_for .optsdcc -mgbz80 ; Generated using the rgbds tokens. ; We have to define these here as sdcc d...
; A214392: If n mod 4 = 0 then a(n) = n/4, otherwise a(n) = n. ; 0,1,2,3,1,5,6,7,2,9,10,11,3,13,14,15,4,17,18,19,5,21,22,23,6,25,26,27,7,29,30,31,8,33,34,35,9,37,38,39,10,41,42,43,11,45,46,47,12,49,50,51,13,53,54,55,14,57,58,59,15,61,62,63,16,65,66,67,17,69,70,71,18,73,74,75,19,77,78,79,20,81,82,83,21,85,86,87,22,89,90...
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==...
; A186288: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the squares and pentagonal numbers. Complement of A186289. ; 1,3,5,7,9,11,12,14,16,18,20,21,23,25,27,29,31,32,34,36,38,40,41,43,45,47,49,51,52,54,56,58,60,61,63,65,67,69,71,72,74,76,78,80,81,83,85,87,89...
[WiiULauncher0US] moduleMatches = 0x90DAC5CE ; Unconditionally branch DriverD3D::LimitFramerate immediately 0x2E47110 = blr [WiiULauncher0EU] moduleMatches = 0x8F7D2702 ; Unconditionally branch DriverD3D::LimitFramerate immediately 0x2E470F0 = blr [WiiULauncher0JP] moduleMatches = 0x0D395735 ; Unconditionally bran...
; A180146: Eight rooks and one berserker on a 3 X 3 chessboard. G.f.: 1/(1 - 4*x - 3*x^2 + 6*x^3). ; Submitted by Jamie Morken(w4) ; 1,4,19,82,361,1576,6895,30142,131797,576244,2519515,11016010,48165121,210591424,920764999,4025843542,17602120621,76961423116,336496993075,1471259517922,6432760512217,28125838644184,122974...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="dev, ubuf"/> <%docstring> Invokes the syscall ustat. See 'man 2 ustat' for more information. Arguments: dev(dev_t): dev ubuf(ustat): ubuf </%docstring> ${syscall('SYS_ustat', dev, ubuf)}
; A154249: a(n) = ( (8 + sqrt(7))^n - (8 - sqrt(7))^n )/(2*sqrt(7)). ; Submitted by Jamie Morken(s4) ; 1,16,199,2272,25009,270640,2904727,31049152,331216993,3529670224,37595354983,400334476960,4262416397329,45379597170544,483115820080951,5143216082574208,54753855576573121,582898372518440080,6205404192430373383,66061259...
; A201595: E.g.f. satisfies: A(x) = exp(x*A(x)) * cosh(x*A(x)). ; Submitted by Jon Maiga ; 1,1,4,28,288,3936,67328,1385728,33372160,921118720,28677169152,994360565760,38007586684928,1587878686621696,71990467473965056,3520403893852831744,184707311409882464256,10350444842488122310656,616975843658373414256640,389818810074...
; $Id: remainder.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; IPRT - No-CRT remainder - AMD64 & X86. ; ; ; Copyright (C) 2006-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 ...
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xe31d, %r12 nop nop nop cmp $9778, %rax movb $0x61, (%r12) nop and %r10, %r10 lea addresses_UC_ht+0xb725, %rsi lea addresses_WT_ht+0x7a25, %rdi clflush (%rsi) add $20323, %r12 mov ...
; A092366: Coefficient of x^n in expansion of (1+n*x+n*x^2)^n. ; Submitted by Jamie Morken(w4) ; 1,1,8,81,1120,19375,400896,9630411,262955008,8032730715,271175200000,10017828457483,401738097475584,17371952344599385,805429080795852800,39844314853048828125,2094272851244149112832,116526044312704751752451,68409741328245215...
#include "world.h" #include <zenload/zCMesh.h> #include <fstream> #include <functional> #include <Tempest/Log> #include <Tempest/Painter> #include "gothic.h" #include "focus.h" #include "resources.h" #include "game/serialize.h" #include "graphics/skeleton.h" using namespace Tempest; World::World(GameSession& game,...
.byte $01 ; Unknown purpose .byte OBJ_BUZZYBEATLE, $0A, $17 .byte OBJ_PATOOIE, $10, $16 .byte OBJ_GREENPIRANHA, $2C, $12 .byte OBJ_PARAGOOMBA, $3E, $10 .byte OBJ_PARAGOOMBAWITHMICROS, $40, $10 .byte OBJ_PARAGOOMBA, $42, $10 .byte OBJ_PARAGOOMBAWITHMICROS, $44, $10 .byte OBJ_PARAGOOMBA, $46, $10 .byte OBJ_PAR...
; A022341: Odd Fibbinary numbers; also 4*Fibbinary(n) + 1. ; Submitted by Christian Krause ; 1,5,9,17,21,33,37,41,65,69,73,81,85,129,133,137,145,149,161,165,169,257,261,265,273,277,289,293,297,321,325,329,337,341,513,517,521,529,533,545,549,553,577,581,585,593,597,641,645,649,657,661,673,677,681,1025,1029,1033,1041,104...
; PPU registers ; http://wiki.nesdev.com/w/index.php/PPU_registers PPUCTRL = $2000 PPUMASK = $2001 PPUSTATUS = $2002 OAMADDR = $2003 OAMDATA = $2004 PPUSCROLL = $2005 PPUADDR = $2006 PPUDATA = $2007 OAMDMA = $4014 ; APU registers ; http://wiki.nesdev.com/w/index.php/APU APU_SQUARE1_ENVELOPE = $4000 APU_SQUARE1_PER...
; A197916: Related to the periodic sequence A171654. ; 0,1,6,7,2,3,8,9,4,5,10,11,6,7,12,13,8,9,14,15,10,11,16,17,12,13,18,19,14,15,20,21,16,17,22,23,18,19,24,25,20,21,26,27,22,23,28,29,24,25,30,31,26,27,32,33,28,29,34,35,30,31,36,37,32,33,38,39 mov $1,$0 mov $2,$0 add $2,4 mov $3,$0 add $3,4 lpb $0 sub $3,$1 add $...
/**************************************************************************** * * Copyright (c) 2012-2019 PX4 Development Team. 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. Red...
; ; Copyright (C) 2019 Intel Corporation. All rights reserved. ; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ; .386 .model flat .code _invokeNative PROC push ebp mov ebp,esp mov ecx, [ebp+16] ; ecx = argc */ mov edx, [ebp+12] ; edx = argv */ ...
; A294970: Numerators of the partial sums for the Catalan constant A006752: Sum_{k=0..n} ((-1)^k)/(2*k+1)^2, n >= 0. ; Submitted by Christian Krause ; 1,8,209,10016,91369,10956424,1863641881,1854623872,538015351033,193637145687688,194117166024913,102476291858462752,2566386635039604121,23062916917686411464,1942110940727...
; A088689: Jacobsthal numbers modulo 3. ; 0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1 mov $1,$0 gcd $0,2 mul $1,$0 mod $1,3
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <Siv3D/Image.hpp> # in...
; Copyright (c) Teemu Suutari bits 32 [section .text.onekpaq.cfunc32] %ifidn __OUTPUT_FORMAT__, elf32 global onekpaq_decompressor_mode%[ONEKPAQ_DECOMPRESSOR_MODE]_shift onekpaq_decompressor_mode%[ONEKPAQ_DECOMPRESSOR_MODE]_shift: equ onekpaq_decompressor.shift global onekpaq_decompressor_mode%[ONEKPAQ_DECOMPRESSO...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; gfx functions ; ; put byte into the display at offset ; ; void ozdisplayputbyte(int offset, char byte); ; ; ; ------ ; $Id: ozdisplayputbyte.asm,v 1.2 2015/01/19 01:33:01 pauloscustodio Exp $ ; ...
#if !defined(h_ebd0ee89_622d_4af1_9a9d_d0e057debe86) #define h_ebd0ee89_622d_4af1_9a9d_d0e057debe86 #include <log4cpp/LayoutAppender.hh> #include <log4cpp/TriggeringEventEvaluator.hh> #include <list> #include <memory> LOG4CPP_NS_BEGIN class LOG4CPP_EXPORT BufferingAppender : public LayoutAppender { public: Buffer...
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_dkud4_Font07 _ff_dkud4_Font07: BINARY "font/fzx/fonts/dkud4/Font07/font07.fzx"
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once namespace armnn { class TensorShape; class TensorInfo; class Tensor; class ConstTensor; }
; A001860: Number of series-reduced planted trees with n+9 nodes and 4 internal nodes. ; 0,3,12,29,57,99,157,234,333,456,606,786,998,1245,1530,1855,2223,2637,3099,3612,4179,4802,5484,6228,7036,7911,8856,9873,10965,12135,13385,14718,16137,17644,19242,20934,22722,24609,26598,28691,30891,33201,35623,38160,40815,43590,4648...
.size 8000 .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(24), a ldff(25), a ldff(26), a ld a, 80 ldff(26), a ld b, 05 ld c, 07 lwaitbegin: dec b jrnz lwaitbegin dec c jrnz lwaitbegin nop nop nop nop ld a, 20 ldff(10), a ld a, f0 ldff(12), a ld a, 00 ldff(13), a ld a, 87 l...
; A033402: [ 82/n ]. ; 82,41,27,20,16,13,11,10,9,8,7,6,6,5,5,5,4,4,4,4,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0 add $0,1 mov $1,82 div $1,$0
; A204427: Infinite matrix: f(i,j)=(2i+j+2 mod 3), read by antidiagonals. ; 2,0,1,1,2,0,2,0,1,2,0,1,2,0,1,1,2,0,1,2,0,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,1,2,0,1,2,0,1,2,0,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,1,2,0,1,2,0,1,2,0,1,2,0,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1 seq $0,131421 ; Triangle read by rows (n>=1, ...
; ; Plot pixel at (x,y) coordinate. SECTION code_clib PUBLIC w_plotpixel EXTERN __fp1100_mode defc NEEDplot = 1 .w_plotpixel ld a,(__fp1100_mode) bit 1,a jr z,hires ld h,l ld l,e INCLUDE "gfx/gencon/pixel.inc" hires: INCLUDE "w_pixel.in...
.MODEL SMALL .STACK 100H .DATA A DB "ODD$" B DB "EVEN$" .CODE MAIN PROC MOV AX,@DATA MOV DS,AX MOV AH,1 INT 21H MOV BL,AL CMP BL,'1' JE ODD CMP BL,'3' JE ODD CMP BL, '2' JE EVEN CMP BL,'4' JE EVEN ODD: MOV...
; Palate flip (PAL OPCode Test) by Refraction ; ; r0 = Scratchpad ; r1 = Scratchpad ; r2 = Scratchpad ; r3 = Player Lives ; r4 = Scratchpad ; r5 = General Purpose (Random number destination) ; r6 = Frame counter ; r7 = Spawn Timer ; r8 = memory address for current data (sprite/position information) ; r9 = current alien...
class Solution { public: double findMedianSortedArrays (std::vector<int> &nums1, std::vector<int> &nums2) { if (nums1.empty() || nums2.empty()) { auto &nums_nonempty {(nums2.empty()) ? nums1 : nums2}; if (nums_nonempty.size() & 1) { return nums_nonempty[nums_nonempty.size() / 2]; ...
SECTION code_clib SECTION code_l_sccz80 PUBLIC l_mult PUBLIC l_mult_u PUBLIC l_mult_0 ; Entry: hl = value1 ; de = value2 ; Exit: hl = value1 * value2 .l_mult .l_mult_u ld bc,hl .l_mult_0 defb 0xf7 ; mul : hlbc = bc * de ld hl,bc ret
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %rax push %rbp push %rbx push %rcx // Store lea addresses_normal+0x1cc52, %rbp nop nop nop nop and %r13, %r13 mov $0x5152535455565758, %rcx movq %rcx, %xmm3 vmovups %ymm3, (%rbp) nop nop and %r...
SECTION code_l_sdcc PUBLIC __mulint GLOBAL l_mul16 __mulint: ld hl,sp+2 ld e,(hl) inc hl ld d,(hl) inc hl ld a,(hl+) ld h,(hl) ld l,a ;; Parameters: ;; HL, DE (left,...
; int __CALLEE__ vfprintf_callee(FILE *stream, const char *format, void *arg_ptr) ; 05.2008 aralbrec PUBLIC vfprintf_callee EXTERN stdio_outchar, stdio_atou, jumptbl_printf, stdio_nextarg, stdio_error_eacces_mc, stdio_error_mc PUBLIC ASMDISP_VFPRINTF_CALLEE, LIBDISP_VFPRINTF_CALLEE INCLUDE "../stdio.def" .vfprintf_c...
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...