text stringlengths 1 1.05M |
|---|
; A081136: 6th binomial transform of (0,0,1,0,0,0,........).
; 0,0,1,18,216,2160,19440,163296,1306368,10077696,75582720,554273280,3990767616,28298170368,198087192576,1371372871680,9403699691520,63945157902336,431629815840768,2894458765049856,19296391766999040
mov $1,6
pow $1,$0
bin $0,2
mul $1,$0
div $1,36
|
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF|FLAG_SF|FLAG_ZF|FLAG_AF|FLAG_PF|FLAG_CF
;TEST_FILE_META_END
; allocate 16 byte aligned stack space for the packed values
lea ecx, [esp-17]
and ecx, 0xfffffff0
; load 128 bit value into xmm0
mov DWORD [ecx], 0x12345678
mov DWORD [ecx+4], 0x5... |
/**
* \file dnn/src/naive/conv_bias/opr_impl.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
... |
; A100617: There are n people in a room. The first half (i.e., floor(n/2)) of them leave, then 1/3 (i.e., floor of 1/3) of those remaining leave, then 1/4, then 1/5, etc.; sequence gives number who remain at the end.
; 1,1,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8... |
#include "types/triangle.hpp"
#include <iostream>
#include <sstream>
#include <cassert>
#include <cstdlib>
#include "types/slim_ray.hpp"
#include "types/local_geometry.hpp"
#include "types/vertex.hpp"
using std::string;
using std::stringstream;
using std::endl;
using std::vector;
using glm::vec2;
using glm::vec3;
us... |
; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
/**
* Copyright 2019-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 applicabl... |
#include "RenderStates.h"
#include "DXOthers/d3dUtil.h"
#include "DXOthers/DXTrace.h"
using namespace Microsoft::WRL;
ComPtr<ID3D11RasterizerState> RenderStates::RSNoCull = nullptr;
ComPtr<ID3D11RasterizerState> RenderStates::RSWireframe = nullptr;
ComPtr<ID3D11RasterizerState> RenderStates::RSCullClockWise = nullptr;... |
SECTION code_fp_math48
PUBLIC _fabs_fastcall
EXTERN cm48_sdccix_fabs_fastcall
defc _fabs_fastcall = cm48_sdccix_fabs_fastcall
|
.intel_syntax noprefix
.data
.bss
.text
.extern puts
.extern printf
.extern exit
.extern fflush
.extern input_int
.extern print_int
.global main
main:
push rbp
mov rbp, rsp
sub rsp, 48
mov DWORD PTR [rbp-8], 10
mov DWORD PTR [rbp-12], 5
mov eax, [rbp-8]
add eax, [rbp-12]
mov DWORD PTR[rbp-16], e... |
-- HUMAN RESOURCE MACHINE PROGRAM --
-- in1 / in2, ... -> out
JUMP b
a:
COPYFROM 4
OUTBOX
b:
COPYFROM 9
COPYTO 4
INBOX
COPYTO 0
INBOX
COPYTO 2
c:
COPYFROM 0
SUB 2
JUMPN a
COPYTO 0
BUMPUP 4
JUMP c
|
/* Copyright 2017 The TensorFlow 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 a... |
; A116757: Number of permutations of length n which avoid the patterns 1324, 2314, 4312.
; 1,2,6,21,73,238,724,2075,5667,14892,37942,94273,229453,548954,1294440,3014775,6946951,15859864,35913898,80740541,180355281,400556262,884998396,1946157331,4261413163,9294577988,20199768414,43754979705,94489280917,203474076082,4370... |
/*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2022, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following conditions... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2020 The PIVX developers
// Copyright (c) 2021 The Hempy Coin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licen... |
; A334039: For any n > 0: start with x = n; for k = 1..n, if k divides x then divide x by k; a(n) corresponds to the final value of x.
; 1,1,1,2,1,1,1,1,3,1,1,2,1,1,1,2,1,3,1,2,1,1,1,1,5,1,1,2,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,2,3,1,1,2,7,5,1,2,1,1,1,1,1,1,1,2,1,1,3,1,1,1,1,2,1,1,1,3,1,1,5,2,1,1,1,2,3,1,1,2,1,1,1,1,1,3,1,2... |
0 PUSH 1
1 PUSH 10
2 DUP
3 PUSH 1
4 LT
5 PUSH 45
6 JMPZ
7 DUP
8 PUSH 2
9 LT
10 PUSH 46
11 JMPZ
12 PUSH 2
13 ROT 2
14 DUP
15 PUSH 3
16 LT
17 PUSH 38
18 JMPZ
19 ROT 2
20 POP 1
21 DUP
22 PUSH 1
23 ROT 2
24 SUB
25 DUP
26 PUSH 1
27 ROT 2
28 SUB
29 ROT 3
30 MUL
31 ROT 2
32 DUP
33 PUSH 2
34 GT
35 PUSH 21
36 JMPZ
37 POP 1
38 M... |
.size 8000
.text@50
jp ltimaint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
xor a, a
ldff(0f), a
ldff(ff), a
ld a, f0
ldff(05), a
ldff(06), a
ld a, 04
ldff(ff), a
ld a, 05
ldff(07), a
ei
nop
halt
.text@1000
ltimaint:
nop
.text@1025
ld c, 05
ld a, 01
ldff(07), a
ldff a, (c)
.text@104a
... |
; A247018: Numbers of the form 3*z^2 + z + 3 for some integer z.
; 3,5,7,13,17,27,33,47,55,73,83,105,117,143,157,187,203,237,255,293,313,355,377,423,447,497,523,577,605,663,693,755,787,853,887,957,993,1067,1105,1183,1223,1305,1347,1433,1477,1567,1613,1707,1755,1853,1903,2005,2057,2163,2217,2327,2383,2497,2555,2673,2733... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2011 Couchbase, 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
*
* h... |
//
// GatherGrad.cpp
// MNN
//
// Created by MNN on 2021/02/20.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "OpGrad.hpp"
using namespace std;
using namespace MNN;
using namespace MNN::Express;
class GatherGrad : public OpGrad {
public:
virtual std::vector<Express::VARP> onGrad(Express::EXP... |
#ifndef C4_EXPORT_HPP_
#define C4_EXPORT_HPP_
#ifdef _WIN32
#ifdef C4CORE_SHARED
#ifdef C4CORE_EXPORTS
#define C4CORE_EXPORT __declspec(dllexport)
#else
#define C4CORE_EXPORT __declspec(dllimport)
#endif
#else
#define C4CORE_EXPORT
#endif
#else
#d... |
namespace YY
{
namespace Thunks
{
#if (YY_Thunks_Support_Version < NTDDI_WINXPSP2)
//Windows Vista, Windows XP Professional x64 Edition, Windows XP with SP2, Windows Server 2003
__DEFINE_THUNK(
kernel32,
8,
BOOL,
WINAPI,
GetNumaNodeProcessorMask,
_In_ UCHAR Node,
_Out_ PULONGLONG ProcessorMa... |
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it)
; *
; * Licens... |
; A020840: Decimal expansion of 1/sqrt(83).
; Submitted by Jamie Morken(s1)
; 1,0,9,7,6,4,2,5,9,9,8,9,6,9,0,3,4,7,9,7,5,2,4,8,5,0,7,2,8,5,4,0,5,6,5,2,8,9,2,7,6,0,7,1,2,8,7,0,6,6,2,1,1,8,7,0,4,7,8,2,3,9,1,1,4,5,3,7,3,7,4,9,3,2,8,7,1,5,7,3,0,9,1,0,6,6,6,7,6,4,5,8,9,5,0,8,1,5,9,5
mov $1,1
mov $2,1
mov $3,$0
add $3,6
mov ... |
/*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>pwritev(fd, iovec, count, offset) -> str
Invokes the syscall pwritev.
See 'man 2 pwritev' for more information.
Arguments:
fd(int): fd
iovec(iovec*): iovec
count(int): count
offset(off_t): offset
R... |
MODULE esx_fdtell
SECTION code_esxdos
PUBLIC fdtell
PUBLIC _fdtell
EXTERN asm_esxdos_f_fgetpos
;long fdtell(int fd)
.fdtell
._fdtell
pop bc ;ret
pop hl ;fd
push hl
push bc
push ix ;callers
call asm_esxdos_f_fgetpos
pop ix
ret nc
ld hl,65535
ld d,h
ld ... |
# $Id: 12_inc_r0.asm,v 1.2 2001/03/22 00:39:04 ellard Exp $
#
# Copyright 1999-2000 by the President and Fellows of Harvard College.
# See LICENSE.txt for license information.
#
#@ Testing inc for r0.
# OK
inc r0, 1
hlt
|
TITLE UNEXE2 - Copyright (c) SLR Systems 1994
INCLUDE MACROS
PUBLIC EXEUNPACK,EXEPACK_PARAS,PACK_LEN,START_ADR,INITIAL_COUNT,EXEUNPACK_START
PUBLIC STACK_ADR
.DATA
EXEUNPACK_START LABEL BYTE
EXEUNPACK EQU ($+2)
INCLUDE UNEXE.DAT
STACK_ADR DD ?
START_ADR DD ?
EXEPACK_PARAS DW ?
INITIAL_COUNT DW ?
P... |
// Copyright 2017 Jonny Graham, David Conran
#include "ir_Fujitsu.h"
#include <algorithm>
#ifndef ARDUINO
#include <string>
#endif
#include "IRsend.h"
#include "IRutils.h"
// Fujitsu A/C support added by Jonny Graham & David Conran
// Equipment it seems compatible with:
// * Fujitsu ASYG30LFCA with remote AR-RAH2E
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x187f3, %rbp
inc %rdi
movups (%rbp), %xmm3
vpextrq $1, %xmm3, %r14
xor %rbx, %rbx
lea addresses_WT_ht+0x128b3, %rsi
lea addresses_WC_ht+0xa6f3, %rdi
nop
nop
nop
nop
nop
add %r... |
; Stack
stk segment
dw 64 dup(?)
stk ends
; Data
dts segment
max db 80 ; maximum number of characters than can be entered
len db ? ; the actual number of entered characters
string db 80 dup(?)
msg db 'please enter up to 80 characters', 0ah, 0dh, '$' ; 0dh = \r - 0ah = \n
dts ends
... |
segment .bss
align 4
x:
resb 4
segment .text
align 4
global _main:function
_main:
align 4
xpl:
push ebp
mov ebp, esp
sub esp, 4
push dword 0
lea eax, [ebp+-4]
push eax
pop ecx
pop eax
mov [ecx], eax
push dword 9
call printi
add esp, 4
push dword 1
push dword [esp]
push dword $x
pop ecx
pop eax
mov [e... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x11c9d, %r11
clflush (%r11)
nop
nop
nop
nop
add $14730, %r15
mov $0x6162636465666768, %rax
movq %rax, (%r11)
nop
nop
nop
sub %rbp, %rbp
lea addresses_norm... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x18f1e, %rdx
and %r13, %r13
mov $0x6162636465666768, %r9
movq %r9, (%rdx)
nop
nop
nop
nop
cmp %r12, %r12
lea addresses_normal_ht+0x1435b, %r11
dec %r14
mov ... |
; A084060: a(n) = 1/2 + (1-6*n)*(-1)^n/2.
; Submitted by Jamie Morken(s1.)
; 1,3,-5,9,-11,15,-17,21,-23,27,-29,33,-35,39,-41,45,-47,51,-53,57,-59,63,-65,69,-71,75,-77,81,-83,87,-89,93,-95,99,-101,105,-107,111,-113,117,-119,123,-125,129,-131,135,-137,141,-143,147,-149,153,-155,159,-161,165,-167,171,-173,177,-179,183,-18... |
; A204674: a(n) = 4*n^3 + 5*n^2 + 2*n + 1.
; 1,12,57,160,345,636,1057,1632,2385,3340,4521,5952,7657,9660,11985,14656,17697,21132,24985,29280,34041,39292,45057,51360,58225,65676,73737,82432,91785,101820,112561,124032,136257,149260,163065,177696,193177,209532,226785,244960,264081,284172,305257,327360,350505,374716,400017... |
_CeladonHouseText1::
text "Hehehe! The slots"
line "just reel in the"
cont "dough, big time!"
done
_CeladonHouseText2::
text "CHIEF!"
para "We just shipped"
line "2000 #MON as"
cont "slot prizes!"
done
_CeladonHouseText3::
text "Don't touch the"
line "poster at the"
cont "GAME CORNER!..."
para "But the... |
#include "binder.h"
|
SFX_Get_Item2_3_Ch5:
execute_music
tempo 256
volume 7, 7
duty_cycle 2
toggle_perfect_pitch
note_type 5, 11, 4
octave 4
note D_, 4
note C_, 4
octave 3
note A_, 8
note_type 5, 11, 2
octave 4
note D#, 2
note D#, 2
note D_, 2
note C_, 2
note C_, 2
octave 3
note A#, 2
note_type 5, 11, 4
octave 4
note ... |
;!to "tiny.o", cbm ; set output file and format -- G64 piggy-backs on C64
*= $1000 ; set program counter
lda #$00
sta $0004
lda #$C0
sta $0005
ldy #0
ldx #0
beq +
- sta ($04), y
iny
inx
+ lda .string,x
bne -
rts
.string !text "Hello world!", 0 |
; A017536: (12n+1)^4.
; 1,28561,390625,1874161,5764801,13845841,28398241,52200625,88529281,141158161,214358881,312900721,442050625,607573201,815730721,1073283121,1387488001,1766100625,2217373921
mul $0,12
add $0,1
pow $0,4
|
; A037597: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,0.
; 1,7,28,113,455,1820,7281,29127,116508,466033,1864135,7456540,29826161,119304647,477218588,1908874353,7635497415,30541989660,122167958641,488671834567,1954687338268,7818749353073,31274997412295,125099989649180... |
.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 a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 0c
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... |
; A015515: a(1)=1, a(n) = sum_{k=1}^{k=n-1} (12^k-1)/11 a(k).
; Submitted by Christian Krause
; 1,1,14,2212,4171832,94375183504,25618521062894816,83450744014073963641408,3262026661649164626974053098368,1530121919008888925087797696409496422656,8612828743790947623482719127044813092555596516864
lpb $0
lpb $0
mov $0... |
; A061548: Numerator of probability that there is no error when average of n numbers is computed, assuming errors of +1, -1 are possible and they each occur with p = 1/4.
; 1,3,35,231,6435,46189,676039,5014575,300540195,2268783825,34461632205,263012370465,8061900920775,61989816618513,956086325095055,7391536347803839,91... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel Library
FILE: graphicsTransformUtils.asm
AUTHOR: Jim DeFrisco, 9 August 1989
ROUTINES:
Name Description
---- -----------
ComposeFu... |
; A024065: a(n) = 6^n - n^3.
; 1,5,28,189,1232,7651,46440,279593,1679104,10076967,60465176,362795725,2176780608,13060691819,78364161352,470184981201,2821109903360,16926659439823,101559956662584,609359740003637,3656158440054976,21936950640368595,131621703842256488,789730223053590649,4738381338321603072,28430288029929685... |
db VENONAT ; pokedex id
db 60 ; base hp
db 55 ; base attack
db 50 ; base defense
db 45 ; base speed
db 40 ; base special
db BUG ; species type 1
db POISON ; species type 2
db 190 ; catch rate
db 75 ; base exp yield
INCBIN "pic/gsmon/venonat.pic",0,1 ; 55, sprite dimensions
dw VenonatPicFront
dw VenonatPicBack
; attacks... |
; A014257: Product of digits of 2^n.
; 1,2,4,8,6,6,24,16,60,10,0,0,0,144,576,2016,2700,0,384,5120,0,0,0,0,24696,21600,0,18816,691200,0,0,1032192,11757312,27993600,6096384,39191040,64012032,15240960,0,387072000,0,0,0,0,0,0,0,0,0,125971200,0,4180377600,0,0,0
mov $3,$0
mov $0,2
pow $0,$3
mov $1,1
lpb $0
mov $2,$0
div... |
#include <iostream>
#include <string>
#include <vector>
using namespace std;
vector <string> Census;
void Census2017() {
/*
* Add yourself using the following format:
* Census.push_back("Your Name @ https://github.com/username");
*/
Census.push_back("Allen Comp Sci @ https://github.com/AllenCompS... |
#include "stdafx.h"
#include "floatcosanglespinbox.h"
#include <cmath>
FloatCosAngleSpinBox::FloatCosAngleSpinBox(float* valueRef,QWidget *parent)
: QDoubleSpinBox(parent), m_valueRef(valueRef)
{
connect(
this, qOverload<double>(&QDoubleSpinBox::valueChanged),
this, &FloatCosAngleSpinBox::OnVal... |
.MODEL small
;*************************************************
; Filename: hpscan16.asm
; Purpose: Stub DOS Device Driver. Pass device
; "HPSCAN" requests to the VDD, hpscan32.dll.
; Environment: MSDOS, Windows NT.
; (C) Hewlett-Packard Company 1993.
;*************************************************
INCLU... |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
.data
#DEDOMENA GIA EMAFNISI ENOS DOUBLE ARITHMOU
number3: .double 99.99
doubleMessage: .asciiz "EMFANISTHKE ENAS DOUBLE ARITHMOS\n"
#DEDOMENA GIA PROSTHESI DYO DOUBLE ARITHMWN
add3: .double 100.100
adddouble: .asciiz "EGINE PROSTHESI DYO double ARITHMWN\n"
adddoublet: .asciiz "APOTELESMA: "
#DEDOMENA GIA AFAIRESH ... |
; A228661: Number of 2Xn binary arrays with top left value 1 and no two ones adjacent horizontally, diagonally or antidiagonally.
; 2,2,8,14,38,80,194,434,1016,2318,5366,12320,28418,65378,150632,346766,798662,1838960,4234946,9751826,22456664,51712142,119082134,274218560,631464962,1454120642,3348515528,7710877454,177564... |
;-----------------------------------------------
; VIteen OS v1.0 by Cedric Fauth
;-----------------------------------------------
; setting up directives for nasm
bits 16 ; only 16 bit support
org 0x0000 ; base adress in memory
jmp 0x7c0:entry ; far jump to entry (0x7c0 * 0x10 + entry)
; ... 0... |
%include "io.inc"
%define MAX_INPUT_SIZE 4096
section .bss
expr: resb MAX_INPUT_SIZE
section .text
global CMAIN
number_construction: ; se parseaza stringul citit cat timp contine cifre
push ebp
lea ebp, [esp] ; se construieste un nou numar
xor edx, edx ; dl va contine fiecare caracter
... |
; A017093: a(n) = (8*n + 2)^5.
; 32,100000,1889568,11881376,45435424,130691232,312500000,656356768,1252332576,2219006624,3707398432,5904900000,9039207968,13382255776,19254145824,27027081632,37129300000,50049003168,66338290976,86617093024,111577100832,141985700000,178689902368,222620278176,274794888224,336323216032,4084... |
; A078632: Number of geometric subsequences of [1,...,n] with integral successive-term ratio and length > 1.
; 0,1,2,5,6,9,10,15,18,21,22,28,29,32,35,43,44,50,51,57,60,63,64,73,76,79,84,90,91,98,99,109,112,115,118,129,130,133,136,145,146,153,154,160,166,169,170,183,186,192,195,201,202,211,214,223,226,229,230,242
lpb $... |
object_const_def ; object_event constants
const ROWANSLAB_ROWAN
const ROWANSLAB_DAWNLUCAS
RowansLab_MapScripts:
db 2 ; scene scripts
scene_script .Scene0 ; SCENE_DEFAULT
scene_script .Dummy ; SCENE_FINISHED
db 0 ; callbacks
.Scene0:
sdefer .FirstVisitScript
.Dummy:
end
.FirstVisitScript:
applymovement RO... |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
//
// Utility class to print StrawHit
//
#ifndef Print_inc_StrawHitPrinter_hh
#define Print_inc_StrawHitPrinter_hh
#include <cstring>
#include <iostream>
#include "Offline/Print/inc/ProductPrinter.hh"
#include "Offline/RecoDataProducts/inc/StrawHit.hh"
#include "art/Framework/Principal/Handle.h"
#include "canvas/Pe... |
; A266464: Number of n X 2 binary arrays with rows and columns lexicographically nondecreasing and column sums nonincreasing.
; 2,4,7,12,19,29,42,59,80,106,137,174,217,267,324,389,462,544,635,736,847,969,1102,1247,1404,1574,1757,1954,2165,2391,2632,2889,3162,3452,3759,4084,4427,4789,5170,5571,5992,6434,6897,7382,7889,8... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xa0c3, %rsi
lea addresses_UC_ht+0x1bd13, %rdi
nop
nop
add $42032, %r15
mov $36, %rcx
rep movsw
nop
lfence
lea addresses_WC_ht+0x1df13, %rsi
lea addresses_D_ht+0xb953, %rd... |
\ --- funcs_VIAA.asm
\ ------------------------------------------------------------------------------
\ --- DELAY
\ ------------------------------------------------------------------------------
\ General-purpose delay function.
\ ON ENTRY: Assumes a 16-bit value in VIAA_TIMER_INTVL. This number should be
\ ... |
.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 17
card_no equ "017"
card_sub equ "Mod Card 017"
card_sub_x ... |
// Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/assert.hpp>
#include <boost/hana/equal.hpp>
#include <boost/hana/ext/std/integer_sequence.hpp>
#include <boost/... |
; BEGIN_LEGAL
; Intel Open Source License
;
; Copyright (c) 2002-2017 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 source code must retain the ab... |
; A294085: a(n) is the number of self-symmetric anonymous and neutral equivalence classes of preference profiles with 3 alternatives and n agents (IANC model).
; Submitted by Jon Maiga
; 1,1,3,4,8,10,17,20,30,35,49,56,75,84,108,120,150,165,202,220,264,286,338,364,425,455,525,560,640,680,771,816,918,969,1083,1140,1267,1... |
//------------------------------------------------------------------------------
//
// Copyright (c) 2008 - 2009, Apple Inc. 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 distribut... |
#include "config.h"
#include <string.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef RBX_WINDOWS
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#endif
#include "windows_compat.h"... |
Map_3DC74: dc.w word_3DC7C-Map_3DC74
dc.w word_3DC84-Map_3DC74
dc.w word_3DC8C-Map_3DC74
dc.w word_3DC94-Map_3DC74
word_3DC7C: dc.w 1
dc.b $FC, 4, 0, 1, $FF, $F8
word_3DC84: dc.w 1
dc.b $FC, 4, 0, 3, $FF, $F8
word_3DC8C: dc.w 1
dc.b $FC, 4, 8, 1, $FF, $F8
word_3DC94: dc.w 1 ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x736e, %rcx
nop
nop
nop
nop
nop
xor $25841, %rax
mov $0x6162636465666768, %r13
movq %r13, %xmm5
vmovups %ymm5, (%rcx)
nop
nop
nop
xor $9844, %r11
lea addresses_UC_ht+0x9bee, %rsi
l... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: prefbgChooseList.asm
AUTHOR: Chris Boyke
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- --... |
; A184903: n+floor(nr/t)+floor(ns/t), where r=(1+sqrt(5))/2, s=r+1, t=r+2.
; 1,3,6,7,10,12,15,16,19,21,22,25,27,30,31,34,36,39,40,42,45,46,49,51,54,55,58,60,61,64,66,69,70,73,75,78,79,81,84,85,88,90,93,94,97,99,102,103,105,108,109,112,114,117,118,121,123,124,127,129,132,133
mov $2,$0
add $0,1
seq $0,188190 ; Positions... |
#include <memory>
#include "L1Trigger/CSCTriggerPrimitives/interface/CSCUpgradeMotherboard.h"
CSCUpgradeMotherboard::CSCUpgradeMotherboard(unsigned endcap,
unsigned station,
unsigned sector,
... |
#import <TargetConditionals.h> // Modified by PostBuild.cs
#if !TARGET_OS_SIMULATOR // Modified by PostBuild.cs
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <ass... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xed83, %r10
nop
nop
nop
and $39406, %rbx
mov $0x6162636465666768, %r13
movq %r13, (%r10)
cmp %r14, %r14
lea addresses_WT_ht+0x162cd, %rsi
lea addresses_normal_ht+0x9d83, ... |
; A025781: Expansion of 1/((1-x)(1-x^5)(1-x^12)).
; 1,1,1,1,1,2,2,2,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8,9,10,10,11,11,12,13,13,14,14,15,16,17,18,18,19,20,21,22,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,40,41,42
add $0,6
mov $2,6
mov $3,6
lpb $0
add $0,1
lpb $2
add $1,4
trn $2,12
lpe
trn $0,$3
ad... |
; A027138: a(n) = Sum_{k=0..2n} (k+1) * A027113(n, 2n-k).
; 1,7,26,85,264,803,2422,7281,21860,65599,196818,590477,1771456,5314395,15943214,47829673,143489052,430467191,1291401610,3874204869,11622614648,34867843987,104603532006,313810596065,941431788244,2824295364783,8472886094402,25418658283261,76255974849840,228767924... |
;; NOTE: To allow the use of this file for both ARMv6M and ARMv7M,
;; we will only use 16-bit Thumb intructions.
.extern _lc_ub_stack ; usr/sys mode stack pointer
.extern _lc_ue_stack ; symbol required by debugger
.extern _lc_ub_table ; ROM to R... |
// Created on: 2000-09-07
// Created by: TURIN Anatoliy <ati@nnov.matra-dtv.fr>
// Copyright (c) 2000-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Pub... |
; A170774: a(n) = n^8*(n^2+1)/2.
; 0,1,640,32805,557056,5078125,31072896,144120025,545259520,1764915561,5050000000,13075891741,31173672960,69337111285,145365222016,289606640625,551903297536,1011484828945,1790743593600,3074024910421,5132800000000,8358851918781,13307399332480,20752411099465,31756728139776,47760009765625,... |
# JMH version: 1.19
# VM version: JDK 1.8.0_131, VM 25.131-b11
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 10 iterations, 1 s each
# Measurement: 10 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average ti... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xb537, %r9
nop
nop
nop
nop
nop
xor %r13, %r13
movl $0x61626364, (%r9)
nop
nop
xor %rdx, %rdx
lea addresses_WC_ht+0x18967, %rsi
lea addresses_normal_ht+0x1dba7, %rdi
nop
nop
nop
nop
sub %r9, %r9
mo... |
//===--- DerivedConformanceRawRepresentable.cpp - Derived RawRepresentable ===//
//
// 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... |
/*
给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。
你可以假设每种输入只会对应一个答案。但是,你不能重复利用这个数组中同样的元素。
示例:
给定 nums = [2, 7, 11, 15], target = 9
因为 nums[0] + nums[1] = 2 + 7 = 9
所以返回 [0, 1]
思路:
for index, value in enumerate(nums):
target_rest = target - value
if target_rest in hashmap:
return [h... |
; A030439: a(n+1) = smallest number not containing any digits of a(n), working in base 3.
; 0,1,2,3,8,9,26,27,80,81,242,243,728,729,2186,2187,6560,6561,19682,19683,59048,59049,177146,177147,531440,531441,1594322,1594323,4782968,4782969,14348906,14348907,43046720,43046721,129140162,129140163,387420488,387420489
mov $1,... |
; A231104: Number of n X 4 0..3 arrays x(i,j) with each element horizontally or antidiagonally next to at least one element with value (x(i,j)+1) mod 4, no adjacent elements equal, and upper left element zero.
; 0,6,48,438,3936,35430,318864,2869782,25828032,232452294,2092070640,18828635766,169457721888,1525119496998,13... |
object_const_def ; object_event constants
const ROUTE32_FISHER1
const ROUTE32_FISHER2
const ROUTE32_FISHER3
const ROUTE32_YOUNGSTER1
const ROUTE32_YOUNGSTER2
const ROUTE32_YOUNGSTER3
const ROUTE32_LASS1
const ROUTE32_COOLTRAINER_M
const ROUTE32_YOUNGSTER4
const ROUTE32_FISHER4
const ROUTE32_POKE_BALL1
cons... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and ... |
; A092403: sigma(n)+sigma(n+1).
; 4,7,11,13,18,20,23,28,31,30,40,42,38,48,55,49,57,59,62,74,68,60,84,91,73,82,96,86,102,104,95,111,102,102,139,129,98,116,146,132,138,140,128,162,150,120,172,181,150,165,170,152,174,192,192,200,170,150,228,230
mov $2,$0
mov $4,2
lpb $4
sub $4,1
add $0,$4
mov $5,$0
sub $0,1
mov... |
#ifndef REVERSE_MSFG
#define REVERSE_MSFG
#include <fstream>
#include <iostream>
#include <map>
#include <set>
#include <vector>
#include "defs.hh"
#include "FactorGraph.hh"
class ReverseMultiStringFactorGraph {
public:
/** Arc of a multi string factor graph. */
class Arc {
public:
Arc(msfg_nod... |
; Comando para ensamblar: #nasm fruta.asm -o fruta.com
; Presionar tecla para finalizar
;======================================================================|
; M A I N |
;======================================================================|
ORG 100h
mov ah,00h ;modo video
mov al,13h ;3... |
;========================================================
COMMENT #
DSKWRITE.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Uses the ROM BIOS int 13h write sectors function
to write the specified number of sectors.
int P... |
; fs:18h -> teb
; teb+30h -> peb
; peb+0Ch -> peb_ldr_data
; peb_ltr_data+0Ch -> mInLoadOrder[0]
; mInLoadOrder[n] -> mInLoadOrder[n+1]
get_peb:
mov eax, 18h
push fs:[eax]
pop eax
push [eax+30h]
pop eax
ret
|
PUBLIC UBin
PUBLIC SBin
DSEG SEGMENT PARA PUBLIC 'DATA'
NEWLINE DB 10, 13, '$'
DSEG ENDS
CSEG SEGMENT PARA PUBLIC 'CODE'
ASSUME CS:CSEG
UBin PROC NEAR
PUSH BP
MOV BP, SP ; stack registers, SP - point on the top of the stack, so we configure stack here
MOV BX, [BP + 6] ; in BX put something that is in sta... |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
CODE SEGMENT PARA PUBLIC 'CODE'
CODE ENDS
DATA SEGMENT PARA PUBLIC 'DATA'
DATA ENDS
STACK SEGMENT PARA STACK 'STACK'
STACK ENDS
ZLOA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.