text
stringlengths
1
1.05M
; ; Old School Computer Architecture - SD Card driver ; Taken from the OSCA Bootcode by Phil Ruston 2011 ; ; Ported by Stefano Bodrato, 2012 ; ; Power on the sdcard slot ; ; $Id: sd_power_on.asm,v 1.2 2015-01-19 01:33:07 pauloscustodio Exp $ ; PUBLIC sd_power_on INCLUDE "target/osca/def/osca.def" sd_power_on: ...
// Extend Eenie and Meenie's script to check the fusion result .align 2 ext_script_eenie: // Skip past call command if Kinstone fusion was cancelled .dh 0x0005|(2<<10) // skip command with length 2 .dh @@end-. // Mark Kinstone fusion as finished .dh 0x000B|(3<<10) // subroutine call command with length 3 .dw 0x8...
;/*---------------------------------------------------------------------------- ; * Copyright (c) <2013-2018>, <Huawei Technologies Co., Ltd> ; * All rights reserved. ; * Redistribution and use in source and binary forms, with or without modification, ; * are permitted provided that the following conditions are met: ; ...
/* * Talk2WatchInterface.cpp * * Created on: 09.01.2014 * Author: benjaminsliwa */ #include "Talk2WatchInterface.h" #include <bb/system/InvokeQueryTargetsRequest> #include <bb/system/InvokeQueryTargetsReply> #include <bb/system/InvokeReply> #include "UdpModule.h" #include "Serializer.h" /* GENERAL INFORMAT...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>signalfd(fd, mask, flags) -> str Invokes the syscall signalfd. See 'man 2 signalfd' for more information. Arguments: fd(int): fd mask(sigset_t*): mask flags(int): flags Returns: int </%docstring> <...
#include "py_server.hpp" #include "py_common.hpp" #include "py_config.hpp" #include "py_except.hpp" #include "py_message.hpp" #include <memory> #include <mutex> #include <spdlog/sinks/stdout_color_sinks.h> #ifdef WIN32 #include <process.h> #define getpid _getpid #elif defined(UNIX) #include <unistd.h> #endif namespa...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ OR[280] - device desc. address @@ OR[281] - first sector - if valid: add sector back to the free-list, if 0xffff, allocate sectors from free-list @@ OR[282] - sector count @@ OR[283] - output parameter index OR[268+idx]: first sector of the newly ...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 91 call lwaitly_b ld hl, fe00 ld d, 10 ld a, d ld(hl++), a ld a, 08 ld(hl++), a inc l inc l ld a, d ld(hl++), ...
;-- utility functions -- ;--- multiplication --- multiply: ; $a * $b mov $b $c ;counter mov $a $b ;multiplication base ldi $d 0 ;tmp cmp 0 jz .end .loop: mov $c $a ; counter equals 0 -> we're done cmp 0 jz .end mov $d $a add $b $d mov $c $a subi 1 $c j .loop .end: mov $d $a ret ;--- di...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1a39c, %r8 nop nop nop nop add $57283, %rbp mov $0x6162636465666768, %r13 movq %r13, %xmm3 vmovups %ymm3, (%r8) nop cmp %r10, %r10 lea addresses_WT_ht+0x15a1c, %rsi lea addres...
; A219842: Number of ways to write n as x+y (0<x<=y) with 2x*y+1 prime. ; Submitted by Christian Krause ; 0,1,1,1,1,3,1,1,4,2,2,4,2,2,7,4,1,3,4,5,5,4,2,8,2,7,4,2,8,11,5,3,8,7,5,14,7,5,10,8,7,8,4,8,9,5,4,11,6,11,14,5,3,19,12,7,11,6,9,12,13,8,9,10,12,16,5,6,22,8,11,11,5,10,26,15,5,11,15,10,20,11,9,19,10,18,10,8,11,27,13,...
Route21_Script: call EnableAutoTextBoxDrawing ld hl, Route21TrainerHeader0 ld de, Route21_ScriptPointers ld a, [wRoute21CurScript] call ExecuteCurMapScriptInTable ld [wRoute21CurScript], a ret Route21_ScriptPointers: dw CheckFightingMapTrainers dw DisplayEnemyTrainerTextAndStartBattle dw EndTrainerBattle Ro...
.loadtable "data/flyover-table.tbl" .strn "\n" .strn "\n" .strn 01h, 1Ch, "You've traveled very far from\n" .strn 01h, 1Ch, "home...\n" .strn "\n" .strn "\n" .strn 01h, 1Ch, "Do you remember how your long\n" .strn 01h, 1Ch, "and winding journey began with\n" .strn 01h, 1Ch, "someone pounding at your ...
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "EBStencil.H" #include "EBCellFAB.H" #include "EBFaceFAB.H" #include...
// // CollisionInfoTests.cpp // tests/physics/src // // Created by Andrew Meadows on 2/21/2014. // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <iostream> #include <...
;******************************************************************************* ;ulldvrm.asm - unsigned long divide and remainder routine ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ;Purpose: ; defines the unsigned long divide and remainder routine ; __aulldvrm ; ;Revision Histor...
extern long_mode_start global start global special_pd_table section .text bits 32 start: mov esp, stack_top push dword 0 push ebx call check_multiboot call check_cpuid call check_long_mode call set_up_page_tables call enable_paging lgdt [gdt64.pointer] jmp gdt64.code:long_...
; copy list of pointers include win1_mac_oli section utility xdef ut_cpylst ;+++ ; copy list of pointers ; ; Entry Exit ; a0 from list preserved ; a1 to list preserved ;--- ut_cpylst subr a0/a1 lp m...
; A079273: Octo numbers (a polygonal sequence): a(n) = 5*n^2 - 6*n + 2 = (n-1)^2 + (2*n-1)^2. ; 1,10,29,58,97,146,205,274,353,442,541,650,769,898,1037,1186,1345,1514,1693,1882,2081,2290,2509,2738,2977,3226,3485,3754,4033,4322,4621,4930,5249,5578,5917,6266,6625,6994,7373,7762,8161,8570,8989,9418,9857,10306,10765,11234,1...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D2C move.l D0, (A4)+ 004D2E dbra D1, $4d1e 010332 move.b #$32, ($4ea,A5) [base+4E8] 010338 clr.b ($4eb,A5) [base+4EA] 0103B2 tst.b ($4ea,A5) 0103B6 beq $103c0 [base+4EA] 0103BA subq.b #...
db 0 ; 293 DEX NO db 64, 51, 23, 28, 51, 23 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 190 ; catch rate db 68 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/hoenn/whismur/front.d...
; Input: ; x0: [bp + 12] -> [bp + rect_x0] ; y0: [bp + 10] -> [bp + rect_y0] ; w: [bp + 8] -> [bp + rect_w] ; h: [bp + 6] -> [bp + rect_h] ; px: [bp + 4] -> [bp + px_set] %assign rect_x0 12 %assign rect_y0 10 %assign rect_w 8 %assign rect_h 6 %assign px_set 4 %assign rect_row_end 2 %assign rect...
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA...
// Copyright 2016 Jonathan Buchanan. // This file is part of Sunglasses, which is licensed under the MIT License. // See LICENSE.md for details. #include <sunglasses/Extern/Resource.h> namespace sunglasses { Resource::~Resource() { } } // namespace
;; ==++== ;; ;; Copyright (c) Microsoft Corporation. All rights reserved. ;; ;; ==--== #include "kxarm.h" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; STUBS & DATA SECTIONS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; THUNK_CODESIZE equ 0x10 ;; 4-byte mov, 2-byte add, 4-byte str, 4-byte ...
GLOBAL _syscaller section .text _syscaller: int 80h ret
.constant_pool .const 0 string [start] .const 1 string [constructor] .const 2 string [antes da chamada a x] .const 3 int [1] .const 4 string [io.writeln] .const 5 string [x] .const 6 string [depois da chamada a x] .const 7 string [no metodo x] .end .entity start .valid_contex...
; A168398: a(n) = 4 + 8*floor((n-1)/2). ; 4,4,12,12,20,20,28,28,36,36,44,44,52,52,60,60,68,68,76,76,84,84,92,92,100,100,108,108,116,116,124,124,132,132,140,140,148,148,156,156,164,164,172,172,180,180,188,188,196,196,204,204,212,212,220,220,228,228,236,236,244,244,252,252,260,260,268,268,276,276,284,284,292,292,300,300,...
/// RawFile // @module lrf /* RawFile.cpp * * Copyright (C) 2016 Thermo Fisher Scientific * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "RawFile.h" #include "comutil.h" namespace RawFile { static const struct luaL_Reg l...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iam/model/GetRoleResult.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/log...
_MeetLaprasGuyText:: text "Oh! Hi! You're" line "not a ROCKET! You" cont "came to save us?" cont "Why, thank you!" para "I want you to" line "have this #MON" cont "for saving us." prompt _HeresYourLaprasText:: text "It's LAPRAS. It's" line "very intelligent." para "We kept it in our" line "lab, but it wi...
org 100h ; add your code here MOV AX, 0300H MOV DS, AX MOV CX, 4A3CH MOV [3126H], CX MOV DX, 10H MUL DX ADD AX, 3126H ret
mov si, 7c00h mov ah, 0eh loop: lodsb int 10h cmp al, 0 jne loop
#include "Platform.inc" #include "ResetFlags.inc" #include "TestDoubles.inc" radix decimal extern resetFlags ResetFlagsStubs code global stubIsLastResetDueToBrownOutToReturnTrue global stubIsLastResetDueToBrownOutToReturnFalse stubIsLastResetDueToBrownOutToReturnTrue: banksel resetFlags bsf resetFlags, RES...
; A250768: Number of (n+1) X (7+1) 0..1 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing absolute value of x(i,j)-x(i-1,j) in the j direction. ; 519,798,1158,1680,2526,4020,6810,12192,22758,43692,85362,168504,334590,666564,1330314,2657616,5312022,10620636,21237666,42471528,84939054,1698739...
// Copyright (c) 2011-2017 The Cryptonote developers // Copyright (c) 2017-2018 The Circle Foundation & invert Devs // Copyright (c) 2018-2019 invert Network & invert Devs // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #inc...
include w2.inc include noxport.inc include consts.inc include structs.inc createSeg disptbl_PCODE,disptbln,byte,public,CODE ; DEBUGGING DECLARATIONS ifdef DEBUG midDisptbln equ 25 ; module ID, for native asserts NatPause equ 1 endif ifdef NatPause PAUSE MACRO int 3 ...
# ========================================================================= # # NAME: # DATE: May 28, 2001 # ASSIGNMENT: Homework #2, CSC-201-01 # OBJECTIVE: Read an integer from the keyboard and quadruple the number. # Then subtract the quadrupled number by the input number. Then # ...
;------------------------------------------------------------------------------- ; rfs_fileops.nasm - basic file operations. ;------------------------------------------------------------------------------- module tm.pathman.rfs_fileops %include "errors.ah" %include "pool.ah" %include "time.ah" %include "tm/inode.ah" ...
// Copyright 2014 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 "chrome/browser/android/compositor/layer/content_layer.h" #include "base/lazy_instance.h" #include "cc/base/filter_operations.h" #include "cc/la...
#pragma once #include <Engine/Scene/ItemEntry.hpp> #include <Engine/Scene/System.hpp> namespace Ra { namespace Engine { namespace Scene { /** * The SkeletonBasedAnimationSystem manages both SkeletonComponents and SkinningComponents. * It is also responsible for transmitting calls to/from animation-related processe...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1be9c, %r12 nop nop nop nop nop inc %rbp mov (%r12), %r8 nop dec %r11 lea addresses_WT_ht+0x2c7c, %rsi lea addresses_D_ht+0x198bc, %rdi clflush (%rsi) clflush (%rdi) nop xor ...
/* The smooth Class Library * Copyright (C) 1998-2019 Robert Kausch <robert.kausch@gmx.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of "The Artistic License, Version 2.0". * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRA...
include common.inc ; ; Extern functions. ; EXTRN AvmRdtscEmulationTrap0D:PROC EXTRN AvmpRdtscEmulationTrap0DOriginalHandler:QWORD ; ; ; ------------------------------------------------------------------- ; ; CODE SE...
db 0 ; species ID placeholder db 90, 100, 90, 90, 125, 85 ; hp atk def spd sat sdf db FIRE, FLYING ; type db 3 ; catch rate db 217 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 100 ; unknown 1 db 80 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/moltres...
#ifndef BOOST_MPL_IF_HPP_INCLUDED #define BOOST_MPL_IF_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // See http://www.boost.org/libs/mpl for docum...
/* //@HEADER // ************************************************************************ // // KokkosKernels 0.9: Linear Algebra and Graph Kernels // Copyright 2017 Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retain...
#include "Mcu.inc" #include "FarCalls.inc" #include "Door.inc" #include "TestFixture.inc" #include "../PollAfterDoorMock.inc" radix decimal PollChainTest code global testArrange testArrange: fcall initialisePollAfterDoorMock fcall initialiseDoor testAct: fcall pollDoor testAssert: banksel calledPollAfte...
; Echo program that waits for user to enter a character and than echoing it. ; NASM assembly for Mac OS X x64. section .data msg_enter: db "Please, enter a char: " .len: equ $ - msg_enter msg_entered: db "You have entered: " .len: equ $ - msg_entered section .bss char: resb 1 ; reserve one byte for one char ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x2a73, %rsi lea addresses_D_ht+0x1b073, %rdi clflush (%rdi) nop nop nop nop nop sub %rbp, %rbp mov $55, %rcx rep movsq nop nop nop nop and %r12, %r12 lea addresses_A_ht+0x118a, %r15 no...
; A027472: Third convolution of the powers of 3 (A000244). ; 1,9,54,270,1215,5103,20412,78732,295245,1082565,3897234,13817466,48361131,167403915,573956280,1951451352,6586148313,22082967873,73609892910,244074908070 mov $1,$0 mov $2,$0 add $2,2 mov $0,$2 bin $0,$1 mov $3,3 pow $3,$1 mul $0,$3 mov $1,$0
; A047493: Numbers that are congruent to {1, 4, 5, 7} mod 8. ; 1,4,5,7,9,12,13,15,17,20,21,23,25,28,29,31,33,36,37,39,41,44,45,47,49,52,53,55,57,60,61,63,65,68,69,71,73,76,77,79,81,84,85,87,89,92,93,95,97,100,101,103,105,108,109,111,113,116,117,119,121,124 mov $1,$0 mul $0,6 add $1,14 mod $1,4 add $0,$1 div $0,3 add $...
; A246730: Decimal expansion of r_9, the 9th smallest radius < 1 for which a compact packing of the plane exists, with disks of radius 1 and r_9. ; Submitted by Jon Maiga ; 6,3,7,5,5,5,9,7,7,2,3,1,9,4,5,7,9,3,4,9,1,3,1,7,1,6,7,7,3,9,9,0,9,5,9,6,7,3,7,5,7,0,8,4,2,4,5,7,4,0,1,8,7,4,0,6,7,0,8,5,4,5,6,5,6,7,3,3,1,8,1,1,5,9...
UnknownText_0x1b5270: text "Hello, this is" line "@" text_ram wStringBuffer3 text " speaking…" para "Hi, <PLAY_G>!" line "Good morning!" done UnknownText_0x1b52a5: text "Hello, this is" line "@" text_ram wStringBuffer3 text " speaking…" para "Hi, <PLAY_G>!" done UnknownText_0x1b52cc: text "Hello, this...
; A330095: Beatty sequence for 3^(x-1), where 1/2^x + 1/3^(x-1) = 1. ; 1,3,4,6,7,9,11,12,14,15,17,19,20,22,23,25,27,28,30,31,33,35,36,38,39,41,43,44,46,47,49,51,52,54,55,57,58,60,62,63,65,66,68,70,71,73,74,76,78,79,81,82,84,86,87,89,90,92,94,95,97,98,100,102,103 mov $4,$0 add $4,1 mov $8,$0 lpb $4 mov $0,$8 sub $4...
IDEAL ASSUME CS:MYGROUP, DS:MYGROUP, ES:MYGROUP, SS:MYGROUP SEGMENT SEG1 PUBLIC sword: DW 0DEADh DW 0FACEh JMP sword JMP near CS:100h ENDS GROUP MYGROUP SEG1 END
.macosx_version_min 10, 12 .section __TEXT,__text,regular,pure_instructions .align 4, 0x90 .globl _main _main: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $760, %rsp movq %rsi, %r14 movl %edi, %r15d movq (%r...
/*============================================================================= Copyright (c) 2001-2003 Daniel Nuffer Copyright (c) 2001-2007 Hartmut Kaiser Revised 2007, Copyright (c) Tobias Schwinger http://spirit.sourceforge.net/ Distributed under the Boost Software License, Version 1.0. (See acco...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x7bd, %r10 nop add %rbp, %rbp mov $0x6162636465666768, %rax movq %rax, (%r10) nop xor %r11, %r11 lea addresses_UC_ht+0xd7bd, %r12 nop dec %r10 movl $0x61626364, (%r12) nop no...
format PE GUI 4.0 stack 0x1000 entry start ..ShowSkipped equ ON ..ShowSizes equ ON include '%finc%\win32\win32a.inc' include '%finc%\libs\msgutils.inc' include 'source\giflib.inc' section '.code' code readable executable uglobal hInstance dd 0 ; Instance handle for common use. endg ...
// Copyright 2014 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 "components/gcm_driver/gcm_driver.h" #include <algorithm> #include "base/bind.h" #include "base/logging.h" #include "components/gcm_driver/gcm_...
; A213544: Sum of numerators of Farey Sequence of order n. ; 1,2,5,9,19,25,46,62,89,109,164,188,266,308,368,432,568,622,793,873,999,1109,1362,1458,1708,1864,2107,2275,2681,2801,3266,3522,3852,4124,4544,4760,5426,5768,6236,6556,7376,7628,8531,8971,9511,10017,11098,11482,12511,13011,13827,14451,15829,16315,17415,18087,19...
;/*! ; @file ; ; @brief BvsSetCurType DOS wrapper ; ; (c) osFree Project 2008-2022, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev (yuri.prokus...
############################################################################### # 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...
; A275367: Number of odd divisors of n^2. ; 1,1,3,1,3,3,3,1,5,3,3,3,3,3,9,1,3,5,3,3,9,3,3,3,5,3,7,3,3,9,3,1,9,3,9,5,3,3,9,3,3,9,3,3,15,3,3,3,5,5,9,3,3,7,9,3,9,3,3,9,3,3,15,1,9,9,3,3,9,9,3,5,3,3,15,3,9,9,3,3,9,3,3,9,9,3,9,3,3,15,9,3,9,3,9,3,3,5,15,5,3,9,3,3,27,3,3,7,3,9,9,3,3,9,9,3,15,3,9,9,5,3,9,3,7,15,3,1,9,9,3,9,9,3,...
SFX_Denied_3_Ch1: duty 3 unknownsfx0x10 90 unknownsfx0x20 4, 240, 0, 5 unknownsfx0x10 8 unknownsfx0x20 4, 0, 0, 0 unknownsfx0x20 15, 240, 0, 5 unknownsfx0x20 1, 0, 0, 0 endchannel SFX_Denied_3_Ch2: duty 3 unknownsfx0x20 4, 240, 1, 4 unknownsfx0x20 4, 0, 0, 0 unknownsfx0x20 15, 240, 1, 4 unknownsfx0x20 1,...
; A081347: First column in maze arrangement of natural numbers. ; 1,2,3,12,13,30,31,56,57,90,91,132,133,182,183,240,241,306,307,380,381,462,463,552,553,650,651,756,757,870,871,992,993,1122,1123,1260,1261,1406,1407,1560,1561,1722,1723,1892,1893,2070,2071,2256,2257,2450,2451,2652,2653,2862,2863,3080,3081,3306,3307,3540,3...
// Copyright 2015 PDFium 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 "testing/js_embedder_test.h" JSEmbedderTest::JSEmbedderTest() : m_pArrayBufferAllocator(new FXJS_ArrayBufferAllocator) { v8::Isolate::CreatePara...
;***************************************************************************** ;* x86-optimized functions for blend filter ;* ;* Copyright (C) 2015 Paul B Mahol ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ...
********************************************************************************* * DynoSprite - graphics-text.asm * Copyright (c) 2013, Richard Goedeken * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ar...
; =============================================================== ; Feb 2014 ; =============================================================== ; ; int wv_priority_queue_shrink_to_fit(wv_priority_queue_t *q) ; ; Release any excess memory allocated for the queue. ; ; After calling, priority_queue.capacity == priority_q...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>sched_setparam(pid, param) -> str Invokes the syscall sched_setparam. See 'man 2 sched_setparam' for more information. Arguments: pid(pid_t): pid param(sched_param*): param Returns: int </%d...
.file "Program2.c" .text .balign 2 .global main .type main, @function main: ; start of function ; framesize_regs: 0 ; framesize_locals: 0 ; framesize_outgoing: 0 ; framesize: 0 ; elim ap -> fp 2 ; elim fp -> sp 0 ; saved regs:(none) ; start of prologue ; end of prologue MOV.W #23168, &...
#include <cstdio> #include <Kernels/Time.h> #include <Kernels/Local.h> #include <Kernels/Neighbor.h> #include <Kernels/DynamicRupture.h> #include <Kernels/Plasticity.h> int main() { /// ADER-DG Flops long long nonZeroFlops = 0, hardwareFlops = 0; long long avgNeighborNonZeroFlops = 0, avgNeighborHardwareFlops =...
section .text global _start _start: mov ax, 8h and ax, 1 jz evnn mov eax, 4 mov ebx, 1 mov ecx, odd_msg mov edx, len2 int 0x80 jmp outprog evnn: mov ah, 09h mov eax, 4 mov ebx, 1 mov ecx, even_msg mov edx, len1 int 0x80 outprog: mov eax, 1 int ...
DPLC_61ABE: dc.w word_61AD6-DPLC_61ABE dc.w word_61ADA-DPLC_61ABE dc.w word_61ADE-DPLC_61ABE dc.w word_61AE2-DPLC_61ABE dc.w word_61AE6-DPLC_61ABE dc.w word_61AEA-DPLC_61ABE dc.w word_61AF0-DPLC_61ABE dc.w word_61AFA-DPLC_61ABE dc.w word_61B04-DPLC_61ABE dc.w word_61B0E-DPLC_61ABE dc.w word_61B18-D...
/* * Copyright (c) 2021 Huawei Device 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 law ...
; A240707: Sum of the middle parts in the partitions of 4n-1 into 3 parts. ; 1,8,31,80,159,282,459,690,993,1378,1841,2404,3077,3852,4755,5796,6963,8286,9775,11414,13237,15254,17445,19848,22473,25296,28359,31672,35207,39010,43091,47418,52041,56970,62169,67692,73549,79700,86203,93068,100251 mov $2,$0 add $2,1 mov $4,$0 ...
; A201837: G.f.: real part of 1/(1 - i*x - i*x^2) where i=sqrt(-1). ; Submitted by Jon Maiga ; 1,0,-1,-2,0,4,5,-2,-13,-12,12,40,25,-52,-117,-38,196,324,-3,-678,-841,360,2200,2000,-2079,-6760,-4121,8918,19720,6084,-33435,-54442,1547,115228,140772,-63880,-372775,-332892,359763,1142322,678796,-1528956,-3323203,-970958,570...
; A170294: Number of reduced words of length n in Coxeter group on 45 generators S_i with relations (S_i)^2 = (S_i S_j)^41 = I. ; 1,45,1980,87120,3833280,168664320,7421230080,326534123520,14367501434880,632170063134720,27815482777927680,1223881242228817920,53850774658067988480,2369434084954991493120,1042550997380196256...
; mov ah, 0x0e ; tty mode ; ; mov al, 'X' ; jmp print ; endprint: ; ; print: ; int 0x10 ; jmp endprint print: pusha ; keep this in mind: ; while (string[i] != 0) { print string[i]; i++ } ; the comparison for string end (null byte) start: mov al, [bx] ; 'bx' is the base address for the string cm...
; --------------------------------------------------------------------------- ; Animation script - Newtron enemy ; --------------------------------------------------------------------------- dc.w byte_DF24-Ani_obj42 dc.w byte_DF28-Ani_obj42 dc.w byte_DF30-Ani_obj42 dc.w byte_DF34-Ani_obj42 dc.w byte_DF...
#include<bits/stdc++.h> using namespace std; #define fi first #define se second #define pb push_back #define pf push_front #define pp push #define et empty #define mp make_pair #define For(i,a,b) for (int i=a;i<=b;i++) #define Fod(i,b,a) for (int i=b;i>=a;i--) #define Forl(i,a,b) for (ll i=a;i<=b;i++) #define Fodl(...
; A131534: Period 3: repeat [1, 2, 1]. ; 1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1 mod $0,3 mov $1,2 bin $1,$0
#include <stdio.h> #include <Windows.h> #include "stdafx.h" // DLL Function #define DEF_KERNEL ("kernel32.dll") #define DEF_FUNC ("WriteFile") // original function syntax typedef BOOL(WINAPI *tWriteFile) ( HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumbe...
#include <stdio.h> // - Just for some ASCII messages #include <string.h> #include <math.h> #include <iostream> #include <fstream> #include "visuals.h" // Header file for our OpenGL functions #include <stdlib.h> #include <time.h> #include "GL/glut.h" // - An interface and windows management library m...
; A314894: Coordination sequence Gal.6.194.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,9,14,19,24,28,33,38,43,47,52,57,61,66,71,76,80,85,90,95,99,104,109,113,118,123,128,132,137,142,147,151,156,161,165,170,175,180,184,189,1...
// Rockman X3 Practice ROM hack // by Myria // arch snes.cpu // LoROM org macro - see bass's snes-cpu.asm "seek" macro macro reorg n org ((({n}) & 0x7f0000) >> 1) | (({n}) & 0x7fff) base {n} endmacro // Warn if the current address is greater than the specified value. macro warnpc n {#}: if {#} > {...
; A073423: Sums of two powers of zero: triangle read by rows: T(m,n) = 0^n + 0^m, n = 0,1,2,3 ..., m = 0,1,2,3, ... n ; 2,1,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1 lpb $0,1 mov $2,$0 add $3,1 sub $0,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xe63d, %r14 nop nop nop nop cmp %rax, %rax movw $0x6162, (%r14) nop dec %r13 lea addresses_normal_ht+0x18835, %rsi nop sub $13601, %r10 vmovups (%rsi), %ymm5 vextracti128...
%ifdef CONFIG { "RegData": { "XMM0": ["0x428b029f42a63326", "0x0000000000000000"], "XMM1": ["0x4150f0e342241b6c", "0x0000000000000000"], "XMM2": ["0x41aff21340ab4706", "0x0000000000000000"], "XMM3": ["0x40aa5bea411ac802", "0x0000000000000000"], "XMM4": ["0x428500c641e83ad2", "0x0000000000000000"],...
/* * Copyright (c) 2011-2012,2015,2017 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementati...
; A182321: Number of iterations of A025581(n) required to reach 0. ; 0,1,2,1,3,2,1,2,3,2,1,4,2,3,2,1,3,4,2,3,2,1,2,3,4,2,3,2,1,3,2,3,4,2,3,2,1,4,3,2,3,4,2,3,2,1,3,4,3,2,3,4,2,3,2,1,2,3,4,3,2,3,4,2,3,2,1,5,2,3,4,3,2,3,4,2,3,2,1,3,5,2,3,4,3,2,3,4,2,3,2,1,4,3,5,2,3,4,3,2,3,4,2,3,2,1,3,4,3,5,2,3,4,3,2,3,4,2,3,2,1,2,3,4,3,5...
; A289161: Number of 3-cycles in the n X n black bishop graph. ; 0,0,2,6,24,50,114,196,352,540,850,1210,1752,2366,3234,4200,5504,6936,8802,10830,13400,16170,19602,23276,27744,32500,38194,44226,51352,58870,67650,76880,87552,98736,111554,124950,140184,156066,174002,192660,213600,235340,259602,284746,312664,341550,373474,...
; A250659: Number of (5+1) X (n+1) 0..1 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction. ; 159,286,445,636,859,1114,1401,1720,2071,2454,2869,3316,3795,4306,4849,5424,6031,6670,7341,8044,8779,9546,10345,11176,12039,12934,13861,14820,15811,16834,17889...
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license and patent ; grant that can be found in the LICENSE file in the root of the source ; tree. All contributing project authors may be found in the AUTHORS ; file in the root of the sour...
; A253433: Number of (n+1) X (6+1) 0..1 arrays with every 2 X 2 subblock diagonal minus antidiagonal sum nondecreasing horizontally, vertically and ne-to-sw antidiagonally. ; 325,318,336,372,444,588,876,1452,2604,4908,9516,18732,37164,74028,147756,295212,590124,1179948,2359596,4718892,9437484,18874668,37749036,75497772...
/** @file ***************************************************************************** Implementation of functions for generating randomness. See rng.hpp . ***************************************************************************** * @author This file is part of libff, developed by SCIPR Lab * ...
; A165447: T(n,k) = n^4 - 2*k^2*n^2 + k^4 = A120070(n, k)^2. ; Submitted by Christian Krause ; 9,64,25,225,144,49,576,441,256,81,1225,1024,729,400,121,2304,2025,1600,1089,576,169,3969,3600,3025,2304,1521,784,225,6400,5929,5184,4225,3136,2025,1024,289,9801,9216,8281,7056,5625,4096,2601,1296,361,14400,13689,12544,11025,9...
############################################################################### # 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...