text
stringlengths
1
1.05M
/** * @file fsareasearchlistctrl.cpp * @brief A area search-specific implementation of scrolllist * * $LicenseInfo:firstyear=2014&license=viewerlgpl$ * Phoenix Firestorm Viewer Source Code * Copyright (c) 2014 Ansariel Hiller * * This library is free software; you can redistribute it and/or * modify it under...
; A082034: a(n) = (4*n + 1)*n!. ; Submitted by Jamie Morken(s1.) ; 1,5,18,78,408,2520,18000,146160,1330560,13426560,148780800,1796256000,23471078400,330032102400,4969162598400,79768136448000,1359981342720000,24542432538624000,467373280518144000,9366672731480064000,197065062662307840000,4342730084595302400000,1000360647...
.size 8000 .text@48 ei jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld c, 44 ld b, 90 lbegin_waitly90: ldff a, (c) cmp a, b jrnz lbegin_waitly90 ld a, 11 ldff(40), a ld hl, 8010 ld a, ff ld(hl++), a ld(hl...
#include "basebandReadoutManager.hpp" namespace kotekan { basebandDumpData::basebandDumpData(uint64_t event_id_, uint32_t freq_id_, uint32_t num_elements_, int64_t data_start_fpga_, uint64_t data_length_fpga_, timespec data_start_ctime_, const gs...
<%page args="gid = 'egid'"/> <%docstring> Args: [gid (imm/reg) = egid] Sets the real and effective group id. </%docstring> % if gid == 'egid': ;; getegid push SYS_getegid pop rax int 0x80 % else: push ${gid} pop rax % endif ;; setregid(rax, rax) mov rbx, rax mov rcx, rax pu...
; A213391: Number of (w,x,y) with all terms in {0,...,n} and 2*max(w,x,y) < 3*min(w,x,y). ; 0,1,2,3,10,17,24,43,62,81,118,155,192,253,314,375,466,557,648,775,902,1029,1198,1367,1536,1753,1970,2187,2458,2729,3000,3331,3662,3993,4390,4787,5184,5653,6122,6591,7138,7685,8232,8863,9494,10125 mov $14,$0 mov $16,$0 lpb $16 ...
bits 16 cpu 386 section .text ; void cmike_syscall(uint16_t addr, syscall_regs*) global cmike_syscall cmike_syscall: push bp mov bp, sp pusha mov si, word [bp + 6] mov ax, word [si + 0] mov bx, word [si + 2] mov cx, word [si + 4], ...
/** \file * * \author A. Tumanov - Rice * But long, long ago... */ #include "DataFormats/MuonDetId/interface/CSCDetId.h" #include "EventFilter/CSCRawToDigi/src/CSCDigiToRaw.h" #include "EventFilter/CSCRawToDigi/interface/CSCDCCEventData.h" #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h" #inclu...
; A274230: Number of holes in a sheet of paper when you fold it n times and cut off the four corners. ; Submitted by Jon Maiga ; 0,0,1,3,9,21,49,105,225,465,961,1953,3969,8001,16129,32385,65025,130305,261121,522753,1046529,2094081,4190209,8382465,16769025,33542145,67092481,134193153,268402689,536821761,1073676289,21473...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2015 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...
_Lab1Text1:: text "We study #MON" line "extensively here." para "People often bring" line "us rare #MON" cont "for examination." done _Lab1Text2:: text "A photo of the" line "LAB's founder," cont "DR.FUJI!" done _Lab1Text3:: text "#MON LAB" line "Meeting Room" done _Lab1Text4:: text "#MON LAB" line "...
; A231722: Partial sums of A001088 starting from its second term; a(1)=0, a(n) = A001088(2)+...+A001088(n). ; 0,1,3,7,23,55,247,1015,5623,24055,208375,945655,9793015,62877175,487550455,3884936695,58243116535,384392195575,6255075618295,53220543000055,616806151581175,6252662237392375,130241496125238775,112215216722800997...
// Copyright (c) 2013 The Tripcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "consensus/validation.h" #include "data/sighash.json.h" #include "main.h" #include "random.h" #include "script/interpret...
db "SPITFIRE@" ; species name db "It moves more" next "frequently in hot" next "areas. It can heal" page "itself by dipping" next "its wound into" next "lava.@"
.text .file "llvmjit" .globl eval .p2align 4, 0x90 .type eval,@function eval: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 .cfi_def_cfa_offset 24 pushq %r14 .cfi_def_cfa_offset 32 pushq %r13 .cfi_def_cfa_offset 40 pushq %r12 .cfi_def_cfa_offset 48 pushq %rbx .cfi_def_cfa_offset 56 subq...
/* * Copyright 2020 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
[GLOBAL GdtFlush] ; Loads the GDT table GdtFlush: cli ; The first function parameter is provided in the RDI register on the x64 architecture ; RDI points to the variable _gdtPointer (defined in the C code) lgdt [rdi] ; Load the TSS mov ax, 0x2b ; This is the 6th entry from the GDT with the re...
SECTION code_clib SECTION code_sound_bit PUBLIC _bitfx_21 INCLUDE "clib_target_cfg.asm" _bitfx_21: ; ascending buzzer ld hl,1023 hdesc1: push hl ld b,16 hdesc2: rl l rl h jr nc, hdesc3 xor __sound_bit_toggle INCLUDE "sound/bit/z80/output_bit_device_2.inc" hdesc3: djnz h...
.size 8000 .text@50 jp ltimaint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: xor a, a ldff(0f), a ldff(ff), a ld a, f0 ldff(05), a ldff(06), a ld a, 04 ldff(ff), a ld a, 05 ldff(07), a ei nop halt .text@1000 ltimaint: nop .text@1024 ld a, 01 ldff(07), a ld a, 05 ldff(07), a nop nop n...
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosSuspendThread DOS wrapper ; ; (c) osFree Project 2022, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prok...
; A086746: Multiples of 3018. ; 3018,6036,9054,12072,15090,18108,21126,24144,27162,30180,33198,36216,39234,42252,45270,48288,51306,54324,57342,60360,63378,66396,69414,72432,75450,78468,81486,84504,87522,90540,93558,96576,99594,102612 mul $0,3018 add $0,3018
;***************************************************************************** ;* x86-optimized functions for v360 filter ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg 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 Sof...
[BITS 16] a32 mov ax, [eax] mov ax, [eax] mov ax, [di] mov ax, [di-si+si] mov ax, [bx-(bx-di)-2] mov ax, [2*(bx+di)-bx-2*di] mov ax, [2*(bx*2+di)-bx-2*bx-2*di] mov ax, [2*(bx*2)-bx-2*bx+di] mov ax, [(bx+di)*(bx+di)-bx*bx-2*bx*di-di*di+di] mov ax, [(blah2-blah)*di] blah inc ax blah2 mov ax, [(blah2-blah)*di] [BITS 32] m...
; A309000: Number of strings of length n from a 3-symbol alphabet (A,B,C, say) containing at least one "A" and at least two "B"s. ; Submitted by Simon Strandgaard ; 3,22,105,416,1491,5034,16365,51892,161799,498686,1524705,4635528,14037627,42391378,127763925,384536924,1156232175,3474201510,10434138825,31326533680,940299...
.include "m16def.inc" .org 0x0 rjmp reset .org 0x2 rjmp ISR0 reset: ldi r24 , low(RAMEND) ;initialize stack pointer. out SPL , r24 ldi r24 , high(RAMEND) out SPH , r24 ldi r24 , (1 << ISC01)|(1 << ISC00) ;INT0 se sima thetikhs akmhs. out MCUCR , r24 ldi r24 , (1 << INT0) ;energopoih...
;@DOES C function for fs_Open ;@INPUT uint8_t c_FOpen(const char *file_name, uint8_t open_mode, dir_t *directory); ;@OUTPUT A = file slot number ;@DESTROYS All c_Open: ld iy,0 add iy,sp ld hl,(iy+3) ld a,(iy+6) ld de,(iy+9) jp fs_Open ;@DOES C function for fs_Delete ;@INPUT uint8_t c_Delete(const char *file_name...
// // // Copyright 2020 gRPC 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 required by applicable law or agree...
// Boost string_algo library find_iterator.hpp header file ---------------------------// // Copyright Pavol Droba 2002-2004. // // 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) // See http://www....
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x6f36, %rsi lea addresses_WC_ht+0x233e, %rdi nop nop nop nop xor $15760, %r12 mov $98, %rcx rep movsq nop nop nop xor %r15, %r15 lea addresses_WT_ht+0x66, %rcx nop nop nop an...
#include <cstdio> #include <vector> #include <queue> #include <algorithm> using namespace std; int N; // 건물의 종류 수 N(1≤N≤500). vector<vector<int> > graph; // 선행 관계를 저장하는 그래프. vector<int> indegree; // 선입차수를 저장하는 리스트. vector<int> time; // 건물을 짓는데 걸리는 시간을 저장하는 리스트. vector<int> d; // 각 건물마다 최종적으로 걸리는 시간 저장하는 리스트. void BF...
; A049762: a(n) = Sum_{k=1..n} T(n,k), array T as in A049761. ; Submitted by Jon Maiga ; 0,0,1,1,4,1,9,7,11,12,25,18,34,34,41,32,76,44,87,64,93,85,122,75,80,160,144,132,172,103,218,232,220,245,251,210,299,330,344,315,413,275,456,392,383,472,502,479,449,553,557,626,646,632,628,618,771,769,863,522,702,792,829,815,916,894...
// example code for creating a tag that can use the Hair API #include "c4d.h" #include "c4d_symbols.h" #include "lib_hair.h" #include "main.h" #include "thairsdkrendering.h" ////////////////////////////////////////////////////////////////////////// class HairRenderingTag : public TagData { INSTANCEOF(HairRendering...
#include "cbase.h" #include "c_asw_trail_Beam.h" #include "iviewrender_beams.h" #include "beamdraw.h" #include "c_te_effect_dispatch.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" ConVar asw_trail_beam_lifetime("asw_trail_beam_lifetime", "0.5f", 0, "How long the pellet trai...
; ; ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2019 Broadcom Inc. All rights reserved. ; ; ; This is the default program for the (4 + 16) BCM56580 SDKs. ; To start it, use the following commands from BCM: ;...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x132a7, %r14 nop add %r9, %r9 mov $0x6162636465666768, %rax movq %rax, %xmm0 movups %xmm0, (%r14) nop nop sub %rbx, %rbx lea addresses_WT_ht+0xf17, %rsi lea addresses_UC_h...
# ORG 8000 LXI B,2464 HLT
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %rax push %rdi push %rdx lea addresses_UC_ht+0x1e6d0, %rdi nop nop add $62061, %r10 movups (%rdi), %xmm4 vpextrq $1, %xmm4, %rax nop nop nop nop sub %rdx, %rdx lea addresses_D_ht+0x46f8, %r11 nop nop sub %r12, %r12 vmovups (%r11),...
[ORG 0x100] [SECTION .blah] [ORG a] [ORG t=0x100] a: [SECTION .text ALIGN=a] [SECTION .data ALIGN=16] [SECTION .bss align=15] [SECTION .bss align=] [SECTION .bss align]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Microsoft Research Singularity ;;; ;;; Copyright (c) Microsoft Corporation. All rights reserved. ;;; ;;; This file contains ARM-specific assembly code. ;;; ; Assembler source for FPA support code and e...
; ; Plot pixel at (x,y) coordinate. SECTION code_clib PUBLIC w_respixel EXTERN res_MODE0 EXTERN res_MODE6 EXTERN res_MODE64 EXTERN __zx_screenmode defc NEEDres = 1 .w_respixel ld a,(__zx_screenmode) cp 3 jp c,res_MODE0 IF FORzxn bit 6,a jp nz,res_MODE64 ENDIF jp res_MOD...
; A007715: Number of 5-leaf rooted trees with n levels. ; 1,7,27,75,170,336,602,1002,1575,2365,3421,4797,6552,8750,11460,14756,18717,23427,28975,35455,42966,51612,61502,72750,85475,99801,115857,133777,153700,175770,200136,226952,256377,288575,323715,361971,403522,448552,497250,549810,606431,667317,732677,802725,877680,...
global test_case extern Array.sliceb extern Array.eachb extern std.outb extern std.outln extern sys.error %include "Array.inc" section .text test_case: mov rax, test_arrayb ; Array to slice mov rbx, 4 ; at offset 2 call Array.sliceb ; slice into two arrays ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rbp push %rbx push %rcx lea addresses_A_ht+0x9e83, %r12 nop nop nop nop nop inc %rbp mov (%r12), %bx nop nop nop nop nop add $48627, %r8 lea addresses_WT_ht+0x11253, %r11 nop nop nop inc %rcx movb (%r11), %r15b nop nop nop nop cmp...
org $0000 ; Object types OBJECT_NONE EQU 0 OBJECT_SWITCH EQU 1 OBJECT_DOOR EQU 2 OBJECT_DOOR_DESTROY EQU 3 OBJECT_FLOOR_DESTROY EQU 4 OBJECT_WALL_DESTROY EQU 5 OBJECT_BOX_LEFT EQU 6 OBJECT_BOX_RIGHT EQU 7 OBJECT_JAR EQU 8 OBJECT_TELEPORTER EQU 9 ; Pickable object types OBJECT_KEY_GREEN EQU 11 OBJECT_KEY_BLUE EQU...
global hd0 hd0: dd 0x0000 ;Partition 0 starting sector number dd 0x0000 ;Partition 0 capacity dd 0x0000 ;Partition 1 starting sector number dd 0x0000 ;Partition 1 capacity dd 0x0000 ;Partition 2 starting sector number dd 0x0000 ;Partition 2 capacity dd 0x0000 ;Partition 3 starting sector number dd 0x0000 ;Pa...
/* * @lc app=leetcode id=336 lang=cpp * * [336] Palindrome Pairs * * https://leetcode.com/problems/palindrome-pairs/description/ * * algorithms * Hard (30.46%) * Total Accepted: 64.6K * Total Submissions: 211.9K * Testcase Example: '["abcd","dcba","lls","s","sssll"]' * * Given a list of unique words, f...
; A168371: a(n) = n^5*(n^3 + 1)/2. ; 0,1,144,3402,33280,196875,843696,2890804,8404992,21552885,50050000,107259966,215115264,408051007,738163440,1281825000,2148007936,3488588649,5510925072,8493019570,12801600000,18913471731,27440513584,39158710812,55041638400,76298828125,104419472976,141221942694,188909604352,2501334620...
/** * @file io.hpp */ #ifndef IO_HPP #define IO_HPP #include "types.hpp" namespace io { bool readFile(types::String filename, types::String& content); bool readBinary(types::String filename, types::Binary& content); bool writeBinary(types::String filename, const types::Binary &content); bool writeStream(types::St...
; struct sp1_ss *sp1_CreateSpr(void *drawf, uchar type, uchar height, int graphic, uchar plane) ; 03.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version SECTION code_temp_sp1 PUBLIC asm_sp1_CreateSpr EXTERN _sp1_struct_ss_prototype, _sp1_struct_cs_prototype EXTERN asm_malloc, asm_free asm_sp1_CreateSpr: ; ...
;------------------------------------------------------------------------------ ; ; 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...
; A047542: Numbers that are congruent to {0, 1, 2, 4, 7} mod 8. ; 0,1,2,4,7,8,9,10,12,15,16,17,18,20,23,24,25,26,28,31,32,33,34,36,39,40,41,42,44,47,48,49,50,52,55,56,57,58,60,63,64,65,66,68,71,72,73,74,76,79,80,81,82,84,87,88,89,90,92,95,96,97,98,100,103,104 add $0,1 mul $0,4 mov $1,$0 sub $1,1 lpb $0 mov $2,2 tr...
.model small .stack 100h .data str db 48,49,50 len equ ($ - str) .code main proc mov ax, @data mov ds, ax ;code goes here lea di, str ; load the beginning of the string mov cx, len ; load the size of the string ; point to the end of the string mov s...
; A046825: Numerator of Sum_{k=0..n} 1/binomial(n,k). ; Submitted by Jon Maiga ; 1,2,5,8,8,13,151,256,83,146,1433,2588,15341,28211,52235,19456,19345,36362,651745,6168632,1463914,2786599,122289917,233836352,140001721,268709146,774885169,1491969394,41711914513,80530073893,4825521853483,9338132881408,282654114997,54810182...
#pragma once #include <memory> #include "pipe_proto.hpp" namespace knet { namespace pipe { enum PipeEvent { PIPE_CONNECT, PIPE_DISCONNECT, PIPE_HEARTBEAT_REQUEST, PIPE_HEARTBEAT_RESPONSE }; class PipeSession : public std::enable_shared_from_this<PipeSession> { public: PipeSession(const ...
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA...
tree<pair<vector,vector> >::node generaHijo(int iteracion, tree<pair<vector,vector> >::node & padre, tree<pair<vector,vector> > & arb){ tree<pair<vector,vector> >::node hijo; if(padre.first.size() !=0) for(int i=0;i<padre.first.size();++i) hijo.first.push_back(padre.first[i]); hijo.first.push_back(padre.sec...
/******************************************************************************* * This file is part of KaHyPar. * * Copyright (C) 2014 Sebastian Schlag <sebastian.schlag@kit.edu> * * KaHyPar is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe...
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 53 push %ebx 4: 83 e4 f0 and $0xff...
; A137243: Number of coprime pairs (a,b) with -n <= a,b <= n. ; 8,16,32,48,80,96,144,176,224,256,336,368,464,512,576,640,768,816,960,1024,1120,1200,1376,1440,1600,1696,1840,1936,2160,2224,2464,2592,2752,2880,3072,3168,3456,3600,3792,3920,4240,4336,4672,4832,5024,5200,5568,5696,6032,6192,6448,6640,7056,7200,7520,7712,80...
/* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011-2012 * The Bitcoin Developers 2011-2012 */ #include "bitcoingui.h" #include "transactiontablemodel.h" #include "addressbookpage.h" #include "sendcoinsdialog.h" #include "signverifymessagedialog.h" #include "optionsdialog.h" #include "aboutdialog.h" #include "clientm...
clc lda {m1} adc #1 sta {m1} bcc !+ inc {m1}+1 !:
#include "dialog.h" #include "ui_dialog.h" #include <QPainter> #include <QTimer> #include <iostream> #include <QMouseEvent> #include "utils.h" Dialog::Dialog(Game *game, QWidget* parent) : QDialog(parent), ui(new Ui::Dialog), m_caretaker(new Caretaker(game)) { ui->setupUi(this); setupMenus(); ...
############################################################################### # Copyright 2019 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...
// Copyright (c) 2012-2013 The PPCoin developers // Copyright (c) 2014 The Crave 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 na...
; ; $Id: 0x1c.asm,v 1.1.1.1 2016/03/27 08:40:12 raptor Exp $ ; ; 0x1c explanation - from xchg rax,rax by xorpd@xorpd.net ; Copyright (c) 2016 Marco Ivaldi <raptor@0xdeadbeef.info> ; ; This single-instruction snippet loads the value on top ; of the stack (pointed by rsp) into rsp itself. If this ; value is an invalid me...
;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ;;; ;;; ASM Source code for Red GBC, by Evan Bowman, 2021 ;;; ;;; ;;; The following licence covers the source code included in this file. The ;;; game's characters and artwork belong to Evan Bowman, and should not be used ;;; without permi...
/* * Copyright (C) 2020 Alibaba Inc. All rights reserved. * Author: Kraken Team. */ #include "dart_methods.h" #include "include/kraken_bridge.h" namespace foundation { UICommandBuffer::UICommandBuffer(int32_t contextId) : contextId(contextId) {} void UICommandBuffer::addCommand(int32_t id, int32_t type, void *na...
; A082041: 16n^2+4n+1. ; 1,21,73,157,273,421,601,813,1057,1333,1641,1981,2353,2757,3193,3661,4161,4693,5257,5853,6481,7141,7833,8557,9313,10101,10921,11773,12657,13573,14521,15501,16513,17557,18633,19741,20881,22053,23257,24493 mul $0,4 mov $1,1 add $1,$0 pow $0,2 add $1,$0 mov $0,$1
; A211386: Expansion of 1/((1-2*x)^5*(1-x)). ; 1,11,71,351,1471,5503,18943,61183,187903,553983,1579007,4374527,11829247,31326207,81461247,208470015,525991935,1310457855,3228041215,7870611455,19012780031,45541752831,108246597631,255466668031,598980165631,1395931480063,3235049897983 mov $1,4 lpb $0 mov $2,$0 cal $2,...
; A083544: a(n) = maximal value of the sum of Mobius function values over a block of n consecutive natural numbers. ; 1,2,3,3,4,5,6,6,7,8,9,9,10,11,12,12,12,13,14,14,15,16,17,17 mov $4,$0 add $4,1 mov $5,$0 lpb $4 mov $0,$5 sub $4,1 sub $0,$4 mov $2,128 mov $3,4 mov $6,$0 sub $0,12 cmp $0,4 add $6,5 ...
; A182772: Beatty sequence for (5-sqrt(3))/2. ; 1,3,4,6,8,9,11,13,14,16,17,19,21,22,24,26,27,29,31,32,34,35,37,39,40,42,44,45,47,49,50,52,53,55,57,58,60,62,63,65,66,68,70,71,73,75,76,78,80,81,83,84,86,88,89,91,93,94,96,98,99,101,102,104,106,107,109,111,112,114,116,117,119,120,122,124,125,127,129,130,132,133,135,137,138...
/* * Copyright 2018 Akifumi Fujita * * 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 ...
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2019, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
.data number1: .word 5 number2: .word 10 .text lw $s0, number1 lw $s1, number2 sub $t0, $s0, $s1 # t2 = t0 + t1 li $v0, 1 move $a0, $t0 #move whats in t0 syscall
;-----------------------------------------------------------------------------; ; Author: Ty Miller @ Threat Intelligence ; Credits: Some code borrowed from block_shell.asm; Stephen Fewer ; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4 ; Version: 1.0 (2nd December 2011) ;---------------------------------...
; 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...
/********************* */ /*! \file Layer.cpp ** \verbatim ** Top contributors (to current version): ** Guy Katz ** This file is part of the Marabou project. ** Copyright (c) 2017-2019 by the authors listed in the file AUTHORS ** in the top-level source dir...
#pragma once #include <b1/rodeos/callbacks/kv.hpp> #include <b1/rodeos/rodeos_tables.hpp> namespace b1::rodeos { template <typename T, typename K> std::optional<std::pair<std::shared_ptr<const chain_kv::bytes>, T>> get_state_row(chain_kv::view& view, const K& key) { std::optional<std::pair<std::shared_ptr<const c...
; an example assembly file to be assembled .text .global main main: PUSH {lr, r4 - r7} MOV r4, #0 ; for the n - 1 term of fib sequence MOV r5, #1 ; for n term of fib MOV r6, #1 ; for n + 1 term of fib MOV r7, #20 ; loop iterator, # of terms to count to fib: ADD r6, r5, r4 ; adds r5(n term) and r4(n ...
; lzo1x_s2.asm -- lzo1x_decompress_asm_safe ; ; This file is part of the LZO real-time data compression library. ; ; Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2005 M...
org #4000 ld bc, 1 and b ld hl, var1 inc l ld (hl), a loop: jr loop org #c000 var1: db 1
; A089205: a(n) = n^n * (n-1). ; 0,4,54,768,12500,233280,4941258,117440512,3099363912,90000000000,2853116706110,98077104930816,3634501279107036,144456088732254208,6130514465332031250,276701161105643274240,13235844190181388226832 mov $2,1 add $2,$0 pow $2,$2 mul $0,$2
; A052936: Expansion of (1-x)*(1-2*x)/(1-5*x+5*x^2). ; 1,2,7,25,90,325,1175,4250,15375,55625,201250,728125,2634375,9531250,34484375,124765625,451406250,1633203125,5908984375,21378906250,77349609375,279853515625,1012519531250,3663330078125,13254052734375 mov $1,1 lpb $0 sub $0,1 add $2,$1 add $3,$1 trn $1,$2 ...
// Copyright 2017 the Chromium Embedded Framework Authors. Portions 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 "libcef/browser/extensions/extension_view_host.h" #include "libcef/browser/brow...
<% from pwnlib.shellcraft import mips, pretty from pwnlib.constants import Constant from pwnlib.abi import linux_mips_syscall as abi %> <%page args="syscall=None, arg0=None, arg1=None, arg2=None, arg3=None, arg4=None, arg5=None"/> <%docstring> Args: [syscall_number, \*args] Does a syscall Any of the argument...
; A213030: [2n/3]^2 -[n/3]^2, where []=floor. ; 0,0,1,3,3,8,12,12,21,27,27,40,48,48,65,75,75,96,108,108,133,147,147,176,192,192,225,243,243,280,300,300,341,363,363,408,432,432,481,507,507,560,588,588,645,675,675,736,768,768,833,867,867,936,972 mov $1,$0 add $0,1 div $1,3 mul $1,2 mov $2,$0 div $2,3 add $1,$2 mul $1,$2...
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. Module Name: ConvSymS8KernelNeon.asm Abstract: This module implements the kernels for the symmetric quantized integer convolution operation. --*/ #include "kxarm64.h" #define MLAS_CONV_SYM_FLAG_INPUT_...
// Copyright (c) 2017 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "software_decoder.h" #include <memory> #include <vpx/vp8dx.h> #include "stream_logger.h" namespace vpx_streamer { SoftwareDecoder::SoftwareDe...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
; A004663: Powers of 3 written in base 9. ; 1,3,10,30,100,300,1000,3000,10000,30000,100000,300000,1000000,3000000,10000000,30000000,100000000,300000000,1000000000,3000000000,10000000000,30000000000,100000000000,300000000000,1000000000000,3000000000000,10000000000000,30000000000000,100000000000000,300000000000000,100000...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x11050, %rsi lea addresses_D_ht+0x26d9, %rdi clflush (%rsi) nop nop sub $39380, %r9 mov $53, %rcx rep movsl nop nop nop nop and %r13, %r13 lea addresses_A_ht+0x313d, %rsi lea ...
_OakAppearsText:: text "OAK: Hey! Wait!" line "Don't go out!@" text_end _OakWalksUpText:: text "OAK: It's unsafe!" line "Wild #MON live" cont "in tall grass!" para "You need your own" line "#MON for your" cont "protection." cont "I know!" para "Here, come with" line "me!" done _PalletTownText2:: text ...
; A172473: a(n) = floor(sqrt(2*n^5)). ; 0,1,8,22,45,79,124,183,256,343,447,567,705,861,1037,1232,1448,1685,1944,2225,2529,2858,3210,3587,3990,4419,4874,5357,5866,6404,6971,7566,8192,8847,9532,10249,10996,11776,12588,13433,14310,15222,16167,17146,18161,19210,20295,21417,22574,23768,25000,26268,27575,28920,30303,31726,33...
; A228808: a(n) = Sum_{k=0..n} binomial(n*k, k^2). ; Submitted by Jon Maiga ; 1,2,4,20,296,10067,927100,219541877,110728186648,137502766579907,448577320868198789,3169529341990169816462,51243646781214826181569316,2201837465728010770618930322223,215520476721579201896200887266792583,456348270260914895745478580305063571919...
############################################################################### # 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...
; void sp1_Invalidate(struct sp1_Rect *r) SECTION code_clib SECTION code_temp_sp1 PUBLIC _sp1_Invalidate_fastcall EXTERN asm_sp1_Invalidate _sp1_Invalidate_fastcall: ld d,(hl) inc hl ld e,(hl) inc hl ld b,(hl) inc hl ld c,(hl) jp asm_sp1_Invalidate
/* * ShoeString.cpp * PHD Guiding * * Created by Craig Stark. * Copyright (c) 2006-2010 Craig Stark. * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and binary forms, with or without * modification, are permitted...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE464_Addition_of_Data_Structure_Sentinel__basic_84a.cpp Label Definition File: CWE464_Addition_of_Data_Structure_Sentinel__basic.label.xml Template File: sources-sink-84a.tmpl.cpp */ /* * @description * CWE: 464 Addition of Data Structure Sentinel * BadSource: ...
; DogOS nasm functions ; TAB=4 GLOBAL _io_hlt, _io_cli, _io_sti, _io_stihlt GLOBAL _io_in8, _io_in16, _io_in32 GLOBAL _io_out8, _io_out16, _io_out32 GLOBAL _io_load_eflags, _io_store_eflags GLOBAL _load_idtr, _load_tr GLOBAL _load_cr0, _store_cr0 GLOBAL _farjmp, _farcall EXTERN ...
;this file generated with SNES GSS tool .define SFX_DING 0 .define MUS_BLOCKPARTY 0 .section ".roDataSoundCode1" superfree spc700_code_1: .incbin "spc700.bin" skip 0 read 16600 spc700_code_2: .ends .section ".roDataMusic1" superfree music_1_data: .incbin "music_1.bin" .ends