text stringlengths 1 1.05M |
|---|
// -*- C++ -*-
//
// Package: FWCore/Framework
// Class : OutputModuleBase
//
// Implementation:
// [Notes on implementation]
//
//
// system include files
#include <cassert>
// user include files
#include "FWCore/Framework/interface/global/OutputModuleBase.h"
#include "DataFormats/Common/interface/Han... |
; A229473: Number of defective 4-colorings of an n X 2 0..3 array connected horizontally, antidiagonally and vertically with exactly one mistake, and colors introduced in row-major 0..3 order.
; 1,6,42,248,1312,6528,31232,145408,663552,2981888,13238272,58195968,253755392,1098907648,4731174912,20266876928,86436216832,36... |
; A262438: Number of digits of hexadecimal representation of n.
; 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,... |
; A023660: Convolution of odd numbers and A023533.
; 1,3,5,8,12,16,20,24,28,33,39,45,51,57,63,69,75,81,87,94,102,110,118,126,134,142,150,158,166,174,182,190,198,206,215,225,235,245,255,265,275,285,295,305,315,325,335,345,355,365,375,385,395,405
mov $3,$0
add $3,1
mov $6,$0
lpb $3
mov $0,$6
sub $3,1
sub $0,$3
m... |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021, Gunnar Beutner <gbeutner@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibGUI/Action.h>
#include <LibGUI/Application.h>
#include <LibGUI/FilePicker.h>
#include <LibGUI/Icon.h>
#include <LibGUI/Menu.h>... |
; =============== S U B R O U T I N E =======================================
sub_9CFF: ; CODE XREF: sub_9C91+13p sub_9C91+2Bp
LDA REM_VIRUSES ; Remaining viruses to generate into the bottle.
BNE loc_9D06
JMP locret_9E4B
;... |
;******************************************************************************
;* VP9 MC SIMD optimizations
;*
;* Copyright (c) 2013 Ronald S. Bultje <rsbultje gmail com>
;*
;* 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 Gene... |
/*
* 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... |
; A138451: a(n) = (prime(n)^6-prime(n)^2)/60.
; 1,12,260,1960,29524,80444,402288,784092,2467256,9913708,14791712,42762084,79168376,105356020,179653552,369405972,703008836,858672844,1507639628,2135004648,2522237016,4051457488,5449006108,8283021384,13882866592,17692002340,19900871432,25012172340,27951668316,34699195664,6... |
/*
* Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* notice, this l... |
; A059826: a(n) = (n^2 - n + 1)*(n^2 + n + 1).
; 1,3,21,91,273,651,1333,2451,4161,6643,10101,14763,20881,28731,38613,50851,65793,83811,105301,130683,160401,194923,234741,280371,332353,391251,457653,532171,615441,708123,810901,924483,1049601,1187011,1337493,1501851,1680913,1875531,2086581,2314963,2561601,2827443,3113461... |
#include "main.hpp"
#include "modloader/shared/modloader.hpp"
#include "beatsaber-hook/shared/utils/hooking.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils.hpp"
#include <stdlib.h>
#include <string>
static ModInfo modInfo;
#define INFO(value...) getLogger().info(value)
#define ERROR(value...) getLogger().err... |
; A074150: Duplicate of A061925.
; 1,2,3,6,9,14,19,26,33,42,51,62,73,86,99,114,129,146,163,182,201,222
pow $0,2
mov $1,$0
add $1,3
div $1,2
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=====================================================================================//
#include "audio_pch.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
// max size of ADPCM ... |
_getuid: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
exit();
6: e8 68 ... |
; QXL_MSE.ASM Mouse server and setup and restore
; check which COM port is used by the mouse (if any)
; and link in mouse driver
; 2005.01.10 1.01 correct saves (BC)
; 2006.10.01 1.02 bugfix (BC)
qxl_mse_setup:
ASSUME ds:DGROUP
push es
xor ax,ax
mov es,ax
... |
; A168977: Number of reduced words of length n in Coxeter group on 12 generators S_i with relations (S_i)^2 = (S_i S_j)^23 = I.
; 1,12,132,1452,15972,175692,1932612,21258732,233846052,2572306572,28295372292,311249095212,3423740047332,37661140520652,414272545727172,4556998002998892,50126978032987812,551396758362865932
... |
// A simple SID music player playing music in the main loop.
/// @file
/// Commodore 64 Registers and Constants
/// @file
/// The MOS 6526 Complex Interface Adapter (CIA)
///
/// http://archive.6502.org/datasheets/mos_6526_cia_recreated.pdf
// Commodore 64 PRG executable file
.file [name="music.prg", type="prg", segm... |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
#include<iostream>
#include<algorithm>
using namespace std;
struct Docter{
int no;
int cnt;
};
bool comp(Docter a,Docter b){
return (a.cnt==b.cnt?a.no<b.no:a.cnt<b.cnt);
}
Docter d[102];
int main(){
int n;
cin>>n;
for(int i=1;i<=n;i++){
d[i].no=i;
int c;
cin>>c;
d... |
db 0 ; species ID placeholder
db 61, 84, 65, 70, 70, 70
; hp atk def spd sat sdf
db DRAGON, WATER ; type
db 45 ; catch rate
db 144 ; base exp
db NO_ITEM, DRAGON_SCALE ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 40 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/drag... |
; A001891: Hit polynomials; convolution of natural numbers with Fibonacci numbers F(2), F(3), F(4),....
; 0,1,4,10,21,40,72,125,212,354,585,960,1568,2553,4148,6730,10909,17672,28616,46325,74980,121346,196369,317760,514176,831985,1346212,2178250,3524517,5702824,9227400,14930285,24157748,39088098,63245913,102334080,16558... |
; A138251: Beatty sequence of the positive root of x^3 - x^2 - 1.
; 1,2,4,5,7,8,10,11,13,14,16,17,19,20,21,23,24,26,27,29,30,32,33,35,36,38,39,41,42,43,45,46,48,49,51,52,54,55,57,58,60,61,63,64,65,67,68,70,71,73,74,76,77,79,80,82,83,85,86,87,89,90,92,93,95,96,98,99,101,102
add $0,18
mov $1,22
mul $1,$0
div $1,15
sub $... |
*---------------------------*
* cmc player v 2.1 *
* by Marcin Lewandowski *
* based on cmc player v 2.0 *
* by Janusz Pelc *
*---------------------------*
*--- tablica basu (chyba)
bass equ 1
*--- strona 0
addr equ $fc
word equ $fe
*--- skoki
jmp basic
jmp init
jmp play
*--- dane
volu... |
; A027628: Expansion of Molien series for 5-dimensional group G_3 acting on Jacobi polynomials of ternary self-dual codes.
; 1,96,944,4057,11811,27446,55066,99639,166997,263836,397716,577061,811159,1110162,1485086,1947811,2511081,3188504,3994552,4944561,6054731,7342126,8824674,10521167,12451261,14635476,17095196,198526... |
; A071578: Number of iterations of Pi(n) needed to reach 1, where Pi(x) denotes the number of primes <= x.
; 0,1,2,2,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
mov $2,$0
... |
; A180673: a(n) = Fibonacci(n+8) - Fibonacci(8).
; 0,13,34,68,123,212,356,589,966,1576,2563,4160,6744,10925,17690,28636,46347,75004,121372,196397,317790,514208,832019,1346248,2178288,3524557,5702866,9227444,14930331,24157796,39088148,63245965,102334134,165580120,267914275,433494416,701408712,1134903149,1836311882,29712... |
; A081049: Generalized Stirling numbers of the first kind.
; Submitted by Jamie Morken(s4)
; 1,0,5,-5,74,-154,2484,-8028,149904,-663696,14257440,-80627040,1965444480,-13575738240,370643938560,-3031488633600,91657072281600,-867718162483200,28779361764249600,-309920046408806400,11185850044938240000,-135153868608460800000... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2008, 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 distributi... |
format ELF executable 3
entry start
include 'procs.inc'
segment readable executable
start:
mov ecx, 0
@@:
inc ecx
mov eax, ecx
call iprintLF
cmp ecx, 10
jne @b
call quitProgram
|
; A155107: Numbers that are 23 or 30 (mod 53).
; 23,30,76,83,129,136,182,189,235,242,288,295,341,348,394,401,447,454,500,507,553,560,606,613,659,666,712,719,765,772,818,825,871,878,924,931,977,984,1030,1037,1083,1090,1136,1143,1189,1196,1242,1249,1295,1302,1348,1355,1401,1408,1454,1461,1507,1514,1560,1567,1613,1620,166... |
#include "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBT... |
org 100h
.model small
Draw MACRO Y, X, Color
mov ah,0ch
mov al, Color
MOV dx, Y
MOV cx, X
int 10h
ENDM
.data
;Will be used for Bar Previous Top Location [- Future Level planning -]
eggX dw 0 ;Will b... |
%define break xchg bx, bx
KERNEL_SECTORS equ 50
[org 0x7E00]
[bits 16]
SSL:
mov ah, 02h ; parameters for calling int13 (ReadSectors) - read the Kernel
mov al, KERNEL_SECTORS ; read KERNEL_SECTORS sectors (hardcoded space for Kernel)
mov ch, 00h
mov cl, ... |
; Sourced from http://os.phil-opp.com/multiboot-kernel.html#creating-the-iso
section .multiboot_header
align 4
header_start:
dd 0xe85250d6 ; magic number (multiboot 2)
dd 0 ; architecture 0 (protected mode i386)
dd header_end - header_start ; header length
; checks... |
extern m7_ippsDLPVerifyDSA:function
extern n8_ippsDLPVerifyDSA:function
extern y8_ippsDLPVerifyDSA:function
extern e9_ippsDLPVerifyDSA:function
extern l9_ippsDLPVerifyDSA:function
extern n0_ippsDLPVerifyDSA:function
extern k0_ippsDLPVerifyDSA:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
s... |
.data
str1: .asciiz "Introduza dois numeros:\n"
str2: .asciiz "num1: "
str3: .asciiz "num2: "
str4: .asciiz "Resultado: "
.eqv print_str, 4
.eqv read_int, 5
.eqv print_int10, 1
.eqv i, $t0
.eqv res, $t1
.eqv mdo, $t2
.eqv mdor, $t3
.eqv func, $v0
.eqv arg1, $a0
.text
.globl main
main:
# nao deixar lixo
li i, 0
... |
.main:
mov r0, 6
mov r1, 1
mov r2, 1
.loop:
cmp r2, r0
bgt .break
mul r1, r1, r2
add r2, r2, 1
b .loop
.break:
b .break |
; A141889: Primes congruent to 4 mod 21.
; Submitted by Jon Maiga
; 67,109,151,193,277,487,571,613,739,823,907,991,1033,1117,1201,1327,1453,1579,1621,1663,1747,1789,1831,1873,1999,2083,2251,2293,2377,2503,2671,2713,2797,3049,3217,3259,3301,3343,3469,3511,3637,3847,3889,3931,4057,4099,4519,4561,4603,4729,4813,5023,5107,... |
//#include "cnn_cfg.hpp"
#include "vgg16.hpp"
template<typename data_t, int FIN, int FOUT, int Kernel>
void init_weights(data_t *m, int addr, data_t *weights, data_t *bias) {
for(int i=0; i<FOUT; i++){
bias[i] = m[addr+ FIN*FOUT*Kernel*Kernel + i];
for(int j=0; j<FIN; j++){
for(int k=0;... |
;******************************************************************************
;* Copyright Nick Kurshev
;* Copyright Michael (michaelni@gmx.at)
;* Copyright 2018 Jokyo Images
;*
;* 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... |
; void __CALLEE__ in_MouseAMXSetPos_callee(uint xcoord, uint ycoord)
; 09.2005 aralbrec
SECTION code_clib
PUBLIC in_MouseAMXSetPos_callee
PUBLIC _in_MouseAMXSetPos_callee
PUBLIC asm_in_MouseAMXSetPos
PUBLIC centry_in_MouseAMXSetPos
EXTERN _in_AMXcoordX, _in_AMXcoordY
.in_MouseAMXSetPos_callee
._in_MouseAMXSetPos_cal... |
; A244741: Numbers k such that (prime(k) mod 5) == 2 (mod 3).
; Submitted by Jon Maiga
; 1,4,7,12,15,19,25,28,31,33,37,39,45,49,55,59,63,66,68,69,73,78,88,91,93,101,102,106,107,111,113,118,123,129,134,138,139,144,148,151,154,155,159,161,163,165,168,181,184,187,195,199,203,206,211,214,217,219,225,229,236,247,251,253,258... |
;234567890123456789012345678901234567890123456789012345
;------------------------------------------------------
; VTL-2 for the 6502 (VTL02)
; Original Altair 680b version by
; Frank McCoy and Gary Shannon 1977
; Adapted to the 6502 by Michael T. Barry 2012
; Thanks to sbprojects.com for a very nice assembler!
... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; SetMem.nasm
;
; Abstract:
;
; SetMem function
;
; Notes:
;
;----------------------------------------... |
; A005701: Number of exterior points formed by extending diagonals of n-gon in general position.
; 3,14,40,90,175,308,504,780,1155,1650,2288,3094,4095,5320,6800,8568,10659,13110,15960,19250,23023,27324,32200,37700,43875,50778,58464,66990,76415,86800,98208,110704,124355,139230,155400,172938,191919,212420,234520,258300,2... |
; A134012: Period 5: repeat 1, 6, 11, 6, 1.
; 1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1
mod $0,5
gcd $0,4
mod $0,4
mov $1,$0
mul $1,5
add $1,1
|
Name: z11_title.asm
Type: file
Size: 165637
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: 4BFEB4269245FAD0B31AE930F051C540BC64A8DB
Description: null
|
; Q40 SMS BEEP polling routine 1988 Tony Tebby
section sms
xdef hdop_poll
xdef hdop_ssss
include 'dev8_keys_atari'
include 'dev8_keys_sys'
include 'dev8_keys_sss'
include 'dev8_keys_68000'
include 'dev8_smsq_q40_hdop_data'
hdop_poll
tst.w ho_bptim(a3) ; BEEPING?
beq.l hop_rts
bgt.s hop_tim ; che... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1a28c, %rsi
nop
nop
nop
nop
nop
add $22340, %r14
mov (%rsi), %rbp
nop
nop
nop
nop
xor $47935, %rdx
lea addresses_UC_ht+0x178ec, %rsi
lea addresses_D_ht+0x1b552, %rdi
clflush ... |
/*
*********************************************************************************************************
* uC/Probe Communication
*
* Copyright 2007-2020 Silicon Laboratories Inc. www.silabs.com
*
* SPDX-License-Identifier: APA... |
SECTION code_clib
SECTION code_math
EXTERN l_z80n_mulu_32_16x16
EXTERN l_neg_hl, l_neg_de, l_neg_dehl
PUBLIC l_z80n_muls_32_16x16
l_z80n_muls_32_16x16:
; multiplication of two 16-bit signed numbers into a 32-bit product
;
; enter : hl = 16-bit signed multiplier = x
; de = 16-bit signed mu... |
// https://vjudge.net/contest/391624#problem
// 09/16/2020.
// Trial 1: Failed
// Trial 2: Passed (#1 failed because forgot for loop for T test cases)
#include <iostream>
#include <string>
#include <vector>
#include <iterator>
using namespace std;
int main() {
string s, part = ""; // s holds input string, part... |
/* 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 ... |
; A201864: ((F(n-1)+F(n-2))-1)/2 if F(n) is odd, otherwise ((F(n-1)+F(n-2))-2)/2, where F(n)=A000045(n) is the n-th Fibonacci number.
; Submitted by Jamie Morken(s1)
; 0,0,0,1,2,3,6,10,16,27,44,71,116,188,304,493,798,1291,2090,3382,5472,8855,14328,23183,37512,60696,98208,158905,257114,416019,673134,1089154,1762288,2851... |
_init: formato do arquivo elf32-i386
Desmontagem da seção .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
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... |
; A023717: Numbers with no 3's in base-4 expansion.
; Submitted by Jamie Morken(w1)
; 0,1,2,4,5,6,8,9,10,16,17,18,20,21,22,24,25,26,32,33,34,36,37,38,40,41,42,64,65,66,68,69,70,72,73,74,80,81,82,84,85,86,88,89,90,96,97,98,100,101,102,104,105,106,128,129,130,132,133,134,136,137,138,144,145,146,148,149,150,152,153,154,16... |
db "MAGNET@" ; species name
db "When many"
next "MAGNETON gather"
next "together, the"
page "resulting magnetic"
next "storm disrupts"
next "radio waves.@"
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x10eef, %rsi
lea addresses_WT_ht+0x3c3f, %rdi
sub $25426, %r14
mov $115, %rcx
rep movsw
nop
nop
nop
add %r8, %r8
lea addresses_A_ht+0xe0d5, %rsi
lea addresses_A_ht+0x856f, %rdi... |
// Copyright 2010-2014, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... |
; A179062: Number of non-attacking placements of 7 rooks on an n X n board.
; 0,0,0,0,0,0,5040,322560,6531840,72576000,548856000,3161410560,14841066240,59364264960,208702494000,659602944000,1906252508160,5104345559040,12796310741760,30287126016000,68146033536000,146589689917440,302913851430960,603731413232640,116460534... |
#include "xcspp/core/xcs/classifier_ptr_set.hpp"
#include "xcspp/util/csv.hpp"
namespace xcspp::xcs
{
namespace
{
std::unordered_set<ClassifierPtr> MakeSetFromClassifiers(const std::vector<Classifier> & classifiers, const XCSParams *pParams)
{
std::unordered_set<Classifie... |
;StringEdit.dlg
IDD_DLGNAMES equ 1400
IDC_GRDNME equ 1001
IDC_BTNNMEADD equ 1002
IDC_BTNNMEDEL equ 1003
IDC_BTNNMEEXPORT equ 1004
.const
szExportAs db 'Export Names As',0
INmeGrdSize dd 0,0,18,182,40 ; MOD 17.3.2012 0,0,18,122,0
.data?
nExportType dd ?
szExportFileName db MAX_... |
// Copyright (c) 2017-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/
#ifndef TAO_JSON_MSGPACK_INTERNAL_GRAMMAR_HPP
#define TAO_JSON_MSGPACK_INTERNAL_GRAMMAR_HPP
#include <cstddef>
#include <cstdint>
#include <string_view>
#include "../../binary_view.h... |
; A093969: a(n) = n*Pell(n-2).
; 0,1,0,3,8,25,72,203,560,1521,4080,10835,28536,74633,194040,501915,1292512,3315425,8474976,21597091,54884200,139127289,351877416,888121195,2237336592,5626467025,14126832720,35416929267,88670846936
mov $2,$0
lpb $0,1
sub $0,1
add $3,$1
mov $1,$2
mov $2,$3
mul $3,2
lpe
|
#include "GameObjectManager.h"
GameObjectManager::GameObjectManager()
{
}
GameObjectManager::~GameObjectManager()
{
Clear();
}
void GameObjectManager::Update(float dt) {
for (int g = 0; g < gameObjects.size(); g++) {
gameObjects[g]->GetTransform().RecalculateMatrix();
}
for (int u = 0; u < updateables.size();... |
bits 64
default rel
segment .data
switch:
dq main.case0
dq main.case1
dq main.case2
i: dq 2
a: dq 3
b: dq 5
segment .bss
temp resq 1
segment .text
global main
extern ExitProcess
main:
; This block basically implements:
; if (a < b) {
; temp = a;
; a = b;
; b = temp;
... |
# 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: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput... |
; A171504: a(n) = n-th nonprime + n.
; 2,6,9,12,14,16,19,22,24,26,29,32,34,36,39,41,43,45,47,50,53,55,57,59,61,64,66,68,71,74,76,78,81,83,85,87,89,92,94,96,98,100,103,106,108,110,112,114,117,119
mov $29,2
mov $31,$0
lpb $29
sub $29,1
add $0,$29
sub $0,1
mov $5,$0
mov $6,$0
lpb $0
add $3,$6
lpb $3
... |
; export symbols
XDEF Entry, _Startup ;export 'Entry' symbol
ABSENTRY Entry ;for absolute assembly: mark this as entry point
ROMStart EQU $C000 ;absoolute address to place code/constant data
; code section
ORG ROMStart
Entry:
_Startup:
;Proble... |
#pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Types/generated/game/EntityReference.hpp>
#include <RED4ext/Types/generated/quest/AICommandNodeBase.hpp>
namespace RED... |
/*********************************************************************************************************************
* @file startup_XMC4800.S
* @brief CMSIS Core Device Startup File for Infineon XMC4800 Device Series
* @version V1.1
* @date 05 Jan 2016
*
* @cond
***********************************... |
; macros.asm
Border macro(Colour)
if Colour=0
xor a
else
ld a, Colour
endif
out ($FE), a
if Colour=0
xor... |
; A171631: Triangle read by rows: T(n,k) = n*(binomial(n-2, k-1) + n*binomial(n-2, k)), n > 0 and 0 <= k <= n - 1.
; Submitted by Christian Krause
; 1,4,2,9,12,3,16,36,24,4,25,80,90,40,5,36,150,240,180,60,6,49,252,525,560,315,84,7,64,392,1008,1400,1120,504,112,8,81,576,1764,3024,3150,2016,756,144,9,100,810,2880,5880,7... |
//
// Copyright (c) 2008-2021 the Urho3D project.
//
// 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, mod... |
SECTION "test", ROM0
LOAD "RAM", WRAM0
ld a, 5
ENDL
db 1
|
;*****************************************************************************
;* MMX/SSE2/AVX-optimized 10-bit H.264 qpel code
;*****************************************************************************
;* Copyright (C) 2011 x264 project
;*
;* Authors: Daniel Kang <daniel.d.kang@gmail.com>
;*
;* This file is... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
;*****************************************************************************
;* x86util.asm: x86 utility macros
;*****************************************************************************
;* Copyright (C) 2008-2019 x264 project
;*
;* Authors: Holger Lubitz <holger@lubitz.org>
;* Loren Merritt <lorenm@u.wa... |
#include <cstdint>
int main();
extern "C" {
void __libc_init_array(void);
__attribute__ ((section(".after_vectors")))
uint32_t onLoad(){
__libc_init_array();
return main();
}
}
|
/**
* @file Fibonacci.hpp
* @author Natan Meirov (NatanMeirov@gmail.com)
* @brief A Metaprogramming Fibonacci implementation
* @version 1.0
* @date 2021-06-08
*
* @copyright Copyright (c) 2021
*
*/
#ifndef __NM_META_FIBONACCI_HPP__
#define __NM_META_FIBONACCI_HPP__
#include <climits> // CHAR_BIT
namespa... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xd21a, %rdx
nop
dec %r15
mov $0x6162636465666768, %r13
movq %r13, %xmm6
vmovups %ymm6, (%rdx)
nop
nop
cmp %rdi, %rdi
lea addresses_A_ht+0xd149, %r13
clflush (%r13)
n... |
; no match
#ruledef
{
test {x} => asm { unknown x }
}
test 0x12 ; error: failed / error:_:4: no match |
INSERT_SORT PROC ;use bx and si as input and sort the string pointed by si
PUSH DI
PUSH SI
PUSH CX
PUSH DX
PUSH BX
DEC BX
MOV DI,1H
INSERT: ;main loop which runs untill string is sorted
MOV DL,STRING[DI]
MOV SI,DI
WHILE_: ;sorts a portion of string
CMP SI,0H
JE NEXT2
... |
;trap 99 picks a random number between the values in register 4 and register 5 and places it into register 2
addi $4, $0, 2 ;places 2 into register 4
addi $5, $0, 94 ;places 94 into register 5
trap 99 ;generates a random number
add $4, $0, $2;moves the random number to register 4
trap 1 ;prints the random number
trap ... |
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDFilter.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/Common/interface/ValueMap.h"
#include "Da... |
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x4142434445464748", "0x7172737475767778"],
"XMM1": ["0x4546474800000000", "0x7576777800000000"],
"XMM2": ["0x0", "0x0"],
"XMM3": ["0x4142434445464748", "0x7172737475767778"],
"XMM4": ["0x4546474800000000", "0x7576777800000000"],
"XMM5": ["0x0", "0x... |
Missile: DB $00
DW $0640
DW MissileEdges
DB MissileEdgesSize
DB $00, $0A
DB MissileVertSize /6
DB MissileVertSize
DB MissileEdgesCnt
... |
; pasmo --tapbas ini.asm ini.tap
ORG 50000
LD A,2 ; upper screen
CALL 5633 ; open channel
LD B,255 ; Loop 256 A possible values
LD D,0 ; Start with "A" == 0
; DE will be loaded into AF
LOOP2: LD ... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; MOV16rr
mov ch, 0x2
mov dh, 0x3
;TEST_BEGIN_RECORDING
mov ch, dh
;TEST_END_RECORDING
|
; A324920: a(n) is the number of iterations of the integer splitting function (A056737) necessary to reach zero.
; 0,1,2,3,1,2,2,3,3,1,4,5,2,3,3,3,1,2,4,5,2,2,2,3,3,1,6,3,4,5,2,3,2,4,4,3,1,2,3,5,4,5,2,3,4,2,3,4,3,1,3,4,2,3,4,3,2,2,4,5,2,3,6,3,1,4,3,4,4,3,4,5,2,3,4,5,4,2,4,5,3,1,6,7,3,3,6,7,4,5,2,3,6,5,3,4,2,3,4,3
lpb ... |
SECTION "ROM Bank 17", ROMX[$4000], BANK[$17]
db $18, $05, $37, $20, $36, $0E, $1E, $2B
db $25, $14, $1F, $12, $15, $2C, $31, $3F
db $0C, $30, $01, $33, $04, $27, $08, $1D
db $38, $17, $3E, $28, $11, $00, $3A, $3D
db $2A, $0B, $1B, $0A, $34, $07, $22, $0F
db $1C, $23, $2F, $3B, $2D,... |
; A139391: Next odd term in Collatz trajectory with starting value n.
; 1,1,5,1,1,3,11,1,7,5,17,3,5,7,23,1,13,9,29,5,1,11,35,3,19,13,41,7,11,15,47,1,25,17,53,9,7,19,59,5,31,21,65,11,17,23,71,3,37,25,77,13,5,27,83,7,43,29,89,15,23,31,95,1,49,33,101,17,13,35,107,9,55,37,113,19,29,39,119,5,61,41,125,21,1,43,131,11,67,45,1... |
#include "Diagnostics.H"
#include "ComputeDiagFunctors/CellCenterFunctor.H"
#include "ComputeDiagFunctors/PartPerCellFunctor.H"
#include "ComputeDiagFunctors/PartPerGridFunctor.H"
#include "ComputeDiagFunctors/DivBFunctor.H"
#include "ComputeDiagFunctors/DivEFunctor.H"
#include "FlushFormats/FlushFormatPlotfile.H"
#inc... |
strings
str_notDefined
dta '- FREE - ',255 ; "not defined" SFX string
str_IO_Page
dta d'<<< PAGE >>>' ; IO->DIR entry for next list page
str_NoteNames
; 0 1 2 3 4 5 6 7
; 0123... |
; What music plays when a trainer notices you
TrainerEncounterMusic::
; entries correspond to trainer classes (see constants/trainer_constants.asm)
db MUSIC_HIKER_ENCOUNTER ; none
db MUSIC_YOUNGSTER_ENCOUNTER ; falkner
db MUSIC_LASS_ENCOUNTER ; whitney
db MUSIC_YOUNGSTER_ENCOUNTER ; bugsy
db MUSI... |
; int 10h / ah = 0x13 document http://www.ablmcc.edu.hk/~scy/CIT/8086_bios_and_dos_interrupts.htm#int10h_13h
org 0x7c00
jmp LABEL_BEGIN
%include "pm.inc" ; 常量,宏,以及一些说明
[SECTION .gdt]
; GDT
LABEL_GDT: descriptor 0, 0, 0 ; 空描述符
; DA_C + DA_32 DA_C = 0x98 DA_32 = 0X4000
; DA_C + DA_32 = 1000000 10011000
; 意思: 这个段是存在... |
name "hi-world"
; this example prints out "hello world!"
; by writing directly to video memory.
; in vga memory: first byte is ascii character, byte that follows is character attribute.
; if you change the second byte, you can change the color of
; the character even after it is printed.
; character attribute ... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
//
// WordKickerInfo.cpp
// KitkitSchool
//
// Created by MilliSoftGames on 8/14/18.
//
#include "WordKickerInfo.hpp"
#include "Utils/TodoUtil.h"
std::vector<std::string> WordKickerInfo::enumerateLevelIDs()
{
/*
vector<std::string> ddLevels;
for (int i = 1; i <= 2; i++) ddLevels.push_back(TodoUtil::itos... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.