text
stringlengths
1
1.05M
; A014206: a(n) = n^2 + n + 2. ; 2,4,8,14,22,32,44,58,74,92,112,134,158,184,212,242,274,308,344,382,422,464,508,554,602,652,704,758,814,872,932,994,1058,1124,1192,1262,1334,1408,1484,1562,1642,1724,1808,1894,1982,2072,2164,2258,2354,2452,2552,2654,2758,2864,2972,3082,3194,3308,3424,3542,3662,3784,3908,4034,4162,4292,44...
SFX_Cry13_2_Ch5: duty_cycle_pattern 0, 3, 0, 3 square_note 15, 15, 6, 1472 square_note 8, 14, 3, 1468 square_note 6, 13, 2, 1488 square_note 6, 11, 2, 1504 square_note 6, 12, 2, 1520 square_note 8, 11, 1, 1536 sound_ret SFX_Cry13_2_Ch6: duty_cycle_pattern 2, 1, 2, 1 square_note 14, 12, 6, 1201 square_note ...
; A089792: a(n) = n-(exponent of highest power of 3 dividing n!). ; 0,1,2,2,3,4,4,5,6,5,6,7,7,8,9,9,10,11,10,11,12,12,13,14,14,15,16,14,15,16,16,17,18,18,19,20,19,20,21,21,22,23,23,24,25,24,25,26,26,27,28,28,29,30,28,29,30,30,31,32,32,33,34,33 mov $1,$0 lpb $1,1 div $0,3 sub $1,$0 lpe
/*========================================================================= Program: Visualization Toolkit Module: vtkTemporalDataSetCache.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 s...
#note: r40 (the exception handler) and r46 (the start of usermode code) must #be specified in hex (0xwhatever) #I just don't see any reason not to, and it makes programming the script #much nicer to deal with... #load exception handler lc r40, 0x80000050 leh r40 #enable exceptions cle #load TLB ent...
; Z88 Small C+ Run time Library ; l_gint variant to be used sometimes by the peephole optimizer ; SECTION code_crt0_sccz80 PUBLIC l_gintspsp .l_gintspsp add hl,sp inc hl inc hl ld a,(hl) inc hl ld h,(hl) ld l,a ex (sp),hl jp (hl)
#include "copier.h" // static mutex initialization; will replace with a more elegant solution eventually std::mutex Copier::copy_lock{}; // default constructor Copier::Copier() { currentException = nullptr; status = false; } // destructor Copier::~Copier() { } // get source filename std::string Copier::GetSo...
; A010139: Continued fraction for sqrt(53). ; 7,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3,14,3,1,1,3 seq $0,10186 ; Continued fraction for sqrt(125). sub $...
palette: db 0x00, 0x00, 0x00 db 0x02, 0x00, 0x00 db 0x03, 0x00, 0x00 db 0x05, 0x00, 0x00 db 0x06, 0x00, 0x00 db 0x08, 0x01, 0x00 db 0x0A, 0x01, 0x00 db 0x0B, 0x01, 0x00 db 0x0D, 0x01, 0x00 db 0x0E, 0x02, 0x00 db 0x10, 0x02, 0x00 db 0x12, 0x02, 0x00 db 0x13, 0x03, 0x00 db 0x15, 0x03, 0x00 db 0x16, 0x04, 0...
; Object Mappings Subtype Frame Arttile dbglistobj Obj_Ring, Map_Ring, 0, 0, make_art_tile($6BC,1,1) dbglistobj Obj_Monitor, Map_Monitor, 6, 0, make_art_tile($4C4,0,0) dbglistobj Obj_PathSwap, Map_PathSwap, 9, 1, make_art_tile($6BC,1,0) dbglistobj Obj_PathSwap, Map_PathSwap,...
; A024702: a(n) = (prime(n)^2 - 1)/24. ; 1,2,5,7,12,15,22,35,40,57,70,77,92,117,145,155,187,210,222,260,287,330,392,425,442,477,495,532,672,715,782,805,925,950,1027,1107,1162,1247,1335,1365,1520,1552,1617,1650,1855,2072,2147,2185,2262,2380,2420,2625,2752,2882,3015,3060,3197,3290,3337,3577,3927,4030,4082,4187,4565,4732,...
; void adt_HeapSiftUp(uint start, void **array, void *compare) ; 03.2003, 08.2005 aralbrec SECTION code_clib PUBLIC ADTHeapSiftUp EXTERN l_jpix ; enter: DE = start index * 2 (offset into array in bytes) ; HL = &array[start] = bc + de ; BC = array address ; IX = compare(DE=&array[child], HL=&a...
fact: addi $sp,$sp-8 sw $ra,4($sp) sw $a0,0($sp) slti $t0,$a0,1 beq $t0,$zero,L1 addi $v0,$zero,1 addi $sp,$sp,8 jr $ra L1: addi $a0,$a0,-1 jal fact lw $a0,0($sp) lw $ra,4($sp) mul $v0,$v0,$a0 addi $sp,$sp,8 jr $ra
// Copyright (c) 2021 LibreSprite Authors (cf. AUTHORS.md) // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #include <cmd/Command.hpp> #include <common/Messages.hpp> #include <common/PubSub.hpp> #include <common/System.hpp> #include <doc/Cell.hpp> #include <gui/Con...
bits 16 ; glb intptr_t : int ; glb uintptr_t : unsigned ; glb intmax_t : int ; glb uintmax_t : unsigned ; glb int8_t : signed char ; glb int_least8_t : signed char ; glb int_fast8_t : signed char ; glb uint8_t : unsigned char ; glb uint_least8_t : unsigned char ; glb uint_fast8_t : unsigned char ; glb int16_t : short ...
db DEX_OMANYTE ; pokedex id db 35, 40, 100, 35, 90 ; hp atk def spd spc db ROCK, WATER ; type db 45 ; catch rate db 120 ; base exp INCBIN "gfx/pokemon/front/omanyte.pic", 0, 1 ; sprite dimensions dw OmanytePicFront, OmanytePicBack db BUBBLE, HARDEN, NO_MOVE, NO_MOVE ; level 1 learnset db GROWTH_...
#include "calc_fstr.h" #include "compare_documents.h" #include "feature_str.h" #include "shap_values.h" #include "shap_interaction_values.h" #include "util.h" #include <catboost/private/libs/algo/apply.h> #include <catboost/private/libs/algo/plot.h> #include <catboost/private/libs/algo/yetirank_helpers.h> #include <c...
; A002203: Companion Pell numbers: a(n) = 2*a(n-1) + a(n-2), a(0) = a(1) = 2. ; 2,2,6,14,34,82,198,478,1154,2786,6726,16238,39202,94642,228486,551614,1331714,3215042,7761798,18738638,45239074,109216786,263672646,636562078,1536796802,3710155682,8957108166,21624372014,52205852194,126036076402,304278004998,734592086398,17...
;; ;; Copyright (c) 2020-2022, 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...
DATA SEGMENT A DB 1,8,2,1,12,2,14,1 NA DB 8 B DB 7,1,1,7,8,10,7,7,1,1 NB DB 10 C DB 18 DUP (?) NC DB 0 DATA ENDS sseg segment stack dw 100h dup(?) sseg ends cseg segment assume ds:DATA,cs:cseg,ss:sseg sort proc L5: mov al,C[di] cmp al,C[di+1] jbe L4 xchg al,C[di+1] mov C[di],al...
############################################################################### # 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...
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
;@Author MEHRAN JAVID ;@Copyright Copyright (C) 2021 [org 100h] jmp start ;------------------------------global variables-------------------------------------------------------------- character db 'a' row: db 0 col: db 0 boolNewline: db 0 ;-----------------------------Starting of Program-----------...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_WC_ht+0xc885, %rsi lea addresses_WT_ht+0xaa65, %rdi nop nop sub $57973, %r10 mov $53, %rcx rep movsb nop nop nop nop nop inc %r15 lea addresses_WT_ht+0x1a865, %rsi lea addresses_UC_...
cpu 80196 include reg96 ax equ 20h al equ ax ah equ ax+1 eax equ ax bx equ 24h bl equ bx bh equ bx+1 ebx equ bx cx equ 28h cl equ cx ch equ cx+1 ecx equ cx dx equ 2ch dl equ dx dh equ dx+1 edx equ dx CLRC CLRVT DI EI NOP POPF PUSHF RET RSC SETC TRAP ...
dnl ****************************************************************************** dnl Copyright 2009 Paul Zimmermann and Alexander Kruppa. dnl dnl This file is part of the ECM Library. dnl dnl The ECM Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser Gen...
mov r1, 121 mov r2, 10 @y out r1 out r2 jmp %y
// Copyright (c) 2009-2017 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 <core_io.h> #include <base58.h> #include <consensus/consensus.h> #include <consensus/validation.h> #include <script...
#ifndef color_cmy_convert_cmy #define color_cmy_convert_cmy #include "../category.hpp" #include "../../_internal/convert.hpp" #include "../place/place.hpp" #include "../trait/container.hpp" #include "../../_internal/reformat.hpp" namespace color { namespace _internal { templat...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x946f, %rbp nop nop cmp $57462, %r8 mov (%rbp), %rbx nop nop nop nop add %rdx, %rdx lea addresses_WT_ht+0x532f, %r15 nop nop nop cmp $55168, %rsi mov $0x6162636465666...
; A037573: Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,2. ; Submitted by Jamie Morken(s1) ; 2,17,138,1106,8849,70794,566354,4530833,36246666,289973330,2319786641,18558293130,148466345042,1187730760337,9501846082698,76014768661586,608118149292689,4864945194341514 mov ...
; DV3 Q40 IDE Write Sector V3.00  1998 Tony Tebby ; if LBA FAT32 access : byteswap V3.01  W. Lenerz 2017 Nov 21 section dv3 xdef id_wdirect ; write sector xdef id_wsint ; write sector internal xdef id_wsecs ; write with special key xref id_diradd ; address for direct sector xref id_cmdw xref id_s...
; A210645: Area A of the triangles such that A, the sides and one of the altitudes are four consecutive integers of an arithmetic progression d. ; 84,336,756,1344,2100,3024,4116,5376,6804,8400,10164,12096,14196,16464,18900,21504,24276,27216,30324,33600,37044,40656,44436,48384,52500,56784,61236,65856,70644,75600,80724,...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
; A176708: Partial sums of A094820. ; Submitted by Jon Maiga ; 1,3,6,11,17,25,34,45,58,73,89,108,128,150,174,201,229,260,292,327,364,403,443,487,533,581,631,684,738,796,855,917,981,1047,1115,1188,1262,1338,1416,1498,1581,1668,1756,1847,1941,2037,2134,2236,2340,2447,2556 mov $2,$0 mov $3,$0 lpb $2 mov $0,$3 sub $2,...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>setresuid32(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall setresuid32. See 'man 2 setresuid32' for more information. Arguments: vararg(int): vararg Returns: long <...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a xor a, a ldff(0f), a ld a, 02 ldff(ff), a ei ld c, 0f .text@1000 lstatint: nop .text@1065 xor a, a ldff(41), ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x19c0d, %rsi lea addresses_WC_ht+0x87, %rdi nop nop nop nop nop inc %rdx mov $109, %rcx rep movsl nop nop nop xor $41382, %rax lea addresses_WC_ht+0x1dc45, %rbx clflush (%rbx...
; A135678: Floor(n^(4/3)+n). ; 2,4,7,10,13,16,20,24,27,31,35,39,43,47,51,56,60,65,69,74,78,83,88,93,98,103,108,113,118,123,128,133,138,144,149,154,160,165,171,176,182,187,193,199,205,210,216,222,228,234,240,246,252,258,264,270,276,282,288,294,301,307,313,320,326,332,339,345,352,358,364,371,378,384,391,397,404,411,417,4...
// ================================================================================================ // // This file is part of the CAMPVis Software Framework. // // If not explicitly stated otherwise: Copyright (C) 2012-2015, all rights reserved, // Christian Schulte zu Berge <christian.szb@in.tum.de> // ...
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 28 sub $0x28,%esp int i, n; int l, w, c, inword; l = w = c = 0; 6: c7...
PUBLIC pixeladdress EXTERN base_graphics ; ; $Id: pixladdr.asm,v 1.2 2015/01/19 01:32:51 pauloscustodio Exp $ ; ; ****************************************************************** ; ; Get absolute pixel address in map of virtual (x,y) coordinate. ; ; Design & programming by Gunther Strube, Copyright (C) InterLo...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xdae8, %rsi lea addresses_UC_ht+0x1c028, %rdi nop nop nop nop nop lfence mov $29, %rcx rep movsq nop nop nop and %r9, %r9 lea addresses_A_ht+0xa828, %r14 nop nop nop xor $62298, %rbp...
; ; Small C z88 File functions ; Written by Dominic Morris <djm@jb.man.ac.uk> ; 22 August 1998 ** UNTESTED ** ; ; *** THIS IS A Z88 SPECIFIC ROUTINE!!! *** ; ; 11/3/99 Visited to fix, jp nz,feof_abort was jp z,feof_abort ; if we enter in with a std* stream then we exit with error ; INCLUDE "fileio.def" ...
; Find date V2.00  1989 Tony Tebby QJUMP section iou xdef iou_date include 'dev8_keys_qdos_sms' ;+++ ; Find date ; ; d1 r (long) date ; ; status return arbitrary ;--- iou_date reg.date reg d2/a0 movem.l reg.date,-(sp) moveq #sms.rrtc,d0 ...
; A081288: a(n) is the minimal i such that A000108(i) > n. ; 0,2,3,3,3,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,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6 mov $3,$0 mov $0,4 mov $1,10 mov $5,$3 lpb $0,1 add $0...
MODULE _printk SECTION code_clib PUBLIC _printk PUBLIC _cprintf EXTERN asm_printf EXTERN printk_outc ;sdcc version _printk: _cprintf: ld hl,4 add hl,sp ;points to first argument pop bc ;ret address pop de ;fmt push de push bc IF !__CPU_INTEL__ push ix ;save ix ENDIF push bc ;fp (we don't care ab...
/*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 above copyright noti...
;*********************************************************** ; Version 2.40.00 ;*********************************************************** ; Function: log_2 ; Description: Calculate log base 2 of 16-bit Q15 number ; ; Copyright Texas instruments Inc, 2000 ;*********...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x14901, %r12 nop nop nop nop inc %rsi movw $0x6162, (%r12) nop nop nop nop add $38115, %r14 lea addresses_A_ht+0x17f92, %rsi lea addresses_normal_ht+0x151d9, %rdi clflush (%r...
; A027382: a(n) = n^4 - 6*n^3 + 12*n^2 - 4*n + 1. ; 1,4,9,16,49,156,409,904,1761,3124,5161,8064,12049,17356,24249,33016,43969,57444,73801,93424,116721,144124,176089,213096,255649,304276,359529,421984,492241,570924,658681 mov $3,$0 mov $6,$0 lpb $0 sub $3,3 mul $3,$0 mov $0,$5 lpe mov $1,1 add $1,$3 pow $1,2 mov ...
// dear imgui: standalone example application for Glfw + Vulkan // If you are new to dear imgui, see examples/README.txt and documentation at the top of imgui.cpp. // Important note to the reader who wish to integrate imgui_impl_vulkan.cpp/.h in their own engine/app. // - Common ImGui_ImplVulkan_XXX functions and stru...
; A170765: Expansion of g.f.: (1+x)/(1-45*x). ; Submitted by Jon Maiga ; 1,46,2070,93150,4191750,188628750,8488293750,381973218750,17188794843750,773495767968750,34807309558593750,1566328930136718750,70484801856152343750,3171816083526855468750,142731723758708496093750,6422927569141882324218750,2890317406113847045898437...
; --------------------------------------------------------------------------- ; Sprite mappings - purple rock (GHZ) ; --------------------------------------------------------------------------- dc.w byte_D110-Map_obj3B byte_D110: dc.b 2 dc.b $F0, $B, 0, 0, $E8 dc.b $F0, $B, 0, $C, 0 even
; void __CALLEE__ sp1_PrintAtInv_callee(uchar row, uchar col, uint tile) ; 01.2008 aralbrec, Sprite Pack v3.0 ; ts2068 hi-res version SECTION code_sprite_sp1 PUBLIC sp1_PrintAtInv_callee PUBLIC ASMDISP_SP1_PRINTATINV_CALLEE EXTERN sp1_GetUpdateStruct_callee, sp1_PrintAt_callee EXTERN ASMDISP_SP1_GETUPDATESTRUCT_CALLE...
copyright zengfr site:http://github.com/zengfr/romhack 0252F8 ble $25312 [enemy+33] 0252FE jsr $1426.w [enemy+33] 0255F4 move.b ($33,A0), D0 [enemy+32] 0255F8 beq $25606 [enemy+33] 026AE4 move.b ($33,A0), D0 [enemy+32] 026AE8 beq $26af6 [enemy+33] 02940A move.b ($33,A0), D0 [enemy+32] 02940E ...
; This is free and unencumbered software released into the public domain. ; Anyone is free to copy, modify, publish, use, compile, sell, or ; distribute this software, either in source code form or as a compiled ; binary, for any purpose, commercial or non-commercial, and by any ; means. ; In jurisdictions that recog...
SECTION code_stdio PUBLIC __stdio_unlock_file_list EXTERN __stdio_file_list_lock EXTERN asm_mtx_unlock __stdio_unlock_file_list: ; unlock stdio's FILE lists ; ; enter : none ; ; exit : none ; ; uses : af, bc, de, hl ld hl,__stdio_file_list_lock jp asm_mtx_unlock
; L1512.asm Crouton Homeworld 4 ; Generated 04.19.2001 by mlevel ; Modified 04.19.2001 by Abe Pralle INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" VFENCE_INDEX EQU 19 VAR_BGKILLED EQU 15 ;--------------------------------------------------------------------- SECTION "Level1512Section",ROMX ;---------------...
; A169034: Number of reduced words of length n in Coxeter group on 21 generators S_i with relations (S_i)^2 = (S_i S_j)^24 = I. ; 1,21,420,8400,168000,3360000,67200000,1344000000,26880000000,537600000000,10752000000000,215040000000000,4300800000000000,86016000000000000,1720320000000000000,34406400000000000000 add $0,1...
# Intel P5 mpn_lshift -- mpn left shift. # # P5: 1.75 cycles/limb. # Copyright (C) 2000 Free Software Foundation, Inc. # # This file is part of the GNU MP Library. # # The GNU MP Library is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as published...
and $6,$3,$3 sh $6,8($0) or $3,$1,$3 sltiu $1,$3,21212 slt $0,$5,$3 sra $1,$5,25 sllv $6,$5,$3 sltu $4,$3,$3 sll $3,$3,11 sll $5,$1,13 or $3,$4,$3 andi $3,$4,4015 ori $5,$3,21755 srlv $3,$5,$3 addiu $4,$6,27414 sltu $3,$3,$3 xor $3,$5,$3 lh $5,12($0) sllv $3,$1,$3 lbu $3,8($0) and $3,$3,$3 srlv $0,$0,$3 lw $1,0($0) lw ...
; A098558: Expansion of e.g.f. (1+x)/(1-x). ; 1,2,4,12,48,240,1440,10080,80640,725760,7257600,79833600,958003200,12454041600,174356582400,2615348736000,41845579776000,711374856192000,12804747411456000 mov $1,$0 pow $3,$0 fac $1 mov $2,$3 mul $1,2 sub $1,$2
; ********************************************************************************* ; ********************************************************************************* ; ; File: graphics.asm ; Purpose: General screen I/O routines ; Date : 12th March 2019 ; Author: paul@robsons.org.uk ; ; ***************...
CGROUP group code code segment dword 'CODE' assume cs:CGROUP,ds:CGROUP public pj_bcontrast ;pj_bcontrast(UBYTE *s1, UBYTE *s2, unsigned count) pj_bcontrast PROC near push esi push edi push ecx mov esi,[esp+16] mov edi,[esp+20] mov ecx,[esp+24] repne cmpsb inc ecx mov eax,[esp+24] sub...
// Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program blackens the screen, // i.e. writes "black" in every pixel; // the screen should remain fully black as long as the key is pressed. // When no key is pressed, the program clears the screen, i.e. writes // "white...
.nolist #include "includes\ti84pce.inc" #include "includes\defines.inc" #include "includes\macros.inc" .list .org Usermem-2 .db tExtTok,tAsm84CeCmp PROGRAM_HEADER: jp PROGRAM_START .db 1 ; Signifies a Cesium program .db 16,16 ; Width, Height of sprite .db 255,255,255,163,255,255,163,255,255,163,255...
[CPU 486] [BITS 32] GLOBAL api_putchar GLOBAL api_end GLOBAL api_putstr0 GLOBAL api_openwin GLOBAL api_putstrwin GLOBAL api_boxfilwin GLOBAL api_initmalloc, api_malloc, api_free GLOBAL api_point GLOBAL api_refreshwin GLOBA...
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * 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...
; A154115: Numbers n such that n + 3 is prime. ; 0,2,4,8,10,14,16,20,26,28,34,38,40,44,50,56,58,64,68,70,76,80,86,94,98,100,104,106,110,124,128,134,136,146,148,154,160,164,170,176,178,188,190,194,196,208,220,224,226,230,236,238,248,254,260,266,268,274,278,280,290,304,308,310,314,328,334,344,346,350,356,364,370,376,380,...
ori $1, $0, 12 ori $2, $0, 14 ori $3, $0, 14 ori $4, $0, 2 sw $2, 0($0) sw $4, 4($0) sw $2, 8($0) sw $4, 12($0) sw $4, 16($0) sw $2, 20($0) sw $1, 24($0) sw $4, 28($0) sw $4, 32($0) sw $2, 36($0) sw $4, 40($0) sw $4, 44($0) sw $3, 48($0) sw $1, 52($0) sw $2, 56($0) sw $3, 60($0) sw $1, 64($0) sw $1, 68($0) sw $3, 72($0...
dnl PowerPC-64 mpn_sec_tabselect. dnl Contributed to the GNU project by Torbjörn Granlund. dnl Copyright 2011-2013 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl...
#define PROBLEM "https://judge.yosupo.jp/problem/point_add_rectangle_sum" #include "../../template/template.hpp" #include "../../data-structure-2d/fenwick-tree-on-range-tree.hpp" #include "../../misc/compress.hpp" #include "../../misc/fastio.hpp" using namespace Nyaan; void Nyaan::solve() { FenwickRangeTree<int, ll>...
; Copyright © 2021, VideoLAN and dav1d authors ; Copyright © 2021, Two Orioles, LLC ; Copyright (c) 2017-2021, The rav1e contributors ; Copyright (c) 2021, Nathan Egge ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following ...
frame 0, 04 frame 2, 24 setrepeat 3 frame 0, 06 frame 1, 06 dorepeat 3 endanim
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rbx push %rsi lea addresses_WC_ht+0x8dc9, %rbx nop nop nop nop sub %r12, %r12 mov (%rbx), %esi nop nop nop cmp %r12, %r12 pop %rsi pop %rbx pop %r12 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r14 push %r8 push %rbp push %rbx push ...
/*************************************************************************** vidhrdw.c Functions to emulate the video hardware of the machine. ***************************************************************************/ #include "driver.h" #include "vidhrdw/generic.h" unsigned char *bankp_videoram2; unsigned...
#include <core/objects/timing/RoundRobin.h> #include <hal/simd.h> #include <od/config.h> #include <sstream> #include <cstring> namespace od { RoundRobin::RoundRobin(int n) { addInput(mNext); addInput(mInput); addOption(mProcessingRate); addOption(mActiveOutput); mNumOutputs = n;...
SeafoamIslands5Script: call EnableAutoTextBoxDrawing ld a, [wSeafoamIslands5CurScript] ld hl, SeafoamIslands5ScriptPointers jp JumpTable SeafoamIslands5Script_467a5: xor a ld [wJoyIgnore], a ld [wSeafoamIslands5CurScript], a ld [wCurMapScript], a ret SeafoamIslands5ScriptPointers: dw SeafoamIslands5Script0 ...
/** *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 may n...
; A094793: a(n) = (1/n!)*A001688(n). ; 9,53,181,465,1001,1909,3333,5441,8425,12501,17909,24913,33801,44885,58501,75009,94793,118261,145845,178001,215209,257973,306821,362305,425001,495509,574453,662481,760265,868501,987909,1119233,1263241 add $0,1 lpb $0 add $3,$0 sub $0,1 add $2,3 add $2,$3 add $3,$0 add ...
ENTRYPOINT_LOADINGSCREEN = $2800 ENTRYPOINT_STARTSCREEN = $6000 ENTRYPOINT_LEVELSTART = $6800 - $10
/* * Copyright (c) 2012 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 con...
; A156894: a(n) = Sum_{k=0..n} binomial(n,k)*binomial(2*n+k-1,k). ; Submitted by Simon Strandgaard ; 1,3,19,138,1059,8378,67582,552576,4563235,37972290,317894394,2674398268,22590697614,191475925332,1627653567916,13870754053388,118464647799075,1013709715774130,8689197042438274,74594573994750972,641252293546113434,551933...
; A065234: Fill a triangular array by rows by writing numbers 1 up to b(0), 1 up to b(1), etc., where b(n) are the decagonal numbers. The first elements of the rows form a(n). ; 1,1,3,6,10,5,11,18,26,8,18,29,41,2,16,31,47,64,82,16,36,57,79,102,126,25,51,78,106,135,165,21,53,86,120,155,191,228,34,73,113,154,196,239,283,...
; A268527: a(n) = r*a(ceiling(n/2))+s*a(floor(n/2)) with a(1)=1 and (r,s)=(4,1). ; 1,5,21,25,89,105,121,125,381,445,509,525,589,605,621,625,1649,1905,2161,2225,2481,2545,2609,2625,2881,2945,3009,3025,3089,3105,3121,3125,7221,8245,9269,9525,10549,10805,11061,11125,12149,12405,12661,12725,12981,13045,13109,13125,14149,14...
; A036234: Number of primes <= n, if 1 is counted as a prime. ; 1,2,3,3,4,4,5,5,5,5,6,6,7,7,7,7,8,8,9,9,9,9,10,10,10,10,10,10,11,11,12,12,12,12,12,12,13,13,13,13,14,14,15,15,15,15,16,16,16,16,16,16,17,17,17,17,17,17,18,18,19,19,19,19,19,19,20,20,20,20,21,21,22,22,22,22,22,22,23,23,23,23,24,24,24,24,24,24,25,25,25,25,25...
/* Copyright 2019 Stanford University, NVIDIA Corporation * * 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...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Rogue Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "script/standard.h" #include "pubkey.h" #include "script/script.h" #inclu...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x11f25, %r10 nop add $60906, %r13 mov $0x6162636465666768, %rbp movq %rbp, %xmm4 movups %xmm4, (%r10) nop nop xor %r8, %r8 lea addresses_WC_ht+0x1e73, %rbx nop nop a...
/** * pugixml parser - version 1.8 * -------------------------------------------------------- * Copyright (C) 2006-2017, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) * Report bugs and download new versions at http://pugixml.org/ * * This library is distributed under the MIT License. See notice at the end *...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rbp push %rcx push %rdx push %rsi lea addresses_WT_ht+0x73ee, %rcx nop nop nop nop nop xor $30767, %rdx mov (%rcx), %r11 nop xor $10509, %r13 lea addresses_WT_ht+0xea49, %rbp nop nop cmp $24935, %r15 mov $0x6162636465666768, %rsi movq %rsi...
; A047329: Numbers that are congruent to {1, 3, 5, 6} mod 7. ; 1,3,5,6,8,10,12,13,15,17,19,20,22,24,26,27,29,31,33,34,36,38,40,41,43,45,47,48,50,52,54,55,57,59,61,62,64,66,68,69,71,73,75,76,78,80,82,83,85,87,89,90,92,94,96,97,99,101,103,104,106,108,110,111 mov $1,$0 mul $1,7 add $1,6 div $1,4
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig 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) ===...
<% from pwnlib.shellcraft.thumb.linux import getppid, kill from pwnlib.constants import SIGKILL from pwnlib.shellcraft.common import label %> <%docstring> Kills its parent process until whatever the parent is (probably init) cannot be killed any longer. </%docstring> <% killparent_loop = label('killpare...
#pragma once #include <math.h> #include "constants.hpp" namespace PantaRay { struct Vector { float x, y, z; Vector(float _x = 0, float _y = 0, float _z = 0) : x(_x), y(_y), z(_z) {} void MakeZero() { x = y = z = 0; } bool IsZero(float eps = Constants::eps)...
; A343543: a(n) = n*Lucas(2*n). ; Submitted by Jon Maiga ; 0,3,14,54,188,615,1932,5901,17656,52002,151270,435633,1244184,3528759,9949058,27907470,77933552,216784731,600935076,1660672257,4576522540,12580566138,34504747354,94440719589,257998970928,703593828075,1915713858422,5208304147686 mov $1,$0 mul $1,2 mov $2,$0 mov...
; ; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. 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...
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/gmm_helper/gmm.h" #include "shared/test/common/os_interface/windows/wddm_fixture.h" #include "test.h" namespace NEO { using WddmTests = WddmTestWithMockGdiDll; TEST_F(WddmTests, whenCreatingAllocation6...
[bits 16] ;STEP DA SEGUIRE: ; bloccare gli interrutori della BIOS ( inutili per la PM ) ; caricare la GDT ; settare il registro della CPU CR0 ; flushing del pipelining della CPU tramite un trucchetto ; inizializzare PM SWITCH_TO_PM: cli ; IMPORTANTE: dobbiamo svuotare la IVT perchè ; la IVT inziale settata dalla...