text stringlengths 1 1.05M |
|---|
dnl SPARC mpn_umul_ppmm -- support for longlong.h for non-gcc.
dnl Copyright 1995, 1996, 2000 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License... |
; A158643: a(n) = 676*n^2 + 26.
; 26,702,2730,6110,10842,16926,24362,33150,43290,54782,67626,81822,97370,114270,132522,152126,173082,195390,219050,244062,270426,298142,327210,357630,389402,422526,457002,492830,530010,568542,608426,649662,692250,736190,781482,828126,876122,925470,976170,1028222,1081626,1136382,1192490,1... |
/*
* Copyright 2011-2018 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include "common.h"
#include "bgfx_utils.h"
#include <entry/input.h>
#include <bx/string.h>
#include "imgui/imgui.h"
void cmdCreateWindow(const void* _userData);
void cmdDestroyWind... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: 9-pin print drivers
FILE: graphicsPrintSwath144.asm
AUTHOR: Dave Durran 1 March 1990
ROUTINES:
Name Description
---- ----------... |
;*****************************************************************************
;* x86inc.asm: x264asm abstraction layer
;*****************************************************************************
;* Copyright (C) 2005-2012 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Anton Mitrofan... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>mknod(path, mode, dev) -> str
Invokes the syscall mknod.
See 'man 2 mknod' for more information.
Arguments:
path(char*): path
mode(mode_t): mode
dev(dev_t): dev
Returns:
int
</%docstring... |
; A019700: Decimal expansion of 2*Pi/17.
; Submitted by Jon Maiga
; 3,6,9,5,9,9,1,3,5,7,1,6,4,4,6,2,6,3,3,4,8,5,4,6,2,8,0,3,8,5,8,2,3,8,6,8,7,2,9,0,7,8,7,5,2,8,6,7,6,5,9,5,0,8,3,4,9,9,9,3,4,8,1,4,4,7,9,7,8,4,0,0,7,3,9,5,5,3,9,9,9,8,3,8,5,9,2,3,3,2,3,9,3,1,9,0,2,4,3,2
add $0,1
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (... |
// Testing hex to decimal conversion
// Commodore 64 PRG executable file
.file [name="hex2dec.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
; Directory Device Linkage Setup V2.01 1985 Tony Tebby QJUMP
section iou
xdef iou_ddst
xref iou_io
xref iou_open
xref iou_close
xref iou_frmt
xref iou_load
xref iou_save
xref gu_achpp
include 'dev8_keys... |
;
;
; ANSI Video handling for the Sharp MZ
;
;
; Clean a text line
;
; Stefano Bodrato - Maj 2000
;
; in: A = text row number
;
;
; $Id: f_ansi_dline.asm,v 1.4 2016-06-12 16:06:43 dom Exp $
;
SECTION code_clib
PUBLIC ansi_del_line
.ansi_del_line
ret
ld hl,$D000
.sum_loop
ld de,40
add hl,de
dec a
jr... |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
#include "AsmMacros.h"
TEXTAREA
#define STACKSIZEOF_ExInfo ((SIZEOF__ExInfo + 15)&(~15))
#define HARDWARE_EXCEPTION 1
#define SOFTWARE_EXCEPTION 0
;; --------------------... |
;
; Replacement for "ex af,af"
;
; $Id: afswap.asm,v 1.3 2016/06/16 20:31:05 dom Exp $:
SECTION code_crt0_sccz80
PUBLIC afswap
.afswap
;EX AF,AF'
push hl
push af
ld hl,(af1)
ex (sp),hl
ld (af1),hl
pop af
pop hl
ret
SECTION bss_... |
; A126264: a(n) = 5*n^2 + 3*n.
; 8,26,54,92,140,198,266,344,432,530,638,756,884,1022,1170,1328,1496,1674,1862,2060,2268,2486,2714,2952,3200,3458,3726,4004,4292,4590,4898,5216,5544,5882,6230,6588,6956,7334,7722,8120,8528,8946,9374,9812,10260,10718,11186,11664,12152,12650,13158,13676,14204,14742,15290,15848,16416,16994,1... |
#pragma once
#include "algebra/physical/Operator.hpp"
namespace Algebra {
namespace Physical {
/// The print operator
class Print : public UnaryOperator {
public:
Print(const logical_operator_t & logicalOperator, std::unique_ptr<Operator> input, QueryContext &queryContext);
virtual ~Print();
void prod... |
* Convert ASCII to integer v0.00 May 1988 J.R.Oakley QJUMP
*
section cv
*
include 'dev8_keys_err'
include 'dev8_keys_k'
*
xref cv_cttab
*
xdef cv_decil
xdef cv_deciw
*+++
* Convert ASCII in a buffer to a number. Leading spaces are stripped.
*
*... |
SECTION .text
GLOBAL test
test:
prefetcht0 [rbp]
prefetcht0 [rsi]
prefetcht0 [rdi]
prefetcht0 [rsp]
prefetcht0 [rbp]
prefetcht0 [r9]
prefetcht0 [r10]
prefetcht0 [r11]
prefetcht0 [r12]
prefetcht0 [r13]
prefetcht0 [r14]
prefetcht0 [r15]
prefetcht1 [rdi]
prefetcht1 [rbp]
prefetcht1 [rsi]
prefetcht1 [rdi]
prefetcht1 [rsp]
... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global sha256_block_data_order
ALIGN 16
sha256_block_data_order:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_sha256_block_data_order:
mov rdi,rcx
mov rsi,rdx
... |
; A193494: Worst case of an unbalanced recursive algorithm over all n-node binary trees.
; 0,1,2,4,5,7,9,13,14,16,18,22,24,28,32,40,41,43,45,49,51,55,59,67,69,73,77,85,89,97,105,121,122,124,126,130,132,136,140,148,150,154,158,166,170,178,186,202,204,208,212,220,224,232,240,256,260,268,276,292,300,316,332,364,365,367,36... |
; A060091: Number of 4-block ordered bicoverings of an unlabeled n-set.
; 0,0,0,16,63,162,341,636,1092,1764,2718,4032,5797,8118,11115,14924,19698,25608,32844,41616,52155,64714,79569,97020,117392,141036,168330,199680,235521,276318,322567,374796,433566,499472,573144,655248,746487,847602,959373,1082620,1218204,1367028,153... |
/*
* Copyright (c) 2018, Ford Motor Company
* 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... |
lda ({z2}),z
asl
sta {m1}
lda #0
rol
sta {m1}+1
|
/*
-- MAGMA (version 1.6.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2015
@author Mark Gates
@generated from zunmbr.cpp normal z -> d, Fri Jan 30 19:00:19 2015
*/
#include "common_magma.h"
/*
* Version 1 - L... |
10008a80: 55 push ebp
10008a81: 8b ec mov ebp,esp
10008a83: 6a fe push 0xfffffffe
10008a85: 68 68 e5 00 10 push 0x1000e568
10008a8a: 68 90 58 00 10 push 0x10005890
10008a8f: 64 a1 00 00 00 00 mov eax,fs:0x0
10008a95: 50 ... |
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00... |
; A313720: Coordination sequence Gal.6.153.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.
; Submitted by Jon Maiga
; 1,5,10,15,20,24,29,34,38,43,48,53,58,63,68,73,78,82,87,92,96,101,106,111,116,121,126,131,136,140,145,150,154,159,16... |
; A017325: a(n) = (10*n + 4)^9.
; 262144,20661046784,2641807540224,60716992766464,618121839509504,3904305912313344,18014398509481984,66540410775079424,208215748530929664,572994802228616704,1423311812421484544,3251948521156637184,6930988311686938624,13929745610903012864,26623333280885243904,48717667557975775744,85821209... |
;
; Sharp X1 - Keyboard Input
;
; uint in_Inkey(void)
; 2013, Karl Von Dyson (X1s.org)
;
SECTION code_clib
PUBLIC in_Inkey
PUBLIC _in_Inkey
EXTERN _x1_keyboard_io
; exit : carry = no key registered (and HL=0)
; else HL = ascii code of key pressed
; uses : AF, BC, HL
... |
//
// Copyright (c) 2000-2002
// Joerg Walter, Mathias Koch
//
// 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)
//
// The authors gratefully acknowledge the support of
// GeNeSys mbH & Co. KG in producing t... |
#include "Interface.hh"
#include "InterfaceBoard.hh"
#include "Configuration.hh"
#include "VirtualDisplay.hh"
#if defined(HAS_I2C_LCD)
#include "LiquidCrystalSerial_I2C.hh"
#elif defined(HAS_VIKI_INTERFACE)
#include "VikiInterface.hh"
#elif defined(HAS_VIKI2_INTERFACE)
#include "Viki2Interface.hh"
#endif
// TODO: Mak... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1d8fc, %rdx
clflush (%rdx)
nop
nop
nop
cmp %rax, %rax
movups (%rdx), %xmm1
vpextrq $1, %xmm1, %r13
nop
nop
nop
nop
xor $10480, %rax
lea addresses_normal_ht+0x76fc, %rsi
nop
... |
;name: quadrimester.asm
;
;build: nasm -felf64 quadrimester.asm -o quadrimester.o
;
;description: calculating in which quadrimester a month is.
; quadrimester: A period of four months or about four months.
;
; month nr binary in al al <- al - 1 al <- al >> 2
; ---------- --- ------------ ----... |
;2nd hyp
0040C850 SUB_L0040C850:
0040C850 55 push ebp
0040C851 8BEC mov ebp,esp
0040C853 83EC08 sub esp,00000008h
0040C856 894DF8 mov [ebp-08h],ecx
0040C859 837D08FF ... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x0000000055565758",
"RBX": "0x5152535455565758",
"RCX": "0x6162636465666768"
}
}
%endif
mov r10, 0xe0000000
mov rax, 0x4142434445464748
mov rbx, 0x5152535455565758
mov rcx, 0x6162636465666768
cmpxchg ebx, ecx
hlt
|
CeruleanPokecenter_h:
db POKECENTER ; tileset
db CERULEAN_POKECENTER_HEIGHT, CERULEAN_POKECENTER_WIDTH ; dimensions (y, x)
dw CeruleanPokecenter_Blocks ; blocks
dw CeruleanPokecenter_TextPointers ; texts
dw CeruleanPokecenter_Script ; scripts
db 0 ; connections
dw CeruleanPokecenter_Object ; objects
|
.data
_newLine: .asciiz "\n"
_divByZeroMessage: .asciiz "\nException: division by zero\nProgram will be terminated\n"
_floatOverflowMessage: .asciiz "\nException: floating point operation result too great to fit in floating point word\nProgram will be terminated\n"
_floatUnderflowMessage: .asciiz "\nException: floating... |
.include "defaults_mod.asm"
table_file_jp equ "exe4-utf8.tbl"
table_file_en equ "bn4-utf8.tbl"
game_code_len equ 3
game_code equ 0x4234574A // B4WJ
game_code_2 equ 0x42345745 // B4WE
game_code_3 equ 0x42345750 // B4WP
card_type equ 1
card_id equ 44
card_no equ "044"
card_sub equ "Mod Card 044"
card_sub_x ... |
; A084159: Pell oblongs.
; 1,3,21,119,697,4059,23661,137903,803761,4684659,27304197,159140519,927538921,5406093003,31509019101,183648021599,1070379110497,6238626641379,36361380737781,211929657785303,1235216565974041,7199369738058939
mov $3,2
mov $5,$0
lpb $3
mov $0,$5
sub $3,1
add $0,$3
sub $0,1
mov $4,$0
... |
; size_t w_array_erase_range(w_array_t *a, size_t idx_first, size_t idx_last)
SECTION code_clib
SECTION code_adt_w_array
PUBLIC w_array_erase_range_callee
EXTERN asm_w_array_erase_range
w_array_erase_range_callee:
pop af
pop hl
pop bc
pop de
push af
jp asm_w_array_erase_range
; SDCC bridge ... |
// Generated from /POI/java/org/apache/poi/ss/usermodel/Comment.java
#include <org/apache/poi/ss/usermodel/Comment.hpp>
extern java::lang::Class *class_(const char16_t *c, int n);
java::lang::Class* poi::ss::usermodel::Comment::class_()
{
static ::java::lang::Class* c = ::class_(u"org.apache.poi.ss.usermodel.Comm... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; set up st0 to be 3.141593
FLDPI
;TEST_BEGIN_RECORDING
lea edi, [esp-0xC]
mov word [edi], 0x2
FIMUL word [edi]
mov edi, 0
;TEST_END_RECORDING
|
; A073999: Number of strings of length n over GF(4) with trace 1 and subtrace x where x = RootOf(z^2+z+1).
; Submitted by Jon Maiga
; 0,0,3,16,60,240,1008,4096,16320,65280,261888,1048576,4193280,16773120,67104768,268435456,1073725440,4294901760,17179803648,68719476736,274877644800,1099510579200,4398045462528,1759218604... |
; A194920: a(n) = n - floor(n/sqrt(2)).
; 1,1,1,2,2,2,3,3,3,3,4,4,4,5,5,5,5,6,6,6,7,7,7,8,8,8,8,9,9,9,10,10,10,10,11,11,11,12,12,12,13,13,13,13,14,14,14,15,15,15,15,16,16,16,17,17,17,17,18,18,18,19,19,19,20,20,20,20,21,21,21,22,22,22,22,23,23,23,24,24,24,25,25,25,25,26,26,26,27,27,27,27,28,28,28,29,29,29,29,30,30,30,31... |
#include <iostream>
int main(){
std::cout<< "Hello world"
} |
; A146093: Bell numbers (A000110) read mod 3.
; 1,1,2,2,0,1,2,1,0,0,1,0,1,1,1,2,2,0,1,2,1,0,0,1,0,1,1,1,2,2,0,1,2,1,0,0,1,0,1,1,1,2,2,0,1,2,1,0,0,1,0,1,1,1,2,2,0,1,2,1,0,0,1,0,1,1,1,2,2,0,1,2,1,0,0,1,0,1,1,1,2,2,0,1,2,1,0,0,1,0,1,1,1,2,2,0,1,2,1,0
add $0,1
seq $0,134816 ; Padovan's spiral numbers.
lpb $0
mod $0,3
lp... |
_ln: 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)
if(argc != 3){
... |
; A343608: a(n) = [n/5]*[n/5 - 1]*(3n - 10[n/5 + 1])/6, where [.] = floor: upper bound for minimum number of monochromatic triangles in a 3-edge-colored complete graph K_n.
; 0,0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,8,11,14,17,20,26,32,38,44,50,60,70,80,90,100,115,130,145,160,175,196,217,238,259,280,308,336,364,392,420,456,492,... |
LXI H,4000H
ADD M
LXI H,4001H
ADD M
DAA
STA 5000H
RST 1
|
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
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: ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x8f44, %rsi
lea addresses_D_ht+0x6bf, %rdi
nop
nop
nop
nop
xor $53665, %r13
mov $49, %rcx
rep movsq
cmp $14779, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %... |
; A151241: Number of walks within N^3 (the first octant of Z^3) starting at (0,0,0) and consisting of n steps taken from {(-1, 0, 0), (-1, 0, 1), (1, 0, 0), (1, 0, 1), (1, 1, 0)}
; Submitted by Christian Krause
; 1,3,15,63,315,1431,7155,33615,168075,804087,4020435,19448991,97244955,473907591,2369537955,11607504687,5803... |
;------------------------------------------------------------------------------
;
; CpuBreakpoint() for AArch64
;
; Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
; Portions copyright (c) 2011 - 2013, ARM Ltd. All ri... |
;name: isatty.asm
;
;description: check if a user session is started in X-server, console on X-server or
; a "real" (what's real?) terminal.
;
;build: nasm -felf64 -o isatty.o isatty.asm
; ld -o isatty -m elf_x86_64 -lc --dynamic-linker /lib64/ld-linux-x86-64.so.2 isatty.o `pkg-config --libs gtk+-3.0`... |
.include "header.asm"
.include "snes.asm"
.include "SPC/spc.asm"
.include "MC_libks.asm"
.define select $400
.define select2 $408
.define spitch $401
.define svolume $402
.define ssrcn $403
.define smvolume $404
Int:
rti
Main:
sei
clc
xce
rep #$10 ;16 bit xy
sep #$20 ; 8 bit ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x133be, %rsi
lea addresses_WC_ht+0x835e, %rdi
nop
nop
and %r8, %r8
mov $6, %rcx
rep movsl
nop
nop
nop
nop
nop
sub $7291, %r10
lea addresses_A_ht+0x144aa, %rsi
lea addresses_A_ht+0x467a, ... |
/********************************************************************
* (C) 2020 Michael Toutonghi
*
* Distributed under the MIT software license, see the accompanying
* file COPYING or http://www.opensource.org/licenses/mit-license.php.
*
* Support for the Verus Data Exchange Format (VDXF)
*
*/
#include "v... |
%ifdef CONFIG
{
"RegData": {
"MM7": ["0x8000000000000000", "0x3FFF"]
},
"Mode": "32BIT"
}
%endif
fld1
hlt
|
; A029122: Expansion of 1/((1-x)(1-x^7)(1-x^9)(1-x^11)).
; 1,1,1,1,1,1,1,2,2,3,3,4,4,4,5,5,6,6,8,8,9,10,11,12,12,14,14,16,17,19,20,21,23,24,26,27,30,31,33,35,37,39,41,44,46,49,51,54,56,59,62,65,68,71,75,78,82,85,89,92,96
lpb $0
mov $2,$0
sub $0,7
seq $2,25792 ; Expansion of 1/((1-x)(1-x^9)(1-x^11)).
add $1,$2
... |
#include <stdexcept>
#include <string>
#include "OnlineDB/Oracle/interface/Oracle.h"
#include "OnlineDB/EcalCondDB/interface/DCULVRTempsDat.h"
#include "OnlineDB/EcalCondDB/interface/RunTag.h"
#include "OnlineDB/EcalCondDB/interface/RunIOV.h"
using namespace std;
using namespace oracle::occi;
DCULVRTempsDat::DCULVRT... |
;;
;; Copyright (c) 2009-2021, Intel Corporation
;;
;; 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 conditions and... |
#include "SwapChain.h"
#include "Instance.h"
#include <SDL_vulkan.h>
#include <iostream>
namespace Gamma {
namespace Vulkan {
void SwapChain::CreateSurface(Window* window) {
// SDL2 provices a cross platform surface creation function
SDL_Window* InternalWindow = window->GetInternalWindow();
SDL_Vulkan_Cre... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) New Deal 1999 -- All Rights Reserved
PROJECT: Newdeal
MODULE:
FILE: prefint.asm
AUTHOR: Gene Anderson, Mar 25, 1998
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descri... |
@111 // push constant 111
D=A
@SP
A=M
M=D
@SP
M=M+1
@333 // push constant 333
D=A
@SP
A=M
M=D
@SP
M=M+1
@888 // push constant 888
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP // pop static 8
M=M-1
A=M
D=M
@StaticTest.8
M=D
@SP // pop static 3
M=M-1
A=M
D=M
@StaticTest.3
M=D
@SP // pop static 1
M=M-1
A=M
D=M
@StaticTest.1
M=D
@StaticT... |
\ 10 PRINT
\ Using BeebASM assembler
\ Alastair Montgomery
INCLUDE "../lib/constants.asm"
screen = &7C00
seed = &70
bitmask = &72
ORG &2000
.start
.mode
LDA #4
JSR screenmode
LDA #23
STA seed
LDA #23
STA seed+1
LDA #1
STA bitmask
.loop
JSR random
STA bitmask
LDA #1
BIT... |
; A015459: q-Fibonacci numbers for q=2.
; Submitted by Christian Krause
; 0,1,1,3,7,31,143,1135,10287,155567,2789039,82439343,2938415279,171774189743,12207523172527,1419381685547183,201427441344229551,46711726513354322095,13247460522448782176431,6135846878080826487812271,3478878138074894381346140335,3220429766153315252... |
;; xOS -- libxwidget 1
;; Copyright (c) 2017 by Omar Mohammad.
use32
;;
;; THESE ARE INTERNAL ROUTINES USED BY THE LIBRARY.
;; ALL WINDOW HANDLES HERE ARE KERNEL (GLOBAL) AND NOT SESSION-SPECIFIC.
;;
; xwidget_put_pixel:
; Puts a pixel
; In\ EAX = Window handle
; In\ CX/DX = X/Y pos
; In\ EBX = Color
; Out\ Nothing... |
SECTION code_fp_math32
PUBLIC sqrt_fastcall
EXTERN m32_fssqrt_fastcall
defc sqrt_fastcall = m32_fssqrt_fastcall
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _sqrt_fastcall
defc _sqrt_fastcall = sqrt_fastcall
ENDIF
|
xor eax, eax ;clears eax
mov al, 0xcb ;setreuid
xor ebx, ebx ;setreuid value to 0
xor ecx, ecx ;setreuid value to 0
int 0x80 ;preforms syscall
xor eax, eax ;clears eax
push eax ;puts nullbyte behind /bin//sh
mov al, 0x0b ;sets execve syscall
push 0... |
; A315237: Coordination sequence Gal.4.128.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,6,10,14,24,26,30,34,48,46,50,54,72,66,70,74,96,86,90,94,120,106,110,114,144,126,130,134,168,146,150,154,192,166,170,174,216,186,190,194,24... |
/*
* Author: Zion Orent <zorent@ics.com>
* Copyright (c) 2015 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 t... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1996 -- All Rights Reserved
PROJECT:
MODULE:
FILE: mainTimedDialog.asm
AUTHOR: Eric Weber, Mar 13, 1996
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descr... |
main:
lda #5
sta ctr
jsr init_intr
jsr init_screen
jsr init_text
jsr sid_init
jsr sprite_init
jmp *
init_intr: ; set up the raster interrupt to fire at rasterline 0
sei
ldy #$7f
sty $dc0d
sty $dd0d
lda $dc0d
lda $dd0d
lda #$01
sta $d01a
lda #<irq
... |
;------------------------------------------------------------------------------ ;
; Copyright (c) 2016 - 2018, 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... |
; A134022: Number of negative trits in balanced ternary representation of n.
; 0,0,1,0,0,2,1,1,1,0,0,1,0,0,3,2,2,2,1,1,2,1,1,2,1,1,1,0,0,1,0,0,2,1,1,1,0,0,1,0,0,4,3,3,3,2,2,3,2,2,3,2,2,2,1,1,2,1,1,3,2,2,2,1,1,2,1,1,3,2,2,2,1,1,2,1,1,2,1,1,1,0,0,1,0,0,2,1,1,1,0,0,1,0,0,3,2,2,2,1
lpb $0
lpb $0
add $0,1
dif $0,... |
; A327139: Numbers k such that cos(2k) > cos(2k+2) < cos(2k+4).
; Submitted by Jamie Morken(s4)
; 1,4,7,10,13,16,19,23,26,29,32,35,38,41,45,48,51,54,57,60,63,67,70,73,76,79,82,85,89,92,95,98,101,104,107,111,114,117,120,123,126,129,133,136,139,142,145,148,151,155,158,161,164,167,170,173,176,180,183,186,189,192,195,198,2... |
_grep: formato do arquivo elf32-i386
Desmontagem da seção .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc pushl -0x4(%ecx)
e: 5... |
SFX_Pokedex_Rating_3_Ch5:
execute_music
tempo 256
volume 7, 7
duty_cycle 2
note_type 5, 11, 1
octave 3
note A_, 2
note A_, 2
note G_, 2
note G_, 2
note F_, 2
note E_, 2
note F_, 2
note A_, 2
octave 4
note C_, 4
note E_, 4
octave 3
note F_, 4
sound_ret
SFX_Pokedex_Rating_3_Ch6:
execute_music
duty... |
// Generates C++ tars service interface out of Protobuf IDL.
//
// This is a Proto2 compiler plugin. See net/proto2/compiler/proto/plugin.proto
// and net/proto2/compiler/public/plugin.h for more information on plugins.
#include <string>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/... |
//mainint: funcdecl 1, ,
mainint:// Words: 0
addi $sp, 4
// Words: 1
move $gp, $rr
// Words: 2
move $sp, $rr
//: loadi *tmp, , -6
global:// Words: 3
// Words: 4
ldi $k0, -6
//: store currx, 0, *tmp
// Words: 5
addi $gp, -2
// Words: 6
sdw $k0, $0, $rr
//: loadi *tmp, , 0
// Words: 7
// Words: 8
ldi ... |
// Copyright 2013 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/frame/browser_frame_ash.h"
#include <memory>
// This file is only instantiated in classic ash/mus. It is never used in... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; CMOVNP32rr
mov ecx, 0x44
mov edx, 0x88
;TEST_BEGIN_RECORDING
cmovnp ecx, edx
;TEST_END_RECORDING
|
; A313685: Coordination sequence Gal.4.43.3 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,28,33,38,43,48,53,57,61,66,71,76,81,86,91,95,99,104,109,114,119,124,129,133,137,142,147,152,157,162,167,171,175,180,185,190,1... |
; A083530: a(n) = 7^n mod (2*n).
; 1,1,1,1,7,1,7,1,1,9,7,1,7,21,13,1,7,1,7,1,7,5,7,1,7,49,1,49,7,49,7,1,13,49,63,1,7,49,31,1,7,49,7,25,37,49,7,1,49,49,37,9,7,1,43,49,1,49,7,1,7,49,91,1,37,37,7,89,67,49,7,1,7,49,43,121,105,25,7,1,1,49,7,49,147,49,169,97,7,109,175,9,157,49,163,1,7,49,19,1
add $0,1
mov $2,$0
lpb $0
sub... |
//==========================================================================
// ObTools::Web:: test-cache.cc
//
// Test harness for HTTP cache functions
//
// Copyright (c) 2009 ObTools Limited. All rights reserved
// This code comes with NO WARRANTY and is subject to licence agreement
//==============================... |
TITLE Two-Dimensional Table (Table.asm)
; Demonstration of Base-Index mode with a
; two-dimensional table. Chapter 4 example.
; Last update: 8/6/01
INCLUDE Irvine32.inc
.data
tableB BYTE 10h, 20h, 30h, 40h, 50h
BYTE 60h, 70h, 80h, 90h, 0A0h
BYTE 0B0h, 0C0h, 0D0h, 0E0h, 0F0h
... |
;
; Page the graphics bank in/out - used by all gfx functions
; Doesn't really page on the MSX.
;
;
; $Id: swapgfxbk.asm,v 1.7 2017-01-02 22:57:58 aralbrec Exp $
;
MODULE __tms9918_swapgfxbk
SECTION code_clib
PUBLIC swapgfxbk
PUBLIC swapgfxbk1
.swapgfxbk
.swapgf... |
; A239438: Maximal number of points that can be placed on a triangular grid of side n so that there is no pair of adjacent points.
; 1,1,3,4,6,7,10,12,15,19,22,26,31,35,40,46,51,57,64,70,77,85,92,100,109,117,126,136,145,155,166,176,187,199,210,222,235,247,260,274,287,301,316,330,345,361,376,392,409,425,442,460,477,495,... |
#include <map>
#include "std_lib_facilities.h"
struct People {
string name;
int age;
bool operator<(const People& other) const
{
return name < other.name;
}
};
int main()
{
auto byage = [](const People& p1, const People& p2) { return p1.age < p2.age; };
map<People, double, declty... |
Name: k-select-p.asm
Type: file
Size: 34164
Last-Modified: '1992-07-20T07:07:16Z'
SHA-1: 830DB3A5328109B703F00FCFA6ACB16172D94D2E
Description: null
|
/// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
/// @version 1.1
///
/// @section License
/// Copyright 2019 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associated documen... |
; ===============================================================
; Jan 2014
; ===============================================================
;
; int getchar_unlocked(void)
;
; Read char from stdin.
;
; ===============================================================
SECTION code_clib
SECTION code_stdio
PUBLIC asm_... |
; A225144: a(n) = Sum_{i=n..2*n} i^2*(-1)^i.
; Submitted by Jon Maiga
; 0,3,11,18,42,45,93,84,164,135,255,198,366,273,497,360,648,459,819,570,1010,693,1221,828,1452,975,1703,1134,1974,1305,2265,1488,2576,1683,2907,1890,3258,2109,3629,2340,4020,2583,4431,2838,4862,3105,5313,3384,5784,3675,6275,3978,6786,4293,7317,4620,7... |
; A316864: Number of times 3 appears in decimal expansion of n.
; 0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,2,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0
mov $1,6
lpb $0
mov $2,$0
div $0,10
mod $2,10
... |
// Copyright 2020 The Tint Authors.
//
// 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 ... |
/*
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "aub_batch_buffer_tests_gen11.h"
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
using Gen11AubBatchBufferTests = Test<NEO::ClDeviceFixture>;
static constexpr auto gpuBatchBufferAddr = 0x800400001000; //... |
; A093500: a(n) = (15*n^2 + 5*n + 2)/2.
; 11,36,76,131,201,286,386,501,631,776,936,1111,1301,1506,1726,1961,2211,2476,2756,3051,3361,3686,4026,4381,4751,5136,5536,5951,6381,6826,7286,7761,8251,8756,9276,9811,10361,10926,11506,12101,12711,13336,13976,14631,15301,15986,16686,17401,18131,18876,19636,20411,21201,22006,2282... |
#include <jni.h>
#include <string>
#include "../../../../../../common/src/flashcardGrader.h"
auto convertJvmFlashcardToCplusplusFlashcard(JNIEnv *env, jobject jvmFlashcard) -> Flashcard {
jclass flashcardClass = env->GetObjectClass(jvmFlashcard);
jfieldID interval_fieldId = env->GetFieldID(flashcardClass, "in... |
/*
** Copyright 2011-2013 Centreon
**
** 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 t... |
; debug monitor
invoke_monitor:
; set the vsync handler to our own and reenable interrupts
mov [MONITOR_OLD_VSYNC_HANDLER], [0x000003FC]
mov [0x000003FC], monitor_vsync_handler
ise
; set the X and Y coords of the console text
mov.8 [MONITOR_CONSOLE_X], 0
mov.8 [MONITOR_CONSOLE_Y], MONITOR_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.