text
stringlengths
1
1.05M
MOV XL, 11111110b MOV XH, 0x00 MOV J, X ; Initialize the D and E register MOV E, [J] MOV D, 00000001b ; Add both values ADD E, D DATA 0000000011111110b, 00000001b
// // Boost.Process // ~~~~~~~~~~~~~ // // Copyright (c) 2006, 2007 Julio M. Merino Vidal // Copyright (c) 2008 Boris Schaeling // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include <boost/proces...
; A135247: a(n) = 3*a(n-1) + 2*a(n-2) - 6*a(n-3). ; Submitted by Jon Maiga ; 0,0,1,3,11,33,103,309,935,2805,8431,25293,75911,227733,683263,2049789,6149495,18448485,55345711,166037133,498111911,1494335733,4483008223,13449024669,40347076055,121041228165,363123688591,1089371065773,3268113205511,9804339616533,2941301886598...
SECTION code_fp_math16 PUBLIC cm16_sdcc_ceil EXTERN cm16_sdcc_read1 EXTERN asm_f16_ceil .cm16_sdcc_ceil call cm16_sdcc_read1 jp asm_f16_ceil
#include "TextureLoader.h" #include <iostream> #include "./stb_image.h" namespace TEngine { // We must define the static variables outside the class first to get memory std::unordered_map<std::string, Texture*> TextureLoader::mTextureCache; Texture* TextureLoader::sDefaultAlbedo = nullptr; Texture* TextureLoader:...
.include "myTiny13.h" Main: sbi DDRB, 0 ; PortB0 is output = OC0A ldi A, 0b01000011 ; Fast PWM Mode 7 with a toggle on Compare for OC0A out TCCR0A, A ldi A, 0b00001101 ; timer: count on every 1024 clock-ticks out TCCR0B, A ; toggle: only if wgm2 = 1 ldi A, 90 out OCR0A, A ; set Compare for Timer Mai...
// // Created by windyear_office on 18-1-30. // #include "DirectedDFS.h" DirectedDFS::DirectedDFS(Digraph g, int s) { //创建标记数组 marked = new bool[g.V()]; for(int i = 0; i < g.V(); i++){ marked[i] = false; } count = 0; DFS(g, s); } DirectedDFS::DirectedDFS(Digraph g, vector<int> source)...
; A267452: Total number of ON (black) cells after n iterations of the "Rule 131" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by Christian Krause ; 1,2,4,6,10,13,19,24,30,37,46,53,63,73,84,95,108,120,135,149,164,180,198,214,233,252,272,292,314,335,359,382,406,431,458,483,511,539,568...
; A071716: Expansion of (1+x^2*C)*C, where C = (1-(1-4*x)^(1/2))/(2*x) is g.f. for Catalan numbers, A000108. ; 1,1,3,7,19,56,174,561,1859,6292,21658,75582,266798,950912,3417340,12369285,45052515,165002460,607283490,2244901890,8331383610,31030387440,115948830660,434542177290,1632963760974,6151850548776 lpb $0,1 pow $...
; Uppercase a string. ; ; The program runs on CP/M but you need a debugger like DDT or SID to inspect the ; process and the machine state. From SID start the program with this command, ; which runs it until the breakpoint at address 'done': ; ; g,.done lowera equ 61h ; ASCII lowercase a lower...
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/sync/driver/sync_service_crypto.h" #include <utility> #include "base/bind.h" #include "base/callback_helpers.h" #include "base/feat...
* Toolkit II Net Constants (English)  1985 T.Tebby QJUMP * section defs xdef ms_ntabt * ms_ntabt dc.w ntabt_ms-* * ntabt_ms dc.w 12 dc.b 'Net aborted',$a * end
/* * Copyright © <2010>, 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, merg...
#define RGBCX_IMPLEMENTATION #include "rgbcx.h"
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 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 ld a, 08 ldff(43...
;; generated by encode_room_layouts.py r10_room_data_rl:: ;;0.json DB $0b, $13, $13, $13, $13, $13, $13, $13, $13, $13, $13, $13, $13, $13, $13, $05, $0e, $0d, $0b, $13, $13, $13, $13, $13, $13, $13, $13, $13, $13, $13, $05, $0e, $0e, $0e, $0e, $0b, $13, $13, $13, $13, $13, $13, $13, $13, $05, $0d, $0e, $0e, $0e, $0e,...
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2020 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 4.0.2020.01.10 #include "AdaptiveSkeletonClimbing3Console.h" #...
; A037536: Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,1. ; 1,5,16,49,149,448,1345,4037,12112,36337,109013,327040,981121,2943365,8830096,26490289,79470869,238412608,715237825,2145713477,6437140432,19311421297,57934263893,173802791680,521408375041 add $0,1 mov $2,6 lp...
;NestorWeb CGI script to return the current date on the server. ;This one uses _CONOUT and _STROUT to write the request body to STDOUT, ;but using _WRITE instead is generally recommended. CR: equ 13 LF: equ 10 _CONOUT: equ 2 _STROUT: equ 9 _GDATE: equ 2Ah _GTIME: equ 2Ch org 100h ld de,HEADERS...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: PCL 4 download font driver FILE: totalResetInfo.asm AUTHOR: Dave Durran REVISION HISTORY: Name Date Description ---- ---- -------...
//===--- Task.cpp - Task object and management ----------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
; 23 - Utilizar ciclo anidado para formar un cuadrado espaciado ; López Garay Luis Felipe ; 15211312 ; 14 de Octubre del 2018 .model small .stack 64 .data char db '*' espacio db 3 n_cols dw 20 n_rows dw 6 .code MAIN PROC mov ax,@Data mov ds,ax mov ah,00h mov al,03h int 10h mov cx,n_rows ...
#ifndef EASY_BO_ALGORITHMS_HPP_INCLUDED #define EASY_BO_ALGORITHMS_HPP_INCLUDED #include "easy_bo_math.hpp" namespace easy_bo { /** \brief Рассчитать центройд окружности * * Данная функция принимает на вход массив исхода бинарных опционов, где 1 - удачная сделка, 0 - убыточная сделка. * Или можно ...
; A267811: Binary representation of the n-th iteration of the "Rule 217" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by Jamie Morken(s2.) ; 1,1,11011,1110111,111101111,11111011111,1111110111111,111111101111111,11111111011111111,1111111110111111111,111111111101111111111,111111111110...
%ifdef CONFIG { "RegData": { "RAX": "0xB1B2B3B4B5B6B7B8", "RSI": "0xE0000040" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax mov rax, 0x6162636465666768 mov [rdx + 8 * ...
; A292643: Rank of (5+r)*n when all the numbers (5-r)*j and (5+r)*k, where r = sqrt(2), j>=1, k>=1, are jointly ranked. ; Submitted by Jamie Morken(w1) ; 2,5,8,11,13,16,19,22,25,27,30,33,36,39,41,44,47,50,52,55,58,61,64,66,69,72,75,78,80,83,86,89,92,94,97,100,103,105,108,111,114,117,119,122,125,128,131,133,136,139,142,...
; A036496: Number of lines that intersect the first n points on a spiral on a triangular lattice. The spiral starts at (0,0), goes to (1,0) and (1/2, sqrt(3)/2) and continues counterclockwise. ; 0,3,5,6,7,8,9,9,10,11,11,12,12,13,13,14,14,15,15,15,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,21,21,22,22,22,23,23,23,2...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: uiToolControl.asm AUTHOR: Jon Witort METHODS: Name Description ---- ----------- FUNCTIONS: Scope Name Description ----- ---- ----...
; A190176: a(n) = n^4 + 2^4 + (n+2)^4. ; 32,98,288,722,1568,3042,5408,8978,14112,21218,30752,43218,59168,79202,103968,134162,170528,213858,264992,324818,394272,474338,566048,670482,788768,922082,1071648,1238738,1424672,1630818,1858592,2109458,2384928,2686562,3015968,3374802,3764768,4187618,4645152,5139218,5671712,62445...
; A016851: a(n) = (5*n)^3. ; 0,125,1000,3375,8000,15625,27000,42875,64000,91125,125000,166375,216000,274625,343000,421875,512000,614125,729000,857375,1000000,1157625,1331000,1520875,1728000,1953125,2197000,2460375,2744000,3048625,3375000,3723875,4096000,4492125,4913000,5359375,5832000,6331625,6859000,7414875,8000000,86...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xae94, %r8 nop nop add %rdi, %rdi and $0xffffffffffffffc0, %r8 vmovaps (%r8), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %rbp nop nop nop nop nop sub %r13...
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2015 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2017. // Modifications copyright (c) 2017 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Us...
INCLUDE "config_private.inc" SECTION code_clib SECTION code_stdlib PUBLIC __strtoull__ EXTERN l_valid_base, l_eat_ws, l_eat_sign, l_neg_64_dehldehl EXTERN l_eat_base_prefix, l_char2num, error_llznc, l_mulu_72_64x8 EXTERN l_add_64_dehldehl_a, l_eat_digits, error_llzc __strtoull__: ; strtoll, strtoull helper ...
org #4000 execute: ld (v1), hl ld hl, (v1) loop: jr loop org #c000 v1: ds virtual 2
#include "Common.hpp" #include <algorithm> #include <cctype> #include <functional> namespace Text { static bool __isWhitespace(char chr) { return std::isspace(chr) != 0; } bool IsWhitespace(const std::string& value) { return std::find_if_not(value.cbegin(), value.cend(), __isWhitespace) == value.cend(); } boo...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x11dde, %rdx nop nop nop and $5824, %rcx movups (%rdx), %xmm1 vpextrq $1, %xmm1, %r13 nop nop nop nop add $2071, %r10 lea addresses_D_ht+0x2aca, %r11 nop nop nop nop nop add ...
; A099761: a(n) = ( n*(n+2) )^2. ; 0,9,64,225,576,1225,2304,3969,6400,9801,14400,20449,28224,38025,50176,65025,82944,104329,129600,159201,193600,233289,278784,330625,389376,455625,529984,613089,705600,808201,921600,1046529,1183744,1334025,1498176,1677025,1871424,2082249,2310400,2556801,2822400,3108169,3415104,3744225,4...
; A037711: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2,0. ; Submitted by Jamie Morken(s1.) ; 1,9,56,336,2017,12105,72632,435792,2614753,15688521,94131128,564786768,3388720609,20332323657,121993941944,731963651664,4391781909985,26350691459913,158104148759480,94862489...
.MACRO LKS_cycle8 nop nop nop nop nop nop nop nop .ENDM .MACRO LKS_printfc ldx #(\1*2 + \2*64) rep #$20 lda LKS_PRINTPL-1 and #$FF00 clc adc #\3 sta LKS_BUF_BG3+0,x sep #$20 .ENDM .MACRO LKS_printf_setpal lda #\1<<2 sta LKS_PRINTPL .ENDM .MACRO LKS_printfs txy ldx #(\1*2 + \2*64) ...
// Copyright 2014 the V8 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. #include "src/compiler/instruction-selector.h" #include <limits> #include "src/assembler-inl.h" #include "src/base/adapters.h" #include "src/compiler/...
SECTION code_fp_math48 PUBLIC cm48_sccz80p_dleq EXTERN am48_dle_s ; sccz80 float primitive ; left_op <= right_op ? ; ; enter : AC'(BCDEHL') = right_op ; stack = left_op, ret ; ; exit : if true ; ; HL = 1 ; carry set ; ; if false ; ...
; ; Z88dk Generic Floating Point Math Library ; ; ; $Id: dsub.asm,v 1.1 2008/07/27 21:44:57 aralbrec Exp $: XLIB dsub LIB minusfa LIB fadd .dsub call minusfa pop hl ;return address pop de pop ix pop bc push hl jp fadd
printf: pusha mov ah, 0x0e ; Teletype output function str_loop: mov al, [si] ; Load a character byte to al cmp al, 0 jne print_char ; if al != 0, jmp to print_char popa ret print_char: int 0x10 ; 0x10 interrupt inc si ; add 1 to si jmp str_loop
; A014640: Even heptagonal numbers (A000566). ; 0,18,34,112,148,286,342,540,616,874,970,1288,1404,1782,1918,2356,2512,3010,3186,3744,3940,4558,4774,5452,5688,6426,6682,7480,7756,8614,8910,9828,10144,11122,11458,12496,12852,13950,14326,15484,15880,17098,17514,18792,19228,20566,21022,22420,22896,24354,24850,26368,26884,2...
; A029759: Number of permutations which are the union of an increasing and a decreasing subsequence. ; Submitted by Christian Krause ; 1,1,2,6,22,86,340,1340,5254,20518,79932,311028,1209916,4707964,18330728,71429176,278586182,1087537414,4249391468,16618640836,65048019092,254814326164,998953992728,3919041821896,15385395...
; A059031: Fifth main diagonal of A059026: a(n) = B(n+4,n) = lcm(n+4,n)/(n+4) + lcm(n+4,n)/n - 1 for all n >= 1. ; 5,3,9,2,13,7,17,4,21,11,25,6,29,15,33,8,37,19,41,10,45,23,49,12,53,27,57,14,61,31,65,16,69,35,73,18,77,39,81,20,85,43,89,22,93,47,97,24,101,51,105,26,109,55,113,28,117,59,121,30,125,63,129,32,133,67 add $...
; A001107: 10-gonal (or decagonal) numbers: a(n) = n*(4*n-3). ; 0,1,10,27,52,85,126,175,232,297,370,451,540,637,742,855,976,1105,1242,1387,1540,1701,1870,2047,2232,2425,2626,2835,3052,3277,3510,3751,4000,4257,4522,4795,5076,5365,5662,5967,6280,6601,6930,7267,7612,7965,8326,8695,9072,9457,9850,10251,10660,11077,11502,11...
; A087330: Sum of all digits of all integers less than or equal to 555...55 (with n 5's) in base 10. ; Submitted by Christian Krause ; 0,15,370,6150,86430,1114210,13641990,161419770,1864197550,21141975330,236419753110,2614197530890,28641975308670,311419753086450,3364197530864230,36141975308642010,386419753086419790 mo...
; A081271: Vertical of triangular spiral in A051682. ; 1,13,34,64,103,151,208,274,349,433,526,628,739,859,988,1126,1273,1429,1594,1768,1951,2143,2344,2554,2773,3001,3238,3484,3739,4003,4276,4558,4849,5149,5458,5776,6103,6439,6784,7138,7501,7873,8254,8644,9043,9451 mul $0,3 add $0,3 bin $0,2 sub $0,2 mov $1,$0
#include "Contour.h" #include "arithmetics.hpp" namespace msdfgen { static double shoelace(const Point2 &a, const Point2 &b) { return (b.x-a.x)*(a.y+b.y); } void Contour::addEdge(const EdgeHolder &edge) { edges.push_back(edge); } #ifdef MSDFGEN_USE_CPP11 void Contour::addEdge(EdgeHolder &&edge) { edge...
; A049211: a(n) = Product_{k=1..n} (9*k - 1); 9-factorial numbers. ; 1,8,136,3536,123760,5445440,288608320,17893715840,1270453824640,101636305971200,9045631231436800,886471860680806400,94852489092846284800,11002888734770169036800,1375361091846271129600000,184298386307400331366400000,26354669241958247385395200000 mov $...
list p=16F877 include <p16f877.inc> __CONFIG _BODEN_OFF&_CP_OFF&_WRT_ENABLE_ON&_PWRTE_ON&_WDT_OFF&_XT_OSC&_DEBUG_OFF&_CPD_OFF&_LVP_OFF Loop1 EQU 20h ; Loop2 EQU 21h ; Loop3 EQU 22h ; TEMPH EQU 23H ; TEMPL EQU 24H ; temp equ 25H ; H_byte equ 26H ; L_byte equ 27H ; R0 e...
//stack //Runtime: 1072 ms, faster than 5.51% of C++ online submissions for Asteroid Collision. //Memory Usage: 21 MB, less than 95.21% of C++ online submissions for Asteroid Collision. class Solution { public: vector<int> asteroidCollision(vector<int>& asteroids) { stack<int> stk; bool cha...
; A070725: n^7 mod 45. ; 0,1,38,27,4,5,36,43,17,9,10,11,18,22,14,0,16,8,27,19,20,36,13,32,9,25,26,18,37,29,0,31,23,27,34,35,36,28,2,9,40,41,18,7,44,0,1,38,27,4,5,36,43,17,9,10,11,18,22,14,0,16,8,27,19,20,36,13,32,9,25,26,18,37,29,0,31 pow $0,7 mod $0,45 mov $1,$0
; A057815: a(n) = gcd(n,binomial(n,floor(n/2))). ; Submitted by Christian Krause ; 1,2,3,2,5,2,7,2,9,2,11,12,13,2,15,2,17,2,19,4,21,2,23,4,25,2,27,4,29,30,31,2,33,2,35,12,37,2,39,20,41,6,43,4,45,2,47,12,49,2,51,4,53,2,55,56,57,2,59,4,61,2,63,2,65,6,67,4,69,14,71,4,73,2,75,4,77,2,79,20,81,2,83,84,85,2,87,8,89,90,91,4,93...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r8 push %rax push %rdi push %rsi lea addresses_normal_ht+0xc5ea, %rax nop nop nop cmp $48828, %r11 movups (%rax), %xmm6 vpextrq $0, %xmm6, %rsi nop nop nop nop nop xor %rdi, %rdi lea addresses_UC_ht+0x491e, %rdi xor %r12, %r12 mov $0x61626...
;;########################################################################## ;; ;;Title: Table 2 For IQmath Functions ;; ;;Version: 1.0 ;; ;;Contents: IQexp Function Table, Size Of Table = 140x16 ;; ;;########################################################################## ;;===================...
SECTION .text USE16 args: .kernel_base dq 0x100000 .kernel_size dq 0 .stack_base dq 0 .stack_size dq 0 .env_base dq 0 .env_size dq 0 startup: ; enable A20-Line via IO-Port 92, might not work on all motherboards in al, 0x92 or al, 2 out 0x92, al %ifdef KERNEL mov ed...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1d909, %rbx nop nop nop nop nop sub $49941, %rbp movw $0x6162, (%rbx) nop nop nop nop nop inc %rbp lea addresses_WT_ht+0xc659, %r9 nop nop cmp %r11, %r11 vmovups (%r...
// // ip/basic_resolver_entry.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef ASIO_...
; uint16_t _random_uniform_cmwc_8_(void *seed) SECTION code_clib SECTION code_stdlib PUBLIC __random_uniform_cmwc_8_ EXTERN __random_uniform_cmwc_8__fastcall __random_uniform_cmwc_8_: pop af pop hl push hl push af jp __random_uniform_cmwc_8__fastcall
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation ; All rights reserved. This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
; A040006: Continued fraction for sqrt(10). ; 3,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,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,...
* Sprite keybd * * Mode 4 * +|-------------------+ * -aawrrrrrwwararaaawaw- * |aaawrrrwaawararaawwa| * |aarrwrwaaaawararaaaa| * |arrrrwaawaaawararaar| * |rrrrwaawaaaaawararrr| * |rrrwaawawaaaaawarrrr| * |rrrwaaaaawaaaaawrrrr| * |rrwaraaaaawaaaarwrrw| * |rwararaaaaawaarrrwwa| * |wawararaaaaaarrrrwaa| * |aaawararaaaarrrr...
; A066810: Expansion of x^2/((1-3*x)*(1-2*x)^2). ; 0,0,1,7,33,131,473,1611,5281,16867,52905,163835,502769,1532883,4651897,14070379,42456897,127894979,384799049,1156756443,3475250065,10436235955,31330727961,94038321227,282211432673,846835624611,2540926304233,7623651327931,22872765923121,68622055865747,205873952225465,61...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1966b, %rsi lea addresses_A_ht+0x1fa3, %rdi xor %r12, %r12 mov $80, %rcx rep movsl nop nop add $34453, %rsi lea addresses_A_ht+0x1c667, %r9 nop nop inc %rdi movw $0x6162, (%r9...
_sh: formato do arquivo elf32-i386 Desmontagem da seção .text: 00000000 <main>: return 0; } int main(void) { 0: f3 0f 1e fb endbr32 4: 8d 4c 24 04 lea 0x4(%esp),%ecx 8: 83 e4 f0 and $0xfffffff0,%esp b: ff 71 fc pushl -0x4(%ecx) ...
SECTION code_fp_am9511 PUBLIC cam32_sccz80_atan2 EXTERN cam32_sccz80_switch_arg EXTERN _am9511_atan2 .cam32_sccz80_atan2 call cam32_sccz80_switch_arg jp _am9511_atan2
; A006043: A traffic light problem: expansion of 2/(1 - 3*x)^3. ; 2,18,108,540,2430,10206,40824,157464,590490,2165130,7794468,27634932,96722262,334807830,1147912560,3902902704,13172296626,44165935746,147219785820,488149816140,1610894393262,5292938720718,17322344904168,56485907296200,183579198712650,594796603828986,1921...
 #pragma once #include "../Animation/AnimationMixer.hpp" namespace ln { class SkinnedMeshModel; /** スキンメッシュアニメーションにおいてキャラクターの挙動を操作するためのクラスです。 */ LN_CLASS() class AnimationController : public Object , public detail::IAnimationMixerCoreHolder { LN_OBJECT; public: /** アニメーションクリップを追加します。 (レイヤー0 へ追加されます) */ LN_ME...
; A077953: Expansion of 1/(1-x+2*x^2-2*x^3). ; 1,1,-1,-1,3,3,-5,-5,11,11,-21,-21,43,43,-85,-85,171,171,-341,-341,683,683,-1365,-1365,2731,2731,-5461,-5461,10923,10923,-21845,-21845,43691,43691,-87381,-87381,174763,174763,-349525,-349525,699051,699051,-1398101,-1398101,2796203,2796203,-5592405,-5592405,11184811,11184811...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xd1b, %rsi lea addresses_normal_ht+0xebdb, %rdi nop nop nop sub %r9, %r9 mov $51, %rcx rep movsw nop add %r15, %r15 lea addresses_WT_ht+0x2e3b, %rsi lea addresses_normal_ht+0x39...
li $a0, 0x10 sb $a0, 0x2000($zero) sw $a0, 0x2010($zero) lb $a1, 0x2000($zero) lw $a2, 0x2010($zero)
// Boost.Geometry - gis-projections (based on PROJ4) // Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2017, 2018. // Modifications copyright (c) 2017-2018, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of O...
map_header SaffronPidgeyHouse, SAFFRON_PIDGEY_HOUSE, HOUSE, 0 end_map_header
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it under...
//==----------------- sampler_impl.hpp - SYCL standard header file ---------==// // // 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 // //===---------------------------...
;mov si,1100h ;mov di,1200h ;mov cl,[si] ;inc si ;mov al,[si] ;dec cl ;again: ;inc si ;mov bl,[si] ;cmp al,bl ;ahead: ;dec cl ;jnz again ;mov [di],al ;hlt org 100h MOV SI,1100H ;Set SI register as point. MOV CL,[SI] ;Set CL as count for element. INC SI ;Increment address point MOV A...
/* * 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, publis...
; A025467: Expansion of 1/((1-2x)(1-3x)(1-4x)(1-8x)). ; Submitted by Jon Maiga ; 1,17,191,1813,15855,132909,1089607,8828501,71093759,570671101,4573228023,36617788389,293071750063,2345096538893,18762876780839,150111475106677,1200925773302367,9607542463373085,76860885976538455 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov $...
; A105396: A simple "Fractal Jump Sequence" (FJS). ; 3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6,3,6,6 gcd $0,3 mov $1,4 div $1,$0 add $1,2
#include "SoftmaxLayer.hpp" double softmax(const double numerator, const double denominator) { const double MAX = 0.9999999; const double MIN = 0.0000001; double output = numerator / denominator; std::clamp(output, MIN, MAX); return output; } void SoftmaxLayer::forwardPropogate() { double nume...
_getmaxpid_test: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "fcntl.h" #include "date.h" //#include "stdio.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 p...
; uint in_JoyTimex1(void) ; 2002 aralbrec XLIB in_JoyTimex1 ; exit : A = HL = F000RLDU active high ; uses : AF,HL ; WARNING: farts around with the AY registers -- might ; conflict with an AY sound routine in an interrupt - ; haven't decided what to do about this yet. If you ; have an AY player in an interrupt...
; ================================================================ ; Variables ; ================================================================ if !def(incVars) incVars set 1 SECTION "Variables",HRAM ; ================================================================ ; Global variables ; ================...
#Demonstrates printing an integer #Integer to print must be in register $a0 #1 must be in register $v0 li $t0, 45 #Loads the constant 45 (0x2d) to $t0 li $t1, 79 #Loads the constant 79 (0x4f) to $t1 move $a0, $t0 #Copies $t0 to $a0 li $v0, 1 #Sets the system call code for printing an integer syscall #1 is i...
// File name: projects/04/KeyboardLoop.asm // Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program does something. @color //Initialize color to be black -1 M=-1 (REDRAW) @SCREEN D=A @addr M=D //addr = 16384 // (screen's base address) @8192 ...
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any pers...
; A184747: floor(n*s+h-h*s), where s=1+sqrt(5), h=1/2; complement of A184746. ; 2,5,8,11,15,18,21,24,28,31,34,37,40,44,47,50,53,57,60,63,66,70,73,76,79,83,86,89,92,95,99,102,105,108,112,115,118,121,125,128,131,134,138,141,144,147,150,154,157,160,163,167,170,173,176,180,183,186,189,193,196,199,202,205,209,212,215,218,22...
# programa que pide dos valores y muestra la suma de ambos. .data cadena1: .asciiz "Introduce el primer valor: " cadena2: .asciiz "Introduce el segundo el valor: " cadena3: .asciiz "La suma es: " .text # imprimir la cadena 1. li $v0, 4 la $a0, cadena1 syscall # leer el valor li $v0, 5 syscall move $t1, $v0 ...
<% from pwnlib.shellcraft import common from pwnlib.shellcraft import i386 from socket import htons %> <%page args="port"/> <%docstring> Args: port(int): the listening port Waits for a connection. Leaves socket in EBP. ipv4 only </%docstring> <% acceptloop = common.label("acceptloop...
global _main extern _printf section .data char: db 'A' msg_ok: db 'memset() works as expected.', 10, 0 msg_fail: db 'memset() doesnt work as expected.', 10, 0 section .text my_memset: mov edi, [esp + 4] mov al, byte [esp + 8h] mov ecx, [esp + 0Ch] rep stosb mov eax, [esp + 4] ret _main: push ebp mov ebp, e...
; itrans.asm ; inverse transform of block 4x4 .686 .mmx .xmm .MODEL flat, C ; ************************************************************************* .DATA ALIGN 16 h_add_1_03 dw 1, 1, 2, 1 h_add_1_12 dw 1, -1, 1, -2 const32 dd 32, 32 const0 dw 0, 0, 0, 0 ; structures ;member equ 0h .CODE ; parameters dest ...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; ADC32i32 mov eax, 0x778 ;TEST_BEGIN_RECORDING adc eax, 0x6fffffff ;TEST_END_RECORDING
; A174542: Partial sums of odd Fibonacci numbers (A014437). ; 1,2,5,10,23,44,99,188,421,798,1785,3382,7563,14328,32039,60696,135721,257114,574925,1089154,2435423,4613732,10316619,19544084,43701901,82790070,185124225,350704366,784198803,1485607536,3321919439,6293134512,14071876561,26658145586,59609425685,112925716858,25...
;; ---------------------------------------------------------------------------- ;; ;; Copyright (c) Microsoft Corporation. All rights reserved. ;; ;; ---------------------------------------------------------------------------- include hal.inc ;public: static void __cdecl Class_Microsoft_Singularity_DebugStub::g_Bre...
; A267036: Decimal representation of the n-th iteration of the "Rule 85" elementary cellular automaton starting with a single ON (black) cell. ; 1,3,16,63,256,1023,4096,16383,65536,262143,1048576,4194303,16777216,67108863,268435456,1073741823,4294967296,17179869183,68719476736,274877906943,1099511627776,4398046511103,1...
; A342676: a(n) is the number of lunar primes less than or equal to n. ; 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7 sub $0,8 div $0,10
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: 00start.asm ; Purpose: Start up code. ; Created: 21st February 2021 ; Reviewed: 11th March 2021 ; Author:...
; A135099: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n^3 if n is even. ; 1,9,252,316,3441,3657,20464,20976,80025,81025,242076,243804,615097,617841,1377216,1381312,2801169,2807001,5283100,5291100,9375201,9385849,15822192,15836016,25601641,25619217,39968124,39990076,60501225,60528225,89157376,89190144,1283255...