text
stringlengths
1
1.05M
// Copyright (c) 2012 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 "content/browser/accessibility/browser_accessibility_win.h" #include <UIAutomationClient.h> #include <UIAutomationCoreApi.h> #include "base...
; A186621: Semiprimes - 1. ; Submitted by Jon Maiga ; 3,5,8,9,13,14,20,21,24,25,32,33,34,37,38,45,48,50,54,56,57,61,64,68,73,76,81,84,85,86,90,92,93,94,105,110,114,117,118,120,121,122,128,132,133,140,141,142,144,145,154,157,158,160,165,168,176,177,182,184,186,193,200,201,202,204,205,208,212,213,214,216,217,218,220,225,...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x2238, %rsi lea addresses_normal_ht+0xa3e4, %rdi nop add $1269, %r15 mov $57, %rcx rep movsb nop nop nop nop xor %r14, %r14 lea addresses_WC_ht+0x9064, %rax nop nop add $13568, %rbx mo...
// // is_write_buffered.hpp // ~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2010 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 BOOST_ASIO_IS_WRI...
; The constants for the Multiboot 2 header MAGIC equ 0xE85250D6 ARCHITECTURE equ 0x0 CHECKSUM equ -(MAGIC + ARCHITECTURE + HEADER_LENGTH) HEADER_LENGTH equ multiboot_end - multiboot_start ; Declare a multiboot header that marks the program as a kernel. These are magic ; values that are documented in the multiboot ...
; 0 - GT leaw $SP, %A movw (%A), %A decw %A movw (%A), %D decw %A subw (%A), %D, %S leaw $GREATER0, %A jg %S nop leaw $SP, %A movw (%A), %A decw %A decw %A movw %A, %D leaw $0,%A movw %A, %S movw %D, %A movw %S, (%A) leaw $END0,%A jmp nop GREATER0: leaw $0,%A movw %A,%D decw %D leaw $SP,%A movw (%A), %A decw %A decw ...
; ; Small C+ Runtime Library ; ; CP/M functions ; ; CPM Plus "userf" custom Amstrad calls, for Amstrad CPC & PCW and ZX Spectrum +3 ; ; WARNING: ; This function does not work under PCW or +3 CP/M (and probably not CPC CP/M either), ; because the values in B and C are always reset to zero before the...
#pragma once #ifndef __ORTHOGRAPHICCAMERA_HPP__ #define __ORTHOGRAPHICCAMERA_HPP__ #include <Arbiter/Core/Common/Base.hpp> #include <Arbiter/Graphics/Engine/Camera.hpp> ARBITER_NAMESPACE_BEGIN class OrthographicCamera : public Camera { private: protected: public: OrthographicCamera(); virtual ~OrthographicCa...
.code Payload PROC mov qword ptr [rcx], rdx mov r9, qword ptr gs:[188h] mov r9, qword ptr [r9 + 220h] mov r8, qword ptr [r9 + 3e0h] mov rax, r9 loop1: mov rax, qword ptr [rax + 2e8h] sub rax, 2e8h cmp qword ptr [rax + 2e0h], r8 jne loop1 mov rcx, rax add rcx, 358h mov rax, r9 loop2: mov...
// Copyright 2016 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 "third_party/blink/renderer/modules/push_messaging/push_subscription_options.h" #include "third_party/blink/renderer/bindings/core/v8/v8_typedef...
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3d.org // // Perm...
; A164123: Partial sums of A162436. ; 1,4,7,16,25,52,79,160,241,484,727,1456,2185,4372,6559,13120,19681,39364,59047,118096,177145,354292,531439,1062880,1594321,3188644,4782967,9565936,14348905,28697812,43046719,86093440,129140161,258280324,387420487,774840976,1162261465,2324522932,3486784399,6973568800,10460353201,2092...
/* * Sarus * * Copyright (c) 2018-2022, ETH Zurich. All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef sarus_common_Config_hpp #define sarus_common_Config_hpp #include <string> #include <vector> #include <unordered_map> #inclu...
#include <futurepia/protocol/futurepia_operations.hpp> #include <fc/io/json.hpp> #include <locale> namespace futurepia { namespace protocol { bool inline is_asset_type( asset as, asset_symbol_type symbol ) { return as.symbol == symbol; } void account_create_operation::validate() const { v...
; ;================================================================================================== ; ROMWBW 2.X CONFIGURATION DEFAULTS FOR ZETA V1 ;================================================================================================== ; ; THIS FILE CONTAINS THE FULL SET OF DEFAULT CONFIGURATION SE...
#include<iostream> #include<math.h> int main() { int t,n,k; std::cin>>t; while(t--) { std::cin>>n; std::cin>>k; int ar[n]; for(int i=0;i<n;i++) { std::cin.get()>>ar[i]; } int count,max_val=0,max_pos=0,pos,value,start,index=0;bo...
; A070568: n^4 mod 25. ; 0,1,16,6,6,0,21,1,21,11,0,16,11,11,16,0,11,21,1,21,0,6,6,16,1,0,1,16,6,6,0,21,1,21,11,0,16,11,11,16,0,11,21,1,21,0,6,6,16,1,0,1,16,6,6,0,21,1,21,11,0,16,11,11,16,0,11,21,1,21,0,6,6,16,1,0,1,16,6,6,0,21,1,21 pow $0,4 mod $0,25
; A034968: Minimal number of factorials that add to n. ; 0,1,1,2,2,3,1,2,2,3,3,4,2,3,3,4,4,5,3,4,4,5,5,6,1,2,2,3,3,4,2,3,3,4,4,5,3,4,4,5,5,6,4,5,5,6,6,7,2,3,3,4,4,5,3,4,4,5,5,6,4,5,5,6,6,7,5,6,6,7,7,8,3,4,4,5,5,6,4,5,5,6,6,7,5,6,6,7,7,8,6,7,7,8,8,9,4,5,5,6 lpb $0 trn $0,1 seq $0,212598 ; a(n) = n - m!, where m is ...
SECTION code_clib SECTION code_nirvanam PUBLIC asm_NIRVANAM_drawT_di EXTERN asm_NIRVANAM_drawT asm_NIRVANAM_drawT_di: di call asm_NIRVANAM_drawT ei ret
Mus8E_Sonic_Got_Through_Header: smpsHeaderStartSong 1 smpsHeaderVoice Mus8E_Sonic_Got_Through_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $02, $03 smpsHeaderDAC Mus8E_Sonic_Got_Through_DAC smpsHeaderFM Mus8E_Sonic_Got_Through_FM1, $F4, $0A smpsHeaderFM Mus8E_Sonic_Got_Through...
; A142892: Primes congruent to 5 mod 63. ; Submitted by Jon Maiga ; 5,131,257,383,509,761,887,1013,2273,2399,2777,2903,3407,3533,3659,3911,4289,4793,4919,5171,5297,5801,5927,6053,7187,7691,7817,8069,8447,8573,8699,8951,9203,9833,10211,10337,10463,10589,11093,11471,11597,12101,12227,12479,12983,13109,13487,13613,14243,1...
Name: zel_djdt.asm Type: file Size: 88150 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: A68CF5C2B310205D44B6CF5C16A2EC6B6341742F Description: null
; A217587: Primes p of the form 420k + 1 for some k. ; Submitted by Jamie Morken(s1) ; 421,2521,3361,4201,4621,5881,6301,7561,8821,9241,9661,10501,12601,13441,14281,15121,15541,16381,18061,18481,20161,21001,21841,24781,25621,26041,26881,29401,30241,30661,31081,32341,33181,33601,35281,36541,39901,41161,42841,43261,44101...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x10826, %rax clflush (%rax) sub $19560, %r10 mov $0x6162636465666768, %r9 movq %r9, %xmm3 vmovups %ymm3, (%rax) nop nop sub %r12, %r12 lea addresses_WT_ht+0x7826, %rax nop ...
; void *realloc(void *p, size_t size) INCLUDE "config_private.inc" SECTION code_clib SECTION code_alloc_malloc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $01 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _realloc EXTERN asm_realloc _realloc: pop af pop hl pop bc push bc push hl p...
; A301719: Partial sums of A301718. ; 1,6,17,34,57,85,118,157,202,253,309,370,437,510,589,673,762,857,958,1065,1177,1294,1417,1546,1681,1821,1966,2117,2274,2437,2605,2778,2957,3142,3333,3529,3730,3937,4150,4369,4593,4822,5057,5298,5545,5797,6054,6317,6586,6861,7141,7426,7717,8014,8317,8625 add $0,1 bin $0,2 add $0,1 m...
/* * Copyright (c) 2021 Huawei Device 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 ...
SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdcciyp_dread1, cm48_sdcciyp_dread2 EXTERN cm48_sdcciyp_dload cm48_sdcciyp_dread2: ; sdcc float primitive ; Read two sdcc floats from the stack ; ; Covert from sdcc float format to math48 format. ; ; enter : stack = sdcc_float right, sdcc_float...
; A009975: Powers of 31: a(n) = 31^n. ; 1,31,961,29791,923521,28629151,887503681,27512614111,852891037441,26439622160671,819628286980801,25408476896404831,787662783788549761,24417546297445042591,756943935220796320321,23465261991844685929951,727423121747185263828481,22550116774162743178682911,699053619999045038539170241...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x16788, %rdi nop nop lfence movb (%rdi), %r10b nop nop nop sub $19699, %r11 lea addresses_D_ht+0x1b4c8, %rsi lea addresses_normal_ht+0x748, %rdi nop xor $45699, %rbp mov $90,...
/////////////////////////////////////////////////////////////////////////////// // /// \file libfcntl.cpp /// \brief STFS_fcntl implementation /// /// This file contains the implementation of the STFS_fcntl() function, /// starting with the functional STFSLIB_fcntl function and drilling /// down to supporting ...
; A011674: A binary m-sequence: expansion of reciprocal of x^7+x^6+x^5+x^4+x^3+x^2+1. ; Submitted by Jamie Morken(w3) ; 0,0,0,0,0,0,1,0,1,1,0,1,1,0,0,0,1,0,1,0,0,0,0,0,1,1,1,0,1,1,0,1,0,0,1,1,1,1,0,0,0,0,1,0,0,1,1,0,1,1,1,0,1,0,0,0,1,0,0,0,1,1,0,1,0,1,1,0,0,1,1,1,0,0,1,1,0,0,1,0,1,1,1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,1,1,0 ...
#if 0 /** This is a Test programm for math utils */ #endif //#include <stdlib.h> //#include <stdio.h> #include "utils_math.h" #include <cassert> #include <ctime> #include <iostream> using namespace std; int main() { #ifdef debug cout << "Start testing math utils:\n"; #endif #if 0 //test randomseed limi...
// generated from rosidl_typesupport_c/resource/srv__type_support.cpp.em // generated code does not contain a copyright notice #include <cstddef> #include "rosidl_generator_c/service_type_support_struct.h" #include "lifecycle_msgs/msg/rosidl_typesupport_c__visibility_control.h" #include "rosidl_typesupport_interfac...
// init ldi r16, 0xff out SPL, r16 ldi r16, 0x10 out SPH, r16 loop: LDI r16, 10 OUT 0x05, r16 CALL simple_procedure LDI r16, 20 OUT 0x05, r16 CALL simple_procedure LDI r16, 25 OUT 0x05, r16 CALL simple_procedure RJMP loop simple_procedure: NOP RET
PlayerBerries:: ;######Player Hold Item Script!#### ld hl, wPartyMon1CatchRate ld a, [wPlayerMonNumber] ld bc, wPartyMon2 - wPartyMon1 call AddNTimes ;now HL should point to our chosen mon's catch rate. ld a, [hl];[wBattleMonCatchRate] except doesn't seem to update well cp FULL_HEAL;,PARLYZ_HEAL;;cp antidote l...
#include <windows.h> #include "StdStuff.h" #include "App.h" // Entry point for Win32 app int main(int argc, char* argv[]) { String test1("hello"); test1 = "world"; const char* huh = test1; App app; if(!app.Init()) { fprintf(stderr,"Failed App::Init()"); return 1; } while(app.Update()) { ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %r9 push %rax push %rbx push %rcx push %rsi lea addresses_A_ht+0xc9d1, %rcx nop nop nop nop add $56774, %r8 and $0xffffffffffffffc0, %rcx movaps (%rcx), %xmm1 vpextrq $1, %xmm1, %r12 nop nop nop nop nop xor $14603, %rcx lea addresses_WT_ht+0x2351, %r9...
#include "core/graph.h" #include "core/cycle_detector.h" Graph::Node::Node(const Node &node) { name_ = node.name_; max_dist = node.max_dist; } Graph::Node::Node(const std::string& name) : name_(name){ } Graph::Graph() { gvc_ = gvContext(); } Graph::Graph(const std::string& root) { gvc_ = gvContext()...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1995 -- All Rights Reserved PROJECT: PC GEOS MODULE: Printer Drivers FILE: correctNIKE.asm AUTHOR: Dave Durran REVISION HISTORY: Name Date Description ---- ---- ----------- Dave 6/14/95 Initi...
; A118719: Cubes for which the digital root is also a cube. ; 0,1,8,64,125,343,512,1000,1331,2197,2744,4096,4913,6859,8000,10648,12167,15625,17576,21952,24389,29791,32768,39304,42875,50653,54872,64000,68921,79507,85184,97336,103823,117649,125000,140608,148877,166375,175616,195112,205379,226981,238328,262144,274625,3007...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; cpm_00_output_cons ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; The console is written via bdos function 2. ; ; ;;;;;;;;;;;;;;;;;;;; ; DRIVER CLASS DIAGRAM ; ;;;;;;;;;;;;;;;;;;;; ; ; CHAR...
; A345983: Partial sums of A344005. ; Submitted by Jon Maiga ; 1,2,4,7,11,13,19,26,34,38,48,51,63,69,74,89,105,113,131,135,141,151,173,181,205,217,243,250,278,283,313,344,355,371,385,393,429,447,459,474,514,520,562,573,582,604,650,665,713,737,754,766,818,844,854,861,879,907,965,980,1040,1070,1097,1160,1185,1196,1262,12...
// Copyright (c) 2015-2016 The Khronos Group 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 ...
// // Copyright (c) 2008-2015 the Urho3D project. // // 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, mod...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Library ▸ Core /// @file Library/Core/Containers/Triple.test.cpp /// @author Lucas Brémond <lucas@loftorbital.com> /// @...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x878, %rsi lea addresses_A_ht+0x1ccd0, %rdi nop nop sub $37155, %r15 mov $91, %rcx rep movsb nop xor $54881, %rdx lea addresses_A_ht+0x1b948, %r12 nop nop and %r14, %r14 mov $...
dnl Alpha mpn_com -- mpn one's complement. dnl Copyright 2003 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser General Public License as publ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x563d, %rsi lea addresses_D_ht+0xdb7d, %rdi nop nop nop and $46045, %rbp mov $44, %rcx rep movsq nop add $16764, %r13 lea addresses_WC_ht+0xaa3d, %rcx nop nop nop nop nop add $49696, %...
#include "AllocationBoundsInference.h" #include "Bounds.h" #include "IRMutator.h" #include "IROperator.h" #include "Simplify.h" namespace Halide { namespace Internal { using std::map; using std::pair; using std::set; using std::string; using std::vector; // Figure out the region touched of each buffer, and deposit t...
#include "shared.h" using namespace render::low_level; using namespace render::low_level::opengl; using namespace render::low_level::opengl::glx; namespace { /* Константы */ const size_t DEFAULT_OUTPUT_ARRAY_RESERVE = 8; //резервируемое количество устройств вывода /* Основные определения ти...
GEN_XFRM = 0 include ftrans.asm
%ifdef CONFIG { } %endif ; Just to ensure execution sfence hlt
/*************************************************************** * A5/1 Chain generator. * * Copyright 2009. Frank A. Stevenson. All rights reserved. * * Permission to distribute, modify and copy is granted to the * TMTO project, currently hosted at: * * http://reflextor.com/trac/a51 * * Code may be modifed ...
; @file fibonacci.asm ; @author Matheus Vieira Portela ; @date 07/05/2014 ; ; @brief Print Fibonacci series until a limit value (given by input) SECTION TEXT COPY ZERO, OLDER COPY ONE, OLD INPUT LIMIT OUTPUT OLD FRONT: LOAD OLDER ADD OLD STORE NEW SUB LIMIT JMPP FINAL OUTPUT NEW COPY OLD, OLDER COPY NEW...
// // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) // // 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 BOOST_SRC_LOCALE_IOS_PROP_HPP #define BOOST_SRC_LOCALE_IOS_PROP_HPP #include <ios> namespac...
;****************************************************************************** ;* VC1 loopfilter optimizations ;* Copyright (c) 2009 David Conrad ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* License as ...
// Copyright (C) 2019 T. Zachary Laine // // 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 "static_vector.hpp" int main() { //[ static_vector_usage static_vector<int, 128> vec; vec.push_back...
include "bdos.inc" include "cbios.inc" include "sio.inc" include "ascii.inc" PCKT_RETRY_COUNT: EQU 20 PCKT_WAIT_COUNT: EQU 140 ORG $0100 LD DE, MSG_NOTICE BDOSFN STROUT CALL SIO_PROBE JR Z, FOUND LD DE, MSG.NO_SIO BDOSFN STROUT RET FOUND: ; COPY SIO HIGHPAGE CODE TO UPPER PAGE LD DE, HIGHPAGEADDR...
[bits 16] xsave [0] ; 0f ae 26 00 00 xrstor [0] ; 0f ae 2e 00 00 xgetbv ; 0f 01 d0 xsetbv ; 0f 01 d1 xsaveopt [0] ; 0f ae 36 00 00 [bits 64] xsaveopt64 [0] ; 48 0f ae 34 25 00 00 00 00
#ifndef CIRCULAR_BUFFER #define CIRCULAR_BUFFER #include <deque> #include <cassert> #include <stdexcept> template<typename T> class CircularBuffer { private: std::size_t max_sz; std::deque<T> buffer; T dummy; public: typedef typename std::deque<T>::iterator iterator; typedef typename std::deque<T>::const_i...
; A219116: Number of semicomplete digraphs on n nodes with an "Emperor". ; 0,1,2,9,108,3645,354294,100442349,83682825624,205891132094649,1500946352969991210,32497439772059170685073,2093390532109442148854046084,401741006974223960704968343445877,229924845755649214047240549209929574046 mov $1,3 mov $2,$0 sub $2,1 bin $2,...
; A328994: a(n) = n^2*(1+n)*(1+n^2)/4. ; 1,15,90,340,975,2331,4900,9360,16605,27775,44286,67860,100555,144795,203400,279616,377145,500175,653410,842100,1072071,1349755,1682220,2077200,2543125,3089151,3725190,4461940,5310915,6284475,7395856,8659200,10089585 mov $2,$0 add $0,2 mul $0,4 add $0,2 mov $1,4 add $2,1 pow $2,...
#include "EliteEnemyEntry.h" FEliteEnemyEntry::FEliteEnemyEntry() { this->HeroChance = 0.00f; this->StatusEffect = NULL; this->OverrideHealthScaling = false; this->HealthScalingOverride = EEnemyHealthScaling::SmallEnemy; }
// Copyright (c) 2012 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 "chrome/browser/safe_browsing/client_side_detection_service.h" #include <algorithm> #include "base/bind.h" #include "base/command_line.h" #...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x14bc4, %r15 nop nop nop xor %rcx, %rcx mov (%r15), %eax nop nop nop nop nop inc %r14 lea addresses_WT_ht+0x1894, %rsi nop sub %rcx, %rcx mov (%rsi), %di and %r15, %r15 lea a...
; A286927: Positions of 1 in A286925; complement of A286926. ; 6,12,20,26,34,40,46,54,60,68,74,80,88,94,102,108,116,122,128,136,142,150,156,162,170,176,184,190,198,204,210,218,224,232,238,244,252,258,266,272,278,286,292,300,306,314,320,326,334,340,348,354,360,368,374,382,388,396,402,408,416,422,430,436,442,450,456,464,...
; A168282: (10*n + 5*(-1)^n - 1)/4. ; 1,6,6,11,11,16,16,21,21,26,26,31,31,36,36,41,41,46,46,51,51,56,56,61,61,66,66,71,71,76,76,81,81,86,86,91,91,96,96,101,101,106,106,111,111,116,116,121,121,126,126,131,131,136,136,141,141,146,146,151,151,156,156,161,161,166,166,171,171,176,176,181,181,186,186,191,191,196,196,201,201,...
; Emulate 'rl de' instruction, only carry is affected ; CPU Min T Max T ; 8080 90 90 ; 8085 10 10 ; gbz80 16 16 ; r2k 2 2 ; z180 14 14 ; z80 16 16 ; z80n 16 16 SECTION code_crt0_sccz80 PUBLIC __z80asm__rl_de __z80asm__rl_de: IF __CPU_INTEL__ push af ...
; A254375: Digital roots of centered heptagonal numbers (A069099). ; 1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1 add $0,1 bin $0,2 mul $0,7 add $0,1 mod $0,9
; =============================================================== ; Feb 2014 ; =============================================================== ; ; size_t w_vector_size(w_vector_t *v) ; ; Return the vector's current size. ; ; =============================================================== SECTION code_adt_w_vector P...
map_header SSAnneCaptainsRoom, SS_ANNE_CAPTAINS_ROOM, SHIP, 0 end_map_header
namespace steve { // -------------------------------------------------------------------------- // // Candidate // Initialize the candidate with the given candidate definition, // function, and sequence of arguments. inline Candidate::Candidate(Def* d, Term* f, Expr_seq* a) : def(d), fn(f), args(a), diags(), viabl...
//===- unittests/Passes/PassBuilderBindingsTest.cpp -----------------------===// // // 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 2019-2022 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
; A157916: a(n) = 50*n^2 + 1. ; 51,201,451,801,1251,1801,2451,3201,4051,5001,6051,7201,8451,9801,11251,12801,14451,16201,18051,20001,22051,24201,26451,28801,31251,33801,36451,39201,42051,45001,48051,51201,54451,57801,61251,64801,68451,72201,76051,80001,84051,88201,92451,96801,101251,105801,110451,115201,120051,125001,1...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The thecoffeecoins Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <primitives/block.h> #include <hash.h> #include <tinyformat.h> ...
math inv(8) g7<1>F g10<8,8,1>F null<8,8,1>F { align1 1Q }; math inv(8) g13<1>F g18<8,8,1>F null<8,8,1>F { align1 2Q }; math pow(8) g16<1>F g15<8,8,1>F g14<8,8,1>F { align1 1Q }; math pow(8) g24<1>F g22<8,8,1>F g20<8,8,1>F { align1 2Q }; math...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
; v0.2.2 ; ; Bill O'Neill - Last update: 2011/11/11 ; ; Monitor code is Open License and can be used freely ; Tiny Basic code is Copyright, Tom Pitman ; ; Consist of a minimal terminal monitor and Tom ; Pitman's Tiny Basic as a high-level ; programming language ; ; This code assembles as-is with the macro as...
// Put your code here. @i M=1 @2 M=0 (LOOP) @i D=M @1 D=D-M @END D;JGT @0 D=M @2 M=D+M @i M=M+1 @LOOP 0;JMP (END) @END 0;JMP
; Preset locations preset_nmg_esc_bed: db $02 ; Dungeon dw $0104 ; Room Index dw $2110 ; BG1 Vertical Scroll dw $2110 ; BG2 Vertical Scroll dw $0900 ; BG1 Horizontal Scroll dw $0900 ; BG2 Horizontal Scroll dw $0940 ; Link X dw $215A ; Link Y dw $017F ; Camera X dw $017F ; Camera Y dw $0816 ; Door Settings dw $2100 ; R...
#include "noderangeattribute.h" NodeRangeAttribute::NodeRangeAttribute(int maxValue, int minValue, int step) : NodeAttribute("Range", QVariant(minValue)) { m_constraints.insert("maxValue", QVariant(maxValue)); m_constraints.insert("minValue", QVariant(minValue)); m_constraints.insert("step", QVariant(...
; $Id: bs3-first-init-all-pp32.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; BS3Kit - First Object, calling 32-bit paged protected mode main() after full init. ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbo...
; L0704.asm Canyon Landing ; Generated 09.18.2000 by mlevel ; Modified 09.18.2000 by Abe Pralle INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" LIGHTINDEX EQU 65 VAR_LIGHT EQU 0 ;--------------------------------------------------------------------- SECTION "Level0704Section",ROMX ;---------------------------...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x47, %rsi lea addresses_A_ht+0xb1c7, %rdi nop nop add %r9, %r9 mov $106, %rcx rep movsq nop nop nop nop xor $42073, %r8 lea addresses_WC_ht+0xb847, %rsi lea addresses_D_ht+0x14...
; ; Keyboard routines for the Canon X-07 ; By Stefano Bodrato - 10/6/2011 ; ; getkey() Wait for keypress ; ; ; $Id: fgetc_cons.asm,v 1.1 2011/06/15 20:15:00 stefano Exp $ ; XLIB fgetc_cons .fgetc_cons xor a call $C90A jr z,fgetc_cons ret
; FV-1 Testing ; ; Program: Prepare Test 4 ; or 0x7fffff skp RUN,main wrax REG0,1.0 main: wrax DACL,0.0 ldax REG0 wrax DACR,0.0
; A257042: a(n) = (3*n+7)*n^2. ; 0,10,52,144,304,550,900,1372,1984,2754,3700,4840,6192,7774,9604,11700,14080,16762,19764,23104,26800,30870,35332,40204,45504,51250,57460,64152,71344,79054,87300,96100,105472,115434,126004,137200,149040,161542,174724 mov $1,$0 mul $0,3 add $0,7 pow $1,2 mul $1,$0
; A098880: a(n) = 11^n * n^11. ; 0,11,247808,235782657,61408804864,7863818359375,642717115324416,38532504363714053,1841328767004311552,73994897046174912819,2593742460100000000000,81402749386839761113321,2331878554708454877954048,61870237399093306018139447,1537821699264393105232001024 mov $2,11 pow $2,$0 pow $0,11 mul ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r14 push %r15 push %r8 push %rcx // Store lea addresses_WT+0x7681, %r10 nop nop dec %r13 mov $0x5152535455565758, %r14 movq %r14, %xmm0 movups %xmm0, (%r10) nop nop nop add $59121, %r15 // Lo...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x12069, %r12 inc %r9 movw $0x6162, (%r12) nop nop nop nop nop lfence lea addresses_normal_ht+0x9d29, %r13 clflush (%r13) nop nop nop nop nop inc %r8 mov (%r1...
; ============================================================================= ; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems ; Copyright (C) 2008-2010 Return Infinity -- see LICENSE.TXT ; ; SMP Functions ; ============================================================================= align 1...
//$Id$ //------------------------------------------------------------------------------ // CommandFactory //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2018 United States Government as represe...
; A037574: Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,2. ; Submitted by Jamie Morken(s4) ; 2,19,173,1559,14032,126290,1136612,10229509,92065583,828590249,7457312242,67115810180,604042291622,5436380624599,48927425621393,440346830592539,3963121475332852 add $0,1 mov $...
; A161343: a(n) = 7^A000120(n). ; 1,7,7,49,7,49,49,343,7,49,49,343,49,343,343,2401,7,49,49,343,49,343,343,2401,49,343,343,2401,343,2401,2401,16807,7,49,49,343,49,343,343,2401,49,343,343,2401,343,2401,2401,16807,49,343,343,2401,343,2401,2401,16807,343,2401,2401,16807,2401,16807,16807,117649 mov $1,$0 mov $2,$0 mov $3,1...
; A174139: Numbers congruent to {0,1,2,3,4,10,11,12,13,14,20,21,22,23,24} mod 25. ; 0,1,2,3,4,10,11,12,13,14,20,21,22,23,24,25,26,27,28,29,35,36,37,38,39,45,46,47,48,49,50,51,52,53,54,60,61,62,63,64,70,71,72,73,74,75,76,77,78,79,85,86,87,88,89,95,96,97,98,99,100,101,102,103,104,110,111,112 mov $2,$0 sub $0,1 mov $4,3 ...
;****************************************************************************** ; MSP430F249 Demo - Timer_B, PWM TB1-6, Up Mode, DCO SMCLK ; ; Description: This program generates six PWM outputs on P4.1-6 using ; Timer_B configured for up mode. The value in CCR0, 512-1, defines the PWM ; period and the values ...
user/_zombie: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: #include "kernel/stat.h" #include "user/user.h" int main(void) { 0: 1141 addi sp,sp,-16 2: e406 sd ra,8(sp) 4: e022 sd s0,0(sp) 6: 0800 ...