text stringlengths 1 1.05M |
|---|
; A022794: Place where n-th 1 occurs in A023132.
; 1,2,3,5,7,9,12,15,18,22,26,30,35,40,45,51,57,64,71,78,86,94,102,111,120,129,139,149,159,170,181,192,204,216,229,242,255,269,283,297,312,327,342,358,374,390,407,424,441,459,477,496,515,534,554,574
mov $3,$0
add $3,1
mov $4,$0
lpb $3
mov $0,$4
mov $2,0
sub $3,1
... |
; A002066: a(n) = 10*4^n.
; 10,40,160,640,2560,10240,40960,163840,655360,2621440,10485760,41943040,167772160,671088640,2684354560,10737418240,42949672960,171798691840,687194767360,2748779069440,10995116277760,43980465111040,175921860444160,703687441776640,2814749767106560,11258999068426240,45035996273704960,18014398509... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkGlobeSource.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rdx
lea addresses_A_ht+0x1b7e6, %r8
nop
nop
sub %rdx, %rdx
movb (%r8), %r13b
nop
nop
xor $21127, %r9
pop %rdx
pop %r9
pop %r8
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %rax
push %rbp
push %rcx
push %rdi
... |
; A049451: Twice second pentagonal numbers.
; 0,4,14,30,52,80,114,154,200,252,310,374,444,520,602,690,784,884,990,1102,1220,1344,1474,1610,1752,1900,2054,2214,2380,2552,2730,2914,3104,3300,3502,3710,3924,4144,4370,4602,4840,5084,5334,5590,5852,6120,6394,6674,6960,7252,7550,7854,8164,8480,8802,9130,9464,9804,10150,10502... |
////////////////////////////////////////////////////////////////////////////////
// HeightField.cpp
// Height field support for our mech sim
// Copyright Bjoern Ganster 2007-2008
////////////////////////////////////////////////////////////////////////////////
#include "Heightfield.h"
/////////////////////////////////... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; int ffsl(long i)
;
; Return bit position of least significant bit set. Bit
; positions are numbered 1-32 with 0 returned if no bits
; are set.
;
; =======================... |
; CRT0 stub for the Old School Computer Architecture (FLOS)
;
; Stefano Bodrato - Jul. 2011
;
;
; EXTRA OPTIONS:
;
; At C source level:
; #pragma output osca_bank=(0..14) set the memory bank for locations > 32768 before loading program
; #pragma output osca_stack=<value> put the stack in a dif... |
public _levels
public _tileAttr
section RODATA_0
_levels:
include "levels.inc"
section RODATA_5
_tileAttr:
binary "attrib.dat"
|
/******************************Module*Header*******************************\
* Module Name: CPrinting.cpp
*
* This file contains the code to support the functionality test harness
* for GDI+. This includes menu options and calling the appropriate
* functions for execution.
*
* Created: 05-May-2000 - Jeff Vezin... |
/*---------------------------------------------------------------------------*\
Copyright (C) 2015 - 2016 Applied CCM
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under ... |
SFX_Cry10_3_Ch4:
dutycycle 201
squarenote 8, 15, 7, 1664
squarenote 2, 15, 7, 1632
squarenote 1, 14, 7, 1600
squarenote 1, 14, 7, 1568
squarenote 15, 13, 1, 1536
squarenote 4, 12, 7, 1856
squarenote 4, 10, 7, 1840
squarenote 15, 9, 1, 1824
endchannel
SFX_Cry10_3_Ch5:
dutycycle 121
squarenote 10, 14, 7, 16... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "../Adc.inc"
#include "States.inc"
radix decimal
defineLcdState LCD_STATE_ENABLE_SETCONTRAST
setLcdState LCD_STATE_ENABLE_DISPLAYON
fcall enableAdc
returnFromLcdState
end
|
; A166118: Fixed points of the mapping f(x) = (x + 2^x) mod (17 + x).
; 15,47,111,239,495,1007,2031,4079,8175,16367,32751,65519,131055,262127,524271,1048559,2097135,4194287,8388591,16777199,33554415,67108847,134217711,268435439,536870895,1073741807,2147483631,4294967279,8589934575,17179869167,34359738351,68719476719,13... |
//----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: spreadsheetMethodFocus.asm
AUTHOR: John Wedgwood, Sep 4, 1991
METHODS:
Name Description
---- -----------
MSG_META_GAINED_FOCUS_EXC... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; WriteMsr64.Asm
;
; Abstract:
;
; AsmWriteMsr64 function
;
; Notes:
;
;------------------------------... |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; A098260: Chebyshev polynomials S(n,627).
; Submitted by Jamie Morken(s2)
; 1,627,393128,246490629,154549231255,96902121506256,60757475635191257,38094840321143411883,23885404123881284059384,14976110290833243961821885,9389997266948320082778262511
add $0,1
mul $0,2
mov $3,1
lpb $0
sub $0,1
add $2,$3
mov $3,$1
m... |
/*************************************************************************
>>> Author: WindCry1
>>> Mail: lanceyu120@gmail.com
>>> Website: https://windcry1.com
>>> Date: 8/3/2019 6:13:35 PM
*************************************************************************/
#include<cstring>
#include<cmath>
#include<cstdio>
#in... |
#include "x264_encoder.h"
extern "C" {
#include <libavformat/avformat.h>
#include <libavutil/imgutils.h>
}
#include <ros/console.h>
using namespace lmt::encoder;
using namespace lmt::statistics;
X264Encoder::~X264Encoder()
{
if (encoder_)
{
x264_picture_clean(&picIn_);
}
}
X264Encoder::X264Encod... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %r9
push %rbp
push %rdx
lea addresses_D_ht+0x3b8c, %r13
nop
nop
nop
cmp %r9, %r9
mov $0x6162636465666768, %r10
movq %r10, %xmm1
and $0xffffffffffffffc0, %r13
vmovntdq %ymm1, (%r13)
nop
nop
nop
dec %r8
lea addresses_D_ht+0xd8cc, %rd... |
#include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... |
SFX_Pokeflute_Ch1:
vibrato 16, 1, 4
notetype 12, 1, 0
octave 5
E_ 2
F_ 2
G_ 4
A_ 2
G_ 2
octave 6
C_ 4
C_ 2
D_ 2
C_ 2
octave 5
G_ 2
A_ 2
F_ 2
G_ 8
rest 12
endchannel
|
; A083196: a(n) = 8*n^4 + 9*n^2 + 2.
; 2,19,166,731,2194,5227,10694,19651,33346,53219,80902,118219,167186,230011,309094,407027,526594,670771,842726,1045819,1283602,1559819,1878406,2243491,2659394,3130627,3661894,4258091,4924306,5665819,6488102,7396819,8397826
mul $0,4
pow $0,2
add $0,9
pow $0,2
sub $0,81
div $0,32
add... |
#include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "To use the %s option"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpa... |
// Copyright (c) 2020 The Connectal Project
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use, copy,
// modify, merge,... |
; CALLER linkage for long2ipstring()
PUBLIC long2ipstring
EXTERN long2ipstring_callee
EXTERN ASMDISP_LONG2IPSTRING_CALLEE
; void long2ipstring(inet_addr_t *addr, char *str);
.long2ipstring
pop bc ; return address
pop de ; char *str
pop hl ; inet_addr_t *addr
push hl
push de
push bc
jp long2ipstring_callee + ... |
; A245599: Numbers m with A030101(m) XOR A030109(m) = m for the binary representation of m.
; 1,11,91,731,5851,46811,374491,2995931,23967451,191739611,1533916891,12271335131,98170681051,785365448411,6282923587291,50263388698331,402107109586651,3216856876693211,25734855013545691,205878840108365531,1647030720866924251,13... |
global check_cpuid
global check_long_mode
extern early_error
section .init
bits 32
check_cpuid: ;check if the cpuid instruction is available
;move flags register to eax
pushfd
pop eax
;copy eax and flip bit 21
mov ecx, eax
xor eax, 1 << 21
;move eax to flags register
p... |
;
; Placeholder for reading a key from the keyboard
;
SECTION code_clib
PUBLIC getk
PUBLIC _getk
getk:
_getk:
in a,($00) ;Key code
ld l,a
in a,($01) ;Flags
;bit 7 = shift
;bit 6 = function key
;bit 3 = not pressed/pressed
bit 3,a
jr z,key_pressed
ld hl,0
ret
key_pressed:
; TODO: Take ... |
%ifidn __OUTPUT_FORMAT__,elf32
%include "vpx_config_x86-linux-gcc.asm"
%elifidn __OUTPUT_FORMAT__,elf64
%include "vpx_config_x86_64-linux-gcc.asm"
%elifidn __OUTPUT_FORMAT__,macho32
%include "vpx_config_x86-darwin9-gcc.asm"
%elifidn __OUTPUT_FORMAT__,macho64
%include "vpx_config_x86_64-darwin9-gcc.asm"
%elifidn __OUTPU... |
@ This file was created from a .asm file
@ using the ads2gas.pl script.
.equ DO1STROUNDING, 0
.equ ARCH_ARM , 1
.equ ARCH_MIPS , 0
.equ ARCH_X86 , 0
.equ ARCH_X86_64 , 0
.equ HAVE_EDSP , 0
.equ HAVE_MEDIA , 0
.equ HAVE_NEON , 1
.equ HAVE_NEON_ASM , 0
.equ HAVE_MIPS32 , 0
.equ HAVE_DSPR2 , 0
.equ HAVE_MSA , ... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Solitaire
FILE: game.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Jon 9/90 Initial Version
DESCRIPTION:
This file c... |
; A129362: a(n) = Sum_{k=floor((n+1)/2)..n} J(k+1), J(k) = A001045(k).
; 1,1,4,8,19,37,80,160,331,661,1344,2688,5419,10837,21760,43520,87211,174421,349184,698368,1397419,2794837,5591040,11182080,22366891,44733781,89473024,178946048,357903019,715806037,1431633920,2863267840,5726579371,11453158741,22906404864,45812809728... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rbp
push %rdx
lea addresses_WT_ht+0x18693, %r9
nop
nop
sub %rdx, %rdx
movb $0x61, (%r9)
and $19235, %r12
pop %rdx
pop %rbp
pop %r9
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r15
push %rax
push %rcx
push... |
MonsterNames:
db "RHYDON@@@@"
db "KANGASKHAN"
db "NIDORAN♂@@"
db "CLEFAIRY@@"
db "SPEAROW@@@"
db "VOLTORB@@@"
db "NIDOKING@@"
db "SLOWBRO@@@"
db "IVYSAUR@@@"
db "EXEGGUTOR@"
db "LICKITUNG@"
db "EXEGGCUTE@"
db "GRIMER@@@@"
db "GENGAR@@@@"
db "NIDORAN♀@@"
db "NIDOQUEEN@"
db "CUBONE@@@@"
db "RHYHORN@@@"
... |
;--- this is a test app which calls functions Export1 and Export2 in
;--- Win32_4d.dll. The link step needs import library Win32_4d.lib to find
;--- the externals used in the source. Some linkers (MS link, PoLink)
;--- will always generate such an import lib when the dll is written.
;--- To get one with JWlink, OPTION... |
CheckPlayerMoveTypeMatchups:
; Check how well the moves you've already used
; fare against the enemy's Pokemon. Used to
; score a potential switch.
push hl
push de
push bc
ld a, 10
ld [wEnemyAISwitchScore], a
ld hl, wPlayerUsedMoves
ld a, [hl]
and a
jr z, .unknown_moves
ld d, NUM_MOVES
ld e, 0
.loop
ld a,... |
//===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
db 0 ; species ID placeholder
db 83, 80, 75, 91, 70, 70
; hp atk def spd sat sdf
db NORMAL, FLYING ; type
db 45 ; catch rate
db 172 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 15 ; step cycles to hatch
INCBIN "gfx/pokemon/pidgeot/front.dimensions"
db GROWTH_MEDIUM_SL... |
; screen update routines
!ifndef ACORN { ; SF
init_screen_colours_invisible
lda zcolours + BGCOL
bpl + ; Always branch
init_screen_colours
jsr s_init
lda zcolours + FGCOL
!if BORDERCOL_FINAL = 1 {
sta reg_bordercolour
}
+ jsr s_set_text_colour
lda zcolours + BGCOL
sta reg_backgroundcolour
!if BORDERCOL... |
// Original test: ./atessmer/hw4/problem6/slt_1.asm
// Author: atessmer
// Test source code follows
lbi r1, 255
lbi r2, 0
slt r3, r2, r1
halt
|
;; xOS32
;; Copyright (C) 2016-2017 by Omar Mohammad.
use32
KERNEL_HEAP = VBE_BACK_BUFFER + VBE_BUFFER_SIZE + 0x1000000
USER_HEAP = KERNEL_HEAP + 0x4000000 ; 64 MB
KMALLOC_FLAGS = PAGE_PRESENT OR PAGE_WRITEABLE
MALLOC_FLAGS = PAGE_PRESENT OR PAGE_WRITEABLE OR PAGE_USER
; kmalloc:
; Allocates memory in the ... |
.386p
descr struc ; декскриптор сегмента
limit dw 0
base_l dw 0
base_m db 0
attr_1 db 0
attr_2 db 0
base_h db 0
descr ends
int_descr struc ; декскриптор прерывания
offs_l dw 0
sel dw 0
rsrv db 0
iattr db 0
offs_h dw 0
int_descr ends
protected_seg SEGMENT PAR... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x517e, %rsi
lea addresses_WT_ht+0xa0e, %rdi
clflush (%rsi)
clflush (%rdi)
nop
nop
nop
xor $10286, %r14
mov $74, %rcx
rep movsl
nop
nop
nop
and %rsi, %rsi
lea addresses_normal_h... |
; A142078: Primes congruent to 3 mod 35.
; Submitted by Jamie Morken(w1)
; 3,73,283,353,563,773,983,1123,1193,1543,1613,1753,1823,2243,2383,2593,2663,2803,3083,3433,3643,3853,3923,4133,4273,4483,4903,4973,5113,5323,5393,5743,5813,5953,6163,6373,6653,6793,6863,7213,7283,7703,8053,8123,8263,8543,8753,8893,8963,9103,9173,... |
; void *sp1_PreShiftSpr(uchar flag, uchar height, uchar width, void *srcframe, void *destframe, uchar rshift)
; CALLER linkage for function pointers
XLIB sp1_PreShiftSpr
LIB sp1_PreShiftSpr_callee
XREF ASMDISP_SP1_PRESHIFTSPR_CALLEE
.sp1_PreShiftSpr
ld hl,2
add hl,sp
ld c,(hl)
inc hl
inc hl
ld e,(... |
%include "include/u7bg-all-includes.asm"
%assign SpellbookDialog_ibo 0x1D
%assign SpellbookDialog_containingIbo 0xAB
defineAddress 348, 0x0428, SpellbookDialog_update_printReagentCount
defineAddress 348, 0x04A1, SpellbookDialog_update_printReagentCount_end
defineAddress 348, 0x0C32, SpellbookDialog_updateReagentCoun... |
;
; jfdctflt.asm - floating-point FDCT (SSE)
;
; 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.inc
;
; This file should be assembl... |
;
; Basic video handling for the PHC-25
;
; (HL)=char to display
;
;----------------------------------------------------------------
;
; $Id: fputc_cons.asm $
;
;----------------------------------------------------------------
;
SECTION code_clib
PUBLIC fputc_cons_native
.fputc_cons_native
ld hl,2
add hl,sp
ld ... |
//
// Created by John Kindem on 2021/4/24.
//
#include <Explosion/Driver/ImageView.h>
#include <Explosion/Driver/Driver.h>
#include <Explosion/Driver/Image.h>
#include <Explosion/Driver/VkAdapater.h>
namespace {
VkImageAspectFlags GetImageAspect(Explosion::Image* image)
{
if (dynamic_cast<Explosion::C... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: w_unplot_callee.asm $
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void unplot(int x, int y)
SECTION code_graphics
PUBLI... |
; A162316: a(n) = 5n^2 + 20n + 1.
; Submitted by Christian Krause
; 1,26,61,106,161,226,301,386,481,586,701,826,961,1106,1261,1426,1601,1786,1981,2186,2401,2626,2861,3106,3361,3626,3901,4186,4481,4786,5101,5426,5761,6106,6461,6826,7201,7586,7981,8386,8801,9226,9661,10106,10561,11026,11501,11986,12481,12986,13501,14026,... |
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return 0;
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 18.00.40629.0
TITLE C:\Users\cex123\Desktop\FYP\develop\spartan\Source\Kernel\BootLoad\Intel\Gdt.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB OLDNAMES
PUBLIC _gdt
EXTRN _movsd:PROC
EXTRN _lgdt:PROC
_gdt DQ 0000000000000000... |
#include "benchmark/benchmark.h"
#include "c4/log.hpp"
#include "c4/allocator.hpp"
#include "../list_types.hpp"
namespace bm = benchmark;
namespace c4 {
template< class List >
void BM_ListPushBack(bm::State& st)
{
List li;
using T = typename List::value_type;
T v{};
size_t count = 0;
while(st.Ke... |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
;--------------------------------------------------------------------------
;- RESTART VECTORS -
;--------------------------------------------------------------------------
SECTION "RST_00",HOME[$0000]
ret
SEC... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAP_spriteT(unsigned int sprite, unsigned int tile, unsigned int lin... |
; A315684: Coordination sequence Gal.5.291.5 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,12,17,22,27,32,37,42,48,54,60,66,71,76,81,86,91,96,102,108,114,120,125,130,135,140,145,150,156,162,168,174,179,184,189,194,199,204,210,2... |
/*
* (C) Copyright 2009-2016 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an... |
; A100577: Number of sets of divisors of n with an odd sum.
; Submitted by Christian Krause
; 1,2,2,4,2,8,2,8,4,8,2,32,2,8,8,16,2,32,2,32,8,8,2,128,4,8,8,32,2,128,2,32,8,8,8,256,2,8,8,128,2,128,2,32,32,8,2,512,4,32,8,32,2,128,8,128,8,8,2,2048,2,8,32,64,8,128,2,32,8,128,2,2048,2,8,32,32,8,128,2,512,16,8,2,2048,8,8,8,128... |
lda {m2}+3
lsr
sta {m1}+3
lda {m2}+2
ror
sta {m1}+2
lda {m2}+1
ror
sta {m1}+1
lda {m2}
ror
sta {m1}
lsr {m1}+3
ror {m1}+2
ror {m1}+1
ror {m1}
lsr {m1}+3
ror {m1}+2
ror {m1}+1
ror {m1} |
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC getmaxy
PUBLIC _getmaxy
EXTERN __z9001_mode
EXTERN CONSOLE_ROWS
.getmaxy
._getmaxy
ld a,(__z9001_mode)
and a
ld hl, +(CONSOLE_ROWS * 2) - 1
ret z
ld hl, 191
ret
|
; A295220: a(n) = Sum_{i=1..floor(n/2)} floor((n+i)/i) - floor((n-i-1)/i).
; 0,3,3,6,5,9,7,11,10,13,11,17,13,17,17,20,17,23,19,25,23,25,23,31,26,29,29,33,29,37,31,37,35,37,37,44,37,41,41,47,41,49,43,49,49,49,47,57,50,55,53,57,53,61,57,63,59,61,59,71,61,65,67,70,67,73
mov $2,$0
mov $3,$0
mod $3,2
mov $0,$3
add $0,$2
se... |
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; 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 co... |
; A043656: Numbers whose base-12 representation has exactly 7 runs.
; 3006865,3006866,3006867,3006868,3006869,3006870,3006871,3006872,3006873,3006874,3006875,3006888,3006889,3006891,3006892,3006893,3006894,3006895,3006896,3006897,3006898,3006899,3006900,3006901
seq $0,43652 ; Numbers whose base-12 representation has e... |
; A016882: (5n+2)^10.
; 1024,282475249,61917364224,2015993900449,26559922791424,205891132094649,1125899906842624,4808584372417849,17080198121677824,52599132235830049,144555105949057024,362033331456891249,839299365868340224,1822837804551761449,3743906242624487424,7326680472586200649,13744803133596058624,2484234141914356... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.0 #11528 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... |
;Mupen64plus - linkage_x86.asm
;Copyright (C) 2009-2011 Ari64
;
;This program is free software; you can redistribute it and/or modify
;it under the terms of the GNU... |
; ___________________________________________________________
;/ __ _ \
;| / _| (_) |
;| | |_ _ _ ___ _ ___ _ __ |
;| | _| | | / __| |/ _ \| '_ \ |
;| ... |
; A045681: Extension of Beatty sequence; complement of A045682.
; 0,1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,19,21,22,23,24,25,26,28,29,30,31,33,34,35,36,38,39,40,41,43,44,45,46,47,48,50,51,52,53,55,56,57,58,60,61,62,63,65,66,67,68,69,70,72,73
mov $3,$0
add $0,1
mov $1,$0
div $0,3
div $1,2
mov $2,24
lpb $0
sub $0,5
tr... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: HP PCL type print drivers
FILE: graphicsPrintSwathPCL.asm
AUTHOR: Dave Durran 1 March 1990
ROUTINES:
Name Description
---- ----... |
; A086348: On a 3 X 3 board, number of n-move routes of chess king ending in the central square.
; Submitted by Christian Krause
; 1,8,32,168,784,3840,18432,89216,430336,2078720,10035200,48457728,233967616,1129709568,5454692352,26337640448,127169265664,614027755520,2964787822592,14315262836736
mov $2,$0
add $2,1
seq $... |
; A001008: Numerators of harmonic numbers H(n) = Sum_{i=1..n} 1/i.
; Submitted by Christian Krause
; 1,3,11,25,137,49,363,761,7129,7381,83711,86021,1145993,1171733,1195757,2436559,42142223,14274301,275295799,55835135,18858053,19093197,444316699,1347822955,34052522467,34395742267,312536252003,315404588903,9227046511387,... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim: et sw=2 ts=2 fdm=marker
*/
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file exce... |
;
; ZX Spectrum specific routines
;
; int zx_betadisk();
;
; The result is:
; - 0 (false) if the Beta 128 Disk Interface is missing
; - 1 (true) if the Beta 128 Disk Interface is connected
;
; It has the side effect of enabling the TRDOS System variables
;
;
; $Id: zx_betadisk.asm,v 1.1 2008/06/29 08:25:47 aralbrec Exp... |
; A262617: First differences of A256266.
; 0,6,12,6,24,18,12,6,48,42,36,30,24,18,12,6,96,90,84,78,72,66,60,54,48,42,36,30,24,18,12,6,192,186,180,174,168,162,156,150,144,138,132,126,120,114,108,102,96,90,84,78,72,66,60,54,48,42,36,30,24,18,12,6,384,378,372,366,360,354,348,342,336,330,324,318
mul $0,8
mov $2,$0
div $2,2... |
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="fd, iovec, count"/>
<%docstring>
Invokes the syscall writev. See 'man 2 writev' for more information.
Arguments:
fd(int): fd
iovec(iovec): iovec
count(int): count
</%docstring>
${syscall('SYS_writev', fd, iovec, count)}
|
; A047623: Numbers that are congruent to {1, 3, 5} mod 8.
; 1,3,5,9,11,13,17,19,21,25,27,29,33,35,37,41,43,45,49,51,53,57,59,61,65,67,69,73,75,77,81,83,85,89,91,93,97,99,101,105,107,109,113,115,117,121,123,125,129,131,133,137,139,141,145,147,149,153,155,157,161,163,165,169,171,173,177,179,181,185,187,189,193,195,197,20... |
/*
* MRustC - Rust Compiler
* - By John Hodge (Mutabah/thePowersGang)
*
* macro_rules/parse.cpp
* - macro_rules! evaluation (expansion)
*/
#include <common.hpp>
#include "macro_rules.hpp"
#include <parse/parseerror.hpp>
#include <parse/ttstream.hpp>
#include <parse/common.hpp>
#include <limits.h>
#include "patter... |
; A088923: Duplicate of A011539.
; 9,19,29,39,49,59,69,79,89,90,91,92,93,94,95,96,97,98,99,109,119,129
mov $1,$0
mov $2,10
mov $3,$0
sub $3,4
mul $3,2
mov $4,$3
trn $4,$0
trn $2,$4
add $1,$2
mul $1,9
sub $1,81
add $1,$0
|
/******************************************************************************
@File PVRTModelPOD.cpp
@Title PVRTModelPOD
@Version
@Copyright Copyright (c) Imagination Technologies Limited.
@Platform ANSI compatible
@Description Code to load POD files - models exported from MAX... |
// Copyright (c) YugaByte, Inc.
// Portions Copyright (c) 2021 Futurewei Cloud
//
// 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 ... |
// RUN: clang-cc -emit-llvm -o - %s
extern "C" int printf(...);
struct F {
F() : iF(1), fF(2.0) {}
int iF;
float fF;
};
struct V {
double d;
int iV;
};
struct B : virtual V{
double d;
int iB;
};
struct B1 : virtual V{
double d;
int iB1;
};
class A : public B, public B1 {
public:
A() : f(1.0... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_l.h" for further details
; ----------------------------------------------------------------
; void BIFROSTL_setTile(unsigned int px, unsigned int py, unsigned int tile)
... |
// ---------------------------------------------------------------------------
//
// @file TwMgr.cpp
// @author Philippe Decaudin
// @license This file is part of the AntTweakBar library.
// For conditions of distribution and use, see License.txt
//
// ------------------------------------... |
; A172178: 99n+1.
; 1,100,199,298,397,496,595,694,793,892,991,1090,1189,1288,1387,1486,1585,1684,1783,1882,1981,2080,2179,2278,2377,2476,2575,2674,2773,2872,2971,3070,3169,3268,3367,3466,3565,3664,3763,3862,3961,4060,4159,4258
mul $0,99
add $0,1
|
; Title: Win32 Network Shell
; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003
; Author: hdm[at]metasploit.com
[BITS 32]
%include "win32_stage_boot_bind.asm"
%include "win32_stage_shell.asm"
|
; A070361: a(n) = 3^n mod 41.
; 1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27
mov $1,1
mov $2,$0
lpb $2
... |
// Copyright 2017 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "bucket/BucketInputIterator.h"
#include "bucket/BucketTests.h"
#include "herder/Herder... |
// Copyright (c) 2016-2018 The Bitcoin Core developers
// Copyright (c) 2017 The Raven Core developers
// Copyright (c) 2018 The Rito Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "perf.h"
#if defined... |
; A092196: Number of letters in "old style" Roman numeral representation of n (e.g., IIII rather than IV).
; 0,1,2,3,4,1,2,3,4,5,1,2,3,4,5,2,3,4,5,6,2,3,4,5,6,3,4,5,6,7,3,4,5,6,7,4,5,6,7,8,4,5,6,7,8,5,6,7,8,9,1,2,3,4,5,2,3,4,5,6,2,3,4,5,6,3,4,5,6,7,3,4,5,6,7,4,5,6,7,8,4,5,6,7,8,5,6,7,8,9,5,6,7,8,9,6,7,8,9,10
mov $2,$0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x134bf, %r12
nop
nop
nop
inc %r11
mov (%r12), %r14w
nop
nop
sub $36875, %r10
lea addresses_WC_ht+0x447f, %rsi
lea addresses_D_ht+0x1e3f, %rdi
clflush (%rdi)
nop
nop
nop
nop
s... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Ints86.asm - Interrupcoes do 8085
;Prof. Roberto M. Ziller - 04.01.2000
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PILHA SEGMENT STACK
DW 128 DUP (?)
PILHA ENDS
DADOS SEGMENT
CONT DB 0 ; CONTAGEM
ATRASO DB ... |
/*=========================================================================
*
* Copyright RTK 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
*
* http://www.apa... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "stdafx.h"
#include "PluginJsonConstants.h"
#include "..\..\AzureDeviceManagementCommon\DMConstants.h"
#include "..\..\AzureDeviceManagementCommon\Plugins\PluginConstants.h"
#include "WindowsUpdateHandler.h"
#defi... |
;******************************************************************************
;*
;* Adjustris - Block dropping puzzle game for Gameboy
;*
;* Written in 2017 by Dave VanEe (tbsp) dave.vanee@gmail.com
;*
;* To the extent possible under law, the author(s) have dedicated all copyright
;* and related and neighboring ri... |
#pragma once
#include "Arduino.h"
class GeodeticConverter
{
public:
GeodeticConverter(float home_latitude = 0, float home_longitude = 0, float home_altitude = 0)
{
setHome(home_latitude, home_longitude, home_altitude);
}
void setHome(float home_latitude, float home_longitude, float home_altitude)
{
... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2016 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.