text
stringlengths
1
1.05M
; DO NOT PUT CODE IN THIS FILE ONLY MACROS ; if you do the thing will blow up because the include for this file is at the top ; of the other files and the entry points won't be correct anymore %define BLOCK_SIZE 512 %define MAX_SECTORS 0x80 %define SECOND_STAGE_ENTRY 0x9000 %define SECOND_STAGE_SIZE 0x2000 ; jus...
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2015 Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitatio...
Sound_9B_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_9B_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $02 smpsHeaderSFXChannel cFM4, Sound_9B_FM4, $F2, $00 smpsHeaderSFXChannel cFM5, Sound_9B_FM5, $F9, $00 ; FM5 Data Sound_9B_FM5: dc.b nRst, $02 ; FM4 Data Sound_9B_FM4: smpsSetvoice ...
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi lea addresses_WT_ht+0x1dd0b, %r15 nop nop nop nop xor $39361, %rdi movw $0x6162, (%r15) nop nop nop nop add %r9, %r9 lea addresses_D_ht+0x13f0b, %rdi nop nop xor $57260, %rcx vmovups (%rdi), %ymm0 vextracti...
BluesHouseScript: call EnableAutoTextBoxDrawing ld hl, BluesHouseScriptPointers xor a call JumpTable ret BluesHouseScriptPointers: dw BluesHouseScript0 dw BluesHouseScript1 BluesHouseScript0: SetEvent EVENT_ENTERED_BLUES_HOUSE ; trigger the next script ld a, 1 ld [wBluesHouseCurScript], a BluesHouseScript...
; A227394: The maximum value of x^4(n-x)(x-1) for x in 1..n is reached for x = a(n). ; 1,1,2,3,4,5,6,7,7,8,9,10,11,12,13,13,14,15,16,17,18,18,19,20,21,22,23,23,24,25,26,27,28,28,29,30,31,32,33,33,34,35,36,37,38,38,39,40,41,42,43,43,44,45,46,47,48,48,49,50,51,52,53,53,54,55,56 mov $1,$0 add $1,1 mov $2,1 mov $3,$0 lpb ...
; A170401: Number of reduced words of length n in Coxeter group on 8 generators S_i with relations (S_i)^2 = (S_i S_j)^44 = I. ; 1,8,56,392,2744,19208,134456,941192,6588344,46118408,322828856,2259801992,15818613944,110730297608,775112083256,5425784582792,37980492079544,265863444556808,1861044111897656,13027308783283592...
; A010879: Final digit of n. ; 0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0 mod $0,10
/* * Copyright (C) 2020 Open Source Robotics Foundation * * 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 appl...
; A108689: Smallest integer q >= 1 such that difference between q*Pi and the nearest integer is <= 1/n. ; 1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 lpb $0,$0 d...
CALL _main HALT ; ; Function "main". ; _main PUSH IY LD IY, 0 ADD IY, SP LD HL, -10 ADD HL, SP LD SP, HL ; Variable "foo" is at location IY - 10 #if 0 LD HL, 1 PUSH HL LD BC, -10 PUSH IY POP HL ADD HL, BC PUSH HL LD HL, 4 POP BC ADD HL, BC PUSH HL POP IX POP HL LD (IX + 0), L LD (IX + 1...
;; ;; Copyright (c) 2012-2021, 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...
; A178457: Partial sums of floor(2^n/23). ; 0,0,0,0,0,1,3,8,19,41,85,174,352,708,1420,2844,5693,11391,22788,45583,91173,182353,364714,729436,1458880,2917768,5835544,11671097,23342203,46684416,93368843,186737697,373475405,746950822,1493901656,2987803324,5975606660,11951213332,23902426677,47804853367,95609706748,19121941...
/* * Copyright (c) [2020] Huawei Technologies Co., Ltd. All rights reserved. * * OpenArkCompiler is licensed under the Mulan Permissive Software License v2. * You can use this software according to the terms and conditions of the MulanPSL - 2.0. * You may obtain a copy of MulanPSL - 2.0 at: * * https://opensou...
// Copywrite, ciN 2017 #include "TestingGround.h" #include "PatrolRoute.h" AActor* UPatrolRoute::GetPatrolPoint(int32 InIndex) const { if (FMath::IsWithin(InIndex, 0, PatrolPoints.Num())) { return PatrolPoints[InIndex]; } return nullptr; } int32 UPatrolRoute::GetPatrolPointLength() { return PatrolPoin...
section .multiboot_header header_start: dd 0xe85250d6 ; magic number (multiboot 2) dd 0 ; architecture 0 (protected mode i386) dd header_end - header_start ; checksum dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) ; ; required end tag dw 0 dw 0 dd 8 header_end:
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/graph/initializer.h" #include "core/graph/gemm_activation_fusion.h" #include "core/graph/graph_utils.h" #include <deque> using namespace onnx; using namespace ::onnxruntime::common; namespace onnxruntime { ...
/* * Copyright (c) 2011, Intel 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 applicable ...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <printf>: #define N 1000 void printf(int fd, char *s, ...) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 18 sub $0x18,%esp write(fd, s, strlen(s)); 6: 8b 45 0c ...
#pragma once #include <simde/simde.hpp> namespace ghostfragment { void load_modules(pluginplay::ModuleManager& mm); }
; Test to check the behavior of phase/dephase .org #4000 .rom .start loop loop: jr loop .phase #c000 method1: call method2 ret method2: ret .dephase method3: call method4 ret method4: ret
PUBLIC plot_MODE1 EXTERN __krt_plot EXTERN __z9001_attr plot_MODE1: call __krt_plot dec h dec h dec h dec h ld a,(__z9001_attr) ld (hl),a ret
//====- LowerToAffineLoops.cpp - Partial lowering from Toy to Affine+Std --===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
;***************************************************************************** ;* ;* Copyright (c) 2006 - 2010, 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 Lice...
.include "../../src/libs/cesplib_rars.asm" utest_draw_winner_X: jal winner.x li a7, 10 ecall .include "../../src/draw/winnerscreen.asm" .include "../../src/draw/draw_winnerscreen.asm" .include "../../src/draw/draw_blackscreen.asm" .include "../../src/draw/draw_X.asm" .include "../../src/draw/draw_O.asm" .include ".....
;; ; ; Name: stager_sock_bind6 ; Qualities: Can Have Nulls ; Version: $Revision: 1607 $ ; License: ; ; This file is part of the Metasploit Exploit Framework ; and is subject to the same licenses and copyrights as ; the rest of this package. ; ; Description: ; ; Implementatio...
and 0x082
_stressfs: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "fs.h" #include "fcntl.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp int fd, i; char path[] = "stressfs0"; 7: b8 30 00 0...
section .text extern gui_main global _main _main: jmp gui_main
; Copyright © 2018, VideoLAN and dav1d authors ; Copyright © 2018, Two Orioles, LLC ; 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 copy...
; A063166: Dimension of the space of weight 2n cusp forms for Gamma_0( 98 ). ; 7,34,62,90,118,146,174,202,230,258,286,314,342,370,398,426,454,482,510,538,566,594,622,650,678,706,734,762,790,818,846,874,902,930,958,986,1014,1042,1070,1098,1126,1154,1182,1210,1238,1266,1294,1322,1350,1378 mov $1,$0 mul $1,28 trn $1,1 ad...
; multi-segment executable file template. data segment ; add your data here! pkey db 10, 13, "press any key...$" message db 10, 13, "Result : $" string db 30 dup("$") ends stack segment dw 128 dup(0) ends code segment start: ; set segment registers: mov ax, data ...
; A190974: a(n) = 7*a(n-1) - 5*a(n-2), with a(0)=0, a(1)=1. ; 0,1,7,44,273,1691,10472,64849,401583,2486836,15399937,95365379,590557968,3657078881,22646762327,140241941884,868459781553,5378008761451,33303762422392,206236293149489,1277135239934463,7908765213793796,48975680296884257 mov $2,$0 mov $3,1 lpb $2,1 add $4,$...
; A021536: Decimal expansion of 1/532. ; 0,0,1,8,7,9,6,9,9,2,4,8,1,2,0,3,0,0,7,5,1,8,7,9,6,9,9,2,4,8,1,2,0,3,0,0,7,5,1,8,7,9,6,9,9,2,4,8,1,2,0,3,0,0,7,5,1,8,7,9,6,9,9,2,4,8,1,2,0,3,0,0,7,5,1,8,7,9,6,9,9,2,4,8,1,2,0,3,0,0,7,5,1,8,7,9,6,9,9 add $0,1 mov $1,10 pow $1,$0 sub $1,6 mul $1,6 div $1,14 add $1,4 div $1,228 mod...
# Build commands: # as simulator_test1.s -o simulator_test1.o && objdump -d simulator_test1.o # objcopy -O binary simulator_test1.o simulator_test1.bin # xxd -e simulator_test1.bin # TODO: Emit and consume hex file # Add up the numbers from 1 to 10 (the answer is 45, or 0x2d) .text _start: addi s0, zero...
/* ********************************************************** * Copyright (c) 2011-2020 Google, Inc. All rights reserved. * Copyright (c) 2001-2010 VMware, Inc. All rights reserved. * ********************************************************** */ /* * Redistribution and use in source and binary forms, with or wit...
; A154879: Third differences of the Jacobsthal sequence A001045. ; 3,-2,4,0,8,8,24,40,88,168,344,680,1368,2728,5464,10920,21848,43688,87384,174760,349528,699048,1398104,2796200,5592408,11184808,22369624,44739240,89478488,178956968,357913944,715827880,1431655768,2863311528,5726623064,11453246120,22906492248,45812984488,...
; A118360: Start with 1; repeatedly reverse the digits when the number is written in binary and add 2 to get the next term. ; 1,3,5,7,9,11,15,17,19,27,29,25,21,23,31,33,35,51,53,45,47,63,65,67,99,101,85,87,119,121,81,71,115,105,77,91,111,125,97,69,83,103,117,89,79,123,113,73,75,107,109,93,95,127,129,131,195,197,165,167...
#include "../includes/LesFenetres_QT.hpp" InvitationQT::InvitationQT(int id, MainWindow *parent, Client* cli): WindowQT(id, parent, client), item_clicked(nullptr){ page = new Ui::InvitationWidget; page->setupUi(this); signalMapper->setMapping(page->Return_From_InvitationsToolButton, MAIN_MENU_SCREEN); conne...
/** * @file environment.hpp * @author Licheng Wen (wenlc@zju.edu.cn) * @brief Environment class header * @date 2020-11-12 * * @copyright Copyright (c) 2020 * */ #pragma once #include <ompl/base/State.h> #include <ompl/base/spaces/DubinsStateSpace.h> #include <ompl/base/spaces/ReedsSheppStateSpace.h> #include <...
lda {m2} sta ({z1}),y iny lda {m2}+1 sta ({z1}),y
; A099041: Number of 3 X n 0-1 matrices avoiding simultaneously the right angled numbered polyomino patterns (ranpp) (00;1), (10;0) and (10;1). ; 1,8,24,58,128,270,556,1130,2280,4582,9188,18402,36832,73694,147420,294874,589784,1179606,2359252,4718546,9437136,18874318,37748684,75497418,150994888,301989830,603979716,1207...
/*! \file async_buffer.inl \brief Asynchronous logging buffer inline implementation \author Ivan Shynkarenka \date 04.08.2016 \copyright MIT License */ #if defined(_MSC_VER) #pragma warning(push) #pragma warning(disable: 4702) // C4702: unreachable code #endif namespace CppLogging { inline AsyncB...
; A200166: Number of -n..n arrays x(0..2) of 3 elements with nonzero sum and with zero through 2 differences all nonzero. ; 2,34,128,348,726,1326,2180,3352,4874,6810,9192,12084,15518,19558,24236,29616,35730,42642,50384,59020,68582,79134,90708,103368,117146,132106,148280,165732,184494,204630,226172,249184,273698,299778,...
;=================================================================================================== ; Super PC/Turbo XT BIOS for Intel 8088 or NEC "V20" Motherboards ; Additions by Ya`akov Miles (1987) and Jon Petrosky <Plasma> (2008-2017) ; http://www....
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2017 The PIVX developers // Copyright (c) 2020-2021 The Caskback developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "receivecoinsdialog.h" #...
Sound5E_WingFortress_Header: smpsHeaderStartSong 2 smpsHeaderVoice Sound5E_WingFortress_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM3, Sound5E_WingFortress_FM3, $14, $05 ; FM3 Data Sound5E_WingFortress_FM3: smpsSetvoice $00 Sound5E_WingFortress_Loop00: dc.b nAb1, ...
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
; A153189: Triangle T(n,k) = Product_{j=0..k} n*j+1. ; Submitted by Christian Krause ; 1,1,2,1,3,15,1,4,28,280,1,5,45,585,9945,1,6,66,1056,22176,576576,1,7,91,1729,43225,1339975,49579075,1,8,120,2640,76560,2756160,118514880,5925744000,1,9,153,3825,126225,5175225,253586025,14454403425,939536222625,1,10,190,5320,196840,9...
; A103991: Reduced denominators of the hypercube line-picking integrand sqrt(Pi)*I(n,0). ; 3,5,21,9,11,39,15,17,57,21,23,75,27,29,93,33,35,111,39,41 mul $0,2 add $0,2 mov $2,$0 add $0,1 gcd $2,3 mul $0,$2
<% from pwnlib.shellcraft import mips %> <%docstring>Execute /bin/sh</%docstring> ${mips.pushstr('//bin/sh')} ${mips.syscall('SYS_execve', '$sp', 0, 0)}
; A085279: Expansion of (1 - 2*x - 2*x^2)/((1 - 2*x)*(1 - 3*x)). ; 1,3,7,17,43,113,307,857,2443,7073,20707,61097,181243,539633,1610707,4815737,14414443,43177793,129402307,387944777,1163310043,3488881553,10464547507,31389448217,94159956043,282463090913,847355718307,2542000046057,7625865920443,22877329325873,686314511067...
; A132776: A128064(unsigned) * A007318. ; Submitted by Christian Krause ; 1,3,2,5,8,3,7,18,15,4,9,32,42,24,5,11,50,90,80,35,6,13,72,165,200,135,48,7,15,98,273,420,385,210,63,8,17,128,420,784,910,672,308,80,9,19,162,612,1344,1890,1764,1092,432,99,10 sub $2,$0 lpb $0 add $2,1 add $2,$1 add $1,1 sub $0,$1 add $...
LXI H,2060H ; set up HL to point to address of N MOV C,M ; transfer value of N in register C MVI A,00 ; clear accumulator to store nth fibonacci number MVI B,01 ; set B = 01H as the 2nd fibonacci number CALL FIBONACCI ; compute the nth fibonacci number STA 2050H ; ...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkBitmap.h" #include "include/core/SkCanvas.h" #include "include/core/SkSurface.h" #include "include/gpu/GrBackendSurface.h" #include "include/gpu/GrDir...
/* * 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 ...
/* * Copyright 2019-2020 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
.data message1: .asciiz "This is the first message\n" message2: .asciiz "This is the second message" .text la $a0, message1 # general message to print will be loaded to $a0 la $a1, message2 # string message to print will be loaded to $a1 addi $v0, $zero, 59 # service 59 to display a string dialog box syscall
// 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 "base/command_line.h" #include "base/metrics/field_trial.h" #include "chrome/browser/io_thread.h" #include "components/data_reduction_proxy/core/...
#include "Definitions.h" #include "ProgramTable.h" #include "TunerAdministrator.h" #include <linux/dvb/frontend.h> // -------------------------------------------------------------------- // SOURCE: https://linuxtv.org/downloads/v4l-dvb-apis/uapi/dvb // -----------------------------------------------------------------...
extern m7_ippsAESDecryptXTS_Direct:function extern n8_ippsAESDecryptXTS_Direct:function extern y8_ippsAESDecryptXTS_Direct:function extern e9_ippsAESDecryptXTS_Direct:function extern l9_ippsAESDecryptXTS_Direct:function extern n0_ippsAESDecryptXTS_Direct:function extern k0_ippsAESDecryptXTS_Direct:function extern ippcp...
#include "audiosystem.h" #ifdef POKITTO_SFML float vol = 0; void AudioSystem::setVolume(float value) { vol = value; } float AudioSystem::getVolume() { return vol; } void AudioSystem::play(SFX) { } void AudioSystem::playSong(Song) { } #else #include "core/pokittolibextensions.h" #include "Pokitto.h" #i...
; A133665: a(n) = a(n-1) - 9*a(n-2), a(0) = 1, a(1) = 3. ; 1,3,-6,-33,21,318,129,-2733,-3894,20703,55749,-130578,-632319,542883,6233754,1347807,-54755979,-66886242,425917569,1027893747,-2805364374,-12056408097,13191871269,121699544142,2972702721,-1092323194557,-1119077519046,8711831231967,18783528903381,-59622952184322...
copyright zengfr site:http://github.com/zengfr/romhack 036B80 bne $36b8a [enemy+D5] 036B96 move.w #$200, ($2a,A0) [enemy+D5] 036F3A clr.b ($d5,A0) [enemy+4A] 036F3E tst.b ($16,A0) 036F78 bne $36f96 [enemy+D5] 036F8C st ($d5,A0) [enemy+4A] 036F90 jsr $10d2.w [enemy+D5] 036F9A jsr $2470...
;****************************************************************************** ;* 36 point SSE-optimized IMDCT transform ;* Copyright (c) 2011 Vitor Sessak ;* ;* This file is part of Libav. ;* ;* Libav is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* Lic...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>sigqueueinfo(tgid, sig, uinfo) -> str Invokes the syscall sigqueueinfo. See 'man 2 sigqueueinfo' for more information. Arguments: tgid(pid_t): tgid sig(int): sig uinfo(siginfo_t*): uinfo Returns: i...
; Copyright (c) 2004, Intel Corporation ; All rights reserved. This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution...
/* * * Copyright (c) 2020-2021 Project CHIP Authors * * 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 r...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 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 "db.h" #include "net.h" #include "init.h" #include "addrman.h" #include "...
 ; dot matrix uzerinde gulen surat cizimi list p='16f877a' #include<P16F877A.INC> __CONFIG h'3F31' index EQU 0x20 gecikme1 EQU 0x21 gecikme2 EQU 0x22 gecikme3 EQU 0x23 ORG 0x00 GOTO BASLA ORG 0x04 retfie GECIKME movlw d'20' movwf gecikme1 G1 movlw d'20' movwf gecikme2 G2 decfsz gecikme2 g...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0x2a94, %rsi lea addresses_A_ht+0x1090e, %rdi dec %r14 mov $3, %rcx rep movsb nop xor $24727, %r15 lea addresses_WC_ht+0x17294, %r13 and $63028, %r9 vmovups (%r13), %ymm3 vextra...
; A188050: a(n) = A016755(n) - A001845(n). ; 0,20,100,280,600,1100,1820,2800,4080,5700,7700,10120,13000,16380,20300,24800,29920,35700,42180,49400,57400,66220,75900,86480,98000,110500,124020,138600,154280,171100,189100,208320,228800,250580,273700,298200,324120,351500,380380,410800,442800,476420,511700,548680,587400,6279...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2017 Realm Inc. // // 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/li...
; A005855: The coding-theoretic function A(n,10,7). ; Submitted by Jon Maiga ; 1,1,1,1,1,2,2,2,3,4,5,6,8,10,13,16 mov $2,$0 bin $2,3 lpb $0 mov $0,$1 mov $1,2 add $2,4 mul $2,2 lpe div $2,4 add $2,9 add $1,$2 div $1,16 add $1,1 mov $0,$1
* Spreadsheet 29/11-91 * - configuration information (english) * include win1_mac_config02 include win1_mac_olicfg include win1_keys_wstatus include win1_keys_k section config xref.l qs_vers * * Qjump's standard config block level 2 (TAB) mkcfhead {QSpread Demo General/Windows},qs_ver...
;; xOS Kernel API Reference ;; As of API version 1 XOS_WM_CREATE_WINDOW = 0x0000 XOS_YIELD = 0x0001 XOS_WM_PIXEL_OFFSET = 0x0002 XOS_WM_REDRAW = 0x0003 XOS_WM_READ_EVENT = 0x0004 XOS_WM_READ_MOUSE = 0x0005 XOS_WM_GET_WINDOW = 0x0006 XOS_WM_DRAW_TEXT = 0x0007 XOS_WM_CLEAR = 0x0008 XOS_MALLOC = 0x0009 X...
; A195311: Row sums of A195310. ; 0,1,3,5,7,10,13,17,21,25,29,33,38,43,48,54,60,66,72,78,84,90,97,104,111,118,126,134,142,150,158,166,174,182,190,199,208,217,226,235,245,255,265,275,285,295,305,315,325,335,345,356,367,378,389,400 lpb $0 add $2,1 mov $3,$0 trn $3,$2 add $3,$0 sub $0,1 add $4,3 trn $0,$4 ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x82f9, %rsi lea addresses_A_ht+0x1d795, %rdi xor $28066, %r8 mov $122, %rcx rep movsq nop nop nop nop nop sub %r13, %r13 lea addresses_WT_ht+0x19f39, %rcx clflush (%rcx) nop nop cmp...
; DV3 QPC Hard Disk Hold / Release controller  1998 Tony Tebby section dv3 xdef hd_hold xdef hd_release include 'dev8_dv3_keys' include 'dev8_dv3_hd_keys' include 'dev8_keys_sys' include 'dev8_keys_err' include 'dev8_mac_assert' ;+++ ; This routine is called to take the disk controller ; ; d0 cr p prese...
.MODEL SMLL .STACK 100H .DATA ;jeshob variables declared hocche ; BH and BL --> 8bit registers , 1BYTE ; BX = BH+BL --> 16 bit register, 1 WORD ; general purpose register AX BX CX DX ; CS - points at the segment containing the current program. ;DS - generally points at segment where variables are defined. ;ES...
; A070408: a(n) = 7^n mod 22. ; 1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21,15,17,9,19,1,7,5,13,3,21...
; A064276: Number of 2 X 2 singular integer matrices with elements from {0,...,n} up to row and column permutation. ; 1,5,13,25,42,62,90,118,155,195,243,287,352,404,472,548,629,697,797,873,986,1094,1202,1294,1443,1559,1687,1823,1984,2100,2296,2420,2597,2769,2937,3125,3366,3514,3702,3906,4167,4331,4611,4783,5040,5320,55...
/* * Copyright 2018 Google * * 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 or agreed to in w...
/* * (c) Copyright 2016 Hewlett Packard Enterprise Development LP * * 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 requi...
; A131949: Row sums of triangle A131948. ; 1,6,16,32,56,92,148,240,400,692,1244,2312,4408,8556,16804,33248,66080,131684,262828,525048,1049416,2098076,4195316,8389712,16778416,33555732,67110268,134219240,268437080,536872652,1073743684,2147485632,4294969408,8589936836,17179871564,34359740888,68719479400,137438956284,2748...
.if lang == 0 // if JP .table table_file_jp .if card_game_desc_jp_len >= 1 .strn card_game_desc_jp_1 .endif .if card_game_desc_jp_len >= 2 .if (game_code >> 8) == 0x423457 // if BN4 .db 0xE8 .else // if BN5 or BN6 .db 0xE9 .endif .strn card_game_desc_jp_2 .endif .if card_game_desc_jp_...
.export _lvl_details .segment "ROM_02" _lvl_details: ; NOTE: This only exists here, but applies for all banks. DON'T CHANGE THE SIZE w/o considering this ; Start location; tileId, x, y, Number of chunks .byte 27, 80, 80, 3 .include "levels/processed/lvl1_tiles.asm" .segment "ROM_03" .byte 27, 80, 80, 2 .include ...
; A055373: Invert transform applied twice to Pascal's triangle A007318. ; Submitted by Christian Krause ; 1,1,1,3,6,3,9,27,27,9,27,108,162,108,27,81,405,810,810,405,81,243,1458,3645,4860,3645,1458,243,729,5103,15309,25515,25515,15309,5103,729,2187,17496,61236,122472,153090,122472,61236,17496,2187,6561 mov $2,$0 seq $2...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rax lea addresses_D_ht+0x11865, %r11 nop nop nop nop and $48295, %r9 movups (%r11), %xmm4 vpextrq $0, %xmm4, %rax nop nop xor $53436, %r9 pop %rax pop %r9 pop %r11 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r14 push %r9 p...
; A058396: Expansion of ((1-x)/(1-2*x))^3. ; 1,3,9,25,66,168,416,1008,2400,5632,13056,29952,68096,153600,344064,765952,1695744,3735552,8192000,17891328,38928384,84410368,182452224,393216000,845152256,1811939328,3875536896,8271167488,17616076800,37446746112,79456894976,168309030912,355945414656,751619276800,158484293222...
/** \file \author Shin'ichiro Nakaoka */ #include "LuaScriptItem.h" #include "LuaInterpreter.h" #include <cnoid/ItemManager> #include <cnoid/PutPropertyFunction> #include <cnoid/Archive> #include <cnoid/LazyCaller> #include <cnoid/MessageView> #include <cnoid/UTF8> #include <cnoid/stdx/filesystem> #include <fmt/...
/* * ICE / OPCODE - Optimized Collision Detection * http://www.codercorner.com/Opcode.htm * * Copyright (c) 2001-2008 Pierre Terdiman, pierre@codercorner.com This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from...
//===- InstCombineLoadStoreAlloca.cpp -------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
; A081125: a(n) = n! / floor(n/2)!. ; 1,1,2,6,12,60,120,840,1680,15120,30240,332640,665280,8648640,17297280,259459200,518918400,8821612800,17643225600,335221286400,670442572800,14079294028800,28158588057600,647647525324800,1295295050649600,32382376266240000,64764752532480000,1748648318376960000,3497296636753920000,1014...
; A233543: Table T(n,m) = m! read by rows. ; 1,1,1,1,1,2,1,1,2,6,1,1,2,6,24,1,1,2,6,24,120,1,1,2,6,24,120,720,1,1,2,6,24,120,720,5040,1,1,2,6,24,120,720,5040,40320,1,1,2,6,24,120,720,5040,40320,362880 lpb $0,1 mov $1,$0 add $2,1 sub $0,$2 trn $0,1 lpe sub $1,1 fac $1 trn $1,1 add $1,1
use32 format binary as 'exe' include 'patching.inc' ; Grom PE's FASM patching macros ; === Constants === text_physical_offset = 00001000h patch_physical_offset = 0076B000h data_physical_offset = 00752000h IMAGE_BASE = 00400000h PATCH_ORG = 00D4F000h - patch_physical_offset TEXT_ORG = 00401000h - text_ph...
; A226782: If n=0 (mod 2) then a(n)=0, otherwise a(n)=4^(-1) in Z/nZ*. ; 0,0,1,0,4,0,2,0,7,0,3,0,10,0,4,0,13,0,5,0,16,0,6,0,19,0,7,0,22,0,8,0,25,0,9,0,28,0,10,0,31,0,11,0,34,0,12,0,37,0,13,0,40,0,14,0,43,0,15,0,46,0,16,0,49,0,17,0,52,0,18,0,55,0,19,0,58,0,20,0,61,0,21,0,64,0,22,0,67,0,23,0,70,0,24,0,73,0,25,0,76,0,26,0...
WORDS ; The following addresses are 16 bits long segment byte at 4000-43FF 'EEPROM' WORDS ; The following addresses are 16 bits long segment byte at 8080-FFFF 'ROM' WORDS ; The following addresses are 16 bits long segment byte at 8000-807F 'INTERRUPT' ;=======Register==============================...