text stringlengths 1 1.05M |
|---|
; A236227: Sum of the nineteenth powers of the first n primes.
; Submitted by Christian Krause
; 524288,1162785755,19074649113880,11417969834487023,61170508418249033314,1523090798793695143991,240595526483945019991144,2219015182144258609115123,76834486109734969171023610,6180095732699726458749873279,278507579526701226534... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xc942, %rsi
lea addresses_UC_ht+0x11142, %rdi
clflush (%rdi)
nop
nop
nop
nop
sub %r14, %r14
mov $4, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp %r10, %r10
lea addresses_normal_ht+... |
processor 6502
include "vcs.h"
include "macro.h"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Váriaveis
seg.u Variables
org $80
JetXPos byte
JetYPos byte
BomberXPos byte
BomberYPos byte
MissileXPos byte
MissileYPos byte
Score byte ;2 digit score
Timer byte ;2 digit ... |
var1: defl 0
var1: equ 99
|
// Copyright (c) 2015-2016 The Bitcoin Core developers
// Copyright (c) 2017 The Zcash developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2019 The JACK developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %r9
push %rdi
push %rdx
lea addresses_A_ht+0x16d75, %r12
nop
nop
xor %r14, %r14
movb $0x61, (%r12)
nop
nop
sub $34653, %rdi
lea addresses_WC_ht+0xef1d, %r8
nop
nop
nop
nop
add $50269, %rdx
mov (%r8), %r9d
xor $44514, %r14
lea addresses_A_ht+... |
#ifndef HOG_READER_HPP_GUARD
#define HOG_READER_HPP_GUARD
//===----------------------------------------------------------------------===//
//
// The Descent map loader
//
// NAME : HogReader
// PURPOSE : Providing a decoder and wrapper for the Descent .HOG format.
// COPYRIGHT : (c) ... |
JUC r6 start_menu ///calls start_game.
start_Game:
JAL r6 initlevel
JAL r6 INIT_GreenGhost
mainGameLoop:
JAL r6 GreenGhost_UPDATE_STATE
JAL r6 GreenGhost_Draw_GLYPH
JUC r6 mainGameLoop
//:::::::::::::BEGIN GreenGhost STATE MACHINE::::::::::::::::::::::::::
//:::::::::::::BEGIN GreenGhost STATE MACHINE:::::::::::... |
/*********************************************************
* Copyright (C) 2010-2016 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation version 2.1 an... |
; A135683: a(n)=1 if n is a prime number; otherwise, a(n)=n.
; 1,1,1,4,1,6,1,8,9,10,1,12,1,14,15,16,1,18,1,20,21,22,1,24,25,26,27,28,1,30,1,32,33,34,35,36,1,38,39,40,1,42,1,44,45,46,1,48,49,50,51,52,1,54,55,56,57,58,1,60,1,62,63,64,65,66,1,68,69,70,1,72,1,74,75,76,77,78,1,80,81,82,1,84,85,86,87,88,1,90,91,92,93,94,95,9... |
; A299289: Coordination sequence for "tsi" 3D uniform tiling.
; 1,8,28,60,106,164,236,320,418,528,652,788,938,1100,1276,1464,1666,1880,2108,2348,2602,2868,3148,3440,3746,4064,4396,4740,5098,5468,5852,6248,6658,7080,7516,7964,8426,8900,9388,9888,10402,10928
add $0,1
mov $1,$0
sub $0,2
mul $1,$0
mov $2,$1
add $1,2
mul $... |
/*******************************************************************************
* Copyright 2019 Intel Corporation
*
* 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.o... |
.386
.model flat,stdcall
option casemap:none
VirtualAlloc proto stdcall :DWORD, :DWORD, :DWORD, :DWORD
VirtualProtect proto stdcall :DWORD, :DWORD, :DWORD, :DWORD
VirtualFree proto stdcall :DWORD, :DWORD, :DWORD
includelib \masm32\lib\kernel32.lib
.code
main:
push ebp
mov ebp,esp
mov eax,dword ptr ss:[ebp+0... |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
include asmmacros.inc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; RhpGetThread
;;
;;
;; INPUT:
;;
;; OUTPUT... |
[org 0x0100]
jmp start
buffer: db 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32
startingBit: db 105
start: mov dx,1111111100000000b
mov bx,8
mov cx,0
mov ax,0
mov si,0
mov al, [startingBit]
div bl
mov bx, 0
mov bl,al
mov si,bx
... |
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2016-20, Lawrence Livermore National Security, LLC
// and RAJA project contributors. See the RAJA/COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
STACK SEGMENT STACK
DW 64 DUP(?)
STACK ENDS
CODE SEGMENT
ASSUME CS:CODE,SS:STACK
START: PUSH DS
MOV AX,0
PUSH AX
MOV AH,0FH
INT 10H
MOV AH,0
MOV AL,3
INT 10H
... |
;------------------------------------------------------------------------------
;
; 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... |
// prophelp.cpp
//
// Implements AllocPropPageHelper.
//
// @doc MMCTL
//
#include "precomp.h"
#include "..\..\inc\mmctlg.h"
#include "..\..\inc\ochelp.h"
#include "debug.h"
//////////////////////////////////////////////////////////////////////////////
// CPropPageHelper
//
/* @object PropPageHel... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rcx
push %rsi
lea addresses_WT_ht+0x4d1c, %r15
nop
nop
nop
nop
nop
sub $6773, %r9
mov (%r15), %rsi
nop
add $7443, %rsi
lea addresses_D_ht+0x1771c, %r10
nop
nop
nop
nop
add %rsi, %rsi
mov (%r10), %cx
nop
sub %rsi, %rsi
pop %rsi
pop %rcx
pop ... |
//===-- Implementation of rintf function ----------------------------------===//
//
// 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
//
//===---------------------------... |
MRUG EQU 00100100B
LJMP START
ORG 100H
START:
MOV R2, #MRUG
SETB C
DIODA:
MOV P1.7, C
MOV A, #5
CALL DELAY_100MS
MOV A, R2
RLC A
MOV R2, A
SJMP DIODA |
; ********************************************************************************************
; ********************************************************************************************
;
; Name : continue.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
; ... |
extern m7_ippsSMS4EncryptCBC_CS1:function
extern n8_ippsSMS4EncryptCBC_CS1:function
extern y8_ippsSMS4EncryptCBC_CS1:function
extern e9_ippsSMS4EncryptCBC_CS1:function
extern l9_ippsSMS4EncryptCBC_CS1:function
extern n0_ippsSMS4EncryptCBC_CS1:function
extern k0_ippsSMS4EncryptCBC_CS1:function
extern ippcpJumpIndexForMe... |
#include "Window.h"
#include "App.h"
#include "Defs.h"
#include "Log.h"
#include "SDL/include/SDL.h"
Window::Window(App* application, bool start_enabled) : Module(application, start_enabled)
{
window = NULL;
screenSurface = NULL;
name.Create("window");
}
// Destructor
Window::~Window()
{
}
// Called before ren... |
; A033970: Trajectory of 1 under map n->27n+1 if n odd, n->n/2 if n even
; Submitted by Jon Maiga
; 1,28,14,7,190,95,2566,1283,34642,17321,467668,233834,116917,3156760,1578380,789190,394595,10654066,5327033,143829892,71914946,35957473,970851772,485425886,242712943,6553249462
add $0,1
mov $1,$0
mov $0,3
lpb $1
mov $2... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xcae7, %rdi
nop
nop
and $5699, %r8
movb (%rdi), %r13b
and %rax, %rax
lea addresses_A_ht+0x4648, %r10
nop
nop
nop
nop
and $23361, %r14
mov (%r10), %r15w
nop
nop
xor $... |
*
* COPYRIGHT:
*
* Unless otherwise noted, all files are Copyright (c) 1999 Amiga, Inc.
* All rights reserved.
*
* DISCLAIMER:
*
* This software is provided "as is". No representations or warranties
* are made with respect to the accuracy, reliability, performance,
* currentness, or operation of this software... |
; int __FASTCALL__ strlen(char *s)
; return length of s
; 12.2006 aralbrec
SECTION code_clib
PUBLIC strlen
PUBLIC _strlen
; enter: hl = char *s
; exit : hl = length, z flag set if 0 length
; uses : af, bc, hl
.strlen
._strlen
IF FORrcmx000
ld b,h
ld c,l
dec bc
ld hl,-1 ; our counter
.strlen1
... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="path"/>
<%docstring>
Invokes the syscall chdir. See 'man 2 chdir' for more information.
Arguments:
path(char): path
</%docstring>
${syscall('SYS_chdir', path)}
|
; int close(int fd)
SECTION code_fcntl
PUBLIC _close
EXTERN _close_fastcall
_close:
pop af
pop hl
push hl
push af
jp _close_fastcall
|
; A226405: Expansion of x/((1-x-x^3)*(1-x)^3).
; 0,1,4,10,21,40,71,120,196,312,487,749,1139,1717,2571,3830,5683,8407,12408,18281,26898,39537,58071,85245,125082,183478,269074,394534,578418,847927,1242926,1821840,2670295,3913782,5736217,8407142,12321590,18058510,26466393,38788763,56848093,83315347,122105013,178954052,262... |
[BotW_Gamespeed_V208]
moduleMatches = 0x6267BFD0
.origin = codecave
# Constants
const_0.5:
.float 0.5
const_1:
.float 1
const_1.5:
.float 1.5
const_30:
.float 30
busSpeed:
.float 62156250
convSub:
.uint 0x43300000
.uint 0x80000000
# Variables
fpsLimit:
.float $fpsLimit
lowFPSLimit:
.float $lowFPSLimit
buffer... |
; A127233: a(n) = n!*(n*(n+1)/2)!.
; Submitted by Jon Maiga
; 1,1,12,4320,87091200,156920924160000,36785478363630796800000,1536637256843037856927580160000000,14998770936168817088309737749441675264000000000,43408511507665453002645192043544271642563569306828800000000000
mov $2,$0
seq $0,52295 ; a(n) = (n*(n+1)/2)!.
lpb ... |
; A107868: Column 0 of triangle A107867; a(n) = C( n*(n-1)/2 + n + 1, n).
; 1,2,6,35,330,4368,74613,1560780,38608020,1101716330,35607051480,1285063345176,51209646652255,2232785266876080,105710363656182600,5399936810873056584,295998326072989842600,17328840976366636057110
sub $1,$0
bin $1,2
add $1,1
bin $1,$0
mov $0,$1
|
IN 10H
CALL SHUTDOWN ;; SHUTDOWN WILL CLEAR OUR SCREEN
PUSH PSW
PUSH B
PUSH H
PUSH D
CALL STDM ;; STDM MAY CHANGE REGISTERS
;; SO WE SAVE THEM
POP H
POP D
POP B
POP PSW
CALL DCD
MVI B,00H ;; COUNTER FOR CHARACTERS GIVEN
MVI E,00H ;; FOR RANDOM USE
BEGIN:
CALL KIND ;; READ INPUT
CPI 85H ;; COMPARE WITH FETCH PC CODE
JNZ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1c75, %rsi
lea addresses_normal_ht+0x6965, %rdi
clflush (%rsi)
clflush (%rdi)
sub $38840, %r9
mov $1, %rcx
rep movsw
xor %rcx, %rcx
lea addresses_normal_ht+0xea45, %r11
c... |
#ifndef GODOT_CPP_RECTANGLESHAPE2D_HPP
#define GODOT_CPP_RECTANGLESHAPE2D_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include "Shape2D.hpp"
namespace godot {
class RectangleShape2D : public Shape2D {
struct ___method_bindings {
godot_metho... |
#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>
#include <iostream>
#include <fstream>
#include <sys/types.h>
#include <dirent.h>
#include <dvs_msgs/Event.h>
#include <dvs_msgs/EventArray.h>
#include <rosbag/bag.h>
#include <rosbag/view.h>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/Imu.h>
#inclu... |
/*
* This file belongs to the Galois project, a C++ library for exploiting parallelism.
* The code is being released under the terms of the 3-Clause BSD License (a
* copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... |
page ,160
;
;----------------------------------------------------------------------------
;
; Modification history
;
; 26-Feb-1991 sudeepb Ported for NT DOSEm
;----------------------------------------------------------------------------
include version.inc ; set build flags
include biosseg.inc ; establi... |
; A086851: a(0) = 1, a(n+1) = a(n)^2 - n.
; 1,1,0,-2,1,-3,4,10,93,8641,74666872,5575141774264374,31082205803147712138788845611865,966103517589229313003894215813508352493573272034098666228778213,933356006698282312572303256489816012122783406254583141248499016192865214116760703502264792586180597344027491798667186743473356... |
; DRAW XOR SPRITE 2 BYTE DEFINITION ROTATED, ON LEFT BORDER
; 01.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
XLIB SP1_DRAW_XOR2LB
LIB SP1_DRAW_XOR2NR
XREF SP1RETSPRDRAW, SP1V_ROTTBL, SP1V_PIXELBUFFER
; following data segment copied into struct sp1_cs
ld hl,0
nop
ld de,0
call SP1_DRAW_XOR... |
; A045321: Primes congruent to {1, 2, 3} mod 5.
; Submitted by Christian Krause
; 2,3,7,11,13,17,23,31,37,41,43,47,53,61,67,71,73,83,97,101,103,107,113,127,131,137,151,157,163,167,173,181,191,193,197,211,223,227,233,241,251,257,263,271,277,281,283,293,307,311,313,317,331,337,347,353,367,373,383,397,401,421,431,433,443,... |
; A100057: Sum of absolute differences of p(n) defined in A054065, oriented around a clock.
; 2,4,8,12,18,24,30,40,50,60,70,80,96,112,128,144,160,176,192,208,234,260,286,312,338,364,390,416,442,468,494,520,546,588,630,672,714,756,798,840,882,924,966,1008,1050,1092,1134,1176,1218,1260,1302,1344,1386
mov $14,$0
mov $16,... |
; A084943: Decagorials: n-th polygorial for k=10.
; Submitted by Jamie Morken(s1)
; 1,1,10,270,14040,1193400,150368400,26314470000,6104957040000,1813172240880000,670873729125600000,302564051835645600000,163384587991248624000000,104075982550425373488000000
mov $1,1
mov $2,1
lpb $0
mul $1,$0
sub $0,1
mul $1,$2
a... |
// Copyright (c) 2018-2021 The Bitcoin Unlimited developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "extversionmessage.h"
#include "hashwrapper.h"
#include "random.h"
#include "streams.h"
#include "util.h"
uin... |
/// gravity tutorial
#include "tutorialpartroll.h"
#include "logger.h"
//#include "rollthrustshipcontroller.h"
#include "PlayerControlledShipControllers.h"
CTutorialpartRoll::CTutorialpartRoll(CShip* aShip):CTutorialpartBox(aShip) {
mShipController=new CRollThrustShipController( mShip );
}
CTutorialpartRoll::... |
// Test that address vars are turned into load/store and located at hardcoded addresses
// Hard-coded mainmem-page address - global variable
// Commodore 64 PRG executable file
.file [name="address-2.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$080... |
SECTION code_clib
PUBLIC asm_set_palette
PUBLIC asm_get_palette
; Set the palette bitsets
;
; Entry: l = blue bitset
; h = red bitset
; e = green bitset
asm_set_palette:
ld bc,$1000
out (c),l ;Blue
inc b
out (c),h ;Red
inc b
out (c),e ;Green
ld (__x1_default_palette),hl
ld a,e
ld (__x1_default_p... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licens... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid... |
MOV $0, #0
MOV $1, #1
MOV $2, #0
LOD $3, fib_digit
loop: b: c:
d:
ADD $4, $0, $1
MOV $0, $1
MOV $1, $4
ADD $2, $2, #1
CMP $5, $2, $3
BRA loop, !LT $5
e: DBG
DIE
fib_digit: DAT #10
|
; A179059: Number of non-attacking placements of 4 rooks on an n X n board.
; 0,0,0,24,600,5400,29400,117600,381024,1058400,2613600,5880600,12269400,24048024,44717400,79497600,135945600,224726400,360561024,563376600,859685400,1284221400,1881864600,2709885024,3840540000,5364060000,7392060000,10061415000,13538640024,1802... |
%include "colon.inc"
%include "words.inc"
global _start
extern print_string
extern read_word
extern exit
extern find_word
extern print_newline
extern string_length
%define STD_OUT 0x01
%define STD_ERR 0x02
section .rodata
mes_enter: db "enter the key: ", 0
mes_key_not_found_str: db "ERROR: such key is not in dictio... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>signalfd4(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall signalfd4.
See 'man 2 signalfd4' for more information.
Arguments:
vararg(int): vararg
Returns:
long
</%docs... |
; char *stpncpy(char * restrict s1, const char * restrict s2, size_t n)
IF !__CPU_GBZ80__
SECTION code_clib
SECTION code_string
PUBLIC stpncpy_callee
EXTERN asm_stpncpy
stpncpy_callee:
pop af
pop bc
pop hl
pop de
push af
jp asm_stpncpy
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _stpncpy_... |
// Copyright (c) 2014-2015 The FargoCoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chain.h"
#include "random.h"
#include "util.h"
#include "test/test_bitcoin.h"
#include <vector>
#include <boost... |
// Copyright (c) 2020 Tom Hancocks
//
// 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, publish, ... |
; A188656: Decimal expansion of (1+sqrt(65))/8.
; Submitted by Jon Maiga
; 1,1,3,2,7,8,2,2,1,8,5,3,7,3,1,8,7,0,6,5,4,5,8,2,6,6,5,3,7,8,7,9,7,1,3,9,1,3,9,1,7,9,9,5,3,8,2,0,1,0,7,1,6,7,3,4,9,2,0,7,4,0,4,8,6,5,7,9,8,4,3,6,8,8,7,8,2,1,1,0,2,5,3,7,0,0,1,9,2,8,3,3,3,9,6,5,3,8,3,0
mov $1,1
mov $2,1
mov $3,$0
mul $3,6
lpb $3
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x50e, %rdx
nop
nop
sub %r12, %r12
mov $0x6162636465666768, %rsi
movq %rsi, %xmm2
and $0xffffffffffffffc0, %rdx
vmovntdq %ymm2, (%rdx)
nop
nop
nop
cmp $14953, %r8
lea addresses... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xf319, %r9
nop
nop
nop
and %r13, %r13
movw $0x6162, (%r9)
nop
nop
nop
nop
and $35916, %rdi
lea addresses_A_ht+0x12233, %rsi
lea addresses_A_ht+0xa3fd, %rdi
nop
nop
nop
nop
sub... |
; A256818: Number of length n+3 0..1 arrays with at most two downsteps in every n consecutive neighbor pairs.
; 16,32,64,128,245,442,753,1220,1894,2836,4118,5824,8051,10910,14527,19044,24620,31432,39676,49568,61345,75266,91613,110692,132834,158396,187762,221344,259583,302950,351947,407108,469000,538224,615416,701248,79... |
; A047391: Numbers that are congruent to {1, 3, 5} mod 7.
; 1,3,5,8,10,12,15,17,19,22,24,26,29,31,33,36,38,40,43,45,47,50,52,54,57,59,61,64,66,68,71,73,75,78,80,82,85,87,89,92,94,96,99,101,103,106,108,110,113,115,117,120,122,124,127,129,131,134,136,138,141,143,145,148,150,152,155,157,159,162,164,166,169,171,173,176,178... |
; A190957: a(n) = 10*a(n-1) + 8*a(n-2), with a(0)=0, a(1)=1.
; Submitted by Jamie Morken(s4)
; 0,1,10,108,1160,12464,133920,1438912,15460480,166116096,1784844800,19177376768,206052526080,2213944274944,23787862958080,255590183780352,2746204741468160,29506768884924416,317037326780989440,3406427418889289728,36600572803140... |
; A206687: Number of n X 2 0..3 arrays with no element equal to another within two positions in the same row or column, and new values 0..3 introduced in row major order.
; 1,4,11,36,116,376,1216,3936,12736,41216,133376,431616,1396736,4519936,14626816,47333376,153174016,495681536,1604059136,5190844416,16797925376,54359... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>sigpending(set) -> str
Invokes the syscall sigpending.
See 'man 2 sigpending' for more information.
Arguments:
set(sigset_t*): set
Returns:
int
</%docstring>
<%page args="set=0"/>
<%
abi = pwnlib.abi.A... |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** License... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>symlinkat(from_, tofd, to) -> str
Invokes the syscall symlinkat.
See 'man 2 symlinkat' for more information.
Arguments:
from(char*): from
tofd(int): tofd
to(char*): to
Returns:
int
</%do... |
Name: kart-data-j.asm
Type: file
Size: 12297
Last-Modified: '1992-07-30T08:29:43Z'
SHA-1: 9B98BC80BF39377C20605E2F9827D3F33DE58581
Description: null
|
; A199214: 3*5^n+1.
; 4,16,76,376,1876,9376,46876,234376,1171876,5859376,29296876,146484376,732421876,3662109376,18310546876,91552734376,457763671876,2288818359376,11444091796876,57220458984376,286102294921876,1430511474609376,7152557373046876,35762786865234376,178813934326171876,894069671630859376,4470348358154296876,... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>get_kernel_syms(table) -> str
Invokes the syscall get_kernel_syms.
See 'man 2 get_kernel_syms' for more information.
Arguments:
table(kernel_sym*): table
Returns:
int
</%docstring>
<%page args="... |
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x17a9d, %rbx
nop
nop
nop
nop
nop
sub $40835, %rdx
mov $0x6162636465666768, %rax
movq %rax, (%rbx)
inc %rcx
lea addresses_WT_ht+0xce3d, %rdx
nop
nop
nop
nop
add %r8, %r8
mov (%r... |
; A071246: a(n) = n*(n - 1)*(2*n^2 + n + 2)/6.
; 0,0,4,23,76,190,400,749,1288,2076,3180,4675,6644,9178,12376,16345,21200,27064,34068,42351,52060,63350,76384,91333,108376,127700,149500,173979,201348,231826,265640,303025,344224,389488,439076,493255,552300,616494,686128,761501,842920,930700,1025164,1126643,1235476,1352010... |
/**
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
* \file CreateLiquidFlowMaterialProperties.cpp
*
*... |
; A158684: a(n) = 64*n^2 - 1.
; Submitted by Christian Krause
; 63,255,575,1023,1599,2303,3135,4095,5183,6399,7743,9215,10815,12543,14399,16383,18495,20735,23103,25599,28223,30975,33855,36863,39999,43263,46655,50175,53823,57599,61503,65535,69695,73983,78399,82943,87615,92415,97343,102399,107583,112895,118335,123903,129... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld b, 91
call lwaitly_b
ld a, b1
ldff(40), a
ld a, 0f
ldff(4b), a
ld c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
xor a, a
ldff(0f), a
l... |
; A335756: A cup filling problem starting with 2 empty cups of sizes 3 and n, where a(n) is the number of unreachable states (see details in comments).
; 2,0,2,12,6,8,22,12,14,32,18,20,42,24,26,52,30,32,62,36,38,72,42,44,82,48,50,92,54,56,102,60,62,112,66,68,122,72,74,132,78,80,142,84,86,152,90,92,162,96,98,172,102,104... |
; A159288: Expansion of (1+x+x^2)/(1-x^2-2*x^3).
; Submitted by Jamie Morken(s2)
; 1,1,2,3,4,7,10,15,24,35,54,83,124,191,290,439,672,1019,1550,2363,3588,5463,8314,12639,19240,29267,44518,67747,103052,156783,238546,362887,552112,839979,1277886,1944203,2957844,4499975,6846250,10415663,15846200,24108163,36677526,55800563,... |
; A141980: Primes congruent to 4 mod 29.
; Submitted by Jon Maiga
; 149,439,613,787,1019,1193,1367,1483,1657,1831,1889,2063,2179,2237,2411,3049,3571,3803,3919,4093,4441,4673,4789,5021,5659,5717,6007,6529,6703,6761,7109,7283,7457,7573,8269,8443,8501,8849,9371,9661,9719,10009,10067,10357,10531,10589,10937,11633,11807,119... |
%include "TiberianSun.inc"
%include "macros/patch.inc"
%include "macros/datatypes.inc"
;;; When Charges=Yes, this patch allows the structure to shoot even on low power
@CLEAR 0x00435271, 0x90, 0x00435287
|
$include 'maxr$'
$include 'tgpdef/asm'
$ascii
$info 1 3 . quarter-word sensitive
. Version 1
. Just print qual*filenames and DAD counts.
. No selection, no sorting.
. I assume the MFD extact file is assigned,
. because MFDEDT should have just run.
. (We'll p... |
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "ie_preprocess_gapi_kernels.hpp"
#include "ie_preprocess_gapi_kernels_impl.hpp"
#if CPU_SIMD
#include "ie_system_conf.h"
#ifdef HAVE_AVX512
#include "cpu_x86_avx512/ie_preprocess_gapi_kernels_avx512.hpp"
#endif
#ifde... |
/*
* Copyright (C) 2015, Nils Moehrle
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#include <math/vector.h>
#include "debug.h"
... |
/*Copyright (c) 2019 The Paradox Game Converters 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, p... |
data segment
port dw 290h
mes0 db 'Start.',0dh,0ah,'$'
mes db 'Exit!$'
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
lea dx,mes0
mov ah,09h
int 21h
mov cl,0
mov dx,port
lp:
mov al,cl
out dx,al
add cl,1
call key
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x13b0c, %rsi
lea addresses_WC_ht+0x1d26c, %rdi
sub %r14, %r14
mov $10, %rcx
rep movsl
nop
nop
nop
nop
xor $50844, %r13
lea addresses_D_ht+0x1bbfb, %rsi
lea addresses_UC_ht+0xe... |
; Startup for VZ200/300
;
; Stefano Bodrato - Apr. 2000
;
; If an error occurs eg break we just drop back to BASIC
;
; $Id: vz_crt0.asm,v 1.17 2015/01/26 16:50:29 stefano Exp $
;
MODULE vz_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
INCLUDE "... |
/*
* LCD_CDM-16100 Display Driver - 4 bit interface
*
* org: 9/29/2014
* auth: Nels "Chip" Pearson
*
* Target: LCD_CDM-116100 Demo Board w/ LCD display and keypad I/O, 8MHz
* LCD control: ST7066U
*
* Resources
* SRAM
*
* IO
*
*/
.equ LC_CLEAR_DISPLAY = 0x01 ; Write 0x20 to DDRAM and reset AC to 00. [1.... |
; A095122: Fib(n)(2Fib(n)-1).
; 0,1,1,6,15,45,120,325,861,2278,5995,15753,41328,108345,283881,743590,1947351,5099221,13351528,34957341,91523685,239618886,627341331,1642418641,4299936480,11257426225,29472399505,77159865030,202007345631
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
mu... |
; A008346: a(n) = Fibonacci(n) + (-1)^n.
; 1,0,2,1,4,4,9,12,22,33,56,88,145,232,378,609,988,1596,2585,4180,6766,10945,17712,28656,46369,75024,121394,196417,317812,514228,832041,1346268,2178310,3524577,5702888,9227464,14930353,24157816,39088170,63245985,102334156,165580140,267914297,433494436,701408734,1134903169,183631... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the class library */
/* SoPlex --- the Sequential object-oriented simPlex. */
... |
; void SMS_VRAMmemset(unsigned int dst,unsigned char value,unsigned int size)
SECTION code_clib
SECTION code_SMSlib
PUBLIC SMS_VRAMmemset
EXTERN asm_SMSlib_VRAMmemset
SMS_VRAMmemset:
pop af
pop bc
pop de
pop hl
push hl
push de
push bc
push af
jp asm_SMSlib_VRAMmemset
|
db #00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00
db #01,#01,#01,#01,#01,#01,#01,#01,#01,#01,#... |
/*!
* \copy
* Copyright (c) 2008-2013, Cisco Systems
* 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 abo... |
// Copyright (c) 2021 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... |
;;; am2302.asm
;;- Subroutines for AM2303 (aka DHT22) relative humidity (RH) and temperature sensor
;;- This code is a part of [[../][pAVRlib]].
;;-
;;- * Requirement
;;- - [[../../wait][wait.asm]] (a part of pAVRlib)
;;-
;;- * How to use
;;- Define ~F_CPU~ (frequency of CPU), ~AM_DDR~, ~AM_PORT~, ~AM_PIN~
;;- an... |
.size 8000
.text@49
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld b, 90
call lwaitly_b
ld a, 11
ldff(40), a
ld hl, 8000
ld b, 08
lbegin_settile0data:
ld a, 00
ld(hl++), a
ld a, 7e
ld(hl++), a
dec b
jrnz... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel/Graphics
FILE: graphicsFontC.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/91 Initial version
DESCRIPTIO... |
; String Manipulation Code
; Started 05-Jan-20
;
; Initials: NB = Nolan Baker
; V1.0 - 05-Jan-20 : Original Release - NB
;
; Library Subroutines:
; str_Copy
; Copy a string from hl to de
; Entry: hl = src string, de = dest string
; str_Length
; Length of a string
; Entry: hl = string
; Return: ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.