text
stringlengths
1
1.05M
; A265021: Sum of fifth powers of the first n even numbers. ; 0,32,1056,8832,41600,141600,390432,928256,1976832,3866400,7066400,12220032,20182656,32064032,49274400,73574400,107128832,152564256,213030432,292265600,394665600,525356832,690273056,896236032,1151040000,1463540000,1843744032,2302909056,2853640832,3509997600,4...
.386 .model flat, stdcall option casemap :none include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\masm32.inc includelib \masm32\lib\kernel32.lib includelib \masm32\lib\masm32.lib .data BadText db "Error: Sum is incorrect value", 0 GoodText ...
// % copyleft % // // 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 of // conditions and the foll...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2013, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
/**************************************************************************** ** Copyright (C) 2001-2013 RibbonSoft, GmbH. All rights reserved. ** Copyright (C) 2001 Robert J. Campbell Jr. ** ** This file is part of the dxflib project. ** ** This file is free software; you can redistribute it and/or modify ** it under ...
#include "Opponent.hpp" void Opponent::initAnyVar() { // переменные float sE = rand() % 10 + 1; // переменная для разной скорости this->pointEnemyCount = rand() % 21 + 5; // здоровье врага (от 4 до 12) this-> typeEnemy = 0; // тип фигуры врага this-> speedEnemy = sE / 10; // скорость движения врага this-> health...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_FPU_PE|FLAG_FPU_C1 ;TEST_FILE_META_END ; set up st0 to be 3.141593 FLD1 FLDPI ;TEST_BEGIN_RECORDING FDIV st0, st1 mov edi, 0 ;TEST_END_RECORDING
copyright zengfr site:http://github.com/zengfr/romhack 0015FC move.w A0, -(A4) [base+314] 0015FE move.w A4, ($314,A5) [base+7BA, base+7BC, base+7BE] 05DFAE bsr $5e0be [base+7BA, base+7BC, base+7BE] copyright zengfr site:http://github.com/zengfr/romhack
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2015-2017 The ALQO developers // Copyright (c) 2017-2018 The cobrax developers // Distributed under the MIT softwar...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Item (Sample PC GEOS application) FILE: user.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Eric 6/1/92 Initial version ...
; ; ; ZX Maths Routines ; ; 21/03/03 - Stefano Bodrato ; ; $Id: cosh.asm,v 1.5 2016-06-22 19:59:18 dom Exp $ ; ; ;double cosh(double) ;Number in FA.. ; e = exp(x) ; ; return 0.5*(e+1.0/e) ; ; IF FORzx INCLUDE "zxfp.def" ENDIF IF FORzx81 INCLUDE "81fp.def" ENDIF IF FORlambda INCLUDE "lambdaf...
PUBLIC SCAN DSEG SEGMENT PARA PUBLIC 'DATA' ENT DB '>> $' NLINE DB 10, 13, '$' DSEG ENDS CSEG SEGMENT PARA PUBLIC 'CODE' ASSUME CS:CSEG SCAN PROC NEAR MOV AH, 9 MOV DX, OFFSET ENT INT 21H XOR BX, BX XOR CX, CX INPUT_LOOP: MOV AH, 8 INT 21H CMP AL, 13 JE INPUT_END CMP AL,...
// Driver program to test matrix-vector multiplication from c #include <cstdio> #include <omp.h> //void DGEMV(char *trans, const int *m, const int *n, const double *alpha, // const double *a, const int *lda, const double *x, const int *incx, // const double *beta, double *y, const int *incy); typede...
/********************************************************************************** * MIT License * * Copyright (c) 2018 Antoine Beauchamp * * 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 So...
; 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...
; A031914: a(n) = prime(10*n - 6). ; Submitted by Simon Strandgaard ; 7,43,89,139,193,251,311,373,433,491,569,619,683,757,827,887,971,1033,1097,1181,1249,1307,1423,1481,1549,1609,1693,1759,1861,1931,2003,2083,2143,2243,2311,2383,2459,2551,2657,2707,2777,2851,2939,3023,3119,3209,3301,3361,3461,3533,3607,3677,3767,3851,3...
; A059009: Numbers having an odd number of zeros in their binary expansion. ; 0,2,5,6,8,11,13,14,17,18,20,23,24,27,29,30,32,35,37,38,41,42,44,47,49,50,52,55,56,59,61,62,65,66,68,71,72,75,77,78,80,83,85,86,89,90,92,95,96,99,101,102,105,106,108,111,113,114,116,119,120,123,125,126,128,131,133,134,137,138,140,143,145,146,1...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xfc2, %rax nop nop sub $63843, %rdx movups (%rax), %xmm3 vpextrq $1, %xmm3, %rbp nop nop dec %r10 lea addresses_D_ht+0x124da, %r14 nop nop nop nop nop dec %rax movl $0x61...
%use smartalign bits 16 alignmode nop, 32 add ax,ax align 32 alignmode generic, 32 add ax,ax align 32 alignmode k7, 32 add ax,ax align 32 alignmode k8, 32 add ax,ax align 32 alignmode p6, 32 add ax,ax align 32 add ecx,ecx align 32 add edx,edx align 128 add ebx,ebx align 256 add esi,esi al...
db 0 ; species ID placeholder db 45, 60, 30, 65, 80, 50 ; hp atk def spd sat sdf db DARK, FIRE ; type db 120 ; catch rate db 114 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F0 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/houndour/fro...
copyright zengfr site:http://github.com/zengfr/romhack 00121E subq.b #1, ($2f,A6) 001222 bne $1278 [enemy+2F, etc+2F, item+2F] 001380 subq.b #1, ($2f,A6) 001384 bne $1278 [enemy+2F] 034232 move.b #$1, ($2f,A6) 034238 cmpi.b #$e, ($7,A6) [enemy+2F] 03471A beq $34728 034728 subq.b #1, ($80,A6...
#ifdef UTILS_OS_LINUX class mystream : public std::streambuf { protected: virtual std::streamsize xsputn(const char *s, std::streamsize n) override { mexPrintf("%.*s", n, s); mexEvalString("drawnow;"); return n; } virtual int overflow(int c=EOF) override { if (c != EOF) { mexPrintf("%.1s", &c); } retu...
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rdi push %rdx lea addresses_normal_ht+0x1efd3, %r8 clflush (%r8) nop nop nop nop nop cmp $64371, %rdi movl $0x61626364, (%r8) xor $11520, %rdx pop %rdx pop %rdi pop %r8 ret .global s_faulty_load s_faulty_load: push %r11 push %r15 push %r8 push %rcx push %...
; A163323: The 4th Hermite Polynomial evaluated at n: H_4(n) = 16n^4 - 48n^2 + 12. ; 12,-20,76,876,3340,8812,19020,36076,62476,101100,155212,228460,324876,448876,605260,799212,1036300,1322476,1664076,2067820,2540812,3090540,3724876,4452076,5280780,6220012,7279180,8468076,9796876,11276140,12916812,14730220,16728076,1892...
; A026024: Expansion of 1/((1-2x)(1-5x)(1-9x)(1-10x)). ; Submitted by Jon Maiga ; 1,26,443,6280,80481,969126,11196103,125634740,1380061661,14917299826,159239422563,1683073423200,17647253908441,183823250672126,1904399083525823,19639540889107660,201755613688828821 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov $0,$3 sub $2...
page ,132 TITLE uiword.asm - Low level code for delineating words ;*** ;uiword.asm ; ; Copyright <C> 1985-1988, Microsoft Corporation ; ;Purpose: ; Interface between CW and and QB for determining characters ; delineating words. Contains tables and code that define ; character set allowed in generic words, and BASIC...
; A056220: a(n) = 2*n^2 - 1. ; -1,1,7,17,31,49,71,97,127,161,199,241,287,337,391,449,511,577,647,721,799,881,967,1057,1151,1249,1351,1457,1567,1681,1799,1921,2047,2177,2311,2449,2591,2737,2887,3041,3199,3361,3527,3697,3871,4049,4231,4417,4607,4801,4999,5201,5407,5617,5831,6049,6271,6497,6727,6961,7199,7441,7687,7937,81...
#include <algorithm> #include <numeric> #include <cstdlib> #include <cstring> #include <sstream> #include <string> #include "dxgi_adapter.h" #include "dxgi_factory.h" #include "dxgi_output.h" #include "dxgi_swapchain.h" #include "../dxvk/dxvk_format.h" namespace dxvk { DxgiOutput::DxgiOutput( const Com<Dx...
; A072334: Decimal expansion of e^2. ; 7,3,8,9,0,5,6,0,9,8,9,3,0,6,5,0,2,2,7,2,3,0,4,2,7,4,6,0,5,7,5,0,0,7,8,1,3,1,8,0,3,1,5,5,7,0,5,5,1,8,4,7,3,2,4,0,8,7,1,2,7,8,2,2,5,2,2,5,7,3,7,9,6,0,7,9,0,5,7,7,6,3,3,8,4,3,1,2,4,8,5,0,7,9,1,2,1,7,9,4 mov $1,1 mov $2,1 mov $3,$0 mul $3,5 add $3,3 lpb $3 mul $1,2 mul $2,$3 ad...
; A051743: a(n) = (1/24)*n*(n + 5)*(n^2 + n + 6). ; 2,7,18,39,75,132,217,338,504,725,1012,1377,1833,2394,3075,3892,4862,6003,7334,8875,10647,12672,14973,17574,20500,23777,27432,31493,35989,40950,46407,52392,58938,66079,73850,82287,91427,101308,111969,123450,135792,149037,163228,178409,194625,211922,230347,249948,270774...
;; ;; 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...
SECTION code_fp_math32 PUBLIC cos_fastcall EXTERN _m32_cosf defc cos_fastcall = _m32_cosf ; SDCC bridge for Classic IF __CLASSIC PUBLIC _cos_fastcall defc _cos_fastcall = _m32_cosf ENDIF
; A126995: a(n) = binomial(prime(n+2), 3). ; 1,10,35,165,286,680,969,1771,3654,4495,7770,10660,12341,16215,23426,32509,35990,47905,57155,62196,79079,91881,113564,147440,166650,176851,198485,209934,234136,333375,366145,419220,437989,540274,562475,632710,708561,762355,848046,939929,971970,1143135,1179616,1254890,1293699,...
addi $t0, $zero, 10 addi $t1, $zero, 5 addi $s0, $zero, 20 addi $s1, $zero, 20 sw $t0, 0($s0) lw $t1, 0($s0) lw $t3, 4($s0) addi $t3, $zero, 12 addi $t4, $t0, 20 sw $t3, 0($s0) sw $t5, 100($s0) addi $t1, $t0, 1 addi $t2, $t4, 20
; A164510: First differences of A071904 (Odd composite numbers). ; Submitted by Jon Maiga ; 6,6,4,2,6,2,4,6,4,2,4,2,6,2,4,6,2,4,4,2,4,2,2,4,6,6,4,2,2,2,2,2,4,4,2,6,2,2,2,6,2,4,2,4,4,2,4,2,6,2,2,2,6,6,2,2,2,2,4,2,2,2,2,4,6,4,2,6,2,2,2,4,2,4,2,4,2,6,2,4,6,2,2,2,4,2,2,2,2,2,4,6,4,2,2,2,2,2,4,2 add $0,1 seq $0,196274 ; Ha...
/*****************************************************************************\ * * Module Name Context Creation Demo * Project Radeon ProRender rendering tutorial * * Description Radeon ProRender SDK tutorials * * Copyright(C) 2011-2021 Advanced Micro Devices, Inc. All rights reserved. * \***********...
; A029929: a(n) = n*(n + ceiling(2^n/12)). ; 0,2,6,12,24,40,72,126,240,468,960,2002,4248,9048,19320,41190,87648,185980,393552,830490,1748040,3670464,7690056,16078702,33555024,69905700,145403232,301990626,626350200,1297438888,2684355480,5547667062,11453247168,23622321228,48676297200,100215904810,206158431528,42377010792...
; A135099: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n^3 if n is even. ; Submitted by Jamie Morken(s2) ; 1,9,252,316,3441,3657,20464,20976,80025,81025,242076,243804,615097,617841,1377216,1381312,2801169,2807001,5283100,5291100,9375201,9385849,15822192,15836016,25601641,25619217,39968124,39990076,60501225,60...
; A059550: Beatty sequence for 1 + log(10). ; 3,6,9,13,16,19,23,26,29,33,36,39,42,46,49,52,56,59,62,66,69,72,75,79,82,85,89,92,95,99,102,105,108,112,115,118,122,125,128,132,135,138,142,145,148,151,155,158,161,165,168,171,175,178,181,184,188,191,194,198,201,204,208,211,214,217,221,224,227,231,234,237,241,244,247,250,254...
mov ax, 0x3f add bx, ax add cx, ax
D = A @555 M = D @30000 D = A @4 M = D (LIP) @0 D = A @1 M = D @20000 D = A @2 M = D @10 D = A @3 M = D (LOOP) @1 M = M + 1 @2 D = M @3 D = D - M @2 M = D @2 D = M @LOOP D ;JGT @26577 D = A @1 D = D - M @4 D = D - M @6 M = D @2001 D = A @1 D = D - M @4 D = D - M @7 M = D @28865 D = A @1 D = D - M @4 D = D - M @555 D =...
EXTERN thunks:PTR QWORD .code ; The number of exports here must match the EXPORT_COUNT value in ExcelDna.h f0 PROC EXPORT jmp thunks + 0 * 8 f0 ENDP f1 PROC EXPORT jmp thunks + 1 * 8 f1 ENDP f2 PROC EXPORT jmp thunks + 2 * 8 f2 ENDP f3 PROC EXPORT jmp thunks + 3 * 8 f3 ENDP f4 PROC EXPORT jmp thunks + 4 * 8...
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; ssdt asm stub for 6.1.7601-sp1-windows-7 amd64 option casemap:none option prologue:none option epilogue:none .code ; ULONG64 __stdcall NtMapUserPhysicalPagesScatter( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtMapUserPhysicalPagesScatter PROC ST...
; A025791: Expansion of 1/((1-x)(1-x^9)(1-x^10)). ; 1,1,1,1,1,1,1,1,1,2,3,3,3,3,3,3,3,3,4,5,6,6,6,6,6,6,6,7,8,9,10,10,10,10,10,10,11,12,13,14,15,15,15,15,15,16,17,18,19,20,21,21,21,21,22,23,24,25,26,27,28,28,28,29 mov $3,$0 add $3,1 mov $4,$0 lpb $3 mov $0,$4 mov $2,0 sub $3,1 sub $0,$3 sub $2,$0 mov $5,0 ...
; A081490: Leading term of n-th row of A081491. ; 1,2,4,9,19,36,62,99,149,214,296,397,519,664,834,1031,1257,1514,1804,2129,2491,2892,3334,3819,4349,4926,5552,6229,6959,7744,8586,9487,10449,11474,12564,13721,14947,16244,17614,19059,20581,22182,23864,25629,27479,29416,31442,33559,35769,38074,40476,42977,45579,48284,51094...
// <Snippet1> #using <System.Runtime.Remoting.dll> #using <System.dll> using namespace System; using namespace System::Runtime::Remoting; using namespace System::Runtime::Remoting::Channels; using namespace System::Runtime::Remoting::Channels::Tcp; public ref class HelloServer: public MarshalByRefObject { ...
; prints a zero terminated string [bits 16] ; force 16 bit code for real mode print_cstring: ; ax - string address ; save registers push ax push bx mov bx, ax ; move address in bx mov ax, [bx] ; load character in ax .loop: call print_char ; print character inc bx ; address of next character mov ax, [bx]...
; A267046: Number of ON (black) cells in the n-th iteration of the "Rule 91" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by Jamie Morken(s1) ; 1,2,2,4,5,8,5,12,5,16,5,20,5,24,5,28,5,32,5,36,5,40,5,44,5,48,5,52,5,56,5,60,5,64,5,68,5,72,5,76,5,80,5,84,5,88,5,92,5,96,5,100,5,104,5,108...
%include "D:/GGOS/Source/Assembly/settings.asm" [ORG 0x7C00] ;mov ah, 02 ;mov al, 01 ;CX := ((CYLINDER AND 255)SHL 8) OR ((CYLINDER AND 768) SHR 2) OR SECTOR; ;xor cx, cx ;or cx, 02 ;mov dh, 0 ;mov bx, 0x500 ;mov es, bx ;xor bx, bx mov ah, 42h xor bx, bx mov ds, bx mov si, DAP int 13h cmp ah, 0 je BOOTADD hang: j...
PlateItems: db DRACO_PLATE, DRAGON db DREAD_PLATE, DARK db EARTH_PLATE, GROUND db FIST_PLATE, FIGHTING db FLAME_PLATE, FIRE db ICICLE_PLATE, ICE db INSECT_PLATE, BUG db IRON_PLATE, STEEL db MEADOW_PLATE, GRASS db MIND_PLATE, PSYCHIC db SKY_PLATE, FLYING db SPLASH_PLATE, WATER db SPOOKY_PLATE, ...
db 0 ; species ID placeholder db 135, 85, 40, 5, 40, 85 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 50 ; catch rate db 78 ; base exp db LEFTOVERS, LEFTOVERS ; items db GENDER_F12_5 ; gender ratio db 40 ; step cycles to hatch INCBIN "gfx/pokemon/munchlax/front.dimensions" db GROWTH_SLO...
; strncpy function for use with far pointers ; 31/3/00 GWL ; ; $Id: strncpy_far.asm,v 1.2 2001/04/18 14:59:40 stefano Exp $ ; LIB farseg1,incfar XLIB strncpy_far ;far *strncpy(far *s1,far *s2,int n) ; copies s2 to s1 for exactly n chars, padding with nulls or truncating .strncpy_far...
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <unity/lib/toolkit_function_macros.hpp> #include <unity/toolkits/feature_engineering/conten...
; A010619: Decimal expansion of cube root of 48. ; Submitted by Christian Krause ; 3,6,3,4,2,4,1,1,8,5,6,6,4,2,7,9,3,1,7,7,8,2,4,2,3,5,1,2,6,5,4,5,2,1,0,0,4,8,5,6,4,2,0,9,2,6,2,8,2,4,3,9,3,4,2,9,6,2,6,6,8,5,9,5,8,6,2,6,1,9,4,7,8,9,1,8,6,0,3,7,3,1,2,9,4,2,8,3,4,0,8,2,5,2,8,3,4,1,4,4 mov $1,-7 mov $3,$0 mul $3,4 lpb $3 ...
; void *obstack_alloc(struct obstack *ob, size_t size) SECTION code_alloc_obstack PUBLIC obstack_alloc EXTERN asm_obstack_alloc obstack_alloc: pop af pop bc pop hl push hl push bc push af jp asm_obstack_alloc
; A281787: a(n) = sum of all numbers between 1 and 10^n that are divisible by 3 or 5. ; 23,2318,233168,23331668,2333316668,233333166668,23333331666668,2333333316666668,233333333166666668,23333333331666666668,2333333333316666666668,233333333333166666666668,23333333333331666666666668,2333333333333316666666666668,23333333...
@32767 D=A @100 A=D+A 0;JMP
/* * Copyright 2021 Google LLC. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/sksl/DSLSymbols.h" #include "include/private/SkSLSymbol.h" #include "include/sksl/SkSLPosition.h" #include "src/sksl/SkSLCompiler.h" #include "src/sksl/SkSL...
//#include "primitives.hpp" #include "rtrenderer.hpp" void RTR::Window::draw_line( int x1, int y1, int x2, int y2) { #ifdef USING_SDL SDL_RenderDrawLine(renderer, x1, y1, x2, y2); #else if(x1 == x2) { if(y1 > y2) std::swap(y1, y2); for(int y = y1; y <= y2...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2018 ArangoDB GmbH, Cologne, Germany /// /// 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...
global setjmp global _setjmp global longjmp global _longjmp ; HEAVILY INSPIRED IN LIBMUSL ; int setjmp(jmp_buf env); ; env -> [esp+4] _setjmp: setjmp: mov eax, [esp+4] ; load the jmp_buf buffer into eax ; now store caller saved regs into the buffer mov [eax+0], ebx mov [eax+4], esi mov [eax+8], edi mov ...
lui $1,22077 ori $1,$1,20245 lui $2,64674 ori $2,$2,8539 lui $3,35519 ori $3,$3,32850 lui $4,55575 ori $4,$4,38373 lui $5,25713 ori $5,$5,20581 lui $6,34572 ori $6,$6,44794 mthi $1 mtlo $2 sec0: nop nop nop addu $4,$6,$2 sec1: nop nop or $2,$3,$3 addu $1,$6,$2 sec2: nop nop andi $2,$2,2405 addu $3,$6,$2 sec...
#ifndef __tlab_member_func_ptr_h__ #define __tlab_member_func_ptr_h__ namespace tlab{ template < typename C , typename S > class member_func_ptr; template < typename C , typename R , typename ... Ts> class member_func_ptr<C , R (Ts...)>{ public: using return_type = R; using class...
; A176718: Partial sums of A004207. ; Submitted by Jon Maiga ; 1,2,4,8,16,32,55,83,121,170,232,302,379,470,571,674,781,896,1018,1145,1282,1430,1591,1760,1945,2144,2362,2591,2833,3083,3340,3611,3892,4184,4489,4802,5122,5447,5782,6128,6487,6863,7255,7661,8077,8504,8944,9392 mov $4,$0 mov $6,$0 add $6,1 lpb $6 mov $0,$...
; void __CALLEE__ ldiv_callee(ldiv_t *d, long num, long denom) ; 12.2006 aralbrec XLIB ldiv_callee LIB l_long_div .ldiv_callee ; setup for l_long_div: dehl = denom, stack = num pop af ex af,af ; af' = return address pop hl pop de call l_long_div ; dehl = q, de'hl' = r ...
#include "ETpch.h" #include "Shader.h" #include "Renderer.h" #include "Platform/OpenGL/OpenGLShader.h" namespace Eternal { SharedPtr<Shader> Shader::Create(const std::string& filepath) { switch (Renderer::GetAPI()) { case RendererAPI::API::None: ET_CORE_ASSERT(false, "RendererAPI::None is not supported!...
//////////////////////////////////////////////////////////////////////////////////////// //...................................................................................... // This is a part of AI Library [Arthur's Interfaces Library]. . // 1998-2001 Arthur Amshukov ...
// // ClassLoaderTest.cpp // // $Id: //poco/1.4/Foundation/testsuite/src/ClassLoaderTest.cpp#1 $ // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and ac...
// Copyright (c) Glyn Matthews 2012. // Copyright 2012 Dean Michael Berris <dberris@google.com> // Copyright 2012 Google, Inc. // 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) #ifndef NETWORK_URI_BUI...
; =============================== ; == XC-BASIC3 Runtime Library == ; =============================== ; Import a subrutine using this macro otherwise ; it won't get compiled into the final source MAC import {1},"_IMPORTED" SET 1 ENDM ; Pseudo-registers on zeropage INCLUDE "core/zp/psregs.asm" ; Basic stack o...
BITS 64 extern printf extern get_max section .data arr: dd 19, 7, 129, 87, 54, 218, 67, 12, 19, 99 len: equ $-arr print_format: db "max: %u", 13, 10, 0 section .text global main main: push rbp mov rbp, rsp ; Compute length in eax. ; Divide by 4 (we are using integer data type of 4 byte...
; A261012: Sign(n) (with offset -1): a(n) = 1 if n>0, = -1 if n<0, = 0 if n = 0. ; -1,0,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,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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 sub $0,2 clr $0,$0 mov ...
; ; Small C z88 stdlib functions ; ; Return absolute value of long ; ; ----- ; $Id: labs_callee.asm,v 1.1 2007/01/10 08:17:06 aralbrec Exp $ XLIB labs_callee LIB l_long_neg XDEF ASMDISP_LABS_CALLEE .labs_callee pop af pop hl pop de push af .asmentry bit 7,d ret z jp l_long_neg DEFC ASM...
; A138890: Non-Padovan numbers. ; 6,8,10,11,13,14,15,17,18,19,20,22,23,24,25,26,27,29,30,31,32,33,34,35,36,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,74 mov $1,5 mov $2,$0 mul $2,2 mov $4,$0 add $4,3 lpb $2,1 add $3,$4 lpb $4,1 add $3,1 mov $4,$1 ...
icl '../os/symbols.asm' org BOOTADDR lda #1 sta ROS7 lda #0 ldx #OS_SET_VIDEO_MODE jsr OS_CALL next_frame: lda FRAMECOUNT wait: cmp FRAMECOUNT beq wait jsr keybscan jmp next_frame keybscan: adw DISPLAY_START #(18 + 4*40) DST_ADDR lda #0 sta KSTAT next_reg: mwa DST_ADDR VADDRW l...
stm8/ .tab 0,8,16,60 #include "player.inc" #include "variables.inc" #include "characterrom.inc" #include "screenhelper.inc" #include "constants.inc" segment 'ram1' saved_shields ds.b shield_size col_x ds.b 1 segment 'rom' shields_line_length EQU 20 shields_line_one dc.b $00,$01,$02,$23,$23,$06,$07,$08,$09,$23...
; A198447: Number of 2n X 2 0..2 arrays with values 0..2 introduced in row major order and each element unequal to exactly two horizontal and vertical neighbors. ; 3,13,71,433,2763,17941,117263,768313,5038611,33054493,216872663,1422982081,9336876123,61264171813,401987528351,2637661006153,17307148601763,113561761317421,...
#include "hphp/runtime/ext/icu/ext_icu_collator.h" #include "hphp/runtime/base/builtin-functions.h" #include "hphp/runtime/base/zend-collator.h" #include "hphp/runtime/base/zend-qsort.h" namespace HPHP { namespace Intl { ///////////////////////////////////////////////////////////////////////////// // class Collator e...
#include "addressbookpage.h" #include "ui_addressbookpage.h" #include "addresstablemodel.h" #include "optionsmodel.h" #include "Ocoingui.h" #include "editaddressdialog.h" #include "csvmodelwriter.h" #include "guiutil.h" #include <QSortFilterProxyModel> #include <QClipboard> #include <QMessageBox> #includ...
/*************************************************************************/ /* */ /* LD-CELP G.728 */ /* */ /* Low-Delay ...
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: dleq.asm,v 1.6 2016/06/22 19:50:49 dom Exp $ ; SECTION code_fp INCLUDE "cpcfirm.def" INCLUDE "cpcfp.def" PUBLIC dleq PUBLIC dleqc EXTERN fsetup EXTERN stkequcmp EXTERN cmpfin .dleq call ...
;; Global Descriptor Table ;; It contains entries telling the CPU about memory segments ;; http://wiki.osdev.org/Global_Descriptor_Table [bits 16] gdt_start: gdt_null: dd 0x0 dd 0x0 ;; Kernel Code Segment gdt_kernel_code: dw 0xFFFF dw 0x0 db 0x0 db 10011010b db 11001111b db 0x0 ;; Kernel Data Segment gdt_ke...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1c60, %rax nop sub $48666, %r15 movw $0x6162, (%rax) nop nop nop nop nop dec %rax lea addresses_WC_ht+0xcf5f, %rsi lea addresses_WC_ht+0x11144, %rdi nop nop nop nop nop xor %r11, %r11...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x18fdf, %r8 clflush (%r8) nop nop nop dec %rbp mov $0x6162636465666768, %r11 movq %r11, %xmm5 vmovups %ymm5, (%r8) nop nop nop and $63638, %r10 lea addresses_UC_ht+0x...
Image.copyRegionWithTransparency : pusha mov eax, [Image.copyRegionWithTransparency.ow] sub eax, [Image.copyRegionWithTransparency.w] ;sub eax, 4 mov [Image.copyRegionWithTransparency.owa], eax mov eax, [Image.copyRegionWithTransparency.nw] sub eax, [Image.copyRegionWithTransparency.w] ;sub eax, 4 mov ...
/*========================================================================= Program: Visualization Toolkit Module: vtkSQLDatabase.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed W...
// // Generated by Microsoft (R) HLSL Shader Compiler 10.1 // // // // Input signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // SV_PrimitiveID 0 x 0 PRIMID uint x // SV_SampleIndex ...
; A017735: Binomial coefficients C(n,71). ; 1,72,2628,64824,1215450,18474840,237093780,2641902120,26088783435,231900297200,1878392407320,14002561581840,96851050941060,625806790696080,3799541229226200,21784036380896880,118450697821126785,613156553427009240,3031718514166879020,14360771909211532200,65341512186912471510,28...
/** * This file is part of ORB-SLAM. * This is a modified version of EPnP <http://cvlab.epfl.ch/EPnP/index.php> including a RANSAC scheme * * Copyright (C) 2014 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) * For more information see <http://webdiis.unizar.es/~raulmur/orbslam/> * * ORB-SLAM is free...
<% from pwnlib.shellcraft.i386 import pushstr %> <% from pwnlib.shellcraft.i386.linux import socket, socketcall %> <% from pwnlib.constants import SYS_socketcall_connect %> <% from pwnlib.util.net import sockaddr %> <%page args="host, port, network='ipv4'"/> <%docstring> Connects to the host on the specified port. Lea...
; ; Copyright (C) 2019 Assured Information Security, Inc. ; ; 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...
; A139614: a(n) = 91*n + 14. ; 14,105,196,287,378,469,560,651,742,833,924,1015,1106,1197,1288,1379,1470,1561,1652,1743,1834,1925,2016,2107,2198,2289,2380,2471,2562,2653,2744,2835,2926,3017,3108,3199,3290,3381,3472,3563,3654,3745,3836,3927,4018,4109,4200,4291,4382,4473,4564,4655,4746,4837,4928,5019,5110,5201,5292,5383,5...
; A265724: Total number of OFF (white) cells after n iterations of the "Rule 1" elementary cellular automaton starting with a single ON (black) cell. ; 0,3,7,10,18,21,33,36,52,55,75,78,102,105,133,136,168,171,207,210,250,253,297,300,348,351,403,406,462,465,525,528,592,595,663,666,738,741,817,820,900,903,987,990,1078,10...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
; A173323: 3*n! - 1. ; 2,2,5,17,71,359,2159,15119,120959,1088639,10886399,119750399,1437004799,18681062399,261534873599,3923023103999,62768369663999,1067062284287999,19207121117183999,364935301226495999,7298706024529919999,153272826515128319999,3372002183332823039999,77556050216654929919999,1861345205199718318079999,46...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lightsail/model/GetKeyPairRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Lightsail::Model; using namespace Aws::Utils::Json; using n...
SECTION "Init", ROM0[$100] Init: nop jp Start SECTION "Main", ROM0[$150] Start: di ld a, $e4 ld [$FF47], a ld A, $10 ; Set joypad to direction only ld [$FF00], a ld a,$93 ld [$FF40],a ; enable lcd ld a, 32 LoadTiles: ld HL, $8010 ld DE, TileData...
; Original address was $BA4C ; 5-4 .word W504_EndL ; Alternate level layout .word W504_EndO ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_140 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_13 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT .byte LEVEL4_BGBANK_INDEX...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x18b85, %r9 nop nop nop nop dec %rbp mov (%r9), %r14d nop nop nop add %rax, %rax lea addresses_WT_ht+0x1901c, %rsi lea addresses_A_ht+0x69c, %rdi nop nop nop nop nop sub %rbp, ...
; test to check removal of repeated instruction: ld a, (ix+6) rlca rlca rlca rlca and a, #07 and a, #07 ld (val), a loop: jr loop val: db 0