text stringlengths 1 1.05M |
|---|
###############################################################################
# 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... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 by EMC Corporation, 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... |
; A027611: Denominator of n * n-th harmonic number.
; Submitted by Jon Maiga
; 1,1,2,3,12,10,20,35,280,252,2520,2310,27720,25740,24024,45045,720720,680680,4084080,3879876,739024,235144,5173168,14872858,356948592,343219800,2974571600,2868336900,80313433200,77636318760,2329089562800,4512611027925,4375865239200,3861057564... |
; A227541: a(n) = floor(13*n^2/4).
; 0,3,13,29,52,81,117,159,208,263,325,393,468,549,637,731,832,939,1053,1173,1300,1433,1573,1719,1872,2031,2197,2369,2548,2733,2925,3123,3328,3539,3757,3981,4212,4449,4693,4943,5200,5463,5733,6009,6292,6581,6877,7179,7488,7803,8125,8453,8788,9129,9477,9831,10192,10559,10933,11313,11700... |
; *********************************************************************************
; *********************************************************************************
;
; File: screen_layer2.asm
; Purpose: Layer 2 console interface, sprites enabled, no shadow.
; Date : 5th January 2019
; Author: paul@rob... |
###############################################################################
# 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... |
/*
* This file is a part of the open source stm32plus library.
* Copyright (c) 2011,2012 Andy Brown <www.andybrown.me.uk>
* Please see website for licensing terms.
*/
.global ErrorPixels
.global ErrorPixelsSize
ErrorPixels:
.incbin "error.jpg"
ErrorPixelsSize=.-ErrorPixels
|
; A208114: Number of n X 4 0..1 arrays avoiding 0 0 0 and 0 1 0 horizontally and 0 0 1 and 0 1 1 vertically.
; 9,81,225,625,1225,2401,3969,6561,9801,14641,20449,28561,38025,50625,65025,83521,104329,130321,159201,194481,233289,279841,330625,390625,455625,531441,613089,707281,808201,923521,1046529,1185921,1334025
mov $1... |
; A134751: Hankel transform of expansion of (1/(1-x^2))c(x/(1-x^2)), where c(x) is the g.f. of A000108.
; 1,2,8,32,256,4096,65536,2097152,134217728,8589934592,1099511627776,281474976710656,72057594037927936,36893488147419103232,37778931862957161709568,38685626227668133590597632
add $0,1
pow $0,2
div $0,3
mov $1,2
pow ... |
//
// Created by duhieub on 11/17/17.
//
#ifndef EXISTENZIA_CLIENT_HPP
#define EXISTENZIA_CLIENT_HPP
/**
* \file Client.hpp
* \brief Typedef the socket Client as an int
* \author Edouard.P
* \version 0.1
* \date 17 novembre 2017
* \namespace xzia
* \struct Client
*/
namespace xzia
{
using Client = int;
}
... |
keep TOOLS
****************************************************************
* ChemiGS *
****************************************************************
* A Drawing Program for Chemical Structures *
* (c) 1992-93 by Urs Hochstrasser *
* Buendtenweg 6 *
* 5105 AUENSTEIN ... |
// 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 "content/public/browser/resource_dispatcher_host.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Distributed under the MIT/X11 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"
... |
;------------------------------------------------------------------------------
;
; EnableInterrupts() for ARM
;
; Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed... |
user/_wc: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <wc>:
char buf[512];
void
wc(int fd, char *name)
{
0: 7119 addi sp,sp,-128
2: fc86 sd ra,120(sp)
4: f8a2 sd s0,112(sp)
6: f4a6 sd s1,104(sp)
8: ... |
#include "pch.h"
#include "libCloudundancy/Components/SubPrograms/CopyFilesToMultipleFoldersSubProgram.h"
#include "libCloudundancy/ValueTypes/CloudundancyArgs.h"
#include "libCloudundancyTests/Components/FileSystem/MetalMock/CloudundancyFileCopierMock.h"
TESTS(CopyFileToFilesToMultipleFoldersSubProgramTests)
AF... |
.code
GetCountAsm proc
mov rax, 0
ret
GetCountAsm endp
end |
;*****************************************************************************
;* x86inc.asm
;*****************************************************************************
;* Copyright (C) 2005-2008 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Anton Mitrofanov <BugMaster@narod.ru>
;*
... |
/* mbedtls library by Mariano Goluboff
*/
#include "mbedtls.h"
int mbedtls_default_rng(void *data, unsigned char *output, size_t len)
{
while (len >= 4)
{
*((uint32_t *)output) = HAL_RNG_GetRandomNumber();
output += 4;
len -= 4;
}
while (len-- > 0)
{
*output++ = HA... |
/* We simply call the root header file "App.h", giving you uWS::App and uWS::SSLApp */
#include "App.h"
/* This is a simple WebSocket echo server example.
* You may compile it with "WITH_OPENSSL=1 make" or with "make" */
int main() {
/* ws->getUserData returns one of these */
struct PerSocketData {
/... |
; ===============================================================
; Jan 2014
; ===============================================================
;
; void clearerr_unlocked(FILE *stream)
;
; Clear the EOF and error indicators for the stream.
;
; ===============================================================
INCLUDE "c... |
#include "p16f873.inc"
c1 equ 0x20 ; for delays
c2 equ 0x21 ; for delays
LCDTemp equ 0x22 ; Yo keep LCD data tempararily
LCDPORT equ PORTB
LCDTRIS equ TRISB
button_pressed equ 0x25 ; to store the pressed button
KEYPORT equ PORTC
KEYTRIS equ TRISC
org 0x00
goto Main
Main... |
#include <iterator>
#include "MultiPaneSpectralSample.hpp"
#include "MultiPaneSampleData.hpp"
#include "WCESpectralAveraging.hpp"
#include "WCECommon.hpp"
using namespace SpectralAveraging;
using namespace FenestrationCommon;
namespace MultiLayerOptics {
CMultiPaneSpectralSample::CMultiPaneSpectralSample( const st... |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
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 ... |
// Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
; void adt_ListDelete(struct adt_List *list, void *delete)
; CALLER linkage for function pointers
PUBLIC adt_ListDelete
EXTERN adt_ListDelete_callee
EXTERN ASMDISP_ADT_LISTDELETE_CALLEE
.adt_ListDelete
pop bc
pop de
pop hl
push hl
push de
push bc
jp adt_ListDelete_callee + ASMDISP_ADT_LISTD... |
; A127617: Number of walks from (0,0) to (n,n) in the region 0 <= x-y <= 3 with the steps (1,0), (0, 1), (2,0) and (0,2).
; Submitted by Christian Krause
; 1,1,5,22,92,395,1684,7189,30685,130973,559038,2386160,10184931,43472696,185556025,792015257,3380586357,14429474710,61589830404,262886022219,1122085581740,4789437042... |
;
; 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... |
; A108741: Member r=100 of the family of Chebyshev sequences S_r(n) defined in A092184.
; 0,1,100,9801,960400,94109401,9221760900,903638458801,88547347201600,8676736387298001,850231618608002500,83314021887196947001,8163923913326692803600,799981229484128697805801,78389996565531285692164900,7681419682192581869134354401,7... |
; A004775: Numbers k such that the binary expansion of k does not end in 011.
; 0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,28,29,30,31,32,33,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,52,53,54,55,56,57,58,60,61,62,63,64,65,66,68,69,70,71,72,73,74,76,77,78,79,80,81,82,84,85,86,87,88,89,90,92,93,9... |
; #########################################################################
;
; blit.asm - Assembly file for EECS205 Assignment 3
;
;
; #########################################################################
.586
.MODEL FLAT,STDCALL
.STACK 4096
option casemap :none ; case sensitive
includ... |
.code
BackupEdit proc uses esi edi,lpFileName:DWORD,Backup:DWORD
LOCAL buffer[MAX_PATH]:BYTE
LOCAL buffer2[MAX_PATH]:BYTE
LOCAL BackupPath[MAX_PATH]:BYTE
LOCAL dotpos:DWORD
mov esi,lpData
lea esi,[esi].ADDINDATA.MainFile
.if !nBackup || !byte ptr [esi]
ret
.endif
invoke lstrcpy,addr Backup... |
/*
* Copyright (C) 2020 ~ 2021 Uniontech Software Technology Co., Ltd.
*
* Author: zhangsheng<zhangsheng@uniontech.com>
*
* Maintainer: max-lv<lvwujun@uniontech.com>
* lanxuesong<lanxuesong@uniontech.com>
* xushitong<xushitong@uniontech.com>
*
* This program is free software: you ca... |
BITS 32
switch_structure:
.sig dd 0x70BBCAFE
.returnaddr dd 0x0
.previousstack dd 0x0
.interrupt dw 0x0
.eax_reg dd 0x0
.ebx_reg dd 0x0
.edx_reg dd 0x0
.ecx_reg dd 0x0
.esi_reg dd 0x0
.edi_reg dd 0x0
.es_reg dw 0x0
.gs_reg dw 0x0
.fs_reg dw 0x0
.jump dd entry
entry:
BITS 32
nop
;jmp .protectedmode
;;; dropping t... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x437b, %rsi
lea addresses_UC_ht+0xd189, %rdi
nop
nop
nop
nop
cmp %r15, %r15
mov $56, %rcx
rep movsb
nop
add %r9, %r9
lea addresses_D_ht+0x1aafb, %rsi
lea addresses_normal_ht+0x19a7b, %rd... |
TITLE THTHUNKS.ASM
PAGE ,132
;
; WOW v1.0
;
; Copyright (c) 1991-1992, Microsoft Corporation
;
; THTHUNKS.ASM
; Thunks in 16-bit space to route Windows API calls to WOW32
;
; History:
;
; 09-Nov-1992 Dave Hart (davehart)
; Adapted from mvdm\wow16\kernel31\kthunks.asm for ToolHelp
;
; 0... |
;
; Copyright (c) 2016, Linaro Limited
; All rights reserved.
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
EXPORT InternalMemCompareGuid
THUMB
AREA CompareGuid, CODE, READONLY, CODEALIGN, ALIGN=5
InternalMemCompareGuid
push {r4, lr}
ldr r2, [r0]
ldr r3, [r0, #4]... |
; --------------------------------------
; Test JP.
;
; --------------------------------------
Start:
mvi a,'\n'
out 3
mvi a,'\r'
out 3
mvi a,'1... |
DATA SEGMENT
NUM1 DW 6
NUM2 DW 8
HCF DW ?
LCM DW ?
ENDS
CODE SEGMENT
ASSUME DS:DATA CS:CODE
START:
MOV AX,DATA
MOV DS,AX
MOV AX,NUM1
MOV BX,NUM2
WHILE:MOV DX,0
MOV CX,BX
DIV BX
MOV BX,DX
MOV AX,CX
CMP BX,0
JNE WHILE
MOV HCF,AX
MOV CX,AX
MOV AX,NUM1
MOV BX,NUM2
MUL BX
DIV CX
MOV LCM,AX
MOV AH,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x8526, %r15
nop
nop
add $12842, %r13
mov (%r15), %r9w
nop
nop
nop
dec %rcx
lea addresses_WC_ht+0x19a26, %r9
nop
dec %rdi
mov (%r9), %r15w
nop
nop
nop
nop
nop
inc %rcx
lea ... |
/* Copyright (c) 1998 Slingshot Game Technology
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, publi... |
###############################################################################
# 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... |
; Z88 Small C+ Run Time Library
; Long functions
;
; feilipu 10/2021
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_mod
EXTERN l_long_div_u_0, l_long_neg_mhl
;remainder = primary % secondary
;enter with secondary (divisor) in dehl, primary (dividend | quotient) on stack
;exit with remain... |
; A077957: Powers of 2 alternating with zeros.
; 1,0,2,0,4,0,8,0,16,0,32,0,64,0,128,0,256,0,512,0,1024,0,2048,0,4096,0,8192,0,16384,0,32768,0,65536,0,131072,0,262144,0,524288,0,1048576,0,2097152,0,4194304,0,8388608,0,16777216,0,33554432,0,67108864,0,134217728,0,268435456,0,536870912,0,1073741824,0,2147483648,0,42949672... |
; A188868: Number of nX3 binary arrays without the pattern 0 0 0 antidiagonally or horizontally
; Submitted by Jon Maiga
; 7,49,316,2032,13045,83737,537496,3450100,22145617,142149013,912430732,5856740200,37593435373,241305971377,1548902653984,9942146967292,63816977822953,409630502531629,2629349654724052,168773554802932... |
Route17Mons:
db $19
db 26,DODUO ;day
db 27,PONYTA
db 27,DODUO
db 28,ROCKRUFF ;day
db 28,SKARMORY
db 30,PONYTA
db 29,FEAROW ;day
db 28,MILTANK
db 32,PONYTA
db 29,DODRIO
db $00
|
#include "Trampoline.h"
#include <cassert>
#include <functional>
#include <utility>
#include <nan.h>
namespace NodeGLSLCompiler {
static void trampolineAfterClose( uv_handle_t* handle ) {
delete reinterpret_cast<uv_async_t*>( handle );
}
static void trampolineCallback( uv_async_t* async ) {
... |
include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTMgrDefContextEx, 3, Wintab, -, 206
|
#include <algorithm>
#include <cstdio>
#include <vector>
using namespace std;
typedef long long i64;
typedef unsigned int u32;
typedef vector<int> IV;
typedef IV::const_iterator IVci;
#define cFor(t,v,c) for(t::const_iterator v=c.begin(); v != c.end(); v++)
// I/O
#define BUF 65536
struct Reader {
ch... |
// Copyright 2014 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 <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/run_loop.h"
#include ... |
#include <uWS/uWS.h>
#include <iostream>
#include "json.hpp"
#include <math.h>
#include "FusionEKF.h"
#include "tools.h"
using namespace std;
// for convenience
using json = nlohmann::json;
// Checks if the SocketIO event has JSON data.
// If there is data the JSON object in string format will be returned,
// else t... |
; A221175: a(0)=-5, a(1)=6; thereafter a(n) = 2*a(n-1) + a(n-2).
; Submitted by Jon Maiga
; -5,6,7,20,47,114,275,664,1603,3870,9343,22556,54455,131466,317387,766240,1849867,4465974,10781815,26029604,62841023,151711650,366264323,884240296,2134744915,5153730126,12442205167,30038140460,72518486087,175075112634,42266871135... |
; ===============================================================
; Feb 2014
; ===============================================================
;
; size_t w_vector_insert(w_vector_t *v, size_t idx, void *item)
;
; Insert item before vector.array[idx], returns index of
; word inserted.
;
; =============================... |
; A011195: a(n) = n*(n+1)*(2*n+1)*(3*n+1)/6.
; 0,4,35,140,390,880,1729,3080,5100,7980,11935,17204,24050,32760,43645,57040,73304,92820,115995,143260,175070,211904,254265,302680,357700,419900,489879,568260,655690,752840,860405,979104,1109680,1252900,1409555,1580460,1766454,1968400,2187185,2423720,2678940,2953804,3249295,... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/workmail/model/UntagResourceResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/c... |
; Disk drive controls
; Disk commands:
; 1: Read disk name
; 2: Write disk name
; 3: Read disk serial
; 4: Read disk sector
; 5: Write disk sector
; 6: Clear sector buffer
dvar DISKADDR,8,,,
bind_disk:
lda var_DISKADDR
mmu $00
rts
dcode BINDDISK,8,F_HI... |
;; =============================================================================
;; ATA read sectors (LBA mode)
;;
;; Modification/rewrite of code found at osdev:
;; http://wiki.osdev.org/ATA_read/write_sectors#Read_in_LBA_mode
;; Licence: ...assumed to be in public domain
;; @param EAX Logical Block Address of ... |
; A199030: 10*11^n-1.
; 9,109,1209,13309,146409,1610509,17715609,194871709,2143588809,23579476909,259374246009,2853116706109,31384283767209,345227121439309,3797498335832409,41772481694156509,459497298635721609,5054470284992937709,55599173134922314809,611590904484145462909,6727499949325600092009,74002499442581601012109,... |
VDC_0 .equ $0000
VDC_1 .equ $0001
VDC_2 .equ $0002
VDC_3 .equ $0003
VDC1_0 .equ VDC_0
VDC1_1 .equ VDC_1
VDC1_2 .equ VDC_2
VDC1_3 .equ VDC_3
VDC2_0 .equ $0010
VDC2_1 .equ $0011
VDC2_2 .equ $0012
VDC2_3 .equ $0013
VPC_0 .equ $0008
VPC_1 .equ $0009
VPC_2 .equ $000A
VPC_3 ... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Print Drivers
FILE: textSendFont10121517Prop.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION... |
;
; jdcolext.asm - colorspace conversion (SSE2)
;
; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2012, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright noti... |
; A061279: a(n) = Sum_{k >= 0} 2^k * binomial(k+2,n-2*k).
; Submitted by Jamie Morken(s2)
; 1,2,3,6,10,18,32,56,100,176,312,552,976,1728,3056,5408,9568,16928,29952,52992,93760,165888,293504,519296,918784,1625600,2876160,5088768,9003520,15929856,28184576,49866752,88228864,156102656
mov $2,1
mov $4,2
lpb $0
sub $0,1
... |
; A345211: Numbers with the same number of odd / even, refactorable divisors.
; 2,4,6,10,14,18,20,22,26,28,30,34,38,42,44,46,50,52,54,58,62,66,68,70,74,76,78,82,86,90,92,94,98,100,102,106,110,114,116,118,122,124,126,130,134,138,140,142,146,148,150,154,158,162,164,166,170,172,174,178,182,186,188
add $0,1
seq $0,141259 ... |
// Copyright 2021, Autonomous Space Robotics Lab (ASRL)
//
// 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 appli... |
;================================================================================
; Dark World Spawn Location Fix & Master Sword Grove Fix
;--------------------------------------------------------------------------------
DarkWorldSaveFix:
LDA.b #$70 : PHA : PLB ; thing we wrote over - data bank change
JSL.l MasterSwo... |
; A113854: a(n) = sum(2^(A047240(i)-1), i=1..n).
; 1,3,35,99,227,2275,6371,14563,145635,407779,932067,9320675,26097891,59652323,596523235,1670265059,3817748707,38177487075,106896963811,244335917283,2443359172835,6841405683939,15637498706147,156374987061475,437849963772131,1000799917193443
mov $25,$0
mov $27,$0
add $27... |
//===--- FrontendTool.cpp - Swift Compiler Frontend -----------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
Sound6E_MechaSonicBuzz_Header:
smpsHeaderStartSong 2
smpsHeaderVoice Sound6E_MechaSonicBuzz_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $02
smpsHeaderSFXChannel cFM5, Sound6E_MechaSonicBuzz_FM5, $00, $00
smpsHeaderSFXChannel cPSG3, Sound6E_MechaSonicBuzz_PSG3, $00, $00
; FM5 Data
Sound6E_MechaSonicBu... |
; ================================================================
; DevSound variable definitions
; ================================================================
if !def(incDSVars)
incDSVars set 1
SECTION "DevSound variables",WRAM0
DSVarsStart:
FadeType ds 1
InitVarsStart:
FadeTimer ds 1
Globa... |
;Read 3 two-digit numbers and print the second largest number among them.
section .data
msg1 : db 'Enter first digit of first number :'
l1 : equ $-msg1
msg2 : db 'Enter second digit of first number :'
l2 : equ $-msg2
msg3 : db 'Enter first digit of second number :'
l3 : equ $-msg3
msg4 : db 'Enter second digit of secon... |
.byte $01 ; Unknown purpose
.byte OBJ_GOOMBA, $1A, $12
.byte OBJ_GREENTROOPA, $18, $19
.byte OBJ_CFIRE_GOOMBAPIPE_L, $10, $19
.byte OBJ_CFIRE_GOOMBAPIPE_R, $13, $19
.byte OBJ_REDTROOPA, $2D, $13
.byte OBJ_CFIRE_GOOMBAPIPE_L, $34, $12
.byte OBJ_CFIRE_GOOMBAPIPE_R, $37, $12
.byte OBJ_ENDLEVELCARD, $58, $15
.by... |
; Z88 Small C+ Run Time Library
; Long functions
;
; feilipu 10/2021
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_mult
EXTERN l_mult_0
EXTERN l_mult_ulong_0
;result = primary * secondary
;enter with secondary in dehl, primary on stack
;exit with product in dehl
.l_long_mult
push ... |
%ifdef CONFIG
{
"RegData": {
"R15": "0x1A"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
%macro cfmerge 0
; Get CF
sbb r14, r14
and r14, 1
; Merge in to results
shl r15, 1
or r15, r14
%endmacro
mov rdx, 0xe0000000
mov rax, 0xFFFFFFFF80000000
mov [rdx + 8 * 0], rax
mov [rdx + 8 * 1], rax
m... |
;; @file
; This is the assembly code for transferring to control to OS S3 waking vector
; for IA32 platform
;
; Copyright (c) 2013-2015 Intel Corporation.
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
.586P
.model flat,C
.code
;-----------------------------------------
;VOID
;AsmTran... |
; A228229: Recurrence a(n) = n*(n + 1)*a(n-1) + 1 with a(0) = 1.
; Submitted by Jamie Morken(s2)
; 1,3,19,229,4581,137431,5772103,323237769,23273119369,2094580743211,230403881753211,30413312391423853,4744476733062121069,863494765417306034559,181333900737634267257391,43520136177032224141773841,11837477040152764966562484... |
/***************************************************************************\
UI_setup.cpp
Dave Power (x4373)
setup screen stuff for FreeFalcon
\***************************************************************************/
#include "falclib.h"
#include "chandler.h"
#include "userids.h"
#include "PlayerOp.h"
#include... |
.MODEL SMALL
.STACK 100H
.DATA
X DB "YES$"
Y DB "NO$"
O DB 0DH,0AH,"OUTPUT: $"
MSG1 DB 'INPUT: $'
SUM DB 0
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AX,@DATA
MOV DS,AX
LEA DX,MSG1
MOV AH,9
INT 21H
XOR CX,CX
AND AX,0
MOV AX,0
PUSH AX
MOREINPUT:
MOV AH,1
INT 21H
CMP AL,0DH
JE BR... |
; A248232: Numbers k such that A248231(k+1) = A248231(k).
; 1,4,8,11,15,18,22,25,28,32,35,39,42,46,49,52,56,59,63,66,69,73,76,80,83,87,90,93,97,100,104,107,110,114,117,121,124,128,131,134,138,141,145,148,151,155,158,162,165,168,172,175,179,182,186,189,192,196,199,203,206,209,213,216,220,223,227,230,233,237,240,244,247,... |
; A016793: a(n) = (3*n + 2)^5.
; 32,3125,32768,161051,537824,1419857,3200000,6436343,11881376,20511149,33554432,52521875,79235168,115856201,164916224,229345007,312500000,418195493,550731776,714924299,916132832,1160290625,1453933568,1804229351,2219006624,2706784157,3276800000,3939040643,4704270176,5584059449,6590815232,... |
; A060432: Partial sums of A002024.
; 1,3,5,8,11,14,18,22,26,30,35,40,45,50,55,61,67,73,79,85,91,98,105,112,119,126,133,140,148,156,164,172,180,188,196,204,213,222,231,240,249,258,267,276,285,295,305,315,325,335,345,355,365,375,385,396,407,418,429,440,451,462,473,484,495,506,518,530,542,554,566,578,590,602,614,626,638,... |
; A213370: a(n) = n AND 2*n, where AND is the bitwise AND operator.
; Coded manually 2021-04-21 by Simon Strandgaard, https://github.com/neoneye
; 0,0,0,2,0,0,4,6,0,0,0,2,8,8,12,14,0,0,0,2,0,0,4,6,16,16,16,18,24,24,28,30,0,0,0,2,0,0,4,6,0,0,0,2,8,8,12,14,32,32,32,34,32,32,36,38,48,48,48,50,56,56,60,62,0,0,0,2,0,0,4,6,0... |
/******************************************************************************
*
* Project: ADAGUC Server
* Purpose: ADAGUC OGC Server
* Author: Maarten Plieger, plieger "at" knmi.nl
* Date: 2013-06-01
*
******************************************************************************
*
* Copyright 2013,... |
/*=========================================================================
Program: Visualization Toolkit
Module: TestOrthoPlanes.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 ... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="file, mode"/>
<%docstring>
Invokes the syscall creat. See 'man 2 creat' for more information.
Arguments:
file(char): file
mode(mode_t): mode
</%docstring>
${syscall('SYS_creat', file, mode)}
|
;
; This is just a quick hack I put together to demonstate how to write
; bootsector code. All it does is print the initial values of the registers
; and then hang. I didn't really comment anything, but it's very simple so
; it shouldn't be difficult to understand.
;
; I used MASM 6.1 ( but TASM may work??? ) to... |
/***
* ==++==
*
* Copyright (c) Microsoft Corporation. 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 requ... |
#include <cstdint>
#include "LedBoardChain.h"
#include "esp_log.h"
#if CONFIG_LOG_DEFAULT_LEVEL >= 4
#include <iomanip>
#include <sstream>
#endif
static char tag[] = "LedBoardChain";
using namespace lamp;
LedBoardChain::LedBoardChain(SPI* spi, int pinInt) {
_spi = spi;
_ready = true;
// TODO
// addISRH... |
; A057854: Non-Lucas numbers: the complement of A000032.
; Submitted by Jon Maiga
; 5,6,8,9,10,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,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,77,78,79,80,81,82,83,84,85,86,87,88,89,90,... |
/*
* Copyright (c) 2011-2021, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/main/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, wit... |
; A122219: Period 9: repeat 5, 4, 5, 4, 3, 4, 5, 4, 5.
; 5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5
mod $0,9
add $0,2
mod $0,6
sub $0,1
mod $0,2
add $0,4
|
#include <bits/stdc++.h>
#define forn(i,n) for (int i = 0; i < int(n); ++i)
using namespace std;
typedef long long ll;
typedef long double ld;
ll gcd(ll a, ll b) {
while (a && b)
if (a >= b)
a %= b;
else
b %= a;
return a ^ b;
}
ll mul(ll, ll, ll);
ll binpow(ll a, ll de... |
; A016767: a(n) = (3*n)^3.
; 0,27,216,729,1728,3375,5832,9261,13824,19683,27000,35937,46656,59319,74088,91125,110592,132651,157464,185193,216000,250047,287496,328509,373248,421875,474552,531441,592704,658503,729000,804357,884736,970299,1061208,1157625,1259712,1367631,1481544,1601613,1728000,1860867,2000376,2146689,2299... |
// @HEADER
// ************************************************************************
//
// Rapid Optimization Library (ROL) Package
// Copyright (2014) Sandia Corporation
//
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
// license for use of this work by or on be... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %r8
push %rcx
push %rsi
lea addresses_A_ht+0x1e695, %rcx
clflush (%rcx)
nop
sub %r8, %r8
mov (%rcx), %rsi
nop
nop
nop
nop
add %r12, %r12
lea addresses_normal_ht+0x1e8d5, %r11
nop
nop
add $51668, %r10
vmovups (%r11), %ymm2
vextract... |
/*
* FreeRTOS Kernel V10.3.0
* 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 restriction, ... |
;
; file: first.asm
; First assembly program. This program asks for two integers as
; input and prints out their sum.
;
; To create executable:
; Using djgpp:
; nasm -f coff -d COFF_TYPE first.asm
; gcc -o first first.o driver.c asm_io.o
;
; Using Borland C/C++
; nasm -f obj -d OBJ_TYPE first.asm
; bcc32 first.obj dr... |
; A113742: Generalized Mancala solitaire (A002491); to get n-th term, start with n and successively round up to next 5 multiples of n-1, n-2, ..., 1, for n>=1.
; 1,6,16,30,48,72,102,132,168,210,258,318,360,418,492,540,622,714,780,870,972,1054,1174,1260,1392,1488,1590,1714,1848,2022,2118,2292,2398,2580,2718,2878,3054,32... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1c36c, %rsi
lea addresses_normal_ht+0xf5fc, %rdi
nop
nop
cmp $33402, %r15
mov $102, %rcx
rep movsq
nop
nop
add %rbx, %rbx
lea addresses_D_ht+0x12754, %r9
nop
nop
nop
add $3650... |
SECTION code_clib
PUBLIC aplib_depack
PUBLIC _aplib_depack
;==============================================================
; aplib_depack(unsigned char *src, unsigned char *dest)
;==============================================================
; Uncompresses data previously compressed with apLib
;================... |
global start
section .text
bits 32
start:
; print `OK` to screen
mov dword [0xb8000], 0x2f4b2f4f
hlt
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.