text
stringlengths
1
1.05M
#ifndef __VECTOR_H__ #define __VECTOR_H__ #include <cstddef> #include <cassert> #include <iostream> template<typename T> class Vector { public: class iterator { public: iterator(T *ptr) : ptr(ptr) {} iterator& operator++() { ++ptr; return *this; } bool operator!=(const iterator &it) const { return ptr != it....
/* * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publi...
/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundl...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x35ea, %r13 nop and $44295, %r9 mov $0x6162636465666768, %r11 movq %r11, %xmm3 vmovups %ymm3, (%r13) nop nop nop and %rax, %rax lea addresses_normal_ht+0x13...
SECTION code_fp_am9511 PUBLIC cam32_sdcc_cosh EXTERN asm_sdcc_read1, _am9511_cosh .cam32_sdcc_cosh call asm_sdcc_read1 jp _am9511_cosh
;*** ;* $Workfile: calcreq.asm $ ;* $Revision: 1.0 $ ;* $Author: Dave Sewell $ ;* $Date: 13 Oct 1989 11:28:00 $ ;* ;***************************************************************************** % .MODEL memmodel .CODE ;int _fastcall fc_toupper(int value); @fc_toupper ...
; A185871: (Even,even)-polka dot array in the natural number array A000027, by antidiagonals. ; 5,12,14,23,25,27,38,40,42,44,57,59,61,63,65,80,82,84,86,88,90,107,109,111,113,115,117,119,138,140,142,144,146,148,150,152,173,175,177,179,181,183,185,187,189,212,214,216,218,220,222,224,226,228,230,255,257,259,261,263,265,26...
extern _ZN4sesh3irq10IRQHandlerEPNS_14InterruptFrameE global __irq_stub __irq_stub: pusha push ds push es push fs push gs mov ax, 0x10 mov ds, ax mov es, ax mov fs, ax mov gs, ax mov eax, esp push eax call _ZN4sesh3irq10IRQHandlerEPNS_14InterruptFrameE pop eax pop gs pop fs pop es pop ds popa add ...
// Copyright (c) 2015 The Bitcoin Core developers // Copyright (c) 2016-2019 The PIVX developers // Copyright (c) 2020 The Nasda Cash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "platformstyle.h" #includ...
********************************************************************************* * DynoSprite - main.asm * Copyright (c) 2013-2014, Richard Goedeken * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are me...
; A276916: Subsequence of centered square numbers obtained by adding four triangles from A276914 and a central element, a(n) = 4*A276914(n) + 1. ; 1,5,41,61,145,181,313,365,545,613,841,925,1201,1301,1625,1741,2113,2245,2665,2813,3281,3445,3961,4141,4705,4901,5513,5725,6385,6613,7321,7565,8321,8581,9385,9661,10513,10805...
ori $0,$0,13 ori $1,$0,14 ori $2,$0,17 ori $3,$0,22 ori $4,$0,29 ori $5,$0,38 ori $6,$0,49 ori $7,$0,62 ori $8,$0,77 ori $9,$0,94 ori $10,$0,113 ori $11,$0,134 ori $12,$0,157 ori $13,$0,182 ori $14,$0,209 ori $15,$0,238 ori $16,$0,269 ori $17,$0,302 ori $18,$0,337 ori $19,$0,374 ori $20,$0,413 ori $21,$0,454 ori $22,$0...
; A108765: G.f. (1 - x + x^2)/((1-3*x)*(x-1)^2). ; 1,4,14,45,139,422,1272,3823,11477,34440,103330,310001,930015,2790058,8370188,25110579,75331753,225995276,677985846,2033957557,6101872691,18305618094,54916854304,164750562935,494251688829,1482755066512,4448265199562,13344795598713,40034386796167,120103160388530,36030948...
/** * SquashFS delta tools * (c) 2014 Michał Górny * Released under the terms of the 2-clause BSD license */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include <cerrno> #include <cstring> extern "C" { # include <sys/types.h> # include <sys/stat.h> # include <sys/mman.h> # include <fcntl.h> # include <unis...
/* Димитър Валериев Трифонов, КН, 50Б, 146518 */ // STL solution /* Задача 1. Даден е списък от цели числа. Да се напише програма, която пресмята средно-аритметичното на положителните елементи от списъка. */ #include "stdafx.h" #include <iostream> #include <list> int main() { std::list<int> myList; char valu...
#include <stdio.h> #include <iostream> #include <set> #include <algorithm> using namespace std; int main() { int testcase, cases = 0; int n, m, x, y; scanf("%d", &testcase); while (testcase--) { scanf("%d %d", &n, &m); char name[26][4], s1[4], s2[4], buf[26]; int g[26][26] = {}; for (int i = 0; i < n; i++...
; ; Grundy Newbrain Specific libraries ; ; Stefano Bodrato - 19/05/2007 ; ; ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; ; This function is linked only in the CP/M extension version ; it calls the ROM functions via the CP/M facility ; ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; ; ...
; 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. ;; ==++== ;; ;; ;; ==--== #include "ksarm64.h" TEXTAREA ; Calls to JIT_MemSet is emitted by jit for initializat...
// 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 "components/content_settings/renderer/content_settings_agent_impl.h" #include <utility> #include <vector> #include "base/bind.h" #include "...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x7774, %r11 nop nop nop nop nop inc %rax vmovups (%r11), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $0, %xmm6, %r14 nop nop xor %rdx, %rdx lea addresses_WT_ht+0...
// Copyright (c) 2011-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/sendcoinsdialog.h> #include <qt/forms/ui_sendcoinsdialog.h> #include <qt/addresstablemodel.h> #include <qt/bitc...
INCLUDE "config_z80_private.inc" SECTION code_driver SECTION code_driver_terminal_input PUBLIC term_01_input_char_iterm_msg_interrupt EXTERN asm_exit term_01_input_char_iterm_msg_interrupt: ; Indicate whether character should interrupt line editing. ; ; enter: c = ascii code ; exit: carry rese...
// or // load top of stack into D @SP AM=M-1 D=M // dec sp A=A-1 // or top of stack and D M=D|M
/* Copyright 2020 The OneFlow 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 by applicable law or agre...
; Student ID : SLAE-1250 ; Student Name : Jonathan "Chops" Crosby ; Assignment 6.2 : polymorphic bin/cat /etc/passwd for Linux/x86 Assembly ; File Name : cat-passwd.nasm ; Shell Storm : http://shell-storm.org/shellcode/files/shellcode-571.php global _start section .text _start: xor ecx,ecx ...
dnl AMD64 mpn_cnd_add_n. dnl Copyright 2011-2013, 2017 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 published b...
#ifndef STAN_MATH_PRIM_MAT_FUN_POSITIVE_ORDERED_FREE_HPP #define STAN_MATH_PRIM_MAT_FUN_POSITIVE_ORDERED_FREE_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/prim/mat/err/check_positive_ordered.hpp> #include <stan/math/prim/mat/meta/index_type.hpp> #include <cmath> namespace stan { namespace mat...
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1987 - 1991 ; * All Rights Reserved. ; */ PAGE ,132 ; ; ; MS-DOS 5.00 - NLS Support - KEYB Command ; ; File Name: KEYBI2F.ASM ; ---------- ; ...
INCLUDE "hardware.inc/hardware.inc" INCLUDE "charmap.asm" rev_Check_hardware_inc 3.0 charmap "♥", $89 TEXT_WIDTH_TILES equ 16 TEXT_HEIGHT_TILES equ 8 EXPORT TEXT_WIDTH_TILES EXPORT TEXT_HEIGHT_TILES BTN_ANIM_PERIOD equ 16 lb: macro ld \1, (\2) << 8 | (\3) endm SECTION "Header", ROM0[$100] di jr EntryPoi...
; A164412: Number of binary strings of length n with no substrings equal to 0000 0001 or 0111. ; 13,22,37,60,98,160,259,420,681,1102,1784,2888,4673,7562,12237,19800,32038,51840,83879,135720,219601,355322,574924,930248,1505173,2435422,3940597,6376020,10316618,16692640,27009259,43701900,70711161,114413062,185124224,29953...
INCLUDE "clib_cfg.asm" SECTION code_math PUBLIC l_fast_divu_16_16x8, l0_fast_divu_16_16x8 EXTERN l0_fast_divu_8_8x8, error_divide_by_zero_mc ; alternate entry to swap dividend / divisor ex de,hl l_fast_divu_16_16x8: ; unsigned division of a 16-bit dividend ; by an 8-bit divisor ; ; enter : ...
; ; ; Z88 Maths Routines ; ; C Interface for Small C+ Compiler ; ; 7/12/98 djm ;double asin(double) ;Number in FA.. SECTION code_fp INCLUDE "target/z88/def/fpp.def" PUBLIC atan EXTERN fsetup EXTERN stkequ2 .atan...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x12605, %rsi lea addresses_normal_ht+0xe418, %rdi clflush (%rsi) nop nop nop xor %r11, %r11 mov $85, %rcx rep movsq nop nop nop and $32253, %rbx lea addresses_normal_ht+0x1e2...
db DEX_TYRANITAR ; pokedex id db 100 ; base hp db 134 ; base attack db 110 ; base defense db 61 ; base speed db 95 ; base special db ROCK ; species type 1 db DARK ; species type 2 db 10 ; catch rate db 177 ; base exp yield INCBIN "pic/ymon/tyranitar.pic",0,1 ; 66, sprite dimensions dw TyranitarPicFront dw TyranitarPicB...
.import source "music.inc" * = $801 // 1 SYS 2064 .byte $0b, $08, $01, $00, $9e, $32, $30, $36, $34, $00, $00, $00, $00, $00, $00 RunTest: lda #$f // set volume sta $d418 frame: lda #100 wait: cmp $d012 bne wait lda #4 sta $d020 jsr UpdateMusicPlayer lda #14 sta $d020 jmp frame // just include music cod...
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
// Copyright (c) 2020 Google LLC // // 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 ...
; A036406: a(n) = ceiling(n^2/8). ; 0,1,1,2,2,4,5,7,8,11,13,16,18,22,25,29,32,37,41,46,50,56,61,67,72,79,85,92,98,106,113,121,128,137,145,154,162,172,181,191,200,211,221,232,242,254,265,277,288,301,313,326,338,352,365,379,392,407,421,436,450,466,481,497,512,529,545,562,578,596,613,631,648,667,685,704,722,742,761,781,80...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x16582, %rax nop sub %rbx, %rbx mov $0x6162636465666768, %r13 movq %r13, %xmm6 vmovups %ymm6, (%rax) nop sub %r12, %r12 lea addresses_WT_ht+0xd702, %r15 ad...
.nds .relativeinclude on .erroronwarning on ; Fixes the boss rush versions of certain bosses so they play the boss music when they're created. ; This is for the boss randomizer. @Overlay119Start equ 0x02308EC0 @FreeSpace equ @Overlay119Start + 0x4C0 .open "ftc/overlay9_119", @Overlay119Start .org @FreeSpace @Initia...
CeruleanBadgeHouse_Script: ld a, $1 ld [wAutoTextBoxDrawingControl], a dec a ld [wDoNotWaitForButtonPressAfterDisplayingText], a ret CeruleanBadgeHouse_TextPointers: dw CeruleanHouse2Text1 CeruleanHouse2Text1: TX_ASM ld hl, CeruleanHouse2Text_74e77 call PrintText xor a ld [wCurrentMenuItem], a ld [wListSc...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
SECTION code_user PUBLIC _wait_vsync_rising_edge PUBLIC _update_psg PUBLIC _c_write_to_psg PUBLIC _cpcym_init PUBLIC _cpcym_exit ._cpcym_init di ; Disable interrupts ret ._cpcym_exit ei ; Enable interrupts ret ;; no input ;; on exit: ;; * B, A, H, L registers have been overw...
; A192427: Coefficient of x in the reduction by x^2->x+2 of the polynomial p(n,x) defined below in Comments. ; Submitted by Jon Maiga ; 0,1,1,8,11,45,80,251,517,1432,3195,8317,19360,48827,116213,288360,694331,1708397,4138480,10138363,24636645,60217912,146570491,357833309,871703360,2126857275,5183425493,12642971912,3081...
; A168982: Number of reduced words of length n in Coxeter group on 17 generators S_i with relations (S_i)^2 = (S_i S_j)^23 = I. ; 1,17,272,4352,69632,1114112,17825792,285212672,4563402752,73014444032,1168231104512,18691697672192,299067162755072,4785074604081152,76561193665298432,1224979098644774912,19599665578316398592...
SECTION code_fp_math32 PUBLIC _exp10 EXTERN cm32_sdcc_exp10 defc _exp10 = cm32_sdcc_exp10
;CodeVisionAVR C Compiler V3.12 Advanced ;(C) Copyright 1998-2014 Pavel Haiduc, HP InfoTech s.r.l. ;http://www.hpinfotech.com ;Build configuration : Debug ;Chip type : ATmega16 ;Program type : Application ;Clock frequency : 8.000000 MHz ;Memory model : Small ;Optim...
; void *zx_pxy2saddr(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC _zx_pxy2saddr EXTERN l0_zx_pxy2saddr_callee _zx_pxy2saddr: pop af pop hl pop de push de push hl push af jp l0_zx_pxy2saddr_callee
; A038760: a(n) = n - floor(sqrt(n)) * ceiling(sqrt(n)). ; 0,0,0,1,0,-1,0,1,2,0,-2,-1,0,1,2,3,0,-3,-2,-1,0,1,2,3,4,0,-4,-3,-2,-1,0,1,2,3,4,5,0,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,0,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,0,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,0,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 mov $1,$0 seq $1,38759 ;...
; Patch out copy protection org $008000 db $FF ; Set SRAM size org $00FFD8 if !FEATURE_SD2SNES db $08 ; 256kb else db $05 ; 64kb endif ; Enable version display org $8B8697 NOP if !FEATURE_PAL org $8BF6DC else org $8BF754 endif db #$20, #($30+!VERSION_MAJOR) db #$2E, #($30+!VERSION_MINOR) ...
/* * Copyright (c) 2014-2021, NVIDIA 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.0 * * Unless ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x2c4d, %rcx clflush (%rcx) nop nop nop nop nop dec %r15 movw $0x6162, (%rcx) nop nop nop sub $63444, %rax lea addresses_D_ht+0x1cc4d, %rsi clflush (%rsi) nop nop nop nop xor %...
; A083062: (n+1)^n/(n+2)-(-1)^n/(n+2). ; 0,1,2,13,104,1111,14706,233017,4304672,90909091,2161452050,57154490053,1664148937320,52914318216943,1824557876586914,67818912035696881,2703399548648159360,115047976828352449051,5206367514895562076642,249660952380952380952381,12646292247588706756236200,674758650917429955329341351...
; A135246: Shifted Pell recurrence: a(n) = 2*a(n-2) + a(n-4). ; 1,3,5,7,11,17,27,41,65,99,157,239,379,577,915,1393,2209,3363,5333,8119,12875,19601,31083,47321,75041,114243,181165,275807,437371,665857,1055907,1607521,2549185,3880899,6154277,9369319,14857739,22619537,35869755,54608393,86597249,131836323,209064253,3182810...
;############################################################################### ;# File name: KERNEL/LAT.ASM ;# DESCRIPTION: LOCAL APIC TIMER ;# AUTHOR: RAMSES A. ;############################################################################### ;# ;# UPCR OPERATING SYSTEM FOR X86_64 ARCHITECTURE ;# COPYRIGHT ...
format MZ use16 entry main:start segment main macro PgDown {push bx push dx xor bx,bx mov dx,[cs:winpos] add dx,[cs:disp64k] mov [cs:winpos],dx call [cs:winfunc] pop dx pop bx} macro PgUp {push bx push dx xor bx,bx mov dx,[cs:winpos] sub dx,1 mov [cs:winpos],dx call [cs:winfunc] add di,[cs:granmask] ...
Monitor: DB $04, $36, $00 DW MonitorEdges DB MonitorEdgesSize DB $00, $2A DB MonitorVertSize DB MonitorEdgesCnt DB $01, $90 DB MonitorNormal...
; A024043: a(n) = 4^n - n^7. ; 1,3,-112,-2123,-16128,-77101,-275840,-807159,-2031616,-4520825,-8951424,-15292867,-19054592,4360347,163021952,902882449,4026531840,16769530511,68107256704,273984035205,1098231627776,4396245422563,17589691686528,70365339352217,281470390239232,1125893803326999,4503591595560320,1801438804912...
SECTION .text GLOBAL mul_curve25519 mul_curve25519: sub rsp, 0x88 imul rax, [ rdx + 0x20 ], 0x13; x10000 <- arg2[4] * 0x13 imul r10, [ rdx + 0x18 ], 0x13; x10001 <- arg2[3] * 0x13 imul r11, [ rdx + 0x10 ], 0x13; x10002 <- arg2[2] * 0x13 imul rcx, [ rdx + 0x8 ], 0x13; x10003 <- arg2[1] * 0x13 mov r8, rdx; preserving va...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; char *_memlwr(void *p, size_t n) ; ; Change letters in buffer p to lower case. ; ; =============================================================== SECTION code_clib SECTI...
// Copyright 2019 The Alcor Authors. // // 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...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xb312, %r11 nop nop nop add %rbx, %rbx mov $0x6162636465666768, %r15 movq %r15, (%r11) nop nop nop nop nop add %r14, %r14 lea addresses_UC_ht+0x1e412, %r13...
;================================================================= ; ; Copyright (c) 2014, Eric Blundell ; ; All rights reserved. ; ; libasm_io is distributed under the following BSD 3-Clause License ; ; Redistribution and use in source and binary forms, with or without modification, are permitted provided that the f...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x15ca4, %r12 nop add %r15, %r15 movl $0x61626364, (%r12) nop nop nop nop nop sub $60927, %r13 lea addresses_normal_ht+0x18fbd, %rsi lea addresses_A_ht+0xd87d, %rdi nop nop xor %rbp, %rb...
; double pi (); ; ------------- ; This function returns the real number pi (3.1415926535...). section .code global _pi _pi push rbp mov rbp, rsp fldpi pop rbp ret
INCLUDE "config_private.inc" SECTION code_driver SECTION code_driver_terminal_output PUBLIC rc_01_output_siob_iterm_msg_putc EXTERN rc_01_output_siob_oterm_msg_putc_raw rc_01_output_siob_iterm_msg_putc: ; enter : c = char to output ; can use: af, bc, de, hl, ix ; char to print is coming from the in...
;################################### BRCOPYREALAY STX BRBUFFER+6 ;save X LDX #4 STY BRCOPYLOOP+2 ; modify from address STA BRCOPYLOOP+1 BRCOPYLOOP LDA $FFFF,X STA BRBUFFER,X DEX BPL BRCOPYLOOP LDX BRBUFFER+6 ; restore X LDA #<BRBUFFER LDY #>BRBUFFER RTS ;################...
extern m7_ippsSHA1Duplicate:function extern n8_ippsSHA1Duplicate:function extern y8_ippsSHA1Duplicate:function extern e9_ippsSHA1Duplicate:function extern l9_ippsSHA1Duplicate:function extern n0_ippsSHA1Duplicate:function extern k0_ippsSHA1Duplicate:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:funct...
; A213394: The difference between n and the product of the digits of the n-th prime. ; Submitted by Jon Maiga ; -1,-1,-2,-3,4,3,0,-1,3,-8,8,-9,9,2,-13,1,-28,12,-23,13,0,-41,-1,-48,-38,26,27,28,29,27,17,29,12,7,-1,31,2,20,-3,19,-22,34,34,17,-18,-35,45,36,21,14,33,-2,45,44,-15,20,-51,44,-39,44,13,8,63,61,56,45,58,5,-15,-...
/* * All MBAFF frame picture HWMC kernels * Copyright © <2010>, Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limita...
; ; 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...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GlobalPC 1999 -- All Rights Reserved PROJECT: PC GEOS MODULE: Print Drivers FILE: cursorPrLineFeedCanonBJ.asm AUTHOR: Joon Song, 10 Jan 1999 ROUTINES: Name Description ---- ----------- REVISION H...
/* WS2812FX_fcn.cpp contains all utility functions Harm Aldick - 2016 www.aldick.org LICENSE The MIT License (MIT) Copyright (c) 2016 Harm Aldick Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
; A014283: a(n) = Fibonacci(n) - n^2. ; 0,0,-3,-7,-13,-20,-28,-36,-43,-47,-45,-32,0,64,181,385,731,1308,2260,3820,6365,10505,17227,28128,45792,74400,120717,195689,317027,513388,831140,1345308,2177285,3523489,5701731,9226240,14929056,24156448,39086725,63244465,102332555,165578460,267912532,433492588,701406797,1134901145...
and(8) g3<1>UD g2<0,1,0>UD ~g2.2<0,1,0>D { align1 1Q }; and(16) g3<1>UD g2<0,1,0>UD ~g2.2<0,1,0>D { align1 1H }; and(8) g8<1>UD g0.1<0,1,0>UW 0x07ffUW { align1 1Q }; and(16) g20<1>UD g0.1<0,1,0>UW 0x07ffUW { align1 1H }; and....
;-------------------------------------------------------------------------------------------; ; Author: Shadi Habbal (@Kerpanic), @TheCyberBepop ; Tested on: Windows 10.0.16299 (x86) ; Version: 1.0 (06 June 2021) ;-------------------------------------------------------------------------------------------; ; Characteris...
; A212247: Number of (w,x,y,z) with all terms in {1,...,n} and 3w=x+y+z+n. ; 0,1,4,13,29,56,95,150,222,315,430,571,739,938,1169,1436,1740,2085,2472,2905,3385,3916,4499,5138,5834,6591,7410,8295,9247,10270,11365,12536,13784,15113,16524,18021,19605,21280,23047,24910,26870,28931 mov $19,$0 mov $21,$0 lpb $21,1 clr $0,19...
page ,132 title COMMAND Resident DATA ;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ; ; Revision History ; ================ ; M003 SR 07/16/90 Added LoadHiFlg for LoadHigh support ; ; M004 SR 07...
; A059302: A diagonal of A008296. ; -1,-1,5,25,70,154,294,510,825,1265,1859,2639,3640,4900,6460,8364,10659,13395,16625,20405,24794,29854,35650,42250,49725,58149,67599,78155,89900,102920,117304,133144,150535,169575,190365,213009,237614,264290,293150,324310,357889,394009,432795,474375,518880,566444,617204,671300,728875,7...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0xe3f6, %rsi nop lfence movb $0x61, (%rsi) nop nop nop nop nop cmp $44329, %rsi lea addresses_WT_ht+0xecc6, %rsi nop nop nop cmp %r8, %r8 mov $0x6162636465666768, %r14 movq %r14,...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; rc_01_input_sioa ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; The keyboard is read via sioa library routines. ; ; * Keyboard reads are blocking. ; ; This subroutine inherits the librar...
; TK2 procs section procs xdef hot_ptk2 include 'dev8_mac_proc' hot_ptk2 proc_stt proc_def ALTKEY proc_def TK2_EXT,hot_tk2 proc_end proc_stt proc_end end
//===--- ClosureScope.cpp - Closure Scope Analysis ------------------------===// // // 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...
/** @file A brief file description @section license License 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 und...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; void *p_list_push_back(p_list_t *list, void *item) ; ; Add item to the back of the list. ; ; =============================================================== SECTION code_...
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #include "Luau/Ast.h" #include "Luau/Common.h" namespace Luau { static void visitTypeList(AstVisitor* visitor, const AstTypeList& list) { for (AstType* ty : list.types) ty->visit(visitor);...
; A349883: Expansion of Sum_{k>=0} (k * x)^k/(1 - k^3 * x). ; Submitted by Jamie Morken(s3) ; 1,1,5,60,1242,41241,2033683,141318208,13262986788,1624337451945,252725477615989,48858277079478156,11523986801592238046,3265676705193282018577,1097336766468309067029991,432291795385094609190468384,197690320046319097006619353352...
#include "AppendToBlcokChainController.h" #include <service/blockchain/BlockChainService.h> #include "rapidjson/document.h" #include "rapidjson/writer.h" #include "rapidjson/stringbuffer.h" AppendToBlockChain::AppendToBlockChain() = default; void AppendToBlockChain::service(const httplib::Request &req, httplib::Respon...
C x86_64/ecc-384-modp.asm ifelse(< Copyright (C) 2013, 2015 Niels Möller This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; eit...
; A329728: Partial sums of A092261. ; 1,4,8,9,15,27,35,36,37,55,67,71,85,109,133,134,152,155,175,181,213,249,273,277,278,320,321,329,359,431,463,464,512,566,614,615,653,713,769,775,817,913,957,969,975,1047,1095,1099,1100,1103,1175,1189,1243,1246,1318,1326,1406,1496,1556,1580,1642,1738,1746,1747,1831,1975,2043,2061,2157...
_v$ = 8 ; size = 4 unsigned int accumulate_epi32(std::vector<int,std::allocator<int> > const &) PROC ; accumulate_epi32, COMDAT mov ecx, DWORD PTR _v$[esp-4] xor edx, edx push ebx push esi push edi mov edi, DWORD ...
format ELF64 executable 3 entry start include 'procs.inc' segment readable executable start: xorc rax xorc rdx xorc rdi xorc rsi .socket: mov rdx, 6 ; IPPROTO_TCP mov rsi, 1 ; SOCK_STREAM mov rdi, 2 ; PF_INET mov rax, 41 ; SYS_SOCKET syscall call...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x17b1f, %rbp nop nop nop nop nop and %r12, %r12 movb $0x61, (%rbp) nop nop nop xor %rbx, %rbx lea addresses_A_ht+0x549f, %rsi lea addresses_UC_ht+0x229f, %rdi clflush (%rsi) cl...
// // Created by gennaro on 27/11/20. // #include "logging/priority_channel.h" #include <Poco/ConsoleChannel.h> #include <Poco/Logger.h> #include <Poco/SimpleFileChannel.h> #include <Poco/SplitterChannel.h> int main(int argc, char **argv) { auto &logger = Poco::Logger::root(); auto splitter_channel =...
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="fildes"/> <%docstring> Invokes the syscall fdatasync. See 'man 2 fdatasync' for more information. Arguments: fildes(int): fildes </%docstring> ${syscall('SYS_fdatasync', fildes)}
#include <bits/stdc++.h> using namespace std; struct node{ int connection,cost; }; vector<node> cost[20001]; int final_cost[20001]; //vector<int> connection[20001][]; struct node currentNode; bool operator<(const node& a, const node& b) { return a.cost>b.cost; } void find_minimum_latency() { ...
; Converts the layer and direction into the corresponding register function bgof2reg(layer, dir) = (((layer-1)&3)<<1)+(dir&1)+$D ; Converts the layer and direction into the corresponding address function bgof2addr(layer, dir) = ((((layer-1)&3)<<1)+(dir&1))*2+$1A
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24)) ftyp_start: dd BE(ftyp_end - ftyp_start) dd "ftyp" db 0x6D, 0x69, 0x66, 0x31 ; major_brand(32) ('mif1') db 0x00, 0x00, 0x00, 0x00 ; minor_version(32) db 0x6D, 0x69, 0x66, 0x31 ;...
MOSI .equ low $80 SCLK .equ $40 MODE_REG .equ $00 IO_REG .equ $10 SPI_CS_REG .equ $f0 RAM_TOP .equ $e000 ROM_TOP .equ $10000 .aseg .org RAM_TOP jp bootstrap bootstrap: xor a out (MODE_REG),a ...
; A078484: G.f.: -x*(1-2*x+2*x^2)/(2*x^3-4*x^2+4*x-1). ; 0,1,2,6,18,52,148,420,1192,3384,9608,27280,77456,219920,624416,1772896,5033760,14292288,40579904,115217984,327136896,928835456,2637230208,7487852800,21260161280,60363694336,171389837824,486624896512,1381667623424,3922950583296,11138381632512,31625059443712,897926...