text stringlengths 1 1.05M |
|---|
//===--- TypeCheckAttr.cpp - Type Checking for Attributes -----------------===//
//
// 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... |
; A031369: a(n) = prime(3n-1).
; 3,11,19,31,43,59,71,83,101,109,131,149,163,179,193,211,229,241,263,277,293,313,337,353,373,389,409,431,443,461,479,499,521,547,569,587,601,617,641,653,673,691,719,739,757,773,809,823,839,859,881,907,929,947,971,991,1013,1031,1049,1063,1091,1103,1123,1153,1181,1201,1223,1237,1277,1289,13... |
#include "pt4.h"
#include "mpi.h"
#include <vector>
using namespace std;
void Solve() {
Task("MPI5Comm14");
int flag;
MPI_Initialized(&flag);
if (flag == 0)
return;
int rank, size;
MPI_Comm_size(MPI_COMM_WORLD, &size);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
if (rank == 0) {
... |
.thumb
.org 0x00
.macro blh to, reg=r3
ldr \reg, =\to
mov lr, \reg
.short 0xF800
.endm
Init:
ldr r5, =0x30067A0
Player:
mov r0, #0x48
mov r2, #51
mul r2, r0 @Size of Copy
ldr r0, =0x1F78 @Dest
add r0, r6, r0
ldr r1, =0x202BE4C @Player Unit Pool
ldr r3, [r5] @ LoadFromSRAM
bl BXR3
Enemy:
mov r0, #0x48
mov r2, #50
mul... |
Museum2FObject:
db $a ; border block
db $1 ; warps
db $7, $7, $4, MUSEUM_1F
db $2 ; signs
db $2, $b, $6 ; Museum2FText6
db $5, $2, $7 ; Museum2FText7
db $5 ; objects
object SPRITE_MEOWTH, $1, $7, WALK, $2, $1, OPP_ROCKET, $2e ; person
object SPRITE_OLD_PERSON, $0, $5, STAY, DOWN, $2 ; person
object SPRITE_... |
; A047301: Numbers that are congruent to {0, 2, 3, 4, 6} mod 7.
; 0,2,3,4,6,7,9,10,11,13,14,16,17,18,20,21,23,24,25,27,28,30,31,32,34,35,37,38,39,41,42,44,45,46,48,49,51,52,53,55,56,58,59,60,62,63,65,66,67,69,70,72,73,74,76,77,79
mul $0,7
mov $1,$0
add $1,3
div $1,5
|
; A256019: a(n) = Sum_{i=1..n-1} (i^3 * a(i)), a(1)=1.
; 1,1,9,252,16380,2063880,447861960,154064514240,79035095805120,57695619937737600,57753315557675337600,76927416322823549683200,133007502822161917402252800,292350491203111894450151654400,802502098352542150265666291328000
seq $0,255433 ; a(n) = Product_{k=0..n} (k^3... |
; Disassembly of file: helloworld.o
; Mon Sep 18 07:52:06 2017
; Mode: 32 bits
; Syntax: YASM/NASM
; Instruction set: 80386
global _main: function
extern _printf ; near
extern __alloca ; near
extern ___main ... |
; A104879: Row sums of a sum-of-powers triangle.
; 1,2,4,8,17,40,106,316,1049,3830,15208,65072,297841,1449756,7468542,40555748,231335961,1381989882,8623700812,56078446616,379233142801,2662013133296,19362917622002,145719550012300,1133023004941273,9090156910550110,75161929739797520
mov $14,$0
mov $16,$0
add $16,1
lpb $1... |
tilecoll WALL, WALL, WALL, WALL ; 00
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01
tilecoll FLOOR, FLOOR, FLOOR, WALL ; 02
tilecoll FLOOR, FLOOR, FLOOR, WALL ; 03
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 04
tilecoll HOP_DOWN, HOP_DOWN, WALL, WALL ; 05
tilecoll HOP_DOWN, FLOOR, WALL, WALL ; 06
tilecoll HOP_DOWN, HOP_DOW... |
; interrupt.asm
;
; Created on: Aug 28, 2011
; Author: anizzomc
%include "arch/macros.m"
GLOBAL keyboardHandler
GLOBAL timerTickHandler
GLOBAL setPic1Mask
EXTERN foo
EXTERN keyIn
SECTION .text
keyboardHandler:
pushaq
mov rax, 0
in al, 60h ;Get keypressed
;Argument already is int RAX
mov rdi, 0
mov ... |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... |
; A295318: Sum of the products of the smaller and larger parts of the partitions of n into two distinct parts with the smaller part even.
; 0,0,0,0,6,8,10,12,34,40,46,52,100,112,124,136,220,240,260,280,410,440,470,500,686,728,770,812,1064,1120,1176,1232,1560,1632,1704,1776,2190,2280,2370,2460,2970,3080,3190,3300,3916,4... |
; A129831: Alternating sum of double factorials: n!! - (n-1)!! + (n-2)!! - ... 1!!.
; 1,1,2,6,9,39,66,318,627,3213,7182,38898,96237,548883,1478142,8843778,25615647,160178913,494550162,3221341038,10527969537,71221636863,245012506362,1716978047238,6188875533387,44822878860213
mov $2,$0
add $2,1
mov $6,$0
lpb $2
mov $0... |
EXTERN VirtualProtect: PROC
.CODE
TestSmc PROC
sub rsp, 40
; call VirtualProtect to grant us write access to the SMC region
; BOOL VirtualProtect(LPVOID lpAddress, SIZE_T dwSize, DWORD flNewProtect, PDWORD lpflOldProtect)
lea r9, [rsp+48]
mov r8d, 64
mov edx, (SMC_REGION_END-SMC_REGION_START)
lea rcx, S... |
; void *b_vector_max_size(b_vector_t *v)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_max_size
EXTERN asm_b_vector_max_size
defc b_vector_max_size = asm_b_vector_max_size
|
#pragma once
#include "IFeatureManipulator.hpp"
class DefaultFeatureManipulator : public IFeatureManipulator
{
public:
DefaultFeatureManipulator(FeaturePtr feature);
void kick(CreaturePtr creature, MapPtr current_map, TilePtr feature_tile, const Coordinate& feature_coord, FeaturePtr feature) override;
b... |
#include <GuiFoundation/GuiFoundationPCH.h>
#include <Foundation/Logging/Log.h>
#include <GuiFoundation/Action/ActionMapManager.h>
#include <GuiFoundation/Action/DocumentActions.h>
#include <GuiFoundation/ActionViews/MenuActionMapView.moc.h>
#include <GuiFoundation/ActionViews/MenuBarActionMapView.moc.h>
#inclu... |
/**
* ScriptDev2 is an extension for mangos providing enhanced features for
* area triggers, creatures, game objects, instances, items, and spells beyond
* the default database scripting in mangos.
*
* Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/>
*
* This program is free software; you can red... |
/*
-- MAGMA (version 2.5.4) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date October 2020
@author Azzam Haidar
@author Tingxing Dong
@author Ahmad Abdelfattah
@generated from src/zgetri_outofplace_b... |
SECTION code_fp_math48
PUBLIC ___uint2fs_callee
EXTERN cm48_sdcciyp_uint2ds_callee
defc ___uint2fs_callee = cm48_sdcciyp_uint2ds_callee
|
/*
* Copyright 2013–2020 Kullo GmbH
*
* This source code is licensed under the 3-clause BSD license. See LICENSE.txt
* in the root directory of this source tree for details.
*/
#include "kulloaddresshelper.h"
#include <QStringList>
#include <kulloclient/api/AddressHelpers.h>
#include <kulloclient/api_impl/Addres... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r8
push %rcx
push %rdx
push %rsi
// Load
lea addresses_RW+0x1d581, %rcx
nop
nop
nop
nop
nop
inc %r13
vmovups (%rcx), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $1, %xmm4, %r11
nop
nop
nop
sub... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x11b22, %rsi
lea addresses_WT_ht+0x8b6a, %rdi
nop
nop
add %r8, %r8
mov $61, %rcx
rep movsw
nop
xor %r14, %r14
lea addresses_normal_ht+0x1a38a, %r14
xor $1247, %rdx
mov $0x61626... |
; A219603: a(n) = prime(n) * prime(2*n-1).
; Submitted by Christian Krause
; 4,15,55,119,253,403,697,893,1357,1943,2263,3071,3977,4429,5123,6731,8083,9089,10519,11857,13067,15089,16351,18779,22019,23533,24823,27499,29321,31301,35941,40217,42881,46009,51703,53303,57619,61777,64963,69373,75001,78011,83849,86657,90817,929... |
; DV3 Standard Floppy Disk Control Procedures V3.01 1993 Tony Tebby
;
; 2018-03-09 3.01 Fixed overflow in fd_step, tried to set 5 drives (MK)
section exten
xdef fd_thing
xdef fd_tname
xref dv3_density
xref thp_wd
xref thp_ostr
xref thp_ochr
xref dv3_usep
include 'dev8_keys_thg'
include 'dev8_keys_err... |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
.586
.model flat
option casemap:none
.code
include AsmMacros.inc
;; Allocate non-array, non-finalizable object. If the allocation doesn't fit int... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
;
; $Id: w_xorclga_callee.asm $
;
;Usage: xorclga(struct *pixels)
IF !__CPU_INTEL__
SECTION code_graphics
PUBLIC xorclga_callee
PUBLIC _xorclga_callee
PUBLIC ASMDISP_XORCLGA_CALLEE
EXTERN w_xorpix... |
;// TI File $Revision: /main/4 $
;// Checkin $Date: July 30, 2007 10:28:57 $
;//###########################################################################
;//
;// FILE: DSP2833x_usDelay.asm
;//
;// TITLE: Simple delay function
;//
;// DESCRIPTION:
;//
;// This is a simple delay function that can be used to insert... |
; A079000: a(n) is taken to be the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a member of the sequence if and only if a(n) is odd".
; 1,4,6,7,8,9,11,13,15,16,17,18,19,20,21,23,25,27,29,31,33,34,35,36,37,38,39,40,41,42,43,44,45,47,49,51,53,55,57,59,61,63,65,67,69,70,71,72,... |
/****************************************************************************************
* @author: kzvd4729 created: Jan/04/2020 18:09
* solution_verdict: Accepted language: GNU C++14
* run... |
#ifndef PESSOA
#define PESSOA
#include <string>
using namespace std;
class Pessoa {
public:
string nome;
};
class Estudante : public Pessoa {
public:
int matricula;
};
class EstGrad : public Estudante {
public:
string curso;
};
#endif |
;---------------------------------------------------------------
; LOADING and SAVING stuff
;---------------------------------------------------------------
;.zp
;rleSource: .RES 2
;rleDestination: .RES 2
;.ram
;rleMode: .RES 1
;rleTokenLength: .RES 1
;rleToken: .RES 8
;rleTokenBuffer: .RES 8
;chunkCount: .RE... |
.CODE
__writecr2 proc
mov cr2,rcx
ret
__writecr2 endp
__read_ldtr proc
sldt ax
ret
__read_ldtr endp
__read_tr proc
... |
#include "StdAfx.h"
#include "WebKitV8Extension.h"
#include "WebKitXCtrl.h"
/////////////////////////////////////////////////////////////////////////////////////////////////////
void WebKitV8Extension::RegisterExtension(CWebKitXCtrl* control)
{
// Register a V8 extension that calls native
// methods implemented in W... |
_hello_test: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
#include "fcntl.h"
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... |
//
// Created by Bradley Austin Davis on 2015/08/08
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "OculusHelpers.h"
|
; A199332: Triangle read by rows, where even numbered rows contain the nonsquares (cf. A000037) and odd rows contain replicated squares.
; Submitted by Christian Krause
; 1,2,3,4,4,4,5,6,7,8,9,9,9,9,9,10,11,12,13,14,15,16,16,16,16,16,16,16,17,18,19,20,21,22,23,24,25,25,25,25,25,25,25,25,25,26,27,28,29,30,31,32,33,34,35... |
Sound_D9_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_D9_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM3, Sound_D9_FM3, $D3, $09
; FM3 Data
Sound_D9_FM3:
smpsSetvoice $00
smpsModSet $03, $01, $0D, $01
Sound_D9_Loop00:
dc.b nC0, $16
smpsContinuousLo... |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2011, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... |
#include "p16f84a.inc";initialize the library
cblock 0x20 ;initialize the variable with addresses
input1 ;GPR for the input1
input2 ;GPR for the input2
tempinput2 ;GPR for the temporary input2
counter ;GPR for the counter ( counter = input2 /input1 )
reminder ... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_PE|FLAG_FPU_C1
;TEST_FILE_META_END
; set up st0 to be PI
FLDPI
;TEST_BEGIN_RECORDING
lea edi, [esp-08]
mov dword [edi], 0x1
FISUB dword [edi]
mov edi, 0x0
;TEST_END_RECORDING
|
// Time: O(n * l), l is the average length of file content
// Space: O(n * l)
class Solution {
public:
vector<vector<string>> findDuplicate(vector<string>& paths) {
unordered_map<string, vector<string>> files;
for (const auto& path : paths) {
stringstream ss(path);
string root;
... |
lui $2,0xffff
ori $2,$2,0xfffe
bgez $2,target
ori $2,$0,2119
xori $3,$2,2395
andi $3,$3,4937
addiu $4,$3,7887
target:
bgez $2,target1
addi $3,$2,293
ori $3,$0,2039
target1:
bgez $0,target2
add $4,$4,2345
ori $4,$0,9392
target2:
sub $6,$4,$3
lui $4,0xffff
ori $3,$0,0xfffe
ori $2,$0,4
or $5,$0,$2
or $2,$3,$4
sw $2,0($5)... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1be83, %r14
nop
dec %r11
movw $0x6162, (%r14)
nop
nop
nop
cmp %rax, %rax
lea addresses_WC_ht+0x40c3, %rsi
lea addresses_normal_ht+0x7fa3, %rdi
nop
nop
nop
sub %r10, %r10
mov $82, %rcx... |
; A064717: A Beatty sequence for 2^i + 2^(-i) where i = sqrt(-1).
; 1,3,4,6,7,9,10,12,13,15,16,18,20,21,23,24,26,27,29,30,32,33,35,36,38,40,41,43,44,46,47,49,50,52,53,55,56,58,60,61,63,64,66,67,69,70,72,73,75,76,78,80,81,83,84,86,87,89,90,92,93,95,96,98,100,101,103,104,106,107,109,110,112,113,115,116,118,120,121,123,12... |
; --------------------------------------
; Seven-segment Display
; --------------------------------------
JMP Start ; Jump past the data table
DB FA ; 0 - 1111 1010
DB 60 ; 1 - 0110 0000
DB B6 ; 2 - 1011 0110
DB 9E ; 3 - 1001 1110
DB 4E ; 4 - 0100 1110
DB DC ; 5 - 1101 1100
DB FC ; 6 - 111... |
obj/kern/kernel: 文件格式 elf32-i386
Disassembly of section .text:
f0100000 <_start+0xeffffff4>:
.globl _start
_start = RELOC(entry)
.globl entry
entry:
movw $0x1234,0x472 # warm boot
f0100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
f0100006: 00 00 add %al,(%eax)
f0100008: fe 4f 52 ... |
#ifndef NANOBLAS_TEST_TEST_GEMM_HPP
#define NANOBLAS_TEST_TEST_GEMM_HPP
#include <cstdint>
#include <functional>
#include <iostream>
#include <random>
#include <vector>
#include "lib/util.hpp"
namespace nanoblas {
template<typename FTYPE>
using impl_t = std::function<void(const FTYPE *, const FTYPE *, FTYPE *, size_... |
;******************************************************************************
;* SSE-optimized functions for the DCA decoder
;* Copyright (C) 2012-2014 Christophe Gisquet <christophe.gisquet@gmail.com>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under ... |
;Testname=br3028880; Arguments=-Ox -fbin -obr3028880.o; Files=stdout stderr br3028880.o
%macro import 1
%define %%incfile %!PROJECTBASEDIR/%{1}.inc
%endmacro
import foo
|
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
EXTERN UpdateTimestampsOrig: QWORD
_TEXT SEGMENT
UpdateTimestampsOrigWrapper PROC
; Overwritten instructions
mov [rsp+18h], rbx
push rdi
sub rsp, 30h
mov rbx, rcx
mov rax, UpdateTimestampsOrig
add rax, 0Dh
jmp rax
UpdateTimestampsOrigWrapper ENDP
_TEXT ENDS
END |
; A002448: Expansion of Jacobi theta function theta_4(x).
; Submitted by Stefano Spezia
; 1,-2,0,0,2,0,0,0,0,-2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,-2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,-2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mov $2,-1
pow $2,$0
seq ... |
COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Solitaire
FILE: cards.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Jon 6/90 Initial Version
DESCRIPTION:
... |
; A055364: Number of asymmetric mobiles (circular rooted trees) with n nodes and 3 leaves.
; 1,4,10,22,42,73,119,184,272,389,540,731,969,1261,1614,2037,2538,3126,3811,4603,5512,6550,7728,9058,10553,12226,14090,16160,18450,20975,23751,26794,30120,33747,37692,41973,46609,51619,57022,62839,69090,75796,82979
mov $15,$0
mo... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x19c71, %rsi
lea addresses_WC_ht+0x2071, %rdi
nop
and %r11, %r11
mov $76, %rcx
rep movsl
nop
nop
nop
nop
nop
xor $52, %r10
lea addresses_D_ht+0x1be19, %rsi
lea addresses_normal_ht+0x390... |
; A255236: All positive solutions x of the second class of the Pell equation x^2 - 2*y^2 = -7.
; 5,31,181,1055,6149,35839,208885,1217471,7095941,41358175,241053109,1404960479,8188709765,47727298111,278175078901,1621323175295,9449763972869,55077260661919,321013799998645,1871005539329951,10905019435981061,635591110765564... |
; A124072: First differences of A129819.
; 0,1,0,2,1,3,1,4,2,5,2,6,3,7,3,8,4,9,4,10,5,11,5,12,6,13,6,14,7,15,7,16,8,17,8,18,9,19,9,20,10,21,10,22,11,23,11,24,12,25,12,26
add $0,4
dif $0,2
div $0,2
sub $0,1
|
/* Copyright 2019 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 ... |
global start
%include 'common.inc'
IS_VGA equ 1 ;set to 0 to assemble for EGA
WORD_OUTS_OK equ 1 ;set to 0 to assemble for
; computers that can't handle
; word outs to indexed VGA registers
SCREEN_WIDTH equ 640
SCREEN_HEIGHT equ 350
TEXT_LINE_NUM ... |
/*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <stdio.h>
#include <string.h>
#include <net/if.h>
#include <boost/asio.hpp>
#include <db/db_entry.h>
#include <db/db_table.h>
#include <db/db_table_partition.h>
#include <sandesh/sandesh_types.h>
#include <sandesh/sandesh.h>
#include <... |
; A278049: a(n) = 3*(Sum_{k=1..n} phi(k)) - 1, where phi = A000010.
; 2,5,11,17,29,35,53,65,83,95,125,137,173,191,215,239,287,305,359,383,419,449,515,539,599,635,689,725,809,833,923,971,1031,1079,1151,1187,1295,1349,1421,1469,1589,1625,1751,1811,1883,1949,2087,2135,2261,2321,2417,2489,2645,2699,2819,2891,2999,3083,3257... |
#ifndef _TCURASTERIZATIONVERIFIER_HPP
#define _TCURASTERIZATIONVERIFIER_HPP
/*-------------------------------------------------------------------------
* drawElements Quality Program Tester Core
* ----------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Ap... |
; A002458: a(n) = binomial(4*n+1, 2*n).
; 1,10,126,1716,24310,352716,5200300,77558760,1166803110,17672631900,269128937220,4116715363800,63205303218876,973469712824056,15033633249770520,232714176627630544,3609714217008132870,56093138908331422716,873065282167813104916,13608507434599516007800,212392290424395860814420,3318... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rdi
lea addresses_normal_ht+0x186e, %r14
nop
nop
nop
nop
add $14930, %rax
mov $0x6162636465666768, %rbp
movq %rbp, %xmm0
movups %xmm0, (%r14)
nop
nop
nop
nop
nop
sub %r15, %r15
lea addresses_UC_ht+0x162d2, %r14... |
; A064755: a(n) = n*9^n - 1.
; 8,161,2186,26243,295244,3188645,33480782,344373767,3486784400,34867844009,345191655698,3389154437771,33044255768276,320275094369453,3088366981419734,29648323021629455,283512088894331672,2701703435345984177,25666182635786849690,243153309181138576019,2297798771761759543388,21664959848039447... |
adc a, ixh ; Error
adc a, ixl ; Error
adc a, iyh ; Error
adc a, iyl ; Error
adc ixh ; Error
adc ixl ; Error
adc iyh ; Error
adc iyl ; Error
... |
;*******************************************************************************
; MSP430x24x Demo - Flash In-System Programming w/ EEI, Copy SegC to SegD
;
; Description: This program first erases flash seg C, then it increments all
; values in seg C, then it erases seg D, then copies seg C to seg D. Seg C @... |
; A162245: Triangle T(n,m) = 6*m*n + 3*m + 3*n + 1 read by rows.
; Submitted by Christian Krause
; 13,22,37,31,52,73,40,67,94,121,49,82,115,148,181,58,97,136,175,214,253,67,112,157,202,247,292,337,76,127,178,229,280,331,382,433,85,142,199,256,313,370,427,484,541,94,157,220,283,346,409,472,535,598,661,103,172,241,310,37... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x16afd, %rsi
lea addresses_A_ht+0x12c7d, %rdi
nop
inc %r10
mov $67, %rcx
rep movsw
nop
nop
nop
nop
nop
and $23167, %rcx
lea addresses_WT_ht+0x1bfd, %rcx
nop
nop
nop
nop
nop
an... |
.386p
.387
; COPYRIGHT (c) 1995,99 XDS. All Rights Reserved.
; Implementation for arctan2 & arctan2ll functions
ifdef OS2
.model FLAT
endif
DGROUP group _DATA
_DATA segment use32 dword public 'DATA'
_DATA ends
ifdef OS2... |
#include "simdjson/jsonparser.h"
#include "simdjson/isadetection.h"
#include "simdjson/portability.h"
#include "simdjson/simdjson.h"
#include <atomic>
namespace simdjson {
// The function that users are expected to call is json_parse.
// We have more than one such function because we want to support several
// instru... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x718d, %r8
clflush (%r8)
nop
nop
nop
nop
dec %rbp
and $0xffffffffffffffc0, %r8
vmovntdqa (%r8), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %rbx
nop
nop
add $18513, ... |
li t0 -2
li t1, 1
srl s6, t0, t1
|
//===- SPUInstrInfo.cpp - Cell SPU Instruction Information ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
; A171972: Greatest integer k such that k/n^2 < sqrt(3).
; 0,1,6,15,27,43,62,84,110,140,173,209,249,292,339,389,443,500,561,625,692,763,838,916,997,1082,1170,1262,1357,1456,1558,1664,1773,1886,2002,2121,2244,2371,2501,2634,2771,2911,3055,3202,3353,3507,3665,3826,3990,4158,4330,4505,4683,4865,5050,5239,5431,5627,5826,60... |
db "SEED@" ; species name
dw 303, 290 ; height, weight
db "The bulb on its"
next "back grows as it"
next "absorbs nutrients."
page "The bulb gives off"
next "a pleasant aroma"
next "when it blooms.@"
|
; double fmod(double x, double y)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sccz80_fmod
EXTERN am48_fmod, cm48_sccz80p_dread2
cm48_sccz80_fmod:
call cm48_sccz80p_dread2
; AC'= y
; AC = x
exx
jp am48_fmod
|
db 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 66, 66
db 66, 66, 66, 66, 66, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16
db 16, 16, 16, 16, 16, 16, 16, 16, 20, 20, 20, 20, 20, 20, 20, 20
db 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20
db 20, 20, 20, 20, 20, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84... |
NAME DELAY1MS
PUBLIC EZUSB_DELAY1MS
$include (..\..\inc\ezregs.inc)
EZUSB segment code
rseg EZUSB
EZUSB_DELAY1MS:
; Delay for 1 millisecond (1000 microseconds).
; 10 cycles * 166.6 ns per cycle is 1.66 microseconds per loop.
; 1000 microseconds / 1.66 = 602. [assumes 24 MHz clock]
;
mov a, #0 ; Clear d... |
;
; Print function
; Expects bx to point to a null-terminated string
; Prints the string to the console
;
print:
push ax
push bx
push cx
mov ah, 0x0e ; scrolling teletype routine
.print_char:
mov cx, [bx]
test cl, cl
je .exit
add bx, 1
mov al, cl
int 0x10
jmp .p... |
#include <iostream>
#include <vector>
using namespace std;
void floodfill(vector<vector<int>> &image, int i, int j, int oldColor)
{
int m = image.size();
int n = image[0].size();
if (i < 0 || j < 0 || i >= m || j >= n)
return;
if (image[i][j] == -1 || image[i][j] != oldColor)
return;
image[i][j] =... |
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... |
MVI A,#data
SIM
EI
JMP NEXT
NEXT: DI
MVI A,#C0H
SIM
EI
RET
|
; WARNING: do not edit!
; Generated from openssl/crypto/sha/asm/sha256-586.pl
;
; Copyright 2007-2020 The OpenSSL Project Authors. All Rights Reserved.
;
; Licensed under the OpenSSL license (the "License"). You may not use
; this file except in compliance with the License. You can obtain a copy
; in the file ... |
// Copyright (c) 2017-2019 Hartmut Kaiser
// Copyright (c) 2018 Shahrzad Shirzad
// Copyright (c) 2018 Tiany Zhang
//
// 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)
#if !defined(PHYLANX_PRIMITIVES_LOGICAL_OPE... |
; FILE *freopen_callee(char *filename, char *mode, FILE *stream)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _freopen_callee
EXTERN asm_freopen
_freopen_callee:
pop af
pop hl
pop... |
;
; -Greetz to all 29Aerz,and iKX'erz-
;
; Win32.Orange [created by Ebola] paired with VBS/Orange2
;
; Type: Win32 PE infector
; Size: Approx 3.0KB
; Encrypted: Yes (1 layer)
; Polymorphic: No
; Optimized: Yes, CRC api's and somewhat optimized opcodes (damn I need lessons from Super/29A:)
; Payload: No... |
#pragma comment(linker, "/stack:640000000")
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <list>
#include <map... |
copyright zengfr site:http://github.com/zengfr/romhack
0121D2 rts [123p+ 18, enemy+18]
0121D8 move.w #$200, ($2a,A0) [123p+ 18, enemy+18]
01A74C dbra D7, $1a74a
01A75E dbra D4, $1a75c
05E5F2 add.w ($18,A0), D3 [123p+ 4, enemy+ 4]
05E5F6 add.w ($8,A0), D4 [123p+ 18, enemy+18]
copyright zengfr site:h... |
#include "pch.h"
#include <microratchet.h>
#include "support.h"
#include <chrono>
template<size_t T>
static uint8_t emptybuffer[T] = {};
static constexpr size_t buffersize = 256;
static constexpr size_t buffersize_total = buffersize + 128;
#define EXPECT_NOT_EMPTY(b) EXPECT_BUFFERNE(emptybuffer<sizeof(b)>, sizeof(b)... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.6.0 #9615 (MINGW32)
;--------------------------------------------------------
.module IHM_lcd595
.optsdcc -mmcs51 --model-small
;--------------------------------------------------------
; ... |
/**
* @addtogroup DFPCs
* @{
*/
#include "ReconstructionAndIdentificationInterface.hpp"
namespace CDFF
{
namespace DFPC
{
ReconstructionAndIdentificationInterface::ReconstructionAndIdentificationInterface()
{
asn1SccFrame_Initialize(& inLeftImage);
asn1SccFrame_Initialize(& inRightImage);
asn1SccPoint... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1965b, %rdi
nop
nop
nop
nop
inc %r11
mov (%rdi), %rcx
nop
dec %rsi
lea addresses_WC_ht+0x4573, %r15
cmp %r8, %r8
mov (%r15), %r9w
nop
nop
sub $989, %r15
lea addresses_D_ht+0x1f... |
// Copyright (c) 2011-2015 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 <boost/test/unit_test.hpp>
#include <stdint.h>
#include <sstream>
#include <iomanip>
#include <limits>
#include <cma... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
#include <quic/api/QuicTransportFunctions.h>
#include <folly/Overload.h>
#include <quic/QuicConstants.h>
#include <quic/QuicExc... |
title 'Z80 instruction set exerciser'
; zexlax.z80 - Z80 instruction set exerciser
; Copyright (C) 1994 Frank D. Cringle
;
; This program is free software; you can redistribute it and/or
; modify it under the terms of the GNU General Public License
; as published by the Free Software Foundation; either vers... |
// license:BSD-3-Clause
// copyright-holders:Nigel Barnes
/**********************************************************************
PEDL Multiform Z80 2nd processor
http://chrisacorns.computinghistory.org.uk/8bit_Upgrades/Technomatic_MultiformZ80.html
TODO:
- Find utility disc, library disc, and manual... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include "ChakraHelpers.h"
#include "ChakraUtils.h"
#include "ChakraValue.h"
#include "Unicode.h"
#ifdef WITH_FBSYSTRACE
#include <fbsystrace.h>
#endif
#include <folly/Memory.h>
#include <folly/String.h>
#inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.