text
stringlengths
1
1.05M
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosIOAccess DOS wrapper ; ; (c) osFree Project 2022, <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 %r10 push %r15 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x7f6c, %r10 nop nop nop and %rdi, %rdi movw $0x6162, (%r10) cmp %rbp, %rbp lea addresses_D_ht+0x11b95, %rsi lea addresses_D_ht+0x427d, %rdi cmp %r15, %r15 mov $42, %rcx rep mo...
; A077833: Expansion of 1/(1-2*x-3*x^2-2*x^3). ; Submitted by Jon Maiga ; 1,2,7,22,69,218,687,2166,6829,21530,67879,214006,674709,2127194,6706527,21144054,66662077,210169370,662613079,2089058422,6586294821,20764991066,65466983439,206401529718,650733991885,2051606539802,6468218114695,20392723832566 mov $2,1 lpb $0 su...
.size 8000 .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(24), a ldff(25), a ldff(26), a ld a, 80 ldff(26), a ld b, 05 ld c, 07 lwaitbegin: dec b jrnz lwaitbegin dec c jrnz lwaitbegin nop nop nop ld a, 20 ldff(10), a ld a, f0 ldff(12), a ld a, 00 ldff(13), a ld a, 87 ldff(1...
frame 1, 04 frame 2, 24 setrepeat 7 frame 1, 02 frame 3, 02 dorepeat 3 frame 1, 08 endanim
;;; ;; Initialise the monitor. ;;; monitor_initialiser: .proc ;jsr prompt rts .pend ;;; ;; Monitor main loop ;;; monitor_main_loop: .proc jsr prompt l2: jsr b_read_char ;Get char in uppercase from terminal tay ;Protect read character ...
.macosx_version_min 10, 10 .section __TEXT,__text,regular,pure_instructions .align 4, 0x90 .globl _PyToken_OneChar _PyToken_OneChar: pushl %ebp movl %esp, %ebp movl 8(%ebp), %ecx cmpl $93, %ecx jg LBB0_7 cmpl $57, %ecx jg LBB0_5 cmpl $37, %ecx jne LBB0...
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ // | | // __| | __ ___ ___ ___ // / _` |/ _` \ \ /\ / / '_ | // | (_| | (_| |\ V V /| | | | // ...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Buffer Definitions: // // cbuffer $Params // { // // bool bTexture; // Offset: 0 Size: 4 // // } // // // Resource Bindings: // // Name Type Format Dim Slot Elements ...
.code pal_execute_xgetbv proc ; The argument to pass to xgetbv via ecx is already ; there, since it is the first integer passed here. xgetbv; ; The result is stored in edx:eax, so get it into rax ; and return. shl rdx, 032; or rax, rdx; ret; pal_execute_xgetbv endp end
// Copyright (c) 2014-2015 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 "timedata.h" #include "netaddress.h" #include "sync.h" #include "ui_interface.h" #include "util.h" #include "utilst...
LXI H,9000 LXI B,9010 LXI D,9020 MVI A,0A // 10 elements LOOP: STA 9100 // storing the count LDAX B ADD M STAX D INX H INX B INX D LDA 9100 DCR A JNZ LOOP HLT
Map_2EDD0: dc.w word_2EDD8-Map_2EDD0 dc.w word_2EDE6-Map_2EDD0 dc.w word_2EDF4-Map_2EDD0 dc.w word_2EE02-Map_2EDD0 word_2EDD8: dc.w 2 dc.b $F8, $D, 0, 0, $FF, $B8 dc.b $F8, $D, 0, 8, $FF, $D8 word_2EDE6: dc.w 2 dc.b $F8, $D, 0, $14, 0, 8 dc.b $F8, $D, 0, $C, 0, $28 word_2E...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0 TITLE C:\Users\libit\source\repos\L052\L052\L052.cpp .686P .XMM include listing.inc .model flat INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG5569 DB 'a=%d,b=%d,c=%d,d=%d', 0aH, 00H ORG $+3 $SG5576 DB 'a=%d,b=%d,c=%d,d=%d'...
#include <bits/stdc++.h> using namespace std; #define ll long long int #define vi vector<int> #define pb push_back #define rep(i, a, b) for (int i = a; i < b; i++) const int N = 2e5+10; vector<pair<int,int>> g[N]; vector<int> d(N),dis(N),dis1(N); void dfs(int vertex, int par = 0){ for(auto child: g[...
; ; Print character to screen using firmware ; SECTION code_clib PUBLIC fputc_cons_native INCLUDE "target/dai/def/dai.def" ; ; Entry: hl = points to char ; .fputc_cons_native ld hl,2 add hl,sp ld d,0 ld a,(hl) cp 10 jp nz,notcr ld a,13 jp printit notcr: cp 13 jp nz,printit ld a,1...
; Multiplication demonstration ; ; This program will multiply the ; value in $a0 by the value in $a1. ; The result will be stored in $a2. ; ; For this example, we will multiply 2 by 3. ; ; NOTE: This example assumes the second operand is non zero ; ; Load operands ASET 0 ; Load first operand (0x02) into $a0 A...
#include <bits/stdc++.h> using namespace std; int main() { int tests; cin >> tests; for (int t = 0; t < tests; ++t) { long long n; cin >> n; int array[n]; for (int i = 0; i < n; ++i) cin >> array[i]; long long needed = 0; for (int i = 0; i < n - 1; ++i) { auto [a, b] = minmax(array...
frame 1, 12 frame 2, 06 frame 3, 16 endanim
;My first program ;Coded by Kalun ;This program counts from 0 to 9 and shows on a seven segment common cathode display list p=18f4550 ;Processor model #include<p18f4550.inc> ;Library for register names of the selected processor ;Configuration bit declaration CONFIG FOSC = XT_XT ; Oscil...
#include <vcpkg/base/system.print.h> #include <vcpkg/binarycaching.h> #include <vcpkg/commands.setinstalled.h> #include <vcpkg/globalstate.h> #include <vcpkg/help.h> #include <vcpkg/input.h> #include <vcpkg/install.h> #include <vcpkg/metrics.h> #include <vcpkg/portfileprovider.h> #include <vcpkg/remove.h> #include <vc...
/* * (C) 1999-2003 Lars Knoll (knoll@kde.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2013 Intel Corporation. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public *...
#include "functions.h" int factorial(int n){ if(n!=1){ return(n * factorial(n-1)); } else return 1; }
; This was a start at implementation a Heap Management Sybsystem based on the ; heam code that is in https://github.com/pweingar/BASIC816 ; The best way to understand something is to tear it down and rebuild it from ; the ground up... I thought this was too complicated for what it does and I had ; an epiphany last ...
bits 16 org 0x7c00 jmp main Message db "Hello, world!", 0x0A, 0x0 main: mov dx, 0x0 mov si, Message loopString: mov al, [si] ; Test 0 value test al, al jz exitString inc si ; Print the character (Since we don't have BIOS or something, just export ; the number to port 0) out dx, al jmp loopStri...
jmp near start text db 'L',0x07,'a',0x07,'b',0x07,'e',0x07,'l',0x07,' ',0x07,'o',0x07,\ 'f',0x07,'f',0x07,'s',0x07,'e',0x07,'t',0x07,':',0x07 start: mov ax, 0x07c0 mov ds, ax mov ax, 0xb800 mov es, ax cld ;将Direction Flag设置为0,表示从低地址到高地址 mov si, text ;si指向text指向的内存地址 mov di, 0 ;设置输出的起始地址 mov cx, 13 ...
; A319842: a(n) = 8 * A104720(n) + ceiling(n/2). ; Submitted by Christian Krause ; 8,89,897,8978,89786,897867,8978675,89786756,897867564,8978675645,89786756453,897867564534,8978675645342,89786756453423,897867564534231,8978675645342312,89786756453423120,897867564534231201,8978675645342312009,89786756453423120090,8978675...
PAGE 90,132 ;AN000;A2 TITLE DCOMPPAR.SAL - LOOK AT COMMAND LINE PARMS ;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ;****************** START OF SPECIFICATIONS *****************************...
; A022160: First column of spectral array W(e-1). ; 1,5,8,10,13,17,20,22,25,29,30,34,37,41,42,46,49,51,54,58,61,63,67,70,72,75,79,82,84,87,91,92,96,99,103,104,108,111,115,116,120,123,125,128,132,135,137,140,144,146,149,152,156,158,161,164,166,170,173,176,178,182,185,187,190,194,197,199,202,206,207,211,214,218,219,223,2...
CeladonGameCornerObject: db $f ; border block db $3 ; warps db $11, $f, $7, $ff db $11, $10, $7, $ff db $4, $11, $1, ROCKET_HIDEOUT_1 db $1 ; signs db $4, $9, $c ; CeladonGameCornerText12 db $b ; objects object SPRITE_FOULARD_WOMAN, $2, $6, STAY, DOWN, $1 ; person object SPRITE_MART_GUY, $5, $6, STAY, DOWN...
/* * * Copyright 2017 gRPC 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...
#include "stdafx.h" #include "../xrcdb/ispatial.h" #include "icollidable.h" #include "xr_collide_form.h" ICollidable::ICollidable() { collidable.model = NULL; ISpatial* self = dynamic_cast<ISpatial*> (this); if (self) self->spatial.type |= STYPE_COLLIDEABLE; }; ICollidable::~ICollidable() { xr_delet...
/* * misc.cpp * * Created on: Apr 20, 2012 * Author: Leonard Harris */ #include "misc.hh" // Check whether a variable is NAN bool Util::isNAN(double x){ return x != x; } // Remove leading and trailing whitespace from a string void Util::remove_whitespace(string& s){ // Remove leading whitespace while (...
include '..\FASM\INCLUDE\win32ax.inc' .data memory_alloc dd 0x0 memory_counter dd 0x0 searchstr_fn db '*.' fn_ext db '000', 0x0 stSearchTxt db '*.txt', 0x0 hSearchFile dd 0x0 dot_position dd 0x0 trash dd 0x0 trash2 dd 0x0 hCreFile dd 0x0 key_txt_size dd 0x0 hCrFiMap dd 0x0 ...
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <ie_metric_helpers.hpp> #include <ie_plugin_config.hpp> #include <hetero/hetero_plugin_config.hpp> #include <threading/ie_executor_manager.hpp> #include <ngraph/op/util/op_types.hpp> #include <ngraph/graph_util.hpp> #include <...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld c, 41 ld b, 02 ld d, 03 lbegin_waitm2: ldff a, (c) and a, d cmp a, b jrnz lbegin_waitm2 ld a, 08 ldff(c), a xor a, a ldff(0f), a ld a, 02 ldff(ff), a ei ld c, 0f .text@1000 lstatint: nop .text@1066 xor a, a ...
;----------------------------------------------------------------------------- ; sinh.asm - floating point hyperbolic sine ; Ported from Al Maromaty's free C Runtime Library ;----------------------------------------------------------------------------- SECTION .text global sinh ...
; A202254: Number of zero-sum -n..n arrays of 4 elements with adjacent element differences also in -n..n. ; 7,31,81,171,309,509,779,1133,1579,2131,2797,3591,4521,5601,6839,8249,9839,11623,13609,15811,18237,20901,23811,26981,30419,34139,38149,42463,47089,52041,57327,62961,68951,75311,82049,89179,96709,104653,113019,1218...
#include "Entity.h" #include <assert.h> namespace nsge { EntityManager::EntityManager() { for (Entity entt = 0; entt < m_MaxEntities; entt++) { m_AvailableEntitys.push(entt); } } Entity EntityManager::createEntity() { assert(m_LivingEnttCount < m_MaxEntities && "Entity count exceded"); ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x15daf, %r15 nop xor $1847, %rax vmovups (%r15), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $1, %xmm5, %r8 nop xor %r11, %r11 lea addresses_normal_ht+0x18faf, %rbp clflus...
; A025809: Expansion of 1/((1-x^2)(1-x^5)(1-x^9)). ; 1,0,1,0,1,1,1,1,1,2,2,2,2,2,3,3,3,3,4,4,5,4,5,5,6,6,6,7,7,8,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,16,16,17,17,18,19,19,20,20,22,22,23,23,24,25,26,26,27,28,29,30 mov $3,2 mov $5,$0 lpb $3 mov $0,$5 sub $3,1 add $0,$3 sub $0,1 cal $0,29014 ; Expansion of ...
%include "../UltimaPatcher.asm" %include "include/uw2.asm" %include "include/uw2-eop.asm" %include "../uw1/eop-setupPerspectiveAndEnqueueDraw.asm"
SECTION code_fp_math32 PUBLIC modf_callee EXTERN cm32_sccz80_modf_callee defc modf_callee = cm32_sccz80_modf_callee IF __CLASSIC ; SDCC bridge for Classic PUBLIC _modf_callee EXTERN cm32_sdcc_modf_callee defc _modf_callee = cm32_sdcc_modf_callee ENDIF
; void *w_vector_pop_back(w_vector_t *v) SECTION code_clib SECTION code_adt_w_vector PUBLIC w_vector_pop_back EXTERN asm_w_vector_pop_back defc w_vector_pop_back = asm_w_vector_pop_back
; A004120: Expansion of (1 + x - x^5) / (1 - x)^3. ; 1,4,9,16,25,35,46,58,71,85,100,116,133,151,170,190,211,233,256,280,305,331,358,386,415,445,476,508,541,575,610,646,683,721,760,800,841,883,926,970,1015,1061,1108,1156,1205,1255,1306,1358,1411,1465,1520,1576,1633,1691,1750,1810,1871,1933,1996,2060,2125,2191,2258,2326,...
;**************************************************************************** ;* Civil War IV * ;* * ;* Assembled with Tasm 2.5 * ;* ...
/*========================================================================= * * Copyright Insight Software 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 * * h...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rbx push %rcx lea addresses_normal_ht+0x12528, %rbx nop nop nop nop nop sub $1063, %r8 mov (%rbx), %cx nop nop nop nop nop add $23846, %r15 pop %rcx pop %rbx pop %r8 pop %r15 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r9 ...
SP = SP - 4 M[SP] = NEG25 RV = .1 M[SP] ; SP = SP + 4 RET
///////////////////////////////////////////////////////////////////////////// // Name: src/common/imagtiff.cpp // Purpose: wxImage TIFF handler // Author: Robert Roebling // Copyright: (c) Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////...
// Copyright (c) 2009-2017 The Bitcoin developers // Copyright (c) 2017 The PIVX developers // Copyright (c) 2018 The Tessacoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "key.h" #include "crypto/common...
GLOBAL _call_int80 _call_int80: push rbp mov rbp, rsp int 80h leave ret
; A214304: Expansion of phi(q) + phi(q^2) - phi(q^4) in powers of q where phi() is a Ramanujan theta function. ; 1,2,2,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x4480, %rsi nop nop nop nop nop and %r11, %r11 mov (%rsi), %ecx nop nop nop nop inc %rcx lea addresses_WT_ht+0x14da8, %r12 nop nop nop nop sub %rdx, %rdx mov $0x6162636465...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <cmath> #include "core/providers/rocm/rocm_allocator.h" #include "core/providers/rocm/reduction/reduction_functions.h" #include "core/providers/rocm/math/binary_elementwise_ops.h" #include "orttraining/training_ops...
/* * <one line to give the program's name and a brief idea of what it does.> * Copyright (C) 2016 <copyright holder> <email> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either versi...
/** * @file jax.hpp * @brief JSON parser and generator for C++ */ #pragma once #include <jax/stream_parser.hpp> //#include <jax/tree_parser.hpp>
match ,{ include 'macro/struct.inc' include '../linux/import32.inc' } match -,{ else include 'selfhost.inc' end match _ equ } format ELF public main include '../version.inc' extrn 'malloc' as libc.malloc extrn 'realloc' as libc.realloc extrn 'free' as libc.free extrn 'fopen' as libc.f...
.public main .extern testInstr .data a: .word 0x12345678 t: .long 0x12343 r: .char 34 .text main: ldc r4, nastavak mov pc, r4 .data.ert b: .char 3 .align .text.ert nastavak: add r1, r2 ldc r4, testInstr halt
/* * 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...
.inesprg 1 ; 1x 16KB PRG code .ineschr 1 ; 1x 8KB CHR data .inesmap 0 ; mapper 0 = NROM, no bank swapping .inesmir 1 ; background mirroring .bank 0 .org $C000 ; ***************************************************************************...
#include <iostream> #include "opencv2/opencv.hpp" using namespace cv; using namespace std; int main() { Mat h_image = imread( "images/drawing.JPG", 0 ); cv::Ptr<cv::cuda::ORB> detector = cv::cuda::ORB::create(); std::vector<cv::KeyPoint> keypoints; cv::cuda::GpuMat d_image; d_image.upload(h_image); det...
#include <stdio.h> #include <iostream> using namespace std; int max(int a, int b) { return (a > b)? a : b; } int knapsack(int W, int wt[], int val[], int n) { int i, w; int K[n+1][W+1]; for (i = 0; i <= n; i++) { for (w = 0; w <= W; w++) { if (i==0 || w==0) K[i][w] = 0; else if (wt[i-1]...
;; Copyright 2012-2016 The Opentls Project Authors. All Rights Reserved. ;; ;; Licensed under the Apache License 2.0 (the "License"). You may not use ;; this file except in compliance with the License. You can obtain a copy ;; in the file LICENSE in the source distribution or at ;; https://www.opentls.org/source/lice...
/* * Copyright (c) 2016 Juniper Networks, Inc. All rights reserved. */ #include <boost/scoped_ptr.hpp> #include <boost/uuid/random_generator.hpp> #include <tbb/atomic.h> #include "base/task_annotations.h" #include "control-node/control_node.h" #include "bgp/inet/inet_table.h" #include "bgp/bgp_config_ifmap.h" #inclu...
;; All the flavors of RET %ifndef ERROR %define ERROR 0 %endif bits 16 ret retn retf retw retnw retfw retd retnd retfd %if ERROR retq retnq retfq %endif bits 32 ret retn retf retw retnw retfw retd retnd retfd %if ERROR retq retnq retfq %endif bits 64 ret retn retf ; Probably shou...
/* * Copyright (C) 2016 The Android Open Source Project * * 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 app...
; ; fdtell: ..see fdgetpos ! ; ; Stefano - 5/7/2006 ; ; ; $Id: fdtell.asm,v 1.1 2006/07/18 21:02:54 stefano Exp $ XLIB fdtell .fdtell ld hl,-1 ld d,h ld e,l ret
//==------- kernel_impl.cpp --- SYCL kernel implementation -----------------==// // // 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) 2011-2016 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 so...
#pragma once #ifdef MONO_DOMAIN_SET_CONFIG_PATCH //only for mono 3.2.8 and lower version #include <windows.h> typedef struct { MonoObject object; MonoString* application_base; MonoString* application_name; MonoString* cache_path; MonoString* configuration_file; MonoString* dynamic_base; MonoString* license_...
; A289120: a(n) is the number of odd integers divisible by 7 in ]2*(n-1)^2, 2*n^2[. ; 0,0,1,0,1,2,1,2,2,3,2,3,4,3,4,4,5,4,5,6,5,6,6,7,6,7,8,7,8,8,9,8,9,10,9,10,10,11,10,11,12,11,12,12,13,12,13,14,13,14,14,15,14,15,16,15,16,16,17,16,17,18,17,18,18,19,18,19,20,19,20,20,21,20,21,22,21,22,22,23,22,23,24,23,24,24,25,24,25,2...
; A189661: Fixed point of the morphism 0->010, 1->10 starting with 0. ; 0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0 mov $3,2 mov $5,$0 lpb $3 mov $0,$5 sub $3,...
.data a: .word 0 c: .word 0 t0: .word 0 t1: .word 0 return.0: .word 0 return.1: .word 0 a.0: .word 0 b.1: .word 0 c.2: .word 0 d.3: .word 0 test.0: .word 0 test.1: .word 0 e.4: .word 0 f.5: .word 0 .text runtime: addi $sp, $sp, -4 sw $ra, 0($sp) lw $ra, 0($sp) addi $sp, $sp, 4 jr $ra .end runtime...
; ; Spectrum C Library ; ; ANSI Video handling for ZX Spectrum ; ; Handles colors referring to current PAPER/INK/etc. settings ; ; ** alternate (smaller) 4bit font capability: ; ** use the -DPACKEDFONT flag ; ** ROM font -DROMFONT ; ; set it up with: ; .text_cols = max columns ; .text_rows = max rows ; .DOTS+1...
SECTION bss_clib PUBLIC __x_proportional PUBLIC __y_proportional PUBLIC __xchar_proportional PUBLIC __X_int1 PUBLIC __X_int2 PUBLIC __X_int3 PUBLIC __x_must_expose __x_proportional: defw 0 __y_proportional: defw 0 __xchar_proportional: defw 0 __X_int1: defw 0 __X_int2: defw 0 __X_int3: defw 0 SE...
#ifndef ISTRATEGY_HPP #define ISTRATEGY_HPP #include "Plate.hpp" namespace platercg { using PlateVec = std::vector<plate::Plate>; class IStrategy { public: IStrategy() = default; virtual ~IStrategy() = default; virtual PlateVec licensePlates(cv::Mat frame) const = 0; }; } #endif
.model small .data num1 db 0,0,0,0,0,0,0,0,0,0,'$' decimales_1 db 0,0,0,0,0,0,0,0,0,0,'$' num2 db 0,0,0,0,0,0,0,0,0,0,'$' decimales_2 db 0,0,0,0,0,0,0,0,0,0,'$' num_res db 0,0,0,0,0,0,0,0,0,0,'$' decimales_Res db 0,0,0,0,0,0,0,0,0,0,'$' Acarreo_ParaEntero db 0 posicion_u...
eor #$ff sec adc ({z1}),z
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>semget(key, nsems, semflg) -> str Invokes the syscall semget. See 'man 2 semget' for more information. Arguments: key(key_t): key nsems(int): nsems semflg(int): semflg Returns: int </%docstring> <%...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2013-2015 Intel Corporation. ; ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. The full text of the ...
/********************************************************************* (c) Matt Marchant 2017 - 2019 http://trederia.blogspot.com xygineXT - Zlib license. 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 thi...
; A132117: Binomial transform of [1, 7, 17, 17, 6, 0, 0, 0,...]. ; 1,8,32,90,205,406,728,1212,1905,2860,4136,5798,7917,10570,13840,17816,22593,28272,34960,42770,51821,62238,74152,87700,103025,120276,139608,161182,185165,211730,241056,273328,308737,347480,389760,435786,485773,539942,598520,661740,729841,803068,881672,96...
INCLUDE "config_private.inc" IF !__CPU_RABBIT__ IF (__CLIB_OPT_UNROLL & 0xc0) SECTION smc_clib SECTION smc_l ELSE SECTION code_clib SECTION code_l ENDIF PUBLIC l_outi IF __SMS EXTERN asm_SMSlib_outi_block defc l_outi = asm_SMSlib_outi_block ; other outi entries defined in asm_SMSlib_outi_bl...
; A035214: 2 followed by a run of n 1's. ; 2,2,1,2,1,1,2,1,1,1,2,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1...
/** * Copyright 2020 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...
; A062481: a(n) = n^prime(n). ; 1,8,243,16384,48828125,13060694016,232630513987207,144115188075855872,8862938119652501095929,100000000000000000000000000000,191943424957750480504146841291811,8505622499821102144576131684114829934592,4695452425098908797088971409337422035076128813,192090343944589597848750466142818219045930...
/* * Copyright (c) 2015, Confluent 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 co...
copyright zengfr site:http://github.com/zengfr/romhack 004114 clr.b ($17,A6) [1p+42, boss+42, enemy+42] 004118 clr.b ($3,A6) 007110 move.b #$6, ($17,A3) [1p+17] 00714A move.b #$6, ($17,A3) [1p+17] 007360 move.b #$6, ($17,A3) [1p+17] 0073AC move.b #$6, ($17,A1) [enemy+AB] 0073B2 move.b #$6, ($17,A3) [1...
/* * Copyright 2011-2013 Blender Foundation * * 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 ag...
; 0 - PUSH constant 0 leaw $0, %A movw %A, %S leaw $SP, %A movw (%A), %D movw %D, %A movw %S, (%A) leaw $SP, %A movw (%A), %A incw %A movw %A, %S leaw $SP, %A movw %S, (%A) ; 1 - POP temp 0 leaw $SP, %A movw (%A), %A decw %A movw (%A), %D movw %A, %S leaw $SP, %A leaw $0, %A movw %A, %S leaw $5, %A addw %S, %A, %A movw...
; A181532: a(0) = 0, a(1) = 1, a(2) = 1; a(n) = a(n-1) + a(n-2) + a(n-4) ; 0,1,1,2,3,6,10,18,31,55,96,169,296,520,912,1601,2809,4930,8651,15182,26642,46754,82047,143983,252672,443409,778128,1365520,2396320,4205249,7379697,12950466,22726483,39882198,69988378,122821042,215535903 mov $3,$0 mov $5,2 lpb $5 mov $0,$3 s...
///////////////////////////////////////////////////////////////////////////// // // (C) Copyright Daniel K. O. 2005. // (C) Copyright Ion Gaztanaga 2007. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICEN...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ReadDr4.Asm ; ; Abstract: ; ; AsmReadDr4 function ; ; Notes: ; ;--------------...
%ifdef CONFIG { "RegData": { "MM7": ["0x8000000000000000", "0x3fff"] }, "Mode": "32BIT" } %endif lea edx, [.data] fld dword [edx + 8 * 0] hlt .data: dq 0x3f800000
; A044615: Numbers n such that string 5,7 occurs in the base 8 representation of n but not of n+1. ; 47,111,175,239,303,367,383,431,495,559,623,687,751,815,879,895,943,1007,1071,1135,1199,1263,1327,1391,1407,1455,1519,1583,1647,1711,1775,1839,1903,1919,1967,2031,2095,2159,2223,2287,2351 seq $0,44235 ; Numbers n such t...
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
; PURPOSE: Traverse wordlist - words and structure ; LICENSE: Unlicense since 1999 by Illya Kysil ; WID>VT ; D: ( wid -- wid-vt-addr ) $CODE 'WID>VT',$WID_TO_VT POPDS EAX ADD EAX,CELL_SIZE * 3 PUSHDS EAX $NEX...
.dst_addr DAT 0 .src_addr DAT 0 ; IN ; +1 Destination address ; +2 Value ; +3 Count ; OUT ; None :write_mem STO Z,SP STO [dst_addr],[Z+1] STO Y,[Z+2] STO J,[Z+3] STO A,0 :write_mem_loop STO X,[dst_addr] ADD X,A STO [X],Y ADD A,1 IFL A,J JMP write_mem_loop STO SP,Z RET ; IN ; +1 Destination...