text stringlengths 1 1.05M |
|---|
EXTRN sEnter : BYTE
PUBLIC PR_input
Data SEGMENT PUBLIC
s_end DB 13,10,'<entered>',13,10,'$'
Data ENDS
Code SEGMENT PUBLIC 'CODE'
ASSUME CS:Code
PR_input PROC NEAR
begin:
PUSH BX
PUSH DX
PUSH SI
MOV AX, 0
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x42d, %rsi
lea addresses_A_ht+0x8b2d, %rdi
clflush (%rsi)
nop
nop
nop
xor $55151, %rbx
mov $118, %rcx
rep movsl
nop
nop
add %r13, %r13
lea addresses_WC_ht+0x198ed, %rbp
nop
n... |
/* -----------------------------------------------------------------------------
Copyright (c) 2012 Niels Fröhling niels@paradice-insight.us
Copyright (c) 2019 Christian Spanier github@boxie.eu
Permission is hereby granted, free of charge, to any person obtaining
a copy of thi... |
; A173512: a(n) = 8*n + 4 + n mod 2.
; 4,13,20,29,36,45,52,61,68,77,84,93,100,109,116,125,132,141,148,157,164,173,180,189,196,205,212,221,228,237,244,253,260,269,276,285,292,301,308,317,324,333,340,349,356,365,372,381,388,397,404,413,420,429,436
mov $1,$0
mul $0,8
mod $1,2
add $0,$1
add $0,4
|
db DITTO ; pokedex id
db 48 ; base hp
db 48 ; base attack
db 48 ; base defense
db 48 ; base speed
db 48 ; base special
db NORMAL ; species type 1
db NORMAL ; species type 2
db 35 ; catch rate
db 61 ; base exp yield
INCBIN "pic/gsmon/ditto.pic",0,1 ; 55, sprite dimensions
dw DittoPicFront
dw DittoPicBack
; attacks known... |
Drowning_Header:
smpsHeaderStartSong 2
smpsHeaderVoice Drowning_Voices
smpsHeaderChan $06, $00
smpsHeaderTempo $01, $80
smpsHeaderDAC Drowning_DAC
smpsHeaderFM Drowning_FM1, $0C, $08
smpsHeaderFM Drowning_FM2, $E8, $0E
smpsHeaderFM Drowning_FM3, $F4, $40
smpsHeaderFM ... |
; A061776: Start with a single triangle; at n-th generation add a triangle at each vertex, allowing triangles to overlap; sequence gives number of triangles in n-th generation.
; 1,3,6,12,18,30,42,66,90,138,186,282,378,570,762,1146,1530,2298,3066,4602,6138,9210,12282,18426,24570,36858,49146,73722,98298,147450,196602,29... |
; A229581: Number of defective 3-colorings of an n X 3 0..2 array connected horizontally and antidiagonally with exactly one mistake, and colors introduced in row-major 0..2 order.
; Submitted by Jon Maiga
; 2,28,264,2160,16416,119232,839808,5785344,39191040,262020096,1733363712,11367641088,74010599424,478892113920,308... |
//=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... |
user/_stressfs: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/fs.h"
#include "kernel/fcntl.h"
int
main(int argc, char *argv[])
{
0: dd010113 addi sp,sp,-560
4: 22113423 sd ra,552(sp)
8: 22813023 sd s0,544(sp)
c: 2... |
; A209971: a(n) = A000129(n) + n.
; 0,2,4,8,16,34,76,176,416,994,2388,5752,13872,33474,80796,195040,470848,1136706,2744228,6625128,15994448,38613986,93222380,225058704,543339744,1311738146,3166815988,7645370072,18457556080,44560482178,107578520380,259717522880,627013566080,1513744654978,3654502875972,8822750406856,2130... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x68ed, %rsi
lea addresses_WC_ht+0x1dbf1, %rdi
nop
nop
nop
and %r15, %r15
mov $119, %rcx
rep movsq
nop
xor %rbx, %rbx
lea addresses_WC_ht+0x13def, %r14
clflush (%r14)
nop
nop
... |
; A029883: First differences of Thue-Morse sequence A001285.
; 1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-1,1,-1,0,1,-1,1,0,-1,0,1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-1,0,1,0,-1,1,-1,0,1,-1,1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-1,1,-1,0,1,-1,1,0,-1,0,1,0,-1,1,-1,0,1,-1,1,0,-1,1,-1,0,1,0,-1,0,1,-1,1,0,-1,0,1,0,-1,1
seq $0,36577 ; Ternary ... |
; A129194: a(n) = n^2*(3/4 - (-1)^n/4).
; 0,1,2,9,8,25,18,49,32,81,50,121,72,169,98,225,128,289,162,361,200,441,242,529,288,625,338,729,392,841,450,961,512,1089,578,1225,648,1369,722,1521,800,1681,882,1849,968,2025,1058,2209,1152,2401,1250,2601,1352,2809,1458,3025,1568,3249,1682,3481,1800,3721,1922,3969,2048,4225,2178,... |
#include <boost/config/warning_disable.hpp>
#define BOOST_SPIRIT_USE_PHOENIX_V3
#define BOOST_SPIRIT_UNICODE
#include "text/rigger.h"
#include "utf8.h"
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/support_standard_wide.hpp>
#include <boost/spirit/include/qi_parse.hpp>
#include <boost/phoenix.h... |
;; Prints "Hello, World!"
;;
;; nasm -felf64 hello_world.asm && ld hello_world.o && ./a.out
global _start
section .text
_start:
mov rax, 1 ; syscall code for write into rax/R0
mov rdi, 1 ; file handle 1 - stdout into rdi/R7
mov rsi, message ... |
.386p
page 58,132
;=============================================================================
title W I N S R C H - searches for EMS and UMB windows
;=============================================================================
;==
;== (C) Copyright MICROSOFT Corp. 1990-1991
;== (C) Copyright COMPAQ Computer Corp.... |
//
// Copyright (c) 2011-2012, ARM Limited. All rights reserved.
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribution. The full text of the license may be found at
// http://opensource.org/lice... |
;*****************************************************************
;* 15-348 Spring 2016 Assignment Task 5 By Sharjeel Khan *
;* Initial Code was taken from lab1.asm from course webpage *
;* and editted for the assignment
;*****************************************************************
; export sy... |
XREF MYRAM
XREF CNTVAL
XREF CNTVAL1
XREF COUNTREG
XDEF CAL_CHKSUM
CAL_CHKSUM
LDAA #CNTVAL
STAA COUNTREG
LDX #MYRAM
CLRA
B2 ADDA 1,X+
DEC COUNTREG
BNE B2
NEGA
STAA 0,X
RTS
END
|
; A056182: First differences of A003063.
; 0,2,10,38,130,422,1330,4118,12610,38342,116050,350198,1054690,3172262,9533170,28632278,85962370,258018182,774316690,2323474358,6971471650,20916512102,62753730610,188269580438,564825518530,1694510110022,5083597438930,15250926534518,45753048039010,137259680987942,411780116705650... |
; A338130: Positive numbers k such that the ternary representation of k^k ends with that of k.
; 1,4,7,10,19,28,37,46,55,64,73,82,109,136,163,190,217,244,271,298,325,352,379,406,433,460,487,514,541,568,595,622,649,676,703,730,811,892,973,1054,1135,1216,1297,1378,1459,1540,1621,1702,1783,1864,1945,2026,2107,2188,2269,23... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x8760, %r15
nop
nop
dec %r8
mov (%r15), %rbx
xor %r10, %r10
lea addresses_normal_ht+0xd528, %rsi
lea addresses_WC_ht+0x1a540, %rdi
sub $17714, %rdx
mov $88, %rcx
rep movsq... |
; A328337: The number whose binary indices are the nontrivial divisors of n (greater than 1 and less than n).
; 0,0,0,2,0,6,0,10,4,18,0,46,0,66,20,138,0,294,0,538,68,1026,0,2222,16,4098,260,8266,0,16950,0,32906,1028,65538,80,133422,0,262146,4100,524954,0,1056870,0,2098186,16660,4194306,0,8423598,64,16777746,65540
add ... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/views/controls/label.... |
/*************************************************************
** Program name: setSpacePointers.cpp
** Author: Ben Fridkis
** Date: 5/31/2017
** Description: Member function definition to set each Space
pointer's adjacent Spaces at beginning of each
game.
************************************************... |
; A248217: a(n) = 8^n - 2^n.
; 0,6,60,504,4080,32736,262080,2097024,16776960,134217216,1073740800,8589932544,68719472640,549755805696,4398046494720,35184372056064,281474976645120,2251799813554176,18014398509219840,144115188075331584,1152921504605798400
mov $1,1
mov $2,1
lpb $0
sub $0,1
mul $1,8
mul $2,2
lpe
sub ... |
/* GNU Ocrad - Optical Character Recognition program
Copyright (C) 2003-2015 Antonio Diaz Diaz.
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 version 2 of the License, or
... |
// Copyright 2011 by BBN Technologies Corp.
// All Rights Reserved.
#include "Generic/common/leak_detection.h"
#include "Generic/docRelationsEvents/StructuralRelationFinder.h"
#include "Generic/docRelationsEvents/xx_StructuralRelationFinder.h"
boost::shared_ptr<StructuralRelationFinder::Factory> &Struc... |
BITS 32
SEGMENT .text
_s:
mov eax, ecx
mov ebx, 2
mul bh
ret
|
db 1,0,17,0
db 0,0,15,0
db 0,0,13,0
db 0,0,5,0
db 1,0,10,0
db 1,11,17,0
db 0,11,15,0
db 0,11,13,0
db 0,11,5,0
db 1,11,10,0
db 1,33,17,0
db 0,33,15,0
db 0,33,13,0
db 0,33,5,0
db 1,33,10,0
db 1,44,17,0
db 0,44,15,0
db 0,44,13,0
db 0,44,5,0
db 1,44,10,0
db 1,55,17,0
db 0,55,15,0
db 0,55,13,0
... |
; Test functions for fe10_carry.asm
;
; Author: Daan Sprenkels <hello@dsprenkels.com>
global crypto_scalarmult_curve13318_avx2_fe10x4_carry
global crypto_scalarmult_curve13318_avx2_fe10x4_carry2
%include "fe10x4_carry.mac.asm"
section .text
crypto_scalarmult_curve13318_avx2_fe10x4_carry2:
fe10x4_carry_load rdi
... |
## Program to bitwise OR, AND, and XOR two patterns
.text
.globl main
main:
ori $15, $0,0x0FA5 # put bit pattern register into $15
ori $8,$15,0x368F # OR with second pattern
andi $9,$15,0x368F # AND with second pattern
xori $10,$15,0x3... |
; A015195: Sum of Gaussian binomial coefficients for q=9.
; Submitted by Stefano Spezia
; 1,2,12,184,9104,1225248,540023488,652225844096,2584219514040576,28081351726592246272,1001235747932175990213632,97915621602690773814148184064,31420034518763282871588038742544384,27654326463468067495668136467306727743488,79865567376... |
; A016749: a(n) = (2*n)^9.
; 0,512,262144,10077696,134217728,1000000000,5159780352,20661046784,68719476736,198359290368,512000000000,1207269217792,2641807540224,5429503678976,10578455953408,19683000000000,35184372088832,60716992766464,101559956668416,165216101262848,262144000000000,406671383849472,618121839509504,92219... |
; A056174: Number of non-monotone maps from 1,...,n to 1,...,n.
; 0,0,0,10,190,2878,45738,820118,16764354,387371878,9999815254,285310965190,8916097744112,302875096191666
mov $1,$0
sub $2,$0
sub $1,$2
bin $1,$0
pow $0,$0
add $1,$2
sub $0,$1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1c3f6, %rsi
lea addresses_A_ht+0x4b26, %rdi
nop
nop
cmp $26643, %r12
mov $30, %rcx
rep movsq
nop
nop
nop
nop
add %rbp, %rbp
lea addresses_WC_ht+0x7078, %rdx
nop
sub $515... |
#import "64spec/lib/64spec.asm"
#import "../lib/math-global.asm"
sfspec: init_spec()
describe("dec16")
it("of 0 gives 65535"); {
c64lib_dec16(dec16ZeroActual)
assert_equal16 dec16ZeroActual: dec16ZeroExpected
}
it("of 5 gives 4"); {
c64lib_dec16(dec16Actual)
assert_equal16 dec16Actual: dec16E... |
// Created on: 1995-04-05
// Created by: Christophe MARION
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-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 ... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Epson LX 9-pin driver
FILE: eplx9jx80Info.asm
AUTHOR: Dave Durran, 28 Mar 1990
REVISION HISTORY:
Name Date Description
---- ---- ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1612a, %rsi
lea addresses_D_ht+0x1be0a, %rdi
inc %r12
mov $12, %rcx
rep movsb
nop
nop
nop
nop
nop
and %r8, %r8
lea addresses_A_ht+0x13082, %r11
nop
nop
nop
nop
nop
sub $2316,... |
SECTION code_clib
PUBLIC ansi_del_line
EXTERN ansi_del_line_generic
defc ansi_del_line = ansi_del_line_generic
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x136df, %rsi
lea addresses_WC_ht+0x126a7, %rdi
clflush (%rsi)
nop
nop
nop
add %r8, %r8
mov $114, %rcx
rep movsq
nop
nop
nop
nop
and %r8, %r8
lea addresses_normal_ht+0x7a67, %rax
nop
nop
... |
MAGIC equ 0x1BADB002
MBALIGN equ 1 << 0
MEMINFO equ 1 << 1
CHECKSUM equ -(MAGIC + (MBALIGN | MEMINFO))
KiB equ 1024
MiB equ KiB * 1024
; define the multiboot header
section .multiboot
align 4
magic dd MAGIC
flags dd MBALIGN | MEMINFO
checksum dd CHECKSUM
section .data
KERNEL_V_ADDR equ 0xC0000000
KERNEL_V_PAGENO ... |
AREA |.text|,CODE,ALIGN=8,ARM64
EXPORT |add_mod_384|[FUNC]
ALIGN 32
|add_mod_384| PROC
DCDU 3573752639
stp x29,x30,[sp,#-48]!
add x29,sp,#0
stp x19,x20,[sp,#16]
stp x21,x22,[sp,#32]
ldp x4,x5,[x3]
ldp x6,x7,[x3,#16]
ldp x8,x9,[x3,#32]
bl __add_mod_384
ldr x30,[sp,#8]
stp x10,x11,[x0]
stp x12,x13,[x... |
!cpu w65c02
*=$0801
!byte $0C,$08,$0A,$00,$9E,' ','2','0','6','4',$00,$00,$00
*=$0810
!src "vtuilib-acme.inc"
jmp main
Buffer !skip 10 ; Buffer for 10 characters
Str !pet "name:"
StrLen !byte 0
main:
ldx #(BLUE<<4)|WHITE ; Clear screen with blue background
lda #' ' ; and white foreground
jsr vtui_clr_scr
... |
// Copyright © 2017-2020 Khaos Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "Transaction.h"
#include "BinaryCoding.h"
#include... |
/**
* @file OStream.cpp
* @brief Implementations of wrapper classes for C++ standard output streams.
* @author Akiya Jouraku
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, an... |
_mkdir: 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 ... |
#include "Catch.hpp"
#include "RaZ/Math/Matrix.hpp"
#include "RaZ/Math/Vector.hpp"
namespace {
// Declaring matrices to be tested
const Raz::Mat3f mat31({{ 4.12f, 25.1f, 30.7842f },
{ 3.04f, 5.f, -64.5f },
{ -1.f, -7.54f, 8.41f }});
const Raz::Mat3f mat32({{ ... |
;RaTol Symbolinen konekieli: koeteht 2
;Tero Kukka IY96A
;Tiedosto: alik2.asm
;Luotu 27.4.1998
;Aliohjelma _etsi:
public _etsi ;near
.model small ;huom! muistimalli
.stack 00h ;pinon koko
.data ;muuttujalohko
.code
... |
// Copyright 2021 Google LLC
//
// 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 ... |
{
let r := 0
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
256
shl
=: r
switch r
case 0 {
}
default {
0
0
revert
}
///
r := 0
2
1
shl
=: r
switch r
case 4 {
}
default {
0
0
revert
}
///
r := 0
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_normal+0xdbb9, %r14
nop
nop
nop
and %r9, %r9
mov (%r14), %r8d
nop
nop
nop
dec %rax
// REPMOV
lea addresses_D+0x1acb9,... |
.MODEL SMALL
.STACK 100H
.DATA
STR1 DB "ENTER a to z: $"
I1 DB 50 DUP("$")
I2 DB 50 DUP("$")
NEW DB 10,13,"$"
MAIN PROC
CODE SEGMENT
ASSUME DS:DATA,CS:CODE
START:
MOV AX,@DATA
MOV DS,AX
LEA SI,I1
MOV AH,09H
LEA DX,STR1
... |
; BeepFX sound effect by shiru
; http://shiru.untergrund.net
SECTION rodata_clib
SECTION rodata_sound_bit
PUBLIC _bfx_0
_bfx_0:
; Shot_1
defb 1 ;tone
defw 20,50,2000,65486,128
defb 0
|
segment .text
align 4
f:
push ebp
mov ebp, esp
sub esp, 4
push dword 2
lea eax, [ebp+-4]
push eax
pop ecx
pop eax
mov [ecx], eax
lea eax, [ebp+-4]
push eax
pop eax
push dword [eax]
pop eax
leave
ret
align 4
global _main:function
_main:
align 4
xpl:
push ebp
mov ebp, esp
sub esp, 4
push dword 0
lea ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 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 so... |
; HOTKEY use routine V2.00 1988 Tony Tebby QJUMP
section hotkey
xdef hk_thuse
xref hk_ckjob
include 'dev8_keys_qlv'
include 'dev8_keys_err'
include 'dev8_ee_hk_data'
; check if job still exists
hku_ckjb
cmp.b #-1,hkd_act+hkd.thg(a1) ; used... |
extern scanf
extern printf
section .data
poczatek dd 0
przesuniecie dd 0
suma dd 0
format db "%d",0
napis1 db "Podaj poczatek przedzialu: ",0
napis2 db "Podaj ilość wyrazow: ",0
format2 db "Suma: %d",10,0
section .text
global main
main:
xor rax, rax
mov rdi, napis1
call printf
xor rax, rax
mov rdi,... |
/*
* The MIT License
*
* Copyright 2016 annas.
*
* 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, m... |
; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s --implicit-check-not=error:
.code
; CHECK: error: Vararg parameter 'param' should be last in the list of parameters
; CHECK: error: unexpected 'ENDM' in file, no current macro definition
early_vararg_macro MACRO param:vararg, trailing_param
ENDM
; CHECK: er... |
; ASM source file created by SevenuP v1.20
; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Frames: 2
;Sort Priorities: X char, Char line, Y char, Frame number
;Data Outputted: Gfx
;Interleave: Sprite
;M... |
@256
D=A
@SP
M=D
@7
D=A
@SP
A=M
M=D
@SP
M=M+1
@8
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
@SP
A=M
D=M
@SP
M=M-1
@SP
A=M
A=M
D=D+A
@SP
A=M
M=D
@SP
M=M+1
|
;------------------------------------------------------------------------------
;
; 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... |
; A177712: Even numbers that have a nontrivial odd divisor.
; 6,10,12,14,18,20,22,24,26,28,30,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,16... |
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x2919- f:00024 d: 281 | OR[281] = A
0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0003 (0x000006) 0x291A- f:00024 d: 282 | OR[282] = A
... |
; A169498: Number of reduced words of length n in Coxeter group on 5 generators S_i with relations (S_i)^2 = (S_i S_j)^34 = I.
; 1,5,20,80,320,1280,5120,20480,81920,327680,1310720,5242880,20971520,83886080,335544320,1342177280,5368709120,21474836480,85899345920,343597383680,1374389534720,5497558138880,21990232555520,87... |
; A189662: Positions of 0 in A189661; complement of A026356.
; 1,3,5,6,8,10,11,13,14,16,18,19,21,23,24,26,27,29,31,32,34,35,37,39,40,42,44,45,47,48,50,52,53,55,57,58,60,61,63,65,66,68,69,71,73,74,76,78,79,81,82,84,86,87,89,90,92,94,95,97,99,100,102,103,105,107,108,110,112,113,115,116,118,120,121,123,124,126,128,129,131... |
//===- MemoryBuiltins.cpp - Identify calls to memory builtins -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
; A064266: Lune of Jan 01 in Julian calendar for a year with Golden Number n.
; 9,20,1,12,23,4,15,26,7,18,29,10,21,2,13,24,5,16,27
mul $0,11
add $0,9
mod $0,30
|
/*
* Copyright (c) 2010-2017 OTClient <https://github.com/edubart/otclient>
*
* 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... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>stty(fd, params) -> str
Invokes the syscall stty.
See 'man 2 stty' for more information.
Arguments:
fd(int): fd
params(sgttyb*): params
Returns:
int
</%docstring>
<%page args="fd=0, params=0... |
.include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 23
card_no equ "023"
card_sub equ "Mod Card 023"
card_sub_x ... |
; A142391: Primes congruent to 40 mod 47.
; Submitted by Christian Krause
; 181,463,557,839,1873,2437,2531,2719,3001,3659,3847,4129,4787,5351,5821,6197,6761,6949,7043,7607,8171,8641,8923,9769,10333,10427,10709,11273,11743,12119,12401,12589,13999,14281,14563,14657,14939,15973,16067,16349,16631,17383,17477,18041,18229,18... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld c, 41
ld b, 03
ld d, 03
lbegin_waitm3:
ldff a, (c)
and a, d
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
xor a, a
ldff(0f), a
ld a, 02
ldff(ff), a
ei
ld hl, 8000
ld a, 01
.text@1000
lstatint:
nop
nop
nop
... |
//Petdraw (Commander X16 version)
//by David Murray 2019
//dfwgreencars@gmail.com
//
//Converted to KickAssembler
//by Marcelo Lv Cabral 2020
//https://github.com/lvcabral
// The following routine is the Pixel-Draw screen
// which allows the user to draw using an 80x50 matrix
// of PETSCII block characters. it is acce... |
;
; Copyright (c) 2010 The VP8 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 contributing projec... |
db DEX_DODUO ; pokedex id
db 35 ; base hp
db 85 ; base attack
db 45 ; base defense
db 75 ; base speed
db 35 ; base special
db GROUND ; species type 1
db FLYING ; species type 2
db 37 ; catch rate, carbos
db 96 ; base exp yield
INCBIN "pic/ymon/doduo.pic",0,1 ; 55, sprite dimensions
dw DoduoPicFront
dw DoduoPicBack
; at... |
// Copyright 2011 The Kyua Authors.
// 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 conditio... |
; A176006: The number of branching configurations of RNA (see Sankoff, 1985) with n or fewer hairpins.
; Submitted by Jon Maiga
; 1,2,4,10,32,122,516,2322,10880,52466,258564,1296282,6589728,33887466,175966212,921353250,4858956288,25786112994,137604139012,737922992938,3974647310112,21493266631002,116642921832964,6350747... |
/*!
* Copyright (c) 2016 by Contributors
*/
#include <string>
#include <vector>
#include "include/c_api.h"
#include "include/logging.h"
#include "image_pred.hpp"
class BufferFile {
public :
explicit BufferFile(const std::string & file_path);
int getLength() {return length_;}
char* getBuffer() {return buffer_... |
#include "extensions/filters/network/dubbo_proxy/router/router_impl.h"
#include "envoy/upstream/cluster_manager.h"
#include "envoy/upstream/thread_local_cluster.h"
#include "extensions/filters/network/dubbo_proxy/app_exception.h"
namespace Envoy {
namespace Extensions {
namespace NetworkFilters {
namespace DubboProx... |
; A022787: Place where n-th 1 occurs in A023125.
; 1,9,24,47,77,114,159,211,271,338,412,494,583,680,784,895,1014,1140,1274,1415,1563,1719,1882,2052,2230,2415,2608,2808,3015,3230,3452,3682,3919,4163,4415,4674,4941,5215,5496,5785,6081,6384,6695,7013
mov $2,$0
add $2,1
mov $5,$0
lpb $2
mov $0,$5
sub $2,1
sub $0,$2
... |
#include <memory>
#include "Foundational/iwmisc/misc.h"
#include "Molecule_Lib/molecule.h"
#include "Molecule_Lib/path.h"
#include "Molecule_Lib/path_around_ring.h"
//#define DEBUG_PATH_AROUND_EDGE_OF_RING_SYSTEM
int
path_around_edge_of_ring_system (Molecule & m,
const int * process... |
#include <bits/stdc++.h>
using namespace std;
int main(void)
{
int k, sum=0;
int ara[13];
scanf("%d", &k);
for(int i=0; i<12; i++)
{
scanf("%d", &ara[i]);
}
sort(ara, ara+12);
for(int i=11; i>=0; i--)
{
if(sum>=k)
{
printf("%d\n", 11-i);
... |
;
;
; ZX Maths Routines
;
; 8/12/02 - Stefano Bodrato
;
; $Id: dge.asm,v 1.4 2015/08/10 08:52:12 stefano Exp $
;
IF FORzx
INCLUDE "zxfp.def"
ENDIF
IF FORzx81
INCLUDE "81fp.def"
ENDIF
IF FORlambda
INCLUDE "lambdafp.def"
ENDIF
PUBLIC dge
EXTERN fsetup
... |
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
; Module Name:
;
; sysstubs.asm
;
; Abstract:
;
; Thi... |
;
; jcqnts2f.asm - sample data conversion and quantization (SSE & SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.... |
#include <nestedtensor/csrc/nested_tensor_impl.h>
#include <nestedtensor/csrc/utils/nested_node_functions.h>
#include <torch/extension.h>
#include <torch/library.h>
using namespace torch::nn;
namespace F = torch::nn::functional;
namespace at {
Tensor NestedTensor_embedding(
const Tensor& weight,
const Tensor... |
;
;=======================================================================
; RomWBW Loader
;=======================================================================
;
; The loader code is invoked immediately after HBIOS completes system
; initialization. it is responsible for loading a runnable image
; (operating... |
checkfeatures:
mov eax, [basicid] ; Is the CPU compatible with this instruction?
cmp eax, 1
jge features
jmp main_loop
features:
mov eax, 1
cpuid
mov di, 24000
mov esi, 2
mov eax, edx
mov edx, 0
features_loop:
div esi
mov [di], dx
inc di
cmp di, 24032
jge near features2
jmp features_loop
fea... |
db DEX_RATICATE ; pokedex id
db 75 ; base hp
db 81 ; base attack
db 70 ; base defense
db 97 ; base speed
db 50 ; base special
db DARK ; species type 1
db DARK ; species type 2
db 80 ; catch rate
db 90 ; base exp yield
INCBIN "pic/ymon/raticate.pic",0,1 ; 66, sprite dimensions
dw RaticatePicFront
dw RaticatePicBack
; at... |
// Copyright 2015 the V8 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.
#include "src/compiler/code-generator.h"
#include "src/ast/scopes.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.... |
export CG_BuildSolidList
code
proc CG_BuildSolidList 32 0
ADDRLP4 16
CNSTI4 0
ASGNI4
ADDRGP4 cg_numSolidEntities
ADDRLP4 16
INDIRI4
ASGNI4
ADDRGP4 cg_numTriggerEntities
ADDRLP4 16
INDIRI4
ASGNI4
ADDRGP4 cg+40
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $72
ADDRLP4 20
CNSTI4 0
ASGNI4
ADDRGP4 cg+107596
INDIRI4
ADDRLP4 20
INDIRI4
NEI4 ... |
// Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cuda_runtime_api.h>
#include <functional>
#include <cuda/device_pointers.hpp>
#include <error.hpp>
#include "props.hpp"
inline void throwIfError(
cudaError_t err,
const std::experimental::source_locatio... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
ll n;
cin>>n;
if(n==0) cout<<n;
else if(n%2==0) cout<<n+1;
else cout<<(n+1)/2;
return 0;
}
|
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
; A159696: a(0)=8, a(n) = 2*a(n-1) + 2^(n-1) for n > 0.
; 8,17,36,76,160,336,704,1472,3072,6400,13312,27648,57344,118784,245760,507904,1048576,2162688,4456448,9175040,18874368,38797312,79691776,163577856,335544320,687865856,1409286144,2885681152,5905580032,12079595520,24696061952,50465865728,103079215104,210453397504,4... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.