text
stringlengths
1
1.05M
/* Copyright (c) 2019 SChernykh This file is part of RandomX OpenCL. RandomX OpenCL 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 version 3 of the License, or (at your option) any later version. Random...
/* lorina: C++ parsing library * Copyright (C) 2021 EPFL * * 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, * cop...
#define OAM_BALLOONS 4*32 init_gameover_screen: .( ; Set background tileset .( tileset_addr = tmpfield1 ; Not movable, used by cpu_to_ppu_copy_tiles ;tileset_addr_msb = tmpfield2 ; Not movable, used by cpu_to_ppu_copy_tiles tiles_count = tmpfield3 ; Not movable, used by cpu_to_ppu_copy_tiles lda #<(tileset_...
// 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/diamond.h" #include "src/compiler/graph-inl.h" #include "src/compiler/js-builtin-reducer.h" #include "src/compiler/js-graph.h" #i...
; A017419: (11n+2)^7. ; 128,62748517,4586471424,64339296875,435817657216,1954897493193,6722988818432,19203908986159,47829690000000,107213535210701,221068140740608,425927596977747,775771085481344,1347646586640625 mul $0,11 add $0,2 pow $0,7
; Z88 Small C+ Run time Library ; Moved functions over to proper libdefs ; To make startup code smaller and neater! ; ; 23/1/2001 djm XLIB l_pint_pop LIB l_pint ; store int from HL into (DE) .l_pint_pop pop bc ;return address pop de ;where to put it push bc jp l_pi...
section .data str: db '', 0 section .text %include "lib.inc" global _start _start: mov rdi, -1 mov rsi, -1 mov rax, -1 mov rcx, -1 mov rdx, -1 mov r8, -1 mov r9, -1 mov r10, -1 mov r11, -1 push rbx push rbp push r12 push r13 push r14 push r15 mov rdi, str ...
// Copyright 2014 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/signin/core/browser/signin_client.h" #include "base/guid.h" #include "base/logging.h" #include "components/prefs/pref_service.h" #in...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>ioprio_get(which, who) -> str Invokes the syscall ioprio_get. See 'man 2 ioprio_get' for more information. Arguments: which(int): which who(int): who Returns: int </%docstring> <%page args="...
; ; Copyright (c) 2010 The WebM 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 proje...
// // CPUConvolution.cpp // MNN // // Created by MNN on 2018/07/15. // Copyright © 2018, Alibaba Group Holding Limited // #include "backend/cpu/CPUConvolution.hpp" #include <math.h> #include "backend/cpu/compute/CommonOptFunction.h" #include "core/Macro.h" #include "core/TensorUtils.hpp" #include <limits> #include...
SECTION code_l_sccz80 PUBLIC l_i64_uge EXTERN l_i64_ucmp ; ;......logical operations: HL set to 0 (false) or 1 (true) ; ; primary (stack) >= secondary (acc) .l_i64_uge call l_i64_ucmp ccf ret c scf ret z ;...
; A078016: Expansion of (1-x)/(1-x+x^2+x^3). ; Submitted by Simon Strandgaard ; 1,0,-1,-2,-1,2,5,4,-3,-12,-13,2,27,38,9,-56,-103,-56,103,262,215,-150,-627,-692,85,1404,2011,522,-2893,-5426,-3055,5264,13745,11536,-7473,-32754,-36817,3410,72981,106388,29997,-149372,-285757,-166382,268747,720886,618521,-371112,-1710519,-1...
; ; jidctred.asm - reduced-size IDCT (MMX) ; ; 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 in jsimd...
#include "pyrepch.hpp" #include "Platform/OpenGL/OpenGLBuffer.hpp" #include <glad/glad.h> namespace Pyre { ////////////////////////////////////// // VertexBuffer OpenGLVertexBuffer::OpenGLVertexBuffer(uint32_t size) { PYRE_PROFILE_FUNCTION(); glCreateBuffers(1, &m_RendererID); gl...
; A033557: 2n - {largest prime < n}. ; 4,5,7,7,9,9,11,13,15,13,15,15,17,19,21,19,21,21,23,25,27,25,27,29,31,33,35,31,33,33,35,37,39,41,43,39,41,43,45,43,45,45,47,49,51,49,51,53,55,57,59,55,57,59,61,63 mov $2,$0 add $0,1 cal $0,64722 ; a(1) = 0; for n >= 2, a(n) = n - (largest prime <= n). mov $1,$0 add $1,4 add $1,$2
/* * Copyright (c) 2015-2017 Cryptonomex, Inc., and contributors. * * The MIT License * * 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 limitatio...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "pingsender.h" #include "leakdetector.h" #include "logger.h" #include "pingsendworker.h" #if defined(MVP...
; Copyright 2008 Intel Corporation ; get_cpuid.asm ; wrapper function to retrieve CPUID leaf and subleaf data, ; returns CPUID leaf/subleaf raw data in a data structure ; This file can be compiled under 32-bit and 64-bit Windows environments. ; Written by Patrick Fay ; ; ; caller supplies three parameters...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x6136, %rcx nop dec %r8 mov $0x6162636465666768, %rbx movq %rbx, %xmm1 vmovups %ymm1, (%rcx) nop nop nop sub $3464, %r14 lea addresses_UC_ht+0x1954a, %r9 nop sub $683...
/*******************************************************************\ Module: Value Set (Flow Insensitive, Sharing, Validity Regions) Author: Daniel Kroening, kroening@kroening.com, CM Wintersteiger \*******************************************************************/ /// \file /// Value Set (Flow Insensiti...
; A120978: 2n+5^n-3^n. ; Submitted by Jamie Morken(s4) ; 0,4,20,104,552,2892,14908,75952,384080,1933460,9706596,48651000,243609208,1219108828,6098732684,30503229248,152544843936,762810312996,3814309845172,19072324066696,95363944856264,476826697849964,2384154409956060,11920834811899344,59604362345854192,2980223765883437...
_stressfs: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "fs.h" #include "fcntl.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp int fd, i; char path[] = "stressfs0"; 7: b8 30 00 0...
; Licensed to the Apache Software Foundation (ASF) under one ; or more contributor license agreements. See the NOTICE file ; distributed with this work for additional information ; regarding copyright ownership. The ASF licenses this file ; to you under the Apache License, Version 2.0 (the ; "License"); you may not u...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xbd0c, %rdi nop nop nop xor $30130, %r14 movb $0x61, (%rdi) nop nop nop nop nop dec %rcx lea addresses_WT_ht+0x268c, %r11 nop nop nop nop nop add $12009, %rax mov (%r11), %r9d ...
// Licensed under the BSD license. See LICENSE.txt for more details. /* physis-OpenCL specific */ #define BUFSIZE 1024 /* C or C++ standard headers */ #include <cstring> #include <cstdlib> #include <cstdio> /* physis-OpenCL specific*/ #include "runtime/rpc_opencl.h" namespace physis { namespace runtime { void CLb...
; PIC16F18855 Configuration Bit Settings ; Assembly source line config statements #include "p16f18855.inc" ; CONFIG1 ; __config 0xFFFF __CONFIG _CONFIG1, _FEXTOSC_ECH & _RSTOSC_EXT1X & _CLKOUTEN_OFF & _CSWEN_ON & _FCMEN_ON ; CONFIG2 ; __config 0xFFFF __CONFIG _CONFIG2, _MCLRE_ON & _PWRTE_OFF & _LPBOREN_OFF & _BORE...
; A158463: a(n) = 12*n^2 - 1. ; -1,11,47,107,191,299,431,587,767,971,1199,1451,1727,2027,2351,2699,3071,3467,3887,4331,4799,5291,5807,6347,6911,7499,8111,8747,9407,10091,10799,11531,12287,13067,13871,14699,15551,16427,17327,18251,19199,20171,21167,22187,23231,24299,25391,26507,27647,28811,29999,31211,32447,33707,34991,...
/* Copyright (c) 2015, Sigurd Storve All rights reserved. Licensed under the BSD license. 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, th...
; nasm -felf64 factorial.asm ;gcc factorial.o global main extern printf section .text main: push rbx mov rdi, 10 mov rax, 0 call func mov rdi, msg mov rsi, rax call printf mov rax, 0 pop rbx ret func: mov rax, rd...
//---------------------------------------------------------------------------// // Copyright (c) 2020-2021 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of th...
; $Id: tstX86-1A.asm $ ;; @file ; X86 instruction set exploration/testcase #1. ; ; ; Copyright (C) 2011-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modify it under the ...
; A089422: Maximum cycle size in range [A014137(n-1)..A014138(n-1)] of permutation A082335/A082336 (and also of A082349/A082350, to be proved). ; 1,1,2,3,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38 trn $0,1 mov $2,2 bin $2,$0 gcd $2,$0 add $0,$2
; A284237: Decimal representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 833", based on the 5-celled von Neumann neighborhood. ; 1,0,3,5,10,21,42,85,170,341,682,1365,2730,5461,10922,21845,43690,87381,174762,349525,699050,13...
// Copyright 2018 Open Source Robotics Foundation, 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 appli...
; A001924: Apply partial sum operator twice to Fibonacci numbers. ; 0,1,3,7,14,26,46,79,133,221,364,596,972,1581,2567,4163,6746,10926,17690,28635,46345,75001,121368,196392,317784,514201,832011,1346239,2178278,3524546,5702854,9227431,14930317,24157781,39088132,63245948,102334116,165580101,267914255,433494395,701408690,1...
; size_t b_array_read_block(void *dst, size_t n, b_array_t *a, size_t idx) SECTION code_clib SECTION code_adt_b_array PUBLIC b_array_read_block_callee EXTERN asm_b_array_read_block b_array_read_block_callee: pop af pop bc pop hl pop de exx pop de exx push af jp asm_b_array_read_bloc...
;**************************************************** ; Stage3.asm ; A basic 32 bit binary kernel running ; ; OS Development Series ;**************************************************** org 0x100000 ; Kernel starts at 1MB bits 32 ; 32 bit code jmp Stage3 ; jump to stage 3 %include "stdio.in...
; Sprinter fcntl library ; ; $Id: rename.asm,v 1.5 2017-01-02 21:02:22 aralbrec Exp $ ; SECTION code_clib PUBLIC rename PUBLIC _rename ;int rename(char *s1,char *s2) ;on stack: ;return address,s2,s1 ;s1=orig filename, s2=dest filename .rename ._rename ...
; A040811: Continued fraction for sqrt(840). ; 28,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56 mov $1,28 lpb $0,1 mod $0,2 mul $1,2 lpe gcd $1,$0
/******************************************************/ // THIS IS A GENERATED FILE - DO NOT EDIT // /******************************************************/ #line 1 "/workspace/input.ino" /* This blinks the LED */ #define PIN D7 #define RATE 10 #include "application.h" void setup(); void loop(); #line 6...
#include "checkerboard2d.h" #include "paramset.h" #include "logging.h" Checkerboard2DTexture<Float> *CreateCheckerboard2DFloatTexture(const Transform &tex2world, const TextureParams &tp) { //确认mapping类型 std::unique_ptr<TextureMapping2D> mapping; if (tp.FindString("mapping") == "uv") { Float uscale = tp.FindFloat...
; A233139: Number of tilings of a 4 X n rectangle using T and Z tetrominoes. ; Submitted by Christian Krause ; 1,0,0,0,2,4,8,18,44,104,242,564,1320,3090,7228,16904,39538,92484,216328,506002,1183564,2768424,6475506,15146580,35428712,82869778,193837148,453396168,1060519538,2480615780,5802302024,13571915922,31745486700,74...
; A114046: Numbers x such that x^2 - 92*y^2 = 1 for some y. ; Submitted by Christian Krause ; 1,1151,2649601,6099380351,14040770918401,32321848554778751,74404881332329766401,171280004505174567476351,394286495966030522000793601,907647342433797756471259393151,2089403787996106469366317122240001,480980661231969465868350554...
#pragma once #include "Item.hpp" #include "../StringList.hpp" #include <list> #include <functional> class ExpressionMatch; class ExpressionItem : public Item { public: typedef std::function<bool(BytecodeWriter& writer, ExpressionMatch const&)> Translator; ExpressionItem(std::string_view const& name, StringList&& ...
{ let r := 0 for { let i := 0 } lt(i, 1048576) { i := add(i, 1) } { 0xffffffffffffffff 0xf5470b43c6549b016288e9a65629687 0xffffffffffffffff dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add dup2 add pop dup2 dup2 ...
/* auto-generated on 2021-03-16 17:57:23 -0400. Do not edit! */ /* begin file src/simdjson.cpp */ #include "simdjson.h" SIMDJSON_PUSH_DISABLE_WARNINGS SIMDJSON_DISABLE_UNDESIRED_WARNINGS /* begin file src/to_chars.cpp */ #include <cstring> #include <cstdint> #include <array> namespace simdjson { namespace internal { ...
; A174501: Continued fraction expansion for exp( Sum_{n>=1} 1/(n*A003499(n)) ), where A003499(n) = (3+sqrt(8))^n + (3-sqrt(8))^n. ; Submitted by Jamie Morken(s4) ; 1,4,1,32,1,196,1,1152,1,6724,1,39200,1,228484,1,1331712,1,7761796,1,45239072,1,263672644,1,1536796800,1,8957108164,1,52205852192,1,304278004996,1,1773462177...
; Sord M5 ROM crt0 ; ; Sord memory starts from 0x7000 and is 4k long ; im2 interrupt vectors from 0x7000 defc CRT_ORG_CODE = 0x2000 defc CRT_ORG_BSS = 0x7100 defc TAR__clib_exit_stack_size = 0 defc TAR__register_sp = 0x7fff INCLUDE "crt/classic/crt_rules.inc" EXTER...
title The FindArray Procedure (scasd.asm) ; This version uses hand-optimized assembly ; language code with the SCASD instruction. .386P .model flat public _FindArray true = 1 false = 0 ; Stack parameters: srchVal equ [ebp+08] arrayPtr equ [ebp+12] count equ [ebp+16] .code _FindArray proc near ...
/* Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR> 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 license may be found at ...
; void _ldiv__callee(ldiv_t *ld, long numer, long denom) SECTION code_stdlib PUBLIC __ldiv__callee, l0__ldiv__callee EXTERN asm__ldiv __ldiv__callee: pop af pop bc exx pop hl pop de exx pop hl pop de push af l0__ldiv__callee: push ix call asm__ldiv pop ix ret
// DRUNKWATER TEMPLATE(add description and prototypes) // Question Title and Description on leetcode.com // Function Declaration and Function Prototypes on leetcode.com //318. Maximum Product of Word Lengths //Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do...
/* * Copyright (c) 2017 Cisco and/or 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 applicabl...
#line 2 "expression_lexer.cpp" #line 4 "expression_lexer.cpp" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 #define YY_FLEX_SUBMINOR_VERSION 0 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif ...
; ; Copyright (c) 2016, Alliance for Open Media. All rights reserved ; ; This source code is subject to the terms of the BSD 2 Clause License and ; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License ; was not distributed with this source code in the LICENSE file, you can ; obtain it at ww...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x115bb, %rsi lea addresses_A_ht+0xcf8b, %rdi nop add $5888, %r13 mov $24, %rcx rep movsb nop nop add %r14, %r14 lea addresses_WC_ht+0xaeec, %r11 nop nop nop cmp $53166, %r9 movl $0x6162...
; hello_world.asm ; ; Author: John Hammond ; Date: 03-Oct-2019 global _start section .text: _start: mov eax, 0x4 ; use the write syscall mov ebx, 1 ; use stdout as the fd mov ecx, message ; use the message as the buffer mov edx, message_length ; and supply the length ...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: PartyFreePlayF...
// // Copyright 2018-2020 Advanced Micro Devices, Inc. // #pragma once #include "rocblas_init.hpp" #include <string.h> // // Local declaration of the device batch vector. // template <typename T, size_t PAD, typename U> class device_batch_vector; //! //! @brief Implementation of the batch vector on host. //! templat...
; A274428: Positions in A274426 of products of distinct Lucas numbers > 1. ; 3,6,9,10,14,15,19,20,21,26,27,28,33,34,35,36,42,43,44,45,51,52,53,54,55,62,63,64,65,66,73,74,75,76,77,78,86,87,88,89,90,91,99,100,101,102,103,104,105,114,115,116,117,118,119,120,129,130,131,132,133,134,135,136,146,147,148,149,150,151,152,153,1...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 The Fargocash developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mi...
.ORG -1 .END
dnl mpn_sumdiff dnl Copyright 2011 The Code Cavern dnl This file is part of the MPIR Library. dnl The MPIR Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public License as published dnl by the Free Software Foundation; either version 2.1 of the ...
.data message1: .asciiz "How many numbers do you want printed? (integer): " return: .asciiz ", " .text li $t0,1 #initializing Variables li $t1,1 li $t2,0 #counter li $t4,0 #temporary la $a0, message1 li $v0, 4 #print messge syscall li $v0, 5 #recieve number syscall la $t3, ($v0) for: la $a0, ($t...
/******************************************* Copyright 2017 OOO "LMS" 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 ...
;----------------------------------- ; stdio file blocks CRT_ENABLE_STDIO = 1 __CLIB_DISABLE_FGETS_CURSOR = 0 __CRT_KEY_CAPS_LOCK = 6 __CRT_KEY_DEL = 12 PUBLIC __sgoioblk PUBLIC __sgoioblk_end PUBLIC __FOPEN_MAX PUBLIC _stkend DEFC CLIB_FOPEN_MAX = 10 defc __FOPEN_MAX = CLIB_FOPEN_MAX GLOBAL __CRT_KEY_CAPS_...
;********************************************** ; Boot2.asm ; - A Simple Bootloader ; Operating Systems Development Tutorial ;********************************************** org 0x7C00 ; We are loaded by BIOS at 0x7C00 bits 16 ; We are still in 6 bit Real Mode Start: jmp Loader ; Jump over OEM block ;******...
#include <admodel.h> #include "wtsADMB.hpp" #include "ModelConstants.hpp" #include "ModelConfiguration.hpp" #include "ModelData.hpp" #include "SummaryFunctions.hpp" //********************************************************************** // Includes // AggregateCatchData // SizeFrequencyData // BioData...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 3.8.0 #10562 (MINGW64) ;-------------------------------------------------------- .module usb_desc .optsdcc -mmcs51 --model-small ;-----------------------------------------------------...
data #empty data section program read r2 # read in a number to r2 imlo r3 0 # set r3 to zero test sub r4 r2 r3 # while r3 < r2 and r2>0 brzr endprog brng endprog add r3 r3 r1 # add one to r3 write r3 #print r3 jump test #goto while ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %r9 push %rsi lea addresses_D_ht+0x11d12, %r12 nop nop nop nop nop xor %r9, %r9 mov $0x6162636465666768, %r8 movq %r8, %xmm7 vmovups %ymm7, (%r12) nop nop nop add $7311, %rsi pop %rsi pop %r9 pop %r8 pop %r12 ret .global s_faulty_load s_faulty_lo...
; A010949: Binomial coefficient C(33,n). ; 1,33,528,5456,40920,237336,1107568,4272048,13884156,38567100,92561040,193536720,354817320,573166440,818809200,1037158320,1166803110,1166803110,1037158320,818809200,573166440,354817320,193536720,92561040,38567100,13884156,4272048,1107568,237336,40920,5456,528,33,1 mov $1,33 bi...
# William O'Connor # SoftwareEnginner_TeamD_InstructionDecoding # add values to registers li $s1, 1 li $s2, 2 li $s3, 3 li $s4, 4 li $s5, 5 li $s6, 6 # R format add $s1, $s1, $zero add $s7, $s6, $s5 sub $s6, $s7, $s6 # I format li $t1, 0x10010000 sw $s2, 8($t1) lw $s1, 8($t1) addi $s2, $s...
; $00-$17 are TX_* constants (see macros/scripts/text.asm) ; Control characters (see home/text.asm) charmap "<NULL>", $00 charmap "<PAGE>", $49 charmap "<PKMN>", $4a ; "<PK><MN>" charmap "<_CONT>", $4b ; implements "<CONT>" charmap "<SCROLL>", $4c charmap "<NEXT>", $4e charmap "<LINE>", $4f ...
; A249043: a(1) = 42; a(n+1) = a(n) + sum of decimal digits of a(n). ; Submitted by Christian Krause ; 42,48,60,66,78,93,105,111,114,120,123,129,141,147,159,174,186,201,204,210,213,219,231,237,249,264,276,291,303,309,321,327,339,354,366,381,393,408,420,426,438,453,465,480,492,507,519,534,546,561,573,588,609,624,636,651...
; A076237: Remainder when 2nd order composite cc[n]=A050435[n] is divided by n. ; Submitted by Jamie Morken(s2) ; 0,0,0,0,3,3,3,1,8,8,10,9,8,8,8,7,6,6,7,8,7,6,5,4,5,4,3,4,5,4,3,4,3,2,2,2,2,1,0,0,40,0,0,43,43,44,44,45,45,45,47,48,49,50,50,50,53,53,53,55,55,55,55,55,56,56,56,56,56,56,57,58,59,59,60,62,63,63,64,65,65,65,6...
.MODEL SMALL .STACK 100H .DATA PROMPT_1 DB 'Enter the first binary number ( max 8-digits ) : $' PROMPT_2 DB 'Enter the second binary number ( max 8-digits ) : $' PROMPT_3 DB 'The SUM of given binary numbers in binary form is : $' ILLEGAL DB 'Illegal character. Try again.$' .CODE: MAIN PROC ...
scr_upd_he2bpp rts
SECTION BANK_14 EXTERN VT_START DEFC VT_INIT = VT_START + 3 DEFC VT_PLAY = VT_START + 5 DEFC VT_MUTE = VT_START + 8 DEFC VT_SETUP_BYTE = VT_START + 10 DEFC VT_CUR_POS_WORD = VT_START + 11 PUBLIC _vt_get_setup PUBLIC _vt_init PUBLIC _vt_play PUBLIC _vt_play_isr PUBLIC _vt_set_play_isr_enabled PUBLIC _vt_mute PUBLIC _...
; A189849: a(0)=1, a(1)=0, a(n) = 4*n*(n-1)*(a(n-1) + 2*(n-1)*a(n-2)). ; Submitted by Jon Maiga ; 1,0,16,384,23040,2088960,278323200,50969640960,12290021130240,3774394191052800,1438421245702963200,666120016990568448000,368420070161105761075200,239869937154980747988172800,181598769336835394381021184000,15818470716482687...
; A157651: a(n) = 100*n^2 - 49*n + 6. ; 57,308,759,1410,2261,3312,4563,6014,7665,9516,11567,13818,16269,18920,21771,24822,28073,31524,35175,39026,43077,47328,51779,56430,61281,66332,71583,77034,82685,88536,94587,100838,107289,113940,120791,127842,135093,142544,150195,158046,166097,174348,182799,191450,200301,209352,218...
; A212743: Number of (w,x,y,z) with all terms in {0,...,n} and max{w,x,y,z}>2*min{w,x,y,z}. ; 0,14,64,224,528,1134,2064,3584,5680,8750,12720,18144,24864,33614,44128,57344,72864,91854,113760,140000,169840,204974,244464,290304,341328,399854,464464,537824,618240,708750,807360,917504,1036864 mov $14,$0 mov $16,$0 lpb $16 ...
user/_init: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: 0: 1101 addi sp,sp,-32 2: ec06 sd ra,24(sp) 4: e822 sd s0,16(sp) 6: e426 sd s1,8(sp) 8: e04a sd s2,0(sp) a: 1000 ...
; size_t b_array_erase_block(b_array_t *a, size_t idx, size_t n) SECTION code_clib SECTION code_adt_b_array PUBLIC b_array_erase_block_callee EXTERN asm_b_array_erase_block b_array_erase_block_callee: pop hl pop de pop bc ex (sp),hl jp asm_b_array_erase_block
;; ;; Copyright (c) 2018-2022, 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...
; *************************************************************************************** ; *************************************************************************************** ; ; Name : paging.asm ; Author : paul@robsons.org.uk ; Date : 7th December 2018 ; Purpose : Paging Manager ; ; *********************...
; A017246: a(n) = (9*n + 7)^2. ; 49,256,625,1156,1849,2704,3721,4900,6241,7744,9409,11236,13225,15376,17689,20164,22801,25600,28561,31684,34969,38416,42025,45796,49729,53824,58081,62500,67081,71824,76729,81796,87025,92416,97969,103684,109561,115600,121801,128164,134689,141376,148225,155236,162409,169744,177241,184900,1...
#include "LiftToSwitch.h" #include <WPILib.h> #include "UltraSonic.h" #include "Subsystems/Lift/LiftControl.h" #include <CommandBase.h> LiftToSwitch::LiftToSwitch() { // Use Requires() here to declare subsystem dependencies // eg. Requires(Robot::chassis.get()); Requires(lift.get()); //Requires(ultrasonic.get()); ...
offset 413770 ; hook load map function ; mapdata+0 JMP [4937B0] offset 413930 ; hook freeing map tiles ; mapdata+1 JMP [4937B4] offset 413AF0 ; hook drawing background map tiles ; mapdata+2 JMP [4937B8] offset 413C60 ; hook drawing foreground map tiles ; mapdata+3 JMP [4937BC]; offset 416470 ; hook UNI0001 movemen...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xf46d, %rdi nop nop mfence mov $0x6162636465666768, %r12 movq %r12, (%rdi) nop nop nop dec %r15 lea addresses_normal_ht+0x8cad, %r11 sub $17120, %r8 movl $0x61626364, (%r11) n...
@/******************************************************************************* @* DISCLAIMER @* This software is supplied by Renesas Electronics Corporation and is only @* intended for use with Renesas products. No other uses are authorized. This @* software is owned by Renesas Electronics Corporation and is pro...
#include "Platform.inc" radix decimal UiRam udata global uiFlags global uiState global uiNextState global uiButtonEventBaseState global uiButtonReleasedTimestamp global uiOption1Position global uiOption2Position global uiOption3Position global uiSelectedOptionPosition global uiOptionCounter global uiB...
; A287676: Positions of 1 in A287674; complement of A287675. ; Submitted by Jamie Morken(w4) ; 1,4,5,6,9,10,13,14,15,18,19,20,23,24,27,28,29,32,33,36,37,38,41,42,43,46,47,50,51,52,55,56,57,60,61,64,65,66,69,70,73,74,75,78,79,80,83,84,87,88,89,92,93,96,97,98,101,102,103,106,107,110,111,112,115,116,117,120,121,124,125,12...
; A109012: a(n) = gcd(n,9). ; Submitted by Christian Krause ; 9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9 gcd $0,9
; A326790: The rank of the group of functions on the units of Z/nZ generated by the functions f(u) = u*k mod n. ; 0,1,2,2,3,2,4,3,4,3,6,3,7,4,5,5,9,4,10,5,7,6,12,5,11,7,10,7,15,5,16,9,11,9,13,7,19,10,13,9,21,7,22,11,13,12,24,9,22,11,17,13,27,10,21,13,19,15,30,9,31,16,19,17,25,11,34,17,23 mov $4,5 lpb $0 mov $3,$0 ...
; unsigned int sms_vdp_feature_disable(unsigned int features) SECTION code_clib SECTION code_arch PUBLIC _sms_vdp_feature_disable EXTERN asm_sms_vdp_feature_disable _sms_vdp_feature_disable: pop af pop hl push hl push af jp asm_sms_vdp_feature_disable
#ifndef STAN_LANG_AST_CORR_MATRIX_BLOCK_TYPE_DEF_HPP #define STAN_LANG_AST_CORR_MATRIX_BLOCK_TYPE_DEF_HPP #include "stan/language/ast.hpp" namespace stan { namespace lang { corr_matrix_block_type::corr_matrix_block_type(const expression& K) : K_(K) {} corr_matrix_block_type::corr_matrix_block_type() : corr_matri...
/* * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation 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....