text stringlengths 1 1.05M |
|---|
;************************************************************************************************************************************/
;/**@file rfid_ReadHandle.asm
;* @brief Implements the EPC C1Gen2 READ command
;* @details
;*
;* @author Justin Reina, UW Sensor Systems Lab
;* @created 6.8.11
;* @last rev
;*
;* @n... |
name "Reverse"
.model tiny
.code
org 100h
output macro output_string, offset_space
mov dx, offset output_string
add dx, offset_space
mov ah, 09h
int 21h
endm
start:
output message, 0 ; Welcoming message
mov bx, offset string ... |
; A119587: 2^n + 1 - 2*Fibonacci(n+1).
; 0,1,1,3,7,17,39,87,189,403,847,1761,3631,7439,15165,30795,62343,125905,253783,510759,1026685,2061731,4136991,8295873,16627167,33311647,66716029,133582107,267406999,535206833,1071049287
mov $4,2
mov $5,$0
lpb $4
mov $0,$5
sub $4,1
add $0,$4
sub $0,1
mov $3,$0
cal $0,... |
; A260846: a(n) = (-3 - 28*3^n + 73*15^n)/21.
; Submitted by Christian Krause
; 2,48,770,11696,175874,2639408,39595010,593936816,8909087234,133636413488,2004546517250,30068198703536,451022983387394,6765344759313968,101480171415218690,1522202571304807856,22833038569801700354,342495578547714252848,5137433678217780035330,... |
#ifndef STAN_LANG_AST_NODE_IDX_HPP
#define STAN_LANG_AST_NODE_IDX_HPP
#include <stan/lang/ast/node/lb_idx.hpp>
#include <stan/lang/ast/node/lub_idx.hpp>
#include <stan/lang/ast/node/multi_idx.hpp>
#include <stan/lang/ast/node/omni_idx.hpp>
#include <stan/lang/ast/node/ub_idx.hpp>
#include <stan/lang/ast/node/uni_idx.h... |
#include "../DescrVisitor.hpp"
#include "../LangData.hpp"
namespace LangBase {
/**
* Pass to register keys so they are ready when
* referred to.
* For example to get a TypedPart, it checks
* registered tokens, enums, ast and list types.
* Adds grammar types for ast, list is done in
* later step.
* Adds token d... |
; A214647: (n^n + n^2)/2.
; 1,4,18,136,1575,23346,411796,8388640,193710285,5000000050,142655835366,4458050224200,151437553296211,5556003412779106,218946945190429800,9223372036854775936,413620130943168382233,19673204037648268787874,989209827830156794562170
mov $1,$0
add $0,1
add $1,1
mov $2,$1
mul $1,$0
pow $2,$0
add $... |
mov r0 2
mov r1 3
mov r2 2
mov r2 16
add r0 r1
sub r1 r0
mov r0 r2
add r0 r1
|
; A015461: q-Fibonacci numbers for q=4.
; Submitted by Jamie Morken(s4)
; 0,1,1,5,21,341,5717,354901,23771733,5838469717,1563742763605,1532083548256853,1641235215638133333,6427665390003549698645,27541785384957544314239573,431380864280640133787922528853,7393623099729494588766894994029141,46319906967449071463563673219630... |
;Addition of two 16 bit numbers
LXI H, 2000H
LXI B, 1000H
DAD B
SHLD 2050H
RST 1 |
; ASM source file created by SevenuP v1.20
; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Sort Priorities: X char, Char line, Y char
;Data Outputted: Gfx
;Interleave: Sprite
;Mask: No
barbaro_ouch:
DE... |
;===============================================================================
; ASSIGN - Display and/or modify drive letter assignments
;
;===============================================================================
;
; Author: Wayne Warthen (wwarthen@gmail.com)
;___________________________________________... |
/*
* Copyright (c) 2016-2019 Advanced Micro Devices, Inc. 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
*
* ... |
; A175970: Complement of A051349(n), where A051349(n) = the lexicographically earliest sequence with first differences as increasing sequence of composites A002808(n).
; 2,3,4,6,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,59,6... |
; A123165: Row sums of A123163.
; Submitted by Jamie Morken(w1)
; 1,1,2,5,11,143,1847,24127,2101931,96398196,9362963203,3376252046640,551993132054154,434634824535802596,528116646162507517308,372831439174848001477184,2029862948426766042724907818,7829312482307292676496231266050,32995169088821398553675183524261861,8911807... |
; A009191: a(n) = gcd(n, d(n)), where d(n) is the number of divisors of n (A000005).
; 1,2,1,1,1,2,1,4,3,2,1,6,1,2,1,1,1,6,1,2,1,2,1,8,1,2,1,2,1,2,1,2,1,2,1,9,1,2,1,8,1,2,1,2,3,2,1,2,1,2,1,2,1,2,1,8,1,2,1,12,1,2,3,1,1,2,1,2,1,2,1,12,1,2,3,2,1,2,1,10,1,2,1,12,1,2,1,8,1,6,1,2,1,2,1,12,1,2,3,1,1,2,1,8,1,2,1,12,1,2,1,2,1,2... |
; A101803: Nearest integer to n*(phi-1), where phi is golden ratio 1.618033988749895... (A001622).
; 0,1,1,2,2,3,4,4,5,6,6,7,7,8,9,9,10,11,11,12,12,13,14,14,15,15,16,17,17,18,19,19,20,20,21,22,22,23,23,24,25,25,26,27,27,28,28,29,30,30,31,32,32,33,33,34,35,35,36,36,37,38,38,39,40,40,41,41,42,43,43,44,44,45,46
add $0,4
... |
;kernel_shellcode.asm
; function and offset resolution shellcode by sleepya EternalBlue exploit
; shellcode data section offsets
OFFSET_NTBASE EQU 0x0
OFFSET_PEB_ADDR EQU 0x8
OFFSET_KAPC EQU 0x10
OFFSET_KAPC2 EQU 0x68
OFFSET_SC_BASE_ADDR EQU 0xD0
OFFSET_HALPINTERRCO... |
/*
* EDDL Library - European Distributed Deep Learning Library.
* Version: 0.3
* copyright (c) 2019, Universidad Politécnica de Valencia (UPV), PRHLT Research Centre
* Date: October 2019
* Author: PRHLT Research Centre, UPV, (rparedes@prhlt.upv.es), (jon@prhlt.upv.es)
* All rights reserved
*/
#include <stdio.h>
#incl... |
// --- System Core API --
define GC_ALLOC 10001h
define INIT_RND 10012h
define CALC_SIZE 1001Fh
define GET_COUNT 10020h
define CORE_ET_TABLE 2000Bh
define elSizeOffset 0008h
define elVMTSizeOffset 000Ch
// ; --- API ---
procedure coreapi'core_callstack_load
mov eax,... |
; A047585: Numbers that are congruent to {0, 1, 3, 5, 6, 7} mod 8.
; Submitted by Jamie Morken(s4)
; 0,1,3,5,6,7,8,9,11,13,14,15,16,17,19,21,22,23,24,25,27,29,30,31,32,33,35,37,38,39,40,41,43,45,46,47,48,49,51,53,54,55,56,57,59,61,62,63,64,65,67,69,70,71,72,73,75,77,78,79,80,81,83,85,86,87,88,89,91,93,94,95,96,97,99,10... |
comment *
Designed by "Q" the Misanthrope
The "You_Got_It" virus needed to be made. Windows 95 has neglected the
floppy boot sector virus long enough. Windows 95 in it's 32 bit protected
mode has it's own floppy disk routines and doesn't use int 13 or int 40
anymore. When a floppy boot sector viruses infectes the ... |
###############################################################################
# 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... |
//-
// ==========================================================================
// Copyright (C) 1995 - 2006 Autodesk, Inc. and/or its licensors. All
// rights reserved.
//
// The coded instructions, statements, computer programs, and/or related
// material (collectively the "Data") in these files contain unpublis... |
; A299429: a(n) = binomial((n+1)*(2*n+1), n) / ((n+1)*(2*n+1)).
; Submitted by Jon Maiga
; 1,1,7,117,3311,135408,7324878,495729741,40411916335,3861208027677,423601805745460,52513639293534510,7263163165618323432,1109176062938132317300,185415009041446934481180,33681956588219177374026429,6607825171826115567872400495,13925... |
// Copyright (c) 2006-7 John Maddock
// Use, modification and distribution are subject to 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)
#ifndef BOOST_MATH_TOOLS_CONFIG_HPP
#define BOOST_MATH_TOOLS_CONFIG_HPP
#ifdef _MSC_VER
#... |
;
; z88dk RS232 Function
;
; Amstrad CPC (CPC Booster+) version
;
; unsigned char rs232_init()
;
; $Id: rs232_init.asm,v 1.3 2016-06-23 20:15:37 dom Exp $
SECTION code_clib
PUBLIC rs232_init
PUBLIC _rs232_init
rs232_init:
_rs... |
/* Software License Agreement (BSD License)
*
* Copyright (c) 2014, Robotiq, Inc.
* 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 copyr... |
; A076272: Largest prime factor of A076271(n): A006530(A076271(n)).
; Submitted by Jon Maiga
; 1,2,2,3,3,3,5,5,5,5,7,7,7,7,7,7,11,11,11,11,11,11,13,13,13,13,13,13,17,17,17,17,17,17,19,19,19,19,19,19,23,23,23,23,23,23,23,23,23,23,29,29,29,29,29,29,29,29,31,31,31,31,31,31,31,31,37,37,37,37,37,37,37,37,37,37,41,41,41,41,4... |
; A003476: a(n) = a(n-1) + 2a(n-3).
; Submitted by Jamie Morken(s2)
; 1,2,3,5,9,15,25,43,73,123,209,355,601,1019,1729,2931,4969,8427,14289,24227,41081,69659,118113,200275,339593,575819,976369,1655555,2807193,4759931,8071041,13685427,23205289,39347371,66718225,113128803,191823545,325259995,551517601,935164691,1585684681... |
; int strlen (char * s);
; ----------------------
; This function returns the number of characters in the null
; terminated string s. A pointer to the string is passed.
; The last character (that is the null) is not counted.
section .code
global _strlen
_strlen push rbp
... |
// Copyright (c) 2012 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 "android_webview/lib/aw_main_delegate.h"
#include <memory>
#include "android_webview/browser/aw_content_browser_client.h"
#include "android... |
//===- ConstantRangeTest.cpp - ConstantRange tests ------------------------===//
//
// 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
//
//===---------------------------... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of s... |
; A314127: Coordination sequence Gal.6.326.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,5,11,16,21,27,31,37,42,47,53,58,63,69,74,79,85,89,95,100,105,111,116,121,127,132,137,143,147,153,158,163,169,174,179,185,190,195,201,205,2... |
#include <memory>
#include "base_test.hpp"
#include "gtest/gtest.h"
#include "storage/table_column_definition.hpp"
namespace opossum {
class TableColumnDefinitionTest : public BaseTest {
protected:
void SetUp() override {}
};
TEST_F(TableColumnDefinitionTest, HashingAndEqualityCheck) {
TableColumnDefinition c... |
*= $c46f
.al
LDA $701000,x
AND #$00FF
STA $44
CLC
ADC #$30B6
STA $0846,y
LDA $32
STA $46
LDA $34
... |
;
; file: array1.asm
; This program demostrates arrays in assembly
;
; To create executable:
; nasm -f coff array1.asm
; gcc -o array1 array1.o array1c.c asm_io.o
;
%define ARRAY_SIZE 100
%define NEW_LINE 10
segment .data
FirstMsg db "First 10 elements of array", 0
Prompt db "Enter index of elem... |
START_FILE
TEXT
START_FUNC(pmix_atomic_mb)
pushq %rbp
movq %rsp, %rbp
leave
ret
END_FUNC(pmix_atomic_mb)
START_FUNC(pmix_atomic_rmb)
pushq %rbp
movq %rsp, %rbp
leave
ret
END_FUNC(pmix_atomic_rmb)
START_FUNC(pmix_atomic_wmb)
pushq %rbp
movq %rsp, %rbp
leave
ret
END_FUNC(pmix_atomic_wmb)
START_FUNC(pm... |
/**
* \file
* dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s1.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software ... |
db "DUCK@" ; species name
db "It swims grace-"
next "fully along on the"
next "quiet, slow-moving"
page "rivers and lakes"
next "of which it is so"
next "fond.@"
|
; A294646: a(n) = (1/2)^(2*n) mod (2*n+1).
; 1,1,1,7,1,1,4,1,1,16,1,11,25,1,1,25,4,1,10,1,1,16,1,36,13,1,9,43,1,1,16,61,1,52,1,1,64,60,1,79,1,16,22,1,64,70,44,1,70,1,1,16,1,1,28,1,59,16,4,67,31,11,1,97,1,106,79,1,1,106,69,136,100,1,1,52,64,1,40,32,1,31,1,131,169,1,64,133,1,1,46,81,115,79,1,1,49,1,1,151
add $0,1
mov $1... |
SECTION code_fp_math16
PUBLIC cm16_sdcc___uint2h_callee
PUBLIC cm16_sdcc___uint2h_fastcall
EXTERN asm_f24_u16
EXTERN asm_f16_f24
.cm16_sdcc___uint2h_callee
pop bc ;return
pop hl ;value
push bc
.cm16_sdcc___uint2h_fastcall
call asm_f24_u16
jp asm_f16_f24
|
// Copyright (c) 2011-2013 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addresstablemodel.h"
#include "guiutil.h"
#include "walletmodel.h"
#include "base58.h"
#include "wallet/wallet.h"... |
;/*!
; @file
;
; @brief BvsWrtCellStr 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 (yuri.prokushev@g... |
; A062378: n divided by largest cubefree factor of n.
; 1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,2,1,1,3,1,1,1,1,8,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,4,1,1,1,1,1,3,1,2,1,1,1,1,1,1,1,16,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,4,9,1,1,1,1,1,1,2,1,1,1,1,1,1,1,8,1,1,1,1
seq $0,336551 ; a(n) = A003557(n) - 1.
seq $0,336551 ; a(n) = ... |
; A054604: a(n) = Sum_{d|5} phi(d)*n^(5/d).
; 0,5,40,255,1040,3145,7800,16835,32800,59085,100040,161095,248880,371345,537880,759435,1048640,1419925,1889640,2476175,3200080,4084185,5153720,6436435,7962720,9765725,11881480,14349015,17210480,20511265,24300120,28629275,33554560,39135525,45435560,52522015,60466320,69344105,... |
/*Determine whether an integer is a palindrome. An integer is a palindrome when
it reads the same backward as forward.
Example 1:
Input: 121
Output: true
Example 2:
Input: -121
Output: false
Explanation: From left to right, it reads -121. From right to left, it becomes
121-. Therefore it is not a palindr... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "Lcd.inc"
#include "WaitState.inc"
#include "../../LcdStates.inc"
#include "../../PollAfterLcdMock.inc"
#include "TestFixture.inc"
radix decimal
udata
global timer0Seed
global numberOfTicks
timer0Seed res 1
numberOfTicks res 1
expectedLcdNextState r... |
; A295774: a(n) is the minimum size of a restricted planar additive basis for the square [0,2n]^2.
; Submitted by Christian Krause
; 1,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92
mul $0,12
max $0,4
div $0,3
|
SECTION code_clib
PUBLIC getmaxx
PUBLIC _getmaxx
INCLUDE "graphics/grafix.inc"
.getmaxx
._getmaxx
ld hl,143
ret
|
#include "gtest/gtest.h"
#include <islutils/pet_wrapper.h>
#include <islutils/ctx.h>
#include "pattern_match.h"
using namespace ppm;
isl::schedule_node getGemmTree() {
std::string inputFile =
"/home/creddy/work/Adilla/sourcetosource/test/inputs/gemm.c";
auto ctx = isl::ctx(isl_ctx_alloc());
auto petScop ... |
_threadtest: file format elf32-i386
Disassembly of section .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:... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>init_module(name, image) -> str
Invokes the syscall init_module.
See 'man 2 init_module' for more information.
Arguments:
name(char*): name
image(module*): image
Returns:
int
</%docstring>
<... |
; A099856: Expansion of (1+3x)/(1-3x).
; 1,6,18,54,162,486,1458,4374,13122,39366,118098,354294,1062882,3188646,9565938,28697814,86093442,258280326,774840978,2324522934,6973568802,20920706406,62762119218,188286357654,564859072962,1694577218886
mov $1,3
pow $1,$0
lpb $0
mod $0,1
mul $1,2
lpe
|
include "hardware.inc"
include "spriteallocation.inc"
include "macros.inc"
include "collision.inc"
DEF POLICECAR_TILE_OFFSET EQUS "((PoliceCarTilesVRAM - $8000) / 16)"
DEF POLICEHEAVY_TILE_OFFSET EQUS "((PoliceHeavyTilesVRAM - $8000) / 16)"
DEF EXPLOSION_TILE_OFFSET EQUS "((Explosion1TilesVRAM - $8000) / 16)"
DEF CAR... |
; Z88 Small C+ Run time Library
; l_gchar variant to be used sometimes by the peephole optimizer
;
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_g2charspsp
l_g2charspsp:
add hl,sp
ld bc,hl
inc hl
inc hl
ld a,(hl)
ld l,a
rlca
sbc a,a
ld... |
// aviAuds.cpp : Implementation of audio for the CAviMovie class
//
// This code and information is provided "as is" without warranty of
// any kind, either expressed or implied, including but not limited to
// the implied warranties of merchantability and/or fitness for a
// particular purpose.
// Copyright (C) 1995... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x9747, %r13
nop
nop
nop
nop
nop
and %r14, %r14
movb $0x61, (%r13)
add %r8, %r8
lea addresses_A_ht+0x138eb, %rcx
clflush (%rcx)
nop
nop
nop
nop
cmp $3770, %r13
movb $0x61, (%rc... |
GAME_VERSION_TYPE = 0 ; 0-alpha 1-beta 2-rc 3-release
GAME_VERSION_MAJOR = 2
GAME_VERSION_MINOR = 9
GAME_VERSION = (GAME_VERSION_TYPE << 10) + (GAME_VERSION_MAJOR << 8) + GAME_VERSION_MINOR
#define INITIAL_GAME_STATE $01
GAME_STATE_INGAME = $00
GAME_STATE_TITLE = $01
GAME_STATE_GAMEOVER = $02
GAME_STATE_CREDITS = $03... |
; A217478: Triangle of coefficients of polynomials providing the second term of the numerator for the generating function for odd powers (2*m+1) of Chebyshev S-polynomials. The present polynomials are called P(m;1,x^2).
; Submitted by Jamie Morken(s4)
; -2,3,-4,-4,10,-6,5,-20,21,-8,-6,35,-56,36,-10,7,-56,126,-120,55,-1... |
.include "defaults_item.asm"
table_file_jp equ "exe6-utf8.tbl"
table_file_en equ "bn6-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252354A // BR5J
game_code_2 equ 0x42523545 // BR5E
game_code_3 equ 0x42523550 // BR5P
card_type equ 0
card_id equ 12
card_no equ "012"
card_sub equ "Item Card 012"
card_sub_... |
#include "kms-stateless/kms-stateless.h"
#include <fcntl.h>
#include <lib/fdio/watcher.h>
#include <stdint.h>
#include <stdio.h>
#include <memory>
#include <fbl/string_buffer.h>
#include <fbl/unique_fd.h>
#include <ramdevice-client/ramdisk.h>
#include "keysafe/keysafe.h"
#include "tee-client-api/tee_client_api.h"
... |
; $Id: bit_synth.asm,v 1.2 2015/01/19 01:32:45 pauloscustodio Exp $
;
; void bit_synth(int duration, int frequency1, int frequency2, int frequency3, int frequency4);
;
; Generic platform sound library.
; synthetizer - this is a sort of "quad sound" routine.
; It is based on 4 separate counters and a delay.
; Depending ... |
_ps: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
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 ... |
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
* (C) 2006 Alexey Proskuryakov (ap@nypop.com)
*
* This library is fr... |
; A248515: Least number k such that 1 - k*sin(1/k) < 1/n^2.
; Submitted by Jon Maiga
; 1,1,2,2,3,3,3,4,4,5,5,5,6,6,7,7,7,8,8,9,9,9,10,10,11,11,12,12,12,13,13,14,14,14,15,15,16,16,16,17,17,18,18,18,19,19,20,20,21,21,21,22,22,23,23,23,24,24,25,25,25,26,26,27,27,27,28,28,29,29,29,30,30,31,31,32,32,32,33,33,34,34,34,35,35,... |
; reassert extensions 1988 Tony Tebby Qjump
section procs
xdef ut_reassert
xref ut_cnmar
bv_ntbas equ $18
bv_ntp equ $1c
bv_nlbas equ $20
;+++
; Reasserts the definitions in the procedure table pointed to by a1.
; On return, the last routine to be replaced is pointed to by a1, this
; enables routines to be ... |
#include "mesh.hpp"
Mesh::Mesh()
{
glGenVertexArrays(1, & mVertexArray);
}
Mesh::~Mesh()
{
glDeleteVertexArrays(1, & mVertexArray);
}
Mesh::Mesh(const std::string& filename)
: Mesh()
{
loadFromFile(filename);
}
Mesh::Mesh(std::vector<Vertex> vertices, std::vector<GLuint> indices, std::vector<std::pair<Textu... |
#include "Platform.inc"
#include "InitialisationChain.inc"
#include "TestDoubles.inc"
radix decimal
udata
global calledInitialiseAfterLcd
calledInitialiseAfterLcd res 1
InitialiseAfterLcdMock code
global initialiseInitialiseAfterLcdMock
global INITIALISE_AFTER_LCD
initialiseInitialiseAfterLcdMock:
banksel... |
; Routines for setting font, palette, etc.
%include 'macros.asm'
%include 'string.asm'
;-------------------------------------------------------------------------------
; Helpers for changing video mode from non-resident code
;-------------------------------------------------------------------------------
section .text... |
; A130497: Repetition of odd numbers five times.
; 1,1,1,1,1,3,3,3,3,3,5,5,5,5,5,7,7,7,7,7,9,9,9,9,9,11,11,11,11,11,13,13,13,13,13,15,15,15,15,15,17,17,17,17,17,19,19,19,19,19,21,21,21,21,21,23,23,23,23,23,25,25,25,25,25,27,27,27,27,27,29,29,29,29,29,31,31,31,31,31,33,33,33,33,33,35,35,35,35,35,37,37,37,37,37,39,39,39,... |
###############################################################################
# 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... |
; void *heap_realloc(void *heap, void *p, size_t size)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC heap_realloc
EXTERN asm_heap_realloc
heap_realloc:
pop af
pop bc
pop hl
... |
.byte $00, $00, $40, $80, $40, $40, $00, $00, $00
|
// BSD 3-Clause License; see https://github.com/jpivarski/awkward-1.0/blob/master/LICENSE
#include <string>
#include <sstream>
#include "awkward/type/UnknownType.h"
#include "awkward/type/ListType.h"
#include "awkward/type/RegularType.h"
#include "awkward/array/IndexedArray.h"
#include "awkward/Index.h"
#include "aw... |
; A103685: Consider the morphism 1->{1,2}, 2->{1,3}, 3->{1}; a(n) is the total number of '3' after n substitutions.
; 0,0,1,5,17,51,147,419,1191,3383,9607,27279,77455,219919,624415,1772895,5033759,14292287,40579903,115217983,327136895,928835455,2637230207,7487852799,21260161279,60363694335,171389837823,486624896511,138... |
; A185010: a(n) = A000108(n)*A015518(n+1), where A000108 are the Catalan numbers and A015518(n) = 2*A015518(n-1) + 3*A015518(n-2).
; Submitted by Jon Maiga
; 1,2,14,100,854,7644,72204,703560,7037030,71772844,743844452,7810307960,82909630972,888316731800,9593823377880,104332819539600,1141523825614470,12556761952114380,1... |
/*
* Copyright (C) 2002-2011 The DOSBox Team
* OPL2/OPL3 emulation library
*
* 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... |
; Author name: Julian Coronado
; Program title: Arrays
; Files in this program: driver.cpp, control.asm, square.cpp, display.c, compute_mean.asm, run.sh
; Course number: CPSC 240
; Assignment number: 3
; Required delivery date: Mar 7, 2019 before 11:59pm
; Purpose: Learn how arrays work and pass them through different ... |
; A145607: Numbers k such that (3*(2*k + 1)^2 + 2)/5 is a square.
; 0,4,35,279,2200,17324,136395,1073839,8454320,66560724,524031475,4125691079,32481497160,255726286204,2013328792475,15850904053599,124793903636320,982500325036964,7735208696659395,60899169248238199
mov $1,5
mov $2,4
lpb $0
sub $0,1
add $1,$2
add $... |
; A019552: a(n) is the concatenation of n and 4n.
; 14,28,312,416,520,624,728,832,936,1040,1144,1248,1352,1456,1560,1664,1768,1872,1976,2080,2184,2288,2392,2496,25100,26104,27108,28112,29116,30120,31124,32128,33132,34136,35140,36144,37148,38152,39156,40160,41164,42168,43172,44176,45180,46184,47188,48192,49196,50200,512... |
#ifndef _OP_MEMORY_JSON_CONVERTERS_HPP_
#define _OP_MEMORY_JSON_CONVERTERS_HPP_
#include "json.hpp"
namespace swagger::v1::model {
class MemoryGenerator;
class BulkCreateMemoryGeneratorsRequest;
class BulkDeleteMemoryGeneratorsRequest;
class BulkStartMemoryGeneratorsRequest;
class BulkStopMemoryGeneratorsRequest;
cl... |
;=======================================================================
; Copyright Baptiste Wicht 2013-2016.
; Distributed under the terms of the MIT License.
; (See accompanying file LICENSE or copy at
; http://www.opensource.org/licenses/MIT_1_0.txt)
;===============================================================... |
; A021879: Decimal expansion of 1/875.
; 0,0,1,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7
sub $0,1
lpb $0
sub $0,2
mov $2,$0
max $2,0
seq $2,5052 ; 10*3^n.
add ... |
/* Gobby - GTK-based collaborative text editor
* Copyright (C) 2008-2014 Armin Burgmeier <armin@arbur.net>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in al... |
;
;/*
; * FreeRTOS V202112.00
; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * 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 restric... |
; A266155: Triangle read by rows giving successive states of cellular automaton generated by "Rule 19" initiated with a single ON (black) cell.
; 1,1,0,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,... |
;;
;; Copyright (c) 2019-2020, 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... |
; A073122: Minimal reversing binary representation of n. Converting sum of powers of 2 in binary representation of a(n) to alternating sum gives n. See A072339.
; 1,2,5,4,13,10,9,8,25,26,29,20,21,18,17,16,49,50,53,52,61,58,57,40,41,42,45,36,37,34,33,32,97,98,101,100,109,106,105,104,121,122,125,116,117,114,113,80,81,82,... |
/*--
Open3DMotion
Copyright (c) 2004-2012.
All rights reserved.
See LICENSE.txt for more information.
--*/
#include "FileFormatMoXie.h"
#include "FileFormatOptionsMoXie.h"
#include "Open3DMotion/Biomechanics/Algorithms/ForceMeasurements.h"
#include "Open3DMotion/Biomechanics/Algorithms/ForceCalculat... |
; A338506: a(n) is the number of subsets of divisors of n.
; 2,4,4,8,4,16,4,16,8,16,4,64,4,16,16,32,4,64,4,64,16,16,4,256,8,16,16,64,4,256,4,64,16,16,16,512,4,16,16,256,4,256,4,64,64,16,4,1024,8,64,16,64,4,256,16,256,16,16,4,4096,4,16,64,128,16,256,4,64,16,256,4,4096,4,16,64,64,16,256,4,1024,32,16,4,4096,16,16,16,256,4... |
; uchar __CALLEE__ *zx_saddrpright_callee(void *pixeladdr, uchar *mask)
; aralbrec 06.2007
XLIB zx_saddrpright_callee
XDEF ASMDISP_ZX_SADDRPRIGHT_CALLEE
.zx_saddrpright_callee
pop af
pop hl
pop de
push af
.asmentry
; enter: de = valid screen address
; hl = uchar *mask
; exit : carry = moved o... |
; A116774: Number of permutations of length n which avoid the patterns 2143, 2341, 4312; or avoid the patterns 1234, 1432, 3412.
; 1,2,6,21,69,198,498,1121,2305,4402,7910,13509,22101,34854,53250,79137,114785,162946,226918,310613,418629,556326,729906,946497,1214241,1542386,1941382,2422981,3000341,3688134
mov $12,$0
mov... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkExodusIIReader.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 softwar... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xfb0c, %rsi
lea addresses_A_ht+0x6a8c, %rdi
nop
nop
sub $42016, %r13
mov $13, %rcx
rep movsq
nop
nop
xor %r11, %r11
lea addresses_D_ht+0xf0c, %rbx
nop
nop
nop
sub %r14, %r14
mov (%rbx),... |
; A158365: 529n - 1.
; 528,1057,1586,2115,2644,3173,3702,4231,4760,5289,5818,6347,6876,7405,7934,8463,8992,9521,10050,10579,11108,11637,12166,12695,13224,13753,14282,14811,15340,15869,16398,16927,17456,17985,18514,19043,19572,20101,20630,21159,21688,22217,22746,23275,23804,24333,24862,25391,25920,26449,26978,27507,2803... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GlobalPC 2000. All rights reserved.
GLOBALPC CONFIDENTIAL
PROJECT: PC GEOS
MODULE: TCP/IP Driver
FILE: tcpipDhcp.asm
AUTHOR: Edward Di Geronimo Jr., Jun 15, 2000
ROUTINES:
Name Description
---- ----... |
; A183207: Termwise products of the natural numbers and odd integers repeated
; 1,2,9,12,25,30,49,56,81,90,121,132,169,182,225,240,289,306,361,380,441,462,529,552,625,650,729,756,841,870,961,992,1089,1122,1225,1260,1369,1406,1521,1560,1681,1722,1849,1892,2025,2070,2209,2256,2401,2450,2601,2652,2809,2862,3025,3080,3249,... |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_dkud4_Font09
_ff_dkud4_Font09:
BINARY "font/fzx/fonts/dkud4/Font09/font09.fzx"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.