text
stringlengths
1
1.05M
// ui #include <core/ui_ctrlmeta.h> #include <core/ui_manager.h> #include <control/ui_image.h> #include <container/pod_hash.h> #include <resource/ui_image_res.h> // ui namespace namespace LongUI { // UIImage类 元信息 LUI_CONTROL_META_INFO(UIImage, "image"); } /// <summary> /// Initializes a new instance of the ...
; A320577: Number of isosceles triangles whose vertices are the vertices of a regular n-gon. ; 1,4,10,8,21,24,30,40,55,52,78,84,95,112,136,132,171,180,196,220,253,248,300,312,333,364,406,400,465,480,506,544,595,588,666,684,715,760,820,812,903,924,960,1012,1081,1072,1176,1200,1241,1300,1378,1368,1485,1512,1558,1624,1711...
/****************************************************************** * Section 13 Challenge * Movie.cpp * * Models a Movie with the following atttributes * * std::string name - the name of the movie * std::string rating - G, PG, PG-13, R * int watched - the number of times you've watched the movie * ********...
SECTION code_clib SECTION code_nirvanam PUBLIC asm_NIRVANAM_stop EXTERN _NIRVANAM_ISR_STOP asm_NIRVANAM_stop: ld hl,_NIRVANAM_ISR_STOP ld ($fdfe),hl ret
;;;;;;;;;;;;;;;;;;;;;;;; ; Author: Noah Howard ; ; Assignemnt 8 COS 235 ; ;;;;;;;;;;;;;;;;;;;;;;;; ; This code was a port of the following C function, in assembly: ; main() { ; int I, J, B[10] ; ; ; for(I = 0 ; I < 10 ; I++) { ; J = I + 1; ; if ((I % 2) == 0) ; B[I] = J ; ; else ; B[I] = 1 ...
/* Copyright 2017 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...
# ifndef CPPAD_CORE_DEPENDENT_HPP # define CPPAD_CORE_DEPENDENT_HPP /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x861a, %rdx nop nop nop sub %r15, %r15 movups (%rdx), %xmm5 vpextrq $1, %xmm5, %r12 nop nop xor $16175, %rax lea addresses_WT_ht+0xc37a, %rdi nop nop sub $27241...
; A023546: Convolution of natural numbers >= 2 and A023531. ; 0,2,3,4,7,9,11,13,17,20,23,26,29,34,38,42,46,50,54,60,65,70,75,80,85,90,97,103,109,115,121,127,133,139,147,154,161,168,175,182,189,196,203,212,220,228,236,244,252,260,268,276,284,294,303,312,321 lpb $0 add $1,$0 sub $0,2 add $2,1 trn $0,$2 add $1,...
; A279521: Maximum numbers of single-direction edges in leveled binary trees with n nodes. ; 0,1,1,2,3,3,3,4,5,6,7,7,7,7,7,8,9,10,11,12,13,14,15,15,15,15,15,15,15,15,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,5...
#include "cheat.h" #include "player.h" #include "keys.h" #include "tools.h" #include <QtMath> extern Player player; extern Tools tools; extern Keys keys; extern int mode; void Cheat::slotCheatHp() { // Cheat: Hp+100 player.SetHp(player.GetHp() + 100); emit change(); } void Cheat::slotCheatAttack(...
; A076662: First differences of A007066. ; 3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2 mov $3,$0 mov $5,2 lpb $5 mov $0,$3 sub $5,1 add $0,$5 mov...
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2013, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition...
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
; A267801: Binary representation of the n-th iteration of the "Rule 213" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by Christian Krause ; 1,11,10011,1110011,111110011,11111110011,1111111110011,111111111110011,11111111111110011,1111111111111110011,111111111111111110011,111111111111...
li t0, -1 li t1, 3 slt s6, t0 ,t1
;-------------------------------------; ; Win32.Benny (c) 1999 by Benny ; ;-------------------------------------; ; ; ; ;Author's description ;--------------------- ; ;Welcome to my second Win32 virus! Don't expect any new things, I only ;present u my last lame virus. Here is it... ; ;Features: ;---------- ; - W...
; Ellipse Workstation 1100 (fictitious computer) ; ROM code (initial boot) ; ; Copyright (c) 2020 Sampo Hippeläinen (hisahi) ; ; 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...
;courtesy of the following website: https://cs.nyu.edu/courses/fall14/CSCI-UA.0436-001/MIPS_Test_Programs.html sub r0,r0,r0 ; set reg[0] to 0, use as base lw r1,0(r0) ; reg[1] <- mem[0] (= 1) lw r2,4(r0) ; reg[2] <- mem[4] (= A) lw r3,8(r0) ; reg[3] <- mem[8] (= B) sub r4,r4,r4 ; reg[4] <-...
; A004657: Expansion of g.f.: (1+x^3)*(1+x^4)/((1-x)*(1-x^2)^2*(1-x^4)). ; 1,1,3,4,9,11,19,24,37,45,63,76,101,119,151,176,217,249,299,340,401,451,523,584,669,741,839,924,1037,1135,1263,1376,1521,1649,1811,1956,2137,2299,2499,2680,2901,3101,3343,3564,3829,4071,4359,4624,4937,5225,5563,5876,6241,6579,6971,7336,7757,8149,...
section .bss $buf2 resb 2 section .text global _prints, _readb, _exit, _start extern _env, _strlen, _entry _prints: push dword [esp+4] ; pushd 'prints' first argument call _strlen mov edx, eax pop ecx ; pop-it back, instead of 'add esp,4' and 'mov ecx, [esp+4]' mov eax, 4 mov ebx, 1 int 0x80 ret _readb:...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x7e1f, %r10 nop nop nop and $1436, %rax mov $0x6162636465666768, %rdx movq %rdx, (%r10) nop dec %r9 lea addresses_WC_ht+0xfe7f, %rsi lea addresses_A_ht+0x5a7f, %rdi nop nop...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x8698, %rsi lea addresses_UC_ht+0x144a8, %rdi nop nop nop nop nop inc %rbx mov $120, %rcx rep movsl nop nop nop nop nop inc %r12 lea addresses_D_ht+0x3398, %r8 nop nop add %rcx...
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Time/TimeSteppers/Cerk3.hpp" #include <cmath> #include <limits> #include "Time/EvolutionOrdering.hpp" #include "Time/History.hpp" #include "Time/TimeStepId.hpp" #include "Utilities/ErrorHandling/Assert.hpp" #include "Utilities/Gsl.hpp" ...
; A192968: Coefficient of x in the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments. ; 0,1,1,3,7,16,33,64,118,210,364,619,1038,1723,2839,4653,7597,12370,20103,32626,52900,85716,138826,224773,363852,588901,953053,1542279,2495683,4038340,6534429,10573204,17108098,27681798,44790424,72472783,117263802,1...
/* * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publi...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xd8d9, %rbp nop xor %rsi, %rsi movw $0x6162, (%rbp) nop nop mfence lea addresses_WC_ht+0x1773f, %r10 nop nop nop xor %r15, %r15 mov $0x6162636465666768, %rbx movq %r...
; Attempt at NeHe's tutorial 17 : Font display lists. ; ; Author: Greg Helps [x86@ozducati.com] ; Date: July 30 2003 ; ; With thanks to NeHe for the OpenGL tutorials <http://nehe.gamedev.net/> ; Inspiration for x86 Assembler from Nico <scalp@bigfoot.com> ; OpenGL x86 includes originally from hardcode <http://bizarrecre...
#ifndef DDS_STREAMS_SUB_DATAREADER_HPP_ #define DDS_STREAMS_SUB_DATAREADER_HPP_ /* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache Licens...
include macros2.asm include number.asm .MODEL LARGE .386 .STACK 200h MAXTEXTSIZE equ 50 .DATA _nAux dd ? _n1 dd ? _n2 dd ? _n3 dd ? _t1 db MAXTEXTSIZE dup (?),'$' _t2 db MAXTEXTSIZE dup (?),'$' _t3 db MAXTEXTSIZE dup (?),'$' T_Bienvenido_al_sistema_de_pruebas db "Bienvenido al sistema de pru...
; ---------------------------------------------------------------------------------------- ; This is a simple asm function called "myfunc" that returns a constant integer 66 ; as function should return into RAX or otheinclueded , we use EAX as value is a simple integer ; ------------------------------------------------...
; A138421: a(n) = (prime(n)^4 - prime(n)^2)/6. ; 2,12,100,392,2420,4732,13872,21660,46552,117740,153760,312132,470680,569492,812912,1314612,2018980,2307020,3357772,4234440,4732152,6490640,7908572,10455720,14753312,17341700,18756712,21844692,23524380,27172432,43354752,49080460,58709432,62213620,82143700,86643800,1012580...
.macro blh to, reg ldr \reg, =\to mov lr, \reg .short 0xF800 .endm .thumb .global DrawingOffset_External .type DrawingOffset_External, %function DrawingOffset_External: cmp r0, #0x0D beq Label1 ldr r1, =DVTrapIDLink ldrb r1, [ r1 ] cmp r0, r1 beq Label2 ldr r1, =HealTileTrapIDLink ldrb r1, [ r1 ] cmp r0,...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.0.3 #11868 (Linux) ;-------------------------------------------------------- ; Processed by Z88DK ;-------------------------------------------------------- EXTERN __divschar EXTERN __divsc...
; A262787: a(n) = 41^(2*n+1). ; 41,68921,115856201,194754273881,327381934393961,550329031716248441,925103102315013629321,1555098314991537910888601,2614120267500775228203738281,4394336169668803158610484050361,7386879101213258109624223688656841,12417343769139486882278320020632149721,20873554875923477449109855954682643681...
; A004090: Sum of digits of Fibonacci numbers. ; 0,1,1,2,3,5,8,4,3,7,10,17,9,8,17,7,24,22,19,14,24,20,17,28,27,19,19,29,21,23,17,31,30,34,37,35,27,35,44,43,24,31,46,41,33,29,35,37,54,55,46,29,48,41,53,58,48,52,73,44,54,53,62,61,51,67,73,59,51,65,62,46,72,64,82,65,66,86,80,58,84,79,64,98,72,89,80,97,69,94,73,68,78,65,89...
// Copyright 2017 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 "flutter/fml/platform/android/jni_weak_ref.h" #include "flutter/fml/logging.h" #include "flutter/fml/platform/android/jni_util.h" namespace fml...
UnknownText_0x1b730b: text_ram wStringBuffer3 text " here…" para "<PLAYER>! Beautiful" line "morning, hey?" done UnknownText_0x1b7331: text_ram wStringBuffer3 text " here…" para "<PLAYER>! Beautiful" line "weather, hey?" done UnknownText_0x1b7357: text_ram wStringBuffer3 text " here…" para "<PLAYER>! ...
#include "KFrameGraphPass.h" KFrameGraphPass::KFrameGraphPass(const std::string& name) : m_Name(name), m_Ref(0), m_ExecutedDenpencies(0), m_Executed(false) { } KFrameGraphPass::~KFrameGraphPass() { } bool KFrameGraphPass::ReadImpl(KFrameGraphBuilder& builder, KFrameGraphID handle) { auto it = std::find(m_ReadRe...
/* Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <algorithm> #include <string> #include "util/sstream.h" #include "util/sexpr/option_declarations.h" #include "kernel/for_each_fn.h" #include "kerne...
; ; ZX81 pseudo graphics routines ; ; cls () -- clear screen ; ; Stefano Bodrato - 2014 ; ; ; $Id: clsgraph.asm,v 1.4 2017/01/02 22:58:00 aralbrec Exp $ ; SECTION code_clib PUBLIC cleargraphics PUBLIC _cleargraphics ;EXTERN loadudg6 EXTERN filltxt ;EXTE...
#include <utility> #include "mvCombo.h" #include "mvApp.h" #include "mvItemRegistry.h" namespace Marvel { void mvCombo::InsertParser(std::map<std::string, mvPythonParser>* parsers) { parsers->insert({ "add_combo", mvPythonParser({ {mvPythonDataType::String, "name"}, {mvPythonDataType::KeywordOnly}, {mvPy...
; ; file: main4.asm ; Multi-module subprogram example program ; ; To create executable: ; Using djgpp: ; nasm -f coff sub4.asm ; nasm -f coff main4.asm ; gcc -o sub4 sub4.o main4.o driver.c asm_io.o ; ; Using Borland C/C++ ; nasm -f obj sub4.asm ; nasm -f obj main4.asm ; bcc32 sub4.obj main4.asm driver.c asm_io.obj ...
// Copyright 2021 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 "ash/webui/personalization_app/personalization_app_ui.h" #include "ash/constants/ash_features.h" #include "ash/grit/ash_personalization_app_reso...
#include "Platform.inc" #include "FarCalls.inc" #include "TemperatureSensor.inc" #include "TestFixture.inc" #include "../InitialiseAfterTemperatureSensorMock.inc" radix decimal InitialisationChainTest code global testArrange testArrange: fcall initialiseInitialiseAfterTemperatureSensorMock testAct: fcall i...
; A068219: Denominators of coefficients in log(1+x)*(1+x)^(1/3) power series. ; 3,3,9,3,15,9,21,6,27,15,33,9,39,21,45,12,51,27,57,15,63,33,69,18,75,39,81,21,87,45,93,24,99,51,105,27,111,57,117,30,123,63,129,33,135,69,141,36,147,75,153,39,159,81,165,42,171,87,177,45,183,93,189,48,195,99,201,51,207,105,213,54,219,111,225...
/// @file /// @brief Contains Switch::System::OverflowException exception. #pragma once #include "ArithmeticException.hpp" /// @brief The Switch namespace contains all fundamental classes to access Hardware, Os, System, and more. namespace Switch { /// @brief The System namespace contains fundamental classes and ba...
DisplayPCMainMenu:: xor a ld [H_AUTOBGTRANSFERENABLED], a call SaveScreenTilesToBuffer2 ld a, [wNumHoFTeams] and a jr nz, .leaguePCAvailable CheckEvent EVENT_GOT_POKEDEX jr z, .noOaksPC ld a, [wNumHoFTeams] and a jr nz, .leaguePCAvailable coord hl, 0, 0 lb bc, 8, 14 jr .next .noOaksPC coord hl, 0, 0 lb ...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="file, owner, group"/> <%docstring> Invokes the syscall chown. See 'man 2 chown' for more information. Arguments: file(char): file owner(uid_t): owner group(gid_t): group </%docstring> ${syscall('SYS_chown', file, owner, group...
//===-- Implementation of atoll -------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/* * Copyright (c) 2008, 2018, 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 ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r15 push %r9 push %rax push %rcx push %rsi // Load mov $0x580248000000095b, %r10 nop nop nop xor $33160, %r12 vmovups (%r10), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $0, %xmm7, %r15 nop nop nop nop ...
#include <stdio.h> #include <stdlib.h> #include <libusb-1.0/libusb.h> #include <unistd.h> #include <pthread.h> #include <time.h> #include <stdint.h> #include <semaphore.h> #include <fstream> #include "sdk.h" #include<sys/types.h> #include<sys/stat.h> #include<fcntl.h> #include <opencv2/core/core.hpp> #inc...
; A063434: Integers n > 10577 such that the 'Reverse and Add!' trajectory of n joins the trajectory of 10577. ; Submitted by Jon Maiga ; 11567,12557,13547,14537,15527,16517,17507,20576,21566,22556,23546,24536,25526,26516,27506,30575,31565,32555,33545,34535,35525,36515,37505,40574,41564,42554,43544,44534,45524,46514,475...
#include <exit/policy.hpp> namespace llarp { namespace exit { Policy::~Policy() { } bool Policy::BEncode(llarp_buffer_t *buf) const { if(!bencode_start_dict(buf)) return false; if(!BEncodeWriteDictInt("a", proto, buf)) return false; if(!BEncodeWriteDictInt...
/* * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publi...
SECTION code_clib SECTION code_l PUBLIC l_eat_digits EXTERN l_char2num l_eat_digits: ; advance buffer pointer past digits ; ; enter : hl = char * ; c = base ; ; exit : hl = char * (points past number) ; ; uses : af, hl ld a,(hl) call l_char2num ret c cp c r...
; A204697: Final nonzero digit of n^n in base 3. ; 1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,2,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,2,1,2,1,1,1,1,1,2,1,1,1,2,1,2,1,1,1,2,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,2,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1 lpb $0 dif $0,3 trn $1,$0 lpe add $0,1 lpb $0 dif $0,6 mov $1,1 lpe add $1,1 mov $0,$1
lc r4, 0x80000001 lc r5, 0x80000000 ges r6, r4, r5 halt #@expected values #r4 = 0x80000001 #r5 = 0x80000000 #r6 = 0x00000001 #pc = -2147483624 #e0 = 0 #e1 = 0 #e2 = 0 #e3 = 0
; A195177: a(n) = 3*n - floor(2*n*sqrt(2)). ; 0,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,11,11,11,11,11,11,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,16,17,17,17,17,17,17,18,18,18,18,18,19,19,19,19,...
; A102002: Weighted tribonacci (1,2,4), companion to A102001. ; Submitted by Jon Maiga ; 1,7,13,31,85,199,493,1231,3013,7447,18397,45343,111925,276199,681421,1681519,4149157,10237879,25262269,62334655,153810709,379529095,936489133,2310790159,5701884805,14069421655,34716351901,85662734431,211373124853,521564001319 lpb ...
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="fdout, iov, count, flags"/> <%docstring> Invokes the syscall vmsplice. See 'man 2 vmsplice' for more information. Arguments: fdout(int): fdout iov(iovec): iov count(size_t): count flags(unsigned): flags </%docstring> ${sysca...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %r8 push %rbp push %rdx lea addresses_normal_ht+0x853b, %r10 nop sub %rbp, %rbp movl $0x61626364, (%r10) nop nop nop nop sub %r11, %r11 lea addresses_D_ht+0xb2bb, %r12 nop dec %r11 mov (%r12), %r15w nop and $62711, %r10 lea addres...
#include "list.hpp" const std::set<std::string>& enumerator::enumerations::List::Values() const { return values; } const std::string& enumerator::enumerations::List::Name() const { return name; } #include "registrar.hpp" REGISTER_DEFAULT(enumerator::enumerations::Enumeration, enumerator::enumerations::List, "Simple li...
; A281482: a(n) = 2^(n + 1) * (2^n + 1) - 1. ; 3,11,39,143,543,2111,8319,33023,131583,525311,2099199,8392703,33562623,134234111,536903679,2147549183,8590065663,34360000511,137439477759,549756862463,2199025352703,8796097216511,35184380477439,140737505132543,562949986975743,2251799880794111,9007199388958719,3602879728739...
title prac03 .model small include irvine32.inc .code main proc far .startup mov eax, 10000h add eax, 40000h sub eax, 20000h .exit main endp end
/* Copyright (c) 2013, SMB Phone Inc. 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 notice, this list of conditions and the ...
; A128587: Row sums of A128586. ; 1,1,1,-1,3,-5,9,-15,25,-41,67,-109,177,-287,465,-753,1219,-1973,3193,-5167,8361,-13529,21891,-35421,57313,-92735,150049,-242785,392835,-635621,1028457,-1664079,2692537,-4356617,7049155,-11405773,18454929,-29860703,48315633,-78176337,126491971,-204668309,331160281,-535828591,866988873,-...
extern m7_ippsPrimeSet_BN:function extern n8_ippsPrimeSet_BN:function extern y8_ippsPrimeSet_BN:function extern e9_ippsPrimeSet_BN:function extern l9_ippsPrimeSet_BN:function extern n0_ippsPrimeSet_BN:function extern k0_ippsPrimeSet_BN:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment ...
db 0 ; species ID placeholder db 60, 40, 60, 35, 40, 60 ; hp atk def spd sat sdf db GRASS, GRASS ; type db 255 ; catch rate db 65 ; base exp db NO_ITEM, BERRY ; items db GENDER_F12_5 ; gender ratio db 100 ; unknown 1 db 15 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/shroomish/...
SECTION code_fp_am9511 PUBLIC cam32_sccz80_acosh EXTERN _am9511_acosh defc cam32_sccz80_acosh = _am9511_acosh
; A268088: Number of nX3 0..2 arrays with every repeated value in every row not one larger and in every column one larger mod 3 than the previous repeated value, and upper left element zero. ; Submitted by Jon Maiga ; 9,243,4608,83349,1339893,20699712,303284403,4320438183,59802048000,811951057125,10831783903677,1425915...
#ifndef SRC_CPP_PROGRESS_HPP_ #define SRC_CPP_PROGRESS_HPP_ #include <iostream> void progress(int phase, int64_t n, int64_t max_n) { float p = (100.0 / 4) * ((phase - 1.0) + (1.0 * n / max_n)); std::cout << "Progress: " << p << std::endl; } #endif // SRC_CPP_PROGRESS_HPP
/*========================================================================= * * Copyright RTK Consortium * * 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.apa...
; How shold be ; INCLUDE "src/constants/index.asm" ; INCLUDE "src/core/index.asm" ; INCLUDE "src/data/index.asm" ; INCLUDE "src/game_logic/index.asm" ; INCLUDE "src/graphics/index.asm" ; INCLUDE "src/utils/utils.asm" ; How VSCode plugin understands INCLUDE "src/constants/hardware.inc" INCLUDE "src/core/header.asm" IN...
/* * Copyright 2011 Nate Koenig & Andrew Howard * * 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 l...
/* --------------------------- # AnalogtoDigital library # --------------------------- Library to convert analog pins to digital pins Arduino/ATMEGA328P-PU pin A0 = 14 pin A1 = 15 pin A2 = 16 pin A3 = 17 pin A4 = 18 (excluded) --> I2C SDA pin A5 = 19 (excluded) --> I2C SCL */ #include "A...
; A070478: a(n) = n^3 mod 16. ; 0,1,8,11,0,13,8,7,0,9,8,3,0,5,8,15,0,1,8,11,0,13,8,7,0,9,8,3,0,5,8,15,0,1,8,11,0,13,8,7,0,9,8,3,0,5,8,15,0,1,8,11,0,13,8,7,0,9,8,3,0,5,8,15,0,1,8,11,0,13,8,7,0,9,8,3,0,5,8,15,0,1,8,11,0,13,8,7,0,9,8,3,0,5,8,15,0,1,8,11,0,13,8,7,0,9,8,3,0,5,8,15,0,1,8,11,0,13,8,7,0,9,8,3,0,5,8,15,0,1,8,11...
.data str1: .asciiz "Introduza um numero: " str2: .asciiz "\nO valor em bin'ario e': " .eqv print_str, 4 .eqv read_int, 5 .eqv print_char, 11 .text .globl main main: ori $t0, $0, 0 # value ori $t1, $0, 0 # bit ori $t2, $0, 0 # i ori $v0, $0, print_str la $a0, str1 syscall ori $v0, $0, read_int syscall ...
; A135182: p^5 + p^3 + p^2. Exponents are prime numbers and p = prime(n). ; 44,279,3275,17199,162503,373659,1425059,2483319,6449039,20536379,28659903,69395979,115926803,147089799,229451039,418347179,715133159,844827003,1350430359,1804592303,2073465939,3077555679,3939619319,5584772339,8588262339,10511141003,11593844079,...
mov eax,DWORD PTR [rbp-0x10] cmp eax,DWORD PTR [rbp-0xc] jae 0x400a67 cmp DWORD PTR [rbp-0x10],0x0 je 0x400a5b mov edx,DWORD PTR [rbp-0x10] mov eax,edx add eax,eax add eax,edx mov DWORD PTR [rbp-0x8],eax mov eax,DWORD PTR [rbp-0xc] not eax mov DWORD PTR [rbp-0x4],eax mov edx...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2015-2020 The PIVX developers // Copyright (c) 2021 The INFINCOIN CASH developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/...
#include <iostream> #include <fstream> #include <sstream> #include <stdexcept> #include <string> namespace ariel { class NumberWithUnits { private: double numOfUnit; std::string unitType; static double convertNumOfUnit(const NumberWithUnits &unit, const std::string &newUnitType); ...
BITS 16 ORG 32768 disk_buffer equ 0E000h ; ------------------------------------------------------------------ ; MichalOS memory map: ; Segment 0000h: ; - 0000h - 03FFh = Interrupt vector table ; - 0400h - 04FFh = BIOS data area ; - 1000h - 1FFFh = Video Software Renderer memory ; - 4000h - 4FFFh = Mi...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/Scripting/Natives/Generated/red/Event.hpp> namespace RED4ext { namespace game::audio::events { struct SoundSwitch : red::Event { static constexpr...
// compile with xkas-plus // custom credits arch snes.cpu lorom // Defines for the script and credits data define speed $f770 define set $9a17 define delay $9a0d define draw $0000 define end $f6fe, $99fe define blank $1fc0 define row $0040 define pink "table tables/pink.tbl" define yellow "table tables...
; Copyright © 2018, VideoLAN and dav1d authors ; Copyright © 2018, 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...
#include "PathFollowing.h" #include "Player.h" #include "Setting.h" PathFollowing::PathFollowing(Object * myself) { Myself = myself; behaviourWeight = 0; bTypes = PATHING; } PathFollowing::~PathFollowing() { } Vector2 PathFollowing::update(float deltaTime) { float speed = 150.0f; if (((Player*)Myself...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: User/Text FILE: textMethodType.asm METHODS: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ---...
_kill: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char **argv) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
#include "stdafx.h" #include "QuestExpProgMng.h" #include "QuestExpInfo.h" #include "QuestExpUserInfo.h" #include "QuestExpUserMng.h" #include "QuestExpLuaBind.h" #include "user.h" #include "TLog.h" #include "GameMain.h" #include "winutil.h" #include "gObjMonster.h" #include "BuffEffectSlot.h" #include "DSProtocol.h" #...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # E...
; A228320: The Wiener index of the graph obtained by applying Mycielski's construction to the cycle graph C(n). ; 203,280,369,470,583,708,845,994,1155,1328,1513,1710,1919,2140,2373,2618,2875,3144,3425,3718,4023,4340,4669,5010,5363,5728,6105,6494,6895,7308,7733,8170,8619,9080,9553,10038,10535,11044,11565 add $0,6 mul $...
class Solution { public: int XXX(TreeNode* root) { int h=0; queue<TreeNode*>q; if(root) q.push(root); while(q.size()){ int len=q.size(); while(len--){ auto t=q.front(); q.pop(); if(t->left) q.push(t->left); ...
// unihernandez22 // https://open.kattis.com/problems/cudoviste // brute force #include<iostream> #include<string.h> #include<vector> #include<bits/stdc++.h> using namespace std; bool canApachurrar(vector<string> p, int i, int j) { return p[i][j] != '#' && p[i+1][j] != '#' && p[i][j+1] != '#' &...
; A243282: Partial sums of the characteristic function for A070003. ; 0,0,0,1,1,1,1,2,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,6,6,7,7,7,7,7,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,10,11,11,11,11,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,14,14,14,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,1...
# test various preprocessor directive edge cases !include "fake" !include fake !include fake" !include "fake !include !fake ! # constant redefinition const redef 4 const redef 4 # constants must be integers const non_integer_const non_integer_value # argument counts mov too many args gen test # too few args # c...
#include "stdafx.h" #include "BaseComponent.h" #include "GameObject.h" UINT BaseComponent::m_NextID{}; vector<BaseComponent*> BaseComponent::m_pAllComps{}; BaseComponent::BaseComponent() : m_pGameObject(nullptr), m_IsInitialized(false) {} void BaseComponent::RootInitialize(const GameContext& gameContext) { if(m_IsI...
; A334659: Dirichlet g.f.: 1 / zeta(s-3). ; 1,-8,-27,0,-125,216,-343,0,0,1000,-1331,0,-2197,2744,3375,0,-4913,0,-6859,0,9261,10648,-12167,0,0,17576,0,0,-24389,-27000,-29791,0,35937,39304,42875,0,-50653,54872,59319,0,-68921,-74088,-79507,0,0,97336,-103823,0,0,0,132651,0,-148877 mov $1,$0 cal $0,8683 ; Möbius (or Moebiu...
; A174605: Partial sums of A011371. ; 0,0,1,2,5,8,12,16,23,30,38,46,56,66,77,88,103,118,134,150,168,186,205,224,246,268,291,314,339,364,390,416,447,478,510,542,576,610,645,680,718,756,795,834,875,916,958,1000,1046,1092,1139,1186,1235,1284,1334 mov $12,$0 mov $14,$0 lpb $14 clr $0,12 mov $0,$12 sub $14,1 sub $0...