text
stringlengths
1
1.05M
LED1 BIT P0.0 LED2 BIT P0.1 LED3 BIT P0.2 BUTTON BIT P3.2 org 0100h ORG 13H JMP BLINKING RETI Start: SETB EX1 SETB EA jmp Start BLINKING: SETB LED1 SETB LED2 SETB LED3 MOV R1, #50D MOV R2, #100D MOV R3, #130D RPT: ACALL DELAY SWITCH1: ...
// 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 "chrome/browser/media/router/providers/cast/cast_app_discovery_service.h" #include "base/bind.h" #include "base/test/simple_test_tick_clock.h" #...
#include "mutation_annotated_tree.hpp" #include "tbb/task.h" #include <atomic> #include <cstddef> #include <cstdio> #include <tbb/blocked_range.h> #include <tbb/parallel_for.h> #include <vector> //find mutated alleles shared by both of the input static void intersect_allele(const Mutation_Annotated_Tree::Mutations_Coll...
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 0f in $0xf,%al 8010000c <entry>:...
/* * Copyright (c) 2017, 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 limitation * the rights to use, copy, modify, merge, publi...
; A275019: 2-adic valuation of tetrahedral numbers C(n+2,3) = n(n+1)(n+2)/6 = A000292. ; 0,2,1,2,0,3,2,3,0,2,1,2,0,4,3,4,0,2,1,2,0,3,2,3,0,2,1,2,0,5,4,5,0,2,1,2,0,3,2,3,0,2,1,2,0,4,3,4,0,2,1,2,0,3,2,3,0,2,1,2,0,6,5,6,0,2,1,2,0,3,2,3,0,2,1,2,0,4,3,4,0,2,1,2,0,3,2,3,0,2,1,2,0,5,4,5,0,2,1,2 seq $0,130809 ; If X_1, ..., X...
SECTION "sec", ROM0 Parent: db 0 WrongParent.child db 0
; A053842: (Sum of digits of n written in base 7) modulo 7. ; 0,1,2,3,4,5,6,1,2,3,4,5,6,0,2,3,4,5,6,0,1,3,4,5,6,0,1,2,4,5,6,0,1,2,3,5,6,0,1,2,3,4,6,0,1,2,3,4,5,1,2,3,4,5,6,0,2,3,4,5,6,0,1,3,4,5,6,0,1,2,4,5,6,0,1,2,3,5,6,0,1,2,3,4,6,0,1,2,3,4,5,0,1,2,3,4,5,6,2,3,4,5,6,0,1,3,4,5,6,0,1,2,4,5,6,0,1,2,3,5,6,0,1,2,3,4,6,0,1,...
#include "processor.h" #include <string> #include <vector> #include "linux_parser.h" using std::stol; // Return the CPU utilization double Processor::Utilization() { double utilization; std::vector<std::string> v = LinuxParser::CpuUtilization(); // Usage Calculation based on StackOverflow from htop source code ...
; int __FASTCALL__ fgetc(FILE *stream) ; 05.2008 aralbrec XLIB fgetc XDEF ASMDISP_FGETC LIB l_jpix, stdio_error_mc, stdio_error_eacces_mc INCLUDE "../stdio.def" .fgetc push hl pop ix .asmentry ; enter : ix = FILE * ; exit : a = hl = char and carry reset for success ; hl = -1 and carry set ...
; A322914: a(0)=0; for n>0, a(n) is the number of rooted 4-regular maps on the torus having n vertices. ; Submitted by Jamie Morken(w1) ; 0,1,15,198,2511,31266,385398,4721004,57590271,700465482,8501284530,103007201364,1246500179910,15068548264212,182007001727244,2196875784339288,26501619841355871,319541469851970522,385...
; 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 mov $1,6 mov $2,$0 mov $3,3 lpb $2,1 add $4,5 lpb $4,1 mul ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 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 so...
; A134927: a(0)=a(1)=1; a(n) = 3*(a(n-1) + a(n-2)). ; 1,1,6,21,81,306,1161,4401,16686,63261,239841,909306,3447441,13070241,49553046,187869861,712268721,2700415746,10238053401,38815407441,147160382526,557927369901,2115263257281,8019571881546,30404505416481,115272231894081,437030211931686,1656907331477301,628181263022696...
#include <iostream> #include <iomanip> #include <cstdint> #include "color/color.hpp" int main( int argc, char *argv[] ) { // Instead of float you may put std::uint8_t,std::uint16_t, std::uint32_t, std::uint64_t, double, long double color::rgb<float> c; // initialize c before get. c = color::...
section .data Number: db 42 section .bss StringBuffer: resb 32 section .text global _start EXTERN printText, printNewline, convertNumberToString, binaryLog, numberToBinaryString _start: nop mov al, [Number] mov rbx, StringBuffer call numberToBinaryString mov rcx, StringBuffer mov rdx, 32 call printText ...
/* * Implementation of TextureManager.h file * Author - Jack Matters */ // Includes #include "../headers/ScriptManager.h" #include <iostream> // Default constructor ScriptManager::ScriptManager(){} // De-constructor ScriptManager::~ScriptManager(){} // Load all scripts void ScriptManager::LoadAllLuaScripts(){} // ...
; TI File $Revision: /main/1 $ ; Checkin $Date: January 24, 2008 14:46:34 $ ; ======================================================================== ; This software is licensed for use with Texas Instruments C28x ; family DSCs. This license was provided to you prior to installing ; the software. You may r...
forcesetborder MACRO color local l1 push ax push dx mov dx,3dah in al,dx mov dx,3c0h mov al,11h+32 out dx,al mov al,color out dx,al pop dx pop ax ENDM PUBLIC _setborder _setborder PROC FAR CBEG push cx mov cx,[bp+6] forcesetborder cl pop cx CEND _setborder ENDP fwaitbord...
#ifndef DISABLE_HONE_CSTRULES_TEST #include "gtest/gtest.h" #include "testutil/tutil.hpp" #include "tenncor/hone/hone.hpp" #ifdef CMAKE_SOURCE_DIR const std::string optfile = std::string(CMAKE_SOURCE_DIR) + "cfg/optimizations.json"; #else const std::string optfile = "cfg/optimizations.json"; #endif TEST(CSTRUL...
/* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pragma once #include <eve/arch.hpp> #include <eve/detail/overload.hpp> namespace eve { //==========...
; A083223: a(n) = (5*6^n+(-6)^n)/6. ; 1,4,36,144,1296,5184,46656,186624,1679616,6718464,60466176,241864704,2176782336,8707129344,78364164096,313456656384,2821109907456,11284439629824,101559956668416,406239826673664,3656158440062976,14624633760251904,131621703842267136,526486815369068544,4738381338321616896,189535253532...
/* <editor-fold desc="MIT License"> Copyright(c) 2018 Robert Osfield 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, mod...
#include "simpleshader.h" namespace ou { SimpleShader::SimpleShader() : Shader("shaders/simple.vert.glsl", "shaders/simple.frag.glsl") { } SimpleShader* SimpleShader::self() { static SimpleShader me; return &me; } }
; A094707: Partial sums of repeated Fibonacci sequence. ; 0,0,1,2,3,4,6,8,11,14,19,24,32,40,53,66,87,108,142,176,231,286,375,464,608,752,985,1218,1595,1972,2582,3192,4179,5166,6763,8360,10944,13528,17709,21890,28655,35420,46366,57312,75023,92734,121391,150048,196416 lpb $0 sub $0,1 mov $2,$1 mov $1,$3 trn $1,$...
DEVICE ZXSPECTRUMNEXT ; empty infinite loop as code ORG $C000 di jr $ ;; OPEN <filename>[,<startAddress>,<stackAddress>[,<entryBank 0..111>]] SAVENEX OPEN "savenexBmpL2.nex", $C000, $F000 ;; CORE <major 0..15>,<minor 0..15>,<subminor 0..255> SAVENEX CORE 2,0,0 ;...
#include "AwaitStopSignal.h" #include <iostream> #include <chrono> using namespace IoT::Core; AwaitStopSignal::AwaitStopSignal(Signal signal) : m_state(signal) { } uint8_t AwaitStopSignal::waitSignal() { std::unique_lock<std::mutex> lock(m_mutex); while (m_state == Await) { m_conditionalVariable.wait(lock); }...
; A100198: Let f(0) = -1, f(n) = Moebius(n) = A008683(n) for n>0. Sequence gives partial sums a(n) = Sum_{ 0 <= i <= n} f(i). ; -1,0,-1,-2,-2,-3,-2,-3,-3,-3,-2,-3,-3,-4,-3,-2,-2,-3,-3,-4,-4,-3,-2,-3,-3,-3,-2,-2,-2,-3,-4,-5,-5,-4,-3,-2,-2,-3,-2,-1,-1,-2,-3,-4,-4,-4,-3,-4,-4,-4,-4,-3,-3,-4,-4,-3,-3,-2,-1,-2,-2,-3,-2,-2,-...
; A062158: a(n) = n^3 - n^2 + n - 1. ; -1,0,5,20,51,104,185,300,455,656,909,1220,1595,2040,2561,3164,3855,4640,5525,6516,7619,8840,10185,11660,13271,15024,16925,18980,21195,23576,26129,28860,31775,34880,38181,41684,45395,49320,53465,57836,62439,67280,72365,77700,83291,89144,95265,101660,108335,115296,122549,130100,1379...
/* * Copyright 2009, Stephan Aßmus <superstippi@gmx.de> * Copyright 2002-2004, Marcus Overhagen <marcus@overhagen.de> * All rights reserved. Distributed under the terms of the MIT license. */ #include <MediaFile.h> #include <new> #include <stdlib.h> #include <string.h> #include <File.h> #include <MediaTrack.h> ...
/********** This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This librar...
BITS 32 section .text foo: lmsw sp smsw [esp]
*= $0801 .byte $4c,$16,$08,$00,$97,$32 .byte $2c,$30,$3a,$9e,$32,$30 .byte $37,$30,$00,$00,$00,$a9 .byte $01,$85,$02 jsr print .byte 13 .text "(up)beqr" .byte 0 lda #%00011011 sta db lda #%11000110 st...
; A005861: The coding-theoretic function A(n,14,9). ; 1,1,1,1,1,1,1,2,2,2,2,2,3,3,3,4,5,6,6,7 mul $0,2 mov $2,$0 sub $2,1 sub $3,$0 mov $4,$0 lpb $4,1 sub $0,$2 sub $4,9 lpe sub $0,3 lpb $0,1 lpb $0,1 div $0,6 add $3,$2 mov $2,$0 div $3,2 lpe sub $1,$3 lpe add $1,1
SECTION code_driver PUBLIC _sd_cs_raise_fastcall EXTERN asm_sd_cs_raise ;Raise the SC180 SD card CS using the GPIO address ; ;uses AF defc _sd_cs_raise_fastcall = asm_sd_cs_raise
SECTION code_driver PUBLIC asm_disk_ioctl EXTERN ide_drive_id EXTERN ide_cache_flush EXTERN ideBuffer ;------------------------------------------------------------------------------ ; Routines that talk with the IDE drive, these should be called from diskio.h ; extern DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Epson type late model 24-pin print drivers FILE: cursorConvert360.asm AUTHOR: Dave Durran, 14 March 1990 ROUTINES: Name Description...
PresetsMenuAllbosskpdr: dw #presets_goto_allbosskpdr_crateria dw #presets_goto_allbosskpdr_brinstar dw #presets_goto_allbosskpdr_upper_norfair dw #presets_goto_allbosskpdr_wrecked_ship dw #presets_goto_allbosskpdr_maridia dw #presets_goto_allbosskpdr_upper_norfair_revisit dw #presets_goto_al...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1994 -- All Rights Reserved PROJECT: PC GEOS MODULE: deskjet CMY driver FILE: nccCMYInfo.asm AUTHOR: Dave Durran REVISION HISTORY: Name Date Description ---- ---- ----------- Dave ...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_FPU_C1|FLAG_FPU_PE ;TEST_FILE_META_END ; set up st0 to be 3.141593 FLDPI FLD1 ;TEST_BEGIN_RECORDING lea edi, [esp-08] FSTP dword [edi] FDIV dword [edi] mov edi, 0 ;TEST_END_RECORDING
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
/* * Copyright (c) 2006 The Regents of The University of Michigan * 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 above copyright * notice, ...
TRANS_READY BIT 01H ORDEN_PEND BIT 02H BUFER EQU 030H BUFERP EQU 03AH TEMP EQU 03BH LED EQU P2.0 ORG 0000H LJMP START org 0023H LJMP RTI_RS232 ORG 0100H ENCENDER_LED: CLR LED RET APAGAR_LED: SETB LED RET SAY_HELLO: MOV DPH,#HIGH STR_HELLO MOV DPL,#LOW STR_HELLO LCALL WRITE_STRING ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1dba1, %rax nop nop nop nop nop dec %r11 mov $0x6162636465666768, %rdi movq %rdi, %xmm5 vmovups %ymm5, (%rax) nop nop cmp $3682, %r11 lea addresses_normal_ht+0x83d2, %r13 su...
/* ID: vamaddu1 LANG: C++11 TASK: lexicon */ #define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <map> #include <unordered_map> #include <set> #include <unordered_set> #include <stack> #include <...
; A095151: a(n+3) = 3*a(n+2) - 2*a(n+1) + 1 with a(0)=0, a(1)=2. ; 0,2,7,18,41,88,183,374,757,1524,3059,6130,12273,24560,49135,98286,196589,393196,786411,1572842,3145705,6291432,12582887,25165798,50331621,100663268,201326563,402653154,805306337,1610612704,3221225439,6442450910,12884901853,25769803740,51539607515,103079...
; A126181: Triangle read by rows, T(n,k) = C(n,k)*Catalan(n-k+1), n >= 0, 0 <= k <= n. ; Submitted by Jon Maiga ; 1,2,1,5,4,1,14,15,6,1,42,56,30,8,1,132,210,140,50,10,1,429,792,630,280,75,12,1,1430,3003,2772,1470,490,105,14,1,4862,11440,12012,7392,2940,784,140,16,1,16796,43758,51480,36036,16632,5292,1176,180,18,1,58786...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="rgid, egid, sgid"/> <%docstring> Invokes the syscall getresgid. See 'man 2 getresgid' for more information. Arguments: rgid(gid_t): rgid egid(gid_t): egid sgid(gid_t): sgid </%docstring> ${syscall('SYS_getresgid', rgid, egid, sgi...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 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 so...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: System.IEquatable...
// Copyright (c) 2009-2014 The Bitcoin Core developers // Copyright (c) 2016-2018 The PIVX developers // Copyright (c) 2018-2021 The Dequant developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <list> #include <lo...
PAGE 60,132 NAME PKT_RX ifdef ??version ; using TASM masm jumps endif PUBLIC _pktDrop, _pktRxBuf, _pktTxBuf, _pktTemp PUBLIC _rxOutOfs, _rxInOfs, _PktReceiver, _pktRxEnd ; ; these sizes MUST be equal to the sizes in PKTDRVR.H ; RX_BUF_SIZE = 1500 ; max message size on Ethernet TX_...
; void balloc_free_fastcall(void *m) SECTION code_alloc_balloc PUBLIC _balloc_free_fastcall _balloc_free_fastcall: INCLUDE "alloc/balloc/z80/asm_balloc_free.asm"
; =============================================================== ; Jan 2014 ; =============================================================== ; ; int ungetc_unlocked(int c, FILE *stream) ; ; Push char back onto stream. ; ; =============================================================== INCLUDE "clib_cfg.asm" SECTI...
ld a, 7 ld (basescradr + #00f0), a ld (basescradr + #01f0), a ld (basescradr + #02d1), a ld (basescradr + #0c50), a ld (basescradr + #0c91), a ld a, 254 ld (basescradr + #02d2), a ld (basescradr + #05f4), a ld (basescradr + #0835), a ld (basescradr + #0ad5), a ld (basescradr + #0f15), a ld a, ...
; A138710: n-th run has length n-th positive Fibonacci numbers, with digits 0 and 1 only, starting with 0. ; 0,1,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mov $2,6 lpb $0 sub $0,1 mul $...
/* Copyright (c) 2020 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 by applicable law or...
SECTION code_clib PUBLIC plot_MODE0 .plot_MODE0 ld a,l cp 48 ret nc ld a,h cp 64 ret nc defc NEEDplot = 1 INCLUDE "gfx/gencon/pixel6.inc"
/*========================================================================= Program: Visualization Toolkit Module: vtkGraphHierarchicalBundle.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Thi...
; A276764: 1^2 + 3^2, 2^2 + 4^2, 5^2 + 7^2, 6^2 + 8^2, ... ; 10,20,74,100,202,244,394,452,650,724,970,1060,1354,1460,1802,1924,2314,2452,2890,3044,3530,3700,4234,4420,5002,5204,5834,6052,6730,6964,7690,7940,8714,8980,9802,10084,10954,11252,12170,12484,13450,13780,14794,15140,16202,16564,17674,18052,19210,19604,20810,21...
; A167544: a(n) = (n-3)*(n-8)/2 . ; -2,-3,-3,-2,0,3,7,12,18,25,33,42,52,63,75,88,102,117,133,150,168,187,207,228,250,273,297,322,348,375,403,432,462,493,525,558,592,627,663,700,738,777,817,858,900,943,987,1032,1078,1125,1173,1222,1272,1323,1375,1428,1482,1537,1593,1650,1708,1767,1827,1888,1950,2013,2077,2142,2208,2275,...
#pragma once #include "../lib/i42output/include/neolib/event.hpp" #include "../../benchmark.hpp" class Nls { neolib::sink reg; NOINLINE(void handler(Rng& rng)) { volatile std::size_t a = rng(); (void)a; } public: using Signal = neolib::event<Rng&>; template <typename Subject, ...
; =============================================================== ; 2017 ; =============================================================== ; ; unsigned char zxn_page_from_addr(uint32_t addr) ; ; =============================================================== SECTION code_clib SECTION code_arch PUBLIC asm_zxn_page_fr...
; int b_array_resize(b_array_t *a, size_t n) SECTION code_adt_b_array PUBLIC _b_array_resize EXTERN asm_b_array_resize _b_array_resize: pop af pop hl pop de push de push hl push af jp asm_b_array_resize
; A070359: a(n) = 3^n mod 34. ; 1,3,9,27,13,5,15,11,33,31,25,7,21,29,19,23,1,3,9,27,13,5,15,11,33,31,25,7,21,29,19,23,1,3,9,27,13,5,15,11,33,31,25,7,21,29,19,23,1,3,9,27,13,5,15,11,33,31,25,7,21,29,19,23,1,3,9,27,13,5,15,11,33,31,25,7,21,29,19,23,1,3,9,27,13,5,15,11,33,31,25,7,21,29,19,23,1,3,9,27,13,5,15,11,33,31,25,7...
; A043637: Numbers whose base-9 representation has exactly 8 runs. ; 4842756,4842758,4842759,4842760,4842761,4842762,4842763,4842764,4842765,4842766,4842768,4842769,4842770,4842771,4842772,4842773,4842774,4842775,4842776,4842778,4842779,4842780,4842781,4842782 add $0,8 mov $1,20 mul $1,$0 div $1,18 add $1,4842748 mov ...
; CRT0 for the VG5000 ; ; Joaopa Jun. 2014 ; Stefano Bodrato Lug. 2014 ; ; $Id: vg5k_crt0.asm,v 1.15 2016-07-15 21:03:25 dom Exp $ ; MODULE vg5k_crt0 defc crt0 = 1 INCLUDE "zcc_opt.def" EXTERN _main ;main() is always external to crt0 code PUBLIC cleanup...
#include "daqi/utilities/md5_utilities.hpp" #include <cstring> #include <openssl/md5.h> namespace da4qi4 { namespace Utilities { void MD5(const std::string& srcStr, std::string& encodedStr, std::string& encodedHexStr) { unsigned char mdStr[33] = {0}; ::MD5(reinterpret_cast<const unsigned char*>(srcStr.c_str(...
; A002940: Arrays of dumbbells. ; 1,4,11,26,56,114,223,424,789,1444,2608,4660,8253,14508,25343,44030,76136,131110,224955,384720,656041,1115784,1893216,3205416,5416441,9136084,15384563,25866914,43429784,72821274,121953943,204002680,340886973,569047468,949022608,1581316060,2632672821,4379569020,7280156135,12093219590,200...
#include <vector> #include <iostream> #include <climits> #include <algorithm> #include <queue> #include <stack> #include <map> #define Max(a, b) a > b ? a : b #define Min(a, b) a < b ? a : b using namespace std; class Solution { public: bool validMountainArray(vector<int>& arr) { if(arr.size() < 3) retu...
; A044431: Numbers n such that string 9,9 occurs in the base 10 representation of n but not of n-1. ; 99,199,299,399,499,599,699,799,899,990,1099,1199,1299,1399,1499,1599,1699,1799,1899,1990,2099,2199,2299,2399,2499,2599,2699,2799,2899,2990,3099,3199,3299,3399,3499,3599,3699,3799,3899 mov $1,10 mov $3,$0 mod $0,10 lpb...
/*! * \file * \author Nikos Tsakiridis <tsakirin@auth.gr> * \version 1.0 * * \brief Implementation of the SHADE 1.1 and L-SHADE algorithms. * * SHADE \cite Tanabe2013 is an adaptive DE algorithm which incorporates * success-history based parameter adaptation and one of the state-of-the-art * DE algorithms. L-S...
; A138423: a(n) = (prime(n)^4 - prime(n)^3)/2. ; 4,27,250,1029,6655,13182,39304,61731,133837,341446,446865,911754,1378420,1669647,2387929,3870802,5955991,6809430,9925179,12526885,14004612,19228521,23443267,31018636,43808304,51515050,55729077,64927279,69931566,80802232,129048129,146125915,174852004,185307711,244788226,2...
// Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2019 The PIVX developers // Copyright (c) 2015-2020 The EROS developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "netbase.h" #include "mast...
; Author: bishop986 @copyright ; Introduction: ; code modle section .data errorMsg1: db "[ERROR] Data Format Error, Exit process", 0ah, 0 msgLen1: equ $-errorMsg1 section .text global _start _start: nop nop call _exit .errorread: xor rax, rax xor rbx, rbx xor rcx, rcx xor rdx, rdx mov eax, 4 mov ebx, 1...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Microsoft Research Singularity ;;; ;;; Copyright (c) Microsoft Corporation. All rights reserved. ;;; ;;; This file contains ARM-specific assembly code. ;;; GBLL div_s GET veneer.asm END
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0xfbec, %rsi lea addresses_normal_ht+0x99ec, %rdi cmp %r10, %r10 mov $29, %rcx rep movsb nop nop add $22155, %r14 lea addresses_A_ht+0x9ade, %rsi lea addresses_A_ht+0x6c, %rdi ...
/* file: kmeans_init_csr_parallelplus_distr_step4_fpt_dispatcher.cpp */ /******************************************************************************* * Copyright 2014-2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
#include "animation.hpp" #include "font.hpp" #include "image.hpp" #include "structs.hpp" #include "window.hpp" const uint16_t font_size = 50; Font f = Font("resource/FiraMono-Regular.ttf", font_size); PNGImage i = PNGImage("resource/test-img.png"); PNGImage n = PNGImage("resource/test-img-2.png"); Animation a = Animat...
; A041482: Numerators of continued fraction convergents to sqrt(258). ; Submitted by Jon Maiga ; 16,257,8240,132097,4235344,67897601,2176958576,34899234817,1118952472720,17938138798337,575139394019504,9220168443110401,295620529573552336,4739148641619947777,151948377061411881200,2435913181624210046977,781011701890361333...
; CALLER linkage for function pointers SECTION code_clib PUBLIC astar_WalkPath PUBLIC _astar_WalkPath EXTERN asm_astar_WalkPath .astar_WalkPath ._astar_WalkPath pop af pop bc pop hl pop de push de push hl push bc push af jp asm_astar_WalkPath
; DEV_USE/DEV_USE$/DEV_NEXT V2.00  1989 Tony Tebby QJUMP section exten xdef dev_basic dev_basic xdef dev_xinit xdef dev_use xdef dev_usen xdef dev_use$ xdef dev_next xdef dev_list xref dev_name xref cv_cttab xref cv_upcas xref iou_flnk xref iou_use xref ut_gtnm1 xref ut_gtin1 xref ut_gxin1 xre...
10003770: e8 cb fd ff ff call 0x10003540 10003775: 83 f8 ff cmp eax,0xffffffff 10003778: a3 00 00 01 10 mov ds:0x10010000,eax 1000377d: 74 1f je 0x1000379e 1000377f: e8 ec fe ff ff call 0x10003670 10003784: 85 c0 test eax,eax 10003786: 75...
#pragma once #include <jkl/uri/comp.hpp> #include <jkl/uri/reader.hpp> #include <jkl/uri/writer.hpp> #include <jkl/uri/resolve.hpp> #include <jkl/uri/normalize.hpp> #include <jkl/uri/url_codec.hpp> #include <jkl/uri/well_known_port.hpp> #include <jkl/uri/data_url.hpp>
// DEPRECATED /** * Copyright (C) 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be...
; void *bit_play_tritone_fastcall(void *song) SECTION smc_sound_bit PUBLIC _bit_play_tritone_fastcall EXTERN asm_bit_play_tritone defc _bit_play_tritone_fastcall = asm_bit_play_tritone
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file suAPIConnector.cpp /// //================================================================================== /...
_prac4: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "user.h" int main(){ 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %...
; ; Small C z88 Character functions ; Written by Dominic Morris <djm@jb.man.ac.uk> ; 22 August 1998 ; ; $Id: toupper.asm,v 1.7 2016/03/06 21:41:15 dom Exp $ ; SECTION code_clib PUBLIC toupper PUBLIC _toupper EXTERN asm_toupper ; FASTCALL ._toupper .toupper ld a,l call asm_toupper ld l,a ld h,0 ...
; A281264: Log base 2 of denominator of Sum_{k=0..n^2-1}((-1)^k*sqrt(Pi)/(Gamma(1/2-k)*Gamma(1+k)))-n). ; 0,4,15,26,46,67,94,120,158,194,236,281,333,386,445,502,574,642,716,792,875,960,1054,1143,1244,1345,1451,1560,1676,1793,1916,2036,2174,2306,2444,2584,2731,2880,3034,3190,3356,3519,3690,3862,4041,4226,4413,4597,4796,...
.MODEL SMALL .STACK 100 .DATA .CODE MAIN PROC MOV AX,@DATA MOV DS,AX ; Put the rest of your code here MOV AX,4C00H INT 21H MAIN ENDP END MAIN
#include "slnpch.h" #include "ImGuiLayer.h" #include <imgui.h> #include "Selene/Rendering/RenderingEngine.h" #include "Renderers/OpenGL/OpenGLImGuiLayer.h" namespace Selene { ImGuiLayer* ImGuiLayer::Create() { switch (RenderingEngine::GetAPI()) { case RenderingAPI::API::None: SLN_ASSERT(false, "Rendering...
; A348590: Number of endofunctions on [n] with exactly one isolated fixed point. ; Submitted by Jon Maiga ; 0,1,0,9,68,845,12474,218827,4435864,102030777,2625176150,74701061831,2329237613988,78972674630005,2892636060014050,113828236497224355,4789121681108775344,214528601554419809777,10193616586275094959534,512100888749...
_zombie: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 10 sub $0x10,%...
// clazy:skip #include "proofnetwork/jdf/data/jmfdocument.h" #include "gtest/test_global.h" #include <QDateTime> #include <QDomDocument> #include <QFile> #include <QSignalSpy> #include <QXmlStreamReader> using namespace Proof; using namespace Proof::Jdf; using testing::Test; class JmfDocumentTest : public Test { p...
SECTION code_fp_math16 PUBLIC ___hmul PUBLIC _mulf16 EXTERN cm16_sdcc_mul defc ___hmul = cm16_sdcc_mul defc _mulf16 = cm16_sdcc_mul
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp if(argc != 3){ 7: 83 39 03 cmpl $0x3,(%ecx)...
BulbasaurAnimationIdle: INCLUDE "gfx/pokemon/bulbasaur/anim_idle.asm" IvysaurAnimationIdle: INCLUDE "gfx/pokemon/ivysaur/anim_idle.asm" VenusaurAnimationIdle: INCLUDE "gfx/pokemon/venusaur/anim_idle.asm" CharmanderAnimationIdle: INCLUDE "gfx/pokemon/charmander/anim_idle.asm" CharmeleonAnimationIdle: INCLUDE "gfx/...
Name: rundat.asm Type: file Size: 17924 Last-Modified: '1992-06-02T15:00:00Z' SHA-1: 6B57B2A04EB947E0BEE3B0070F8567BD957959E9 Description: null
; A133754: a(n) = n^5 - n^3. ; 0,0,24,216,960,3000,7560,16464,32256,58320,99000,159720,247104,369096,535080,756000,1044480,1414944,1883736,2469240,3192000,4074840,5142984,6424176,7948800,9750000,11863800,14329224,17188416,20486760,24273000,28599360,33521664,39099456,45396120,52479000,60419520,69293304,79180296,90164880...