text
stringlengths
1
1.05M
//Framework #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Utilities/interface/EDMException.h" #include "FWCore/Utilities/interface/InputTag.h" //DataFormats #include <DataFormats/TrackReco/interface/Track.h> #include <DataFormats/METReco/inter...
; A111495: Floor of 10^n/Li(10^n) - 1. ; 0,2,4,7,9,11,14,16,18,20,23,25,27,30,32,34,37,39,41,44,46,48,50,53,55,57,60,62,64,67,69,71,73,76,78,80,83,85,87,90,92,94,97,99,101,103,106,108,110,113,115,117,120,122,124,126,129,131,133,136,138,140,143,145 mov $5,$0 add $0,4 mov $2,$0 add $0,4 mov $7,10 lpb $0,1 add $7,4 m...
; A121199: 12n+7^n+5^n. ; 2,24,98,504,3074,19992,133346,901752,6155522,42306840,292240994,2026155000,14085427970,98109713688,684326588642,4778079088248,33385518460418,233393453440536,1632228295176290,11417968671701496,79887633729252866,559022701241487384,3912205234374003938,27380668269035994744,191640836025341805314,13...
aci -128 ; CE 80 aci 127 ; CE 7F aci 255 ; CE FF adc (hl) ; 8E adc (ix) ; DD 8E 00 adc (ix+127) ; DD 8E 7F adc (ix-128) ; DD 8E 80 adc (iy) ; ...
dnl x86 mpn_divrem_2 -- Divide an mpn number by a normalized 2-limb number. dnl Copyright 2007, 2008 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 GN...
%library("libm.dylib", "math") %library("libc.dylib", "libc") %import("samples/imported.asm", "imported") # this changes the default code size just before we start the next function # we can call it at any time before a function to change its code size %code_size(200) # these are part of this module, you can also hav...
; background ; Displays a background pattern. .INCLUDE "../lib/header.asm" .INCLUDE "../lib/registers.asm" .INCLUDE "../lib/settings.asm" .INCLUDE "../lib/initialization.asm" .BANK 0 .ORG 0 .SECTION "" Main: Reset ; Set accumulator register to 8-bit sep #$20 ; Set background mode to 0 (4 layers wi...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Mult.asm - Multiplicacao de numeros de dois digitos ;Prof. Roberto M. Ziller - 04.01.2000 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; LETECLA EQU 02E7H ; MOSTRAD EQU 0363H ; sinonimos para sub-rotinas em ROM ORG 2000...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Buffer Definitions: // // cbuffer cbCS // { // // uint4 g_param; // Offset: 0 Size: 16 // float4 g_paramf; // Offset: 16 Size: 16 // // } // // Resource bind info for oldPosVelo // { ...
_kill: file format elf32-i386 Disassembly of section .text: 00001000 <main>: #include "stat.h" #include "user.h" int main(int argc, char **argv) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 57 push %edi 1004: 56 ...
; A262070: a(n) = ceiling( log_3( binomial(n,2) ) ). ; Submitted by Jamie Morken(s4) ; 0,1,2,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 add $0,2 lpb $0 mov $2,$0 mi...
; A091311: Partial sums of 3^A007814(n). ; 0,1,4,5,14,15,18,19,46,47,50,51,60,61,64,65,146,147,150,151,160,161,164,165,192,193,196,197,206,207,210,211,454,455,458,459,468,469,472,473,500,501,504,505,514,515,518,519,600,601,604,605,614,615,618,619 mov $27,$0 add $27,1 lpb $27 clr $0,25 sub $27,1 sub $0,$27 lpb ...
; A265046: Coordination sequence for a 4.6.6 point in the 3-transitive tiling {4.6.6, 6.6.6, 6.6.6.6} of the plane by squares and dominoes (hexagons). ; 1,3,5,8,13,18,23,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,...
#include "balancestablemodel.h" #include "settings.h" #include "utils.h" BalancesTableModel::BalancesTableModel(QObject *parent) : QAbstractTableModel(parent) { } void BalancesTableModel::setNewData(const QMap<QString, double>* balances, const QList<UnspentOutput>* outputs) { int currentRows = rowCount(QModelIn...
; A257272: a(n) = 2^(n-1)*(2^n+7). ; 4,9,22,60,184,624,2272,8640,33664,132864,527872,2104320,8402944,33583104,134275072,536985600,2147713024,8590393344,34360655872,137440788480,549759483904,2199030595584,8796107702272,35184401448960,140737547075584,562950070861824,2251800048566272,9007199724503040,36028797958488064,144...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x8907, %r13 nop nop and %rdi, %rdi movb $0x61, (%r13) nop nop cmp $10715, %rdx lea addresses_UC_ht+0x88fd, %r15 nop nop nop sub $42057, %rsi movups (%r15), %xmm0 vpextrq $0, %x...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rax push %rbx lea addresses_WC_ht+0x2c08, %rbx nop nop nop nop cmp $8131, %r12 movb $0x61, (%rbx) and $33540, %rax pop %rbx pop %rax pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r8 push %r9 push %rcx push...
;****************************************************************************** ;* H.264 intra prediction asm optimizations ;* Copyright (c) 2010 Jason Garrett-Glaser ;* Copyright (c) 2010 Holger Lubitz ;* Copyright (c) 2010 Loren Merritt ;* Copyright (c) 2010 Ronald S. Bultje ;* ;* This file is part of FFmpeg. ;* ;* F...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1994 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: vgaLoader.asm AUTHOR: Gene Anderson, Feb 24, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Desc...
; A010857: Constant sequence: a(n) = 18. ; 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18 mov $0,18
#include <iostream> int main() { int n; std::cin >> n; int totalNegatives = 0; for (int i=0; i<n; i++) { int temp; std::cin >> temp; if (temp < 0) { totalNegatives++; } } std::cout << totalNegatives; return 0; }
; A169379: Number of reduced words of length n in Coxeter group on 30 generators S_i with relations (S_i)^2 = (S_i S_j)^31 = I. ; 1,30,870,25230,731670,21218430,615334470,17844699630,517496289270,15007392388830,435214379276070,12621216999006030,366015292971174870,10614443496164071230,307818861388758065670,8926746980273...
; A159918: Number of ones in binary representation of n^2. ; 0,1,1,2,1,3,2,3,1,3,3,5,2,4,3,4,1,3,3,5,3,6,5,3,2,5,4,6,3,5,4,5,1,3,3,5,3,6,5,7,3,5,6,7,5,8,3,4,2,5,5,5,4,8,6,7,3,6,5,7,4,6,5,6,1,3,3,5,3,6,5,7,3,6,6,9,5,7,7,5,3,6,5,8,6,7,7,7,5,9,8,5,3,6,4,5,2,5,5,6,5,9,5,7,4,6,8,8,6,8,7,4,3,7,6,8,5,9,7,8,4,7,6,8,5,7,6,7,1,3...
_echo: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.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 pushl -0x4(%ecx) a: 55 ...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVANAP_drawW(unsigned char tile, unsigned char lin, unsigned char col) ...
;/*------------------------------------------------------------*/ ;/* filename - tvwrit.asm */ ;/* */ ;/* function(s) */ ;/* TView write member functions ...
; Q68 Receive data from port  2000 Tony Tebby ;  2017 W. Lenerz ; this just takes a byte out of the hardware FIFO and puts it into ; the SER input queue section spp xdef spp_rxser xref iob_pbyt xref iob_room xref iob_eof include 'dev8_keys_q68' include 'dev8_keys_serparprt' ;+++ ; Receive d...
;=========================================================================== ; Print.asm ;--------------------------------------------------------------------------- ; Assembly x86 library ; ; ; Author: Ahmed Hussein ; Created: ; ; ; This file provide some Procedures for print...
; A288707: 0-limiting word of the mapping 00->1000, 10->00, starting with 00. ; 0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0 mov $2,$0 mov $4,2 lpb $4 mov $0,$2 ...
; *************************************************************************** ; *************************************************************************** ; ; lzsa2_6502.s ; ; NMOS 6502 decompressor for data stored in Emmanuel Marty's LZSA2 format. ; ; This code is written for the ACME assembler. ; ; The code is 241 b...
text_config: .db "CFG",$FE,$FE .db "BPM:",$FE,$FE .db "SYNC:",$FE,$FE .db "LFO TO:",$FE, .db "LFO RESET:",$FE,$FE .db "SYNTH:",$FE .db "DRUMS:",$FE,$FE .db "PATTERN",$FE .db "OVERRIDES:",$FF text_yes: .db "YES",$FF text_no: .db "NO ",$FF text_memdef: .db ": ",$FF ...
# $Id: e_inc_2.asm,v 1.1 2001/03/14 16:57:28 ellard Exp $ #@ tests for illegal register in inc. inc r0, 1 inc r1, 1 inc r2, 1 inc r3, 1 inc r4, 1 inc r5, 1 inc r6, 1 inc r7, 1 inc r8, 1 inc r9, 1 inc r10, 1 inc r11, 1 inc r12, 1 inc r13, 1 inc r14, 1 inc r15, 1 inc r16, 1 # Not OK
// ImGui Win32 + DirectX9 binding // Implemented features: // [X] User texture binding. Use 'LPDIRECT3DTEXTURE9' as ImTextureID. Read the FAQ about ImTextureID in imgui.cpp. // You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding yo...
; CRT0 for the VG5000 ; ; Joaopa Jun. 2014 ; Stefano Bodrato Lug. 2014 ; ; $Id: vg5k_crt0.asm,v 1.15 2016/07/15 21:03:25 dom Exp $ ; MODULE vg5k_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- defc crt0 = 1 INCLUDE "zcc_opt.def" ;-------- ; S...
;; @file ; Provide FSP API entry points. ; ; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ;; SECTION .text %include "SaveRestoreSseNasm.inc" %include "MicrocodeLoadNasm.inc" ; ; Following are fixed PCDs ; extern ASM_PFX(PcdGet32 (PcdTempo...
; sccz80 crt0 library - 8080 version SECTION code_clib SECTION code_l_sccz80 PUBLIC l_long_eq EXTERN l_long_ucmp .l_long_eq call l_long_ucmp ld hl,1 scf ret Z dec hl and a ret
Name: kart-enemy-back.asm Type: file Size: 13223 Last-Modified: '1992-02-13T07:48:12Z' SHA-1: 7CFA5FA7F497D3CD4A72CA18DE3D92CEBA5EDC89 Description: null
;channel 1 menuChannelOne:: ;mesure 1 db $00, $80, $87, $14, $87, MQUAVER * 2 ; DO#2 db $00, $80, $87, $F7, $86, MQUAVER ; SI1 db $00, $80, $87, $D6, $86, MQUAVER ; LA1 db $00, $80, $87, $C4, $86, MQUAVER * 2 ; SOL#1 db $00, $80, $00, $D6, $86, MQUAVER ; NO SOUND db $00, $80, $87, $73, $86, MQUAVER ; MI1 ;mesur...
; A219680: Number of n X 2 arrays of the minimum value of corresponding elements and their horizontal, vertical or antidiagonal neighbors in a random, but sorted with lexicographically nondecreasing rows and nonincreasing columns, 0..2 n X 2 array. ; 3,4,9,19,35,60,98,154,234,345,495,693,949,1274,1680,2180,2788,3519,43...
INCLUDE Irvine32.inc .data score SDWORD ?,0 titleScore BYTE "Score:",0 titleGrade BYTE " Grade:",0 grade BYTE ?,0 grA BYTE "A",0 grB BYTE "B",0 grC BYTE "C",0 grD BYTE "D",0 grF BYTE "F",0 out_of_range BYTE "The integer is not <= 100 and >= 0",0 .code main PROC call Randomize mov eax,101 ;set random range fr...
; ; Copyright (c) 2020 Phillip Stevens ; ; 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/. ; ; feilipu, August 2020 ; ;-----------------------------------------------...
// Copyright 2019 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // =========================================================================== // File: CEELOAD.CPP // // // CEELO...
; A065383: a(n) = smallest prime >= n*(n + 1)/2. ; 2,2,3,7,11,17,23,29,37,47,59,67,79,97,107,127,137,157,173,191,211,233,257,277,307,331,353,379,409,439,467,499,541,563,599,631,673,709,743,787,821,863,907,947,991,1039,1087,1129,1181,1229,1277,1327,1381,1433,1487,1543,1597,1657,1721,1777,1831,1901,1973,2017,2081,2153,22...
push 1 push 1 sethi 0x0400 st_em 0x0,2,0 push 0 push 0 pull_cp 0 push 100 cmp_ult bz 5 drop 0 push 3 sethi 0x0400 st_em 0x0,2,0 halt tuck_cp 1 add pull 1 push 1 add j -15
; A053796: a(n) = (n^2+n) modulo 5. ; 0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0,0,2,1,2,0 mov $1,$0 pow $0,2 add $0,$1 mod $0,5
; A209359: a(n) = 2^n * (n^4 - 4*n^3 + 18*n^2 - 52*n + 75) - 75. ; 0,1,33,357,2405,12405,53877,207541,731829,2411445,7531445,22523829,64991157,181977013,496680885,1326120885,3473604533,8947236789,22706651061,56869519285,140755599285,344683708341,835954147253,2009692372917,4792831180725,11346431180725,26680001298357,623...
db 0 ; species ID placeholder db 78, 70, 61, 100, 50, 61 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 90 ; catch rate db 128 ; base exp db BERRY, GOLD_BERRY ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokemon/linoone/front.dimensions" db GROWTH_MEDIUM_F...
; infinite loop (e9 fd ff) loop: jmp loop ; Fill with 510 zeros - size of the prev code times 510 - ($ - $$) db 0 ; Magic number dw 0xaa55
; ; ZX81 libraries - Stefano ; ;---------------------------------------------------------------- ; ; $Id: zx_cls.asm,v 1.9 2016-06-26 20:32:08 dom Exp $ ; ;---------------------------------------------------------------- ; ; ROM mode CLS.. useful to expand collapsed display file ; ;-------------------------------------...
; ; Grundy Newbrain Specific libraries ; ; Stefano Bodrato - 30/03/2007 ; ; ; Check if user pressed BREAK ; 1 if BREAK, otherwise 0 ; ; ; ; $Id: break_status.asm,v 1.2 2007/06/03 15:13:06 stefano Exp $ ; XLIB break_status .break_status rst 20h defb 36h ld hl,1 ret c dec hl ret
; A333296: Largest number of non-congruent integer-sided bricks that can be assembled into an n X n X n cube. ; Submitted by Jon Maiga ; 1,1,6,10,15,21,28,35,43,52 add $0,1 mov $2,$0 lpb $0 mov $3,$2 dif $3,$0 add $4,2 mul $3,$4 cmp $3,$2 cmp $3,0 add $6,1 mod $2,$6 mov $5,$4 cmp $5,0 add $4,$5 ...
#include <Font.h> #include <Utils.h> #include <Surface.h> #include <map> #if defined(HX_WINDOWS) || defined(HX_MACOS) || defined(HX_LINUX) // Include neko glue.... #define NEKO_COMPATIBLE #endif #include <ExternalInterface.h> namespace nme { // --- CFFI font delegates to haxe to get the glyphs ----...
#define BOOST_TEST_MODULE example #include <boost/test/included/unit_test.hpp> //____________________________________________________________________________// BOOST_AUTO_TEST_CASE( test ) { int i = 7; int j = 7; BOOST_CHECK_LT( i, j ); } //____________________________________________________...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D3C move.l D0, (A4)+ 004D3E move.l D0, (A4)+ 07ECC2 move.l A0, ($88,A6) [etc+80, etc+82] 07ECC6 move.b #$2, ($5,A6) [etc+88, etc+8A] 07ED0E move.l A0, ($88,A6) [etc+80, etc+82] 07ED12 movea.l ($80...
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/utilities/wait_util.h" #include "shared/test/common/helpers/debug_manager_state_restore.h" #include "shared/test/common/helpers/variable_backup.h" #include "shared/test/common/test_macros/test.h" #include "gte...
#include "extensions/tracers/common/ot/opentracing_driver_impl.h" #include <sstream> #include "envoy/stats/scope.h" #include "common/common/assert.h" #include "common/common/base64.h" #include "common/common/utility.h" #include "common/tracing/http_tracer_impl.h" namespace Envoy { namespace Extensions { namespace T...
; A180004: Nearest integer to n*(27/26) ; 1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,69,70,71,72,73,74,75 mov $1,222222222 add $1,$0 div $1,26 add $1,$0 sub $1,8547007 mov $0,$...
; super rod data ; format: map, pointer to fishing group SuperRodData: dbw PALLET_TOWN, FishingGroup1 dbw VIRIDIAN_CITY, FishingGroup1 dbw CERULEAN_CITY, FishingGroup3 dbw VERMILION_CITY, FishingGroup4 dbw CELADON_CITY, FishingGroup5 dbw FUCHSIA_CITY, FishingGroup10 dbw CINNABAR_ISLAND, FishingGroup8 dbw ROUTE_...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_listen_socket_84_goodG2B.cpp Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml Template File: sources-sinks-84_goodG2B.tmpl.cpp */ /* * @description * CWE: 789 Uncontrolled Memory Allocation * BadSou...
.MODEL SMALL .DATA INPUT DB 10,13 , 'ENTER 8-BIT BINARY DATA : $' OUTPUT DB 10,13, 'THE ASCII CHARACTER IS : $' .CODE .STARTUP MOV AH,09H MOV DX,OFFSET INPUT INT 21H MOV BL,00H MOV CL,08H INPUT1:MOV AH,01H INT 21H SUB AL,30H SHL BL,1 ADD BL,AL LOOP INPUT1 MOV AH,0...
RESULTS_START EQU $c000 RESULTS_N_ROWS EQU 16 include "base.inc" ; The duty patterns are: ; 00: 00000010 ; 01: 00000011 ; 10: 00001111 ; 11: 11111100 ; The starting positions can be assumed from the other tests CorrectResults: db $00, $00, $00, $00, $00, $00, $00, $00 db $00, $00, $00, $00, $00, $00, $00, $00 db ...
; A036220: Expansion of 1/(1-3*x)^7; 7-fold convolution of A000244 (powers of 3). ; 1,21,252,2268,17010,112266,673596,3752892,19702683,98513415,472864392,2192371272,9865670724,43257171636,185387878440,778629089448,3211844993973,13036312034361,52145248137444,205836505805700,802762372642230,3096369151620030 mov $2,$0 mo...
/*========================================================================= Library: CTK Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Li...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: DG.Tweening.ShortcutExtensions #inc...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.28.29336.0 include listing.inc INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __F01778D6_pch@h DB 01H __6CB86619_windows@pch DB 01H __893247DF_dllmain@cpp DB 01H msvcjmc ENDS PUBLIC DllMain PUBLIC __JustMyCode_Default EXTRN _RTC_InitBase:PR...
// Copyright (c) 2020 The PIVX developers // Copyright (c) 2021 The INFAQCOIN developers // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. #include "destination_io.h" #include "base58.h" #include "sapling/key_io_sapling.h" names...
#include "AddressBook.h" #include <QDebug> AddressBook::AddressBook(Cred::AddressBook *abImpl,QObject *parent) : QObject(parent), m_addressBookImpl(abImpl) { qDebug(__FUNCTION__); getAll(); } QString AddressBook::errorString() const { return QString::fromStdString(m_addressBookImpl->errorString()); } i...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iotanalytics/model/CreateDatastoreRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::IoTAnalytics::Model; using namespace Aws::Utils::Js...
#TODO: fix clumsy use of $t2 register: you have to reset it every time u use it .data fileName: .asciiz "test.asm" # filename for input buffer: .space 1024 tempString: .space 20 #For Sound instrument: .byte 11 duration: .byte 500 volume: .byte 127 pitch: .byte 65 R_FORMAT: .asciiz "R" I_FORMAT: .asciiz "I" ...
; A132607: X-values of solutions to the equation X*(X + 1) - 11*Y^2 = 0. ; Submitted by Christian Krause ; 0,99,39600,15760899,6272798400,2496558002499,993623812196400,395459780696164899,157391999093261433600,62641620179337354408099,24931207439377173792990000,9922557919251935832255612099 mov $2,1 lpb $0 sub $0,1 m...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2018-2019 The DeVault developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #inc...
; Assembly for testpow2-native.bas ; compiled with mcbasic -native ; Equates for MC-10 MICROCOLOR BASIC 1.0 ; ; Direct page equates DP_LNUM .equ $E2 ; current line in BASIC DP_TABW .equ $E4 ; current tab width on console DP_LPOS .equ $E6 ; current line position on console DP_LWID .equ $E7 ; current line width of cons...
/* * Copyright 2017 The WebRTC 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 ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r15 push %r9 push %rcx push %rdx // Store lea addresses_UC+0x1c52f, %r9 clflush (%r9) add %rdx, %rdx mov $0x5152535455565758, %r10 movq %r10, %xmm5 vmovups %ymm5, (%r9) inc %r10 // Store lea addresses_...
MOV 0x20,#0x01 MOV 0x21,#0x02 MOV 0x22,#0x04 MOV 0x23,#0x08 MOV 0x24,#0x10 MOV 0x25,#0x20 MOV 0x26,#0x40 MOV 0x27,#0x80 ORL A,0x20 ORL A,0x21 ORL A,0x22 ORL A,0x23 ORL A,0x24 ORL A,0x25 ORL A,0x26 ORL A,0x27
; A013958: sigma_10(n), the sum of the 10th powers of the divisors of n. ; 1,1025,59050,1049601,9765626,60526250,282475250,1074791425,3486843451,10009766650,25937424602,61978939050,137858491850,289537131250,576660215300,1100586419201,2015993900450,3574014537275,6131066257802,10250010815226,16680163512500,26585860217050...
#include "MFB/Sage/variable-declaration.hpp" #include "MFB/Sage/namespace-declaration.hpp" #include "sage3basic.h" #ifndef VERBOSE # define VERBOSE 0 #endif namespace MFB { bool ignore(const std::string & name); bool ignore(SgScopeStatement * scope); template <> bool Driver<Sage>::resolveValidParent<SgVariableSym...
; A198689: 8*7^n-1. ; 7,55,391,2743,19207,134455,941191,6588343,46118407,322828855,2259801991,15818613943,110730297607,775112083255,5425784582791,37980492079543,265863444556807,1861044111897655,13027308783283591,91191161482985143,638338130380896007,4468366912666272055,31278568388663904391,218949978720647330743,15326498...
SFX_Healing_Machine_1_Ch1: duty 2 unknownsfx0x10 44 unknownsfx0x20 4, 242, 0, 5 unknownsfx0x10 34 unknownsfx0x20 2, 241, 0, 5 unknownsfx0x10 8 unknownsfx0x20 1, 0, 0, 0 endchannel
;Ejemplo Desarrollado Simulador EMU8086 .model small .stack 64 .data ;------------------------------------------------------------ num1 db 'Introduce el primer numero==>',10,13,'$' num2 db 'Introduce el segundo numero==>',10,13,'$' guarda1 db '?',10,13,'$' guarda2 db '?',10,13,'$' resultado db '...
; Z88 Small C+ Run Time Library ; Long functions ; SECTION code_clib SECTION code_l_sccz80 PUBLIC l_long_uge EXTERN l_long_ucmp l_long_uge: ; PRIMARY >= SECONDARY, carry set if true ; HL set to 0 (false) or 1 (true) ; dehl = secondary ; stack = primary, ret call l_long_ucmp ...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string> #include "modules/mymodule.h" #include "modules/mymultiplier.h" #include "modules/mycalculator.h" int main (int argc, char *argv[]) { printf("invoked as %s\n", argv[0]); MyModule* myObject = new MyModule(); std::string myStr = myObject->...
; A156675: a(n) = 17*((100^(n+1) - 1)/99). ; 17,1717,171717,17171717,1717171717,171717171717,17171717171717,1717171717171717,171717171717171717,17171717171717171717,1717171717171717171717,171717171717171717171717,17171717171717171717171717,1717171717171717171717171717,171717171717171717171717171717,17171717171717171717...
; A219086: a(n) = floor((n + 1/2)^4). ; 0,5,39,150,410,915,1785,3164,5220,8145,12155,17490,24414,33215,44205,57720,74120,93789,117135,144590,176610,213675,256289,304980,360300,422825,493155,571914,659750,757335,865365,984560,1115664,1259445,1416695,1588230,1774890,1977539,2197065,2434380,2690420,2966145,3262539,3580610...
.686p .mmx .model flat,stdcall option casemap:none option prologue:none option epilogue:none .code zero proc ptrA:DWORD push eax push esi xor eax, eax mov esi, dword ptr [esp+4+8] and dword ptr [esi ], eax and dword ptr [esi+ 4], eax and dword ptr [esi+ 8], eax and dword ptr [esi+12], eax pop esi pop ...
.ktext 0x4180 li $t1,0 eret .text 0x3000 li $t1,0x7fffffff li $t2,0x7fffffff add $t3,$t1,$t2
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="file, file_times"/> <%docstring> Invokes the syscall utime. See 'man 2 utime' for more information. Arguments: file(char): file file_times(utimbuf): file_times </%docstring> ${syscall('SYS_utime', file, file_times)}
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x10ea3, %r15 cmp $60758, %r14 mov (%r15), %rax nop nop nop nop cmp $22566, %r15 lea addresses_normal_ht+0x1c183, %r11 clflush (%r11) nop nop nop cmp $21743, %rdi movl $0x61626...
; char *gets(char *s) INCLUDE "clib_cfg.asm" SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC gets EXTERN asm_gets defc gets = asm_gets ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ELSE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC gets EXTERN gets_unlocked...
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
Name: window.asm Type: file Size: 7803 Last-Modified: '1992-04-28T12:18:21Z' SHA-1: 5C60618CE23E0EE6656CE1143704D0489FCD39E5 Description: null
[bits 32] [section .text] INT_VECTOR_SYS_CALL equ 0x80 _NR_REWINDIR EQU 20 global rewinddir rewinddir: mov eax, _NR_REWINDIR mov ebx, [esp + 4] int INT_VECTOR_SYS_CALL ret
/* * FreeRTOS Kernel V10.0.1 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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, ...
; ; MSX specific routines ; by Stefano Bodrato, 12/12/2007 ; ; void msx_screen(int mode); ; ; Change the MSX screen mode; mode in HL (FASTCALL) ; ; $Id: msx_screen.asm,v 1.4 2007/12/18 09:00:45 stefano Exp $ ; XLIB msx_screen LIB msxbios LIB msxextrom INCLUDE "#msxbios.def" msx_screen: ...
/* !@ MIT License Copyright (c) 2019 Skylicht Technology CO., LTD 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...
extended_object_lookup_GI: BGE T8, 0x192, @@extended_item nop @@normal_item: LUI T0, 0x8010 JR RA ADDIU T0, T0, 0x8FF8 @@extended_item: LA T0, EXTENDED_OBJECT_TABLE JR RA ADDIU T8, T8, -0x193 extended_object_lookup_load: ADDU V1, A0, T6 ; displaced ...
; A003751: Number of spanning trees in K_5 x P_n. ; 125,300125,663552000,1464514260125,3232184906328125,7133430745792512000,15743478429512478120125,34745849760772636969860125,76684074678559433693601792000,169241718069731503830237768828125,373516395095822778319979141039280125,824350514734762803332621362645696512000,1819...
#include "id_ordered_paths.hpp" namespace odgi { namespace algorithms { std::vector<path_handle_t> id_ordered_paths(const PathHandleGraph& g, bool avg, bool rev) { return prefix_and_id_ordered_paths(g, "", avg, rev); } std::vector<path_handle_t> prefix_and_id_ordered_paths(const PathHandleGraph& g, const std::st...
; ; 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...