text
stringlengths
1
1.05M
#include "cgavatars_plugin.h" #include "cgavatar.h" #include "cgavatardata.h" #include <qqml.h> #include <QQmlContext> void CGAvatarsPlugin::initializeEngine(QQmlEngine *engine, const char *uri) { Q_UNUSED(uri) CGAvatarProvider* provider = new CGAvatarProvider(); engine->rootContext()->setContextProperty("A...
;;############################################################################# ;;! \file source/fft/RFFT_f32.asm ;;! ;;! \brief Real FFT ;;! \author C2000 ;; ;; DESCRIPTION: ;; ;; This function computes a real FFT. The input buffer must be aligned to ;; a multiple of the FFT size. If it is not aligned then th...
# print_array.asm program # CS 64, Z.Matni, zmatni@ucsb.edu # # Don't forget to: # make all arguments to any function go in $a0 and/or $a1 # make all returned values from functions go in $v0 .data # TODO: Write your initializations here .text printA: # TODO: Write your function code here main: # TODO: Wri...
dnl PowerPC-32 mpn_sub_n -- subtract limb vectors. dnl Copyright 2002, 2005 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public License as published dnl ...
; BEGIN_LEGAL ; Intel Open Source License ; ; Copyright (c) 2002-2017 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 retain the ab...
.386p ; COPYRIGHT (c) 1995,99 XDS. All Rights Reserved. ; X2C_HISETs constant array ifdef OS2 .model FLAT endif DGROUP group _DATA public X2C_HISETs ifdef OS2 _DATA segment use32 dword public 'DATA' else _DATA segment ...
Name: ys_mini.asm Type: file Size: 103175 Last-Modified: '2016-05-13T04:50:38Z' SHA-1: 4F3951054A771768F063622D8AA5F40F22FEC417 Description: null
; A103391: 'Even' fractal sequence for the natural numbers: Deleting every even-index term results in the same sequence. ; 1,2,2,3,2,4,3,5,2,6,4,7,3,8,5,9,2,10,6,11,4,12,7,13,3,14,8,15,5,16,9,17,2,18,10,19,6,20,11,21,4,22,12,23,7,24,13,25,3,26,14,27,8,28,15,29,5,30,16,31,9,32,17,33,2,34,18,35,10,36,19,37,6,38,20,39,11,...
ori $ra,$ra,0xf addiu $5,$5,-13046 mthi $5 addu $4,$4,$0 divu $4,$ra divu $2,$ra lb $1,7($0) mflo $1 srav $3,$4,$3 mfhi $1 mfhi $1 addu $2,$5,$2 mfhi $1 addu $0,$3,$3 multu $0,$4 srav $5,$0,$5 mflo $4 sll $5,$5,26 mult $6,$1 mtlo $1 mfhi $4 divu $4,$ra addiu $2,$2,19373 srav $4,$5,$1 sb $3,14($0) addiu $5,$4,5787 addu ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x180a8, %rsi lea addresses_D_ht+0x14ee0, %rdi add $46957, %r12 mov $127, %rcx rep movsq nop nop nop nop nop and $56889, %r11 lea addresses_D_ht+0x103e0, %r9 nop nop nop xor %rbx, %r...
; A049651: a(n) = (F(3*n+1) - 1)/2, where F=A000045 (the Fibonacci sequence). ; 0,1,6,27,116,493,2090,8855,37512,158905,673134,2851443,12078908,51167077,216747218,918155951,3889371024,16475640049,69791931222,295643364939,1252365390980,5305104928861,22472785106426,95196245354567,403257766524696,1708227311453353,72361670...
/* * Copyright (c) Hubert Jarosz. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #ifdef _WIN32 #define TEST_LIB "./test.dll" #else #define TEST_LIB "./test.lib" #endif #include "dynamicLinker.hpp" #include <iostream> #include <memo...
/* * File: StopWatch.cpp * Author: Julian Gaal * From: https://github.com/juliangaal/StopWatch * * Created on 2018-29-06 */ #include "../include/StopWatch.hpp" #include <iostream> using std::pair; using std::chrono::nanoseconds; using std::chrono::microseconds; using std::chrono::milliseconds; using std::chr...
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__wchar_t_malloc_82_bad.cpp Label Definition File: CWE401_Memory_Leak.c.label.xml Template File: sources-sinks-82_bad.tmpl.cpp */ /* * @description * CWE: 401 Memory Leak * BadSource: malloc Allocate data using malloc() * GoodSource: Allocate ...
; A139125: a(0) = 0; a(n) = a(n-1) + binomial( n(n+1)/2, n) mod n. ; Submitted by Jon Maiga ; 0,1,3,5,8,8,12,16,21,21,27,34,41,41,50,58,67,67,77,77,80,80,92,98,111,124,129,129,144,148,164,180,204,204,224,236,255,255,259,297,318,318,340,362,392,392,416,428,453,478,496,496,523,523,568,619,670,670,700 mov $2,$0 mov $3,$0...
; Produce text to label a clicked item, substituting the item's weight or ; bulk in place of its name if the Shift key or Ctrl key, respectively, is held. ; ; The original game did not reveal any information about the bulk of items to ; the player other than by blocking attempts to place items inside of containers ; ha...
TEST START 1000 FIRST STA SHELLAD .FIRST STA RETADR CLOOP JSUB RDREC LDA LENGTH COMP ONE JEQ ENDFIL JSUB WRREC J CLOOP ENDFIL ...
/* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
; A062783: a(n) = 3*n*(4*n-1). ; 0,9,42,99,180,285,414,567,744,945,1170,1419,1692,1989,2310,2655,3024,3417,3834,4275,4740,5229,5742,6279,6840,7425,8034,8667,9324,10005,10710,11439,12192,12969,13770,14595,15444,16317,17214,18135,19080 mov $1,$0 mul $1,12 sub $1,3 mul $0,$1
;------------------------------------------------------------------------------ ;-- Bootloader para Simplez ;------------------------------------------------------------------------------ ;-- (c) BQ. January 2016. Written by Juan Gonzalez (obijuan) ;---------------------------------------------------------------------...
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass ToiletFactory_Frame_05.T...
; A036679: a(n) = n^n - n!. ; Submitted by Christian Krause ; 0,0,2,21,232,3005,45936,818503,16736896,387057609,9996371200,285271753811,8915621446656,302868879571453,11111919647266816,437892582706491375,18446723150919663616,827239906198908668177,39346401672922831847424,1978419534015213180291979,104857597567097991823360...
[org 0x7c00] KernOffs equ 0x7e00 Start: ; Точка входа mov [BootDisk], dl ; Запоминаем устройство, с которого загрузились mov bx, 0x8fc0 ; Настраиваем стэк: 0x9fc00 - 0x10 == 0x9fbf0 == 0x8fc0:fff0 mov ss, bx mov bp, 0xfff0 mov sp, bp mov bx, RealModeStr ; Выводим сообщение call WriteL...
// Tests that mixing types can synthesize a fragment correctly // Commodore 64 PRG executable file .file [name="type-mix.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment ...
; A214630: a(n) is the reduced numerator of 1/4 - 1/A109043(n)^2 = (1 - 1/A026741(n)^2)/4. ; -1,0,0,2,3,6,2,12,15,20,6,30,35,42,12,56,63,72,20,90,99,110,30,132,143,156,42,182,195,210,56,240,255,272,72,306,323,342,90,380,399,420,110,462,483,506,132,552,575,600,156,650,675,702,182,756,783,812,210,870,899,930,240,992,1023...
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ********************************************************************** * Copyright (C) 2001-2011, International Business Machines * Corporation and others. All Rights Reserved. ***********************...
// Copyright (c) 2017 Victhor S. Sartorio. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root. #include "code.hpp" #include "error.hpp" #include "args.hpp" // Empty constructor Code::Code() : code(std::vector<var>()), data(std::vector<std::string>()), entry_point(-1) {}; ...
; ; z88dk RS232 Function ; ; OSCA version ; ; unsigned char rs232_params(unsigned char param, unsigned char parity) ; ; Specify the serial interface parameters ; ; $Id: rs232_params.asm,v 1.3 2016/06/23 20:15:37 dom Exp $ SECTION code_clib PUBLIC rs232_params PUBLIC ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xed4a, %r9 clflush (%r9) nop nop cmp %r12, %r12 movb $0x61, (%r9) nop nop cmp %r12, %r12 lea addresses_UC_ht+0x11f8a, %rdx nop nop cmp $12071, %r14 mov $0x61626364656...
.ORIG x3000 ADD R0 R0 #7 ADD R0 R0 #-3 ADD R1 R1 #7 ADD R2 R2 #-4 ADD R3 R1 R2 HALT
; A099462: Expansion of x/(1 - 4*x^2 - 4*x^3). ; Submitted by Christian Krause ; 0,1,0,4,4,16,32,80,192,448,1088,2560,6144,14592,34816,82944,197632,471040,1122304,2674688,6373376,15187968,36192256,86245376,205520896,489750528,1167065088,2781085696,6627262464,15792603136,37633392640 mov $4,1 lpb $0 sub $0,1 mov $1,...
// Authors: Nathan Carlson // Copyright 2015, DigiPen Institute of Technology #pragma once namespace Zero { OsInt RendererThreadMain(void* rendererThreadJobQueue); class RendererJob { public: virtual ~RendererJob() {} virtual void Execute() = 0; virtual void ReturnExecute() {} }; class Rend...
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; shadowssdt asm stub for 6.1.7601-sp1-windows-7 i386 .686 .mmx .xmm .model flat,stdcall option casemap:none option prologue:none option epilogue:none .code ; ULONG __stdcall NtGdiAbortDoc( ULONG arg_01 ); NtGdiAbortDoc PROC STDCALL arg_01:DWORD mov eax ...
; Copyright 1990 Central Point Software, Inc. ; All rights reserved. ;-------------------------------------------------------------------- ; This is Jim's portion of the program code for REBUILD.COM 4.23+ ; GWD is supporting this, now. ; ; Removed all the dumb stuff regarding 'stand_alone'. GWD. ; Now 'INCLUDEs' the ...
; A017454: a(n) = (11*n + 5)^6. ; 15625,16777216,387420489,3010936384,13841287201,46656000000,128100283921,304006671424,646990183449,1265319018496,2313060765625,4001504141376,6611856250609,10509215371264,16157819263041,24137569000000,35161828327081,50096498540544,69980368892329,96046742518336,129746337890625,1727714657...
; float fmin(float x, float y) __z88dk_callee SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_fmin_callee, l0_cm48_sdccix_fmin_callee EXTERN am48_fmin, cm48_sdccixp_dcallee2, cm48_sdccixp_m482d cm48_sdccix_fmin_callee: call cm48_sdccixp_dcallee2 ; AC'= y ; AC = x l0_cm48_sdccix_fmin_call...
; A073028: a(n) = max{ C(n,0), C(n-1,1), C(n-2,2), ..., C(n-n,n) }. ; Submitted by Christian Krause ; 1,1,1,2,3,4,6,10,15,21,35,56,84,126,210,330,495,792,1287,2002,3003,5005,8008,12376,19448,31824,50388,77520,125970,203490,319770,497420,817190,1307504,2042975,3268760,5311735,8436285,13123110,21474180,34597290,54627300,...
; ================================================================ ; Variables ; ================================================================ if !def(incVars) incVars set 1 SECTION "Variables",wram0 ; ================================================================ ; Global variables ; ===============...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "rpcserver.h" #include "init.h" #include "net.h" #include ...
; A007879: Chimes made by clock striking the hour and half-hour. ; 1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12 mov $1,$0 mod $0,2 mul $1,$0 div $1,2 mov $0,$1 mod $0,12 add $0,1
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/gtest/gtest.h> #include <vespa/searchcore/proton/matching/unpacking_iterators_optimizer.h> #include <vespa/searchcore/proton/matching/querynodes.h> #include <vespa/searchlib/query/tree/quer...
<% from pwnlib.shellcraft import thumb %> <%page args="string, sock='1'"/> <%docstring> Writes a string to a file descriptor Example: >>> run_assembly(shellcraft.echo('hello\n', 1)).recvline() b'hello\n' </%docstring> ${thumb.pushstr(string, append_null=False)} ${thumb.linux.syscall('SYS_write', sock, 'sp',...
; A289203: Number of maximum independent vertex sets in the n X n knight graph. ; 1,1,2,6,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2 lpb $0 sub $0,1 pow $0,2 add $1,$0 trn $0,2 l...
global main:function (main.end - main) ; ------------------------------------------- section .text ; ------------------------------------------- main: mov rdi, 3 mov rax, 60 syscall .end:
; double __FASTCALL__ cosh(double x) SECTION code_fp_math48 PUBLIC cm48_sccz80_cosh EXTERN am48_cosh defc cm48_sccz80_cosh = am48_cosh
; void sms_cls_wc(struct r_Rect8 *r, unsigned int background) SECTION code_clib SECTION code_arch PUBLIC _sms_cls_wc_callee PUBLIC _sms_cls_wc_callee_0 EXTERN asm_sms_cls_wc _sms_cls_wc_callee: pop hl pop bc ex (sp),hl _sms_cls_wc_callee_0: push bc ex (sp),ix call asm_sms_cls_wc pop ...
; A094218: Number of permutations of length n with exactly 2 occurrences of the pattern 2-13. ; 0,0,0,2,25,198,1274,7280,38556,193800,937992,4412826,20309575,91861770,409704750,1806342720,7887861960,34166674800,146977222320,628521016500,2673950235138,11324837666604,47773836727540,200828153398752,841593075785000,3516940...
architecture wdc65816-strict include "../../../src/common/assert.inc" constant a = 0x802000 assertZeroPage(a) // ERROR
; A049453: Second pentagonal numbers with even index: a(n) = n*(6*n+1). ; 0,7,26,57,100,155,222,301,392,495,610,737,876,1027,1190,1365,1552,1751,1962,2185,2420,2667,2926,3197,3480,3775,4082,4401,4732,5075,5430,5797,6176,6567,6970,7385,7812,8251,8702,9165,9640,10127,10626,11137,11660,12195,12742,13301,13872,14455,15050,...
#include "PlayGameScreen.h"
; A274766: Multiplication of pair of contiguous repunits, i.e., (0*1, 1*11, 11*111, 111*1111, 1111*11111, ...). ; 0,11,1221,123321,12344321,1234554321,123456654321,12345677654321,1234567887654321,123456789987654321,12345679010987654321,1234567901220987654321,123456790123320987654321,12345679012344320987654321,123456790...
adc a, ixh ; Error adc a, ixl ; Error adc a, iyh ; Error adc a, iyl ; Error adc ixh ; Error adc ixl ; Error adc iyh ; Error adc iyl ; Error ...
#include <iostream> #include <BoxLib.H> #include <MultiFab.H> #include <MultiFabUtil.H> #include <BLFort.H> #include <MacBndry.H> #include <MGT_Solver.H> #include <mg_cpp_f.h> #include <stencil_types.H> #include <VisMF.H> void solve_with_f90 (PArray<MultiFab>& rhs, PArray<MultiFab>& phi, Array< PArray<MultiFab> >& g...
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Stefano Bodrato 19/7/2007 ; Usage: multipoint(int hv, int length, int x, int y) IF !__CPU_INTEL__ && !__CPU_GBZ80__ SECTION code_graphics PUBLIC multipoint PUBLIC _multipoint EXTERN asm_multipoint INCLUDE "graphics/grafix.inc" .multipo...
<% from pwnlib.shellcraft import thumb %> <%docstring> Execute a different process. >>> p = run_assembly(shellcraft.thumb.linux.sh()) >>> p.sendline('echo Hello') >>> p.recv() b'Hello\n' </%docstring> ${thumb.linux.execve('/bin///sh', 0, 0)}
#include "stdafx.h" #include "sgeom.h" #include "math.h" #include "BaseLib/math/Operator.h" #include "BaseLib/math/Operator_NR.h" bool sgeom_inside_tetrahedron(const vector3 &x, const vector3 &p1, const vector3 &p2, const vector3 &p3, const vector3 &p4, double *b, int *err_code) { double d, d1, d2, d3, d4; matrixn ...
;; ;; Copyright (c) 2012-2020, 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...
; A189709: Partial sums of A189706. ; 0,1,2,2,2,3,3,3,4,4,5,6,6,7,8,8,8,9,9,10,11,11,12,13,13,13,14,14,15,16,16,16,17,17,17,18,18,19,20,20,20,21,21,21,22,22,23,24,24,25,26,26,26,27,27,28,29,29,29,30,30,30,31,31,32,33,33,33,34,34,34,35,35,36,37,37,38,39,39,39,40 mov $2,$0 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 sub $...
global _start section .text _start: jmp short call_shellcode decoder: pop esi ; now contains address of the encoded shellcode xor ecx,ecx mov cl,13 ;13 = 26/2, shellcode is decoded 2bytewise (swap) decode: ;swap first byte (esi) and second byte (esi+1) mov al,[esi] ;load first byte to al inc esi mov ah,...
; A106854: Expansion of 1/(1-x*(1-5*x)). ; 1,1,-4,-9,11,56,1,-279,-284,1111,2531,-3024,-15679,-559,77836,80631,-308549,-711704,831041,4389561,234356,-21713449,-22885229,85682016,200108161,-228301919,-1228842724,-87333129,6056880491,6493546136,-23790856319,-56258586999,62695694596,343988629591,30510156611,-1689432991344...
; A019767: Decimal expansion of 2*e/11. ; 4,9,4,2,3,3,0,5,9,7,1,9,8,2,6,4,0,6,4,2,9,1,4,3,1,7,6,6,0,9,5,7,4,9,9,9,5,9,2,2,2,6,7,4,4,3,0,9,0,8,3,5,5,9,0,8,4,9,0,3,2,0,5,0,4,0,7,4,1,2,0,5,5,1,8,8,2,6,8,3,5,3,7,6,6,1,4,9,4,1,5,5,0,0,3,0,2,5,9,5 add $0,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul $2,$3 add $1,$2 cmp $4,...
; Copyright (C) 2004 Limor Fried ; x0xb0x bootloader ;This program is free software; you can redistribute it and/or modify it under ;the terms of the GNU General Public License as published by the Free Software ;Foundation; either version 2 of the License, or (at your option) any later version. ;This program i...
; size_t fwrite_callee(void *ptr, size_t size, size_t nmemb, FILE *stream) INCLUDE "config_private.inc" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _fwrite_callee EXTERN asm_fwrite _fwrite_callee: pop af pop hl...
LL28Amul256DivD: JumpIfAGTENusng d, .Ll28Exit255 ld e,%11111110 ; Set R to have bits 1-7 set, so we can rotate through 7 .LL31: sla a jr c,.LL29 JumpIfALTNusng d, .Ski...
SECTION code_clib SECTION code_l PUBLIC l_long_store_mhl l_long_store_mhl: ; store long to address in hl ; ; enter : debc = long ; ; exit : *hl = debc ; hl += 3 ; ; uses : hl ld (hl),c inc hl ld (hl),b inc hl ld (hl),e inc hl ld (hl),d ret
; `10 PRINT` Game Boy ; =================== ; ; This program generates a random maze to the Game Boy screen. A port of the ; famous one-liner `10 PRINT CHR$(205.5+RND(1)); : GOTO 10`, originally written ; in BASIC for the Commodore 64 during the early 1980s. For more about that and ; how this project came to be, consul...
trainerclass: MACRO enum \1 const_value = 1 ENDM ; trainer class ids ; `trainerclass` indexes are for: ; - TrainerClassNames (see data/trainers/class_names.asm) ; - TrainerClassAttributes (see data/trainers/attributes.asm) ; - TrainerClassDVs (see data/trainers/dvs.asm) ; - TrainerGroups (see data/trainers/party_poin...
%macro isr_err_stub 1 isr_stub_%+%1: call exception_handler iretq %endmacro ; if writing for 64-bit, use iretq instead %macro isr_no_err_stub 1 isr_stub_%+%1: call exception_handler iretq %endmacro extern exception_handler isr_no_err_stub 0 isr_no_err_stub 1 isr_no_err_stub 2 isr_no_err_stub 3 isr_no_e...
############################################# # Zayadur Khan CIS-341 03/26/17 # # Project 2 mergeSort implementation # ############################################# .data a1: .word 56, 3, 46, 47, 34, 12, 1, 5, 10, 8, 33, 25, 29, 31, 50, 43 c: .word 0:100 prompt: .asciiz "Order array? [0:...
PUBLIC _fnoisy ; fastcall _fnoisy ex de, hl jp 0xb917
#include "wiGUI.h" #include "wiInput.h" #include "wiPrimitive.h" #include "wiProfiler.h" #include "wiRenderer.h" #include "wiTimer.h" #include "wiEventHandler.h" #include "wiFont.h" #include "wiImage.h" #include "wiTextureHelper.h" #include "wiBacklog.h" #include <sstream> using namespace wi::graphics; using namespac...
; A164073: a(n) = 2*a(n-2) for n > 2; a(1) = 1, a(2) = 3. ; 1,3,2,6,4,12,8,24,16,48,32,96,64,192,128,384,256,768,512,1536,1024,3072,2048,6144,4096,12288,8192,24576,16384,49152,32768,98304,65536,196608,131072,393216,262144,786432,524288,1572864,1048576,3145728,2097152,6291456,4194304,12582912,8388608,25165824,16777216,5...
; A305157: a(n) = 164*2^n - 99. ; 65,229,557,1213,2525,5149,10397,20893,41885,83869,167837,335773,671645,1343389,2686877,5373853,10747805,21495709,42991517,85983133,171966365,343932829,687865757,1375731613,2751463325,5502926749,11005853597,22011707293,44023414685,88046829469,176093659037,352187318173,704374636445,14087...
%macro INI 0 push ebp mov ebp, esp pusha %endmacro %macro END 0 popa mov esp, ebp pop ebp %endmacro section .text global paint_points paint_points: INI %define punt_map [ebp + 12] %define punt_points [ebp + 8] mov ebx, punt_points mov esi, punt_map mov [esi], byte 'S' mov [...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r14 push %r8 push %r9 push %rbp push %rdx push %rsi // Store lea addresses_PSE+0x1d77e, %r14 nop nop nop nop nop xor $8834, %r9 movl $0x51525354, (%r14) xor %r9, %r9 // Store lea addresses_A+0x1e87e, %rsi clflus...
; A273893: Denominator of n/3^n. ; 1,3,9,9,81,243,243,2187,6561,2187,59049,177147,177147,1594323,4782969,4782969,43046721,129140163,43046721,1162261467,3486784401,3486784401,31381059609,94143178827,94143178827,847288609443,2541865828329,282429536481,22876792454961 mov $1,3 pow $1,$0 gcd $0,$1 div $1,$0 mov $0,$1
; ; jdcolext.asm - colorspace conversion (64-bit SSE2) ; ; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright (C) 2009, 2012, D. R. Commander. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see c...
TXBITDELAY equ 6 ; don't ask :P org 100h ; init pio ld hl,piosetup ld bc,0503h otir ld hl,0E000h ld bc,1000h dumplp: ld a,(hl) ; xmit byte push bc push hl ld l, 0 ; start bit is b0 here ld b, 8 ; data bits xb_lp1: rra adc hl, hl djnz xb_lp1 ; l[7->0] = a[0->7] scf ...
; A242388: Triangle read by rows: T(n,k) = n*2^(k-1) + 1, 1 <= k <= n. ; 2,3,5,4,7,13,5,9,17,33,6,11,21,41,81,7,13,25,49,97,193,8,15,29,57,113,225,449,9,17,33,65,129,257,513,1025,10,19,37,73,145,289,577,1153,2305,11,21,41,81,161,321,641,1281,2561,5121 mov $1,1 lpb $0 sub $0,$1 add $1,1 lpe lpb $0 sub $0,1 mul ...
name faxdrv title 'FAX16 - Stub driver for Application based intercept under NT' ; ; fax16.asm: This is a very simple DOS stub device driver for NTVDM. ; It shows how to use application based intercept services ; provided by NTVDM. FAX32.dll is its DLL which will be loaded ; in the N...
; A000337: a(n) = (n-1)*2^n + 1. ; 0,1,5,17,49,129,321,769,1793,4097,9217,20481,45057,98305,212993,458753,983041,2097153,4456449,9437185,19922945,41943041,88080385,184549377,385875969,805306369,1677721601,3489660929,7247757313,15032385537,31138512897,64424509441,133143986177,274877906945,566935683073,1168231104513,2405...
[SECTION .data] ;;; Here we declare initialized data. For example: messages, prompts, ;;; and numbers that we know in advance [SECTION .bss] ;;; Here we declare uninitialized data. We're reserving space (and ;;; potentially associating names with that space) that our code ;;; will use as it executes. Think of these as...
; A140430: Period 6: repeat [3, 2, 4, 1, 2, 0]. ; 3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2 mul $0,5 mov $1,-2 bin $1,$0 mod $1,3 add $1,2 mov $0,$1
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // 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...
// stdafx.cpp : source file that includes just the standard includes // stdafx.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Clas...
#include "../../include/Nodes/LockNode.h" LockNode::LockNode(const llvm::Instruction * instruction):Node(NodeType::LOCK, instruction) {} bool LockNode::addCorrespondingUnlock(UnlockNode *unlockNode) { if (!unlockNode) { return false; } return correspondingUnlocks_.insert(unlockNode).second; } con...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1cc01, %rsi lea addresses_WC_ht+0x127a9, %rdi nop nop add $35790, %rdx mov $14, %rcx rep movsb nop sub %rdx, %rdx lea addresses_D_ht+0x8d21, %r13 xor $32826, %rbx mov (%r13), %r14 nop ...
#include <chrono> #include <cstdint> #include <string> #include "common/buffer/buffer_impl.h" #include "common/common/empty_string.h" #include "common/config/metadata.h" #include "common/config/well_known_names.h" #include "common/http/context_impl.h" #include "common/network/utility.h" #include "common/router/config_...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; void *calloc_unlocked(size_t nmemb, size_t size) ; ; Allocate nmemb * size bytes from the current thread's heap and ; initialize that memory to 0. ; ; Returns 0 if nmemb*s...
; A200748: Smallest number requiring n terms to be expressed as a sum of factorials. ; Submitted by Jon Maiga ; 0,1,3,5,11,17,23,47,71,95,119,239,359,479,599,719,1439,2159,2879,3599,4319,5039,10079,15119,20159,25199,30239,35279,40319,80639,120959,161279,201599,241919,282239,322559,362879,725759,1088639,1451519,1814399,...
; A272066: a(n) = (10^n-1)^3. ; 0,729,970299,997002999,999700029999,999970000299999,999997000002999999,999999700000029999999,999999970000000299999999,999999997000000002999999999,999999999700000000029999999999,999999999970000000000299999999999,999999999997000000000002999999999999 mov $1,10 pow $1,$0 sub $1,1 pow $1,3 m...
.text addi $t0, $zero, 30 # 0001 1110 addi $t1, $zero, 5 # 0000 0101 # p | q | r # ---|---|--- # 0 | 0 | 1 # 0 | 1 | 0 # 1 | 0 | 0 # 1 | 1 | 0 nor $s0, $t0, $t1 # 00011110 # 00000101 # -------- # 11100000
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r14 push %r8 push %rbp push %rbx push %rcx push %rdx push %rsi // Store mov $0xc2, %rcx nop nop xor $56969, %r14 movb $0x51, (%rcx) xor $64915, %rsi // Store mov $0x214f8100000004a0, %rbx nop nop nop xor %rcx, %rcx mov $0...
; Tails mappings Map_148EB8: dc.w word_1490AE-Map_148EB8; 0 dc.w word_1490B0-Map_148EB8; 1 dc.w word_1490CA-Map_148EB8; 2 dc.w word_1490E4-Map_148EB8; 3 dc.w word_1490F8-Map_148EB8; 4 dc.w word_149112-Map_148EB8; 5 dc.w word_14912C-Map_148EB8; 6 dc.w word_149146-Map_148EB8; 7 dc.w word_14915A-Map_148EB...
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
; A175654: Eight bishops and one elephant on a 3 X 3 chessboard. G.f.: (1 - x - x^2)/(1 - 3*x - x^2 + 6*x^3). ; Submitted by Jon Maiga ; 1,2,6,14,36,86,210,500,1194,2822,6660,15638,36642,85604,199626,464630,1079892,2506550,5811762,13462484,31159914,72071654,166599972,384912086,888906306,2052031172,4735527306,1092517525...
;Generate by CrabScript v3.0 ;Compile Mode: 3 ;main {$D 277, 281} ::main:: {$N 'main', 'P', 0} {$N 'main', 'L', 0} FUNC <main> VAR #P, 0 VAR #L, 0 {$A True} ;Print('Hello World') {$D 288, 308} VAR #F, 5 TYPE #W, (S:01) ADDR #D, <@DATA.1> ;'Hello World' READ #V, #W, #D BASE #M, #F SEEK #M, $0001 ;Te...
; HOTKEY Find ITEM V2.01  1988 Tony Tebby QJUMP ; first revision provides optional case independence section hotkey xdef hk_fitem ; find item (a1) name or char xdef hk_fitmu ; find item (a1) name or char (case) xdef hk_fitrm ...