text
stringlengths
1
1.05M
; A164315: Number of binary strings of length n with no substrings equal to 000 or 011. ; 1,2,4,6,9,13,18,25,34,46,62,83,111,148,197,262,348,462,613,813,1078,1429,1894,2510,3326,4407,5839,7736,10249,13578,17988,23830,31569,41821,55402,73393,97226,128798,170622,226027,299423,396652,525453,696078,922108,1221534,1618189,2...
; timer interrupt is apparently not invoked anyway Timer:: reti
; char *_memstrcpy_(void *p, char *s, size_t n) SECTION code_string PUBLIC __memstrcpy_ EXTERN asm__memstrcpy __memstrcpy_: pop af pop de pop hl pop bc push bc push hl push de push af jp asm__memstrcpy
; ASM source file created by SevenuP v1.20 ; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain ;GRAPHIC DATA: ;Pixel Size: ( 24, 32) ;Char Size: ( 3, 4) ;Sort Priorities: X char, Char line, Y char ;Data Outputted: Gfx ;Interleave: Sprite ;Mask: No barbaro_idle_espa...
%include "options.asm" %include "lz0a_const.asm" %include "data_struct2.asm" %include "bitbuf2.asm" %include "huffman.asm" %include "igzip_compare_types.asm" %include "reg_sizes.asm" %include "stdmac.asm" extern rfc1951_lookup_table _len_to_code_offset equ 0 %define LAST_BYTES_COUNT 3 ; Bytes to prevent reading ou...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
bits 64 default rel section .text global pal_execute_vmclear_checked pal_execute_vmclear_checked : vmclear [rdi] jbe pal_execute_vmclear_checked_failure mov rax, 0x1 ret pal_execute_vmclear_checked_failure : mov rax, 0x0 ret
## MIPS Assignment #1 ## Ch13 4.asm ## Arithmetic Expression: 3x - 5y, initialize x=1, y=2 .text .globl main main: ori $8, $0, 0x01 # initialize $8(x) to 1 ori $9, $0, 0x02 # initialize $9(y) to 2 or $6, $0, $8 # set x to $6 for temporary or $7, $0, $9 # set y ...
; A133628: a(1)=1, a(n) = a(n-1) + (p-1)*p^(n/2-1) if n is even, else a(n) = a(n-1) + p^((n-1)/2), where p=4. ; 1,4,8,20,36,84,148,340,596,1364,2388,5460,9556,21844,38228,87380,152916,349524,611668,1398100,2446676,5592404,9786708,22369620,39146836,89478484,156587348,357913940,626349396,1431655764,2505397588,5726623060,...
; A063915: G.f.: (1 + Sum_{ i >= 0 } 2^i*x^(2^(i+1)-1)) / (1-x)^2. ; 1,3,5,9,13,17,21,29,37,45,53,61,69,77,85,101,117,133,149,165,181,197,213,229,245,261,277,293,309,325,341,373,405,437,469,501,533,565,597,629,661,693,725,757,789,821,853,885,917,949,981,1013,1045,1077,1109,1141,1173,1205,1237,1269,1301,1333,1365,1429,1...
//================================================================================================= /*! // \file src/mathtest/smatdmatschur/LCaLDb.cpp // \brief Source file for the LCaLDb sparse matrix/dense matrix Schur product math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // Thi...
;/* ; Copyright Oliver Kowalke 2009. ; 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) ;*/ ; ******************************************************* ; * ...
/* * * Copyright (c) 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 requir...
; A337484: Number of ordered triples of positive integers summing to n that are neither strictly increasing nor strictly decreasing. ; 0,0,0,1,3,6,8,13,17,22,28,35,41,50,58,67,77,88,98,111,123,136,150,165,179,196,212,229,247,266,284,305,325,346,368,391,413,438,462,487,513,540,566,595,623,652,682,713,743,776,808,841,875...
; A287272: a(n) is the number of zeros of the Laguerre L(n, x) polynomial in the open interval (-1, +1). ; 0,0,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,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 lpb $0 add $1,5 trn $0,$1 sub $0,1 lpe div...
; A000127: Maximal number of regions obtained by joining n points around a circle by straight lines. Also number of regions in 4-space formed by n-1 hyperplanes. ; 1,2,4,8,16,31,57,99,163,256,386,562,794,1093,1471,1941,2517,3214,4048,5036,6196,7547,9109,10903,12951,15276,17902,20854,24158,27841,31931,36457,41449,46938,...
/* * Copyright 2011-2019 Branimir Karadzic. All rights reserved. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #include "bgfx_p.h" #if (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL) # include "renderer_gl.h" # include <bx/timer.h> # include <bx/uint32_t.h> namespace bgfx { n...
; This is the entry point for the application processors. ; It is loaded at 0x8000 by HermitCore and filled with parameters. ; It does the switch from Real Mode -> Protected Mode -> Long Mode, ; sets up CR3 for this CPU, and then calls into entry.asm. ; ; In contrast to this self-contained entry point, entry.asm is lin...
.( CA = $dc + TILE_ALPHANUM_A CB = $dc + TILE_ALPHANUM_B CC = $dc + TILE_ALPHANUM_C CD = $dc + TILE_ALPHANUM_D CE = $dc + TILE_ALPHANUM_E CF = $dc + TILE_ALPHANUM_F CG = $dc + TILE_ALPHANUM_G CH = $dc + TILE_ALPHANUM_H CI = $dc + TILE_ALPHANUM_I CJ = $dc + TILE_ALPHANUM_J CK = $dc + TILE_ALPHANUM_K CL = $dc + TILE_ALPH...
mov r0, pointers mov r2, 4 loop: mov r1, [r0] mov r1, [r1] add r3, r1 add r0, 1 loop r2, loop sub r3, 1 # 10+20+40+30-1=99 mov [out], r3 halt .data out: data 0 pointers: data p1, p2, p3, p4 p1: data 10 p2: data 20 p4: data 40 p3: data 30
// Copyright (c) 2006-7 John Maddock // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_MATH_TOOLS_CONFIG_HPP #define BOOST_MATH_TOOLS_CONFIG_HPP #ifdef _MSC_VER #...
10 ORG 100H 20 JP MAIN 30INKEY EQU 089BEH 35PUTCHR EQU 08440H 40INITSR EQU 0871AH 50OPENSR EQU 0BCE8H 60CLOSSR EQU 0BCEBH 70LRDSR EQU 0BD15H 80WAITK EQU 0BFCDH 90WSTSR EQU 0BFB2H 100MAIN: CALL INITSR 110 CALL OPENSR 115 CALL CLS 120 LD IX, L2 130 LD B, 4 140 LD HL, L1 150LOOP: LD A, (IX) 160 CALL BYTE 170 INC IX 250 DJ...
; A065995: a(n) = prime(prime(n) + n). ; Submitted by Jon Maiga ; 5,11,19,31,53,67,89,103,131,167,181,227,251,269,293,347,383,401,443,467,491,547,577,617,673,709,733,761,787,823,929,967,1013,1031,1097,1117,1181,1229,1277,1303,1373,1409,1481,1489,1531,1553,1627,1741,1783,1801,1861,1901,1931,2011,2069,2113,2161,2207,2267...
; ; Copyright (c) 2016, Alliance for Open Media. All rights reserved ; ; This source code is subject to the terms of the BSD 2 Clause License and ; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License ; was not distributed with this source code in the LICENSE file, you can ; obtain it at www.aome...
; void adt_StackDelete(struct adt_Stack *s, void *delete) ; CALLER linkage for function pointers SECTION code_clib PUBLIC adt_StackDelete PUBLIC _adt_StackDelete EXTERN adt_StackDelete_callee EXTERN ASMDISP_ADT_STACKDELETE_CALLEE .adt_StackDelete ._adt_StackDelete pop bc pop de pop hl push hl push de...
# just another program .data datay : .float 0.0 data1 : .float 2.0 data2 : .float 3.0 datam : .float 3.14 datan : .float 1.45 .text main: l.s $f0, data1 l.s $f1, data2 l.s $f2, datam l.s $f3, datan mul.s $f4, $f2, $f0 div.s $f5, $f3, $f1 add.s $f4, $f4, $f5 s.s $f4, datay li $v0, 10 syscall
// Copyright (c) 2012 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 "ui/views/controls/webview/web_dialog_view.h" #include <vector> #include "base/strings/utf_string_conversions.h" #include "content/public/b...
;; ;; Copyright (c) 2018, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and the ...
/* Copyright 2012-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "InMemoryView.h" #include "watchman.h" #include "watchman_error_category.h" using namespace watchman; namespace { class NeedRecrawl : public std::runtime_error { public: using std::runtime_error::runtime_error; ...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; void b_array_destroy(b_array_t *a) ; ; Zero the array structure. ; array.capacity = 0 ensures no array operations can be performed. ; ; ===================================...
;dx: dh = number of sectors to read, dl = num of drive ;we will read our word from disk to address in bx disk_load: pusha push dx ;we will overwrite input parameter in dx, so let's save it on stack ;set up inputs for 0x13 disk IO interrupt mov ah, 0x02 ;0x2 is read mode mov al, dh ;set number of sectors to ...
############################################################################### # 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...
; A195317: Centered 40-gonal numbers. ; 1,41,121,241,401,601,841,1121,1441,1801,2201,2641,3121,3641,4201,4801,5441,6121,6841,7601,8401,9241,10121,11041,12001,13001,14041,15121,16241,17401,18601,19841,21121,22441,23801,25201,26641,28121,29641,31201,32801,34441,36121,37841,39601,41401,43241,45121,47041,49001,51001,53041,...
.text .file "h264ref.memalloc.no_mem_exit.ll" .globl no_mem_exit .align 16 .type no_mem_exit,@function no_mem_exit: // @no_mem_exit // BB#0: { r2 = ##.str.20 r3 = r0 allocframe(#8) } { r1 = #300 r0 = ##errortext memw(r29 + #0) = r3 } { call snprintf } { r1:...
// myextension.cpp // Extension lib defines #define LIB_NAME "ImGui" #define MODULE_NAME "imgui" #include <stdlib.h> #include <vector> #include "imgui/imgui.h" #include "imgui/imconfig.h" #if defined(IMGUI_IMPL_OPENGL_LOADER_GL3W) #include <GL/gl3w.h> #endif // include the Defold SDK #include <dmsdk/sdk.h> #include...
#include once <printi16.asm>
#include "ScoreBroad.h" ScoreBroad* ScoreBroad::createScoreBroad(int score, int width, int height, const char* title, int typt, float x, float y) { ScoreBroad* enemy = new ScoreBroad(); if (enemy&&enemy->init()) { enemy->autorelease(); enemy->enemyInit(score, width, height, title, typt, x, y); return enemy; ...
; Sonic the Hedgehog 2 disassembled Z80 sound driver ; Disassembled by Xenowhirl for AS ; Additional disassembly work by RAS Oct 2008 ; RAS' work merged into SVN by Flamewing ; --------------------------------------------------------------------------- FixDriverBugs = 0 OptimiseDriver = 0 ; -------------------------...
.global mydata mydata: .byte 0x78, 0x66, 0x69, 0x6f, 0x68, 0x66, 0x6f, 0x69, 0x68, 0x7a, 0x65, 0x6f, 0x69, 0x66, 0x68
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x4665, %rsi lea addresses_A_ht+0x77e0, %rdi clflush (%rdi) nop nop add $30130, %rax mov $36, %rcx rep movsw nop nop nop nop nop cmp $31812, %rdx lea addresses_WC_ht+0xf220, %...
; ; ; ZX Maths Routines ; ; 12/12/02 - Stefano Bodrato ; ; $Id: ftoe.asm,v 1.2 2015/01/19 01:32:57 pauloscustodio Exp $ ; ; ; Just a dirty placeholder.. :oP PUBLIC ftoe EXTERN ftoa .ftoe jp ftoa
; A152064: a(n) = 2*n^3 - 3*n^2 + 5. ; 5,4,9,32,85,180,329,544,837,1220,1705,2304,3029,3892,4905,6080,7429,8964,10697,12640,14805,17204,19849,22752,25925,29380,33129,37184,41557,46260,51305,56704,62469,68612,75145,82080,89429,97204,105417,114080,123205,132804,142889,153472,164565,176180,188329,201024,214277,228100,2425...
/* * Copyright (c) 2011-2022, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, w...
; THERE IS A STRING NAMED "ENG" ENDED WITH '$', SERCH "IS" IN THE STRING AND DISPLAY THE QUANTITY. DATA SEGMENT ENG DB 'THIS IS AN ENGLISH EXAMPLE.',0DH,0AH,'$' ; A STRING NAMED "ENG" LEN EQU $-ENG ; GET THE STRING'S LENGTH RESULT DB 'IS: $' ; SEARCH "IS" DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA ...
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<int> findFrequentTreeSum(TreeNode* root) { maxCount = 0; treeSum(root); ...
; A179546: a(n) = p^2*(p + 3)/2, where p = prime(n). ; 10,27,100,245,847,1352,2890,3971,6877,13456,16337,27380,36982,42527,55225,78652,107911,119072,157115,186517,202502,255881,296227,364366,470450,530452,562277,629695,665336,740602,1048385,1149787,1313830,1371791,1687276,1755677,1971920,2205227,2370565,2633752,2915731...
map_header CinnabarMart, CINNABAR_MART, MART, 0 end_map_header
; char *strcpy_callee(char * restrict s1, const char * restrict s2) SECTION code_string PUBLIC _strcpy_callee EXTERN asm_strcpy _strcpy_callee: pop hl pop de ex (sp),hl jp asm_strcpy
LOAD A,10 STORE A,#(800) JMP 39 PUSH FP LOAD FP,SP LOAD A,#(FP+4) PUSH A LOAD A,1 PUSH A POP B POP A PLUS PUSH C POP A STORE A,#(FP+4) LOAD A,#(FP+4) PUSH A LOAD A,#(FP+3) PUSH A POP B POP A PLUS PUSH C LOAD A,#(FP+2) PUSH A POP B POP A PLUS PUSH C POP A PRINT A PRINTLN LOAD A,0 PUSH A POP C LOAD SP,FP POP FP RET 3 LOA...
;************************************************************************** ; FILE: C:\PIC\freq_counter\counter1.asm * ; CONTENTS: Simple low-cost digital frequency meter using a PIC 16F628 * ; AUTHOR: Wolfgang Buescher, DL4YHF * ; (ba...
// Thomas Lowe, 2020. // Generates one of the cross family of structures. #include <fstream> #include "stdafx.h" // Change this parameter for cross structures with different numbers of sides. static int sides = 5; // Controls the detail level static int numIterations = 7; namespace { struct CrossSection { Ve...
//.............................. // UI Lab Inc. Arthur Amshukov . //.............................. #ifndef __ARCTURUS_PARSE_CONTEXT_H__ #define __ARCTURUS_PARSE_CONTEXT_H__ #pragma once BEGIN_NAMESPACE(arcturus) USING_NAMESPACE(core) USING_NAMESPACE(frontend) class arcturus_parse_context : public parse_context { ...
object_const_def ; object_event constants const OLIVINELIGHTHOUSE2F_SAILOR const OLIVINELIGHTHOUSE2F_GENTLEMAN OlivineLighthouse2F_MapScripts: db 0 ; scene scripts db 0 ; callbacks TrainerGentlemanAlfred: trainer GENTLEMAN, ALFRED, EVENT_BEAT_GENTLEMAN_ALFRED, GentlemanAlfredSeenText, GentlemanAlfredBeatenText...
; A021039: Decimal expansion of 1/35. ; 0,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8 mov $2,1 mov $3,2 lpb $3 sub $3,1 add $0,$3 sub $0,1 mov $1,$2 lpb $0 ...
; A025699: Index of 3^n within sequence of numbers of form 3^i*8^j. ; 1,2,4,6,9,12,16,20,25,30,36,42,49,56,64,72,81,90,100,111,122,134,146,159,172,186,200,215,230,246,262,279,296,314,332,351,371,391,412,433,455,477,500,523,547,571,596,621,647,673,700,727,755,784,813,843,873,904,935 mov $3,$0 add $3,1 mov $6,$0 lpb $3 ...
#include <iostream> using namespace std; int fak(int n) { if (n <= 1) return 1; // exit else return n * fak(n - 1); } int main() { cout << "5!=" << fak(5) << endl; return 0; }
; A083679: Decimal expansion of log(4/3). ; Submitted by Jon Maiga ; 2,8,7,6,8,2,0,7,2,4,5,1,7,8,0,9,2,7,4,3,9,2,1,9,0,0,5,9,9,3,8,2,7,4,3,1,5,0,3,5,0,9,7,1,0,8,9,7,7,6,1,0,5,6,5,0,6,6,6,5,6,8,5,3,4,9,2,9,2,9,5,0,7,2,0,7,8,0,4,6,4,3,3,8,1,1,0,8,9,9,1,7,9,1,0,5,2,8,6,2 add $0,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul ...
////////////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source License. // See LICENSE file in top directory for details. // // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers. // // File developed by: Jeongnim ...
; ; Copyright (c) 2010 The WebM 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 contributing proje...
// © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html #include "unicode/utypes.h" #if !UCONFIG_NO_FORMATTING #include <cstdlib> #include "unicode/simpleformatter.h" #include "unicode/ures.h" #include "ureslocs.h" #include "charstr.h" #include "uresimp.h" #in...
; ----------------------------- SFMT64.ASM --------------------------- ; Author: Agner Fog ; Date created: 2008-11-01 ; Last modified: 2013-12-15 ; Project: randoma library of random number generators ; Source URL: www.agner.org/random ; Description: ; Random number generator of type SIMD-oriented Fast...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="resource, rlimits"/> <%docstring> Invokes the syscall getrlimit. See 'man 2 getrlimit' for more information. Arguments: resource(rlimit_resource_t): resource rlimits(rlimit): rlimits </%docstring> ${syscall('SYS_getrlimit', resou...
/* * Copyright 2018 Jan Tschada * * 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 ...
CPU 8086 %define VIDEOBIOS 0x10 %define SETVIDEOMODE 0 %define CGA6 0x06 %define WIDTHPX 160d %define HEIGHTPX 100d %define PXB 2 ; Pixeles por byte %assign BYTESPERSCAN (WIDTHPX / PXB) %define MEMCGAEVEN 0xB800 %define MEMCGAODD 0xBA00 %define KB_ESC 01 %define KB_UP 48h %define KB_DOWN 5...
; A184586: a(n) = floor((n-1/2)*r), where r=sqrt(5); complement of A184587. ; 1,3,5,7,10,12,14,16,19,21,23,25,27,30,32,34,36,39,41,43,45,48,50,52,54,57,59,61,63,65,68,70,72,74,77,79,81,83,86,88,90,92,95,97,99,101,103,106,108,110,112,115,117,119,121,124,126,128,130,133,135,137,139,141,144,146,148,150,153,155,157,159,162...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0xbb92, %r14 nop sub %rsi, %rsi movl $0x61626364, (%r14) nop nop cmp $32474, %r10 lea addresses_UC_ht+0xbde2, %rcx nop and %rax, %rax vmovups (%rcx), %ymm4 vextracti128 $0, %y...
; A274340: A 4-cycle of the iterated sum of deficient divisors function. ; 19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20,22,36,19,20...
; A266613: Decimal representation of the middle column of the "Rule 41" elementary cellular automaton starting with a single ON (black) cell. ; 1,2,5,10,20,41,82,165,330,661,1322,2645,5290,10581,21162,42325,84650,169301,338602,677205,1354410,2708821,5417642,10835285,21670570,43341141,86682282,173364565,346729130,693458...
; A017023: a(n) = (7*n + 3)^7. ; 2187,10000000,410338673,4586471424,27512614111,114415582592,373669453125,1028071702528,2488651484819,5455160701056,11047398519097,20971520000000,37725479487783,64847759419264,107213535210701,171382426877952,266001988046875,402271083010688,594467302491009,860542568759296,1222791080775407...
/////////////////////////////////////////////////////////////////////////////// // Name: tests/controls/ownerdrawncomboboxtest.cpp // Purpose: OwnerDrawnComboBox unit test // Author: Jaakko Salli // Created: 2010-12-17 // Copyright: (c) 2010 Jaakko Salli ///////////////////////////////////////////...
; Wkst12plus1.asm - DifferentInputs returns EAX=1 if the values of its three input parameters are all different; otherwise, return with EAX=0 .386 .model flat, stdcall .stack 4096 ExitProcess proto, dwExitCode:dword DifferentInputs proto num1:dword, num2:dword, num3:dword .data val1 DWORD 20h val2 DWO...
; A157732: a(n) = 388962*n^2 - 430416*n + 119071. ; 77617,814087,2328481,4620799,7691041,11539207,16165297,21569311,27751249,34711111,42448897,50964607,60258241,70329799,81179281,92806687,105212017,118395271,132356449,147095551,162612577,178907527,195980401,213831199,232459921,251866567,272051137,293013631,314754049,33...
; A281452: Expansion of f(x, x) * f(x^5, x^13) in powers of x where f(, ) is Ramanujan's general theta function. ; Submitted by Christian Krause ; 1,2,0,0,2,1,2,0,0,4,0,0,0,1,4,0,2,2,0,0,0,2,2,0,0,2,0,0,1,4,2,0,2,0,0,0,2,2,2,0,0,2,0,0,3,2,0,0,2,4,0,0,0,4,2,0,0,0,0,0,2,0,2,0,4,0,0,0,0,5,2,0,0,2,0,0,0,4,2,0,2,2,0,0,0,2,2...
; A057038: Let R(i,j) be the rectangle with antidiagonals 1; 2,3; 4,5,6; ...; each k is an R(i(k),j(k)) and A057038(n)=i(2n). ; 1,1,3,2,4,2,4,1,3,5,1,3,5,7,2,4,6,8,2,4,6,8,1,3,5,7,9,1,3,5,7,9,11,2,4,6,8,10,12,2,4,6,8,10,12,1,3,5,7,9,11,13,1,3,5,7,9,11,13,15,2,4,6,8,10,12,14,16,2,4,6,8,10,12,14,16,1,3,5,7,9 mul $0,2 ad...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 58 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %39 OpExecutionMode %4 OriginUp...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef air_VehicleSimApiBase_hpp #define air_VehicleSimApiBase_hpp #include "common/CommonStructs.hpp" #include "common/UpdatableObject.hpp" #include "common/ImageCaptureBase.hpp" #include "physics/Kinematics.hpp" #includ...
STRUCT MENU_T addr DW items DB height DB y_row DB y_pixel DB width DB x DB x_logo DB ENDS STRUCT MENUENTRY_T text_addr DW value_cb_addr DW callback DW reserved DW ENDS MACRO MENU_DEF width MENU_T { ($+MENU_T) (((.end-$)/MENUENTRY_T-1)) (((.end-$)/MENUENT...
#ifndef SORT_H_ODDERIKF #define SORT_H_ODDERIKF namespace my { template<typename I> void insertsort(I low, I high); template<typename L> bool verify(L &list); template<typename I> void quickinsertsort(I low, I high); template<typename I> void quicksort(I low, I high); template<...
#include <algorithm> using namespace std; #include <ossim/vec/ossimVpfFeatureClass.h> #include <ossim/base/ossimFilename.h> #include <ossim/vec/ossimVpfCoverage.h> #include <ossim/base/ossimErrorCodes.h> #include <ossim/vec/ossimVpfTable.h> #include <string.h> #ifndef NULL #include <stddef.h> #endif ossimVpfFeatur...
;; ######################################################################## ;; Macros ;; ######################################################################## ; descriptor type, base, limit, p_dpl_s, g_db_a %macro descriptor 5 dw (%3 & 0xFFFF) ; Limit 0-15 dw (%2 & 0xFFFF) ; Base 0-15 db ((%2 & 0x...
; A203579: Exponential (or binomial) convolution of A000032 (Lucas) with itself, divided by 2. ; 2,2,7,17,57,177,577,1857,6017,19457,62977,203777,659457,2134017,6905857,22347777,72318977,234029057,757334017,2450784257,7930904577,25664946177,83053510657,268766806017,869747654657,2814562533377,9108115685377,2947448150425...
// program.cpp // Hidden implementation of program-related classes // Created by Alejandro Castro Garcia on 22 October 2020 /* Licensed under the MIT License Copyright (c) 2020 Faustic Inferno SL Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documen...
#include "common.asm" #ifdef VERTEX ; variables #define lv0 r0 #define lv1 r1 #define lv2 r2 #define lv3 r3 #define normal r4 #define att r5 #define light r6 #define pos r7 #define MAT_DIFFUSE c[uMaterial].x #define MAT_EMISSIVE c[uMaterial].w ; pos = mulQua...
; Turbo Patch(es)  1993 Tony Tebby section uq xdef sb_pturbo xref sb_litem include 'dev8_keys_qdos_sms' include 'dev8_keys_sys' include 'dev8_keys_sbasic' include 'dev8_keys_68000' sbpt_name dc.w 13,'BASIC_POINTER' sbpt_code moveq #sms.info,d0 ; get SB vars via SuperBASIC base trap #do.s...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
ZoneMons1: db $1E db 21,CHANSEY db 29,MILTANK db 22,EXEGGCUTE db 21,TAUROS db 32,NIDORINA db 19,CUBONE db 26,EXEGGCUTE db 24,MAROWAK db 40,CHANSEY db 15,SCYTHER db $00
//===--- PthreadLockChecker.cpp - Check for locking problems ---*- C++ -*--===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
copyright zengfr site:http://github.com/zengfr/romhack 006080 tst.b ($53,A6) 006084 ble $60e0 [123p+ 53, enemy+53] 0060E2 tst.b ($53,A6) 0060E6 ble $6146 [123p+ 53] 009C0C tst.b ($53,A6) 009C10 bge $9c20 [123p+ 53] 01302C move.b ($a,A0), ($53,A6) 013032 tst.w (A0) [123p+ 53, enemy+53, ...
; Arquivo: LCDletraGrupo.nasm ; Curso: Elementos de Sistemas ; Criado por: Rafael Corsi ; Data: 28/3/2018 ; ; Escreva no LCD a letra do grupo de vocês ; - Valide no hardawre ; - Bata uma foto! leaw $255, %A movw %A, %D leaw $17053, %A movw %D, (%A) leaw $65535, %A movw %A, %D leaw $17054, %A movw %D, (%A) leaw $49...
; A304828: a(n) = 344*7^n/21 - 128/3 (n>=1). ; 72,760,5576,39288,275272,1927160,13490376,94432888,661030472,4627213560,32390495176,226733466488,1587134265672,11109939859960,77769579019976,544387053140088,3810709371980872,26674965603866360,186724759227064776,1307073314589453688,9149513202126176072,64046592414883232760,4...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_RockGolem_Character_BP_Summoned_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-----------------------------------------...
; non-volatile statuses SLP EQU %111 ; sleep counter PSN EQU 3 BRN EQU 4 FRZ EQU 5 PAR EQU 6 ; volatile statuses 1 STORING_ENERGY EQU 0 ; Bide THRASHING_ABOUT EQU 1 ; e.g. Thrash ATTACKING_MULTIPLE_TIMES EQU 2 ; e.g. Double Kick, Fury Attack FLINCHED EQU 3 CHARGING_UP EQ...
// 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 "extensions/renderer/content_watcher.h" #include "content/public/renderer/render_view.h" #include "content/public/renderer/render_view_visitor.h...
.global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x90e9, %rsi lea addresses_WC_ht+0x11c89, %rdi nop nop nop nop nop lfence mov $120, %rcx rep movsq nop nop nop nop and %r9, %r9 lea addresses_WC_ht+0x13885, %r8 nop add $56520, %rbp mov $0x61626364...
#include "motis/module/clog_redirect.h" #include <iostream> namespace motis::module { clog_redirect::clog_redirect(char const* log_file_path) : backup_clog_{std::clog.rdbuf()} { if (!enabled_) { return; } sink_.exceptions(std::ios_base::badbit | std::ios_base::failbit); sink_.open(log_file_path, std...
; 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...
; A048479: a(n) = T(7,n), array T given by A048472. ; 1,9,33,97,257,641,1537,3585,8193,18433,40961,90113,196609,425985,917505,1966081,4194305,8912897,18874369,39845889,83886081,176160769,369098753,771751937,1610612737,3355443201,6979321857,14495514625,30064771073,62277025793,128849018881,266287972353,549755813889,11338...
/** \file "AST/PRS.cc" PRS-related syntax class method definitions. $Id: PRS.cc,v 1.44 2011/02/08 02:06:44 fang Exp $ This file used to be the following before it was renamed: Id: art_parser_prs.cc,v 1.21.10.1 2005/12/11 00:45:09 fang Exp */ #ifndef __HAC_AST_PRS_CC__ #define __HAC_AST_PRS_CC__ #define ENABLE_S...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1819e, %rsi nop nop nop add $55048, %rbx mov $0x6162636465666768, %r13 movq %r13, (%rsi) and $44055, %r11 lea addresses_A_ht+0x1be2a, %r13 nop nop nop nop add $41642, %rdi mov $0x6162...
MOV A,#0XA0 MOVC A, @A+PC ;0xAA MOV A,#0xFF MOVC A, @A+PC ;0x0F LJMP 0xAAAA CSEG AT 0xA3 DB 0xAA CSEG AT 0x105 DB 0x0F CSEG AT 0xAAAA;0xF0 MOV A,#0x02 MOVC A,@A+PC NOP NOP DB 0xF0