text
stringlengths
1
1.05M
// Commodore 64 PRG executable file .file [name="loopnest.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .label SCREEN = $400 .segment Code ...
; A121385: Minimal number of monochromatic three-term arithmetic progressions that a two-coloring of {1,...,n} can contain. ; 0,0,0,0,0,0,0,0,1,1,2,2,3,4,5,6,7,8,10,12,14,16,18,20,22,24,26,28,31,34,37,40,43,46,49,52,55,58,62,66,70,74,78,82,86 mov $10,$0 mov $12,$0 lpb $12 clr $0,10 mov $0,$10 sub $12,1 sub $0,...
// Copyright 2012 Cloudera 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 wr...
; int __CALLEE__ writebyte_callee(int fd, int c) ; 06.2008 aralbrec PUBLIC writebyte_callee PUBLIC ASMDISP_WRITEBYTE_CALLEE EXTERN stdio_fdcommon1, l_jpix EXTERN stdio_error_ebadf_mc, stdio_error_eacces_mc, stdio_error_mc, stdio_success_znc INCLUDE "../stdio.def" .writebyte_callee pop hl pop bc ex (sp),hl...
############################################################################### # 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...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.EventSystems.IEventSystemHandler #include "UnityEngine/Even...
; A021927: Decimal expansion of 1/923. ; Submitted by Christian Krause ; 0,0,1,0,8,3,4,2,3,6,1,8,6,3,4,8,8,6,2,4,0,5,2,0,0,4,3,3,3,6,9,4,4,7,4,5,3,9,5,4,4,9,6,2,0,8,0,1,7,3,3,4,7,7,7,8,9,8,1,5,8,1,7,9,8,4,8,3,2,0,6,9,3,3,9,1,1,1,5,9,2,6,3,2,7,1,9,3,9,3,2,8,2,7,7,3,5,6,4 seq $0,83811 ; Numbers n such that 2n+1 is the d...
// ============================================================================ // Copyright 2019 Fairtide Pte. Ltd. // // 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.a...
/* smtp.cpp --------------- Copyright (C) 2016, Tomislav Karastojkovic (http://www.alepho.com). Distributed under the FreeBSD license, see the accompanying file LICENSE or copy at http://www.freebsd.org/copyright/freebsd-license.html. */ #include <vector> #include <string> #include <stdexcept> #include <tuple> #i...
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file pfmTrans.cxx * @author...
;; ;; Copyright (c) 2012-2018, 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...
/* * dbtype_Group.cpp */ #include <string> #include <ostream> #include <set> #include "dbtypes/dbtype_Group.h" #include "logging/log_Logger.h" #include "dbtypes/dbtype_Entity.h" #include "dbtypes/dbtype_Id.h" #include "concurrency/concurrency_ReaderLockToken.h" #include "concurrency/concurrency_WriterLockToken.h...
// // Created by Yuyang Huang on 6/11/20. // #include "LeetCodeLib.h" /* * @lc app=leetcode id=152 lang=cpp * * [152] Maximum Product Subarray * * https://leetcode.com/problems/maximum-product-subarray/description/ * * algorithms * Medium (30.25%) * Likes: 3876 * Dislikes: 150 * Total Accepted: 324.5...
/* * Copyright (c) 2013-14 Mikko Mononen memon@inside.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpos...
; A094798: Number of times 1 is used in writing out all the numbers 1 through n. ; 1,1,1,1,1,1,1,1,1,2,4,5,6,7,8,9,10,11,12,12,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,18,19,19,19,19,1...
; A093920: Row sums of A093919. ; Submitted by Christian Krause ; 1,4,15,40,205,276,1939,4432,13689,18100,199111,200784,2610205,3136420,3191595,7012576,119213809,137103012,2604957247,2605199080,2608367181,3084857644,70951725835,71062911792,355315542025,442803520276 add $0,1 mov $2,$0 lpb $0 mov $3,$2 gcd $3,$0 m...
; Program 10.8 ; Windows API Calls in Microsoft x64 Assembly - (MASM 64-bit) ; Copyright (c) 2017 Hall & Slonka extrn ExitProcess : proc extrn MessageBoxA : proc extrn CreateFileA : proc ; A = ANSI extrn ReadFile : proc extrn CloseHandle : proc extrn GetLastError : proc ; troubleshooting .DATA num QWORD 13 inputFile ...
#ifndef ___INANITY_GRAPHICS_GRAPHICS_HPP___ #define ___INANITY_GRAPHICS_GRAPHICS_HPP___ /* * Общий файл для подсистемы графики. * Подсистема графики является сборной. Основная часть подсистемы - заменяемая, * подменяется конкретными подсистемами (пока только DX). * А некоторые компоненты являются общими для всех р...
; A081040: 5th binomial transform of (1,4,0,0,0,0,...). ; 1,9,65,425,2625,15625,90625,515625,2890625,16015625,87890625,478515625,2587890625,13916015625,74462890625,396728515625,2105712890625,11138916015625,58746337890625,308990478515625,1621246337890625,8487701416015625,44345855712890625,231266021728515625,120401382446...
#include "LuaSuiListBox.h" #include "server/zone/objects/player/sui/listbox/SuiListBox.h" const char LuaSuiListBox::className[] = "LuaSuiListBox"; Luna<LuaSuiListBox>::RegType LuaSuiListBox::Register[] = { { "_setObject", &LuaSuiListBox::_setObject }, { "getMenuSize", &LuaSuiListBox::getMenuSize }, { "getMenuI...
; A277108: a(n) = 4n*(n+5). ; 24,56,96,144,200,264,336,416,504,600,704,816,936,1064,1200,1344,1496,1656,1824,2000,2184,2376,2576,2784,3000,3224,3456,3696,3944,4200,4464,4736,5016,5304,5600,5904,6216,6536,6864,7200,7544,7896,8256,8624,9000,9384,9776,10176,10584,11000,11424,11856,12296,12744,13200,13664,14136,14616,15104...
; 04.2004 aralbrec PUBLIC BABestFit EXTERN _ba_qtbl ; If the queues are arranged such that queue i contains memory blocks ; that are smaller than in queue j, with i<j, then this routine attempts ; to satisfy the memory request by allocating from pool HL, then pool HL+1, ; etc. up to pool HL+B-1, ensuring that the mem...
#include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <semaphore.h> #include <unistd.h> #include <queue> using namespace std; typedef struct _Task { void (*func) (void); } Task; class ProdConsQueue { queue<Task> q; pthread_mutex_t mutex; pthread_cond_t notfull; pthread_cond_t notempty; int capaci...
%ifdef CONFIG { "RegData": { "RBX": "0x0000000000000006", "RCX": "0x0000000000000004", "RDX": "0x0000000000000002", "RSI": "0x0000000000000000", "R8": "0x0", "R9": "0x0", "R10": "0x1", "R11": "0x1" } } %endif mov rbx, 0x0000000000000001 mov rcx, 0x0000000000000001 mov rdx, 0x40000...
%ifdef CONFIG { "RegData": { "RAX": "0x4142434445464748", "RSP": "0xE0000FD8", "RBP": "0xE0000FF8" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rsp, 0xe0001000 mov rbp, 0xe0002000 mov rax, 0x4142434445464748 mov qword [rbp - 8], rax enter 0x10, 2 mov rax, qword [rsp + 0x18] hlt ...
; A349965: a(n) = Sum_{k=0..n} (k * (n-k))^k. ; Submitted by Christian Krause ; 1,1,2,7,47,513,8020,169227,4637965,159568981,6684686230,332681461871,19316990453131,1292074091000105,98636639620170792,8528989125071254867,829516920337723299465,90124512307642049807293,10865612430780251465538154,1444628174841081272300223031...
; A087446: Numbers that are congruent to {1, 6} mod 15. ; 1,6,16,21,31,36,46,51,61,66,76,81,91,96,106,111,121,126,136,141,151,156,166,171,181,186,196,201,211,216,226,231,241,246,256,261,271,276,286,291,301,306,316,321,331,336,346,351,361,366,376,381,391,396,406 mul $0,6 mov $1,$0 div $1,4 mul $1,5 add $1,1
_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 ...
.text 0x0000 splash: lw $t0, 0xd0000000 andi $t0, $t0, 0x80000000 beq $t0, $zero, splash addi $a0, $zero, 2 # li $a1, 0 addi $a1, $zero, 0 li $a2, 0x027f01df # li $a3, 0xfff addi $a3, $zero, 0xfff jal draw # li $a0, 3 addi $a0, $zero, 3 li $a1, 0x0008019c li $a2, 0x027701df # li $a3, 0 addi $a3, $zero, 0 jal draw # ...
;******************************************************************************************************** ; uC/LIB ; CUSTOM LIBRARY MODULES ; ; (c) Copyright 2004-2011; Micrium, Inc.; Weston, FL ; ; ...
build/lrsc.elf: file format elf32-littleriscv Disassembly of section .crt_section: 80000000 <trap_entry-0x20>: 80000000: 04c0006f j 8000004c <_start> 80000004: 00000013 nop 80000008: 00000013 nop 8000000c: 00000013 nop 80000010: 00000013 nop 80000014: 00000013 ...
#include "engine/window.h" #include <cassert> #include <cstdio> #include "GLFW/glfw3.h" // ---------------------------------------------------------------------------- static void keyboard_cb(GLFWwindow *window, int key, int scancode, int action, int mods) { if ( (key == GLFW_KEY_ESCAPE) && (action == GL...
lda {m1}+1 bmi !+ cmp {m2}+1 bcs {la1} beq {la1} lda {m2} cmp {m1} bcc {la1} !:
// ***************************************************************************** // File: D3D11BlitTarget.hpp // // Description: D3D11 implementation of BlitTarget // // Contact person: DG // // SG compatible // ***************************************************************************** #ifndef D3D11BLITTARGET_H...
// Copyright 2017 Google 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 ...
; sp1_RemoveUpdateStruct ; 04.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version XLIB 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 the internal representat...
.text task_1: # all binaries are taken as explicitly stated in "riscv-spec-v2.2.pdf" # # # funct7 | rs2 | rs1 | funct3 | rd | opcode | code | format | final binary code for the operation (base 2) | (hex) | # _________|_______|_______|________|_______|_________|_____and operati...
/* * Copyright 2018 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 contributing ...
_prog3: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #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: 8...
############################################################################### # 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...
fa_label1: nop fa_label2: nop fa_label3.mid: nop include "filea_b.asm" fa_label3: nop
/** * Copyright 2022 Huawei Technologies Co., Ltd * * 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...
; A243427: Floored (rational) values of sqrt(xy) such that sqrt(x) + sqrt(y) = sqrt(xy). ; 4,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,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 trn $0,1 add $0,4
; A263497: Decimal expansion of the Gaussian Hypergeometric Function 2F1(2,2; 5/2; x) at x=1/4. ; Submitted by Jon Maiga ; 1,5,8,1,6,0,0,8,4,7,6,8,7,7,0,9,5,3,2,5,4,1,2,2,8,9,8,9,8,1,0,4,5,9,0,2,3,6,2,1,2,4,5,0,0,2,5,4,3,0,1,2,5,6,5,9,0,6,8,2,0,0,8,6,1,4,9,1,6,9,0,9,1,8,3,1,5,2,8,1,5,5,0,8,7,8,3,3,3,4,9,0,5 mov $2,1 m...
; A195046: Concentric 15-gonal numbers. ; 0,1,15,31,60,91,135,181,240,301,375,451,540,631,735,841,960,1081,1215,1351,1500,1651,1815,1981,2160,2341,2535,2731,2940,3151,3375,3601,3840,4081,4335,4591,4860,5131,5415,5701,6000,6301,6615,6931,7260,7591,7935,8281,8640,9001,9375,9751,10140,10531,10935,11341,11760,12181,12615,1...
///////////////////////////////////////////////////////////////////////////////////////////// // Copyright 2017 Intel Corporation // // 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 // // htt...
; wrapper for function pointers XLIB vsprintf LIB vsprintf_callee XREF ASMDISP_VSPRINTF_CALLEE .vsprintf pop hl pop bc pop de exx pop hl push hl exx push de push bc push hl jp vsprintf_callee + ASMDISP_VSPRINTF_CALLEE
;;;;TODO Roadmap de amanha e depois: ; [OK] Spawnar frutinha ; [ ] Aumentar velocidade do jogo com timer (usar timer na rotina de delay e reduzir threshold ; quando a cobrinha comer uma fruta) ; [OK] Verificar se frutinha foi comida e aumentar a cobra ; [OK] Verificar condicao de game over (head acertou body) ; ...
; ; ; Copyright (c) 2018 by blindtiger. All rights reserved. ; ; The contents of this file are subject to the Mozilla Public 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.mozilla.org/MPL/ ; ; Softwa...
.686 .model flat, c .code CountChar proc push ebp mov ebp, esp push esi mov esi, [ebp+8] ; esi = s mov cx, [ebp+12] ; cx = c xor edx, edx @@: lodsw ; load next char into ax. Use lodsb for normal char or ax, ax ; test for end of string jz @F ; jump forward to next @@ label if end of string c...
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization //...
#include "AppHdr.h" #include "tilepick.h" #include "artefact.h" #include "art-enum.h" #include "cloud.h" #include "colour.h" #include "coord.h" #include "coordit.h" #include "describe.h" #include "debug.h" #include "env.h" #include "tile-env.h" #include "files.h" #include "item-name.h" #include "item-prop.h" #include...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/SkGpuDevice.h" #include "include/core/SkImageFilter.h" #include "include/core/SkPathEffect.h" #include "include/core/SkPicture.h" #include "include/core/SkS...
; ----------------------------------------------------------------- ; INT C0 - I2C functions. ; ----------------------------------------------------------------- INT_C0: cmp ah, 04h ja INT_C0_Ret push bp mov bp, INT_C0_Functions call INT_Dispatch pop bp retf 2 INT_C0_Ret: iret INT_C0_Function...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x14c3d, %rdx sub $24842, %r15 vmovups (%rdx), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $0, %xmm2, %r12 nop xor $44756, %rax lea addresses_normal_ht+0xeaad, %rsi lea address...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="file, file_times"/> <%docstring> Invokes the syscall utime. See 'man 2 utime' for more information. Arguments: file(char): file file_times(utimbuf): file_times </%docstring> ${syscall('SYS_utime', file, file_times)}
; A042219: Denominators of continued fraction convergents to sqrt(635). ; Submitted by Christian Krause ; 1,5,251,1260,63251,317515,15939001,80012520,4016565001,20162837525,1012158441251,5080955043780,255059910630251,1280380508195035,64274085320382001,322650807110105040,16196814440825634001,81306723011238275045,4081532...
; Original address was $AEF1 ; Pipe junction C1 .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_01 | LEVEL1_YSTART_140 .byte LEVEL2_BGPAL_04 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_03 | LEVEL3_VSCROLL_LOCKED .byte LEVEL4_BGBANK_INDEX(3) | LEVEL4_INIT...
.size 8000 .text@48 ei jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld c, 44 ld b, 90 lbegin_waitvblank: ldff a, (c) cmp a, b jrnz lbegin_waitvblank xor a, a ldff(40), a ld hl, 9f00 ld b, 20 lbegin_clearvram: dec l ld(hl), a jrnz lbegin_clearvram dec h dec b jrnz lbegin_clearvra...
_rm: file format elf32-i386 Disassembly of section .text: 00001000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 57 push %edi 1004: 56 ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r14 push %r9 push %rax push %rbp push %rbx push %rdi push %rdx // Store mov $0xe74, %r14 add %rbx, %rbx mov $0x5152535455565758, %rdi movq %rdi, %xmm1 vmovups %ymm1, (%r14) nop nop add %r9, %r9 // Faulty Load lea addresse...
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * 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...
.constant_pool .const 0 string [start] .const 1 string [constructor] .const 2 string [v1] .const 3 int [0] .const 4 string [v1 no metodo start/0: ] .const 5 int [2] .const 6 string [io.writeln] .const 7 string [metodo1] .const 8 int [1] .const 9 string [V1 no m...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1a043, %r14 nop cmp $13600, %rsi mov (%r14), %ebp nop nop nop nop nop dec %rdi lea addresses_WC_ht+0x1c35, %r14 nop nop nop sub $53292, %rdi mov $0x6162636465666768, %r10 movq...
; A111175: Numbers n such that 30*n + 1 is prime. ; Submitted by Jon Maiga ; 1,2,5,6,7,8,9,11,14,18,19,20,21,22,23,25,27,33,34,35,39,40,41,43,44,46,49,51,54,58,60,61,62,65,67,71,72,74,75,76,77,78,79,84,85,89,91,93,95,99,100,102,104,106,109,110,111,112,113,117,118,119,121,123,131,134,135 mov $2,$0 pow $2,2 lpb $2 add...
INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC w_respixel EXTERN w_pixel ; ****************************************************************** ; ; Reset pixel at (x,y) coordinate. ; ; Wide resolution (WORD based parameters) version by Stefano Bodrato ; ; Design & progra...
############################################################################### # 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...
; ; Copyright (c) Microsoft. All rights reserved. ; Licensed under the MIT license. See LICENSE file in the project root for full license information. ; ;; ==++== ;; ;; ;; ==--== #include "ksarm64.h" #include "asmconstants.h" #include "asmmacros.h" IMPORT VirtualMethodFixupWorker IMPORT ExternalMethodFixupW...
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24)) ftyp_start: dd BE(ftyp_end - ftyp_start) dd "ftyp" db 0x61, 0x76, 0x69, 0x66 ; brand(32) ('avif') db 0x00, 0x00, 0x00, 0x00 ; version(32) db 0x6D, 0x69, 0x66, 0x31 ; compatible_...
.nds .relativeinclude on .erroronwarning on ; Makes breakable walls always have the glow visual. .open "ftc/overlay9_0", 0219E3E0h .org 0x021A383C ; Where the breakable wall loads the bitfield of passive effects on the player. mov r0, 100h ; Peeping eye bit .close
; A158218: 169n^2 - 2n. ; 167,672,1515,2696,4215,6072,8267,10800,13671,16880,20427,24312,28535,33096,37995,43232,48807,54720,60971,67560,74487,81752,89355,97296,105575,114192,123147,132440,142071,152040,162347,172992,183975,195296,206955,218952,231287,243960,256971,270320,284007,298032,312395,327096,342135,357512,37322...
; A183855: n+floor(sqrt(3n-3)); complement of A128422. ; 1,3,5,7,8,9,11,12,13,15,16,17,19,20,21,22,23,25,26,27,28,29,31,32,33,34,35,37,38,39,40,41,42,43,45,46,47,48,49,50,51,53,54,55,56,57,58,59,61,62,63,64,65,66,67,68,69,71,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,89,91,92,93,94,95 mul $0,2 mov $1,1 mov $2,$0 ...
; int wv_priority_queue_shrink_to_fit(wv_priority_queue_t *q) SECTION code_adt_wv_priority_queue PUBLIC _wv_priority_queue_shrink_to_fit EXTERN _bv_priority_queue_shrink_to_fit defc _wv_priority_queue_shrink_to_fit = _bv_priority_queue_shrink_to_fit
; A034133: Decimal part of cube root of a(n) starts with 7: first term of runs. ; Submitted by Jamie Morken(w2) ; 5,20,51,104,186,301,457,659,913,1226,1602,2049,2572,3177,3870,4658,5546,6540,7646,8870,10219,11698,13313,15070,16975,19035,21254,23640,26199,28935,31856,34966,38273,41782,45500,49431,53583,57961,62571 add ...
; CSES Missing Number Fastest Submission on 12/28/2020 section .bss buffer: resb 1300000 outbuff: resb 64 N: resb 8 cntN: resb 8 csum: resb 8 section .text atoi: xor rax, rax xor rcx, rcx .pre: mov cl, [rdx] inc rdx cmp rcx, '0' jb .pre cmp rcx,...
; A050508: Golden rectangle numbers: n * A007067(n). ; 0,2,6,15,24,40,60,77,104,135,160,198,228,273,322,360,416,476,522,589,640,714,792,851,936,1000,1092,1188,1260,1363,1470,1550,1664,1749,1870,1995,2088,2220,2318,2457,2600,2706,2856,3010,3124,3285,3404,3572,3744,3871,4050,4233,4368,4558,4698,4895,5096,5244,5452,5605,5...
############################################################################### # 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...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x9377, %rsi lea addresses_normal_ht+0x1d977, %rdi nop nop nop nop sub $57607, %rax mov $9, %rcx rep movsb nop nop and $61259, %r15 lea addresses_WC_ht+0x1a407, %rsi lea addresses_WT_ht+0x1bdf7, %...
#include <catch2/catch_test_macros.hpp> #include <catch2/matchers/catch_matchers_all.hpp> #include "MessageBuffer.h" std::vector<MessageChunk> makePacket(uint16_t packetId, size_t chunkSize, size_t size) { MessageWrite write(sizeof(MessageHeader)+chunkSize,size); return write.buildMessages(packetId); } char* make...
db 0 ; species ID placeholder db 75, 55, 70, 110, 55, 85 ; hp atk def spd sat sdf db GRASS, FLYING ; type db 45 ; catch rate db 176 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/jumpluff/front.dimensions" db GROWTH_MEDIUM_SL...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrRenderTargetProxy.h" #include "GrCaps.h" #include "GrGpuResourcePriv.h" #include "GrRenderTargetOpList.h" #include "GrRenderTargetPriv.h" #include "GrResourceProv...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/kinesis/model/PutRecordRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/utils/HashingUtils.h> #include <utility> using namespace Aws::Kinesis::Model; using...
lc t0, 0 lc sp, 10 lc s0, 10 lc t0, 0 lc g1, 1 lc g2, -1 geu g4, g0, g1 geu g5, g0, g2 geu g6, g1, g0 geu g7, g1, g2 geu g8, g2, g0 geu g9, g2, g1 lc s0, 10 halt .data # .byte '\0', '\1', '\2', '\3' .ascii "A\022\023\024\025\026\020" .ascii "\001\011\111 to see what happens"
[org 0x7c00] mov ah, 0x0e ; attempt 1 ; Will fail again regardless of 'org' because we are still addressing the pointer ; and not the data it points to mov al, "1" int 0x10 mov al, the_secret int 0x10 ; attempt 2 ; Having solved the memory offset problem with 'org', this is now the correct answer mov al, "2" int 0x10...
#include"../localedef.h" namespace fast_io_i18n { namespace { inline constexpr std::size_t numeric_grouping_storage[]{3}; inline constexpr lc_all lc_all_global{.identification={.title=tsc("Icelandic locale for Iceland"),.source=tsc("Stadlarad I'slands\t\t;\t\tfast_io"),.address=tsc("Keldnaholt-ITI', IS-112 Reykjavi...
// Commodore 64 PRG executable file .file [name="inmemstring.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .label SCREEN = $400 .segment Co...
//==================================================================================================================================================== // Copyright 2018 Lake Orion Robobitcs FIRST Team 302 // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associ...
init: .boot: ; mount the fat 12 partition ; hl = adress of the block flash device ; load necessary stuff in RAM ; ld hl, $030000 ; call vfat.mount ; ld hl, .file_name ; ld de, $D30000 ; call vfat.file_copy ; in place decompress the file @D3 ld hl, $030A00 ld de, $D30000 call lz4.decompress ld iy, $D30000 ; ...
0100 E2FE LOOPW 0100 # Jumps until CX = 0. 0102 50 PUSH AX # Push AX register onto stack. 0103 5E POP SI # Pop content of stack into SI register. 0104 89C3 MOV BX,AX # Copy content of AX into BX. 0106...
; BSD ; void bzero(void *mem, int bytes) SECTION code_clib SECTION code_string PUBLIC bzero_callee EXTERN asm_bzero bzero_callee: pop hl pop bc ex (sp),hl jp asm_bzero ; SDCC bridge for Classic IF __CLASSIC PUBLIC _bzero_callee defc _bzero_callee = bzero_callee ENDIF
/* * Copyright © 2021 Michał 'Griwes' Dominiak * * 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 la...
_grep: file format elf32-i386 Disassembly of section .text: 00000000 <main>: memmove(buf, p, m); } } } 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(%ec...
BuildItemMessage: ld hl, ItemNamePointers ldh a, [$F1] ld d, $00 ld e, a add hl, de add hl, de ldi a, [hl] ld h, [hl] ld l, a ld de, wCustomMessage jp MessageCopyString FoundItemForOtherPlayerPostfix: db m" for player X", $ff GotItemFro...
; A061419: a(n) = ceiling(a(n-1)*3/2) with a(1) = 1. ; 1,2,3,5,8,12,18,27,41,62,93,140,210,315,473,710,1065,1598,2397,3596,5394,8091,12137,18206,27309,40964,61446,92169,138254,207381,311072,466608,699912,1049868,1574802,2362203,3543305,5314958,7972437,11958656,17937984,26906976,40360464,60540696,90811044,136216566,2043...
_usertests: file format elf32-i386 Disassembly of section .text: 00000000 <main>: return randstate; } 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 10 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1e4ba, %rbx nop nop nop nop lfence movl $0x61626364, (%rbx) nop and $26607, %r8 lea addresses_A_ht+0x685a, %rsi lea addresses_WT_ht+0x16e5a, %rdi nop nop nop dec %r10 mov $83,...
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
.size 8000 .text@50 jp ltimaint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: xor a, a ldff(0f), a ldff(ff), a ld a, f0 ldff(05), a ldff(06), a ld a, 04 ldff(ff), a ld a, 05 ldff(07), a ei nop halt .text@1000 ltimaint: nop .text@1024 ld a, 01 ldff(07), a ld a, 05 ldff(07), a nop nop n...
; ; jidctflt.asm - floating-point IDCT (SSE & SSE2) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright (C) 2016, D. R. Commander. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice...
[BITS 32] global _start extern kernel_main CODE_SEG equ 0x08 DATA_SEG equ 0x10 _start: mov ax, DATA_SEG mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ss, ax mov ebp, 0x00200000 mov esp, ebp ; Enabling A20 line in al, 0x92 or al, 2 out 0x92, al ; Remap the mast...