text
stringlengths
1
1.05M
; ; Yeppp! library runtime infrastructure ; ; This file is part of Yeppp! library and licensed under MIT license. ; See runtime/LICENSE.txt for details. ; ; %ifidn __OUTPUT_FORMAT__,elf32 section .text.memcmp align=32 global memcmp:function internal %else section .text global memcmp %endif memcmp: PUSH...
; A113415: Expansion of Sum_{k>0} x^k/(1-x^(2k))^2. ; 1,1,3,1,4,3,5,1,8,4,7,3,8,5,14,1,10,8,11,4,18,7,13,3,17,8,22,5,16,14,17,1,26,10,26,8,20,11,30,4,22,18,23,7,42,13,25,3,30,17,38,8,28,22,38,5,42,16,31,14,32,17,55,1,44,26,35,10,50,26,37,8,38,20,65,11,50,30,41,4,63,22,43,18,56,23,62,7,46,42,58,13,66,25,62,3,50,30,81,17...
// Free implementation of the MD4 hash algorithm // Original header in MD4C.C and MD4.h: // MD4C.C - RSA Data Security, Inc., MD4 message-digest algorithm /* Copyright (C) 1990-2, RSA Data Security, Inc. All rights reserved. License to copy and use this software is granted provided that it is identified as the "...
/* * Copyright (c) 2013-2020, The PurpleI2P Project * * This file is part of Purple i2pd project and licensed under BSD3 * * See full license text in LICENSE file at top of project tree */ #include "CPU.h" #if defined(__x86_64__) || defined(__i386__) #include <cpuid.h> #endif #include "Log.h" #ifndef bit_AES #define ...
############################################################################### # 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...
// -*- tab-width: 4; indent-tabs-mode: nil; -*- // vim: tabstop=4:softtabstop=4:expandtab:shiftwidth=4 // // $Id$ // // Copyright (c) 2008 Cristian L. Vlasceanu /***** This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use ...
; A267589: Decimal representation of the middle column of the "Rule 169" elementary cellular automaton starting with a single ON (black) cell. ; 1,2,5,10,20,41,83,167,335,671,1343,2687,5375,10751,21503,43007,86015,172031,344063,688127,1376255,2752511,5505023,11010047,22020095,44040191,88080383,176160767,352321535,70464...
// // Licensed to Green Energy Corp (www.greenenergycorp.com) under one or // more contributor license agreements. See the NOTICE file distributed // with this work for additional information regarding copyright ownership. // Green Energy Corp licenses this file to you under the Apache License, // Version 2.0 (the "Li...
// MIT License // Copyright (c) 2021 laferenorg // 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, modif...
; Copyright (c) 2009-2010, Michael Alyn Miller <malyn@strangeGizmo.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 notic...
/* * Copyright 2009-2017 Alibaba Cloud 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...
TITLE 'bfp-003-loadfpi.asm: Test IEEE Load FP Integer' *********************************************************************** * *Testcase IEEE LOAD FP INTEGER * Test case capability includes IEEE exceptions trappable and * otherwise. Test results, FPCR flags, and any DXC are saved for all * tests. Load FP Inte...
#include <interactive/annotation/WidgetAnnotationMKDictionary.h> namespace{ std::string const keyR = "R"; std::string const keyBC = "BC"; std::string const keyBG = "BG"; std::string const keyCA = "CA"; std::string const keyRC = "RC"; std::string const keyAC = "AC"; std::string const keyI = "I"; ...
// Illustrates symbolic array lengths // Commodore 64 PRG executable file .file [name="array-length-symbolic.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 :Basic...
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="from_, tofd, to"/> <%docstring> Invokes the syscall symlinkat. See 'man 2 symlinkat' for more information. Arguments: from(char): from tofd(int): tofd to(char): to </%docstring> ${syscall('SYS_symlinkat', from_, tofd, to)}
; A043220: Numbers n such that 0 and 5 occur juxtaposed in the base 10 representation of n but not of n-1. ; 50,105,150,205,250,305,350,405,450,500,550,605,650,705,750,805,850,905,950,1005,1050,1105,1150,1205,1250,1305,1350,1405,1450,1500,1550,1605,1650,1705,1750,1805,1850,1905,1950,2005,2050 mov $6,$0 add $0,1 dif $0...
; A047611: Numbers that are congruent to {2, 4, 5} mod 8. ; 2,4,5,10,12,13,18,20,21,26,28,29,34,36,37,42,44,45,50,52,53,58,60,61,66,68,69,74,76,77,82,84,85,90,92,93,98,100,101,106,108,109,114,116,117,122,124,125,130,132,133,138,140,141,146,148,149,154,156,157 mul $0,8 sub $0,3 div $0,3 mov $2,-1 pow $2,$0 sub $0,$2 ad...
.org $0fff .word $1001 ;start of the BASIC program .word start-2 ; redundancy? .word $0001 ; BASIC line .byte $9e ; SYS .byte "4109" ;4109, start .byte 0, 0, 0 ; end of BASIC start: ;; lda #$4A ;; jsr $FFD...
; A040282: Continued fraction for sqrt(300). ; 17,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3,34,3,8,3 mov $4,$0 gcd $4,4 mov $3,$4 lpb $0 sub $0,1 sub $3,1 sub $0,$3 add $4,2 ...
test START 0 LDCH =-150 . error: value too small END test
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: Object FILE: objectManager.asm AUTHOR: Tony Requist ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descr...
; A195460: 2^(2*n+1) - 3*2^n - 1. ; 1,19,103,463,1951,7999,32383,130303,522751,2094079,8382463,33542143,134193151,536821759,2147385343,8589737983,34359345151,137438167039,549754241023,2199020109823,8796086730751,35184359505919,140737463189503,562949903089663,2251799713021951,9007199053414399,36028796616310783,144115187...
; A029546: Expansion of 1/( (1-x)*(1-34*x+x^2) ). ; 1,35,1190,40426,1373295,46651605,1584781276,53835911780,1828836219245,62126595542551,2110475412227490,71694037420192110,2435486796874304251,82734857056306152425,2810549653117534878200,95475953348939879706376,3243371864210838375138585,110179167429819564875005515,374284...
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/Module/DynamicModuleHandle.h> #include <AzCore/Module/Environment.h> namespace AZ ...
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <vector> #include <memory> #include "shared_test_classes/single_layer/ctc_greedy_decoder_seq_len.hpp" #include "ngraph_functions/builders.hpp" namespace LayerTestsDefinitions { std::string CTCGreedyDecod...
.386p _DATA segment use32 dword public 'DATA' ;IGNORE var1 db 2,5,6 var2 dw 4,6,9 var3 dd 11,-11,2,4 _DATA ends ;IGNORE _TEXT segment use32 dword public 'CODE' ;IGNORE assume cs:_TEXT,ds:_DATA start: ;IGNORE mov edi,offset var1 mov byte ptr dl,[edi] cmp dl,2 jne failure mov cl,2 mov ds:[edi],cl mov byte ptr...
; A091344: a(n) = 2*3^n - 3*2^n + 1. ; 0,1,7,31,115,391,1267,3991,12355,37831,115027,348151,1050595,3164071,9516787,28599511,85896835,257887111,774054547,2322950071,6970423075,20914414951,62749536307,188261191831,564808741315,1694476555591 seq $0,245804 ; a(n) = 2*3^n - 3*2^n. add $0,1
.data array: .space 1024 temp: .space 1024 .macro input(%tar) li $v0, 5 syscall move %tar, $v0 .end_macro .macro input_char(%tar) li $v0, 12 syscall move %tar, $v0 .end_macro .macro printspace() addiu $sp, $sp, -8 sw $v0, 0($sp) sw $a0, 4($sp) li $v0, 11 li $a0, ' ' syscall lw $v0, 0($sp) lw $a0, 4($sp) add...
; A084309: a(n) = gcd(prime(n)-1, n). ; 1,2,1,2,5,6,1,2,1,2,1,12,1,14,1,4,1,6,1,10,3,2,1,8,1,2,3,2,1,2,1,2,1,2,1,6,1,2,1,4,1,6,1,4,1,2,1,6,1,2,1,2,1,2,1,2,1,2,1,20,1,2,9,2,13,2,1,4,1,2,1,2,1,2,3,2,1,6,1,8,1,2,1,12,1,2,1,8,1,6,1,2,3,2,1,2,1,2,9,20 mov $1,$0 add $0,1 seq $1,6093 ; a(n) = prime(n) - 1. gcd $0,$1
/* * Copyright (C) 2015 Menlo Park Innovation LLC * * This is licensed software, all rights as to the software * is reserved by Menlo Park Innovation LLC. * * A license included with the distribution provides certain limited * rights to a given distribution of the work. * * This distribution includes a copy o...
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A header file for the CNNNetworkIterator class * * @file ie_cnn_network_iterator.hpp */ #pragma once #include <iterator> #include <list> #include <deque> #include <unordered_set> #include <utility> #include "ie_api...
; A034673: Sum of n-th powers of divisors of 120. ; Submitted by Jamie Morken(s2) ; 16,360,22100,2063880,224269508,25799815800,3037735808900,361309235636520,43173479687106308,5170143073557210840,619789454543093802500,74337555655482913332360,8918294580005081032107908,1070063348723222090845018680,128399710215843201450445...
// Copyright 2014 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 "content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.h" #include "content/shell/renderer/test_runner/mock_constraints.h" #inc...
; void ba_stack_clear(ba_stack_t *s) SECTION code_adt_ba_stack PUBLIC ba_stack_clear defc ba_stack_clear = asm_ba_stack_clear INCLUDE "adt/ba_stack/z80/asm_ba_stack_clear.asm"
; ********************************************************** ; Exemplo de AND, NOT ; ********************************************************** SECTION .data ; data section var16b: DW 0xFF varmask: DW 0x10 SECTION .text ; code section global _start _start: mov ax,[var16b] ;11111111 ...
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX ;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO ;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS ;IN USING, DISPLAYI...
; A158402: a(n) = 841*n - 1. ; 840,1681,2522,3363,4204,5045,5886,6727,7568,8409,9250,10091,10932,11773,12614,13455,14296,15137,15978,16819,17660,18501,19342,20183,21024,21865,22706,23547,24388,25229,26070,26911,27752,28593,29434,30275,31116,31957,32798,33639,34480,35321,36162,37003,37844,38685,39526,40367,41208,42049,4...
; ; Z88dk Generic Floating Point Math Library ; ; ??? ; ; $Id: int2.asm,v 1.5 2016/06/21 21:16:49 dom Exp $: SECTION code_fp PUBLIC int2 EXTERN rshift EXTERN incr EXTERN ldbcfa EXTERN minusbc EXTERN unpack .int2 LD B,A ;if a==0, return with bc ix de = 0... LD ...
AREA |.text|,CODE,ALIGN=8,ARM64 EXPORT |ct_inverse_mod_383|[FUNC] ALIGN 32 |ct_inverse_mod_383| PROC DCDU 3573752639 stp x29, x30, [sp,#-128]! add x29, sp, #0 stp x19, x20, [sp,#16] stp x21, x22, [sp,#32] stp x23, x24, [sp,#48] stp x25, x26, [sp,#64] stp x27, x28, [sp,#80] sub sp, sp, #1040 ldp x22, x...
; A141046: a(n) = 4*n^4. ; 0,4,64,324,1024,2500,5184,9604,16384,26244,40000,58564,82944,114244,153664,202500,262144,334084,419904,521284,640000,777924,937024,1119364,1327104,1562500,1827904,2125764,2458624,2829124,3240000,3694084,4194304,4743684,5345344,6002500,6718464,7496644,8340544,9253764,10240000,11303044,12446784...
include uXmx86asm.inc option casemap:none ifndef __X64__ .686P .xmm .model flat, c else .X64P .xmm option win64:11 option stackbase:rsp endif option frame:auto .code align 16 uXm_has_MPX proto VECCALL (byte) align 16 uXm_has_MPX proc VECCALL (byte) mov eax, 0 cpui...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r9 push %rbx push %rcx push %rdx lea addresses_A_ht+0x7ea6, %r9 clflush (%r9) nop nop nop add $46576, %r11 movl $0x61626364, (%r9) cmp %rdx, %rdx lea addresses_D_ht+0xb00e, %r11 nop nop nop nop sub $45882, %rbx mov (%r11), %r12w nop nop su...
; A255877: a(n) = (2n-2)^3 +(2n-2) - 1. ; -1,9,67,221,519,1009,1739,2757,4111,5849,8019,10669,13847,17601,21979,27029,32799,39337,46691,54909,64039,74129,85227,97381,110639,125049,140659,157517,175671,195169,216059,238389,262207,287561,314499,343069,373319 mul $0,2 mov $1,$0 pow $0,3 sub $0,1 add $1,$0
; Original address was $B28B ; World 3's Big [?] block area .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_03 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_03 | LEVEL3_VSCROLL_FREE .byte LEVEL4_BGBANK_INDEX(3) | L...
/* metrics.hh -- utilities for metrics gathering * * Copyright (C) 2018 Camille Scott * All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #ifndef GOETIA_UTILITY_METRICS_HH #define GOETIA_UTILITY_METRICS_HH #include...
; A064602: Partial sums of A001157: Sum_{j=1..n} sigma_2(j). ; 1,6,16,37,63,113,163,248,339,469,591,801,971,1221,1481,1822,2112,2567,2929,3475,3975,4585,5115,5965,6616,7466,8286,9336,10178,11478,12440,13805,15025,16475,17775,19686,21056,22866,24566,26776,28458,30958,32808,35370,37736,40386,42596,46006,48457,51712,54612...
; ; bootRogue game in 512 bytes (boot sector) ; ; by Oscar Toledo G. ; http://nanochess.org/ ; ; (c) Copyright 2019 Oscar Toledo G. ; ; Creation date: Sep/19/2019. Generates room boxes. ; Revision date: Sep/20/2019. Connect rooms. ...
# command-line-arguments "".Closures STEXT size=82 args=0x0 locals=0x18 0x0000 00000 (labels.go:5) TEXT "".Closures(SB), $24-0 0x0000 00000 (labels.go:5) MOVQ (TLS), CX 0x0009 00009 (labels.go:5) CMPQ SP, 16(CX) 0x000d 00013 (labels.go:5) JLS 75 0x000f 00015 (labels.go:5) SUBQ $24, SP 0x0013 00019 (labels.go:5) M...
; A273311: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 641", based on the 5-celled von Neumann neighborhood. ; 1,5,22,62,135,247,408,624,905,1257,1690,2210,2827,3547,4380,5332,6413,7629,8990,10502,12175,14015,16032,18232,20625,2321...
HEADER:10000000 ; HEADER:10000000 ; +-------------------------------------------------------------------------+ HEADER:10000000 ; | This file has been generated by The Interactive Disassembler (IDA) | HEADER:10000000 ; | Copyright (c) 2013 Hex-Rays, <support@hex-rays.com> | HEADER...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rax push %rbp push %rcx push %rsi lea addresses_UC_ht+0x1ec7b, %rax xor %rbp, %rbp mov $0x6162636465666768, %r15 movq %r15, %xmm3 movups %xmm3, (%rax) sub %rbp, %rbp lea addresses_WC_ht+0x1587b, %rbp inc %rcx mov (%rbp), %rsi nop cmp $3871...
// Copyright (c) 2007-2021 Hartmut Kaiser // Copyright (c) 2011 Bryce Lelbach // // SPDX-License-Identifier: BSL-1.0 // 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) #include <hpx/config.hpp> #if defined(...
CeladonMansion2F_Object: db $f ; border block def_warps warp 6, 1, 0, CELADON_MANSION_3F warp 7, 1, 3, CELADON_MANSION_1F warp 2, 1, 4, CELADON_MANSION_1F warp 4, 1, 3, CELADON_MANSION_3F def_signs sign 4, 9, 1 ; CeladonMansion2Text1 def_objects def_warps_to CELADON_MANSION_2F
#include <iostream> #include <cstddef> #include <queue> #include <string> #include <cstdlib> using namespace std; class Node{ public: int data; Node *left,*right; Node(int d){ data=d; left=right=NULL; } }; class Solution{ public: Node* insert(Node* r...
db 0 ; species ID placeholder db 40, 30, 30, 30, 40, 50 ; hp atk def spd sat sdf db WATER, GRASS ; type db 255 ; catch rate db 74 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokemon/lotad/front.dimensions" db GROWTH_MEDIUM_SLOW ;...
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
.define LDPTR(regD, regX, ident) { ld regD(), addrbank(ident()) ld regX(), addrbofs(ident()) }
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ; ; maximum and minimum routines. ; .xlist include version.inc include cmacros.inc .list sBegin code assumes cs,code cProc max,<PUBLIC> parmW a parm...
; L0308.asm desert bridge ; Generated 11.07.2000 by mlevel ; Modified 11.07.2000 by Abe Pralle INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" ;--------------------------------------------------------------------- SECTION "Level0308Section",ROMX ;----------------------------------------------------------------...
/* Copyright (c) 2005-2015, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
/**************************************************************************/ /*! @file LXDMXWiFiconfig.cpp @author Claude Heintz @license BSD (see LXDMXWiFi.h or http://lx.claudeheintzdesign.com/opensource.html) @copyright 2016-2021 by Claude Heintz All Rights Reserved Edit initConfig for yo...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ; $Id: plot.asm $ ; IF !__CPU_INTEL__ & !__CPU_GBZ80__ ; CALLER LINKAGE FOR FUNCTION POINTERS ; ----- void plot(int x, int y) SECTION code_graphics PU...
; A179606: Eight white kings and one red king on a 3 X 3 chessboard. G.f.: (1 + x)/(1 - 3*x - 5*x^2). ; Submitted by Jon Maiga ; 1,4,17,71,298,1249,5237,21956,92053,385939,1618082,6783941,28442233,119246404,499950377,2096083151,8788001338,36844419769,154473265997,647641896836,2715292020493,11384085545659,47728716739442...
#include<iostream> #include<algorithm> using namespace std; bool cmp(int a,int b){ return a>b; } int main(){ int a[5]={5,2,1,3,4}; sort(a,a+5,cmp); for(int i=0;i<5;i++){ cout<<a[i]; } }
; Allocate in common heap V2.00  1986 Tony Tebby QJUMP section mem xdef mem_achp xref mem_ruch ; round up common heap allocation xref mem_rusb ; round up slave block allocation xref mem_albu ; allocate from bottom up xref mem_rehp ; 'return' memory to heap xref mem_grsb ; grab system slave bloc...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x12203, %rbx clflush (%rbx) nop xor $63097, %r13 mov $0x6162636465666768, %rdi movq %rdi, (%rbx) xor $31273, %r14 lea addresses_A_ht+0x7e13, %r14 clflush (%r14) nop nop nop nop nop ...
/* * phd.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 provided that th...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warr...
global loader extern main extern initializeKernelBinary extern pit_handler extern keyboard_handler extern sys_read extern sys_write extern sys_malloc extern sys_free extern sys_cls extern sys_exit extern sys_sleep extern sys_beep extern sys_play_note extern sys_list_ps extern sys_create_process extern sys_opipe extern ...
; A143299: Number of terms in the Zeckendorf representation of every number in row n of the Wythoff array. ; Submitted by Jon Maiga ; 1,2,2,2,3,2,3,3,2,3,3,3,4,2,3,3,3,4,3,4,4,2,3,3,3,4,3,4,4,3,4,4,4,5,2,3,3,3,4,3,4,4,3,4,4,4,5,3,4,4,4,5,4,5,5,2,3,3,3,4,3,4,4,3,4,4,4,5,3,4,4,4,5,4,5,5,3,4,4,4,5,4,5,5,4,5,5,5,6,2,3,3,3,...
EXTERN mapNudgeViewProc1ReturnAddress : QWORD ESCAPE_SEQ_1 = 10h ESCAPE_SEQ_2 = 11h ESCAPE_SEQ_3 = 12h ESCAPE_SEQ_4 = 13h LOW_SHIFT = 0Eh HIGH_SHIFT = 9h SHIFT_2 = LOW_SHIFT SHIFT_3 = 900h SHIFT_4 = 8F2h NO_FONT = 98Fh NOT_DEF = 2026h MAP_LIMIT = 2Dh-1 .CODE mapNudgeViewProc1 PROC cmp byte ptr [rax + r...
; A092498: G.f.: (1+x+2x^2)/((1-x)^3*(1-x^3)). ; 1,4,11,23,41,67,102,147,204,274,358,458,575,710,865,1041,1239,1461,1708,1981,2282,2612,2972,3364,3789,4248,4743,5275,5845,6455,7106,7799,8536,9318,10146,11022,11947,12922,13949,15029,16163,17353,18600,19905,21270,22696,24184,25736,27353,29036,30787,32607,34497,36459,3849...
;; ;; Copyright (c) 2019-2022, 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...
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1985-1991 ; * All Rights Reserved. ; */ ;----------------------------------------------------------------------------; ; This is the erroe manager module. Control is transferred to the...
; A127161: Integers whose aliquot sequences terminate by encountering a prime number. ; 2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75 mov $5,$0 mov $6,$0 sub $...
;///////////////////////////////////////////////////////////////////////////// ;//// copyright (c) 2012-2017 project_ntke_cpprtl ;//// mailto:kt133a@seznam.cz ;//// license: the MIT license ;///////////////////////////////////////////////////////////////////////////// include ksamd64.inc EXCEPTIO...
; sp1_RemoveUpdateStruct ; 01.2008 aralbrec, Sprite Pack v3.0 ; ts2068 hi-res version SECTION code_sprite_sp1 PUBLIC sp1_RemoveUpdateStruct ; FASTCALL ; Removes the character cell represented by the struct_sp1_update ; passed in so that the sprite engine will not draw the cell. ; Sprites will not be entered into th...
#include "shader.h" #include <iostream> Shader& Shader::Use() { glUseProgram(this->ID); return *this; } void Shader::Compile(const char* vertexSource, const char* fragmentSource, const char* geometryShader) { unsigned int sVertex, sFragment, sGeometry; // vertex Shader sVertex = glCreateShader(GL_VERTEX_SHADER...
SECTION "Tiles bank 0", VRAM[$8000],BANK[0] v0Tiles0:: vPlayerTiles:: ; dtile 4 * 3 Overlap dtile 1 vFileSelectCornerTile:: dtile 1 vFileSelectConsoleTiles:: dtile 9 dtile 2 ; Last two vPlayerTiles dtile $13 vDMGFontTiles:: dtile $3C dtile $24 v0Tiles1:: dtile $80 ...
/* $Id: CoinFileIO.cpp 1448 2011-06-19 15:34:41Z stefan $ */ // Copyright (C) 2005, COIN-OR. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #if defined(_MSC_VER) // Turn off compiler warning about long names # pragma warning(disable:4786) #endif #include "CoinUtil...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.0.2 #11722 (Linux) ;-------------------------------------------------------- ; Processed by Z88DK ;-------------------------------------------------------- EXTERN __divschar EXTERN __divsc...
.386p ASSUME CS:CODE PUBLIC TEST_F6 PUBLIC TEST_F7 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EFLAGS_CF EQU 00001H EFLAGS_PF EQU 00004H EFLAGS_AF EQU 00010H EFLAGS_ZF EQU 00040H EFLAGS_SF EQU 00080H EFLAGS_TRAP E...
// This file is a part of Hologine. // // Hologine is a straight-forward framework for interactive simulations, // most notably video games. // // Copyright 2015 Aaron Bolyard. // // For licensing information, review the LICENSE file located at the root // directory of the source package. #ifndef HOLOGINE_CORE_THREADIN...
/** * @copyright Copyright (c) 2017 B-com http://www.b-com.com/ * * 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...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0xd547, %rsi lea addresses_WT_ht+0x1cdd7, %rdi nop nop nop nop xor $3391, %r14 mov $100, %rcx rep movsq nop nop nop nop inc %r10 lea addresses_UC_ht+0x1a2d7, %r13 nop sub $13614...
/* * FreeRTOS Kernel V10.3.0 * 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 restriction, includ...
INCLUDE Hook.inc _text SEGMENT _Hook_OpenCameraStream PROC ;RCX : camera type (1-4) ;RDX : callback ;R8 : user data ;R9 : handle output pointer POP RAX PUSH R9 SUB RSP, 20h LEA R10, [_PostOpenCameraStream] PUSH R10 ;Backup PUSH RBP PUSH RBX PUSH RSI PUSH RDI PUSH R12 PUSH R13 PUSH R14 PUSH R15 JMP...
; A027470: a(n) = 225*(n-1)*(n-2)/2. ; 225,675,1350,2250,3375,4725,6300,8100,10125,12375,14850,17550,20475,23625,27000,30600,34425,38475,42750,47250,51975,56925,62100,67500,73125,78975,85050,91350,97875,104625,111600,118800,126225,133875,141750,149850,158175,166725,175500,184500,193725,203175,212850,222750,232875,24322...
#include <SFML/Graphics.hpp> #include <cmath> #include <iostream> float calcPos( const float startPos, const float velocity, const float timeSec, const float acceleration) { return (startPos + (velocity * timeSec) + (acceleration * timeSec * timeSec)); } float calcOvertakeTimeSec( const float slowStartPo...
#include <bits/stdc++.h> #define DIMMAX 200000 #define ll long long using namespace std; ifstream f("heapuri.in"); ofstream g("heapuri.out"); ll N; typedef ll Heap[DIMMAX]; Heap HP, Ord; ll indice[DIMMAX]; ll len; void swp(ll &a, ll &b) { ll aux = a; a = b; b = aux; } void down(ll N, ll k) { ll son...
DebugRoom_MapScripts: db 0 ; scene scripts db 0 ; callbacks DebugRoom_MapEvents: db 0, 0 ; filler db 2 ; warp events warp_event 0, 0, DEBUG_ROOM, 1 warp_event 0, 0, DEBUG_ROOM, 1 db 0 ; coord events db 0 ; bg events db 0 ; object events
.include "defines.inc" .include "global.inc" .segment "BANK1" palette_1: ; BG .byte $0f,$00,$10,$30 .byte $00,$19,$29,$39 .byte $00,$01,$12,$21 .byte $00,$06,$16,$26 ; FG .byte $0f,$11,$21,$31 .byte $00,$12,$22,$32 .byte $00,$13,$23,$33 .byte $00,$14,$24,$34
_testcas: 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: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 20 ...
; ; Print a character at ansi_ROW, ansi_COLUMNUMN ; Enter with char in a ; ; djm 6/6/2000 ; ; This ain't pretty..we do far too many calls to oz for my liking.. ; ; ; $Id: f_ansi_char.asm,v 1.7 2016-07-02 10:24:35 dom Exp $ ; SECTION code_clib PUBLIC ansi_CHAR INCLUDE "stdio.def" EXTERN ansi_ROW EXTERN ansi...
; ;/* ; * FreeRTOS Kernel V10.2.0 ; * Copyright (C) 2019 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 res...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x74e, %r14 nop nop nop cmp $32868, %rbx mov $0x6162636465666768, %r12 movq %r12, %xmm7 movups %xmm7, (%r14) nop nop cmp $55587, %rbx lea addresses_A_ht+0x4830, %rsi lea addres...
; A234038: Smallest positive integer solution x of 9*x - 2^n*y = 1. ; Submitted by Jamie Morken(s2) ; 1,1,1,1,9,25,57,57,57,57,569,1593,3641,3641,3641,3641,36409,101945,233017,233017,233017,233017,2330169,6524473,14913081,14913081,14913081,14913081,149130809,417566265,954437177,954437177,954437177 seq $0,153234 ; a(n)...
; This program reads UART input into a buffer in high mem ; and prints it back when the newline character is deteted. ; _start: MOV r0, FF00h ; AICT base MOV r1, 4E2h ; Clock divider: 12Mhz / 9600Hz STR [r0+BCh], r1 ; print the hello message STR [r0+80h] <- r1 start_hello...
; A258837: a(n) = 1 - n^2. ; 1,0,-3,-8,-15,-24,-35,-48,-63,-80,-99,-120,-143,-168,-195,-224,-255,-288,-323,-360,-399,-440,-483,-528,-575,-624,-675,-728,-783,-840,-899,-960,-1023,-1088,-1155,-1224,-1295,-1368,-1443,-1520,-1599,-1680,-1763,-1848,-1935,-2024,-2115,-2208,-2303,-2400,-2499,-2600,-2703,-2808,-2915,-3024,-313...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; void *p_list_back(p_list_t *list) ; ; Return item at back of list without removing it from the list. ; ; =============================================================== S...