text stringlengths 1 1.05M |
|---|
SECTION code_clib
SECTION code_l
PUBLIC l_ltu_de_hl
l_ltu_de_hl:
; de < hl ?
; enter : hl = unsigned int
; de = unsigned int
;
; exit : carry set if de<hl, a<0
; z set if de=hl, a=0
; p,nc set if de>=hl, a>=0
; a>0 if de>hl
;
; uses : af... |
; A096921: Triangle array of binomial coefficients.
; Submitted by Simon Strandgaard
; 1,1,1,1,1,2,1,1,2,3,1,1,3,3,6,1,1,3,4,6,10,1,1,4,4,10,10,20,1,1,4,5,10,15,20,35,1,1,5,5,15,15,35,35,70,1,1,5,6,15,21,35,56,70,126,1,1,6,6,21,21,56,56,126,126,252,1,1,6,7,21,28,56,84,126,210,252,462,1,1,7,7,28,28
lpb $0
mov $1,$0
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xd35d, %rdi
mfence
movw $0x6162, (%rdi)
nop
nop
nop
sub %rcx, %rcx
lea addresses_WC_ht+0x1d2fd, %r11
nop
xor %rbp, %rbp
vmovups (%r11), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpex... |
; A053700: a(n) = 111111 in base n.
; 6,63,364,1365,3906,9331,19608,37449,66430,111111,177156,271453,402234,579195,813616,1118481,1508598,2000719,2613660,3368421,4288306,5399043,6728904,8308825,10172526,12356631,14900788,17847789,21243690,25137931
add $0,1
seq $0,152031 ; a(n) = n^5 + n^4 + n^3 + n^2 + n.
add $0,1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16f20, %rsi
lea addresses_WC_ht+0xcf40, %rdi
clflush (%rdi)
nop
nop
and $19600, %r15
mov $109, %rcx
rep movsq
nop
nop
inc %r13
lea addresses_WT_ht+0xa5bc, %rsi
lea addresses_D_ht+0xa9c... |
/* transport.cc
Copyright 2001, 2002, 2003, 2004, 2007 Red Hat Inc.
Written by Robert Collins <rbtcollins@hotmail.com>
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
/* to allow this to... |
/// \mainpage Gosu C++ Documentation
///
/// These pages serve as a reference on the C++ interface of Gosu. For a higher-level
/// discussion of concepts and ideas behind the library, see the Wiki entries linked
/// from the official website, https://www.libgosu.org/.
#pragma once
#include <Gosu/Audio.hpp>
#include <... |
;------------------------------------------------------------------------------
;
; 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... |
; ------------------------------------------------------------------------------
; Runs on 64-bit Linux only.
; To assemble, run and output binary number:
;
; export var=0b01010010001; nasm -felf64 main.asm -g -DVAR=$var && ld main.o -o main -g && ./main; echo $status; echo "print(f\"{int(bin($var)[2:]):032}\"... |
dnl AMD64 mpn_add_n, mpn_sub_n
dnl Copyright 2003-2005, 2007, 2008, 2010-2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public... |
; A097967: a(n) = Sum_{k=1..n} (P(n,k) + C(n,k)).
; Submitted by Jamie Morken(s2)
; 0,2,7,22,79,356,2019,13826,109855,986920,9865123,108507158,1302065439,16926805676,236975181187,3554627504842,56874039618751,966858672535760,17403456103546563,330665665962928286,6613313319249128575
mov $2,1
mov $3,$0
lpb $3
mul $2,$3
... |
# Si implementi la procedura subseteq così definita:
# Input: due array di interi A1 e A2
# Output: 1 se ogni elemento di A1 è presente in A2, 0 altrimenti
.text
.globl subseteq
subseteq:
subu $sp, $sp, 28
sw $s0, 12($sp)
sw $s1, 8($sp)
sw $fp, 4($sp)
sw $ra, ($sp)
addiu $fp, $sp, 24
move $s0, $a0 # $s0 ... |
PUBLIC TestSegOverride
.686
.model flat, c
extern source:word
extern dest:word
COMMENT // use of segment register is not an ERROR
ASSUME NOTHING
.code
TestSegOverride PROC
push esi
push edi
lea esi, source
lea edi, dest
push fs
push es
pop fs
... |
; uninhm
; https://www.spoj.com/problems/HELLO/
; implementation
section .text
global _start
_start:
mov eax,4
mov ebx,1
mov ecx,msg
mov edx,len
int 0x80
mov eax,1
xor ebx,ebx
int 0x80
section .data
msg db "Hello World!", 0xa
len equ $-msg
|
; A007814: Exponent of highest power of 2 dividing n, a.k.a. the binary carry sequence, the ruler sequence, or the 2-adic valuation of n.
; 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,... |
// luogu-judger-enable-o2
//【P2550】[AHOI2001] 彩票摇奖 - 洛谷 - 100
#include <map>
#include <set>
#include <iostream>
inline void insert(std::set<int> &set, int n = 7) {
for (register int i = 0; i < 7; ++i) {
register int tmp;
std::cin >> tmp;
set.insert(tmp);
}
}
int main() {
std::ios::sync_with_stdio(false);
... |
SECTION code_fp_mbf32
PUBLIC l_f32_swap
; Entry: dehl = right hand operand
; Stack: defw return address
; defw left hand LSW
; defw left hand MSW
l_f32_swap:
pop af ; Return
pop bc ; left-LSW
ex de,hl ; de = right-LSW, hl = right-MSW
ex (sp),hl ; hl = left-MSW, (sp) = right-MSW
pu... |
; A081057: E.g.f.: Sum_{n>=0} a(n)*x^n/n! = {Sum_{n>=0} F(n+1)*x^n/n!}^2, where F(n) is the n-th Fibonacci number.
; Submitted by Jamie Morken(w4)
; 1,2,6,18,58,186,602,1946,6298,20378,65946,213402,690586,2234778,7231898,23402906,75733402,245078426,793090458,2566494618,8305351066,26876680602,86974765466,281456253338,91... |
db 0 ; species ID placeholder
db 90, 85, 85, 40, 70, 55
; hp atk def spd sat sdf
db FLYING, FLYING ; type
db 90 ; catch rate
db 172 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/adbarstor... |
// Random walk with color fading for Commodore Plus/4 / C16
/// @file
/// Plus/4 / Commodore 16 registers and memory layout
///
/// http://zimmers.net/anonftp/pub/cbm/schematics/computers/plus4/264_Hardware_Spec.pdf
/// http://www.zimmers.net/anonftp/pub/cbm/schematics/computers/plus4/Plus_4_Technical_Docs.pdf
/// http... |
; A026923: Number of partitions of n into an odd number of parts, the greatest being 3; also, a(n+5) = number of partitions of n+2 into an even number of parts, each <= 3.
; Submitted by Christian Krause
; 0,0,1,0,1,1,3,2,4,3,6,5,8,7,11,9,13,12,17,15,20,18,24,22,28,26,33,30,37,35,43,40,48,45,54,51,60,57,67,63,73,70,81,... |
#ifdef _debug
#define _GLIBCXX_DEBUG
#endif
#include <bits/stdc++.h>
typedef long long ll;
using namespace std;
vector<int> solve(int n, int m, vector<ll> a, vector<ll> b, vector<ll> c,
vector<ll> d) {
vector<int> res(n);
for(int i = 0; i < n; i++) {
ll diff = 1000000000000000ll;
... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/opsworks/model/Instance.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace O... |
; A029835: [ log(n-th prime) ].
; 0,1,1,1,2,2,2,2,3,3,3,3,3,3,3,3,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,6
add $0,2
pow $0,2
mov $2,14
mov $3,4
lpb $0
add $0,1
mul $0,5
add $2,1
div $0,$2
mov $1,$2
lpe
sub $3,2
mul $1,$3
s... |
.def _dispatch
.ref c_dispatch
.text
.align 4
.armfunc _dispatch
.arm
_dispatch:
.endasmfunc
.end
|
*PROCESS DUPALIAS
*
* Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07
* on Fri Apr 30 15:35:26 2021
*
WXTRN @@ZARCH#
*
*
*
* Code Section
*
@CODE ALIAS X'7CD9C4D2C1C6D2C16DC2E4C6'
@CODE CSECT
@CODE AMODE ANY
@CODE RMODE ANY
@DATA ALIAS X'7C998492818692816D82A486'
write ALI... |
include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTEnable, 2, Wintab, -, 40
|
; A211010: Value on the axis "x" of the endpoint of the structure of A211000 at n-th stage.
; 0,1,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3,2,3,4,3
sub $0,2
mod $0,4
mov $1,$0
lpb $0
bin $1,$0
mov ... |
copyright zengfr site:http://github.com/zengfr/romhack
0061C0 move.w ($2,A3), D2 [boss+0, container+ 0, enemy+ 0]
copyright zengfr site:http://github.com/zengfr/romhack
|
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC console_01_output_char_stdio_msg_ictl
PUBLIC console_01_output_char_stdio_msg_ictl_0
EXTERN OTERM_MSG_CLS
EXTERN asm_vioctl_driver, l_jpix, l_offset_ix_de
EXTERN error_einval_zc, __stdio_nextarg_bc, __stdio_nextarg_hl
EXTERN console_01_output_char_proc_... |
;
; Bit unpacking code for SD/MMC card
;
; Stefano, 2012
;
; unsigned long UNSTUFF_BITS(unsigned char *resp, unsigned int start, unsigned int size)
;
PUBLIC UNSTUFF_BITS_callee
PUBLIC _UNSTUFF_BITS_callee
PUBLIC asm_UNSTUFF_BITS
EXTERN extract_bits_sub
.UNSTUFF_BITS_callee
._UNSTUFF_BITS_callee
pop hl
... |
; Calculator for 6502asm.com, Version 1.02, 2015.JUL.08 by Sid Liu
; It is slow in the 6502 emulator by JavaScript.
; The left top flash point is a busy indicator.
; The calculator supports keys: 'C', 'c', '0', '1', ..., '9', '+', '-' and '='.
_video_ = "0200,8000,20,20,6,000000,ffffff,880000,aaffee,cc44cc,00cc55,... |
OUTPUT "op_40_7F.bin"
;;; generate all 40..7F instructions (all common `ld xx,yy` variants + halt)
DEFARRAY registers b, c, d, e, h, l, (hl), a
R1=0
DUP 8
R2=0
DUP 8
IF R1==6 && R2==6
halt
ELSE
ld registers[R1],registers[R2]
E... |
// Stop timer on X-Cam
scope Xcam: {
lui t1, 0x8034
lhu t2, 0x9E1A (t1) // animation cycle counter
ori t3, r0, 0x01
bne t2, t3, End
sb r0, 0x9EEE (t1) // ticking
ori t2, r0, 0x7F
sh t2, 0x9EFA (t1) // hud
End:
j 0x8025D994
nop
}
|
; all behaviour routines leave
; with u pointed to the next object structure (or 0)
; GENERAL Object functions
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; also move objects, moving for "normal" enemies "X" is decrease of scale
do_objects
ldu list_objects_head
... |
; A105032: Binary equivalents of A103745.
; Submitted by Christian Krause
; 1,10,101,1000,10001,100010,1000001,10000000,100000001,1000000010,10000000101,100000000000,1000000000001,10000000000010,100000000000001,1000000000000000,10000000000000001,100000000000000010,1000000000000000101,10000000000000001000,10000000000000... |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2012 Zach Byerly
// Copyright (c) 2012 Bryce Adelstein-Lelbach
//
// 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)... |
; A120167: a(1)=9; a(n)=floor((39+sum(a(1) to a(n-1)))/4).
; 9,12,15,18,23,29,36,45,56,70,88,110,137,171,214,268,335,418,523,654,817,1021,1277,1596,1995,2494,3117,3896,4870,6088,7610,9512,11890,14863,18579,23223,29029,36286,45358,56697,70872,88590,110737,138421,173027,216283,270354,337943,422428,528035,660044,825055,10... |
// Copyright (c) 2015-2017 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/
#ifndef TAOCPP_JSON_INCLUDE_INTERNAL_VALUE_UNION_HPP
#define TAOCPP_JSON_INCLUDE_INTERNAL_VALUE_UNION_HPP
#include <cstdint>
#include <map>
#include <string>
#include <vector>
namesp... |
@1023
D=A
@SCREEN
M=D
(END)
@END
0;JMP
|
; A051398: a(n) = -(n-3)*a(n-1)+2*(n-2)^2.
; 2,6,6,14,-6,102,-514,3726,-29646,267014,-2669898,29369166,-352429654,4581585894,-64142202066,962133031502,-15394128503454,261700184559366,-4710603322067866,89501463119290254
add $0,6
mov $2,5
lpb $0
sub $0,1
mul $1,$2
sub $1,1
sub $2,1
lpe
sub $1,$2
div $1,2
mul $1,... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.26.28720.3
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG30706 DB 'Hello World!', 0aH, 00H
ORG $+2
$SG30707 DB '%lld', 0aH, 00H
ORG $+2
$SG30708 DB '%I64d', 0aH, 00H
ORG $+1
$SG30709 DB 'Hello World 1!', 0aH, 00H
$SG... |
; A111007: Triangle T(n,m) which contains in row n the rounded ordinate value at abscissa m along the upper rim of the circle with diameter n centered at (n/2, 1).
; 1,1,1,1,2,1,1,2,2,1,1,3,3,3,1,1,3,3,3,3,1,1,3,4,4,4,3,1,1,3,4,4,4,4,3,1,1,4,4,5,5,5,4,4,1,1,4,5,5,5,5,5,5,4,1,1,4,5,6,6,6,6,6,5,4,1,1,4,5,6,6,6,6,6,6,5,4,... |
/* Copyright (c) 2018 PaddlePaddle 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... |
#include <unordered_map>
#include "nv_partitioner.hpp"
void NvPartitioner::partitioner_report()
{
rep (i, p)
DLOG(INFO) << "vertices in partition " << i << ": " << this->partitions[i].size();
std::vector<size_t> counts;
std::transform(this->partitions.begin(), this->partitions.end(),
std::b... |
; A269538: Number of length-4 0..n arrays with no repeated value differing from the previous repeated value by other than one.
; 10,64,222,568,1210,2280,3934,6352,9738,14320,20350,28104,37882,50008,64830,82720,104074,129312,158878,193240,232890,278344,330142,388848,455050,529360,612414,704872,807418,920760,1045630,1182... |
; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 6/9/98 djm
PUBLIC l_and
; "and" HL and DE into HL
.l_and
ld a,l
and e
ld l,a
ld a,h
and d
ld h,a
... |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------... |
/*
* Copyright (c) 2008-2010
* Nakata, Maho
* All rights reserved.
*
* $Id: Rlagtf.cpp,v 1.7 2010/08/07 04:48:32 nakatamaho Exp $
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributi... |
// Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/api/atom_api_cookies.h"
#include <memory>
#include <utility>
#include "base/time/time.h"
#include "base/values.h"
#include "content/public/browser/browser_con... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Library/Text/TextAttr
FILE: textManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 9/17/91 Initial version
DES... |
#include "Servo.h"
#define SERVO_PWMx NRF_PWM2
#define PWM_POLARITY_FALLING_EDGE 0x8000 //HIGH
#define PWM_POLARITY_RISING_EDGE 0x0000 //LOW
#define PWM_POLARITY_MODE PWM_POLARITY_FALLING_EDGE
#define PWM_CHANNEL0_ENABLE 0x01
#define PWM_CHANNEL1_ENABLE 0x02
#define PWM_CHA... |
#include <gtest/gtest.h>
#include <vector>
#include "tatami/base/DenseMatrix.hpp"
#include "tatami/utils/convert_to_dense.hpp"
#include "tatami/utils/convert_to_sparse.hpp"
#include "tatami/stats/ranges.hpp"
#include "../data/data.h"
TEST(ComputingDimMins, RowMins) {
auto dense_row = std::unique_ptr<tatami::Num... |
// =========================================================================
// This library is placed under the MIT License
// Copyright 2017-2018 Natanael Josue Rabello. All rights reserved.
// For the license information refer to LICENSE file in root directory.
// ====================================================... |
; A025776: Expansion of 1/((1-x)(1-x^5)(1-x^6)).
; 1,1,1,1,1,2,3,3,3,3,4,5,6,6,6,7,8,9,10,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,28,30,31,32,33,35,37,39,40,41,43,45,47,49,50,52,54,56,58,60,62,64,66,68,70
mov $2,$0
lpb $0
sub $0,4
mov $3,$0
sub $0,1
add $1,$3
trn $2,6
sub $1,$2
lpe
add $1,1
mov $0,... |
[BotW_AspectRatio_Shared]
moduleMatches = 0xD91A406D,0x0F748D9C,0x9A61FF4C,0x8E3324A9,0xD71D859D,0x6FD41A61,0x9A2CA0C7,0x29DBB52A,0xFD091F9F,0xD472D8A5,0x6267BFD0
.origin = codecave
aspectRatio:
.float $width/$height
[BotW_AspectRatio_V33]
moduleMatches = 0xD91A406D
; rodata constants
0x10197FC0 = .float $width/$h... |
header_VmAdd
vm_add PROC
push ebp
mov ebp, esp
; read the first operand
push [ebp+arg0]
call_vm_stack_pop_enc
push eax
; read the second operand
push [ebp+arg0]
call_vm_stack_pop_enc
; do operation
pop ecx
add ecx, eax
; push result
push ecx
push [ebp+arg0]
call_vm_stack_push_enc
mov esp, ebp
p... |
include "reg.inc"
section "oam", rom0
; ```
; oam_init()
; ```
oam_init::
ld bc, oam_hram
ld de, oam_hram.end
ld hl, oam_dma
call mem_copy
ld hl, oam_data
ld bc, oam_data.end
ld d, 0
jp mem_fill
; ```
; oam_update()
; ```
oam_update::
ld hl, oam_halt
ld [hl], 0
.loop:
halt
bit 0, ... |
/* Copyright (c) 2012 BDT Media Automation GmbH
*
* 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 la... |
; void *obstack_int_grow(struct obstack *ob, int data)
SECTION code_clib
SECTION code_alloc_obstack
PUBLIC _obstack_int_grow
EXTERN asm_obstack_int_grow
_obstack_int_grow:
pop af
pop hl
pop bc
push bc
push hl
push af
jp asm_obstack_int_grow
|
[BotW_InfiniteDaruk_V208]
moduleMatches = 0x6267BFD0
0x02D74498 = nop
[BotW_InfiniteDaruk_V176V192]
moduleMatches = 0xFD091F9F,0xD472D8A5
0x02D73EFC = nop
|
section .text
org 0x100
jmp _entry ; call entry so I can main()
;NCommander's itoa function.
_addressToHex:
push bp
mov bp,sp
xor ax, ax
xor dx, dx
mov di, [bp+6] ; string
add di, 4
mov ax, [bp+4] ; num
mov bx, 16
mov cx, [bp+8] ; loop counter
processloop:
div bx
cmp dx, 9
jg handleHex
ad... |
; originally from tianon/sleeping-beauty
; https://github.com/tianon/dockerfiles/tree/master/sleeping-beauty
; this is especially thanks to:
; http://blog.markloiseau.com/2012/05/tiny-64-bit-elf-executables/
BITS 64
org 0x00400000 ; Program load offset
; 64-bit ELF header
ehdr:
; 1), 0 (ABI ver.)
db 0x7F, "ELF", ... |
/*
* Copyright (c) 2021 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#include <memory>
#include "database.h"
#inc... |
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
;; ==++==
;;
;;
;; ==--==
#include "ksarm.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT JIT_InternalThrow
IMPORT JIT_WriteBarrier
IMPORT TheUMEntryPrestubW... |
#include "mepch.h"
|
; A095808: Number of ways to write n in the form m + (m+1) + ... + (m+k-1) + (m+k) + (m+k-1) + ... + (m+1) + m with integers m>= 1, k>=1. Or, number of divisors a of 4n-1 with 0 < (a-1)^2 < 4n.
; Submitted by Jon Maiga
; 0,0,0,1,0,0,1,0,1,1,0,0,1,1,0,2,0,0,2,0,0,1,1,1,2,0,0,1,1,1,1,0,0,3,0,1,2,0,1,1,0,0,2,2,0,1,1,0,3,0... |
std::vector<std::string> getTypos(const std::string commitMsg);
|
/**
*************** (C) COPYRIGHT 2015 STMicroelectronics ************************
* @file startup_stm32f103xe.s
* @author MCD Application Team
* @version V4.0.1
* @date 31-July-2015
* @brief STM32F103xE Devices vector table for Atollic toolchain.
* This module perform... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xe295, %rsi
lea addresses_normal_ht+0x19d35, %rdi
nop
inc %r8
mov $35, %rcx
rep movsq
nop
nop
sub $6322, %r11
lea addresses_UC_ht+0xcb35, %rbx
nop
nop
nop
nop
nop
xor $2437, %... |
// lm/arpa2fst.cc
//
// Copyright 2009-2011 Gilles Boulianne.
//
// 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
// THIS CODE IS PROVIDED *A... |
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; string.asm
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Forrest Yu, 2005
; ++++++++++++++++++++++++++++++++++++++++++++++++++++... |
#ifndef ASLAM_BACKEND_TV_QUAT_HPP
#define ASLAM_BACKEND_TV_QUAT_HPP
#include "TransformationExpressionNode.hpp"
#include <Eigen/Core>
#include "RotationExpression.hpp"
#include "EuclideanExpression.hpp"
namespace aslam {
namespace backend {
class TransformationBasic : public TransformationExpressionNode
... |
\ Example 1.2
\ Write ABC characters to Mode 7 screen
\ Using BeebASM assembler
oswrch = &FFEE
screen = 32320
ORG &2000
.start
LDA #22 \ Change to Mode 7
JSR oswrch
LDA #7
JSR oswrch
LDA #65
LDX #66
LDY #67
STA screen
STX screen+1
STY screen+2
.finish
RTS
.end
SAVE "M... |
sw $1,0($0)
sw $4,16($0)
addu $4,$3,$3
lb $0,1($0)
sltiu $1,$0,6294
slti $5,$3,5605
addiu $0,$3,-4660
xori $4,$4,32352
addu $5,$4,$3
and $5,$5,$3
sh $5,0($0)
addu $3,$4,$3
lw $5,16($0)
addu $6,$1,$3
sllv $3,$5,$3
lbu $4,16($0)
sh $4,14($0)
lbu $3,6($0)
subu $0,$5,$3
lhu $3,16($0)
sw $1,12($0)
lb $4,1($0)
ori $0,$4,3735... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
/**
@file
@author Nicholas Gillian <ngillian@media.mit.edu>
@version 1.0
@section LICENSE
GRT MIT License
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"... |
/*
Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.
Symbol Value
I 1
V 5
X 10
L 50
C 100
D 500
M 1000
For example, two is written as II in Roman numeral, just two one's added together. Twelve is ... |
/*
* 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, publis... |
; A077942: Expansion of 1/(1-2*x+x^2+2*x^3).
; Submitted by Jamie Morken(s1)
; 1,2,3,2,-3,-14,-29,-38,-19,58,211,402,477,130,-1021,-3126,-5491,-5814,115,17026,45565,73874,68131,-28742,-273363,-654246,-977645,-754318,777501,4264610,9260355,12701098,7612621,-15996566,-65007949,-129244574,-161488067,-63715662,292545891,97... |
DATA SEGMENT
MSG DB 'HELLO WORLD!$'
ENDS
CODE SEGMENT
ASSUME DS:DATA CS:CODE
START:
MOV AX, DATA
MOV DS, AX
LEA DX, MSG
MOV AH, 09H
INT 21H
MOV AH, 01
INT 21H
MOV AH, 4CH
INT 21H
ENDS
END START
|
;234567890123456789012345678901234567890123456789012345
.lf vtl02a1.lst
.cr 6502
.tf vtl02a1.obj,ap1
;------------------------------------------------------
; 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... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__new_delete_int_82_goodB2G.cpp
Label Definition File: CWE415_Double_Free__new_delete.label.xml
Template File: sources-sinks-82_goodB2G.tmpl.cpp
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using new and Deallocae data... |
/*
* PROGRAM: JRD Access Method
* MODULE: err.cpp
* DESCRIPTION: Bug check routine
*
* The contents of this file are subject to the Interbase Public
* License Version 1.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.Inp... |
//===-- lib/MC/MCDisassembler.cpp - Disassembler interface ------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
page 70,120
Name VIRUS
;*************************************************************************
; Program Virus Ver.: 1.1
; Copyright by R. Burger 1986
; This is a demonstration program for computer
; viruses. It has the ability to replicate itself,
; and the... |
; A240932: a(n) = n^9 - n^8.
; 0,0,256,13122,196608,1562500,8398080,34588806,117440512,344373768,900000000,2143588810,4729798656,9788768652,19185257728,35880468750,64424509440,111612119056,187339329792,305704134738,486400000000,756457187220,1152393344256,1722841676182,2531732226048,3662109375000,5220676614400,734316794... |
MAKE struct
hThread dd ?
hRead dd ?
hWrite dd ?
pInfo PROCESS_INFORMATION <?>
uExit dd ?
buffer db 512 dup(?)
MAKE ends
.data
defPathBin db 'C:\masm32\bin',0
defPathInc db 'C:\masm32\include',0
defPathLib db 'C:\masm32\lib',0
ExtRC db '.rc',0
ExtRes db '.res',0
ExtObj ... |
; A224999: Duplicate of A001651.
; 1,2,4,5,7,8,10,11,13,14,16,17,19,20,22,23,25,26,28,29,31,32,34,35,37,38,40,41,43,44,46,47,49,50,52,53,55,56,58,59,61,62,64,65,67,68,70,71,73,74,76,77,79,80,82,83,85,86,88,89,91,92,94,95,97,98,100,101,103,104,106,107,109,110,112,113,115,116,118,119,121,122,124,125,127,128,130,131,133,1... |
#include "sqlcombobox.h"
#include <models/sqltablemodel.h>
#include <utils/sqlsharedutils.h>
#include <QTimer>
#include <QTableView>
#include <QHeaderView>
#include <QSortFilterProxyModel>
void SqlComboBox::setModel(QAbstractItemModel* model)
{
QComboBox::setModel(model);
m_sqlModel = nullptr;
}
QModelIndex ... |
#include "normal_brush.h"
#include "spawn_actor_map_element.h"
#include "map_system.h"
#include "map_element_factory.h"
#include "engine/engine.h"
#include "input/mouse.h"
#include "../position_component.h"
#include "editor_target_system.h"
#include "../i_collision_component.h"
#include "editor_grid_system.h"
#include ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1e5f6, %rsi
lea addresses_UC_ht+0x81f6, %rdi
nop
nop
nop
nop
inc %rbp
mov $37, %rcx
rep movsb
and $64764, %r14
lea addresses_WC_ht+0x115e6, %rsi
lea addresses_WC_ht+0x185... |
db 0 ; species ID placeholder
db 65, 65, 60, 130, 110, 95
; hp atk def spd sat sdf
db NORMAL, ELECTRIC ; type
db 45 ; catch rate
db 197 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 35 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/jolteo... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
; $Id: Win2kWorkaroundsA.asm $
;; @file
; VirtualBox Windows Guest Shared Folders - Windows 2000 Hacks, Assembly Parts.
;
;
; Copyright (C) 2006-2012 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can re... |
.data
extern PA : qword
.code
JMPtoAPI proc
jmp qword ptr [PA]
JMPtoAPI endp
end |
; A313683: Coordination sequence Gal.5.100.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,15,19,23,27,32,37,42,47,52,57,61,65,69,74,79,84,89,94,99,103,107,111,116,121,126,131,136,141,145,149,153,158,163,168,173,178,183,187,... |
;------------------------------------------------------------------------------
;
; 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x78e5, %rsi
lea addresses_normal_ht+0x48e5, %rdi
clflush (%rsi)
sub %r11, %r11
mov $120, %rcx
rep movsb
nop
nop
nop
add %r14, %r14
lea addresses_A_ht+0x156e5, %r8
nop
nop
... |
; A060886: a(n) = n^4 - n^2 + 1.
; 1,1,13,73,241,601,1261,2353,4033,6481,9901,14521,20593,28393,38221,50401,65281,83233,104653,129961,159601,194041,233773,279313,331201,390001,456301,530713,613873,706441,809101,922561,1047553,1184833,1335181,1499401,1678321,1872793,2083693,2311921,2558401,2824081,3109933,3416953,374616... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.