text
stringlengths
1
1.05M
; ; ; Support char table (pseudo graph symbols) for the Super80-vduem ; Sequence: blank, top-left, top-right, top-half, bottom-left, left-half, etc.. ; ; ; .. X. .X XX ; .. .. .. .. ; ; .. X. .X XX ; X. X. X. X. ; ; .. X. .X XX ; .X .X .X .X ; ; .. X. .X XX ; XX XX XX XX ...
SECTION code_fp_math16 PUBLIC powf16 EXTERN cm16_sccz80_pow defc powf16 = cm16_sccz80_pow ; SDCC bridge for Classic IF __CLASSIC PUBLIC _powf16 EXTERN powf16 defc _powf16 = powf16 ENDIF
; The point here is to test the ability to pass runtime information to analysis. ; ; The simplest case is when a call is encountered in the debugger where the ; destination is not yet an identified function. Just make a function at this ; address. ; ; The second case is when a branch is encountered whose destination is...
cmp #{c1} lda #0 rol eor #1
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xe213, %r15 nop nop and $64955, %rdx mov (%r15), %r13 nop nop nop nop nop add %r13, %r13 lea addresses_UC_ht+0x9d71, %rcx nop nop nop sub %r8, %r8 movw $0x6162, (%rcx) nop nop ...
#ifndef _OP_BLOCK_GENERATOR_TASK_HPP_ #define _OP_BLOCK_GENERATOR_TASK_HPP_ #include <atomic> #include <chrono> #include <aio.h> #include "pattern_generator.hpp" #include "framework/generator/task.hpp" #include "modules/timesync/chrono.hpp" namespace openperf::block::worker { using ref_clock = timesync::chrono::m...
db 0 ; species ID placeholder db 60, 70, 50, 65, 100, 50 ; hp atk def spd sat sdf db BUG, FLYING ; type db 45 ; catch rate db 178 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 15 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/beautifly/f...
// Copyright 2012 the V8 project 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 "src/api/api.h" #include <algorithm> // For min #include <cmath> // For isnan. #include <limits> #include <string> #include <utility> /...
; A176646: a(n) is the number of convex pentagons in an n-triangular net. ; 0,0,3,21,78,216,498,1014,1884,3264,5349,8379,12642,18480,26292,36540,49752,66528,87543,113553,145398,184008,230406,285714,351156,428064,517881,622167,742602,880992,1039272,1219512,1423920,1654848,1914795,2206413,2532510,2896056,3300186,3748206,...
; ******************************************** ; * * ; * Copyright, (C) Honeywell Bull Inc., 1988 * ; * * ; ******************************************** ; ; HISTORY COMMENTS: ; 1) change(88-01-23,Lee), approve(88-05-16,MCR7897), audit(88...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x9629, %r12 nop nop nop nop nop inc %rsi movups (%r12), %xmm3 vpextrq $0, %xmm3, %r14 nop xor %r15, %r15 lea addresses_WC_ht+0xb29, %rax nop nop nop inc %rbp mov...
; A052146: a(n) = floor((sqrt(1+8*n)-3)/2). ; 0,0,1,1,1,2,2,2,2,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11 add $0,1 lpb $0 add $1,1 sub $0,$1 lpe sub $1,1 mov $0,$1
; A213040: Partial sums of A004738, leftmost column of the sequence of triangles defined in A206492. ; 1,3,4,6,9,11,12,14,17,21,24,26,27,29,32,36,41,45,48,50,51,53,56,60,65,71,76,80,83,85,86,88,91,95,100,106,113,119,124,128,131,133,134,136,139,143,148,154,161,169,176,182,187,191,194,196,197,199,202 mov $21,$0 mov $23,...
ori $1, $0, 11 ori $2, $0, 14 ori $3, $0, 10 ori $4, $0, 9 sw $1, 0($0) sw $4, 4($0) sw $2, 8($0) sw $2, 12($0) sw $4, 16($0) sw $2, 20($0) sw $2, 24($0) sw $2, 28($0) sw $3, 32($0) sw $2, 36($0) sw $3, 40($0) sw $4, 44($0) sw $1, 48($0) sw $1, 52($0) sw $1, 56($0) sw $4, 60($0) sw $4, 64($0) sw $3...
; Copyright (c) 2009-2014, Berend-Jan "SkyLined" Wever <berendjanwever@gmail.com> ; and Peter Ferrie <peter.ferrie@gmail.com> ; Project homepage: http://code.google.com/p/win-exec-calc-shellcode/ ; All rights reserved. See COPYRIGHT.txt for details. ; null-free x86/x64 branching code for calc.exe executing shellc...
setrepeat 2 frame 0, 10 frame 2, 10 dorepeat 1 frame 2, 20 endanim
// Copyright 2022 The uhp-sql 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...
// Copyright (c) 2010 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 "base/basictypes.h" #include "base/stringprintf.h" #include "testing/gtest/include/gtest/gtest.h" namespace base { namespace { // A helper...
/** * @brief Global Position plugin * @file global_position.cpp * @author Nuno Marques <n.marques21@hotmail.com> * @author Vladimir Ermakov <vooon341@gmail.com> * * @addtogroup plugin * @{ */ /* * Copyright 2014 Nuno Marques. * Copyright 2015 Vladimir Ermakov. * * This file is part of the mavros package and...
PUBLIC SetXmmScratchesFun extern xmmInitVals:dword .code SetXmmScratchesFun PROC lea rax,xmmInitVals movdqu xmm0, xmmword ptr [rax] movdqu xmm1, xmmword ptr [rax]+32 movdqu xmm2, xmmword ptr [rax]+64 movdqu xmm3, xmmword ptr [rax]+96 movdqu xmm4, xmmword ptr [rax]+128 movdqu xmm5, xmmwor...
// bootstrap @261 D=A @SP M=D @LCL M=0 @ARG M=0 @THIS M=0 @THAT M=0 @Sys.init 0;JMP // function Class1.set 0 (Class1.set) @SP D=M @LCL AM=D D=A @SP M=D // push argument 0 @ARG A=M D=M @SP A=M M=D @SP M=M+1 // pop static 0 @Class1.0 D=A @R15 M=D @SP AM=M-1 D=M @R15 A=M M=D // push argument 1 @ARG D=M @1 A=D+A D=M @SP A=...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <txmempool.h> #include <consensus/consensus.h> #include <consensus/tx_v...
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; ==++== ; ; ; ==--== ; ; FILE: asmhelpers.asm ; ; *** NOTE: If you make changes to this file, propagate the changes to ; asmhelpers.s in this directory ; ; ; =========...
Name: gstrats.asm Type: file Size: 64594 Last-Modified: '1993-03-02T01:40:45Z' SHA-1: B2A3B073772FE79BB67EDC8C57CDCBE18871D7BE Description: null
SECTION "Word", ROM0/*[5]*/ dw $78df SECTION FRAGMENT "Frag", ROM0/*[1]*/ db $40 SECTION FRAGMENT "Frag", ROM0/*[2]*/ db $2e SECTION FRAGMENT "Frag", ROM0/*[3]*/,ALIGN[1,1] db $1f SECTION "Byte", ROM0/*[0]*/ db $44 SECTION FRAGMENT "Frag", ROM0/*[4]*/ db $7b align 2, 1 SECTION FRAGMENT "Frag", ROM0[...
.data pair: .word 2 -3 p: .word 0 .text: main: la $a0, p la $a1, pair jal init_polynomial #write test code move $a0, $v0 li $v0, 1 syscall li $v0, 10 syscall .include "hw5.asm"
/* * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
; A086274: Antidiagonal sums of A086272 (and of A086273). ; 1,4,12,29,60,111,189,302,459,670,946,1299,1742,2289,2955,3756,4709,5832,7144,8665,10416,12419,14697,17274,20175,23426,27054,31087,35554,40485,45911,51864,58377,65484,73220,81621,90724,100567,111189 mov $1,4 sub $2,$0 sub $1,$2 bin $1,$0 bin $2,2 sub $1,$2 mov...
/*Write a program to implement doubly linked list which supports the following operations: (i) Insert an element x at the beginning of the doubly linked list (ii) Insert an element x at position in the doubly linked list (iii)Insert an element x at the end of the doubly linked list (iv) Remove an element from the begin...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0xcfe0, %rsi lea addresses_UC_ht+0xd594, %rdi nop nop nop nop sub $7798, %r12 mov $111, %rcx rep movsw nop nop nop nop and %rbp, %rbp pop %rsi pop %rdi pop %rcx pop %rbp pop %r12 ret .global s_faulty_...
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
; ; Copyright 2008-2012 Jeff Bush ; ; 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 in ...
// MIT License // // Copyright (c) 2019 Oleksandr Tkachenko // Cryptography and Privacy Engineering Group (ENCRYPTO) // TU Darmstadt, Germany // // 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 Soft...
#include <iostream> #include <cstdio> #include <cmath> #include <stdio.h> #define sq3 (sqrt(3)) using namespace std; unsigned long long int ni(double num){ if ((num + 0.5) >= ((unsigned long long int)(num) + 1)) return (unsigned long long int)(num) + 1; else return (unsigned long long int)(num); } ...
; A145730: Partial sums of A108019. ; 0,4,40,332,2672,21396,171192,1369564,10956544,87652388,701219144,5609753196,44878025616,359024204980,2872193639896,22977549119228,183820392953888,1470563143631172,11764505149049448,94116041192395660 mov $2,2 lpb $0 sub $0,1 mul $2,4 add $1,$2 sub $1,4 mul $2,2 sub $2,6...
-- 7 Billion Humans (2145) -- -- 57: Neighborly Sweeper -- -- Author: landfillbaby -- Size: 9 -- Speed: 982 a: step nw,w,sw,n,s,ne,e,se pickup c mem1 = set 0 mem2 = foreachdir nw,w,sw,n,s,ne,e,se: if mem2 >= 0: mem1 = calc mem1 + 1 endif endfor write mem1 drop jump a
; A133473: 2 followed by numbers with n-1 3's before 5. ; 2,5,35,335,3335,33335,333335,3333335,33333335,333333335,3333333335,33333333335,333333333335,3333333333335,33333333333335,333333333333335,3333333333333335,33333333333333335,333333333333333335,3333333333333333335,33333333333333333335,333333333333333333335,33333333...
; A197903: Ceiling((n+1/n)^4). ; 16,40,124,327,732,1447,2604,4359,6892,10407,15132,21319,29244,39207,51532,66567,84684,106279,131772,161607,196252,236199,281964,334087,393132,459687,534364,617799,710652,813607,927372,1052679,1190284,1340967,1505532,1684807,1879644,2090919,2319532,2566407,2832492,3118759,3426204,3755847...
#include "serializer.hpp" namespace cube { result_set serializer::load_matchings(const std::string file_name) { //tries to open selected file input_file.open(file_name); if (input_file.fail()) errors::input_error("An error occured when opening " + file_name); result_set found_matchings; while...
############################################################################### # 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...
; ; Invoke a GSX/GIOS function ; ; ; $Id: gios.asm $ ; PUBLIC gios PUBLIC _gios EXTERN gios_ctl EXTERN gios_pb SECTION code_clib ; __FASTCALL__ gios: _gios: ld a,l ld hl,gios_ctl ld (hl),a inc hl ld (hl),0 ld de,gios_pb ld c,115 ; GSX IF !__CPU_INTEL__ push ix call 5 pop ix ret ELSE jp 5 ENDI...
; A175114: First differences of A175113. ; 1,364,7448,51012,206896,620060,1527624,3281908,6373472,11454156,19360120,31134884,48052368,71639932,103701416,146340180,201982144,273398828,363730392,476508676,615680240,785629404,991201288,1237724852,1531035936,1877500300,2284036664,2758139748,3307903312,3942043196,4669920360...
; A034323: a(n) = n-th quintic factorial number divided by 2. ; 1,7,84,1428,31416,848232,27143424,1004306688,42180880896,1982501402112,103090072909824,5876134155859968,364320317663318016,24409461283442307072,1757481212407846109184,135326053355404150407168,11096736375143140333387776,965416064637453209004736512,888182779...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0xedca, %rbp nop nop nop nop cmp %r8, %r8 mov (%rbp), %di nop dec %rax lea addresses_WC_ht+0x10fbc, %rsi lea addresses_WT_ht+0x1490, %rdi nop nop nop nop nop add $45322, %r15 mo...
; A274304: A bisection of A002866. ; 1,4,192,23040,5160960,1857945600,980995276800,714164561510400,685597979049984000,839171926357180416000,1275541328062914232320000,2357200374260265501327360000,5204698426366666226930810880000,13532215908553332190020108288000000 mul $0,4 mov $1,2 lpb $0 mul $1,$0 sub $0,2 lpe sub ...
/*========================================================================= Program: Visualization Toolkit Module: vtkAnimationCue.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software ...
// // Created by Kaisei Sunaga on 2020/04/05. // struct Color { public: Color() { r = 0; g = 0; b = 0; } Color(int r, int g, int b) { this->r = r; this->g = g; this->b = b; } Color(long hexValue) { this->r = (hexValue >> 16) & 0xFF; this->g = (hexValue >> 8) & 0xFF; th...
SECTION code_fp_math32 PUBLIC fmin EXTERN cm32_sccz80_fmin defc fmin = cm32_sccz80_fmin ; SDCC bridge for Classic IF __CLASSIC PUBLIC _fmin EXTERN cm32_sdcc_fmin defc _fmin = cm32_sdcc_fmin ENDIF
#include <Singleton/MathLib.h> #include <util/MetaLib.h> using namespace Math; #define GetVec(name, v) Vector4 name = XMLoadFloat3(&##v); #define StoreVec(ptr, v) XMStoreFloat3(ptr, v); Vector4 MathLib::GetPlane( const Vector3& a, const Vector3& b, const Vector3& c) noexcept { Vector3 normal = normalize(cross(b - a...
/* $Id: DBGCTcp.cpp $ */ /** @file * DBGC - Debugger Console, TCP backend. */ /* * Copyright (C) 2006-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 modify it under...
#fn add1(value) => { value + 1 } #d8 add1(0) ; = 0x01 #d8 add1(-2) ; = 0xff #d8 add1(2) ; = 0x03
; CALLER linkage for function pointers XLIB HeapInfo LIB MAHeapInfo .HeapInfo pop af pop hl push af call MAHeapInfo pop af pop hl ld (hl),c inc hl ld (hl),b pop hl ld (hl),e inc hl ld (hl),d push hl push hl push hl push af ret
// Copyright (c) 2012-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "wallet/wallet.h" #include <set> #include <stdint.h> #include <utility> #include <vector> #include "consensus/vali...
// Audio data converted from WAV file by wav2sketch #include "AudioSampleTomtom.h" // Converted from tomtom.wav, using 11025 Hz, 16 bit PCM encoding const unsigned int AudioSampleTomtom[3489] = { 0x83001B3C,0xFC0EFF8B,0xFB40FD97,0x045BFB30,0xEABCEAD6,0x04C2F8B3,0x002B0733,0xFB1C0879, 0xE9CCED7A,0xEC2AEC4D,0xF7D8EF09,...
SECTION code_fp_math16 PUBLIC cosf16_fastcall EXTERN _m16_cosf defc cosf16_fastcall = _m16_cosf ; SDCC bridge for Classic IF __CLASSIC PUBLIC _cosf16_fastcall defc _cosf16_fastcall = _m16_cosf ENDIF
; A178242: Numerator of n*(5+n)/((n+1)*(n+4)). ; 0,3,7,6,9,25,33,21,26,63,75,44,51,117,133,75,84,187,207,114,125,273,297,161,174,375,403,216,231,493,525,279,296,627,663,350,369,777,817,429,450,943,987,516,539,1125,1173,611,636,1323,1375,714,741,1537,1593,825,854,1767,1827,944,975,2013,2077,1071,1104,2275,2343,1206,1241...
W4_InitIndex: .byte $00, (W4_ByRowType_S2 - W4_ByRowType), (W4_ByRowType_S3 - W4_ByRowType), (W4_ByRowType_S4 - W4_ByRowType) W4_ByRowType: .byte $4B, $4E, $47, $41, $4B, $6B, $62, $6B, $6B, $62, $8E, $8F, $8B, $8B W4_ByRowType_S2: .byte $4B, $4E, $42, $4B, $4B, $4B, $4B, $6B, $6B, $6B, $6F, $67, $6B, $8B, $8B, $8B, $8...
; Sprite dropping code V1.00  1985 Tony Tebby ; ; d0 c s byte offset / green composite ; d1 c s row offset / red composite ; d2 s green sprite ; d3 s red sprite ; d4 s sprite mask ; d5 c s sprite word counter / horizontal mask (high word) ; d6 c s row counter ; d7 c p right shift (low word) / 16-shift (...
; A279766: Number of odd digits in the decimal expansions of integers 1 to n. ; 0,1,1,2,2,3,3,4,4,5,6,8,9,11,12,14,15,17,18,20,20,21,21,22,22,23,23,24,24,25,26,28,29,31,32,34,35,37,38,40,40,41,41,42,42,43,43,44,44,45,46,48,49,51,52,54,55,57,58,60,60,61,61,62,62,63,63,64,64,65,66,68,69,71,72,74,75,77,78,80,80,81,81,82,8...
; --------------------------------------------------------------------------- ; Sprite mappings - SLZ platforms ; --------------------------------------------------------------------------- dc.w byte_819C-Map_obj18b byte_819C: dc.b 2 dc.b $F8, $F, 0, $21, $E0 dc.b $F8, $F, 0, $21, 0 even
; A009230: a(n) = lcm(n, d(n)). ; 1,2,6,12,10,12,14,8,9,20,22,12,26,28,60,80,34,18,38,60,84,44,46,24,75,52,108,84,58,120,62,96,132,68,140,36,74,76,156,40,82,168,86,132,90,92,94,240,147,150,204,156,106,216,220,56,228,116,118,60,122,124,126,448,260,264,134,204,276,280,142,72,146,148,150,228,308,312,158,80,405,164,166,84,...
//===----------------------------------------------------------------------===// // // PelotonDB // // insert_plan.cpp // // Identification: src/planner/insert_plan.cpp // // Copyright (c) 2015-17, Carnegie Mellon University Database Group // //===------------------------------------------------...
#include <mhdcxx/interpolate.hpp> int main() { }
extern printf extern scanf section .data format db "%d",0 napis db "Podaj liczbe: ",0 liczba dd 0 wynik dd 0 parz db "Podana liczba jest parzysta.",10,0 nparz db "Podana liczba jest nieparzysta.",10,0 section .text global main main: xor rax, rax mov rdi, napis call printf xor rax, rax mov rdi, format ...
#include "scale9/WxStagePage.h" #ifdef MODULE_SCALE9 #include "scale9/ComposeGrids.h" #include "scale9/ResizeScale9OP.h" #include "frame/Blackboard.h" #include "frame/WxPreviewPanel.h" #include "frame/Blackboard.h" #include "frame/Application.h" #include "frame/typedef.h" #include "frame/AppStyle.h" #include <ee0/M...
; *********************************************************************************************** ; *********************************************************************************************** ; ; variables A-Z, operators + - * / . (and) , (xor), 1 byte values all. ; ; keywords in lower case, variables in upper ...
; A129728: a(n) = 2*(n-1) + Fibonacci(n). ; 1,3,6,9,13,18,25,35,50,73,109,166,257,403,638,1017,1629,2618,4217,6803,10986,17753,28701,46414,75073,121443,196470,317865,514285,832098,1346329,2178371,3524642,5702953,9227533,14930422,24157889,39088243,63246062,102334233,165580221,267914378,433494521,701408819,1134903258,183...
; Copyright © 2020, VideoLAN and dav1d authors ; Copyright © 2020, Two Orioles, LLC ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain the above copy...
// Copyright 2017 PDFium 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 "testing/range_set.h" #include <algorithm> #include "core/fxcrt/fx_system.h" RangeSet::RangeSet() = default; RangeSet::~RangeSet() = default; bool...
; name: game ; author: Olivier Schyns ; desc: simple two player platformer game ; ====== ; HEADER ; ====== ; at the beginning, define banks to use .inesprg 1 ; one program bank (16KB) .ineschr 1 ; one picture bank ( 8KB) .inesmir 2 ; single screen .inesmap 0 ; use Mapper 0, no bank swapping ; de...
SECTION "Handlers", ROM0 DummyHandler:: RET RunHandler:: JP HL
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-alloca.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES _DATA SEGMENT $SG3709 DB '%d', 00H _DATA ENDS PUBLIC _func EXTRN __i...
; A027467: Triangle whose (n,k)-th entry is 15^(n-k)*binomial(n,k). ; Submitted by Christian Krause ; 1,15,1,225,30,1,3375,675,45,1,50625,13500,1350,60,1,759375,253125,33750,2250,75,1,11390625,4556250,759375,67500,3375,90,1,170859375,79734375,15946875,1771875,118125,4725,105,1,2562890625,1366875000,318937500,42525000,3...
db 0 ; species ID placeholder db 65, 45, 55, 45, 45, 70 ; hp atk def spd sat sdf db WATER, WATER ; type db 190 ; catch rate db 100 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/seel/front.dimensions" db GROWTH_MEDIUM_FAST ;...
; A183860: n+floor(sqrt(3n+1)); complement of A183861. ; 3,4,6,7,9,10,11,13,14,15,16,18,19,20,21,23,24,25,26,27,29,30,31,32,33,34,36,37,38,39,40,41,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,69,70,71,72,73,74,75,76,77,79,80,81,82,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,99,101,102,103,104,...
.intel_syntax noprefix .data STR_1: .string "Enter a number:" STR_2: .string "" STR_3: .string "The factorial is:" .bss .text .extern puts .extern printf .extern exit .extern fflush .extern input_int .extern print_int .global factorial .global main factorial: push rbp mov rbp, rsp sub rsp, 48 mov ea...
############################################################################### # 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...
// Longest consecutive subsequence // https://practice.geeksforgeeks.org/problems/longest-consecutive-subsequence2449/1# /* Given an array of positive integers. Find the length of the longest sub-sequence such that elements in the subsequence are consecutive integers, the consecutive numbers can be in any order. Exa...
db ELECTRODE ; 101 db 60, 50, 70, 140, 80, 80 ; hp atk def spd sat sdf db ELECTRIC, ELECTRIC ; type db 60 ; catch rate db 150 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/electrode/f...
#include<iostream> using namespace std; int main() { cout<<"enter the order of matrices : "; int m,n,i,j; cin>>m>>n; int p[10][10],q[10][10],r[10][10]; if(m>10||n>10) { cout<<"size overload..."; return -1; } cout<<"\nenter the elements of the first matrix : "; for(i=0;i<m;i++) for(j=0;j<n;j++) cin>>p[i][...
/*************************************************************************/ /* jsonrpc.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include <string.h> #include "glad.hpp" namespace glad { #ifdef GLAD_USE_SDL #include <SDL.h> #if !SDL_VERSION_ATLEAST(2,0,0) #error SDL 2 is required! #endif #else #include <assert.h> #endif bool gladLoadGL(void) { #ifdef GLAD_USE_SDL return gladLoadGLLoader(SDL_GL_GetProcAddress); #else // generic gladLoa...
; A184005: a(n) = n - 1 + ceiling(3*n^2/4); complement of A184004. ; 1,4,9,15,23,32,43,55,69,84,101,119,139,160,183,207,233,260,289,319,351,384,419,455,493,532,573,615,659,704,751,799,849,900,953,1007,1063,1120,1179,1239,1301,1364,1429,1495,1563,1632,1703,1775,1849,1924,2001,2079,2159,2240,2323,2407,2493,2580,2669,2759...
; A331504: Number of labeled graphs with n nodes and floor(n*(n-1)/4) edges. ; 1,1,3,20,252,6435,352716,40116600,9075135300,4116715363800,3824345300380220,7219428434016265740,27217014869199032015600,205397724721029574666088520,3136262529306125724764953838760 add $0,1 bin $0,2 mov $1,$0 div $1,2 bin $0,$1
; A096273: a(0)=0, then a(n)=a(n-1)+(n-1) if n is odd, a(n)=a(n/2)+n/2 otherwise. ; 0,0,1,3,3,7,6,12,7,15,12,22,12,24,19,33,15,31,24,42,22,42,33,55,24,48,37,63,33,61,48,78,31,63,48,82,42,78,61,99,42,82,63,105,55,99,78,124,48,96,73,123,63,115,90,144,61,117,90,148,78,138,109,171,63,127,96,162,82,150,117,187,78,150,115,18...
#include "KaleidoscopeJIT.h" #include "llvm/ADT/APFloat.h" #include "llvm/ADT/APSInt.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Analysis/TargetLibraryInfo.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Function.h" #include "llvm/IR/IRBuilder....
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_AF ;TEST_FILE_META_END ; Test32RR1 mov ebx, 0x0 ;TEST_BEGIN_RECORDING test ebx, ebx ;TEST_END_RECORDING
#include <QApplication> #include "guiutil.h" #include "bitcoinaddressvalidator.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "util.h" #include "init.h" #include <QDateTime> #include <QDoubleValidator> #include <QFont> #include <QLineEdit> #if QT_VERSION >= 0x050000 #include <QUrlQuery> #else #inclu...
; at random do spawn a "squad! ;scroll text etwas enger machen siehe schutzhauben vectrex ; different scroll text with scroll text init routine -> faster slower etc ; Absturz schutzhauben vectrex ; Scroll text I und X falsch links ; death scene! ; in demo mode statt score - PRESS BUTTON" ; bonus stars may have dif...
// flips the values of RAM[0] and RAM[1] // temp = R1 // R1 = R0 // R0 = temp @R1 D=M @temp M=D // temp = R1 @R0 D=M @R1 M=D // R1 = R0 @temp D=M @R0 M=D @temp D=M @R0 M=D @temp D=M @R0 M=D (END) @END 0;JMP
; unsigned char check_version_nextzxos(uint16_t nv) SECTION code_arch PUBLIC _check_version_nextzxos_fastcall EXTERN asm_check_version_nextzxos defc _check_version_nextzxos_fastcall = asm_check_version_nextzxos
; ; 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...
; A133953: A second integer solution:d=2;h=1; A 4 X 4 vector Markov of a game matrix MA and an anti- game matrix MB such that game_valueMa+game_ValueMB =0 and the score is the sum of the vector out put of the Markov: MA={{0,1},{1,d}}; MB={{1/h,0},(2 - d + 1/h + h),h}}; Characteristic Polynomial is: -1 + 4 x^2 - 4 x^3 +...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="file, owner, group"/> <%docstring> Invokes the syscall lchown. See 'man 2 lchown' for more information. Arguments: file(char): file owner(uid_t): owner group(gid_t): group </%docstring> ${syscall('SYS_lchown', file, owner, group...
* propt Mon, 1992 Apr 06 19:58:15 * - popt pulldown include win1_keys_wman include win1_keys_wstatus include win1_keys_wwork include win1_keys_wdef_long include win1_keys_qdos_pt include win1_mac_oli include win1_spread_keys section prog xdef pld_popt,ini_popt,edt_strg xdef mea_pook,mea_poes,mea_poef,me...
; A092756: Partial sums of round(exp(n)). ; Submitted by Jon Maiga ; 3,10,30,85,233,636,1733,4714,12817,34843,94717,257472,699885,1902489,5171506,14057617,38212570,103872539,282354840,767520035,2086335769,5671248615,15416052061,41905174191,113910073528,309639682957 add $0,1 lpb $0 mov $2,$0 sub $0,1 seq $2,227 ;...
// Moons.cpp // OpenGL SuperBible, 3rd Edition // Richard S. Wright Jr. // rwright@starstonesoftware.com #include "../../shared/gltools.h" // OpenGL toolkit #include <string.h> /////////////////////////////// // Define object names #define EARTH 1 #define MARS 2 #define MOON1 3 #define MOON2 4 ///////////////////...
; This file is intended to be sourced by another. ; It defines subroutines for input and output. ; Prints a string. ; ra = Address of the start of the string. ; rb = Starting address to print to. print: ; The following code is like a while loop. ; Pseudocode: ; while ((ac = memory[ra]) != 0) { ; memory[rb]...
;******************************************************************************* ; Include: OS9 ; Version: 1.00 ; Written: August 13, 1990 ; Updated: September 1, 1990 ; Author : Tony G. Papadimitriou ; Purpose: This is an include file with code necessary to emulate the OS-9 ; operating system (Level One, Ver....
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...