text stringlengths 1 1.05M |
|---|
; A123246: a(n) = PrimePi(n) + (-1)^(PrimePi(n) + 1) (cf. A000720).
; -1,2,1,1,4,4,3,3,3,3,6,6,5,5,5,5,8,8,7,7,7,7,10,10,10,10,10,10,9,9,12,12,12,12,12,12,11,11,11,11,14,14,13,13,13,13,16,16,16,16,16,16,15,15,15,15,15,15,18,18,17,17,17,17,17,17,20,20,20,20,19,19,22,22,22,22,22,22,21,21,21,21,24,24,24,24,24,24,23,23,23,... |
; A307295: If n is even, a(n) = A001950(n/2+1), otherwise a(n) = A001950((n-1)/2+1) + 1.
; 2,3,5,6,7,8,10,11,13,14,15,16,18,19,20,21,23,24,26,27,28,29,31,32,34,35,36,37,39,40,41,42,44,45,47,48,49,50,52,53,54,55,57,58,60,61,62,63,65,66,68,69,70,71,73,74,75,76,78,79,81,82,83,84,86,87,89,90,91,92,94,95,96,97,99,100,102,10... |
// Copyright (c) 2013-2014 The Bitcoin developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2019 The Black Bear Coin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "hash.h"
#include "crypto/... |
/*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/built_ins/sip.h"
#include "shared/source/command_stream/preemption.h"
#include "shared/source/device/device.h"
#include "shared/source/helpers/hw_helper.h"
#include "shared/source/memory_manager/graphics_a... |
ori $ra,$ra,0xf
lb $4,12($0)
mfhi $2
lui $1,48934
lb $4,7($0)
divu $4,$ra
divu $3,$ra
div $5,$ra
mult $3,$0
mthi $6
mflo $4
multu $1,$4
mfhi $4
divu $2,$ra
mtlo $6
mflo $6
mfhi $5
sb $0,13($0)
lui $4,10114
mthi $2
mfhi $5
mfhi $5
mult $6,$2
mtlo $6
divu $4,$ra
mult $1,$4
sll $4,$5,27
divu $4,$ra
addu $1,$1,$5
divu $4,$... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xebba, %r10
add $32800, %rsi
movups (%r10), %xmm5
vpextrq $1, %xmm5, %rcx
cmp %r15, %r15
lea addresses_normal_ht+0x11bba, %rbp
and $53407, %r12
mov $0x6162636465666768, %r15
... |
segment .text
align 4
f:
push ebp
mov ebp, esp
sub esp, 4
push dword 10
lea eax, [ebp+-4]
push eax
pop ecx
pop eax
mov [ecx], eax
lea eax, [ebp+8]
push eax
pop eax
push dword [eax]
call g
add esp, 4
push eax
add esp, 4
lea eax, [ebp+-4]
push eax
pop eax
push dword [eax]
pop eax
leave
ret
align 4... |
; A262334: Number of (n+3)X(2+3) 0..1 arrays with each row and column divisible by 9, read as a binary number with top and left being the most significant bits.
; 4,16,64,225,841,3249,12996,51984,207936,829921,3316041,13256881,53027524,212110096,848440384,3393645025,13574347081,54296922289,217187689156,868750756624,347... |
; A231678: a(n) = Sum_{i=0..n} digsum_7(i)^3, where digsum_7(i) = A053828(i).
; 0,1,9,36,100,225,441,442,450,477,541,666,882,1225,1233,1260,1324,1449,1665,2008,2520,2547,2611,2736,2952,3295,3807,4536,4600,4725,4941,5284,5796,6525,7525,7650,7866,8209,8721,9450,10450,11781,11997,12340,12852,13581,14581,15912,17640,17641,... |
#include <stdint.h>
#include "../test_util.h"
struct foo {
uint64_t a, b, c, d;
};
OPTNONE int main(void) {
void *p = new char;
struct foo *c = (struct foo *)p;
delete c;
return 0;
}
|
SFX_Cry1C_2_Ch1:
dutycycle 245
unknownsfx0x20 7, 214, 225, 7
unknownsfx0x20 6, 198, 226, 7
unknownsfx0x20 9, 214, 225, 7
unknownsfx0x20 7, 198, 224, 7
unknownsfx0x20 5, 182, 226, 7
unknownsfx0x20 7, 198, 225, 7
unknownsfx0x20 6, 182, 224, 7
unknownsfx0x20 8, 161, 223, 7
endchannel
SFX_Cry1C_2_Ch2:
dutycycl... |
#include "pch.h"
#include "Include/ComUtility/ComFactory.h"
#include "ComApartment.h"
#include <wrl.h>
using Microsoft::WRL::ComPtr;
struct ComFactory::impl
{
ComApartment m_apartment;
};
ComFactory::ComFactory()
: m_impl{std::make_unique<impl>()}
{
}
ComFactory::~ComFactory()
{
}
HRESULT ComFactory::Crea... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.5.0 #9253 (Jun 20 2015) (Linux)
; This file was generated Tue Oct 31 17:12:24 2017
;--------------------------------------------------------
.module main
.optsdcc -mz80
;------------------... |
#include <bits/stdc++.h>
using namespace std;
bool checkIfExist(vector<int>& arr){
for(int i=0;i<arr.size();++i){
for(int j=0;j<arr.size();++j){
if(i!=j && arr[i] == 2*arr[j]) return true;
}
}
return false;
}
int main(){
vector<int> v={10,2,5,3};
cout<<checkIfExist(v);
} |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2014-2019 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
; A076095: Initial terms of rows in A076099.
; 1,2,3,5,9,13,19,25,32,40,49,59,70,82,95,109,124,140,157,175,194,214,235,257,280,304,329,355,382,410,439,469,500,532,565,599,634,670,707,745,784,824,865,907,950,994,1039,1085,1132,1180,1229,1279,1330,1382
mov $1,$0
mov $3,$0
sub $0,2
add $1,$0
mov $4,3
trn $4,$0
sub $0,3
s... |
; L0211.asm
; Generated 10.20.2000 by mlevel
; Modified 10.20.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
FIRST_HOLE EQU 26
;---------------------------------------------------------------------
SECTION "Level0211Section",ROMX
;-----------------------------------------------------------... |
/**********************************************************************************
Copyright (C) 2012 Syed Reza Ali (www.syedrezaali.com)
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 wi... |
; A293552: a(n) is the least integer k such that k/Fibonacci(n) > 1/4.
; 0,1,1,1,1,2,2,4,6,9,14,23,36,59,95,153,247,400,646,1046,1692,2737,4428,7165,11592,18757,30349,49105,79453,128558,208010,336568,544578,881145,1425722,2306867,3732588,6039455,9772043,15811497,25583539,41395036,66978574,108373610,175352184,283725793,... |
#include <set>
#include <stdexcept>
#include <unordered_set>
#include <vector>
#include <arbor/arbexcept.hpp>
#include <arbor/cable_cell.hpp>
#include <arbor/math.hpp>
#include <arbor/morph/mcable_map.hpp>
#include <arbor/morph/mprovider.hpp>
#include <arbor/morph/morphology.hpp>
#include <arbor/util/optional.hpp>
#i... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
TITLE C:\Users\libit\source\repos\L019\L019\L019.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ___local_stdio_printf_options
PUBLIC __vfprintf_l
PUBLIC _printf
PUBLIC ?f_singed@@YAXHH@Z ... |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_l_sdcc
PUBLIC __mullong
EXTERN l_mulu_32_32x32
__mullong:
; multiply two 32-bit multiplicands into a 32-bit product
;
; enter : stack = multiplicand (32-bit), multiplicand (32-bit), ret
;
; exit : dehl = product
pop af
exx
po... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.9.1 #11310 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... |
GLOBAL read_keyboard
section .text
; -----------------------------------------------------------------------------
; Get the RAW data from the Keyboard.
; Return:
; -rax: the RAW data.
; -----------------------------------------------------------------------------
read_keyboard:
push rbp
mov rbp, rsp
in al,60h
... |
; A137228: Minimal total number of edges in a polyiamond consisting of n triangular cells.
; 3,5,7,9,11,12,14,16,18,19,21,23,24,26,28,29,31,33,34,36,38,39,41,42,44,46,47,49,51,52,54,55,57,59,60,62,63,65,67,68,70,71,73,75,76,78,79,81,83,84,86,87,89,90,92,94,95,97,98,100,102,103,105,106,108,109,111,113
mov $2,$0
mul $0,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x3ac3, %rsi
lea addresses_WT_ht+0xcb03, %rdi
clflush (%rdi)
nop
nop
nop
nop
and %r15, %r15
mov $88, %rcx
rep movsq
nop
nop
nop
nop
and %r13, %r13
lea addresses_WT_ht+0x1c7bd, %rsi
lea addresses_... |
#ifndef _C4_YML_EMIT_HPP_
#define _C4_YML_EMIT_HPP_
#ifndef _C4_YML_WRITER_HPP_
#include "./writer.hpp"
#endif
#ifndef _C4_YML_TREE_HPP_
#include "./tree.hpp"
#endif
#ifndef _C4_YML_NODE_HPP_
#include "./node.hpp"
#endif
namespace c4 {
namespace yml {
template<class Writer> class Emitter;
template<class OStream>
... |
// CodeGear C++Builder
// Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'AdStSapi.pas' rev: 32.00 (Windows)
#ifndef AdstsapiHPP
#define AdstsapiHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings of... |
Music_SilentTown:
musicheader 4, 1, Town073_Ch1
musicheader 1, 2, Town073_Ch2
musicheader 1, 3, Town073_Ch3
musicheader 1, 4, Town073_Ch4
; include group.def
;bank3d group G_MUSIC4
;
;; Town073
;
;; Converting on Mon Mar 1 06:42:16 1999
;
;; by ver 1.02
;
; public mustown17
;mustown17:
;----------------... |
.code
StrLen proc lpSrc:DWORD
mov edx,lpSrc
dec edx
xor al,al
@@:
inc edx
cmp al,[edx]
jne @b
mov eax,edx
sub eax,lpSrc
ret
StrLen endp
StrCpy proc uses esi edi,lpDst:DWORD,lpSrc:DWORD
mov esi,lpSrc
mov edi,lpDst
@@:
mov al,[esi]
mov [edi],al
inc esi
inc ed... |
Name: ys_exst.asm
Type: file
Size: 113758
Last-Modified: '2016-05-13T04:51:16Z'
SHA-1: 00F6F9AEEF36886797EE0D51405860065261CBE5
Description: null
|
; A267890: Decimal representation of the n-th iteration of the "Rule 239" elementary cellular automaton starting with a single ON (black) cell.
; 1,6,31,127,511,2047,8191,32767,131071,524287,2097151,8388607,33554431,134217727,536870911,2147483647,8589934591,34359738367,137438953471,549755813887,2199023255551,8796093022... |
; A063154: Dimension of the space of weight 2n cusp forms for Gamma_0( 86 ).
; 10,31,53,75,97,119,141,163,185,207,229,251,273,295,317,339,361,383,405,427,449,471,493,515,537,559,581,603,625,647,669,691,713,735,757,779,801,823,845,867,889,911,933,955,977,999,1021,1043
mul $0,22
trn $0,1
add $0,10
|
/*=============================================================================
NiftyLink: A software library to facilitate communication over OpenIGTLink.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty ... |
LETRA_1 EQU 041h ; DEFINE 1a. COLUNA COM A LETRA A
LETRA_8 EQU 048h ; DEFINE ULTIMA COLUNA COM LETRA H
NUMERO_1 EQU 31h
NUMERO_8 EQU 38h
org 100h
MOV SI, offset JOGADA ;MOVE O VETOR DE JOGADAS PARA A MEMORIA
;*******************INICIO**********************************
AGUARDA_LETRA:
MOV BL, LETRA_... |
;
; TRS-80 (EG2000+HT1080) specific routines
; by Stefano Bodrato, Fall 2015
;
; int get_psg(int reg);
;
; Get a PSG register.
;
;
; $Id: get_psg.asm,v 1.2 2016-06-10 21:13:58 dom Exp $
;
SECTION code_clib
PUBLIC get_psg
PUBLIC get_psg2
PUBLIC _get_psg
PUBLIC _get_psg2
get_psg:
_get_psg:
LD BC,31
OU... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x6c72, %r10
nop
dec %rbp
mov (%r10), %edi
nop
nop
nop
nop
and %r12, %r12
lea addresses_A_ht+0x1225e, %rsi
nop
nop
nop
nop
nop
cmp %rbx, %rbx
movl $0x61626364, (%rsi)
xor $6219... |
/**
* Copyright (C) 2017 MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be use... |
; A100021: Numbers of the form 3prime(n) - prime(n+1) - 3.
; Submitted by Jon Maiga
; 0,1,5,7,17,19,29,31,37,53,53,67,77,79,85,97,113,113,127,137,137,151,157,167,187,197,199,209,211,209,247,253,269,265,293,293,305,319,325,337,353,349,377,379,389,383,407,439,449,451,457,473,469,493,505,517,533,533,547,557,553,569,607,61... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1bbf9, %rsi
lea addresses_UC_ht+0x1b359, %rdi
nop
nop
nop
dec %rbx
mov $52, %rcx
rep movsw
nop
nop
add %rbp, %rbp
lea addresses_WC_ht+0x164ff, %rdx
nop
sub %r8, %r8
movw $0x6... |
#pragma once
namespace parsium {
namespace mckeeman {
template<typename T>
concept Name_ = true;
}}
|
// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
// Copyright Aleksey Gurtovoy 2000-2006
//
// 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)
//
// See http://www.boost.org/libs/mpl for docum... |
;
; LibInit.asm library stub to do local init for a Dynamic linked library
;
; NOTE!!!! link this MODULE first or you will be sorry!!!!
;
?PLM=1 ; pascal call convention
?WIN=0 ; Windows prolog/epilog code
?DF=1
PMODE=1
.286
.xlist
include cmacros.inc
include windows.inc
include sysinfo.inc
include ... |
.size 8000
.text@48
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 c, 41
ld b, 02
ld d, 03
lbegin_waitm2:
ldff a, (c)
and a, d
cmp a, b
jrnz lbegin_waitm2
ld a, 08
ldff(c), a
ld a, 02
ldff(ff), a
ei
ld ... |
* Find entry for a BASIC channel V0.4 1984 Tony Tebby QJUMP
*
section utils
*
xdef ut_chanv find vacant hole
xdef ut_chanf find or create #n
xdef ut_chanp preset channel entry at D4
*
xref ut_chget get channel
*
include dev8_sbsext_ext_keys
*
ut_chanv
moveq #ch.lench,d3
moveq #3,d6 start at channel #3... |
//=================================================================================================
/*!
// \file src/mathtest/dvecdvecmult/V6bVDb.cpp
// \brief Source file for the V6bVDb dense vector/dense vector multiplication math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This... |
;================================================================================
; Utility Functions
;================================================================================
!PROGRESSIVE_SHIELD = "$7EF416" ; ss-- ----
;--------------------------------------------------------------------------------
; GetSprit... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
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 push %ebp
b: 89 e5 ... |
; A022823: a(n) = [ (2n+1)/(n-1) ] + [ (2n+2)/(n-2) ] + ... + [ (3n-1)/1 ].
; 5,11,19,26,35,44,54,62,74,83,96,103,117,128,140,150,162,175,189,198,213,222,240,249,263,277,291,300,318,329,345,356,371,386,400,411,427,440,460,468,486,497,515,528,542,557,576,587,603,616,636
mov $4,2
mov $6,$0
lpb $4
add $0,1
sub $4,1
... |
;
;==================================================================================================
; SIMH RTC DRIVER
;==================================================================================================
;
SIMRTC_IO .EQU $FE ; SIMH IO PORT
SIMRTC_CLKREAD .EQU 7 ; READ CLOCK COMMAND
SIMRTC_CLKWRIT... |
Route16Gate1F_Script:
ld hl, wd732
res 5, [hl]
call EnableAutoTextBoxDrawing
ld a, [wRoute16Gate1FCurScript]
ld hl, Route16Gate1F_ScriptPointers
jp CallFunctionInTable
Route16Gate1F_ScriptPointers:
dw Route16GateScript0
dw Route16GateScript1
dw Route16GateScript2
dw Route16GateScript3
Route16GateScript0:
c... |
* Check separators V0.5 1984 Tony Tebby QJUMP
*
* check if parameter is preceded by a given separator
*
section utils
*
xdef ut_ckcomma
xdef ut_ckto
xdef ut_cksemi
xdef ut_cksep
*
include dev8_sbsext_ext_keys
include dev8_sbsext_ext_ex_defs... |
;
; jdsample.asm - upsampling (64-bit SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2009 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc... |
section .data
answers: times 26 dq 0
sum1: dq 0
sum2: dq 0
nl: db `\n`
section .bss
char1: resb 1
char2: resb 2
section .text
global _start
_start:
B_read_record:
xor r12, r12 ; Zero # of persons read for this record.
mov rcx, 26
L_zero:
mov rdx, rcx
... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xc79b, %rsi
lea addresses_A_ht+0x1559b, %rdi
xor $28861, %r10
mov $95, %rcx
rep movsw
nop
nop
nop
nop
xor $7429, %rdx
lea addresses_WC_ht+0x1489b, %rsi
lea addresses_A_ht+0x8... |
.include "defaults_mod.asm"
table_file_jp equ "exe4-utf8.tbl"
table_file_en equ "bn4-utf8.tbl"
game_code_len equ 3
game_code equ 0x4234574A // B4WJ
game_code_2 equ 0x42345745 // B4WE
game_code_3 equ 0x42345750 // B4WP
card_type equ 1
card_id equ 92
card_no equ "092"
card_sub equ "Mod Card 092"
card_sub_x ... |
.gba
.open "Clean\Boktai 1 (U).gba","Boktai 1 (U)(Hack).gba",0x08000000
.org 0x080000D4 // sunlight changer
.area 0xCC
ldr r0,=3004508h
ldr r0,[r0] // r0 = sunlight
bl 80123F0h // r0 = amount of bars
ldr r1,=3004450h
ldrh r2,[r1] // r2 = BUTTON_HELD
ldrh r1,[r1,2h] // r1 = BUTTON_DOWN
ldr r3,=101h
and r2,r3
cmp r2... |
.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_WT_ht+0x167e3, %r13
nop
add $50210, %rdi
movb $0x61, (%r13)
nop
nop
nop
nop
xor %r12, %r12
lea addresses_WT_ht+0x13dcd, %rsi
lea addresses_WT_ht+0x5943, %rdi
nop
nop
nop
xor %r9, %r9... |
; A183300: Positive integers not of the form 2n^2.
; 1,3,4,5,6,7,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,9... |
[bits 32]
global syscall_test
syscall_test:
mov eax, 0
int 0x80
ret |
/*
* Copyright (c) 2012 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 contribut... |
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="name"/>
<%docstring>
Invokes the syscall uname. See 'man 2 uname' for more information.
Arguments:
name(utsname): name
</%docstring>
${syscall('SYS_uname', name)}
|
; A140980: Number of (4,2)-noncrossing partitions of [n].
; Submitted by Jon Maiga
; 1,1,2,5,15,52,202,856,3868,18313,89711,450825,2310453
mov $7,2
lpb $7
sub $0,1
mov $6,$0
sub $7,2
mov $8,2
lpb $8
mov $0,$6
sub $0,1
mov $3,$6
mov $5,$0
sub $8,1
lpb $3
mov $0,$5
sub $3,1
... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/codepipeline/model/S3Location.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
names... |
;------------------------------------------------------------------------------
;*
;* Copyright 2006 - 2007, Intel Corporation
;* All rights reserved. This program and the accompanying materials
;* are licensed and made availab... |
; A169293: Number of reduced words of length n in Coxeter group on 40 generators S_i with relations (S_i)^2 = (S_i S_j)^29 = I.
; 1,40,1560,60840,2372760,92537640,3608967960,140749750440,5489240267160,214080370419240,8349134446350360,325616243407664040,12699033492898897560,495262306223057004840,19315229942699223188760
... |
ori $1, $0, 10
ori $2, $0, 9
ori $3, $0, 6
ori $4, $0, 11
sw $3, 0($0)
sw $3, 4($0)
sw $3, 8($0)
sw $2, 12($0)
sw $2, 16($0)
sw $3, 20($0)
sw $3, 24($0)
sw $4, 28($0)
sw $2, 32($0)
sw $1, 36($0)
sw $1, 40($0)
sw $2, 44($0)
sw $2, 48($0)
sw $3, 52($0)
sw $3, 56($0)
sw $4, 60($0)
sw $1, 64($0)
sw $2,... |
; A020735: Odd numbers >= 5.
; Submitted by Christian Krause
; 5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,129,131
mul $0,2
add $0,5
|
; A184524: Lower s-Wythoff sequence, where s=5n-1. Complement of A184525.
; 1,2,3,4,6,7,8,9,10,12,13,14,15,16,18,19,20,21,22,24,25,26,27,28,29,31,32,33,34,35,37,38,39,40,41,43,44,45,46,47,49,50,51,52,53,55,56,57,58,59,60,62,63,64,65,66,68,69,70,71,72,74,75,76,77,78,80,81,82,83,84,86,87,88,89,90,91,93,94,95,96,97,99,10... |
; A028289: Expansion of (1+x^2+x^3+x^5)/((1-x)(1-x^3)(1-x^4)(1-x^6)).
; 1,1,2,4,5,7,11,13,17,23,27,33,42,48,57,69,78,90,106,118,134,154,170,190,215,235,260,290,315,345,381,411,447,489,525,567,616,658,707,763,812,868,932,988,1052,1124,1188
add $0,2
lpb $0
mov $2,$0
trn $0,6
seq $2,7997 ; a(n) = ceiling((n-3)(n-4)... |
; A070653: a(n) = n^6 mod 30.
; 0,1,4,9,16,25,6,19,4,21,10,1,24,19,16,15,16,19,24,1,10,21,4,19,6,25,16,9,4,1,0,1,4,9,16,25,6,19,4,21,10,1,24,19,16,15,16,19,24,1,10,21,4,19,6,25,16,9,4,1,0,1,4,9,16,25,6,19,4,21,10,1,24,19,16,15,16,19,24,1
pow $0,2
mod $0,30
|
; A155120: a(n) = 2*(n^3 + n^2 + n - 1).
; -2,4,26,76,166,308,514,796,1166,1636,2218,2924,3766,4756,5906,7228,8734,10436,12346,14476,16838,19444,22306,25436,28846,32548,36554,40876,45526,50516,55858,61564,67646,74116,80986,88268,95974,104116,112706,121756,131278,141284,151786,162796,174326,186388,198994,212156,225886,2... |
; A198396: a(n) = 6^n-6*n.
; 1,0,24,198,1272,7746,46620,279894,1679568,10077642,60466116,362796990,2176782264,13060693938,78364164012,470184984486,2821109907360,16926659444634,101559956668308,609359740010382,3656158440062856,21936950640377730,131621703842267004,789730223053602678,4738381338321616752,2843028802992970122... |
// valr_utils.cpp
//
// Copyright (C) 2018 Jay Hesselberth and Kent Riemondy
//
// This file is part of valr.
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
#include "valr.h"
// reuse of r-lib/vctrs approach for setting levels
void init_fac... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
; A224338: Number of idempotent 7 X 7 0..n matrices of rank 6.
; Submitted by Christian Krause
; 889,10199,57337,218743,653177,1647079,3670009,7440167,13999993,24801847,41803769,67575319,105413497,159468743,234881017,337925959,476171129,658642327,895999993,1200725687,1587318649,2072502439,2675441657,3417968743,43248208... |
// Copyright Daniel Wallin, David Abrahams 2005.
// Copyright Cromwell D. Enage 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef ARG_LIST_050329_HPP
#define ARG_LIST_050329_HPP
namespace boost { na... |
ORG $2000
ORCC #$50
LDX #$6000 ; 3 clocks
LDB #$02 ; 2 clocks
LOAD_LOOP BITB $FD07
BEQ LOAD_LOOP
LDA $FD06
STA ,X+
CMPX #$6100
BNE LOAD_LOOP
RTS
END_OF_PROGRAM
; Usage:
; FM-7 to FM77AV1/2
; Just type in and,
; OPEN "I",#1... |
print:
__code64:
; save 32 bit registers
mov r14d, edi
mov r15d, esi
; Fix alignment
mov r12, rsp
and rsp, -16
sub rsp, 8 ; if odd number of args on the stack
nop
; Fix registers:
; If paramteers are 64 bit, just pop them
mov rdi, [r12 + 4]
mov rsi, [r12 + 12]
mov rdx, [r12 + 20]
mov rcx, [r12 + 28]
mov r8, [r12 + ... |
; A289098: Decimal representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 545", based on the 5-celled von Neumann neighborhood.
; 1,2,7,14,29,62,125,254,509,1022,2045,4094,8189,16382,32765,65534,131069,262142,524285,1048574,209... |
-off 0xFFFC0000
-entry start
start:
mv mri, interrupt_table
mv orl, mrf
mv orr, 2
mv mrf, bro
mv mre, 0x80000000
mv mrp, mrp
interrupt_table:
x31 dd 0
dd interface_interrupt_handler
interface_interrupt_handler:
mv prs, prb
mv orl, prs
mv orr, 4
mv mrp, d ars
|
//===-- BPFInstrInfo.cpp - BPF Instruction Information ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
MODULE generic_console_ioctl
PUBLIC generic_console_ioctl
SECTION code_clib
INCLUDE "ioctl.def"
EXTERN generic_console_font32
EXTERN generic_console_udg32
PUBLIC CLIB_GENCON_CAPS
defc CLIB_GENCON_CAPS = CAP_GENCON_FG_COLOUR | CAP_GENCON_BG_COLOUR | CAP_GENCON_INVERSE | CAP_GENCON_CUSTOM_FO... |
include "loadersymbols.inc"
;ORG openfile - 2 ; incbin funktioniert nicht richtig :(
;incbin "loader.prg"
ORG openfile
incbin "loader.pr2"
diskio_status_OK EQU 00
load SUBROUTINE
;jsr openfile
jmp load2
loadNormal
bcc .pollblock
rts
.pollblock
jsr pollblock
bcc .pollblock
sta .restorea + 1
lda end... |
#pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemAmmo_CannonBall_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------------... |
#pragma once
#include "lue/hdf5/link.hpp"
namespace lue {
namespace hdf5 {
class SoftLink:
public Link
{
public:
SoftLink (Group& group,
std::string const& name);
SoftLink (Group const&)=delete;
... |
/*
Plugin-SDK (Grand Theft Auto) SHARED source file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "CompressedVector2D.h"
#include "CompressedVector.h"
#include "RenderWare.h"
#include "CVector2... |
; A201461: Triangle read by rows: n-th row (n>=0) gives coefficients of the polynomial ((x+1)^(2^n) + (x-1)^(2^n))/2.
; Submitted by Jon Maiga
; 1,1,1,1,6,1,1,28,70,28,1,1,120,1820,8008,12870,8008,1820,120,1,1,496,35960,906192,10518300,64512240,225792840,471435600,601080390,471435600,225792840,64512240,10518300,906192,... |
; A255463: a(n) = 3*4^n-2*3^n.
; 1,6,30,138,606,2586,10830,44778,183486,747066,3027630,12228618,49268766,198137946,795740430,3192527658,12798808446,51281327226,205383589230,822309197898,3291561314526,13173218826906,52713796014030,210917946175338,843860071059006,3376005143308986,13505715150454830
mov $2,$0
mov $0,1
mov... |
; A040830: Continued fraction for sqrt(860).
; Submitted by Jamie Morken(s4)
; 29,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14,3,58,3,14
gcd $0,262156
mul $0,42
mod $0,13
mul $0,2
mov $1,$0... |
/*
Copyright 2018 Adobe
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in
accordance with the terms of the Adobe license agreement accompanying
it. If you have received this file from a source other than Adobe,
then your use, modification, or distribution of it requires the pri... |
Name: zel_bms1.asm
Type: file
Size: 119023
Last-Modified: '2016-05-13T04:22:15Z'
SHA-1: 4583F3DA866A985B310291C95C986D07445DFF5D
Description: null
|
; A108035: Triangle read by rows: n-th row is n-th nonzero Fibonacci number repeated n times.
; 1,2,2,3,3,3,5,5,5,5,8,8,8,8,8,13,13,13,13,13,13,21,21,21,21,21,21,21,34,34,34,34,34,34,34,34,55,55,55,55,55,55,55,55,55,89,89,89,89,89,89,89,89,89,89,144,144,144,144,144,144,144,144,144,144,144,233,233,233,233,233,233,233,23... |
; A264754: Expansion of (1 + 2*x - 2*x^3 + x^4)/((1 - x)^3*(1 + x)^2).
; 1,3,5,7,11,13,19,21,29,31,41,43,55,57,71,73,89,91,109,111,131,133,155,157,181,183,209,211,239,241,271,273,305,307,341,343,379,381,419,421,461,463,505,507,551,553,599,601,649,651,701,703,755,757,811,813,869,871,929,931,991,993,1055,1057,1121,1123,1... |
; A173142: a(n) = n^n - (n-1)^(n-1) - (n-2)^(n-2) - ... - 1.
; Submitted by Christian Krause
; 1,3,22,224,2837,43243,773474,15903604,369769661,9594928683,274906599294,8620383706328,293663289402069,10799919901775579,426469796631518922,17997426089579351788,808344199828497012733,38500271751352361059803,1938227111261072875... |
; A304838: a(n) = 1944*n^2 - 5016*n + 3138 (n >= 1).
; 66,882,5586,14178,26658,43026,63282,87426,115458,147378,183186,222882,266466,313938,365298,420546,479682,542706,609618,680418,755106,833682,916146,1002498,1092738,1186866,1284882,1386786,1492578,1602258,1715826,1833282,1954626,2079858,2208978,2341986,2478882,261966... |
dnl Intel P6 mpn_divexact_by3 -- mpn division by 3, expecting no remainder.
dnl Copyright 2000, 2002 Free Software Foundation, Inc.
dnl
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
dnl modify it under the terms of the GNU Lesser General P... |
/**
* This file includes testfuncitons, which should test weather the Interface is
* implemented correctly. Every interface has one function, where an interface
* can be testet. Make sure to pass correct initialized interfaces, cause empty
* interfaces can not be tested very well.
*/
#ifndef INTERFACE_TEST_METHOD... |
BITS 64
;-- RDI points to the CPU state structure (loaded on routine entry)
;-- RSI points to the Z80 memory block (loaded on routine entry)
;-- AL contains the value of the accumulator (written back after the routine completes)
struc cpu_state_struct
.ProgramCounter resd 1
.StackPointer res... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.