text stringlengths 1 1.05M |
|---|
; ML64 template file
; Compile: uasm64.exe -nologo -win64 -Zd -Zi -c testUasm.asm
; Link: link /nologo /debug /subsystem:console /entry:main testUasm.obj user32.lib kernel32.lib
OPTION WIN64:8
; Include libraries
includelib SDL2.lib
includelib SDL2main.lib
includelib SDL2_image.lib
; Include files
include main.inc
... |
#include "utils.hpp"
#include "sysutils.hpp"
#include "farutils.hpp"
#include "common.hpp"
#include "archive.hpp"
#include "options.hpp"
#include "SimpleXML.hpp"
using namespace SimpleXML;
using Rt = SimpleXML::cbRet;
using Sv = SimpleXML::str_view;
static const auto codecs_v = "Codecs.7z"_v;
static const auto defaul... |
#
# Filename: fibo.asm
# Purpose : N-address code (NAC) implementation for the iterative version of
# Fibonacci series computation.
# Author : Nikolaos Kavvadias (C) 2009, 2010, 2011, 2012, 2013, 2014
# Date : 17-Sep-2009
# Revision: 0.2.0 (17/09/09)
# Initial version.
#
# at = R[1]
# n = R[2]... |
INCLUDE "config_private.inc"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_ERROR
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; verbose mode
SECTION code_clib
SECTION code_error
PUBLIC error_enfile_mc
EXTERN __ENFILE, errno_mc
pop hl
error_enfile_mc:
; set hl = -1
; set ca... |
/*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the ri... |
; A045572: Numbers that are odd but not divisible by 5.
; 1,3,7,9,11,13,17,19,21,23,27,29,31,33,37,39,41,43,47,49,51,53,57,59,61,63,67,69,71,73,77,79,81,83,87,89,91,93,97,99,101,103,107,109,111,113,117,119,121,123,127,129,131,133,137,139,141,143,147,149,151,153,157,159,161,163,167,169,171,173,177,179,181,183,187,189,19... |
SECTION code_clib
PUBLIC generic_console_vpeek
EXTERN generic_console_xypos_graphics
EXTERN screendollar
EXTERN screendollar_with_count
EXTERN generic_console_font32
EXTERN generic_console_udg32
;Entry: c = x,
; b = y
; e = rawmo... |
SFX_Cry07_2_Ch1:
dutycycle 240
unknownsfx0x20 4, 243, 224, 6
unknownsfx0x20 15, 228, 64, 6
unknownsfx0x20 8, 193, 32, 6
endchannel
SFX_Cry07_2_Ch2:
dutycycle 10
unknownsfx0x20 3, 195, 131, 6
unknownsfx0x20 14, 180, 2, 6
unknownsfx0x20 8, 161, 1, 6
endchannel
SFX_Cry07_2_Ch3:
unknownnoise0x20 4, 211, 92
... |
; A049670: a(n) = Fibonacci(10*n)/55.
; 0,1,123,15128,1860621,228841255,28145613744,3461681649257,425758697244867,52364858079469384,6440451785077489365,792123204706451722511,97424713727108484379488,11982447665229637126954513,1473743638109518258131025611,181258485039805516112989195640,22293319916257968963639540038109,27... |
#include "hashgenerator.h"
#include <QDebug>
HashGenerator::HashGenerator()
{
}
QString HashGenerator::generateHash(const QString& apiKey, const QString& secretKey,
const QString& randomString, Request* iyziRequest) {
QCryptographicHash cryptoHash(QCryptographicHash::Sh... |
// Copyright 2008 by BBN Technologies Corp.
// All Rights Reserved.
#include "Generic/common/leak_detection.h"
#include "Generic/common/UnrecoverableException.h"
#include "Generic/common/InternalInconsistencyException.h"
#include "Generic/common/ParamReader.h"
#include "Arabic/BuckWalter/ar_ParseSeeder.h"
#inc... |
#include <bits/stdc++.h>
#define N 2
#define bufferTam 100 //INDICA TAMANHO DO BUFFER
#define numReq 200 //OMDOCA NUMERO DE REQUISICOES
using namespace std;
int numThreads=0;
pthread_mutex_t mutexs = PTHREAD_MUTEX_INITIALIZER; //mutex de uso real
pthread_mutex_t mutexThread= PTHREAD_MUTEX_INITIALIZER; //Mutex para... |
;
; Copyright (c) 2010 The WebM 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 proje... |
/*
** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
**
** File: GetViewSectorCondition.cpp
**
** Author:
**
** Description:
** Implementation of the training library "GetViewSectorCondition" interface.
**
** History:
*/
#include "pch.h"
#include "GetViewSectorCondition.h"
namespace T... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1cc13, %r10
nop
nop
nop
nop
nop
inc %r15
mov (%r10), %r12d
nop
nop
nop
add $24391, %r9
lea addresses_D_ht+0x2725, %rbp
nop
nop
nop
nop
nop
inc %rax
movups (%rbp), %x... |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; See the LICENSE file in the project root for more information.
.586
.xmm
.model flat
option casemap:none
.code
include AsmMacros.inc
F... |
; A195323: a(n) = 22*n^2.
; 0,22,88,198,352,550,792,1078,1408,1782,2200,2662,3168,3718,4312,4950,5632,6358,7128,7942,8800,9702,10648,11638,12672,13750,14872,16038,17248,18502,19800,21142,22528,23958,25432,26950,28512,30118,31768,33462,35200,36982,38808,40678,42592,44550,46552,48598,50688,52822,55000,57222,59488,61798,6... |
###############################################################################
# Copyright 2019 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... |
.data
input: .asciiz "Computer Science @ Stony Brook University"
count_msg: .asciiz "Number of uppercase letters: "
space: .asciiz " "
endl: .ascii "\n"
.text
.globl main
main:
# counts number of uppercase letters: ASCII values in the range 65-90
li $t0, 0 # count of uppercase letters
la $t1, input # address of str... |
//-----------------------------------------------------------------------------------------------//
// dedaluslib.lib for Windows
//
// Created by Wilson.Souza 2012
// For Libbs Farma
//
// Dedalus Prime
// (c) 2012
//----------------------------------------------------------------------------------------------... |
; A055210: Sum of totients of square divisors of n.
; Submitted by Christian Krause
; 1,1,1,3,1,1,1,3,7,1,1,3,1,1,1,11,1,7,1,3,1,1,1,3,21,1,7,3,1,1,1,11,1,1,1,21,1,1,1,3,1,1,1,3,7,1,1,11,43,21,1,3,1,7,1,3,1,1,1,3,1,1,7,43,1,1,1,3,1,1,1,21,1,1,21,3,1,1,1,11,61,1,1,3,1,1,1,3,1,7,1,3,1,1,1,11,1,43,7,63
seq $0,57918 ; Num... |
/*=========================================================================
*
* 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... |
DATA SEGMENT
N1 DB 00000000B
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE, DS:DATA
START:
MOV AX, DATA
MOV DS, AX
MOV AH, 0000H
MOV AL, N1
NOT AL
CODE ENDS
END START
|
; A023717: Numbers with no 3's in base-4 expansion.
; 0,1,2,4,5,6,8,9,10,16,17,18,20,21,22,24,25,26,32,33,34,36,37,38,40,41,42,64,65,66,68,69,70,72,73,74,80,81,82,84,85,86,88,89,90,96,97,98,100,101,102,104,105,106,128,129,130,132,133,134,136,137,138,144,145,146,148,149,150,152,153,154,160,161,162,164,165,166,168,169,17... |
/**********
This library 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; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Epson 24pin printer driver
FILE: epshi24dynaInfo.asm
AUTHOR: Tsutomu Owa
REVISION HISTORY:
Name Date Description
---- ---- ------... |
;==============================================================================
; Contents of this file are copyright Phillip Stevens
;
; You have permission to use this for NON COMMERCIAL USE ONLY
; If you wish to use it elsewhere, please include an acknowledgement to myself.
;
; https://github.com/feilipu/
;
; https:... |
;
; MSX specific routines
;
; GFX - a small graphics library
; Copyright (C) 2004 Rafael de Oliveira Jannone
;
; void set_vdp_reg(int reg, int value);
;
; Write data to a VDP register
;
; $Id: set_vdp_reg.asm,v 1.5 2016/06/16 19:30:25 dom Exp $
;
SECTION code_clib
PUBLIC set_vdp_reg
PUBLIC _set_vdp_reg
EX... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_file_execl_83a.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-83a.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a file
* Go... |
#include "BaseLibInternals.h"
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 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 Lice... |
; Check whether we are on an odd or even row and load the appropriate framebuffer; additionally load the palette into the T flag.
sbrc video_next_row, 0
rjmp interrupt_active_video_pixel_output_prepare_odd
; Even.
load_immediate_z interrupt_framebuffer_b
bst interrupt_flags, INTERRUPT_FLAG_PALETTE_B
rjmp interrupt_act... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosMemAvail DOS wrapper
;
; (c) osFree Project 2021, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokushev... |
/*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
/*!
* \file settings_parser.cpp
* \author Andrey Semashev
* \date 20.07.2012
*
* \bri... |
SECTION .data
good: db "OK", 0x0
txtlen: equ $ - good
SECTION .text
GLOBAL _start
_start:
;sys_write
mov rax, 1
mov rdi, 1
mov rsi, good
mov rdx, txtlen
syscall
;sys_exit
mov rax, 60
mov rdi, 0
syscall |
;------------------------------------
; C20x subset
cpu 320c203
page 0
abs
add #25
add #2255
add #25,0
add #25,1
add #2255,1
add 123
add 123,3
add 123,16
add *
add *,3
add *,16
add *,0,AR2
add *,3,AR2
add *,16,AR2
addc 123
addc *
addc *,ar2
adds 123
adds *
adds *,ar2
addt 123
addt *
addt... |
; item ids
; indexes for:
; - ItemNames (see data/items/names.asm)
; - ItemDescriptions (see data/items/descriptions.asm)
; - ItemAttributes (see data/items/attributes.asm)
; - ItemEffects (see engine/items/item_effects.asm)
const_def
const NO_ITEM ; 00
const MASTER_BALL ; 01
const ULTRA_BALL ; 02
const BR... |
;
; Startup for test emulator
;
; $Id: test_crt0.asm,v 1.12 2016-06-21 20:49:07 dom Exp $
module test_crt0
INCLUDE "test_cmds.def"
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scope definitions
;--------
EXTERN ... |
/*
*
* BitcoinLikeWritableInputApi.cpp
* ledger-core
*
* Created by Pierre Pollastri on 10/04/2018.
*
* The MIT License (MIT)
*
* Copyright (c) 2017 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"),... |
;===============================================================================
; Copyright 2015-2019 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") co... |
; A153192: Numbers such that the numerator of floor(sqrt(n))/n, when reduced to its lowest terms, is equal to 2.
; 5,7,18,22,39,45,68,76,105,115,150,162,203,217,264,280,333,351,410,430,495,517,588,612,689,715,798,826,915,945,1040,1072,1173,1207,1314,1350,1463,1501,1620,1660,1785,1827,1958,2002,2139,2185,2328,2376,2525,... |
keyboard_show:
;Separation bar
ld hl,$9C00
ld b,20
ld a,T_WINGRAD
-:
di
call wait_hblank
ldi (hl),a
ei
dec b
jr nz,-
;Underline typed text
ld hl,$9C00+(32*2)+6
ld b,8
ld a,T_WINGRAD
-:
di
call wait_hblank
ldi (hl),a
ei
... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_h.h" for further details
; ----------------------------------------------------------------
; void BIFROSTH_drawTileH(unsigned int lin,unsigned int col,unsigned int tile... |
; ==================================================================
; KEYBOARD HANDLING ROUTINES
; ==================================================================
; ------------------------------------------------------------------
; os_wait_for_key -- Waits for keypress and returns key
; Also handles the screensa... |
#include "string.h"
#include <iostream>
#include "Direction.hpp"
#include <unordered_map>
using namespace std;
using ariel::Direction;
namespace ariel
{
class Notebook
{
std::unordered_map<int, unordered_map<int, unordered_map<int,char>>> notebook;
public:
void write( i... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 vrc Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.p... |
org 07c00h
;; section .data
section .text
start:
xor ax, ax
mov ds, ax
mov es, ax
;; mov ah, 0FH
;; int 10H
;; mov ah, 0
;; int 10H
mov si, msg
call puts
jmp $
puts:
lodsb
or al, al
jz putsd
mov ah, 0eh
mov bx, 0007h
int 10h
jmp puts
putsd:
retn
msg... |
BITS 32
; XOR [ESP], ESI and XOR ESI, [ESP] can be encoded in two ways, one of which is
; alphanumeric. NASM chooses the wrong one, which is why we have these:
%define xor_esp_esi db 0x31, 0x34, 0x64
%define xor_esi_esp db 0x33, 0x34, 0x64
start:
; This should be replaced with a PUSH r32
PUSH 0x66666666... |
; A194145: Beatty sequence for -1+sqrt(6), a(n)=floor(n*(-1+sqrt(6))); complement of A194146.
; 1,2,4,5,7,8,10,11,13,14,15,17,18,20,21,23,24,26,27,28,30,31,33,34,36,37,39,40,42,43,44,46,47,49,50,52,53,55,56,57,59,60,62,63,65,66,68,69,71,72,73,75,76,78,79,81,82,84,85,86,88,89,91,92,94,95,97,98
mov $2,$0
mov $4,$0
add $... |
// Copyright 2015 The Shaderc Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... |
; int ispunct(int c)
SECTION code_ctype
PUBLIC _ispunct
EXTERN _ispunct_fastcall
_ispunct:
pop af
pop hl
push hl
push af
jp _ispunct_fastcall
|
db "SEED@" ; species name
db "It is very weak."
next "Its only means of"
next "defense is to"
page "shake its leaves"
next "desperately at its"
next "attacker.@"
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xef68, %rsi
nop
nop
nop
nop
nop
xor %r11, %r11
movw $0x6162, (%rsi)
nop
and %r10, %r10
lea addresses_normal_ht+0x56fa, %rsi
lea addresses_normal_ht+0x93de, %rdi
nop
nop
nop
nop
nop
add... |
; A161425: a(n) = A161424(n)/2.
; Submitted by Jamie Morken(s2)
; 8,10,12,14,16,22,26,34,38,46,58,62,74,82,86,94,106,118,122,134,142,146,158,166,178,194,202,206,214,218,226,254,262,274,278,298,302,314,326,334,346,358,362,382,386,394,398,422,446,454,458,466,478,482,502,514
mov $1,$0
add $0,4
trn $1,1
seq $1,6005 ; The ... |
; A208064: Number of n X 3 0..1 arrays avoiding 0 0 0 and 1 1 1 horizontally and 0 0 1 and 0 1 1 vertically.
; 6,36,72,144,216,324,432,576,720,900,1080,1296,1512,1764,2016,2304,2592,2916,3240,3600,3960,4356,4752,5184,5616,6084,6552,7056,7560,8100,8640,9216,9792,10404,11016,11664,12312,12996,13680,14400,15120,15876,1663... |
#include <AL/al.h>
#include <player/stream/AudioStreamPlayer.h>
#include <player/stream/StreamUpdateWorker.h>
#include <util/CheckState.h>
namespace urchin {
AudioStreamPlayer::AudioStreamPlayer(const Sound& sound, StreamUpdateWorker& streamUpdateWorker) :
AudioPlayer(sound),
streamUpdate... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: hearts
FILE: heartsGame.asm
AUTHOR: Peter Weck, Jan 20, 1993
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Dat... |
lc r4, 0x00000000
lc r5, 0x0000101f
lc r6, 0x00000000
tlbse r6, r4
lc r8, 0x40000000
lc r9, 0x0000101f
lc r10, 0x00000001
tlbse r10, r8
lc r11, 0xdeadbeef
lc r12, 0x00000000
lc r13, 0x00000000
st4 r11, r12, 0
ld1 r30, r13, 0
halt
#@expected values
#r4 = 0x0000000... |
.MODEL SMALL
.STACK 100h
.DATA
a1 DW 0
a2 DW 0
TV0 DW 0
TV1 DW 0
TV2 DW 0
TV3 DW 0
TV4 DW 0
TV5 DW 0
TV6 DW 0
TV7 DW 0
a3 DW 0
b3 DW 0
x3 DW 0
TV8 DW 0
TV9 DW 0
TV10 DW 0
TV11 DW 0
TV12 DW 0
TV13 DW 0
TV14 DW 0
TV15 DW 0
TV16 DW 0
a4 DW 0
b4 DW 0
x4 DW 0
TV17 DW 0
TV18 DW 0
TV19 DW 0
TV20 DW 0
TV21 DW 0
TV22 DW 0
TV23 ... |
/*
* 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... |
section .data
section .bss
section .text
global axpy
; void axpy(int N, REAL *Y, REAL *X, REAL a);
; edi rsi rdx xmm0
; AXPY Y[N] = Y[N] + a*X[N]
axpy:
xor rax, rax
movss xmm7, xmm0
vmovups ymm1, [rdx]
vbroadcastss ymm2, xmm7
vmulps ymm1, ymm1, ymm2
vaddps ymm0, ymm1, [rsi]
vmovups [rsi], ymm0
a... |
ori $t1,$t1,4
ori $t2,$t2,8
sw $t2,0($t1)
lw $t2,0($t1)
addu $t1,$t1,$t2
lw $t2,0($t1)
addu $t1,$t3,$t2
addu $t3,$t4,$t5
sw $t3,0($t1)
ori $t3,$t3,12
sw $t3,0($t2)
lw $t4,0($t2)
subu $1,$1,$1
ori $12,$12,5
ori $1,$1,16
addu $16,$12,$1
addu $18,$16,$1
sw $18,16($1) |
; A061094: The alternating group A_n contains an element x which is not conjugate to its inverse (equivalently not all the entries in the character table of A_n are real numbers).
; 3,4,7,8,9,11,12,13,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_IE
;TEST_FILE_META_END
FLDPI
;TEST_BEGIN_RECORDING
lea edi, [esp-0xC]
fisttp qword [edi]
mov eax, dword [edi+00]
mov ebx, dword [edi+04]
mov edi, 0x0
;TEST_END_RECORDING
|
HallOfFame_h:
db GYM ; tileset
db HALL_OF_FAME_HEIGHT, HALL_OF_FAME_WIDTH ; dimensions (y, x)
dw HallOfFame_Blocks ; blocks
dw HallOfFame_TextPointers ; texts
dw HallOfFame_Script ; scripts
db 0 ; connections
dw HallOfFame_Object ; objects
|
; multi-segment executable file template.
data segment
; add your data here!
pkey db 10, 13, "press any key...$"
message1 db "Adade 3 raghami : $"
message2 db 10, 13, "Result : $"
number dw 0
multip db 100
temp dw 0
string db ... |
// Shaky has N (1<=N<=50000) candy boxes each of them contains a non-zero number of candies (between 1 and 1000000000). Shaky want to distribute these candies among his K (1<=K<=1000000000) IIIT-Delhi students. He wants to distribute them in a way such that:
// 1. All students get an equal number of candies.
// 2. All ... |
; A132999: Imperfect numbers: Not equal to sum of proper divisors.
; 1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,8... |
Name: zel_enmy.asm
Type: file
Size: 534776
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: 3BE7EE73F40B4B63453DB7BCBA5C4102792C935E
Description: null
|
; A009983: Powers of 39.
; 1,39,1521,59319,2313441,90224199,3518743761,137231006679,5352009260481,208728361158759,8140406085191601,317475837322472439,12381557655576425121,482880748567480579719,18832349194131742609041,734461618571137961752599,28644003124274380508351361,1117116121846700839825703079,4356752875202133275320... |
SECTION "Map_472B", ROM0[$B800]
Map_472B_Header:
hdr_tileset 0
hdr_dimensions 9, 11
hdr_pointers_a Map_472B_Blocks, Map_472B_TextPointers
hdr_pointers_b Map_472B_Script, Map_472B_Objects
hdr_pointers_c Map_472B_InitScript, Map_472B_RAMScript
hdr_palette $0A
... |
; A305747: Let c be the n-th composite number; then a(n) is the smallest divisor of c such that a(n) >= sqrt(c).
; 2,3,4,3,5,4,7,5,4,6,5,7,11,6,5,13,9,7,6,8,11,17,7,6,19,13,8,7,11,9,23,8,7,10,17,13,9,11,8,19,29,10,31,9,8,13,11,17,23,10,9,37,15,19,11,13,10,9,41,12,17,43,29,11,10,13,23,31,47,19,12,14,11,10,17,13,15,53,12... |
// Copyright (c) 2009 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 "base/json/json_writer.h"
#include "base/json/string_escape.h"
#include "base/logging.h"
#include "base/string_util.h"
#include "base/values... |
; A248185: Numbers k such that A248183(k+1) = A248183(k) + 1.
; 3,4,6,7,9,10,11,13,14,16,17,19,20,21,23,24,26,27,28,30,31,33,34,36,37,38,40,41,43,44,45,47,48,50,51,53,54,55,57,58,60,61,62,64,65,67,68,69,71,72,74,75,77,78,79,81,82,84,85,86,88,89,91,92,94,95,96,98,99,101,102,103,105,106,108,109,111,112,113,115,116,118,11... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: taskmaxSummons.asm
AUTHOR: Adam de Boor, Oct 1, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Dat... |
#include "user.h"
#include "server.h"
#include "session.h"
namespace restbes {
User::User(std::string nm, std::shared_ptr<Server> serv) : id(std::move(nm)),
server(std::move(
serv)) {}
void U... |
; A087953: a(n) = floor((Fibonacci(2*n+1)+1)/2).
; 1,1,3,7,17,45,117,305,799,2091,5473,14329,37513,98209,257115,673135,1762289,4613733,12078909,31622993,82790071,216747219,567451585,1485607537,3889371025,10182505537,26658145587,69791931223,182717648081,478361013021,1252365390981
mov $1,21
lpb $0
sub $0,1
add $2,$1... |
; A144899: Expansion of x/((1-x-x^3)*(1-x)^5).
; Submitted by Jon Maiga
; 0,1,6,21,57,133,280,547,1010,1785,3047,5058,8208,13075,20513,31781,48732,74090,111856,167903,250848,373330,553883,819681,1210561,1784919,2628351,3866317,5682701,8347012,12254249,17983326,26382698,38695852,56745223,83201736,121979839,178816452,262... |
; vim:ft=avra:shiftwidth=2:tabstop=2:expandtab:
.nolist
.include "m328pdef.inc"
.include "oled.inc"
.include "sd.inc"
; Write given value on the I2C bus
.macro twiWrite
push r16
ldi r16, @0
rcall twiWrite
pop r16
.endmacro
.macro spiTransmit
ldi r16, @0
rcall spiTransmit
.endmacro
.macro spiTransfer
sp... |
; A178734: a(n) = n XOR 8n, where XOR is bitwise XOR.
; Coded manually 2021-03-30 by Simon Strandgaard, https://github.com/neoneye
; 0,9,18,27,36,45,54,63,72,65,90,83,108,101,126,119,144,153,130,139,180,189,166,175,216,209,202,195,252,245,238,231,288,297,306,315,260,269,278,287,360,353,378,371,332,325,350,343,432,441,4... |
//===------------------------ valarray.cpp --------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: legendItem.asm
AUTHOR: Chris Boyke
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- --... |
%include "lib.asm"
global _start
section .bss
resb 10
bufferA resb 100
bufferB resb 100
section .data
bufferR times 100 db 0
section .code
_start:
enter 0,0
fgets bufferA, 100
fgets bufferB, 100
mov esi, -1
alen:
inc esi
cmp [bufferA+esi], byte 0
jne alen
mov edi, -1
blen:
inc edi
cmp [bufferB... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1680, %r15
nop
nop
nop
inc %rbp
movb (%r15), %r14b
nop
nop
nop
add %rsi, %rsi
lea addresses_D_ht+0x6ac0, %r15
nop
nop
nop
inc %rbp
movw $0x6162, (%r15)
add %r14, %r14
lea add... |
C nettle, low-level cryptographics library
C
C Copyright (C) 2001, 2002, 2005, 2008 Rafael R. Sevilla, Niels Möller
C
C The nettle library is free software; you can redistribute it and/or modify
C it under the terms of the GNU Lesser General Public License as published by
C the Free Software Foundation; either versi... |
// ======================================================================== //
// Copyright 2009-2019 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The ATEC developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/block.h"
#inc... |
; A134693: a(n)=A133806(n)+A133806(n+6).
; 3,9,6,18,12,36,24,72,48,144,96,288,192,576,384,1152,768,2304,1536,4608,3072,9216,6144,18432,12288,36864,24576,73728,49152,147456,98304,294912,196608,589824,393216,1179648,786432,2359296,1572864,4718592,3145728
lpb $0
sub $0,2
add $1,1
mul $1,2
lpe
mov $2,$0
lpb $2
mul... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 ArangoDB GmbH, Cologne, Germany
///
/// 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... |
/*
* Copyright 2004 The WebRTC 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 ... |
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 5.2.3790-sp2-windows-2003 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtGdiAbortDoc( ULONG arg_01 );
NtGdiAbortDoc PROC STDCALL arg_01:DWORD
mov e... |
;; Routines for printing
%ifndef PRINT_ASM
%define PRINT_ASM
%include 'string.asm'
%include 'system.asm'
;------------------------------------------------------------------------------
; Macros
;------------------------------------------------------------------------------
; Internal macro for making print macros (... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: LaserJet printer driver
FILE: pcl4zDriverInfo.asm
AUTHOR: Dave Durran
REVISION HISTORY:
Name Date Description
---- ---- --------... |
#include <cstdio>
#include <iostream>
using namespace std;
unsigned long long a, b, ONE=1, totes;
int main()
{
cin>>a>>b;
for(long long i=1; i<64; i++)
for(long long j=0; j<i-1; j++)
if((((ONE<<i)-ONE)^(ONE<<j))>=a && (((ONE<<i)-ONE)^(ONE<<j))<=b)
totes++;
cout<<totes<... |
INTENA = $9A
DMACON = $96
DMACONR = $02
VHPOSR = $06
BLTCON0 = $40
BLTCON1 = $42
BLTCPTH = $48
BLTBPTH = $4C
BLTAPTH = $50
BLTAPTL = $52
BLTDPTH = $54
BLTCMOD = $60
BLTBMOD = $62
BLTAMOD = $64
BLTDMOD = $66
BLTS... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 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... |
; A169070: Number of reduced words of length n in Coxeter group on 9 generators S_i with relations (S_i)^2 = (S_i S_j)^25 = I.
; 1,9,72,576,4608,36864,294912,2359296,18874368,150994944,1207959552,9663676416,77309411328,618475290624,4947802324992,39582418599936,316659348799488,2533274790395904
mov $1,1
lpb $0,1
mul $... |
; double __FASTCALL__ nan(const char *tagp)
SECTION code_fp_math48
PUBLIC cm48_sccz80_nan
EXTERN am48_nan
defc cm48_sccz80_nan = am48_nan
|
; A219089: Floor((n + 1/2)^6).
; 0,11,244,1838,8303,27680,75418,177978,377149,735091,1340095,2313060,3814697,6053445,9294114,13867245,20179187,28722900,40089475,54980371,74220378,98771297,129746337,168425239,216270112,274941996,346318142,432510009,535881988,659070838,805005849,976929722,1178420166,1413412221,1686221298... |
; A116845: Number of permutations of length n which avoid the patterns 231, 12534.
; 1,2,5,14,41,121,355,1032,2973,8496,24111,68017,190885,533294,1484021,4115186,11375765,31358377,86223943,236540916,647556621,1769374932,4826148315,13142564449,35736448201,97037995226,263156279525,712795854422,1928547574913,5212430732761... |
// d3d_ModelPiece.cpp // Author: Logan "Burn" Jones
/////////////////////// Date: 02-22-2003
//
/////////////////////////////////////////////////////////////////////
#include "d3d.h"
#include "d3d_ModelPiece.h"
#include "d3d_Model.h"
#include "d3d_ModelInstance.h"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.