text
stringlengths
1
1.05M
; A153466: a(n) = A027941(n) + A027941(n+6). ; 232,610,1600,4192,10978,28744,75256,197026,515824,1350448,3535522,9256120,24232840,63442402,166094368,434840704,1138427746,2980442536,7802899864,20428257058,53481871312,140017356880,366570199330,959693241112,2512509524008,6577835330914,17220996468736,45085154075296,1180344...
; A072065: Define a "piece" to consist of 3 mutually touching pennies welded together to form a triangle; sequence gives side lengths of triangles that can be made from such pieces. ; 0,2,9,11,12,14,21,23,24,26,33,35,36,38,45,47,48,50,57,59,60,62,69,71,72,74,81,83,84,86,93,95,96,98,105,107,108,110,117,119,120,122,129,1...
; A054452: Partial sums of A027941(n-1) with a(-1) = 0. ; 0,0,1,5,17,50,138,370,979,2575,6755,17700,46356,121380,317797,832025,2178293,5702870,14930334,39088150,102334135,267914275,701408711,1836311880,4807526952,12586269000,32951280073,86267571245,225851433689,591286729850,1548008755890,4052739537850,10610209857691,27...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/06/rect/Rect.asm // Draws a rectangle at the top-left corner of the screen. // The rectangle is 16 pixels wide and R0 pixels high. @0 D=M @INFINITE_LOOP ...
SECTION code_fp_math32 PUBLIC m32_fsconst_pzero PUBLIC m32_fsconst_nzero PUBLIC m32_fsconst_one PUBLIC m32_fsconst_1_3 PUBLIC m32_fsconst_pi PUBLIC m32_fsconst_pinf PUBLIC m32_fsconst_ninf PUBLIC m32_fsconst_pnan PUBLIC m32_fsconst_nnan .m32_fsconst_pzero ld de,0 ld h,e ld l,e ret .m32_fsconst_nzero...
INCLUDE "config_private.inc" SECTION code_clib SECTION code_math PUBLIC l_small_muls_16_16x16 EXTERN l_small_mul_16_16x16, l_neg_de, l_neg_hl l_small_muls_16_16x16: ; signed multiply of two 16-bit signed numbers ; ; error reported on overflow ; ; enter : de = 16-bit signed number ; hl =...
; A285950: Positions of 0's in A285949; complement of A285951. ; 1,3,4,5,7,8,10,12,13,14,16,18,19,21,22,23,25,26,28,30,31,33,34,35,37,39,40,41,43,44,46,48,49,50,52,54,55,57,58,59,61,63,64,65,67,68,70,72,73,75,76,77,79,80,82,84,85,86,88,90,91,93,94,95,97,98,100,102,103,105,106,107,109,111,112,113,115,116,118,120,121,123...
10 ORG 100H 20 JP MAIN 30GPF EQU 0BFD0H 40WAITK EQU 0BFCDH 50RPTCHR EQU 0BFEEH 60MAIN: CALL CLS 70 LD HL, L0 80 LD B, 144 90 LD DE, 0000H 100 CALL GPF 110 LD HL, L1 120 LD B, 144 130 LD DE, 0100H 140 CALL GPF 150 LD HL, L2 160 LD B, 144 170 LD DE, 0200H 180 CALL GPF 190 LD HL, L3 200 LD B, 144 210 LD DE, 0300H 220 CALL...
// ----------------------------------------------------------------------------------------- // <copyright file="logging.cpp" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with...
public sec_part public print_string ; extrn _data:near extrn quit:near STK_SEG SEGMENT para stack 'STACK' db 100 dup(0) STK_SEG ENDS DATA_SEG segment para common 'data' ORG 1 _data label byte new_line db 13, 10, '$' DATA_SEG ends CODE_SEG SEGMENT para public 'code' ASSUME CS:CODE_SEG, SS:STK_SEG,...
/* *If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2016 RDK Management * * 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...
; FILL ZX SPECTRUM SCREEN GOING THROUGH EACH VISUAL LINE ; ; SCREEN ADDRESS ; ; H = 0 1 0 Y7 Y6 Y2 Y1 Y0 ; L = Y5 Y4 Y3 X4 X3 X2 X1 X0 ORG 50000 LD HL,$4000 ; SCREEN START LOOP: ; LD A,255 LD (HL),A INC HL CALL W_DELAY LD A,H CP $58 JR NZ, LOOP ; need to return to lower screen...
; A002506: Denominators of coefficients of expansion of Bessel function J_2(x). ; 8,96,3072,184320,17694720,2477260800,475634073600,119859786547200,38355131695104000,15188632151261184000,7290543432605368320000,4170190843450270679040000,2802368246798581896314880000,2185847232502893879125606400000,19585191203225929156965...
Map_489CC: dc.w word_489E8-Map_489CC dc.w word_489F6-Map_489CC dc.w word_48A04-Map_489CC dc.w word_48A12-Map_489CC dc.w word_48A12-Map_489CC dc.w word_48A2C-Map_489CC dc.w word_48A34-Map_489CC dc.w word_48A3C-Map_489CC dc.w word_48A4A-Map_489CC dc.w word_48A5E-Map_489CC dc.w word_48A6C-Map_489CC ...
*PROCESS DUPALIAS * * Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07 * on Fri Apr 30 15:36:12 2021 * WXTRN @@ZARCH# * * * * Code Section * @CODE ALIAS X'7CD9C4D2C1C6D2C16DE2E4C2E2C3D9C9D7E3C9D6D5' @CODE CSECT @CODE AMODE ANY @CODE RMODE ANY @DATA ALIAS X'7C998492818692816DA2...
; ;/* ; * FreeRTOS V202104.00 ; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * 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 restric...
// Copyright 2018 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 "chromeos/services/ime/public/cpp/rulebased/def/si.h" #include "base/cxx17_backports.h" namespace si { const char* kId = "si"; bool kIs102 = f...
; A160538: a(n) = 4*(n^4-n^3). ; 0,32,216,768,2000,4320,8232,14336,23328,36000,53240,76032,105456,142688,189000,245760,314432,396576,493848,608000,740880,894432,1070696,1271808,1500000,1757600,2047032,2370816,2731568,3132000 mov $1,$0 add $0,1 pow $0,3 mul $1,$0 div $1,2 mul $1,8
//===----------------------------------------------------------------------===// // // 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) 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 "chrome/browser/chromeos/imageburner/burn_controller.h" #include "base/bind.h" #include "base/file_path.h" #include "base/memory/weak_ptr.h"...
leh $end_probe_loop cle lc g3, 0x40000000 lc g4, 0x80000000 lc g0, 0 probe_loop: add g5, g0, g4 ld4 g1, g5, 0 gts g2, g0, g3 jnzi g2, $end_probe_loop addi g0, g0, 0x1000 j $probe_loop end_probe_loop: cle mov g4, g0 halt
/* 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...
; --- ; Copyright (c) 2016 Johan Sköld ; License: https://opensource.org/licenses/ISC ; --- .code get_xmm_register PROC FRAME .endprolog ; First argument (rcx) = register to get cmp rcx, 6 je get_6 cmp rcx, 7 je get_7 cmp rcx, 8 je get_8 cmp rcx, 9 ...
DEVICE ZXSPECTRUM48 org $8000 jp start ; jump over data to code (extended immediate) string: db "Hello_world!" colors: db $47 db $78 db $79 db $7A db $7B db $7C db $7D db $7E db $70 db $38 db $07 db $D6 STRING_LENGTH = 12 ROM_CLS =...
db 0 ; species ID placeholder db 70, 90, 110, 95, 60, 75 ; hp atk def spd sat sdf db POISON, DARK ; type db 45 ; catch rate db 175 ; base exp db NO_ITEM, POISON_BARB ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/drapio...
; A183623: Number of (n+1)X(n+1) 0..2 arrays with every 2X2 subblock summing to 4 ; Submitted by Christian Krause ; 19,87,355,1383,5299,20247,77635,299463,1162579,4540407 add $0,2 mov $2,4 pow $2,$0 seq $0,101052 ; Number of preferential arrangements of n labeled elements when only k<=3 ranks are allowed. mul $0,2 add...
; A052460: 3-magic series constant. ; 1,50,675,4624,21125,73926,214375,540800,1225449,2550250,4952651,9082800,15873325,26622974,43095375,67634176,103295825,154001250,224707699,321602000,452316501,626168950,854427575,1150602624,1530765625,2013897626,2622267675,3381842800,4322730749,5479656750,6892475551,8606720000,10674...
clc lda {c1},y adc #1 sta {c1},x bne !+ lda {c1}+1,y adc #0 sta {c1}+1,x !:
db 0 ; species ID placeholder db 45, 60, 30, 65, 80, 50 ; hp atk def spd sat sdf db DARK, FIRE ; type db 120 ; catch rate db 114 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/houndour/front.dimensions" db GROWTH_SLOW ; grow...
// // Copyright © 2017 OsmaniHernandez. All rights reserved. // #include "../include/Decoder.h" #include "../include/Format.h" #include "../include/SimpleFormatFactory.h" Decoder::Decoder(const unsigned int *instruct, const int instructSize) : instruction(instruct), INSTRUCT(instructSize) { this->factory = new Form...
// seed 2 lbi r0, 128 // icount 0 slbi r0, 0 // icount 1 lbi r1, 128 // icount 2 slbi r1, 0 // icount 3 lbi r2, 128 // icount 4 slbi r2, 0 // icount 5 lbi r3, 128 // icount 6 slbi r3, 0 // icount 7 lbi r4, 128 // icount 8 slbi r4, 0 // icount 9 lbi r5, 128 // icount 10 slbi r5, 0 // icount 11 lbi r6, 128 // icount 12 s...
/* * Copyright (c) 2019-2020, Andrew Kaster <andrewdkaster@gmail.com> * 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 n...
; A042200: Numerators of continued fraction convergents to sqrt(626). ; Submitted by Jamie Morken(s4.) ; 25,1251,62575,3130001,156562625,7831261251,391719625175,19593812520001,980082345625225,49023711093781251,2452165637034687775,122657305562828170001,6135317443778443187825,306888529494484987561251,15350561792168027821...
; A180304: Sum of consecutive equal values of floor(sqrt(A000040(n))). ; Submitted by Jamie Morken(w2) ; 2,4,6,12,10,24,21,32,27,50,44,60,65,56,90,112,85,108,114,140,147,154,138,216,200,182,216,252,232,240,310,288,330,306,350,324,333,456,429,480,451,378,516,484,585,460,611,720,490,550,765,832,636,702,605,672,969,754,94...
# Program zamieniajacy dowolny plik na plik zrodlowy w jezyku C, # reprezentujacy ten plik jako wektor bajtow zapisanych w postaci # szesnastkowej. Plik wyjsciowy powinien byc rozsadnie sformatowany # (16 bajtow w wierszu, co 16 wierszy komentarz z licznikiem bajtow, # na koncu komentarz z calkowita liczba bajtow). ...
; A207450: Number of n X 5 0..1 arrays avoiding 0 0 0 and 0 0 1 horizontally and 0 0 1 and 1 0 1 vertically. ; 16,256,1008,2560,5200,9216,14896,22528,32400,44800,60016,78336,100048,125440,154800,188416,226576,269568,317680,371200,430416,495616,567088,645120,730000,822016,921456,1028608,1143760,1267200,1399216,1540096,1...
; A013780: a(n) = 4^(4*n + 1). ; 4,1024,262144,67108864,17179869184,4398046511104,1125899906842624,288230376151711744,73786976294838206464,18889465931478580854784,4835703278458516698824704,1237940039285380274899124224,316912650057057350374175801344,81129638414606681695789005144064,20769187434139310514121985316880384,53...
; A169309: Number of reduced words of length n in Coxeter group on 8 generators S_i with relations (S_i)^2 = (S_i S_j)^30 = I. ; 1,8,56,392,2744,19208,134456,941192,6588344,46118408,322828856,2259801992,15818613944,110730297608,775112083256,5425784582792,37980492079544,265863444556808,1861044111897656,13027308783283592...
; A143731: Characteristic function of numbers n with at least two distinct prime factors. ; 0,0,0,0,0,1,0,0,0,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,0,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,...
; A057570: Numbers of the form n*(7n+-1)/2. ; 0,3,4,13,15,30,33,54,58,85,90,123,129,168,175,220,228,279,288,345,355,418,429,498,510,585,598,679,693,780,795,888,904,1003,1020,1125,1143,1254,1273,1390,1410,1533,1554,1683,1705,1840,1863,2004,2028,2175,2200,2353,2379,2538,2565,2730,2758,2929,2958,3135,3165,3348,3379,3568,3...
; A014126: Number of partitions of 2*n into at most 4 parts. ; 1,2,5,9,15,23,34,47,64,84,108,136,169,206,249,297,351,411,478,551,632,720,816,920,1033,1154,1285,1425,1575,1735,1906,2087,2280,2484,2700,2928,3169,3422,3689,3969,4263,4571,4894,5231,5584,5952,6336,6736,7153,7586,8037,8505,8991,9495,10018,10559,11120,11700,1...
; A132477: Row sums of triangle A132476. ; 1,4,12,24,48,96,192,384,768,1536,3072,6144,12288,24576,49152,98304,196608,393216,786432,1572864,3145728,6291456,12582912,25165824,50331648,100663296,201326592,402653184,805306368,1610612736,3221225472,6442450944,12884901888 mov $1,3 mov $2,2 trn $2,$0 sub $1,$2 lpb $0 sub $...
#include "Debugger/ConsoleHelper.h" #include <string> namespace MarCmd { namespace Console { TextFormat::TextFormat(TextFormatCode tfc) { subsequence.append(std::to_string((int)tfc)); } TextFormat::TextFormat(uint8_t r, uint8_t g, uint8_t b, TextFormatGround ground) { subsequence.append(std::to_str...
.386 .model flat, stdcall includelib msvcrt.lib extern exit: proc extern malloc: proc extern memset: proc includelib canvas.lib extern BeginDrawing: proc public start .data cnt_aux DD 0 cnt DD 0 vector_simboluri DB 1, 1, 1, 1, 1, 1, 1, 1, 1 ;;un vector de 9 elemente care initial e gol pentru a alterna simbolurile...
; A203478: a(n) = v(n+1)/v(n), where v=A203477. ; Submitted by Jamie Morken(s1) ; 3,30,1080,146880,77552640,161309491200,1331771159347200,43809944057885491200,5753472333233985788313600,3019422280481195741706977280000,6335279362770913356551778761441280000 add $0,1 mov $2,1 mov $3,2 mov $4,1 lpb $0 sub $0,1 add $3,$...
; ; ASM Huffman unpacking code ; ideal ; TASM Ideal mode p386 ; protected mode 386 code model os2 flat, syscall ; os/2 flat model, system calling nosmart dataseg StackSave DD ? DestEnd DD ...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D94 move.l D1, (A1)+ 004D96 dbra D0, $4d94 03207E move.b ($3354,A5), D0 032082 btst #$2, D6 [123p+ E0] 03208A cmp.b ($34d4,A5), D0 03208E bcs $3209a [123p+ E0] 032096 move.b ($34d4,A5...
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="fd, file, owner, group, flag"/> <%docstring> Invokes the syscall fchownat. See 'man 2 fchownat' for more information. Arguments: fd(int): fd file(char): file owner(uid_t): owner group(gid_t): group flag(int): flag </%docstri...
; ; Dict Xiong is learning asm .386 .model flat, stdcall .stack 4096 ExitProcess proto, dwExitCode:dword includelib msvcrt.lib printf proto c : ptr sbyte, : vararg .data source BYTE 'This is the source string', 0 target BYTE SIZEOF source DUP('#') .code main proc mov ecx, lengthof source sub ecx, type sour...
// Assembler: KickAssembler 4.4 // cannot be compiled standalone // All made by myself scrclr: ldx #0 lda #' ' !l: sta $0400,x sta $0500,x sta $0600,x sta $06e8,x inx bne !l- rts
; A050484: Partial sums of A051946. ; Submitted by Jamie Morken(s4) ; 1,12,68,264,810,2112,4884,10296,20163,37180,65208,109616,177684,279072,426360,635664,927333,1326732,1865116,2580600,3519230,4736160,6296940,8278920,10772775,13884156,17735472,22467808,28242984,35245760,43686192,53802144,65861961,80167308,97056180,116...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Impex/Main FILE: mainThread.asm AUTHOR: jimmy lefkowitz DESCRIPTION: Code involving thread management. The thread management is straight forward, but t...
// Pair vs Subarray // pair can be non-contiguous while subarray is contiguous #include<bits/stdc++.h> using namespace std; bool Subarray(int a[],int n,int sum){ unordered_set<int>s; int pre_sum = 0; for(int i = 0; i <n; i++){ pre_sum += a[i]; if(pre_sum == sum) return true; if(s...
dnl Intel Pentium-II mpn_lshift -- mpn left shift. dnl Copyright 2001 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser General Public License...
#include "Utilities/StorageFactory/interface/StorageMaker.h" #include "Utilities/StorageFactory/interface/StorageMakerFactory.h" #include "Utilities/StorageFactory/interface/StorageFactory.h" #include "Utilities/StorageFactory/interface/RemoteFile.h" class GsiFTPStorageMaker : public StorageMaker { public: std::uniq...
; A037458: a(1)=1; for n > 1, a(n) = n - a(n-floor(sqrt(n))). ; 1,1,2,3,3,3,4,5,6,6,6,6,7,8,9,10,10,10,10,10,11,12,13,14,15,15,15,15,15,15,16,17,18,19,20,21,21,21,21,21,21,21,22,23,24,25,26,27,28,28,28,28,28,28,28,28,29,30,31,32,33,34,35,36,36,36,36,36,36,36,36,36,37,38 add $0,2 mov $2,1 lpb $0 trn $0,$2 add $0,$2...
Map_361CB8: dc.w Frame_361CC8-Map_361CB8 ; ... dc.w Frame_361CDC-Map_361CB8 dc.w Frame_361CF0-Map_361CB8 dc.w Frame_361D04-Map_361CB8 dc.w Frame_361D0C-Map_361CB8 dc.w Frame_361D14-Map_361CB8 dc.w Frame_361D1C-Map_361CB8 dc.w Frame_361D24-Map_361CB8 Frame_361CC8: dc.w 3 dc.b $E8, 7, 0, 0,$FF,$F0 dc...
; ================================================================ ; Macros ; ================================================================ if !def(incMacros) incMacros set 1 ; ================================================================ ; Global macros ; =======================================================...
lc r4, 0xfffffff4 lc r5, 0x00800000 gtu r6, r4, r5 halt #@expected values #r4 = 0xfffffff4 #r5 = 0x00800000 #r6 = 0x00000000 #pc = -2147483628 #e0 = 0 #e1 = 0 #e2 = 0 #e3 = 0
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017-2018 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <amount.h> #include <...
/** * Copyright (c) 2021 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "AssetRenderSystem.h" #include "saiga/opengl/shader/shaderLoader.h" namespace Saiga { AssetRenderSystem::AssetRenderSystem() { { const char* shaderStr = "asset/ColoredAsset....
%macro exit 0 mov eax, 1 xor ebx, ebx int 0x80 %endmacro section .rodata n db 0xa %macro write_nl 0 mov eax, 4 mov ebx, 1 mov edx, 1 mov ecx, n int 0x80 %endmacro section .bss num resb 10 section .text global _start ...
org #c000 ; RAM goes to the 4th slot RAM: ; ---------------------------------------------------------------- ; RAM that is shared acorss all game states: ; ---------------------------------------------------------------- ; Music variables: MUSIC_tempo: ds virtual 1 beginning_of_sound_...
// agents.cpp /* testing #include <fstream> */ #include <limits> #include "agents.h" using namespace std; // Constructors and construction functions Agent::Agent(string _name){ name = _name; cr = NULL; } Asteroid::Asteroid(string _name) : Agent(_name) { start_time = 480; time_left = s...
; size_t b_vector_append_n(b_vector_t *v, size_t n, int c) SECTION code_adt_b_vector PUBLIC b_vector_append_n EXTERN asm_b_vector_append_n b_vector_append_n: pop af pop bc pop de pop hl push hl push de push bc push af jp asm_b_vector_append_n
;********************************************************* ;* MODULE: IO ;* ;* DESCRIPTION: INPUT/OUTPUT-RELATED FUNCTIONS ;* UART CONTROL, TIMER CONTROL, SOUND FUNCTIONS, ;* KEYBOARD FUNCTIONS, TERMINAL OUTPUT FUNCTIONS ;* .module io .title Input/Output module (term+sound) .include '..\common\common.def' TIME...
; A129232: a(n)=Floor(n*r)+Floor((n-2)*r)+Floor((n-4)*r)+...+Floor(k*r), where r = 2^(1/2) and k=0 if n is even, k=1 if n is odd. ; 0,1,2,5,7,12,15,21,26,33,40,48,56,66,75,87,97,111,122,137,150,166,181,198,214,233,250,271,289,312,331,355,376,401,424,450,474,502,527,557,583,614,642,674,704,737,769,803,836,872,906,944,97...
// Copyright 2013 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/base/accelerators/menu_label_accelerator_util_linux.h" #include "base/basictypes.h" #include "testing/gtest/include/gtest/gtest.h" namespac...
#include "optionsdialog.h" #include "ui_optionsdialog.h" #include "bitcoinunits.h" #include "monitoreddatamapper.h" #include "netbase.h" #include "optionsmodel.h" #include <QDir> #include <QIntValidator> #include <QLocale> #include <QMessageBox> #include <QRegExp> #include <QRegExpValidator> OptionsDialog::OptionsDi...
.data newLine: .asciiz "\n" .text main: addi $s0, $zero, 10 jal increase jal print_value # End of Main li $v0, 10 syscall increase: # Saving $s0 value addi $sp, $sp, -8 sw $s0, 0($sp) sw $ra, 4($sp) addi $s0, $s0, 30 # Nested procedure jal print_value jal new_line # ...
; A037765: Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2,1. ; Submitted by Jon Maiga ; 3,12,50,201,807,3228,12914,51657,206631,826524,3306098,13224393,52897575,211590300,846361202,3385444809,13541779239,54167116956,216668467826,866673871305,3466695485223,1386678194089...
; A168029: n*(n^6+1)/2. ; 0,1,65,1095,8194,39065,139971,411775,1048580,2391489,5000005,9743591,17915910,31374265,52706759,85429695,134217736,205169345,306110025,446935879,640000010,900544281,1247178955,1702412735,2293235724,3051757825,4015905101,5230176615,6746464270,8624938169,10935000015,13756307071,17179869200,21309...
;****************************************************************************** ;* FFT transform with SSE/3DNow optimizations ;* Copyright (c) 2008 Loren Merritt ;* Copyright (c) 2011 Vitor Sessak ;* ;* This algorithm (though not any of the implementation details) is ;* based on libdjbfft by D. J. Bernstein. ;* ;* This...
icl '../os/symbols.asm' org BOOTADDR mva #0 ROS8 lda #9 ldx #OS_SET_VIDEO_MODE jsr OS_CALL mwa SUBPAL_START VRAM_TO_RAM jsr lib_vram_to_ram ldy #0 lda #$9A sta (RAM_TO_VRAM), y iny lda #$9F sta (RAM_TO_VRAM), y iny lda #$C8 sta (RAM_TO_VRAM), y iny ...
SECTION code_clib SECTION code_fp_math48 PUBLIC _fmax_callee EXTERN cm48_sdccix_fmax_callee defc _fmax_callee = cm48_sdccix_fmax_callee
errorlevel -302 #include "config.inc" #ifndef RF_RX_PORT_RSSI error "RF_RX_PORT_RSSI must be defined, for example: PORTA,0" #endif #ifndef RF_RX_PORT_RSSI_REF error "RF_RX_PORT_RSSI_REF must be defined, for example: PORTA,0" #endif #ifndef RF_RX_LOCAL_ADDR error "RF_RX_LOCAL_ADDR must be defined, for example: ....
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1dbc8, %r14 clflush (%r14) nop nop nop dec %r13 mov (%r14), %r10d nop nop add %r15, %r15 lea addresses_UC_ht+0x17d34, %rsi lea addresses_WC_ht+0x18ac8, %rdi nop nop nop ...
;============================================================================== ; Contents of this file are copyright Phillip Stevens ; ; You have permission to use this for NON COMMERCIAL USE ONLY ; If you wish to use it elsewhere, please include an acknowledgement to myself. ; ; https://github.com/feilipu/ ; ; https:...
icl '../os/symbols.asm' org BOOTADDR lda #1 sta ROS8 lda #0 ldx #OS_SET_VIDEO_MODE jsr OS_CALL mwa SUBPAL_START VRAM_TO_RAM jsr lib_vram_to_ram ; use first 16 entries as subpal ldy #0 set_subpal: tya sta (RAM_TO_VRAM), y iny cpy #16 bne set_subpal ; reset all attributes...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xee9f, %rsi lea addresses_D_ht+0x559f, %rdi nop nop nop nop and $42653, %rax mov $32, %rcx rep movsw nop nop add %r15, %r15 lea addresses_A_ht+0xf86f, %rbp nop nop sub $43498,...
; $Id: beeper.asm,v 1.4 2016/06/16 20:23:52 dom Exp $ ; ; SAM Coupe 1 bit sound functions ; ; Stefano Bodrato - 28/9/2001 ; SECTION code_clib PUBLIC beeper PUBLIC _beeper EXTERN bit_open_di EXTERN bit_close_ei .beeper ._beeper call bit_open_di call $016F di ca...
; A137203: Number of Fibonacci numbers less than or equal to n^2. ; 1,3,5,7,8,9,10,10,11,11,12,12,13,13,13,13,14,14,14,14,15,15,15,15,15,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20 mov $2,$0 mul $2,...
/** * \file * \author Lars Bilke * \date 2009-11-04 * \brief Implementation of the MainWindow class. * * \copyright * Copyright (c) 2012-2016, OpenGeoSys Community (http://www.opengeosys.net) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * ...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; unsigned long ftell(FILE *stream) ; ; Return current file position. ; ; =============================================================== INCLUDE "clib_cfg.asm" SECTION co...
; 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...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x113fb, %rax nop nop nop cmp $14492, %r15 mov (%rax), %r14 nop nop nop nop nop xor %rbx, %rbx lea addresses_D_ht+0x667b, %rax nop nop and $8283, %r15 mov $0x61626364...
extern m7_ippsRSA_SetPrivateKeyType1:function extern n8_ippsRSA_SetPrivateKeyType1:function extern y8_ippsRSA_SetPrivateKeyType1:function extern e9_ippsRSA_SetPrivateKeyType1:function extern l9_ippsRSA_SetPrivateKeyType1:function extern n0_ippsRSA_SetPrivateKeyType1:function extern k0_ippsRSA_SetPrivateKeyType1:functio...
Title Irvine32 Link Library Source Code (Irvine32.asm) Comment @ To view this file with proper indentation, set your editor's tab stops to columns 5, 11, 35, and 40. Recent Updates: 05/02/09: Str_trim 12/11/2011: StrLength This library was created exlusively for use with the book, "Assembly Language for In...
/* The MIT License (MIT) Copyright (c) [2016] [BTC.COM] 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, me...
; void SMS_VRAMmemsetW(unsigned int dst,unsigned int value,unsigned int size) SECTION code_clib SECTION code_SMSlib PUBLIC SMS_VRAMmemsetW_callee EXTERN asm_SMSlib_VRAMmemsetW SMS_VRAMmemsetW_callee: pop hl pop bc pop de ex (sp),hl jp asm_SMSlib_VRAMmemsetW
; ========================================== ; pmtest3.asm ; 编译方法:nasm pmtest3.asm -o pmtest3.com ; ========================================== %include "pm.inc" ; 常量, 宏, 以及一些说明 org 0100h jmp LABEL_BEGIN [SECTION .gdt] ; GDT ; 段基址, 段界限 , 属性 LABEL_GDT: Descrip...
icl "stac_boot.inc" icl "stac_boot_block_1.asm" icl "stac_boot_block_2.asm"
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
/// @ref ext_vector_int3_sized /// @file glm/ext/vector_int3_sized.hpp /// /// @defgroup ext_vector_int3_sized GLM_EXT_vector_int3_sized /// @ingroup ext /// /// Exposes sized signed integer vector of 3 components type. /// /// Include <glm/ext/vector_int3_sized.hpp> to use the features of this extension. /// /// @see ...
; A057933: Floor[(80/81)*10^n]. ; 9,98,987,9876,98765,987654,9876543,98765432,987654320,9876543209,98765432098,987654320987,9876543209876,98765432098765,987654320987654,9876543209876543,98765432098765432,987654320987654320 mov $1,10 pow $1,$0 mul $1,9 add $1,10 div $1,9 mul $1,10 sub $1,17 mul $1,10 div $1,18 mul $1,1...
#include <iostream> using namespace std; void merge(int arr[], int lo, int mid, int hi) { int len = hi - lo; int temp[len]; int i = lo, j = mid, k = 0; while (i < mid && j < hi) { if (arr[i] < arr[j]) { temp[k++] = arr[i++]; } else { temp[k++] = arr[j++]; } } while (i < mid) { ...
org 0x100 cpu 8086 mov ax,1 int 0x10 mov dx,0x3d8 mov al,8 out dx,al mov dl,0xd4 mov ax,0x7f04 out dx,ax mov ax,0x6406 out dx,ax mov ax,0x7007 out dx,ax mov ax,0x0109 out dx,ax mov ax,0xb800 mov es,ax mov ax,0xb000 mov cx,40*100 rep stosw std mov bx,-79 ; 160 entry sine ...
;************************************************************************* ; SOFTWARE BUFFERS MODULE ; ; Version 0.10 ; 17/07/2005 ; ; Li-Wen Yip ; Ad Hoc Radio Networking Research Project ; School Of Engineering ; James Cook University ; ; ; The RAM allocated for each buffer must not overlap two RAM banks. This allow...
; A300067: Period 6: repeat [0, 0, 0, 1, 2, 2]. ; 0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2,0,0,0,1,2,2 mod $0,6 mul $0,2 sub $0,2 div $0,3 mov $...
; A082044: Main diagonal of A082043: a(n) = n^4 + 2n^2 + 1. ; 1,4,25,100,289,676,1369,2500,4225,6724,10201,14884,21025,28900,38809,51076,66049,84100,105625,131044,160801,195364,235225,280900,332929,391876,458329,532900,616225,708964,811801,925444,1050625,1188100 pow $0,2 add $0,1 mov $1,$0 pow $1,2