text
stringlengths
1
1.05M
//===--- Demangler.cpp - String to Node-Tree Demangling -------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
; A052877: E.g.f.: exp(x)-1+log(-1/(-2+exp(x))). ; Submitted by Christian Krause ; 0,2,3,7,27,151,1083,9367,94587,1091671,14174523,204495127,3245265147,56183135191,1053716696763,21282685940887,460566381955707,10631309363962711,260741534058271803,6771069326513690647 mov $2,$0 trn $0,1 seq $0,2050 ; Number of simplices ...
// Fill out your copyright notice in the Description page of Project Settings. #include "BattleTank.h" #include "TankAIController.h" #include "Tank.h" void ATankAIController::Tick(float DeltaTime) { Super::Tick(DeltaTime); //AimTwordsCrosshair(); //UE_LOG(LogTemp, Warning, TEXT("PlayerController Ticking")); if (G...
org 0x0 bits 16 push es ; -> 0x8000 pop ds ; <- data segment is now 0x8000 jmp _kernel %include "inc/print.inc" delay1sec: mov cx, 0FH mov dx, 4240H mov ah, 86H int 15H ret _kernel: cli mov si, kernel_load_success_msg call print hlt kernel_load_success_msg db ...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
; A075104: Greatest common divisor of n and integer part of log_2(n). ; 1,1,1,2,1,2,1,1,3,1,1,3,1,1,3,4,1,2,1,4,1,2,1,4,1,2,1,4,1,2,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,...
; ; paging.asm ; KripayaOS Project ; Author(s): [Ashwin: ashwonixer123@gmail.com] ; [bits 32] init_paging32: ; Save all the registers pushad mov edi, 0x1000 mov cr3, edi xor eax, eax mov ecx, 4096 rep stosd mov edi, cr3 mov dword[edi], 0x2003 add edi, 0x1000 mov dword[edi], 0x3003 add edi, 0x1000 mo...
#include <algorithm> #include <iostream> #include <map> #include <queue> #include <set> #include <vector> using namespace std; int main() { int N; cin >> N; for(int i = 0; i < N; i++) { string v; cin >> v; cout << v.size() << endl; } return 0; }
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
_TEXT SEGMENT _TEXT ENDS END
extern m7_ippsHashGetSize:function extern n8_ippsHashGetSize:function extern y8_ippsHashGetSize:function extern e9_ippsHashGetSize:function extern l9_ippsHashGetSize:function extern n0_ippsHashGetSize:function extern k0_ippsHashGetSize:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment ...
#include "ui_character_screen.h" #include <sstream> #include <game/stats_common.h> #include <game/stats.h> namespace am { namespace ui { CharacterScreen::CharacterScreen() : Panel(), mTextDirty(true) { setName("CharacterScreen"); mInfo = new gfx::TextField2(); mInfo->setPosition(10, 22); mInfo->setInt...
// Copyright Tom Westerhout (c) 2018 // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright // notice, this list of...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x9128, %r15 nop nop sub %r14, %r14 movw $0x6162, (%r15) nop nop nop add $16077, %r14 lea addresses_WC_ht+0x16061, %rcx nop nop nop nop add $40749, %r8 mov $0x61626364...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1db40, %rsi lea addresses_normal_ht+0x6f53, %rdi nop nop sub %r15, %r15 mov $103, %rcx rep movsl nop and $40998, %r14 lea addresses_D_ht+0x1854b, %r12 clflush (%r12) and...
; void bit_click_di(void) SECTION code_clib SECTION code_sound_bit PUBLIC bit_click_di EXTERN asm_bit_click_di defc bit_click_di = asm_bit_click_di
; A204094: Numbers whose set of base 10 digits is {0,7}. ; 0,7,70,77,700,707,770,777,7000,7007,7070,7077,7700,7707,7770,7777,70000,70007,70070,70077,70700,70707,70770,70777,77000,77007,77070,77077,77700,77707,77770,77777,700000,700007,700070,700077,700700,700707,700770,700777,707000,707007,707070,707077,707700,707707,7...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Put a pixel in the stencil vectors ; ; Stefano Bodrato - 08/10/2009 ; ; ; $Id: w_stencil_add_point.asm,v 1.5 2016-04-23 20:37:40 dom Exp $ ; ;; void stencil_add_point(int x, int y, unsigned char *ste...
/*******************************************************************\ Module: Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include "rename_symbol.h" #include "expr_iterator.h" #include "std_types.h" #include "std_expr.h" rename_symbolt::rena...
// -*- C++ -*- // // Package: RecoEgamma/Examples // Class: GsfElectronFakeAnalyzer // /**\class GsfElectronFakeAnalyzer RecoEgamma/Examples/src/GsfElectronFakeAnalyzer.cc Description: GsfElectrons fake electrons analyzer using reco data Implementation: <Notes on implementation> */ // // Original Autho...
; ----------------------------------------------------------------------------- ; A 64-bit program that displays a text file to the console ; ; On entry, rdi will contain argc and rsi will contain argv. ; ----------------------------------------------------------------------------- global main ; ---------------------...
song326restored_pri equ 100 song326restored_rev equ 0 song326restored_mvl equ 127 song326restored_key equ 0 song326restored_tbs equ 1 song326restored_exg equ 0 song326restored_cmp equ 1 .align 4 ;**************** Track 1 (Midi-Chn.1) ****************; @song326restored_1: .byte KEYSH , song326restored_key...
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // // This file is part of Bytecoin. // // Bytecoin is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of t...
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021 Marco Spedaletti (asimov@mclink.it) ; * ; * Licensed un...
_InitializeStartDay: call InitializeStartDay ret ClearDailyTimers: xor a ld [wLuckyNumberDayBuffer], a ld [wUnusedTwoDayTimer], a ld [wDailyResetTimer], a ret InitCallReceiveDelay:: xor a ld [wTimeCyclesSinceLastCall], a NextCallReceiveDelay: ld a, [wTimeCyclesSinceLastCall] cp 3 jr c, .okay ld a, 3 .o...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "base58.h" #include "bitcoinrpc.h" #inclu...
; showline.asm bdos equ 5 parambegin equ 80h paramlen equ 128 org 100h call showendline ld hl, parambegin ld b, paramlen nextchar: ld a, (hl) call showreg inc hl ;djnz nextchar dec b jp nz, nextchar call showendline ld hl, parambegin ld a, (hl) nextchar2: inc hl cp...
; A047605: Numbers that are congruent to {0, 2, 3, 5} mod 8. ; 0,2,3,5,8,10,11,13,16,18,19,21,24,26,27,29,32,34,35,37,40,42,43,45,48,50,51,53,56,58,59,61,64,66,67,69,72,74,75,77,80,82,83,85,88,90,91,93,96,98,99,101,104,106,107,109,112,114,115,117,120,122,123 mov $1,$0 add $1,$0 bin $0,2 gcd $0,2 add $1,$0 sub $1,2
%include 'textmode.h' call draw_border mov di, 160 * 2 + 8 ;where to place cursor mov si, line01 ;fetch the text mov ah, 0x0A ;color call slide_line mov di, 160 * 4 + 16 ;where to place cursor mov si, line02 ;fetch the text call slide_line mov di, 160 * 6 + 16 ;where to place cursor mov si, line03 ;...
// RUN: %clang_cc1 -fsycl -fsycl-is-device -fsyntax-only -verify -DTRIGGER_ERROR %s // RUN: %clang_cc1 -fsycl -fsycl-is-device -ast-dump %s | FileCheck %s [[intel::reqd_sub_group_size(4)]] void foo() {} // expected-note {{conflicting attribute is here}} // expected-note@-1 {{conflicting attribute is here}} [[intel::re...
; A151798: a(0)=1, a(1)=2, a(n)=4 for n>=2. ; 1,2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 pow $0,4 mov $1,3 trn $1,$0 gcd $1,4 mov $0,$1
// Copyright (c) 2018 The Veil Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "outputrecord.h" #include <boost/variant.hpp> #include <tinyformat.h> void COutputRecord::AddStealthAddress(const CKeyID& i...
; THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX ; SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO ; END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ; ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS ; IN USING, DIS...
############################################################################### # Copyright 2018 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...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x13a1e, %rsi nop xor $49296, %r15 mov $0x6162636465666768, %rdx movq %rdx, %xmm2 vmovups %ymm2, (%rsi) nop nop nop nop xor %r12, %r12 lea addresses_A_ht+0x3356, %rsi lea addresses_norma...
#include registers.inc ;******************************************************************************* ; UNIVERSIDAD DE COSTA RICA ESCUELA DE INGENIERIA ELECTRICA ; MICROPROCESADORES IE 623 III CICLO 2020 ;******************************************************************************* ; ...
; A170440: Number of reduced words of length n in Coxeter group on 47 generators S_i with relations (S_i)^2 = (S_i S_j)^44 = I. ; 1,47,2162,99452,4574792,210440432,9680259872,445291954112,20483429889152,942237774900992,43342937645445632,1993775131690499072,91713656057762957312,4218828178657096036352,1940660962182264176...
; A132732: Row sums of triangle A132731. ; 1,2,4,10,24,54,116,242,496,1006,2028,4074,8168,16358,32740,65506,131040,262110,524252,1048538,2097112,4194262,8388564,16777170,33554384,67108814,134217676,268435402,536870856,1073741766,2147483588,4294967234,8589934528,17179869118,34359738300,68719476666,137438953400,274877906...
; A007531: a(n) = n*(n-1)*(n-2) (or n!/(n-3)!). ; 0,0,0,6,24,60,120,210,336,504,720,990,1320,1716,2184,2730,3360,4080,4896,5814,6840,7980,9240,10626,12144,13800,15600,17550,19656,21924,24360,26970,29760,32736,35904,39270,42840,46620,50616,54834,59280,63960,68880,74046,79464,85140,91080,97290,103776,110544,117600,124950...
//===-test_cosh_popart.cc-----------------------------------------------------------===// // // Copyright (C) 2019-2020 Alibaba Group Holding Limited. // // 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...
// Print hello world using the kernal BasicUpstart2(Start) #import "C64.inc" // This program uses a kernal routine to print HELLO WORLD // to the screen. The string is encoded in ASCII, but the C64's // screen RAM needs the C64 screen character set. The kernal // routine CHROUT handles this conversion for you. str_he...
obj/user/test1: file format elf32-i386 Disassembly of section .text: 00800020 <umain>: #include <inc/lib.h> void umain(int argc, char **argv) { 800020: 55 push %ebp 800021: 89 e5 mov %esp,%ebp 800023: 53 push %ebx 800024: 83 ec 04 ...
; A033037: Numbers all of whose base 12 digits are odd. ; 1,3,5,7,9,11,13,15,17,19,21,23,37,39,41,43,45,47,61,63,65,67,69,71,85,87,89,91,93,95,109,111,113,115,117,119,133,135,137,139,141,143,157,159,161,163,165,167,181,183,185,187,189,191 mov $1,1 mov $2,$0 add $2,$0 trn $0,11 add $1,$2 lpb $0 sub $0,1 trn $0,5 ...
#include "JPEGFrameParser.h" #include "Logger.h" #include <string> #define QTABLE_MAX_SIZE (128*2) #define SOF_HEADER_SIZE 17 #define JPEG_PARSER_LENIANT 0 #define JPEG_PARSER_STRICT_RFC_2035 1 #define JPEG_PARSER_LEVEL JPEG_PARSER_LENIANT enum JPEG_Markers { START_MARKER = 0xFF, SOI_MARKER = 0xD8,...
TITLE ЛР_5 ;------------------------------------------------------------------------------ ;ЛР №5 ;------------------------------------------------------------------------------ ; Комп'ютерна архітектура ; ВУЗ: НТУУ "КПІ" ; Факультет: ФІОТ ; Курс: 1 ; Група: ІТ-01 ;--------------------------...
// // ssl/detail/shutdown_op.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2020 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) // #ifnd...
// Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD (revised) // license as described in the file LICENSE. #include <cstdint> #include <algorithm> #include "example.h" #include "gd.h" #include "simple_label_parser.h" #include "int...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1574e, %rsi lea addresses_normal_ht+0x9696, %rdi nop nop nop nop and $8616, %r10 mov $25, %rcx rep movsb nop nop nop xor $61551, %rbp lea addresses_D_ht+0x7bee, %r14 nop...
; A087439: Expansion of (1-4x)/((1-x)(1-3x)(1-5x)). ; 1,5,22,98,451,2135,10312,50468,249061,1235465,6147802,30650438,152986471,764135195,3818284492,19084248008,95399716681,476934013325,2384476356382,11921800651178,59607259863691,298031069141855 add $0,1 mov $1,5 pow $1,$0 mov $3,3 pow $3,$0 lpb $0 mov $0,1 add $1,...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>semtimedop(semid, sops, nsops, timeout) -> str Invokes the syscall semtimedop. See 'man 2 semtimedop' for more information. Arguments: semid(int): semid sops(sembuf*): sops nsops(size_t): ns...
RESULTS_START EQU $c000 RESULTS_N_ROWS EQU 2 include "base.inc" CorrectResults: ; Left digit: Sample right after the write ; Right digit: Sample the channel stays on db $00, $00, $00, $0f, $ff, $ff, $ff, $f0 db $00, $00, $0f, $0f, $0f, $0f, $0f, $ff SubTest: MACRO xor a ldh [rNR52], a cpl ldh [rN...
#include "raylet.h" #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #include <iostream> #include "ray/status.h" namespace ray { namespace raylet { Raylet::Raylet(boost::asio::io_service &main_service, const std::string &socket_name, const std:...
// 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 "ash/frame/default_header_painter.h" #include "ash/frame/caption_buttons/frame_caption_button_container_view.h" #include "ash/frame/header_paint...
// // File_WIN32U.cpp // // $Id: //poco/1.4/Foundation/src/File_WIN32U.cpp#3 $ // // Library: Foundation // Package: Filesystem // Module: File // // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to any person or organization...
#include "GBA.h" #include "Globals.h" #include "GBAGfx.h" void mode5RenderLine(MixColorType *lineMix, GBALCD &lcd, const GBAMem::IoMem &ioMem) { #ifdef GBALCD_TEMP_LINE_BUFFER u32 lcd.line2[240]; //gfxClearArray(lcd.line2); u32 lcd.lineOBJ[240]; #endif const u16 *palette = (u16 *)lcd.paletteRAM; const auto BLDM...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1831f, %r14 nop nop nop nop nop cmp %r10, %r10 movl $0x61626364, (%r14) nop nop and %rdi, %rdi lea addresses_A_ht+0x1adc7, %r12 nop nop cmp %rdi, %rdi and $0xffffffffffff...
; A064324: a(n) = a(n-1) + floor(a(n-2)/2) with a(0)=1, a(1)=2. ; 1,2,2,3,4,5,7,9,12,16,22,30,41,56,76,104,142,194,265,362,494,675,922,1259,1720,2349,3209,4383,5987,8178,11171,15260,20845,28475,38897,53134,72582,99149,135440,185014,252734,345241,471608,644228,880032,1202146,1642162,2243235,3064316,4185933,5718091,78110...
; unsigned long ftell(FILE *stream) INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _ftell EXTERN asm_ftell _ftell: pop af pop ix push hl push af jp asm_ftell ;;;;;;;;;;;;;;...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>getegid() -> str Invokes the syscall getegid. See 'man 2 getegid' for more information. Arguments: Returns: gid_t </%docstring> <%page args=""/> <% abi = pwnlib.abi.ABI.syscall() stack = abi.stack ...
.size 8000 .text@48 inc a ldff(45), a 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 a, ff ldff(45), a ld b, 03 call lwaitly_b ld c, 41 lbegin_waitm0: ldff a, (c) and a, b jrnz lbegin_waitm0 ld a, 80 ldf...
[bits 32] [section .text] INT_VECTOR_SYS_CALL equ 0x80 _NR_PS EQU 13 global ps ps: push edx push ebx mov eax, _NR_PS mov ebx, [esp + 8 + 4] ;第一个参数 mov edx, [esp + 8 + 4*2] ;第一个参数 int INT_VECTOR_SYS_CALL pop ebx pop edx ret
dt 765432109876543210p dt -765432109876543210p dt +765432109876543210p dt 123p dt -456p dt +789p dt 98765432109876543210p dt 123.0 dt 0x123p+44 dt 789p dt 0p765432109876543210 dt -0p765432109876543210 dt +0p765432109876543210 dt 0p123 dt -0p456 dt +0p789 dt 0p98765432109876543210 dt 123.0 dt 0x123p+...
; A063168: Dimension of the space of weight 2n cusp forms for Gamma_0( 100 ). ; 7,36,66,96,126,156,186,216,246,276,306,336,366,396,426,456,486,516,546,576,606,636,666,696,726,756,786,816,846,876,906,936,966,996,1026,1056,1086,1116,1146,1176,1206,1236,1266,1296,1326,1356 mov $1,$0 mul $1,30 trn $1,1 add $1,7
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
; uchar__CALLEE__ sp1_ScreenAttr_callee(uchar row, uchar col) ; 02.2006 aralbrec, Sprite Pack v3.0 ; sinclair zx version SECTION code_clib SECTION code_temp_sp1 PUBLIC sp1_ScreenAttr_callee EXTERN asm_sp1_ScreenAttr sp1_ScreenAttr_callee: pop hl pop de ex (sp),hl ld d,l jp asm_sp1_ScreenAttr
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x17a2a, %rsi lea addresses_D_ht+0x1daaa, %rdi nop xor $47148, %r13 mov $67, %rcx rep movsw and %rcx, %rcx lea addresses_UC_ht+0x11aaa, %r10 nop nop nop nop dec %r9 vmovups (%r10...
; ; 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 ; ;-----------------------------------------------...
//Core code from Hooking.Patterns //https://github.com/ThirteenAG/Hooking.Patterns #include "byte_pattern.h" using namespace std; memory_pointer byte_pattern::get(size_t index) const { return this->_results.at(index); } memory_pointer byte_pattern::get_first() const { return this->get(0); } memory_pointer...
PUBLIC heapfree ; fastcall .heapfree ex de, hl jp 0xb884
// Copyright (c) 2012 The Chromium OS 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 "power_manager/powerd/metrics_collector.h" #include <stdint.h> #include <algorithm> #include <cmath> #include <base/files/file_path.h> ...
Entity start Constants 0 S start 1 S var1 2 S var2 3 I 10 4 I 1 5 S writeln 6 I 20 End Def start Local variables 0 int var1 1 int var2 End ldconst 3 --> [10] stvar 0 --> [var1] ldvar 0 --> [var1] ldconst 4 --> [1] lcall 5 --> [writeln] ldconst 6 --> [20] stvar 1 --> [var2] ldv...
; A140962: Negative values of the Inverse binomial transform of A045883. ; 0,-1,-1,-3,-1,-7,3,-19,23,-63,107,-235,447,-919,1811,-3651,7271,-14575,29115,-58267,116495,-233031,466019,-932083,1864119,-3728287,7456523,-14913099,29826143,-59652343,119304627,-238609315,477218567,-954437199,1908874331,-3817748731,7635497391,-...
#include <bits/stdc++.h> using namespace std; typedef long long int llint; typedef unsigned long long int ullint; typedef short int sint; #define endn "\n" #define umap unordered_map #define uset unordered_set #define pb push_back int a[102][102]; int main(void) { ios_base::sync_with_stdio(false); cin.tie(NU...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r9 push %rax push %rbx push %rsi // Store mov $0xdff, %r9 nop nop nop and $4722, %r10 mov $0x5152535455565758, %rax movq %rax, %xmm1 movups %xmm1, (%r9) sub %r12, %r12 // Faulty Load lea addr...
; A182191: a(n) = 6*a(n-1) - a(n-2) + 12 with n>1, a(0)=-1, a(1)=5. ; -1,5,43,265,1559,9101,53059,309265,1802543,10506005,61233499,356895001,2080136519,12123924125,70663408243,411856525345,2400475743839,13990997937701,81545511882379,475282073356585,2770146928257143,16145599496186285,94103450048860579,548475100796977201...
/* * @file DbConnectionPool.cpp * * Created on: Aug 5, 2016 * @author: Gregory M. Baumgardner */ #include "DbConnectionPool.h" #include <cppconn/exception.h> #include <mutex> #include "../PluginLog.h" namespace tmx { namespace utils { using namespace std; vector<DbConnection> DbConnect...
Name: tl_msg0.asm Type: file Size: 22443 Last-Modified: '2016-05-13T04:27:09Z' SHA-1: 4EE47224CC5939578A0446E4C0949E60B4FC290D Description: null
// ======================================================================== // // Copyright 2009-2013 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
; A321398: a(n) = (-1)^(n+1)*n!* [x^n](log(x + 1)/2 + log(3*x + 1)/6). ; Submitted by Jon Maiga ; 0,1,2,10,84,984,14640,262800,5513760,132289920,3571464960,107140320000,3535590643200,127280784153600,4963944354969600,208485575730432000,9381849600195072000,450328759886573568000,22966766398527823872000,1240205379118128783...
#!/bin/asmbf/bfmake ; Build me by executing! org 0 stk 0 mov r4, .F mov r1, .0 mov r2, r1 lbl 1 out r1 out r2 out 32 mov r3, r1 eq r3, .9 jnz r3, 2 mov r3, r2 eq r3, .9 jnz r3, 3 mov r3, r1 eq r3, r4 jnz r3, 5 lbl 6 mov r3, r2 eq r3, r4 jnz r3, 4 inc r2 jmp 1 lbl 2 sub r4, 5 mov r1, r...
; A141988: Primes congruent to 12 mod 29. ; Submitted by Jon Maiga ; 41,157,331,389,563,853,911,1201,1259,1433,1549,1607,1723,2129,2477,2593,2767,2999,3347,3463,3637,4159,4217,4391,4507,5087,5261,5783,6073,6131,6247,6421,6653,6827,7001,7349,7523,7639,8161,8219,8741,9437,9901,10133,10597,10771,11003,11119,11177,11351,11...
;++ ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; Licensed under the MIT License. ; ; Module Name: ; ; QgemmU8X8KernelAvx2.asm ; ; Abstract: ; ; This module implements the kernels for the quantized integer matrix/matrix ; multiply operation (QGEMM). ; ; This implementation uses AVX2 and AVX ...
#include "gtfo/algorithm/any_of.hpp" #include "gtfo_testing/runtime/runtime_tests.hpp" using namespace gtfo::runtime_test_helpers; namespace { inline bool less_than_zero(int val) { return val < 0; } } GTFO_TEST_FUN_BEGIN const int arr_bad[] = { 2, 3, 5, 7, 11 }; const int arr_good[] = { 1...
; A204342: a(n) = (-1)^n * Sum_{2*m + 1 | 2*n + 1} (-1)^m (2*m + 1)^4. ; Submitted by Jon Maiga ; 1,80,626,2400,6481,14640,28562,50080,83522,130320,192000,279840,391251,524960,707282,923520,1171200,1502400,1874162,2284960,2825762,3418800,4057106,4879680,5762401,6681760,7890482,9164640,10425600,12117360,13845842,1555440...
section .text global _start _start jmp file open : pop ebx xor eax,eax mov al,5 xor ecx,ecx int 0x80 mov ebx,eax mov al,3 mov ecx,esp mov dl,0x30 int 0x80 mov al,4 mov bl,1 mov dl,0x30 int 0x80 xor eax,eax inc eax int 0x80 file : call open db '/etc/passwd',0x0
#ifndef GREG_DATE_HPP___ #define GREG_DATE_HPP___ /* Copyright (c) 2002,2003, 2020 CrystalClear Software, Inc. * Use, modification and distribution is subject to the * Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) * Author: Jeff Garlan...
;; ;; ;; public dwNtAcceptConnectPort _DATA$00 SEGMENT PARA 'DATA' dwNtAcceptConnectPort label dword dd 0 _DATA$00 ENDS _TEXT$00 segment para 'CODE' ALIGN 16 PUBLIC DirectNtAcceptConnectPort DirectNtAcceptConnectPort PROC mov r10, rcx mov eax, dwNtAcceptConnectPort syscall ret...
; ; jidctflt.asm - floating-point IDCT (64-bit SSE & SSE2) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright (C) 2009, 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 cop...
/* * 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 ...
.size 8000 .text@58 jp lstartserial .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(0f), a ld a, 08 ldff(ff), a ld a, 81 ldff(02), a ei .text@1000 lstartserial: xor a, a ldff(01), a ld a, 81 ldff(02), a .text@13f3 ldff a, (02) jp lprint_a .text@7000 lprint_a: push af ld b, 91 ...
; Top-hole Golf ; Copyright 2020-2021 Matthew Clarke !to "finale.o",cbm !source "../core/labels.asm" !source "../core/mymacros.asm" !source "../core/vic_ii.asm" *= end_of_core !zone { finale_s_init jsr finale_s_load_best +utils_m_enable_bitmap_mode +utils_m_enable_multicolor_mode lda #0 sta SPE...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: KernelGraphics FILE: Graphics/graphicsColor.asm AUTHOR: Jim DeFrisco ROUTINES: Name Description ---- ----------- GLB GrMapColorIndex...
;***************************************************************************** ;* MMX/SSE2/AVX-optimized 10-bit H.264 intra prediction code ;***************************************************************************** ;* Copyright (C) 2005-2011 x264 project ;* ;* Authors: Daniel Kang <daniel.d.kang@gmail.com> ;* ;* Th...
; A017046: a(n) = (7*n + 5)^6. ; 15625,2985984,47045881,308915776,1291467969,4096000000,10779215329,24794911296,51520374361,98867482624,177978515625,304006671424,496981290961,782757789696,1194052296529,1771561000000,2565164201769,3635215077376,5053913144281,6906762437184,9294114390625,12332795428864,16157819263041,2092...
;****************************************************************************** ;* optimized bswap buffer functions ;* Copyright (c) 2008 Loren Merritt ;* Copyright (c) 2003-2013 Michael Niedermayer ;* Copyright (c) 2013 Daniel Kang ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute ...
; A117793: Pentagonal numbers divisible by 5. ; 0,5,35,70,145,210,330,425,590,715,925,1080,1335,1520,1820,2035,2380,2625,3015,3290,3725,4030,4510,4845,5370,5735,6305,6700,7315,7740,8400,8855,9560,10045,10795,11310,12105,12650,13490,14065,14950,15555,16485,17120,18095,18760,19780,20475,21540,22265,23375,24130,25285,2607...
; A038504: Sum of every 4th entry of row n in Pascal's triangle, starting at "n choose 1". ; 0,1,2,3,4,6,12,28,64,136,272,528,1024,2016,4032,8128,16384,32896,65792,131328,262144,523776,1047552,2096128,4194304,8390656,16781312,33558528,67108864,134209536,268419072,536854528,1073741824,2147516416,4295032832,8590000128,17...
; MIDI CPU ; copyright John Staskevich, 2017 ; john@codeandcopper.com ; ; This work is licensed under a Creative Commons Attribution 4.0 International License. ; http://creativecommons.org/licenses/by/4.0/ ; ; readlogic.asm ; ; Take samples from pins configured for logic input. ; list p=16f887 #incl...
; ******************************************************* ; * * ; * Delphi Runtime Library * ; * * ; * Copyright (c) 1996,98 Inprise Corporation * ; * * ; ******************************************************* INCLUDE SE.ASM INCLUDE FILEIO.ASM .386 .MODEL FLAT EX...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x13fd1, %r11 nop nop nop dec %rax movb (%r11), %r9b nop nop nop nop nop xor $54385, %r9 lea addresses_D_ht+0x4bd1, %rsi lea addresses_D_ht+0xa639, %rdi clflush (%rsi) nop nop ...