text
stringlengths
1
1.05M
; A017728: Binomial coefficients C(n,64). ; 1,65,2145,47905,814385,11238513,131115985,1329890705,11969016345,97082021465,718406958841,4898229264825,31022118677225,183746395242025,1023729916348425,5391644226101705,26958221130508525,128447994798305325,585151976303390925,2556190212272707725,10735998891545372445,4345523360...
EXTERN Mix_CloseAudio EXTERN Mix_LoadMUS EXTERN Mix_OpenAudio EXTERN Mix_PlayMusic EXTERN Mix_PlayingMusic EXTERN SDL_Init EXTERN SDL_Quit extern printf extern puts SDL_INIT_AUDIO equ 0x00000010 AUDIO_S16LSB equ 0x8010 SECTION .DATA mensagemFimAudio: db "O áudio terminou de tocar.", 10, 0 comprimentoMsgFimAud...
; size_t b_vector_append_callee(b_vector_t *v, int c) SECTION code_clib SECTION code_adt_b_vector PUBLIC _b_vector_append_callee EXTERN asm_b_vector_append _b_vector_append_callee: pop af pop hl pop bc push af jp asm_b_vector_append
#include "../Inputs/Input.h" #include "../Inputs/Flat.h" #include "../Data.h" #include "../Loggers/Default.h" #include "../Loggers/Logger.h" #include "../Global.h" #include "../Member.h" #include "../Field.h" #include "../Location.h" #include "../Parameters.h" #include <gtest/gtest.h> namespace { class InputTest : ...
; A058920: a(n) = 2n^4 + 2n^3 + 3n^2 + 2n + 1. ; 1,10,65,250,697,1586,3145,5650,9425,14842,22321,32330,45385,62050,82937,108706,140065,177770,222625,275482,337241,408850,491305,585650,692977,814426,951185,1104490,1275625,1465922,1676761,1909570,2165825,2447050,2754817,3090746,3456505,3853810,4284425,4750162,5252881,579...
if not defined @FLEN include "fpow2.asm" include "faddp.asm" ; Square norm of a vector ; Input: B = dimensions, HL = pointer to vector ; Output: HL = square norm ; B = 1: HL = [HL]*[HL] ; B = 2: HL = [HL+2]*[HL+2] + ([HL]*[HL]) ; B...
// Created on: 1993-03-10 // Created by: Philippe DAUTRY // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GN...
; A014690: a(n) = n + prime(n+1). ; Submitted by Jon Maiga ; 4,7,10,15,18,23,26,31,38,41,48,53,56,61,68,75,78,85,90,93,100,105,112,121,126,129,134,137,142,157,162,169,172,183,186,193,200,205,212,219,222,233,236,241,244,257,270,275,278,283,290,293,304,311,318,325,328 add $0,1 mov $1,$0 seq $0,6005 ; The odd prime numbe...
; A005062: a(n) = 6^n - 5^n. ; 0,1,11,91,671,4651,31031,201811,1288991,8124571,50700551,313968931,1932641711,11839990891,72260648471,439667406451,2668522016831,16163719991611,97745259402791,590286253682371,3560791008422351 mov $1,6 pow $1,$0 mov $2,5 pow $2,$0 sub $1,$2
; A010549: Decimal expansion of square root of 98. ; 9,8,9,9,4,9,4,9,3,6,6,1,1,6,6,5,3,4,1,6,1,1,8,2,1,0,6,9,4,6,7,8,8,6,5,4,9,9,8,7,7,0,3,1,2,7,6,3,8,6,3,6,5,1,2,2,3,6,7,5,8,1,6,5,9,3,5,1,2,7,3,4,9,2,3,4,7,4,9,2,7,1,9,5,2,7,1,2,7,4,0,2,9,3,4,9,1,0,0,9 mov $1,1 mov $2,1 mov $3,$0 add $3,8 mov $4,$0 add $4,3 mul $4,2 m...
.include "tn13def.inc" .include "../macro.inc" .MACRO lldi ldi temp, @1 mov @0, temp .ENDM .MACRO putchar out PORTB, ldoff nop nop out PORTB, ldon .ENDM .MACRO put10chars putchar // +4 putchar // +4 putchar // +4 putchar // +4 putchar // +4 putchar ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2018, 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...
// Copyright (c) 2012-2013 The PPCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "kernel.h" #include "txdb.h" using namespace std; extern unsigned int nStakeMax...
/* * SEGS - Super Entity Game Server * http://www.segs.io/ * Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt) * This software is licensed! (See License.txt for details) */ /*! * @addtogroup MapServerEvents Projects/CoX/Servers/MapServer/Events * @{ */ #include "InfoMessageCmd.h" #include "Servers/MapSer...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // Buffer Definitions: // // Resource bind info for ParticlesRO // { // // struct Particle // { // // float2 position; // Offset: 0 // float2 velocity; // Offset: 8 // // } $Elemen...
// Copyright 2017 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 "device/fido/public_key_credential_rp_entity.h" #include <algorithm> #include <utility> #include "device/fido/fido_constants.h" namespace devi...
; =============================================================== ; Sep 2005 ; =============================================================== ; ; uint16_t in_key_scancode(int c) ; ; Return a 16-bit scancode corresponding to char c. The scancode ; encodes information on how to quickly detect if the key ; correspondi...
/*************************************************************************/ /* input_map.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
// Copyright (c) 2011-2019 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 "walletmodel.h" #include "addresstablemodel.h" #include "consensus/validation.h" #include "guiconstants.h" #include...
// Copyright 2019 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/browser/api/declarative_net_request/regex_rules_matcher.h" #include <algorithm> #include "base/strings/string_util.h" #include "bas...
/* platform.security.cpp */ /* Copyright © 2010 Far Group 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 of condi...
ldi $1, 2 ldi $2, 20 ldi $3, 0 loop: add $3, $3, $1 subi $2, $2, 1 bnz loop
; Initialize the register "Y" MOV XL, 0x00 MOV XH, 0xFF MOV Y, X ; ============================= ; Write some values to the RAM ; ============================= ; Initial counter value - 0d MOV D, 0 ; End value - 5d MOV E, 5 :FOR_LOOP_WRITE MOV [Y + D], D INC D ; Test if we have already reached the end value CMP D,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r9 push %rbp push %rdi push %rsi lea addresses_normal_ht+0x646a, %r9 nop nop nop nop nop xor %r10, %r10 movb (%r9), %r11b nop dec %rbp lea addresses_UC_ht+0xdb5a, %rdi nop nop nop xor %r14, %r14 mov $0x6162636465666768, %rsi movq %rsi, %xm...
/* Copyright 2017 The TensorFlow 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 by applicable law or a...
ldy #0 lda ({z1}),y cmp {m2} bne {la1} iny lda ({z1}),y cmp {m2}+1 bne {la1}
// Copyright (c) 2019-2020 Xenios SEZC // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. #include <gtest/gtest.h> #include <vector> #include <veriblock/read_stream.hpp> #include <veriblock/write_strea...
; A090187: Primes of the form 11*n+2. ; 2,13,79,101,167,211,233,277,409,431,541,563,607,673,739,761,827,937,1069,1091,1201,1223,1289,1399,1487,1531,1553,1597,1619,1663,1861,1949,1993,2081,2213,2389,2411,2477,2521,2543,2609,2719,2741,2851,2917,2939,3049,3137,3181,3203,3313,3467,3511,3533,3643,3709,3797,3863,3907,3929,41...
; A063141: Dimension of the space of weight 2n cusp forms for Gamma_0( 73 ). ; 5,18,30,42,54,68,78,92,104,116,128,142,152,166,178,190,202,216,226,240,252,264,276,290,300,314,326,338,350,364,374,388,400,412,424,438,448,462,474,486,498,512,522,536,548,560,572,586,596,610 mov $1,$0 mov $4,$0 mul $0,4 add $1,1 lpb $0 su...
.size 8000 .data@0 02 .text@48 jp ff81 .data@9c 02 03 04 05 .text@100 jp lbegin .data@143 80 00 00 00 1a 00 03 .text@150 lbegin: ld hl, ff81 ld a, 0e ld(hl++), a ld a, 27 ld(hl++), a ld a, 3e ld(hl++), a ld a, f0 ld(hl++), a ld a, e0 ld(hl++), a ld a, 46 ld(hl++), a ld a, 0d ld(hl++), a ld a,...
; A013575: Minimal scope of an (n,3) difference triangle. ; 6,13,19,24,30,36,42,48,54,60,66,72,78,84,90 mov $2,$0 sub $0,1 mul $0,2 mov $1,2 bin $1,$0 mul $2,8 sub $2,2 sub $2,$0 add $1,$2 add $1,6 mov $0,$1
; A266698: x-values of solutions to the Diophantine equation x^2 - 7*y^2 = 2. ; Submitted by Jon Maiga ; 3,45,717,11427,182115,2902413,46256493,737201475,11748967107,187246272237,2984191388685,47559815946723,757972863758883,12080006004195405,192522123203367597,3068273965249686147,48899861320791610755,779329507167416085...
dnl Intel Pentium-4 mpn_rsh1add_n -- mpn (x+y)/2 dnl Copyright 2001, 2002, 2003, 2004 Free Software Foundation, Inc. dnl 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 dnl modify it under the terms of the GNU Lesser General Public License a...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # E...
; A246030: a(n) = (5*2^(2*n)+(-2)^(n+1))/3. ; 1,8,24,112,416,1728,6784,27392,109056,437248,1746944,6991872,27959296,111853568,447381504,1789591552,7158235136,28633202688,114532286464,458130194432,1832518680576,7330078916608,29320307277824,117281245888512,469124949999616,1876499867107328,7505999334211584 mov $1,-2 pow ...
; A271473: a(1)=0; thereafter a(2k)=k+a(k), a(2k+1)=k+a(6k+4). ; Submitted by Christian Krause ; 0,1,23,3,17,26,141,7,166,22,127,32,58,148,344,15,105,175,256,32,73,138,314,44,325,71,50699,162,218,359,50532,31,416,122,268,193,264,275,1166,52,50645,94,664,160,246,337,50470,68,399,350,561,97,198,50726,51137,190,821,247,10...
// Copyright (C) 2017-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <exceptions/exc...
; CRT0 for the Sharp OZ family ; ; Stefano Bodrato 13 Aug. 2002 ; ; Mix of the Dominic's work and the Hi-Tech C modifications ; by the OZDEV team (Alexander R. Pruss, Green, etc..) ; ; all the "$" prefixes have been changed to "s_"; ; the "$sp$" label is been changed to "s_sp". ; ; the "-DOZDK" enables the...
; Complete explanation of assembly program which is used to extract Linux-x86 execve shellcode section .text global _start _start: ; Job1: Store the string "/bin//sh" in the stack. push 0x00 ; Push 0x00 to make the string NULL terminated. push 0x68732f2f ; Pushing "//in" in reverse order. Keep in mind t...
90_Header: sHeaderInit ; Z80 offset is $CFFC sHeaderPatch 90_Patches sHeaderTick $01 sHeaderCh $01 sHeaderSFX $80, $05, 90_FM5, $FD, $00 90_FM5: sPatFM $00 ssModZ80 $02, $01, $A2, $42 90_Loop1: dc.b nCs2, $0D saVolFM $10 dc.b nCs2, $0D sLoop $00, $02, 90_Loop1 sStop 90_Patches: ; Patch $00 ; $...
; _Noreturn void abort(void) SECTION code_stdlib PUBLIC abort EXTERN asm_abort defc abort = asm_abort
; A053618: a(n) = ceiling(binomial(n,4)/n). ; 0,0,0,1,1,3,5,9,14,21,30,42,55,72,91,114,140,170,204,243,285,333,385,443,506,575,650,732,819,914,1015,1124,1240,1364,1496,1637,1785,1943,2109,2285,2470,2665,2870,3086,3311,3548,3795,4054,4324,4606,4900,5207,5525,5857,6201,6559,6930,7315,7714,8128,8555,8998,9455,9928,10416,1...
// Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2014-2019 The DigiByte Core developers // Copyright (c) 2015-2019 The Auroracoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <amount...
// BITSET2 // // Copyright Claas Bontus // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.com/ClaasBontus/bitset2 // #ifndef BITSET2_H_TYPES...
TITLE 求因數 (factor.asm) INCLUDE Irvine32.inc .data Begin byte ? Count byte 0 Choose byte 0 Message1 byte "Please enter a number between 1 and 100 : ",0 Message2 byte "The factor of this number is : ",0 Message3 byte "This number is out of range ",0 Message4...
constant max_menu_items(8) constant exit_menu_flag(1) constant menu_default_width(12) scope Menu: { Init: ls_gp(sh r0, prev_buttons) ls_gp(sb r0, profile_bars_enabled) ls_gp(sb r0, menu_enabled) jr ra nop // a0: current buttons ProcessButtons: addi sp, 8 sw ra, -8 (sp) ls_gp(lhu t1, prev_buttons) ...
; void __CALLEE__ sp1_InitCharStruct_callee(struct sp1_cs *cs, void *drawf, uchar type, void *graphic, uchar plane) ; 02.2008 aralbrec, Sprite Pack v3.0 ; zx81 hi-res version PUBLIC sp1_InitCharStruct_callee PUBLIC ASMDISP_SP1_INITCHARSTRUCT_CALLEE EXTERN _sp1_struct_cs_prototype EXTERN SP1V_ROTTBL .sp1_InitCharStru...
; A232970: Expansion of (1-3*x)/(1-5*x+3*x^2+x^3). ; Submitted by Jamie Morken(s1) ; 1,2,7,28,117,494,2091,8856,37513,158906,673135,2851444,12078909,51167078,216747219,918155952,3889371025,16475640050,69791931223,295643364940,1252365390981,5305104928862,22472785106427,95196245354568,403257766524697,1708227311453354,723...
; A290744: Maximum number of distinct Lyndon factors that can appear in words of length n over an alphabet of size 5. ; 5,6,8,11,15,19,24,30,37,45,53,62,72,83,95,107,120,134,149,165,181,198,216,235,255,275,296,318,341,365,389,414,440,467,495,523,552,582,613,645,677,710,744,779,815,851,888,926,965,1005,1045,1086,1128,11...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "pch.h" #include "ReactImage.h" #include <UI.Xaml.Media.Imaging.h> #include <winrt/Windows.Security.Cryptography.h> #include <winrt/Windows.Storage.Streams.h> #include <winrt/Windows.Web.Http.Headers.h> #include <winrt/W...
// C:\diabpsx\PSXSRC\MEMCARD.CPP #include "types.h" // address: 0x80141498 // line start: 144 // line end: 148 void endian_swap__FPUci(unsigned char *b, int byts) { // register: 3 register unsigned char t; } // address: 0x801414CC // line start: 160 // line end: 179 unsigned short to_sjis__Fc(char asc) { // ...
; A241030: Sum of n-th powers of divisors of 26. ; Submitted by Jon Maiga ; 4,42,850,19782,485554,12252702,313742650,8094558822,209642795554,5440108178862,141304954146250,3672136647383862,95452254746808754,2481455748310337022,64513912079682866650,1677310528178740048902,43609408316038057305154,1133835965801070107023182,...
; A027434: a(1) = 2; then defined by property that a(n) = smallest number >= a(n-1) such that successive runs have lengths 1,1,2,2,3,3,4,4. ; 2,3,4,4,5,5,6,6,6,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,10,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,14,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,17,17,...
; A118003: a(n) = largest integer <= n which is coprime to A118002(n-1). a(n) = A118002(n) - A118002(n-1). ; 1,2,2,4,5,5,7,7,8,10,11,11,13,13,14,16,17,17,19,19,20,22,23,23,25,25,26,28,29,29,31,31,32,34,35,35,37,37,38,40,41,41,43,43,44,46,47,47,49,49,50,52,53,53,55,55,56,58,59,59,61,61,62,64,65,65,67,67,68,70,71,71 mov...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
/** * 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...
; A119303: Expansion of (1 - 3x)/(1 - x + 2x^2 - x^3). ; Submitted by Simon Strandgaard ; 1,-2,-4,1,7,1,-12,-7,18,20,-23,-45,21,88,1,-154,-68,241,223,-327,-532,345,1082,-140,-1959,-597,3181,2416,-4543,-6194,5308,13153,-3657,-24655,-4188,41465,25186,-61932,-70839,78211,157957,-69304,-307007,-10442,534268 mov $1,2 mov $...
/* <tools/nycr/symbol/name.cc> Implements <tools/nycr/symbol/name.h>. Copyright 2010-2014 OrlyAtomics, 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.o...
DISPLAY "WAVE SCREENFADE. CODED BY @LX/BW zo.oz.zooz" ORG 25500 ATRBUF EQU #8400 ADRBUF EQU #BA00 PHASES EQU 32 DI LD HL,TABL XOR A DTABL LD B,#20 DTABL1 LD (HL),A INC HL DJNZ DTABL1 INC A CP #18 JR NZ,DTABL LD HL,#BE00 ...
.include "myTiny13.h" .equ SCROLLSPEED, 230 ; This Programm analysed 2 bytes to make a sequence of numbers ; who represents the LEDs, which have to be ON : ; ; Positions (0=off) ; --------------------- ; 11,10, 9, 8 ; 15,14,13,12 ; 23,22,21,20 ; 19,18,17,16 ; Register to Load up- and down-Byte U = 18 D = 19 ; Like ...
; A019879: Decimal expansion of sine of 70 degrees. ; Submitted by Christian Krause ; 9,3,9,6,9,2,6,2,0,7,8,5,9,0,8,3,8,4,0,5,4,1,0,9,2,7,7,3,2,4,7,3,1,4,6,9,9,3,6,2,0,8,1,3,4,2,6,4,4,6,4,6,3,3,0,9,0,2,8,6,6,6,2,7,7,4,2,2,1,2,1,0,9,9,5,8,8,9,4,5,8,9,4,9,7,4,5,8,8,9,8,3,7,9,4,8,0,6,7,4 mov $1,1 mov $3,$0 mul $3,4 lpb $...
#include <fstream> #include <iostream> #include <string> #include <boost/program_options.hpp> #include "VMD.h" #include "smooth_reduce.h" using namespace std; namespace opt = boost::program_options; void usage(char *prog, opt::options_description desc) { cout << "usage: " << prog << " [options] input.vmd output.vmd...
// Copyright (c) 2019 Slack Technologies, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/browser/extensions/api/tabs/tabs_api.h" #include <memory> #include <utility> #include "extensions/browser/extension_api_frame_id_map.h" #include "extensio...
db 0 ; species ID placeholder db 70, 55, 55, 45, 80, 60 ; hp atk def spd sat sdf db ELECTRIC, ELECTRIC ; type db 120 ; catch rate db 117 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/flaaffy/front.dimensions" db GROWTH_MEDI...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r8 push %r9 push %rbp push %rbx push %rsi // Load lea addresses_D+0x725c, %r12 nop inc %rbp mov (%r12), %r8d nop nop nop nop nop and $51477, %rbp // Store lea addresses_RW+0x1a2a8, %r12 nop nop nop nop...
#!/usr/local/bin/zasm -o original/ ; .:*~*:.__.:*~*:. ; | | ; |RiFT8 Firmware| ; |By Fell, 2012 | ; | | ; ':*~*:.__.:*~*:' #target rom ; Required for zasm #code rom,0,$8000 ; Required for zasm ; *** Hardware config constants *** uart_base equ $00 ; UART base address uart_mr equ uar...
; A267885: Binary representation of the n-th iteration of the "Rule 235" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by Christian Krause ; 1,100,11011,1111111,111111111,11111111111,1111111111111,111111111111111,11111111111111111,1111111111111111111,111111111111111111111,11111111111...
//===- SCFToSPIRV.cpp - SCF to SPIR-V Patterns ----------------------------===// // // 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 // //===---------------------------...
//////////////////////////////////////////////////////////////////////////////// /// /// SSE optimized routines for Pentium-III, Athlon-XP and later CPUs. All SSE /// optimized functions have been gathered into this single source /// code file, regardless to their class or original source code file, in order /// to ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x17f11, %r9 nop xor $44055, %r10 mov (%r9), %r13w nop cmp $52041, %r11 lea addresses_A_ht+0x156cd, %rcx nop nop nop nop nop lfence mov $0x6162636465666768, %r9 movq %r9, (%rcx)...
.text .global _start _start: mov $3, %rax mov $1, %rdi mov $lol, %rsi mov $9, %rdx syscall mov $14, %rax xor %rdi, %rdi syscall lol: .ascii "gamering\n"
; A081498: Consider the triangle in which the n-th row starts with n, contains n terms and the difference of successive terms is 1,2,3,... up to n-1. Sequence gives row sums. ; 1,3,5,6,5,1,-7,-20,-39,-65,-99,-142,-195,-259,-335,-424,-527,-645,-779,-930,-1099,-1287,-1495,-1724,-1975,-2249,-2547,-2870,-3219,-3595,-3999,-...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // // Input signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // POSITION 0 xyz 0 NONE float xyz // /...
org #4000 data1: db 0,1,2,3,4,5,6,7 data2: db 4,5,6,7,8,9,10,11 loop: jr loop
; common parameter and return locations ; variables used for all function calls PARAM1 = $03 PARAM2 = $04 PARAM3 = $05 PARAM4 = $06 ; return values from functions will be placed here RETVAL1 = $fb RETVAL2 = $fc RETVAL3 = $fd RETVAL4 = $fe ; used for accessing memory addresses ZEROPAGE_POINTER_1 = $17 ZEROPAGE_P...
format PE console 6.0 entry main include 'INCLUDE/win32ax.inc' struct PROCESSENTRY32 dwSize dd ? cntUsage dd ? th32ProcessID dd ? th32DefaultHeapID dd ? th32ModuleID dd ? cntThreads dd ? th32Parent...
; Copyright (c) 2015, tandasat. All rights reserved. ; Use of this source code is governed by a MIT-style license that can be ; found in the LICENSE file. ; ; This module implements stub functions implementing overwritten part of the ; hooked function and providing accesses to the those original functionalities....
_CeruleanPokecenterText2:: text "That BILL!" para "I heard that" line "he'll do whatever" cont "it takes to get" cont "rare #MON!" done _CeruleanPokecenterText3:: text "Have you heard" line "about BILL?" para "Everyone calls" line "him a #MANIAC!" para "I think people" line "are just jealous" cont "of ...
/* * 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 ma...
;Unpacking of a BCD number LDA 2070H ANI F0H RLC RLC RLC RLC STA 2071H LDA 2070H ANI 0FH STA 2072H RST 1
; ; Copyright (C) 2019 Assured Information Security, Inc. ; ; 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 limitation the rights ; to use, copy, modify...
#include <gtest/gtest.h> #include <algorithm> #include <climits> #include <deque> #include <numeric> #include <queue> #include <stack> #include <unordered_map> #include <vector> #include "Common.h" using namespace std; namespace lc94 { /** * https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ * 二叉树中序遍历...
; A275822: Alternating sums of the cubes of the central binomial coefficients. ; Submitted by Jon Maiga ; 1,7,209,7791,335209,15667799,773221225,39651016343,2092095886657,112840936041343,6193764391911873,344853399798469695,19429178297906958721,1105629520934309041279,63455683531507986958721,3668895994183490904049279,213...
; A154410: a(n) = 5*(3*6^n + 2^n)/2. ; 10,50,280,1640,9760,58400,350080,2099840,12597760,75584000,453498880,2720983040,16325877760,97955225600,587731271680,3526387466240,21158324469760,126949946163200,761699675668480,4570198051389440,27421188303093760,164527129808076800,987162778827489280,5922976672922992640,3553786003...
; A174592: Numbers n such that n^2 + 2*(n+2)^2 is a square. ; 2,46,658,9182,127906,1781518,24813362,345605566,4813664578,67045698542,933826115026,13006519911838,181157452650722,2523197817198286,35143611988125298,489487370016555902,6817679568243657346,94958026585394646958,1322594692627281400082,18421367670196544954206,2...
; A092139: Duplicate of A084558. ; 0,1,2,2,2,2,3,3,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 lpb $0 add $0,1 mov $2,$0 add $0,1 add $0,$2 add $1,$0 div $0,6 div $1,3 lpe
;******************************************************************* ;* Description : Using PORTA and LATA ;* ;******************************************************************* #include<p18f452.inc> CONFIG WDT = OFF ORG 0 MOVLW .55 ADDLW .55 MOVLB 2H ; SELECTING BANK 2 MOVWF 2H, 1 ; PUT VALURE INTO BA...
### Justin Baum ### 00426510 ### BubbleSort ### 25 November 2018 ### Dr. Song Wang .data baseadd: .word 34 5 11 11 0 .text main: la $s1, baseadd # a* => $s1 ############### # void bubbleSort(int arr[], int n) { # int i, j; # for (i = 0; i < n-1; i++) # // Last i elements...
; A106249: Expansion of (1-x+x^2+x^3)/(1-x-x^4+x^5). ; 1,0,1,2,3,2,3,4,5,4,5,6,7,6,7,8,9,8,9,10,11,10,11,12,13,12,13,14,15,14,15,16,17,16,17,18,19,18,19,20,21,20,21,22,23,22,23,24,25,24,25,26,27,26,27,28,29,28,29,30,31,30,31,32,33,32,33,34,35,34,35,36,37,36,37,38,39,38,39,40,41,40,41,42,43,42,43,44,45,44,45,46,47,46,47...
;================================================================================ ; Lamp Mantle & Light Cone Fix ;-------------------------------------------------------------------------------- ; Output: 0 for darkness, 1 for lamp cone ;-------------------------------------------------------------------------------- L...
/* * 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...
// Version: $Id$ // // // Commentary: // // // Change Log: // // // Code: #pragma once namespace dtkMetaContainerSequentialPrivate { // ///////////////////////////////////////////////////////////////// // dtkMetaContainerSequentialPrivate::itemOperator implementation // ////////////////////////////////////////////...
#pragma once #include "generator/feature_builder.hpp" #include "generator/osm2type.hpp" #include "generator/osm_element.hpp" #include "generator/ways_merger.hpp" #include "indexer/classificator.hpp" #include "indexer/feature_visibility.hpp" #include "indexer/ftypes_matcher.hpp" #include "coding/file_writer.hpp" #in...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; void p_list_init(void *p) ; ; Create an empty list in the four bytes of memory provided. ; ; =============================================================== SECTION code_...
#include "arduino-mock/SPI.h" static SPIMock* p_SPIMock = NULL; SPIMock* SPIMockInstance() { if (!p_SPIMock) { p_SPIMock = new SPIMock(); } return p_SPIMock; } void releaseSPIMock() { if (p_SPIMock) { delete p_SPIMock; p_SPIMock = NULL; } } void SPI_::begin() { p_SPIMock->begin(); } void SPI...
;Escribir un código que verifique si una cadena es subcadena de otra. ;Por ejemplo: “la Mu” es subcadena de “Hola Mundo”. ;La cadena: “233” es subcadena de la cadena “2122432234” .model small ;.stack 100h .data cad1 db "hola mundo$" subc db "la un$" iguales db "es subcadena$" desiguales db "no es subcadena$" ...
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
; A217517: Base-n state complexity of partitioned deterministic finite automaton (PDFA) for the periodic sequence (12345)*. ; 20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5,20,20,10,6,5 mod $0,5 tr...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1c1, %rsi lea addresses_D_ht+0x4696, %rdi nop nop cmp %r8, %r8 mov $68, %rcx rep movsb nop xor %r8, %r8 lea addresses_WC_ht+0xf996, %r9 clflush (%r9) nop nop add %r13, %r13 mov...
; A098575: a(n) = Sum_{k=0..floor(n/4)} C(n-2*k,2*k)*2^k. ; Submitted by Christian Krause ; 1,1,1,1,3,7,13,21,35,63,117,213,379,671,1197,2149,3859,6911,12357,22101,39563,70847,126845,227045,406371,727391,1302101,2330901,4172443,7468767,13369293,23931621,42838835,76683583,137266917,245713493,439837739,787329151,14093543...