text
stringlengths
1
1.05M
/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...
; A099524: Expansion of 1/(1-5*x-x^3). ; Submitted by Christian Krause ; 1,5,25,126,635,3200,16126,81265,409525,2063751,10400020,52409625,264111876,1330959400,6707206625,33800145001,170331684405,858365628650,4325628288251,21798473125660,109850731256950,553579284573001 mov $2,3 mov $3,3 lpb $0 sub $0,1 add $2,$3 ...
; A209505: Half the number of (n+1) X 3 0..2 arrays with every 2 X 2 subblock having two or four distinct clockwise edge differences. ; 27,123,561,2559,11673,53247,242889,1107951,5053977,23053983,105161961,479701839,2188185273,9981522687,45531242889,207693169071,947403359577,4321630459743,19713345579561,89923466978319,...
// // Created by zhangsiyu on 2020/12/23. // #include <cstdio> int main(int argc, char *argv[]) { int n = 0, m = 0; scanf("%d", &n); for (int i = 0; i < n; i++) { scanf("%d", &m); for (int j = 0; j < m; j++) { } } return 0; }
#include <numeric> #include "matching2D.hpp" using namespace std; void descriptorDistanceRatio(vector<vector<cv::DMatch> > knn_matches_, vector<cv::DMatch> &matches, float ratio) { for (auto it = knn_matches_.begin(); it != knn_matches_.end(); ++it) { if ((*it)[0].distance < ratio * (*it)[1]...
// Test of simple enum - two-value enum // Commodore 64 PRG executable file .file [name="enum-0.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main)...
; A308266: Sum of the middle parts in the partitions of n into 3 parts. ; 0,0,1,1,3,5,8,11,18,22,31,40,51,62,80,93,114,135,159,183,217,244,282,320,362,404,459,505,565,625,690,755,836,906,993,1080,1173,1266,1378,1477,1596,1715,1841,1967,2115,2248,2404,2560,2724,2888,3077,3249,3447 mov $18,$0 mov $20,$0 lpb $20,1 clr ...
; A098578: a(n) = Sum_{k=0..floor(n/4)} C(n-3*k,k+1). ; 0,1,2,3,4,6,9,13,18,25,35,49,68,94,130,180,249,344,475,656,906,1251,1727,2384,3291,4543,6271,8656,11948,16492,22764,31421,43370,59863,82628,114050,157421,217285,299914,413965,571387,788673,1088588,1502554,2073942,2862616,3951205,5453760,7527703,10390320,14341526,1...
; struct adt_List *adt_ListCreate(void) ; 02.2003, 06.2005 aralbrec XLIB adt_ListCreate LIB l_setmem XREF _u_malloc ; Create List ; ; exit : HL = addr of struct adt_List ; = 0 and carry reset if fail (no mem) ; used : AF,BC,DE,HL .adt_ListCreate ld hl,9 ; sizeof(struct adt_List) push hl ...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.PropertyAttribute #include "UnityEngine/Pro...
ifndef INCLUDE_SRL16 INCLUDE_SRL16 equ 1 ; _ __ ____ ; | |/ | / ___| ; ___ _ __| |`| | / /___ ;/ __| '__| | | | | ___ \ ;\__ \ | | |_| |_| \_/ | ;|___/_| |_|\___/\_____/ ; ; Author: Tim Halloran ; ; Shift-right for a 16-bit value. ; ; Uses: a,hl,d ; ; Entry: hl 16-bit...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x8d96, %rsi lea addresses_normal_ht+0x1d0d6, %rdi nop nop nop add %r15, %r15 mov $4, %rcx rep movsl sub $13489, %rdi lea addresses_UC_ht+0xb4d6, %r10 nop nop add %r11, %r11 movb (%r10),...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) | +---------...
// Copyright 2015 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/ui/webui/settings/people_handler.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/command_line.h" #includ...
// Polygon.cpp // Copyright (c) 2009, Perttu "celero55" Ahola // This program is released under the BSD license. See the file COPYING for details. #define UNITTEST_NO_HEEKS #include "../src/Polygon.h" #include <stdlib.h> int main(int argc, char *argv[]) { std::vector<LineSegment> lines_vector; /*lines_vector.push...
; ; A VGM track ; VGM: MACRO reader: dw 0 header: dw 0 drivers: dw 0 chips: Chips _size: ENDM ; de = mapped reader ; hl = drivers ; ix = this VGM_Construct: ld (ix + VGM.reader),e ld (ix + VGM.reader + 1),d ld (ix + VGM.drivers),l ld (ix + VGM.drivers + 1),h call VGM_GetReader_IY push ix ld bc,Hea...
/** * @file * @copyright defined in DA-DAPPS/LICENSE */ #pragma once #include <DA-DAPPSio/chain/types.hpp> #include "multi_index_includes.hpp" namespace DA-DAPPSio { namespace chain { /** * @brief tracks minimal information about past blocks to implement TaPOS * @ingroup object * * When att...
_cat: file format elf64-x86-64 Disassembly of section .text: 0000000000001000 <cat>: char buf[512]; void cat(int fd) { 1000: f3 0f 1e fa endbr64 1004: 55 push %rbp 1005: 48 89 e5 mov %rsp,%rbp 1008: 48 83 ec 20 sub $0x20,%rsp 100...
;-------------------------------------------------------------------------- ; ; Build this with the "Source" menu using ; "Build All" option ; ;-------------------------------------------------------------------------- ; ; 课程设计程序通用框架 ; ;------------------------...
; =============================================================== ; 2002 aralbrec ; =============================================================== ; ; int zx_pattern_fill(uint x, uint y, void *pattern, uint depth) ; ; Pattern flood fill an area on screen, allowing use of up to ; depth * 3 + 30 bytes of stack space. ;...
; A032823: Numbers whose set of base-11 digits is {1,4}. ; Submitted by Jon Maiga ; 1,4,12,15,45,48,133,136,166,169,496,499,529,532,1464,1467,1497,1500,1827,1830,1860,1863,5457,5460,5490,5493,5820,5823,5853,5856,16105,16108,16138,16141,16468,16471,16501,16504,20098,20101,20131,20134,20461,20464,20494,20497,60028,60031,...
; A104162: Indicator sequence for the Fibonacci numbers. ; 1,2,1,1,0,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,1 mov $3,2 mov $5,$0 lpb $3 sub $3,1 add $0,$3 sub $0,1 mov $2,$3 mov $6...
#include <iostream> #include <vector> using namespace std; string sortida(int p, vector<int>& v) { vector<bool> vist (v.size(),0); while (p>=0 and p<v.size()) { if (vist[p] == 1) return "mai"; vist[p]=1; p+=v[p]; } if (p<0) return "esquerra"; if (p>=v.size()) return "dreta"; } int main() { }
;; ;; Copyright (c) 2019-2021, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
/** * Appcelerator Titanium Mobile * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #include "UIWebView.h" #include <bb/cascades/ScrollMode> #include <bb/cascades/Vertica...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld b, 90 call lwaitly_b ld hl, fe00 ld(hl), 00 ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a xor a, a ldff(0f), a ld a, 02 ldff(ff), a ei ld a, 05 ldff(43)...
mov r1, 0 mov [r1], xxx inc r1 ... mov r1, 0 mov r2, getchar() push r2 inc r1 cmp r1, 32 jnz 7 mov r1, 0 add [r1], 64 inc r1 cmp r1, 32 jnz 14 mov r1, 64 pop r2 sub r1, 1 mov [r1], r2 cmp r1, 32 jnz 20 mov r1, 32 mov r2, r1 sub r2, 32 xor [r1], r2 inc r1 cmp r1, 64 jnz 27 mov r1, 3...
; DV3 QLSD Find "Partition" (= container file) V1.00  2017 W. Lenerz ; 2020 Mar 29 1.01 better multiply (use MK's routine) (wl) section dv3 xdef hfp_sdhc include 'dev8_keys_err' include 'dev8_dv3_keys' include 'dev8_dv3_hd_keys' include 'dev8_keys_dos' include 'dev8_mac_xword' include 'dev8_keys_q68' ;+++ ...
; A188030: Positions of 1 in the zero-one sequence given by [nr]-[nr-10r]-[10r], where r=(1+sqrt(5))/2, [ ]=floor, n>=1. ; Submitted by Jamie Morken(s4) ; 5,13,18,26,31,34,39,47,52,60,65,68,73,81,86,89,94,102,107,115,120,123,128,136,141,149,154,157,162,170,175,178,183,191,196,204,209,212,217,225,230,233,238,246,251,259...
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
#pragma once #include <avk/avk.hpp> namespace avk { /** Class handling the lifetime of one VMA allocation. * Also provides some convenience methods. */ template <typename T> struct vma_handle { /** Construct emptyness */ vma_handle() : mAllocator{nullptr}, mCreateInfo{}, mAllocation{nullptr}, m...
; A019958: Expansion of 1/((1-5*x)*(1-7*x)*(1-10*x)). ; Submitted by Jon Maiga ; 1,22,329,4178,48621,537222,5744929,60136378,620564021,6341995022,64384199529,650640568578,6554239839421,65878458172822,661143103694129,6627971208280778,66395645870074821,664768758151070622,6653377492360228729,66573623373035272978,666015268...
PUBLIC UHex PUBLIC SHex DSEG SEGMENT PARA PUBLIC 'DATA' NEWLINE DB 10, 13, '$' SYMBOLS DB '0123456789ABCDEF' DSEG ENDS CSEG SEGMENT PARA PUBLIC 'CODE' ASSUME CS:CSEG UHex PROC NEAR PUSH BP PUSH SI MOV BP, SP MOV DX, [BP + 8] MOV SI, 16 MOV CX, 4 LOOP_H: MOV BL, 4 XCHG CL, B...
lc r4, 0x00000002 lc r5, 0x00000001 gtu r6, r4, r5 halt #@expected values #r4 = 0x00000002 #r5 = 0x00000001 #r6 = 0x00000001 #pc = -2147483632 #e0 = 0 #e1 = 0 #e2 = 0 #e3 = 0
/* * Copyright (c) 2010-2017 OTClient <https://github.com/edubart/otclient> * * 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...
LW x1, 0(x2) ADD x2, x1, x1 BNE x1, x2, EXIT SUB x3, x5, x1 ; This is to test the branch instruction EXIT: SW x2, 10(x1)
#pragma once #include "D3D12RTPipeline.hpp" #include <sstream> #define DXC #ifdef DXC static dxc::DxcDllSupport gDxcDllHelper; MAKE_SMART_COM_PTR(IDxcCompiler); MAKE_SMART_COM_PTR(IDxcLibrary); MAKE_SMART_COM_PTR(IDxcBlobEncoding); MAKE_SMART_COM_PTR(IDxcOperationResult); #endif // DXC ID3DBlobPt...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x198f1, %rsi lea addresses_D_ht+0xbaf1, %rdi nop nop nop cmp %r15, %r15 mov $25, %rcx rep movsl nop xor $32377, %r12 lea addresses_WC_ht+0x4cb1, %rsi lea addresses_WT_ht+0x1531, %rdi no...
; A315676: Coordination sequence Gal.4.75.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,6,12,17,21,26,32,38,44,50,55,59,64,70,76,82,88,93,97,102,108,114,120,126,131,135,140,146,152,158,164,169,173,178,184,190,196,202,207,211,21...
; A186032: a(n) = (-1)^A048881(n). ; 1,1,-1,1,-1,-1,1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1,1,-1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,1,1,-1,-1,1,-1,1 add $0,1 mov $1,1 lpb $0 sub $1,$0 div $0,2 lpe mod $1,2 mul $1,2 add $1,1
############################################################################### # 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...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/CSpec FILE: cspecTextEdit.asm ROUTINES: Name Description ---- ----------- GLB OLBuildTextEdit Convert a text edit to the OL equi...
; Scanning for a Positive Value (Loopnz.asm) ; Scan an array for the first positive value. ; If no value is found, ESI will point to a sentinel ; value (0) stored immediately after the array. INCLUDE Irvine32.inc .data array SWORD -3,-6,-1,-10,10,30,40,4 sentinel SWORD 0 .code main PROC mov esi,OFFSET arr...
#include <seqan3/std/filesystem> #include <string> #include <vector> #include <seqan3/io/sam_file/output.hpp> int main() { auto tmp_file = std::filesystem::temp_directory_path() / "my.sam"; std::vector<std::string> ref_ids{"ref1", "ref2"}; std::vector<size_t> ref_lengths{1234, 5678}; seqan3::sa...
/* Copyright 2020 Alibaba Group Holding Limited. 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 o...
Day-16 Date-26 April,2021 .model small .stack 100h include 'emu8086.inc' .data n_line db 0ah,0dh,"$" ;for new line msg1 db "Input: $" msg2 db 10,13,"Output: $" num db 0h var dw ? count db 0d .code main proc mov ax,@data mov ds,ax xor bx,bx lea dx,msg1 mov ah,9 int 21h @input: mov...
.section .test, "x" .balign 4 .set noreorder .global test .ent test # load hash at 0x30001000 # 0x47173285 a8d7341e 5e972fc6 77286384 f802f8ef 42a5ec5f 03bbfa25 4cb01fad = "hello world" test: lui $s0, 0x3000 ori $s0, 0x1000 lui $t0, 0x4717 ori $t0, 0x3285 sw $t0, 0($s0) lui $t0, ...
icl "koala_loader.inc" icl "koala_loader_block_1.asm"
#ifndef SCHEDULER_H #define SCHEDULER_H #include <functional> #include <queue> namespace sch { enum class Do { Resolve, Reject }; using TaskT = std::function<void(Do)>; class Scheduler { public: void addNextTask(TaskT task); void executeNextTask(Do doResolved); void executeNextTask(); private: std...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x981a, %rsi lea addresses_WC_ht+0xe1a, %rdi nop nop nop nop cmp %r9, %r9 mov $117, %rcx rep movsb nop nop nop nop add $34876, %r14 lea addresses_D_ht+0x6d76, %rbp nop nop xor %r8, %r8 mo...
// 569C_primes.cc - Codeforces.com/problemset/problem/569/C Primes program by Sergey 2015 #include <bits/stdc++.h> using namespace std; /////////////////////////////////////////////////////////////////////////////// // Unit tests base Class /////////////////////////////////////////////////////////////////////////////...
type struct { byte [16] name; byte type; lohi address; byte[3] size; lohi loadaddress; byte[8] bundleData; } _FSEntry type struct { byte[2] system_data; byte[13] id; _FSEntry[127] entries; byte [17] eof; } _TapCrtFS pointer _TapCrtFS TapCrtFS = 0x1000 pointer byte[] DisplayFS = 0x0800 block dirCon...
; -*- mode: c; tab-width: 4; fill-column: 128 -*- ; vi: set ts=4 tw=128: ; Texture, Copyright (c) 2017 Dave Odell <dmo2118@gmail.com> ; ; Permission to use, copy, modify, distribute, and sell this software and its ; documentation for any purpose is hereby granted without fee, provided that ; the above copyright notice...
; $Id: __U8LS.asm 69120 2017-10-17 19:13:23Z vboxsync $ ;; @file ; Compiler support routines. ; ; ; Copyright (C) 2012-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modif...
; A007913 o=1: Squarefree part of n: a(n) is the smallest positive number m such that n/m is a square. ; Coded manually 2021-02-25 by Antti Karttunen, https://github.com/karttu ; Note that A007913(n) = n / A008833(n), so we could just use cal to the latter and then divide. ; However, this is a stand-alone implementatio...
.data # --------------------------------------------------------------------------- # # Image's space reservation # # --------------------------------------------------------------------------- # screen: .space 1048576 # Defines space for the bitmap display at 512...
############################################################################### # File : movz.asm # Project : MIPS32 MUX # Author: : Grant Ayers (ayers@cs.stanford.edu) # # Standards/Formatting: # MIPS gas, soft tab, 80 column # # Description: # Test the functionality of the 'movz' instruction. # ...
; A095002: a(n+3) = 9*a(n+2) - 9*a(n+1) + a(n); given a(1) = 1, a(2) = 3, a(3) = 19. ; 1,3,19,145,1137,8947,70435,554529,4365793,34371811,270608691,2130497713,16773373009,132056486355,1039678517827,8185371656257,64443294732225,507360986201539,3994444594880083,31448195772839121 lpb $0,1 sub $0,1 add $0,$2 sub $0,...
PUBLIC DoExplicitMemoryOps .686 .model flat, c extern globalVar:dword extern dynVar:dword extern lblPtr:dword extern autoVarPtr:dword COMMENT // use of segment register is not an ERROR ASSUME FS:NOTHING .code ALIGN 4 DoExplicitMemoryOps PROC push ebp mov ebp, esp sub esp, 16 lbl1: lea eax, global...
; A134402: Triangle read by rows, for n > 0, n zeros followed by n. ; 1,0,1,0,0,2,0,0,0,3,0,0,0,0,4,0,0,0,0,0,5,0,0,0,0,0,0,6,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,13 mov $1,2 mov $2,$0 lpb $2 lpb $1 ...
; A160827: a(n) = 3*n^4 + 12*n^3 + 30*n^2 + 36*n + 17. ; 17,98,353,962,2177,4322,7793,13058,20657,31202,45377,63938,87713,117602,154577,199682,254033,318818,395297,484802,588737,708578,845873,1002242,1179377,1379042,1603073,1853378,2131937,2440802,2782097,3158018,3570833,4022882,4516577,5054402,5638913,6272738,6958577,...
-- 7 Billion Humans (2053) -- -- 16: Little Exterminator 2 -- -- Author: ansvonwa -- Size: 14 -- Speed: 9 step s step s step s a: step s if s != wall and s != hole: jump a endif pickup c step e step e step e b: step e if s == shredder: giveto s endif jump b
#include "rar.hpp" RAROptions::RAROptions() { Init(); } RAROptions::~RAROptions() { memset(this,0,sizeof(RAROptions)); } void RAROptions::Init() { memset(this,0,sizeof(RAROptions)); WinSize=0x400000; Overwrite=OVERWRITE_ASK; Method=3; MsgStream=MSG_STDOUT; ConvertNames=NAMES_ORIGINALCASE; Process...
; program entry extern _enter_preload extern _exit extern main [bits 32] [section .text] global _start _start: ; save arg push edx push ebx push ecx call _enter_preload ;restore pop ecx pop ebx pop edx ; put arg on stack push edx push ebx push ecx ; call main func ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rbp push %rcx lea addresses_D_ht+0x1bc7a, %rbp nop nop nop nop nop sub %rcx, %rcx movb $0x61, (%rbp) inc %rcx pop %rcx pop %rbp pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r14 push %r9 push %rax push %rbp push %rdi // Sto...
/* * This file is part of Wireless Display Software for Linux OS * * Copyright (C) 2014 Intel Corporation. * * 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 2.1 o...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x148d2, %rsi lea addresses_D_ht+0x16438, %rdi clflush (%rdi) nop nop nop xor %rax, %rax mov $58, %rcx rep movsl nop nop nop cmp %rbp, %rbp lea addresses_A_ht+0x194f8, %r10 nop...
// Copyright (c) 2021 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 requir...
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 005B68 move.b ($a0,A6), D1 005B6C andi.b #$f, D1 [123p+ A0] 0063B4 btst #$4, ($a0,A6) 0063BA beq $63c8 [123p+ A0] 0063C8 btst #$5, ($a0,A6)...
; A084222: a(n) = -2*a(n-1) + 3*a(n-2), with a(0)=1, a(1)=2. ; 1,2,-1,8,-19,62,-181,548,-1639,4922,-14761,44288,-132859,398582,-1195741,3587228,-10761679,32285042,-96855121,290565368,-871696099,2615088302,-7845264901,23535794708,-70607384119,211822152362,-635466457081,1906399371248,-5719198113739,17157594341222,-514727...
/**************************************************************************** ** Meta object code from reading C++ file 'QvisAnnotationWidget.h' ** ** Created: Wed Nov 4 16:32:39 2015 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.3) ** ** WARNING! All changes made in this file will be lost! ***************...
; A093133: Third binomial transform of Fib(3n-3) divided by 2. ; Submitted by Jamie Morken(s3.) ; 1,3,10,40,200,1200,8000,56000,400000,2880000,20800000,150400000,1088000000,7872000000,56960000000,412160000000,2982400000000,21580800000000,156160000000000,1129984000000000,8176640000000000 mov $1,-3 mov $2,1 lpb $0 sub...
; A336291: a(n) = (n!)^2 * Sum_{k=1..n} 1 / (k * ((n-k)!)^2). ; Submitted by Jamie Morken(w4) ; 0,1,6,39,424,7905,227766,9324511,512970144,36452217969,3247711402870,354391640998791,46474986465907176,7210874466760191409,1306387103147257800774,273269900360634449732895,65363179181419926246184576,17726298367452515070739268...
frame 1, 12 frame 4, 05 setrepeat 4 frame 2, 08 frame 3, 08 dorepeat 3 frame 4, 25 endanim
DMA_SRC EQU 10000 DMA_DST EQU 10004 DMA_CNT EQU 10008 DMA_CR EQU 1000C DMA_START EQU 10010 DMA_BS EQU 10014 ORG 0 MOVE 1000, SP JP MAIN ORG 8 INT_VEC DW 100 ORG 0C NMI_HNDLR RETN...
global _start section .data message: db 'asdc', 0 section .text strlen: xor rax,rax .loop: cmp byte[rdi + rax], 0 je .end inc rax jmp .loop .end ret _start: mov rdi, message call strlen mov rdi, rax ; mov ret, to prog retcode mov rax,60 syscall
DEFINE P6LEVELMOVE, SPACE=ROM SEGMENT P6LEVELMOVE extern _Green extern _DrawPkName extern _Red extern _Select extern _Move extern _LoadPic extern _LPicBank1 extern _DrawMoveName extern _DrawMoveName_AlignRight extern _MoveList public MoveList extern _LoadLevelMoves extern _LoadBreedMove...
// C:\diabpsx\SOURCE\GAMEOVER.CPP #include "types.h" // address: 0x8007B6D4 // line start: 73 // line end: 75 void GO_DoGameOver__Fv() { } // address: 0x8007B718 // line start: 85 // line end: 116 void GameOverTask__FP4TASK(struct TASK *T) { // register: 17 register bool OldPause; { // register: 16 regis...
\ /** * \file * Reality plug-in * Copyright (c) Pret-a-3D/Paolo Ciccone 2012. All rights reserved. */ #include "ReCameraEditor.h" #include "ReLogger.h" #include "ReSceneDataGlobal.h" #include "ReSceneData.h" #include "RealityBase.h" #include "qjson/src/parser.h" #define RL_COL_NAME 0 #define RL_...
// Copyright (c) 2015-2018 The PaydayCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <bench/bench.h> #include <util/time.h> // Sanity test: this should loop ten times, and // min/max/average should...
#include "Rect.h" Nan::Persistent<v8::FunctionTemplate> Rect::constructor; NAN_MODULE_INIT(Rect::Init) { v8::Local<v8::FunctionTemplate> ctor = Nan::New<v8::FunctionTemplate>(Rect::New); constructor.Reset(ctor); ctor->InstanceTemplate()->SetInternalFieldCount(1); ctor->SetClassName(Nan::New("Rect").To...
#include "pch.h" #include <stdio.h> int main() { int n = 0; printf("Input integer number:"); scanf_s("%i", &n); bool *array = new bool[n] {}; for (int i = 2; i * i < n; i++) { if (!array[i]) { for (int j = i * i; j < n; j += i) { array[j] = true; } } } printf("\nSimple numbers:\n"); for (in...
/* Copyright (c) 2019, isaponsoft (Isao Shibuya) All rights reserved. * * Use of this source code is governed by a BSD-style license that * * can be found in the LICENSE file. */ #ifndef __libamtrs__billing__billing_manager_android__hpp #define __libamtrs__billing__billing_manager...
; A017310: a(n) = (10*n + 3)^6. ; 729,4826809,148035889,1291467969,6321363049,22164361129,62523502209,151334226289,326940373369,646990183449,1194052296529,2081951752609,3462825991689,5534900853769,8550986578849,12827693806929,18755369578009,26808753332089,37558352909169,51682540549249,69980368892329,93385106978409,1229...
; ; John Carroll ; ; Answers to Lab Questions: ; 1. It is a lowercase i, for information, in a blue circle ; 2. MB_ICONASTERISK ; MB_ICONINFORMATION ; 3. DispatchMessage: Dispatches a message to a window procedure. ; It is typically used to dispatch a message retrieved by the GetMessage function. ; 4. stdcall: T...
; A171723: a(n) = 0+1+2+...+n in lunar arithmetic in base 9 written in base 9. ; 0,1,2,3,4,5,6,7,8,18,18,18,18,18,18,18,18,18,28,28,28,28,28,28,28,28,28,38,38,38,38,38,38,38,38,38,48,48,48,48,48,48,48,48,48,58,58,58,58,58,58,58,58,58,68,68,68,68,68,68,68,68,68,78,78,78,78,78,78,78,78,78 lpb $0 trn $0,17 add $2,6 ...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Burgwar" project // For conditions of distribution and use, see copyright notice in LICENSE #include <ClientLib/ClientScriptDownloadManager.hpp> namespace bw { }
// Copyright (c) 2011-2017 The Cryptonote developers // Copyright (c) 2014-2017 XDN developers // Copyright (c) 2016-2017 BXC developers // Copyright (c) 2017 UltraNote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.ph...
; A140430: Period 6: repeat [3, 2, 4, 1, 2, 0]. ; 3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2,4,1,2,0,3,2 mov $3,3 add $3,$0 mod $0,6 sub $0,6 mov $1,2 mov $2,5 gcd $3,2 mov $4,$3 lpb $0 mov $0,3 div...
; A233775: Number of vertices in the n-th row of the Sierpinski gasket (cf. A047999). ; 1,2,3,4,5,4,6,8,9,4,6,8,10,8,12,16,17,4,6,8,10,8,12,16,18,8,12,16,20,16,24,32,33,4,6,8,10,8,12,16,18,8,12,16,20,16,24,32,34,8,12,16,20,16,24,32,36,16,24,32,40,32,48,64,65,4,6,8,10,8,12,16,18,8,12,16,20,16,24,32,34,8,12,16,20,16,24,3...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-licens...
@0 D=A @SP A=M M=D @SP M=M+1 @SP M=M-1 @SP A=M D=M @R13 M=D @LCL D=M @0 D=D+A @R14 M=D @R13 D=M @R14 A=M M=D ($LOOP_START) @R13 M=D @ARG D=M @0 D=D+A @R14 M=D @R13 D=M @R14 A=M D=M @SP A=M M=D @SP M=M+1 @R13 M=D @LCL D=M @0 D=D+A @R14 M=D @R13 D=M @R14 A=M D=M @SP A=M M=D @SP M=M+1 @SP M=M-1 @SP A=M D=M @SP M=M-1 @SP A...
; A083904: G.f. 1/(1-x) * Sum_{k>=0} 3^k * x^2^(k+1)/(1+x^2^k). ; 0,1,0,4,3,1,0,13,12,10,9,4,3,1,0,40,39,37,36,31,30,28,27,13,12,10,9,4,3,1,0,121,120,118,117,112,111,109,108,94,93,91,90,85,84,82,81,40,39,37,36,31,30,28,27,13,12,10,9,4,3,1,0,364,363,361,360 seq $0,80079 ; Least number causing the longest carry sequence...
; A213245: Number of nonzero elements in GF(2^n) that are 7th powers. ; 1,3,1,15,31,9,127,255,73,1023,2047,585,8191,16383,4681,65535,131071,37449,524287,1048575,299593,4194303,8388607,2396745,33554431,67108863,19173961,268435455,536870911,153391689,2147483647,4294967295,1227133513,17179869183,34359738367,9817068105,137...
; A171712: Triangle T(n,k) read by rows. Coloring of sectors in a circle. ; 1,1,2,1,2,3,1,2,1,2,1,2,1,2,3,1,2,1,2,1,2,1,2,1,2,1,2,3,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,3,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,3,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,3,1,2,1,2,1,2,1,2,1 lpb $0 mov $2,$0 seq $2,177990 ; Triang...
;===================================================================== ;Interesting Rules: ;1E ;5A ;6E ;7E ;===================================================================== ;===================================================================== ;The data segment ;===================================================...
//WinQLDiskManagement.cpp // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit...
; ; ZX IF1 & Microdrive functions ; ; Stefano Bodrato - Oct. 2004 ; ; ; if1_rommap: ; - detect the shadow rom version ; - init the jump table ; ; MAKE_M can't be called with the 'hook code' system because ; the first issue of the interface one just doesn't have it. ; ;...
; ; ANSI Video handling for the TS2068 ; By Stefano Bodrato - May 2011 ; ; Text Attributes ; m - Set Graphic Rendition ; ; The most difficult thing to port: ; Be careful here... ; ; ; $Id: f_ansi_attr.asm,v 1.5 2016-06-12 16:06:43 dom Exp $ ; SECTION code_clib IF A64COL INCLUDE "stdio/ansi/ts2068/f_ansi_a...