text
stringlengths
1
1.05M
// Copyright 2019 The gVisor 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...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1efb4, %rdx nop nop sub $28339, %r13 mov $0x6162636465666768, %rcx movq %rcx, (%rdx) nop nop nop add $3058, %rdx lea addresses_D_ht+0x8204, %r15 inc %rax mov (%r15), %r12 nop...
db 0 ; species ID placeholder db 150, 160, 100, 100, 95, 65 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 45 ; catch rate db 252 ; 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/slaking/...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Epson 9-pin Print Driver FILE: epmx9ControlCodes.asm AUTHOR: Dave Durran, 1 April 1990 ROUTINES: Name Description ---- --------...
INCLUDE "hardware.inc" SECTION "Helper Functions",HOME ;-------------------------------------------------------------------------- ;- wait_ly() b = ly to wait for - ;-------------------------------------------------------------------------- wait_ly:: ld c,rLY & $FF .no...
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/gmm_helper/gmm_helper.h" #include "shared/source/os_interface/windows/gdi_interface.h" #include "shared/source/os_interface/windows/os_environment_win.h" #include "shared/source/os_interface/windows/wddm/wddm.h...
lc r4, 0x00000000 lc r5, 0x0000101f lc r6, 0x00000000 tlbse r6, r4 lc r8, 0x40000000 lc r9, 0x0000101f lc r10, 0x00000001 tlbse r10, r8 lc r11, 0xdeadbeef lc r12, 0x3fffffff lc r13, 0x3fffffff st4 r11, r12, 1 ld1 r30, r13, 1 halt #@expected values #r4 = 0x0000000...
frame 1, 05 frame 2, 38 frame 1, 08 frame 0, 20 setrepeat 2 frame 0, 06 frame 4, 06 dorepeat 5 endanim
%macro print 2 mov rax,01; mov rdi,01; mov rsi,%1; mov rdx,%2; syscall; %endmacro %macro read 2 mov rax,00; mov rdi,00; mov rsi,%1; mov rdx,%2; syscall; %endmacro section .data dash: db "-------------------------------------------",10; lenDash: equ $-dash; option1: db " Menu",10,"Press 1: Repe...
; Lab3b Part I - Subroutine to prompt the user to enter a key ; get a character from the keyboard ; and check if the user presses 'y' ; Constant definitions DISPLAY .EQU 04E9h ; address of Libra display ; -------------------------------------------------------- ; In...
; A004736: Triangle read by rows: row n lists the first n positive integers in decreasing order. ; 1,2,1,3,2,1,4,3,2,1,5,4,3,2,1,6,5,4,3,2,1,7,6,5,4,3,2,1,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,10,9,8,7,6,5,4,3,2,1,11,10,9,8,7,6,5,4,3,2,1,12,11,10,9,8,7,6,5,4,3,2,1,13,12,11,10,9,8,7,6,5,4,3,2,1,14,13,12,11,10,9,8,7,6,5,4,3,...
/* * Copyright (c) 2011-2017, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, w...
// Copyright (c) YugaByte, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
; A033275: Number of diagonal dissections of an n-gon into 3 regions. ; 0,5,21,56,120,225,385,616,936,1365,1925,2640,3536,4641,5985,7600,9520,11781,14421,17480,21000,25025,29601,34776,40600,47125,54405,62496,71456,81345,92225,104160,117216,131461,146965,163800,182040,201761,223041,245960,270600,297045,325381,355696,388...
; ; Plotting in Sam modes ; SECTION code_graphics PUBLIC xor_MODE4 xor_MODE4: defc NEEDxor = 1 INCLUDE "pixel_MODE4.inc"
/******************************************************************************* * * MIT License * * Copyright (c) 2017 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
/* 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...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: KLib FILE: Graphics/graphicsCalcEllipse.asm AUTHOR: Jim DeFrisco, 27 July 1990 ROUTINES: Name Description ---- ----------- EXT CalcEll...
default rel global gc global add global val global main global ga global gb SECTION .text add: push rbp mov rbp, rsp mov dword [rbp-14H], edi lea rax, [rel L_001] mov qword [rbp-10H], rax lea rax, [rel L_002] mov qword [rbp-...
; A170447: Number of reduced words of length n in Coxeter group on 6 generators S_i with relations (S_i)^2 = (S_i S_j)^45 = I. ; 1,6,30,150,750,3750,18750,93750,468750,2343750,11718750,58593750,292968750,1464843750,7324218750,36621093750,183105468750,915527343750,4577636718750,22888183593750,114440917968750,57220458984...
; Copyright (c) 2010-2011, Linaro Limited ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; ; * Redistributions of source code must retain the above copyright ; notice, this list o...
; A013724: a(n) = 19^(2*n + 1). ; 19,6859,2476099,893871739,322687697779,116490258898219,42052983462257059,15181127029874798299,5480386857784802185939,1978419655660313589123979,714209495693373205673756419,257829627945307727248226067259,93076495688256089536609610280499,33600614943460448322716069311260139 mul $0,2 mov $...
; macro.incl.asm ; ; Various inclusion macros to make stuff bit easier ; param(n) where n is the zero-based index of the parameter ; Retrieves in the current function which sets up a stack the specified parameter. Returns the memory address ; of the parameter retrieved via ebp (since the stack is assumed to be setup f...
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2016 Pelican Mapping * http://osgearth.org * * osgEarth 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 vers...
/* $Id$ * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version * 2.0 (the "License"); you ...
; A021639: Decimal expansion of 1/635. ; Submitted by Jon Maiga ; 0,0,1,5,7,4,8,0,3,1,4,9,6,0,6,2,9,9,2,1,2,5,9,8,4,2,5,1,9,6,8,5,0,3,9,3,7,0,0,7,8,7,4,0,1,5,7,4,8,0,3,1,4,9,6,0,6,2,9,9,2,1,2,5,9,8,4,2,5,1,9,6,8,5,0,3,9,3,7,0,0,7,8,7,4,0,1,5,7,4,8,0,3,1,4,9,6,0,6 seq $0,199684 ; 4*10^n+1. div $0,254 mod $0,10
_sh: 文件格式 elf32-i386 Disassembly of section .text: 00000000 <main>: return 0; } int main(void) { 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 push %ebp b...
%ifdef CONFIG { "RegData": { "XMM0": ["0x4142434445464748", "0x5152535455565758"], "XMM1": ["0x6162636465666768", "0x7172737475767778"], "XMM2": ["0x4546474845464748", "0x4546474845464748"], "XMM3": ["0x5152535451525354", "0x5152535451525354"] }, "MemoryRegions": { "0x100000000": "4096" } } ...
; A320524: Number of chiral pairs of a row of n colors using 6 or fewer colors. ; 0,15,90,630,3780,23220,139320,839160,5034960,30229200,181375200,1088367840,6530207040,39181942080,235091652480,1410554113920,8463324683520,50779973295360,304679839772160,1828079189798400,10968475138790400,65810851739735040 mov $3,$0 div ...
; An interpreter bitness check. stk 3 org 0 seg 0 #call("bitness") out r1 end ; label-less bitness test. ; r1 <= interpreter's bitness @bitness push r2 clr r1 mov r2, 1 nav r2 raw .[ inc r1 asl r2 nav r2 raw .] pop r2 ret
;文件名:port_hd_hello.asm ;功能:1.读取硬盘逻辑扇区号100处的1个扇区到物理内存0x10000处 ; 2.并显示扇区开头的‘hello' ; 3.MBR程序 ;目的:练习对硬盘的端口访问 ;说明:本末终始2020-11-24,参考李忠c08_mbr.asm app_lba_start equ 100 ;'hello'在第100扇区(LBA) SECTION hello align=16 vstart=0x7c00 ;设置堆栈段和栈指令 xor ax,ax mov ss,ax mov sp,ax ;设置DS和ES ...
@@@@@@@@@@@@@@@@@@ Gets loaded into 0x62c0 (0x62c6) @@ Input: @@ OR[280]: could be 0 - upper byte: concentrator ordinal? number in character @@ OR[289]: @@ OR[256]: @@ OR[257]: pointer to some kind of a 'concentrator ordinal' desc. @@ offset 0: some bit-field @@ bit 15 - 1: concentrator active @@ ...
; A246170: Beatty sequence for sqrt(14). ; 3,7,11,14,18,22,26,29,33,37,41,44,48,52,56,59,63,67,71,74,78,82,86,89,93,97,101,104,108,112,115,119,123,127,130,134,138,142,145,149,153,157,160,164,168,172,175,179,183,187,190,194,198,202,205,209,213,217,220,224,228,231,235,239,243,246,250,254,258,261,265,269,273,276,280,284,2...
; A085259: Integer part of the conversion from Centigrade to Fahrenheit. ; Submitted by Christian Krause ; 32,33,35,37,39,41,42,44,46,48,50,51,53,55,57,59,60,62,64,66,68,69,71,73,75,77,78,80,82,84,86,87,89,91,93,95,96,98,100,102,104,105,107,109,111,113,114,116,118,120,122,123,125,127,129,131,132,134,136,138,140 mul $0...
// ConsoleScreen.cpp : 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다. // #include <iostream> #include "TextScreen.h" #include "Player.h" #include "Monster.h" #include <crtdbg.h> #include "ConsoleGlobalInst.h" int main() { _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); MainScreen.SettingScr...
section .data hello db "Hi", 0x0a len equ $ - hello section .text global hi hi: mov rax, 1 mov rdi, 1 mov rsi, hello mov rdx, len syscall ret
#include"iostream" using namespace std; union { unsigned char a; unsigned int i; unsigned short si; }u; int main() { unsigned short int i=0; int j=8,p; p=j<<1; i=i-1; cout<<"i="<<i<<endl; cout<<"p="<<p<<endl; cout<<endl; u.i=0xf0f1f2f3; cout<<hex<<u.i<<endl; cout<<hex<<int(u.a)<<endl; cout<<hex<<int(u....
SECTION bss_esxdos PUBLIC __esx_stream_card_flags PUBLIC __esx_stream_protocol PUBLIC __esx_stream_protocol_address PUBLIC __esx_stream_protocol_sectors PUBLIC _esx_stream_io_port PUBLIC _esx_stream_protocol PUBLIC _esx_stream_card_address PUBLIC _esx_stream_sectors_remaining __esx_stream_card_flags: defb 0 __es...
#include "profile_clock.h"
-- 7 Billion Humans -- -- 24: Budget Brigade 1 -- -- Size: 7/7 -- -- Speed: 187/53 -- a: if s == printer and myitem == nothing: takefrom s endif if e == person and myitem == datacube: giveto e endif if s == shredder and myitem == datacube: giveto s endif jump a
#include "pch.h" #include "ObjectManagerView.h" #include "resource.h" #include "SortHelper.h" #include "NtDll.h" #include "ResourceManager.h" #include "IconHelper.h" //#include "SecurityInfo.h" #include "ClipboardHelper.h" #include "ListViewhelper.h" #include "ObjectHelpers.h" CString CObjectManagerView::GetDirectoryP...
; A132123: a(n) = n * (2*n + 1) * (6*n^2 + 4*n + 1) / 3. ; 0,11,110,469,1356,3135,6266,11305,18904,29811,44870,65021,91300,124839,166866,218705,281776,357595,447774,554021,678140,822031,987690,1177209,1392776,1636675,1911286,2219085,2562644,2944631,3367810,3835041,4349280,4913579,5531086,6205045,6938796,7735775,8599514...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r8 push %rbx push %rdi push %rsi lea addresses_WC_ht+0x196f2, %r15 nop nop sub %rbx, %rbx mov (%r15), %r14 nop nop nop nop and $58931, %rdi lea addresses_WC_ht+0x15e2, %r8 clflush (%r8) nop xor $30154, %rsi movups (%r8), %xmm7 vpextrq $0, ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x19282, %rsi lea addresses_D_ht+0x1cab, %rdi nop nop nop and %r14, %r14 mov $51, %rcx rep movsq nop nop nop nop nop xor %rbx, %rbx lea addresses_A_ht+0xba, %r14 nop xor $1...
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it) ; * ; * Licens...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t bv_stack_size(bv_stack_t *s) ; ; Return number of items in stack. ; ; =============================================================== SECTION code_adt_bv_stack PU...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "pch.h" #include "ReactPromise.h" #include "JSValueWriter.h" namespace winrt::Microsoft::ReactNative { static const char *ErrorDefaultCode = "EUNSPECIFIED"; static const char *ErrorDefaultMessage = "Error not specified."; // Keys fo...
frame 1, 08 frame 2, 08 frame 3, 12 frame 4, 06 frame 3, 05 frame 5, 06 frame 3, 05 setrepeat 4 frame 3, 05 frame 6, 05 dorepeat 8 frame 6, 15 frame 2, 06 frame 1, 06 endanim
#include "RpcServer.h" #include "rpcHeader.pb.h" #include <google/protobuf/descriptor.h> #include "burger/net/Buffer.h" using namespace burger; using namespace burger::net; using namespace burger::rpc; using namespace std::placeholders; namespace { const size_t kHeaderPrefixNum = 4; } // namespace void RpcSer...
#include <string> #include <vector> using namespace std; vector<int> solution(string s) { vector<int> answer(2, 0); int i = 0; // for loop int len = 0; while(s != "1") { len = 0; answer[0]++; // 0 세기 for(i=0; i<s.size(); i++) { if(...
; ***************************************************************************** ; ***************************************************************************** ; ; Name : enctest.asm ; Purpose : Encode test code ; Author : Paul Robson (paul@robsons.org.uk) ; Date : 14th January 2020 ; ; *************************...
db 0 ; species ID placeholder db 85, 73, 80, 62, 98, 115 ; hp atk def spd sat sdf db PSYCHIC, DARK ; type db 75 ; catch rate db 165 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/hypno/fro...
[org 0x0100] jmp start num1: dw 10,20,30,40,50,60,70,80,90,100 result: dw 0 start: mov ax,0 mov cx,5 mov bx,num1 loop: add ax,[num1+bx] add bx,2 cmp bx,10 jne loop mov [result],ax mov ax, 0x4c00 int 0x21
; A269965: Start with a square; at each stage add a square at each expandable vertex so that the ratio between the side of the squares at stage n+1 and at stage n is the golden ratio phi=0.618...; a(n) is the number of squares in a portion of the n-th stage (see below) ; Submitted by Christian Krause ; 1,3,10,26,63,145...
/* ;******************************************************************************************************** ; uC/OS-III ; The Real-Time Kernel ; ; Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com ; ; ...
Label -mem-manager-initialize DLabel $heap-start-ptr DataZ 4 DLabel $heap-after-ptr DataZ 4 DLabel $heap-first-free DataZ 4 ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: helpFile.asm AUTHOR: Gene Anderson, Oct 23, 1992 ROUTINES: Name Description ---- ----------- HFOpenFile Open the help file. HFS...
/* * Copyright (c) 2012 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...
; A085280: Expansion of (1-4x+x^2)/((1-x)(1-3x)(1-4x)). ; 1,4,14,48,166,584,2094,7648,28406,107064,408574,1575248,6123846,23963944,94261454,372262848,1474702486,5855763224,23293912734,92788230448,369990660326,1476475856904,5895443074414,23550391238048,94107421773366,376147257556984,1503741741618494,6012425100645648,240...
[BITS 32] global syscall_strncpy_user_to_kernel global syscall_strncpy_kernel_to_user global kernel_memncpy_absolute [SECTION .text] syscall_strncpy_user_to_kernel: push ebp mov ebp, esp ; callee save register push ebx push esi push edi push ds mov...
#include "gameobject.h" #include <iostream> using namespace std; GameObject::GameObject(int x, int y, int width, int length) : x(x), y(y), width(width), length(length) {} BOOL GameObject::setCursor(int x, int y) { COORD c = {x, y}; return SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDL...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
/****************************************************************************** Copyright 2019-2020 Evgeny Gorodetskiy 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/lic...
#include <boost/python.hpp> #include "../../def_submodule.hpp" #include "../../../../../light/spline.hpp" typedef GS_DDMRM::S_IceRay::S_light::S_type::GT_size GTs_size; typedef GS_DDMRM::S_IceRay::S_type::GT_scalar GTs_scalar; typedef GS_DDMRM::S_IceRay::S_type::S_color::GT_scalar GTs_colo...
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosMkDir DOS wrapper ; ; (c) osFree Project 2018, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev (y...
;; ;; Copyright (c) 2012-2020, 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...
SECTION code_clib SECTION code_math EXTERN l_z80n_mulu_16_16x16 EXTERN l_neg_hl, l_neg_de PUBLIC l_z80n_muls_16_16x16 l_z80n_muls_16_16x16: ; multiplication of two 16-bit signed numbers into a 16-bit product ; ; enter : hl = 16-bit signed multiplier ; de = 16-bit signed multiplicand ; ...
; ; jquant.asm - sample data conversion and quantization (MMX) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file...
// Copyright (c) 2011-2013 The EvolveChainX Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "util.h" #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_SUITE(base64_tests) BOOST_AUTO_TEST_CASE(ba...
/** * @file exception-factory.hpp * @author Maximilien Naveau (maximilien.naveau@gmail.com) * @license License BSD-3-Clause * @copyright Copyright (c) 2019, New York University and Max Planck * Gesellschaft. * @date 2019-05-22 */ #ifndef EXCEPTION_FACTORY_HH #define EXCEPTION_FACTORY_HH /* --------------------...
; A216209: Triangle read by rows: T(n,k) = n+k with 0 <= k <= 2*n. ; 0,1,2,3,2,3,4,5,6,3,4,5,6,7,8,9,4,5,6,7,8,9,10,11,12,5,6,7,8,9,10,11,12,13,14,15,6,7,8,9,10,11,12,13,14,15,16,17,18,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 mov $1,$0 lpb $0 sub $0,1 sub $1,$2 add $2,2 trn $0,$2 lpe
%include "boot.inc" section loader vstart=LOADER_BASE_ADDR ; 简单的输出跳动的字符串 "1 MBR" mov byte [gs:0x00], '2' mov byte [gs:0x01], 0xA4 mov byte [gs:0x02], ' ' mov byte [gs:0x03], 0xA4 mov byte [gs:0x04], 'L' mov byte [gs:0x05], 0xA4 mov byte [gs:0x06], 'O' mov byte [gs:0x07], 0xA4 mov byte [gs:0x08], 'A' mov byte [gs:...
; A040030: Continued fraction for sqrt(37). ; 6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12...
; A074550: a(n) = 3^n + 4^n + 8^n. ; Submitted by Jamie Morken(s1.) ; 3,15,89,603,4433,34035,266969,2115723,16849313,134499555,1074849449,8594306043,68736785393,549824517075,4398319729529,35185460179563,281479314724673,2251817122694595,18014467616379209,144115464116024283,1152922607605259153,9223376445361640115,7378699...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // Resource Bindings: // // Name Type Format Dim Slot Elements // ------------------------------ ---------- ------- ----------- ---- -------- // Buffer0 texture byte ...
#include "game/skirmish/directions.hpp" namespace qrw { namespace Directions { const Coordinates NORTH(0, -1); const Coordinates EAST(1, 0); const Coordinates SOUTH(0, 1); const Coordinates WEST(-1, 0); } // namespace Directions } // namespace qrw
/* * Copyright 2016-2021 Arm 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 a...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1b775, %r8 nop nop nop add %r10, %r10 and $0xffffffffffffffc0, %r8 movaps (%r8), %xmm2 vpextrq $0, %xmm2, %rsi nop nop nop nop and $60731, %r15 lea addresses_UC_ht+0...
#isPair? .data isPair: .asciiz " est pair :)" notIsPair: .asciiz " n'est pas pair :(" .text main: li $v0, 5#get value syscall move $t9 $v0 #verification de la parité andi $t0,$v0,1 bgtz $t0,np bgez $t0,p p:#ajout du bon texte la $t8, isPair j affichage np:#ajout du bon texte la $t8, notIsPair j aff...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 0087F8 move.l #$914800, ($c,A0) [base+452, base+454] 008800 move.l #$914c00, ($10,A0) [base+456, base+458] 008886 move.l #$914800, ($c,A0) [base+452, base+454] 00888E move.l #$914c00, ($10,A0) [base+456,...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 96 call lwaitly_b ld a, 40 ldff(41), a ld a, 02 ldff(ff), a xor a, a ldff(0f), a ei ld a, b inc a inc a ldff(45), a ld c, 0f .text@1000 lstatint: nop .text@1068 xor a, a ldff(45), a ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2021-2022, Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Redistributions of s...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Add lines here * Copyright (c) 2020 Amrinder S. Grewal * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; *...
#include "Emulator/Common.h" #include "Emulator/Controller.h" #include "Emulator/Libs/Libs.h" #include "Emulator/Loader/SymbolDatabase.h" #ifdef KYTY_EMU_ENABLED namespace Kyty::Libs { LIB_VERSION("Pad", 1, "Pad", 1, 1); LIB_DEFINE(InitPad_1) { PRINT_NAME_ENABLE(true); LIB_FUNC("hv1luiJrqQM", Controller::PadInit...
LXI H,8000 // Point to the first number MOV A,M // Load the first number into Acc INX H // Point to next location MOV B,M // Load the second number LOOP: CMP B // Compare B with A JZ STORE // When A and Bare same, store the result JC EXG // If B > A, then exchange B and A SUB B // if B <...
// File doc/quickbook/eglplus/quickref/enums/config_attrib_class.hpp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/eglplus/config_attrib.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed under the Boos...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x13296, %rsi lea addresses_D_ht+0x108b6, %rdi nop xor %r10, %r10 mov $36, %rcx rep movsw nop nop nop cmp %r11, %r11 lea addresses_A_ht+0x6fb6, %rsi lea addresses_WC_ht+0x4136, %rdi nop...
; TITLE FMAKERES - Command entry point for MSHERC. ;*** ;FMAKERES ; ; Copyright <C> 1987 - 1990, Microsoft Corporation ; ;Purpose: ; Assumes control upon entry of MSHERC.COM to initialize the driver ; and install the INT 10 hook. Then terminate and stay resident. ; ;****************************************************...
; ; TIKI-100 specific routines ; by Stefano Bodrato, Fall 2015 ; ; int set_psg(int reg, int val); ; ; Play a sound by PSG ; ; ; $Id: set_psg_callee.asm,v 1.2 2016/06/10 21:13:58 dom Exp $ ; SECTION code_clib PUBLIC set_psg_callee PUBLIC _set_psg_callee PUBLIC ASMDISP_SET_PSG_CALLEE set_psg_callee: _set_...
;-------------------------------------------------------------- ; WRX16K style Graphics ; for the ZX81 ;-------------------------------------------------------------- ; ; Invert screen output ; ; Stefano - Jan 2009 ; ; ; $Id: invhrg.asm,v 1.2 2015/01/19 01:32:52 pauloscustodio Exp $ ; PUBLI...
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="fd, name, flag"/> <%docstring> Invokes the syscall unlinkat. See 'man 2 unlinkat' for more information. Arguments: fd(int): fd name(char): name flag(int): flag </%docstring> ${syscall('SYS_unlinkat', fd, name, flag)}
/** * Copyright (c) 2016-present, Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* Copyright 2020-2021 <Pierre Constantineau> 3-Clause BSD License 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 f...
//===--- ProtocolConformance.cpp - Swift protocol conformance checking ----===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
section .data SYS_WRITE equ 1 STDOUT_FILENO equ 1 msg1 db "Hello, World!", 10, 0 msg1Len equ $-msg1 - 1 ; excepts 0 termination. msg2 db "Alive and Kicking!", 10, 0 msg2Len equ $-msg2 radius dq 357 ; 8bytes pi dq 3...
/* The MIT License (MIT) Copyright (c) 2013-2014 winlin 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, p...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1d422, %r13 nop nop nop xor $14926, %rbx movups (%r13), %xmm2 vpextrq $0, %xmm2, %r9 nop nop nop nop cmp $40373, %r10 lea addresses_WT_ht+0xd242, %rcx nop nop nop nop add %r1...
; size_t w_vector_insert(w_vector_t *v, size_t idx, void *item) SECTION code_clib SECTION code_adt_w_vector PUBLIC w_vector_insert_callee EXTERN asm_w_vector_insert w_vector_insert_callee: pop hl pop de pop bc ex (sp),hl jp asm_w_vector_insert ; SDCC bridge for Classic IF __CLASSIC PUBLIC _w_v...
; A001539: a(n) = (4*n+1)*(4*n+3). ; 3,35,99,195,323,483,675,899,1155,1443,1763,2115,2499,2915,3363,3843,4355,4899,5475,6083,6723,7395,8099,8835,9603,10403,11235,12099,12995,13923,14883,15875,16899,17955,19043,20163,21315,22499,23715,24963,26243,27555,28899,30275,31683,33123,34595,36099,37635,39203,40803,42435,44099,45...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX - License - Identifier: Apache - 2.0 /* Purpose: detach_role_policy.cpp demonstrates how to detach a managed policy from an IAM role.] */ //snippet-start:[iam.cpp.detach_role_policy.inc] #include <aws/core/Aws.h> #include <aws/iam/IAM...