text
stringlengths
1
1.05M
; ; ANSI Video handling for the PC6001 ; ; BEL - chr(7) Beep it out ; ; ; Stefano Bodrato - Jan 2013 ; ; ; $Id: f_ansi_bel.asm,v 1.3 2016-06-12 16:06:43 dom Exp $ ; SECTION code_clib PUBLIC ansi_BEL .ansi_BEL ld a,7 jp $26c7
SECTION code_fp_math32 PUBLIC _atanh EXTERN cm32_sdcc_atanh defc _atanh = cm32_sdcc_atanh
#This TM solution dedups consecutive strings of a's,b's and c's respectively. #So, 'aabcccbbba' becomes 'abcba' alpha "abc&-" #Begin: If we read empty, halt. Otherwise, put an & just to the left of the #string. We'll need that later. !0 cmp '' brae !0_e cmp 'a' brae !0_* cmp 'b' brae !0_* cmp 'c' ...
/* ** EPITECH PROJECT, 2018 ** Project description ** File description: ** Description here */ #include "AI.hpp" bool zappy::AI::startIncantation() { look(); std::cout << "Starting elevation incantation\n"; _cli.sendRequest("Incantation\n"); if (_cli.getAnswer() != "ko\n") { levelUp(); look(); _mode = zappy...
; Copyright © 2021, VideoLAN and dav1d authors ; Copyright © 2021, 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...
; A158481: 49n^2 + 7. ; 56,203,448,791,1232,1771,2408,3143,3976,4907,5936,7063,8288,9611,11032,12551,14168,15883,17696,19607,21616,23723,25928,28231,30632,33131,35728,38423,41216,44107,47096,50183,53368,56651,60032,63511,67088,70763,74536,78407,82376,86443,90608,94871,99232,103691,108248,112903,117656,122507,127456,132...
#include <jni.h> #include <android/log.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <Eigen/Geometry> #include <g2o/core/hyper_graph_action.h> #include <g2o/core/sparse_optimizer.h> #include <g2o/core/base_binary_edge.h> #include <g2o/types/slam3d/vertex_se3.h> #include <g2o/types/slam3d/parame...
%ifdef CONFIG { "RegData": { "RAX": "0x1", "RBX": "0x0" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov r15, 0xe0000000 mov r10, 0x1 mov r11, 0x0 mov r12, 0x2 cmp r10d, r12d mov rax, 0 mov rbx, 0 jle .tgt_1 jnle .tgt_2 jmp .end .tgt_1: mov rax, 1 jmp .end .tgt_2: mov rbx, 1 jmp .en...
/* Copyright 2020 VMware, 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 writing, software di...
object_const_def ; object_event constants const ROUTE30_YOUNGSTER1 const ROUTE30_YOUNGSTER2 const ROUTE30_YOUNGSTER3 const ROUTE30_BUG_CATCHER const ROUTE30_YOUNGSTER4 const ROUTE30_MONSTER1 const ROUTE30_MONSTER2 const ROUTE30_FRUIT_TREE1 const ROUTE30_FRUIT_TREE2 const ROUTE30_COOLTRAINER_F const ROUTE30_...
; A267576: Triangle read by rows giving successive states of cellular automaton generated by "Rule 167" initiated with a single ON (black) cell. ; 1,1,1,0,1,1,0,1,0,1,1,0,1,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,1,1,1,1,1,0,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Dolphin Smalltalk ; ; Implement Constant Object Space ; .586 OPTION CASEMAP:NONE OPTION NOLJMP OPTION PROC:PRIVATE INCLUDE IstAsm.Inc .LISTALL ;.LALL .data PUBLIC ?_Pointers@@3UVMPointers@@A VM$CNST SEGMENT PUBLIC 'DATA' ?_Pointers...
// // Copyright (c) 2003 L.M.Witek // // 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 purpose, // including commercia...
ivnentory_page_marker DB "Inventory PG52" inventory_boiler_text DW $0248,INM_inventory DW $0B08,INM_fuel DW $1308,INM_cash INM_inventory DB "INVENTORY",0 INM_fuel DB "Fuel:",0 INM_cash DB "Cash:",0 txt_inventory_amount DB "00000",0 inventory_cursor DW $0000 inv_fuel_position eq...
; vasmm68k_mot[_<HOST>] -Fbin -o icon_36_279/def_tool.info def_tool-icon_36_279.asm ; ; Default "ENV:def_tool.info" data included in "icon 36.279 (20.4.90)". ; include deficon.inc ifne DEFICON_MEM align 1 endif defIconTool: dc.w $E310 ; do_Magic = WB_DISKMAGIC dc.w $0001 ; ...
; void __CALLEE__ *HeapCalloc_callee(void *heap, unsigned int nobj, unsigned int size) ; 12.2006 aralbrec SECTION code_clib PUBLIC HeapCalloc_callee PUBLIC _HeapCalloc_callee PUBLIC ASMDISP_HEAPCALLOC_CALLEE EXTERN l_mult, HeapAlloc_callee EXTERN ASMDISP_HEAPALLOC_CALLEE .HeapCalloc_callee ._HeapCalloc_callee po...
; A267595: Binary representation of the n-th iteration of the "Rule 173" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by Simon Strandgaard ; 1,10,1111,111111,11111111,1111111111,111111111111,11111111111111,1111111111111111,111111111111111111,11111111111111111111,11111111111111111111...
#include <stdlib.h> #include "iwstring.h" #if (__GNUC_MINOR__ == 95) #include <strstream> IWString & IWString::operator = (ostrstream & zstream) { int nchars = zstream.pcount (); char * c = zstream.str (); IWString::strncpy (c, nchars); #ifdef __GNUG__ zstream.freeze (0); // allow zstream to delete the...
; Game Code (NES-specific) ;==============================================================================; ;-- Defines/Constants --; PADDLE_DEFAULT_Y_POS = (240/2)-16 PADDLE_MIN_Y_POS = 44 PADDLE_MAX_Y_POS = 240-64 BALL_DEFAULT_X = (256/2)-3 ; screen center x - 3 (7/2, rounded down) BALL_DEFAULT_Y = (240/2)-3...
; A190998: Digital root of concatenation of all divisors of n (A037278). ; 1,3,4,7,6,3,8,6,4,9,3,1,5,6,6,4,9,3,2,6,5,9,6,6,4,6,4,2,3,9,5,9,3,9,3,1,2,6,2,9,6,6,8,3,6,9,3,7,3,3,9,8,9,3,9,3,8,9,6,6,8,6,5,1,3,9,5,9,6,9,9,6,2,6,7,5,6,6,8,6,4,9,3,8,9,6,3,9,9,9,4,6,2,9,3,9,8,9,3,1 seq $0,203 ; a(n) = sigma(n), the sum of the...
; Demonstrate runtime information informing analysis. ; ; The switch statement has 4 legitimate cases and 4 secret cases. ; Analysis will statically find the 4 legitimate. ; Analysis will learn the other 4 while stepping through the table dispatch at runtime. default rel %ifdef OS_IS_LINUX global _start section .te...
; A140649: Triangle whose rows are decreasing powers of 2, followed by 0. ; 1,0,2,1,0,4,2,1,0,8,4,2,1,0,16,8,4,2,1,0,32,16,8,4,2,1,0,64,32,16,8,4,2,1,0,128,64,32,16,8,4,2,1,0,256,128,64,32,16,8,4,2,1,0,512,256,128,64,32,16,8,4,2,1,0,1024,512,256,128,64,32,16,8,4,2,1,0,2048,1024,512,256,128,64,32,16,8,4,2,1,0,4096 add ...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "low_precision_transformations/mvn_transformation.hpp" #include <memory> #include <tuple> #include <vector> #include <string> #include <ie_core.hpp> #include "common_test_utils/common_utils.hpp" #include "functional_test...
/* * fam_invalidkey_test.cpp * Copyright (c) 2019 Hewlett Packard Enterprise Development, LP. 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 a...
// Copyright 2016-2022 by Martin Moene // // This version targets C++11 and later. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // status_value is based on: // A Class for Status and Optional Value, P0262r0 /...
// // Created by Mingkai Chen on 2017-09-02. // #include <vector> #include <boost/python.hpp> namespace bp = boost::python; #pragma once #ifndef ROCBOOST_EMBEDDING_HPP #define ROCBOOST_EMBEDDING_HPP bp::tuple pickle (std::string data_path); void mnist_imageout (std::vector<std::vector<double> >& imgdata, std::vec...
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 10 ...
; ========================================================== ; COMMODORE 64 - Examples in 6502 Assembly language ; © Digitsensitive; digit.sensitivee@gmail.com ; How to print a text ; ========================================================== ; ---------------------------------------------------------- ; Main Loop ; -...
; A001880: Coefficients of Bessel polynomials y_n (x). ; Submitted by Jon Maiga ; 1,15,210,3150,51975,945945,18918900,413513100,9820936125,252070693875,6957151150950,205552193096250,6474894082531875,216659917377028125,7675951358500425000,287080580807915895000,11303797869311688365625,467445288360359818884375,20255962495...
// Copyright (c) 2020 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 <policy/fees.h> #include <primitives/transaction.h> #include <test/fuzz/FuzzedDataProvider.h> #include <test/fuzz/fuzz.h>...
// Copyright (c) 2003-2020 Xsens Technologies B.V. or subsidiaries worldwide. // 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 ...
; vim: set syntax=z80: .module font_file .area _CODE #data _INITIALIZED ds 96*8 #code _INITIALIZER _g_font: ; space db 3 db 00000000b db 00000000b db 00000000b db 00000000b db 00000000b db 00000000b db 00000000b ; ! db 2 db 10000000b db 10000000b db 10000000b db 10000000b db 00000000b db 10000000...
; O3 project lab ; loop ; Hudson Schumaker extern _o3prtInt, _o3prt section .data x dd 0 y dd 1000 fmtstr: db "%s", 0xA, 0x0 ; format for printing a string, "\n" and end the "string" section .text global _main _main: push rbp mov rbp, rsp mov rdi, x movsx r12, dword [rdi] ...
global _print_newline _print_newline: push bp mov bp, sp call os_print_newline pop bp ret
#include "Window.h" #include <cstdio> #include <Imgui/imgui.h> #include <Imgui/imgui_impl_sdl.h> #include <Imgui/imgui_impl_opengl3.h> #include "Util/Util.h" #include "../CUDA_Source/Common.h" static void GLAPIENTRY gl_message_callback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GL...
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: stkequ.asm,v 1.4 2016-06-22 19:50:49 dom Exp $ ; SECTION smc_fp INCLUDE "target/cpc/def/cpcfp.def" PUBLIC stkequ EXTERN fa .stkequ ld de,fa+1 ; (fa+1)<-(sp+3) ld hl,3 add ...
; A344568: Decimal expansion of 2*(1+sqrt(82))/9. ; Submitted by Christian Krause ; 2,2,3,4,5,3,0,0,3,0,6,9,7,2,0,3,6,9,4,7,9,4,1,7,9,5,9,2,6,6,3,1,2,5,8,6,9,5,6,7,1,3,8,7,6,9,7,9,9,3,2,0,0,6,1,4,6,2,6,0,9,1,6,2,2,2,6,3,6,8,4,4,0,1,7,0,2,3,5,3,8,5,1,9,6,6,5,7,9,2,8,5,7 mov $1,1 mov $2,1 mov $3,$0 mul $3,4 lpb $3 mul...
; A118425: Number of binary sequences of length n containing exactly one subsequence 001. ; 0,0,0,1,4,12,30,68,144,291,568,1080,2012,3688,6672,11941,21180,37284,65210,113420,196320,338375,581040,994416,1696824,2887632,4902240,8304073,14038324,23688636,39905238,67118420,112726512,189072363 mov $30,$0 mov $32,$0 lpb $32...
; A016770: a(n) = (3*n)^6. ; 0,729,46656,531441,2985984,11390625,34012224,85766121,191102976,387420489,729000000,1291467969,2176782336,3518743761,5489031744,8303765625,12230590464,17596287801,24794911296,34296447249,46656000000,62523502209,82653950016,107918163081,139314069504,177978515625,225199600704,282429536481,351...
/*############################################################################### # # Copyright (c) 2020 NVIDIA 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 restricti...
; A313685: Coordination sequence Gal.4.43.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,10,15,19,23,28,33,38,43,48,53,57,61,66,71,76,81,86,91,95,99,104,109,114,119,124,129,133,137,142,147,152,157,162,167,171,175,180,185,190,1...
; A071281: Numerators of Peirce sequence of order 3. ; 0,0,0,1,1,2,2,3,1,4,3,5,4,6,2,7,5,8,6,9,3,10,7,11,8,12,4,13,9,14,10,15,5,16,11,17,12,18,6,19,13,20,14,21,7,22,15,23,16,24,8,25,17,26,18,27,9,28,19,29,20,30,10,31,21,32,22,33,11,34,23,35,24,36,12,37,25,38 mov $2,-2 bin $2,$0 div $2,2 mov $5,3 lpb $5 sub $0,$2 m...
SECTION code_clib SECTION code_fp_math48 PUBLIC mm48__acpi mm48__acpi: ; set AC = pi ld bc,$490F ld de,$DAA2 ld hl,$2182 ret
; A153491: Triangle T(n,m)= 11*binomial(n,k) - 8 read by rows, 0<=k<=n. ; 3,3,3,3,14,3,3,25,25,3,3,36,58,36,3,3,47,102,102,47,3,3,58,157,212,157,58,3,3,69,223,377,377,223,69,3,3,80,300,608,762,608,300,80,3,3,91,388,916,1378,1378,916,388,91,3,3,102,487,1312,2302,2764,2302,1312,487,102,3,3,113,597,1807,3622,5074,5074,362...
.size 8000 .text@48 ei jp lstatint .text@100 jp lbegin .text@150 lbegin: ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a ld a, 02 ldff(ff), a xor a, a ldff(0f), a ei ld c, 47 ld a, 03 ldff(43), a ld a, ff ldff(c), a inc a .text@1000 lstatin...
/* * Copyright (c) 2013, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditi...
global _start section .text _start: call love mov rax, 60 xor rdi, rdi syscall ; exiting program with code 0 ;------------------------------------------------------------------------------ ; Standard potter-tongue function, that reads decimal num...
// // Created by ww on 2020/12/25. // #include <gtest/gtest.h> #include "warm_wind/cv/visualization.h" class VisualizationTests : public testing::Test { }; TEST_F(VisualizationTests, DrawPointsOnImage) { // TODO Test DrawPointsOnImage } TEST_F(VisualizationTests, DrawBoundingBox3DOnImage) { // TODO Test Dr...
//===- AggressiveAntiDepBreaker.cpp - Anti-dep breaker --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
hello_world: lda #$00 sta PPU_01_CTRL2 ldx #0 lda PPU_02_STATUS lda #$20 sta VRAM_06_ADDR2 stx VRAM_06_ADDR2 .hello_world_top_blank: sta VRAM_07_IO inx bne .hello_world_top_blank .hello_world_print: lda hello_string,x sta VRAM_07_IO inx cpx #$10 bne .hello_world_print ldx #$50 ldy #3 lda #$20 .hello_...
/* * 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...
;------------------------------------------------------------------------------ ; lcmnd.asm ; Intel hex data load command ; ; Copyright (c) 2021 4sun5bu ;------------------------------------------------------------------------------ .z280p .area CODE .globl lcmnd lcmnd: ldw (ldad), 0x0000 call skipsp or a...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x3b9b, %r10 nop xor %r11, %r11 movb $0x61, (%r10) nop nop nop nop nop dec %rcx lea addresses_WC_ht+0x1e17b, %rsi lea addresses_D_ht+0x138bb, %rdi nop nop cmp %r13, %r13 mov $91, %rcx r...
; ----- Colour palette (ULA) BLACK equ 0 BLUE equ 1 RED equ 2 MAGENTA equ 3 GREEN equ 4 CYAN equ 5 YELLOW equ 6 WHITE equ 7 P_BLACK equ 0 P_BLUE equ 1<<3 P_RED equ 2<<3 P_MAGENTA equ 3<<3 P_GREEN equ 4<<3 P_CYAN equ 5<<3 P_YELLOW equ 6<<3 P_WHITE equ 7<<3 ; ----- Attribs A_FLASH equ 12...
; A024174: a(n) is floor((4th elementary symmetric function of 1,2,..,n)/(3rd elementary symmetric function of 1,2,...,n)). ; 0,0,1,2,3,4,6,8,10,13,16,19,22,25,29,33,37,42,47,52,57,62,68,74,80,87,94,101,108,115,123,131,139,148,157,166,175,184,194,204,214,225,236,247,258,269,281,293,305,318,331,344,357,370,384,398,412,4...
#include <iostream> #include <sstream> #include <string> #include <algorithm> #include <functional> #include <vector> #include <deque> #include <queue> #include <map> #include <set> #include <stack> #include <list> #include <unordered_map> #include <unordered_set> #include <iterator> #include <bitset> #include <limits>...
#include <iostream> #include <seqan/file.h> #include <seqan/modifier.h> using namespace std; using namespace seqan; struct ConvertCT : public ::std::unary_function<Dna, Dna> { inline Dna operator()(Dna x) const { if (x == 'C') return 'T'; return x; } }; int main() { typedef Stri...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__new_char_memmove_62b.cpp Label Definition File: CWE127_Buffer_Underread__new.label.xml Template File: sources-sink-62b.tmpl.cpp */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated memor...
;======================================================================================================================= ; ; ; Name: socOS (System On Chip Operation System) ...
; A018910: Pisot sequence L(4,5). ; 4,5,7,10,15,23,36,57,91,146,235,379,612,989,1599,2586,4183,6767,10948,17713,28659,46370,75027,121395,196420,317813,514231,832042,1346271,2178311,3524580,5702889,9227467,14930354,24157819,39088171,63245988,102334157,165580143,267914298,433494439,701408735,1134903172,1836311905,2971215...
;/*! ; @file ; ; @ingroup fapi ; ; @brief BksStringIn 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...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1c89c, %rsi lea addresses_WC_ht+0x90cc, %rdi clflush (%rdi) nop nop nop xor $45958, %r15 mov $15, %rcx rep movsw nop add %rsi, %rsi lea addresses_D_ht+0x198cc, %r9 clflush (%...
; A329502: G.f. = (1+x)*(1+2*x)/(1-x). ; 1,4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6 mul $0,3 mov $1,$0 trn $1,5 sub $0,$1 add $0,1
;----[ ds3231rtc.asm ]------------------ ;DS3231 RTC over i2c6502 for C64 ;Copyright (c) 2020 Greg Nacu *= $0801 .word end ;next line ptr .word 64 ;basic line #64 .byte $9e ;sys .null "2061" ;$080d end .word $00 ;end of basic doset = 0 i2cbase = $...
; int ungetc(int c, FILE *stream) INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _ungetc EXTERN l0_ungetc_callee _ungetc: pop af pop hl pop bc push bc push hl push af jp ...
SECTION code_fp_math48 PUBLIC _ceil_fastcall EXTERN cm48_sdcciy_ceil_fastcall defc _ceil_fastcall = cm48_sdcciy_ceil_fastcall
; Substitute for 'sbc hl, sp' instruction ; CPU Min T Max T ; 8080 156 156 ; 8085 154 154 ; gbz80 232 232 ; r2k 111 111 ; z180 146 146 ; z80 151 151 ; z80n 151 151 SECTION code_crt0_sccz80 PUBLIC __z80asm__sub_hl_sp __z80asm__sub_hl_sp: push bc ld b, a ...
; ; >>> START OF FILE ; ; telephony ; (__TEXT, __text) ; ; ; start: ; [ MODULE ENTRY POINT ] ; +00000 00001b50 00009DE4 ldr r0,[sp] +00004 00001b54 04108DE2 add r1,sp,#0x4 +00008 00001b58 014080E2 add r4,r0,#0x1 +0000c 00001b5...
; ************************************************************************* ; ; Organizacion del Computador II ; ; ; ; Implementacion de la funcion HSL 2 ; ; ...
/******************************************************************************** * Copyright 2017 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
; learning data types correctly ; Mohit Agarwal ; 17-05-2021 section .data ;define constants EXIT_SUCCESS equ 0 ;successful operation SYS_EXIT equ 60 ;sysexit syscall ;define variables bvar1 db 8 bvar2 db 16 bres db 0 section .text global _start _start: ;byte addition loop: mov al, byte [bvar1] add al, by...
; A327706: The minimal size of a partition lambda of n such that every partition of n with at most 6 parts can be obtained by coalescing the parts of lambda. ; 1,2,3,4,5,6,6,7,7,8,8,9,9,9,10,10,10,11,11,11,11,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,17,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rbp push %rcx push %rsi lea addresses_WT_ht+0x15812, %r14 nop nop nop nop nop cmp $60052, %rcx mov (%r14), %r12 sub $42484, %rsi lea addresses_WT_ht+0x13800, %r10 nop nop nop inc %rsi movb (%r10), %r14b nop nop add %r14, %r14 lea addresses...
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="fd, mode, offset, length"/> <%docstring> Invokes the syscall fallocate. See 'man 2 fallocate' for more information. Arguments: fd(int): fd mode(int): mode offset(off_t): offset len(off_t): len </%docstring> ${syscall('SYS...
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QInputDialog> #include <QPushButton> #include <QEasingCurve> #include "qanimatedgridlayout.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); statusBar()->hide(); ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x6211, %r13 nop nop sub %r8, %r8 mov (%r13), %eax nop nop nop nop nop inc %r9 lea addresses_D_ht+0xfff1, %r13 and $14502, %rsi movl $0x61626364, (%r13) nop nop nop dec %rax lea ...
#include "avcodec.hpp" #ifdef __cplusplus extern "C" { #endif #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> #include <libswscale/swscale.h> #include <libavutil/imgutils.h> #ifdef __cplusplus } #endif extern AVInputFormat ff_mov_demuxer; extern AVInputFormat ff_matroska_demuxer; extern AVInputFor...
; *********************************************************** ; * * ; * Copyright, (C) Honeywell Bull Inc., 1987 * ; * * ; * Copyright, (C) Honeywell Information Systems Inc., 1986 * ; * ...
; wrapper for function pointers PUBLIC vfscanf EXTERN vfscanf_callee EXTERN ASMDISP_VFSCANF_CALLEE .vfscanf pop hl pop bc pop de pop ix push hl push de push bc push hl jp vfscanf_callee + ASMDISP_VFSCANF_CALLEE
//------------------------------------------------------------------------------------------ // File: D3DDevicesManager.cpp // // Author: Gabriel Clavero //------------------------------------------------------------------------------------------ #include "D3DDevicesManager.h" namespace DTFramework { D3DDevicesMan...
#pragma once #include <utility> NS_HWM_BEGIN namespace ArrayRefDetail { template<class T> struct DummyArray { static T value; static T * GetAddress() { return &value; } }; template<class T> T DummyArray<T>::value = {}; } // ::ArrayRefDetail //! 配列やvectorクラスな...
OPTION DOTNAME .text$ SEGMENT ALIGN(64) 'CODE' PUBLIC aesni_encrypt ALIGN 16 aesni_encrypt PROC PUBLIC movups xmm2,XMMWORD PTR[rcx] mov eax,DWORD PTR[240+r8] movups xmm0,XMMWORD PTR[r8] movups xmm1,XMMWORD PTR[16+r8] lea r8,QWORD PTR[32+r8] xorps xmm2,xmm0 $L$oop_enc1_1:: DB 102,15,56,220,209 dec eax movups xm...
; PC-G8xx / PC-E2xx Program boot ; ; Stefano Bodrato 2017 ; ; $Id: g800_crt0.asm - Stefano Exp $ ; MODULE g800_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- defc crt0 = 1 INCLUDE "zcc_opt.def" ;-------- ; Some scope definitions ;-------- EXTER...
; A134025: Numbers for which the balanced ternary representation is the same length as the ternary representation. ; 0,1,3,4,9,10,11,12,13,27,28,29,30,31,32,33,34,35,36,37,38,39,40,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,12...
_cat: file format elf32-i386 Disassembly of section .text: 00001000 <main>: } } int main(int argc, char *argv[]) { 1000: f3 0f 1e fb endbr32 1004: 8d 4c 24 04 lea 0x4(%esp),%ecx 1008: 83 e4 f0 and $0xfffffff0,%esp 100b: ff 71 fc pushl -0x4...
// seed 3 lbi r0, 18 // icount 0 slbi r0, 25 // icount 1 lbi r1, 81 // icount 2 slbi r1, 89 // icount 3 lbi r2, 151 // icount 4 slbi r2, 171 // icount 5 lbi r3, 121 // icount 6 slbi r3, 62 // icount 7 lbi r4, 92 // icount 8 slbi r4, 247 // icount 9 lbi r5, 120 // icount 10 slbi r5, 213 // icount 11 lbi r6, 90 // icount...
;---------------------00 - NULL mov edi, GDTTableLoc mov dword [edi], 0 add edi, 4 mov dword [edi], 0 add edi, 4 ;---------------------08 - Stack ;500 - 1500 mov ax, 0x14ff mov [edi], ax add edi, 2 push ax mov ax, 0x500 mov [edi], ax ...
.setcpu "65816" .autoimport on .include "utility-macros.inc" .include "GlobalVarsAndConsts.inc" .segment "STARTUP" ; Reset int. (Entry Point) ------------------- .proc Reset ; int handler sei clc xce ; Native Mode On phk plb ; PB -stack-> DB (=0) rep #$30 ; A,I 16bit .a16 .i16 ; Initialize stack ldx #...
; A170657: Number of reduced words of length n in Coxeter group on 24 generators S_i with relations (S_i)^2 = (S_i S_j)^49 = I. ; 1,24,552,12696,292008,6716184,154472232,3552861336,81715810728,1879463646744,43227663875112,994236269127576,22867434189934248,525950986368487704,12096872686475217192,278228071788929995416 a...
SECTION rodata_font_fzx PUBLIC _ff_utz_Notez _ff_utz_Notez: BINARY "font/fzx/fonts/utz/Notez/notez.fzx"
; A290745: Maximum number of distinct Lyndon factors that can appear in words of length n over an alphabet of size 10. ; 10,11,13,16,20,25,31,38,46,55,64,74,85,97,110,124,139,155,172,190,208,227,247,268,290,313,337,362,388,415,442,470,499,529,560,592,625,659,694,730,766,803,841,880,920,961,1003,1046,1090,1135,1180,1226...
; A052996: G.f.: (1+x^2-x^3)/((1-x)(1-2*x)). ; 1,3,8,17,35,71,143,287,575,1151,2303,4607,9215,18431,36863,73727,147455,294911,589823,1179647,2359295,4718591,9437183,18874367,37748735,75497471,150994943,301989887,603979775,1207959551,2415919103,4831838207,9663676415,19327352831,38654705663,77309411327,154618822655,30923...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1176b, %rdx nop nop nop nop nop xor $26709, %rbx movw $0x6162, (%rdx) nop cmp $47481, %rbp lea addresses_D_ht+0x17578, %rsi lea addresses_A_ht+0x8711, %rdi nop nop nop nop n...
; Pack.Jumptable and BattlePack.Jumptable indexes const_def const PACKSTATE_INITGFX ; 0 const PACKSTATE_INITITEMSPOCKET ; 1 const PACKSTATE_ITEMSPOCKETMENU ; 2 const PACKSTATE_INITBALLSPOCKET ; 3 const PACKSTATE_BALLSPOCKETMENU ; 4 const PACKSTATE_INITKEYITEMSPOCKET ; 5 const PACKST...
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef LIBP2P_BASIC_ASIO_SCHEDULER_BACKEND_HPP #define LIBP2P_BASIC_ASIO_SCHEDULER_BACKEND_HPP #include <boost/asio/io_context.hpp> #include <boost/asio/steady_timer.hpp> #include <libp2p/basic/scheduler.hpp> names...
// Copyright (c) 2019-2023 The PIVXL developers // Copyright (c) 2014 The Bitcoin Core developers // Copyright (c) 2017-2019 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "uti...
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG3424 DB 'Ethernet Protocol Received ->> ARP type', 0aH, 00H ORG $+7 $SG3426 DB 'Ethernet Protocol Received packet ->> IP Packet', 0aH, 00H CONST ENDS PUBLIC ?eth...
; A105186: Replace odd-positioned digits with 0 in ternary representation of n. ; Submitted by Jamie Morken(w1) ; 0,1,2,0,1,2,0,1,2,9,10,11,9,10,11,9,10,11,18,19,20,18,19,20,18,19,20,0,1,2,0,1,2,0,1,2,9,10,11,9,10,11,9,10,11,18,19,20,18,19,20,18,19,20,0,1,2,0,1,2,0,1,2,9,10,11,9,10,11,9,10,11,18,19,20,18,19,20,18,19,20...
SECTION code_clib SECTION code_l PUBLIC l_small_asr_dehl EXTERN error_lznc, error_lmnc l_small_asr_dehl: ; arithmetic shift right 32-bit signed long ; ; enter : dehl = 32-bit number ; a = shift amount ; ; exit : dehl = dehl >> a ; ; uses : af, b, de, hl or a ret z ...
; A102591: a(n)=sum k=0..n, C(2n+1,2k)3^(n-k). ; 1,6,44,328,2448,18272,136384,1017984,7598336,56714752,423324672,3159738368,23584608256,176037912576,1313964867584,9807567290368,73204678852608,546407161659392,4078438577864704,30441879976280064 mul $0,2 mov $1,1 mov $2,2 lpb $0 sub $0,1 sub $1,1 mov $3,$1 add $1...