text stringlengths 1 1.05M |
|---|
;// TI File $Revision: /main/1 $
;// Checkin $Date: December 1, 2004 11:11:32 $
;//###########################################################################
;//
;// FILE: DSP280x_CodeStartBranch.asm
;//
;// TITLE: Branch for redirecting code execution after boot.
;//
;// For these examples, code_start is the fir... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xdf06, %rsi
lea addresses_WT_ht+0x1af66, %rdi
nop
nop
nop
cmp $59632, %rdx
mov $50, %rcx
rep movsb
nop
nop
nop
nop
and %r14, %r14
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r14
ret
.global s_faulty_loa... |
/*
Copyright (c) 2013 Hiroshi Matsuike
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... |
; A138997: First differences of Frobenius numbers for 6 successive numbers A138986.
; 1,1,1,1,8,2,2,2,2,14,3,3,3,3,20,4,4,4,4,26,5,5,5,5,32,6,6,6,6,38,7,7,7,7,44,8,8,8,8,50,9,9,9,9,56,10,10,10,10,62,11,11,11,11,68,12,12,12,12,74,13,13,13,13,80,14,14,14,14,86,15,15,15,15,92,16,16,16,16,98,17,17,17,17,104,18,18,18,18,110... |
#include "LuxPanel.h"
#include "panelComponents.h"
#include "LightMeterPanelComponents.h"
#include "HardwareInterfaces.h"
#include "LightMeterHardwareInterfaces.h"
#include <Arduino.h>
#include "TeensyView.h"
#include <SparkFunTSL2561.h>
#include <SparkFunBQ27441.h>
#define KValue 16
extern OLEDFunctions oled;
// C... |
;================================================================================
; Randomize Book of Mudora
;--------------------------------------------------------------------------------
LoadLibraryItemGFX:
LDA.l LibraryItem
JSL.l PrepDynamicTile
RTL
;-----------------------------------------------------------... |
; vim: set ft=nasm :
[BITS 32]
section .asm
global print:function
global os_getkey:function
global os_putchar:function
global os_malloc:function
global os_free:function
global os_process_load_start:function
global os_process_get_arguments:function
global os_system:function
global os_exit:function
; void os_exit()
os... |
#include <assert.h>
#include <iostream>
#include <stdint.h>
#include <llvm/IR/DerivedTypes.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Module.h>
#include <llvm/IR/Verifier.h>
#include <llvm/IR/IRBuilder.h>
#include "eval.h"
#include "func.h"
#include "runtime_interface.h"
using namespace std;
extern type_... |
// Copyright Carl Philipp Reh 2006 - 2019.
// 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)
#include <sge/cegui/to_wstring.hpp>
#include <sge/cegui/impl/prefix.hpp>
#include <sge/cegui/impl/t... |
ORG 0000H
LXI SP,3FF0H
MVI A,05H
MOV B,A
MOV C,B
MOV D,C
MOV E,D
INR A
STA 2050H
INR A
LXI H,2051H
MOV M,A
LDA 2050H
INR A
INX H
MOV M,A
RST 1
HLT |
#include once <printnum.asm>
#include once <div16.asm>
#include once <neg16.asm>
#include once <attr.asm>
__PRINTI16: ; Prints a 16bits signed in HL
; Converts 16 to 32 bits
PROC
LOCAL __PRINTU_LOOP
ld a, h
or a
jp p, __PRINTU16
call __PRINT_MINUS
call __NEGHL
__PRINTU16:
ld b, 0
__PRINTU_LOOP:
ld a, ... |
; A105968: a(n) = 4*a(n-1) - a(n-2) - 2*(-1)^n, a(0) = 1, a(1) = 4.
; 1,4,13,50,185,692,2581,9634,35953,134180,500765,1868882,6974761,26030164,97145893,362553410,1353067745,5049717572,18845802541,70333492594,262488167833,979619178740,3655988547125,13644335009762,50921351491921,190041070957924,709242932339773,2646930658... |
; A052747: a(0) = a(1) = a(2) = 0; a(n) = n!/(n-2) for n > 2.
; 0,0,0,6,12,40,180,1008,6720,51840,453600,4435200,47900160,566092800,7264857600,100590336000,1494484992000,23712495206400,400148356608000,7155594141696000,135161222676480000,2688996956405760000,56200036388880384000,1231048416137379840000,2820220007878361088... |
; sprite facing directions
const_def 0, $04
const SPRITE_FACING_DOWN ; $00
const SPRITE_FACING_UP ; $04
const SPRITE_FACING_LEFT ; $08
const SPRITE_FACING_RIGHT ; $0C
const_def 0, $40
const NPC_MOVEMENT_DOWN ; $00
const NPC_MOVEMENT_UP ; $40
const NPC_MOVEMENT_LEFT ; $80
const NPC_MOVEMENT_RIGHT ; ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>getpgrp() -> str
Invokes the syscall getpgrp.
See 'man 2 getpgrp' for more information.
Arguments:
Returns:
pid_t
</%docstring>
<%page args=""/>
<%
abi = pwnlib.abi.ABI.syscall()
stack = abi.stack
... |
###############################################################################
# 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... |
; SBAS_ICALL - PROC/FN Call and Unravel 1994 Tony Tebby
section sbas
xdef sb_icall ; procedure, function call
xdef sb_icall_pas ; ditto, params (a3-a5) and addr (a0) set
xref sb_clrprm
include 'dev8_keys_sbasic'
include 'dev8_keys_qlv'
include 'dev8_keys_err'
include 'dev8_mac_assert'
;+++
; ... |
;
; Fast background restore
;
; Graphics library for the Epson PX4
; Stefano - Nov 2015
;
; $Id: bkrestore.asm,v 1.3 2016/06/21 20:16:35 dom Exp $
;
SECTION code_clib
PUBLIC bkrestore
PUBLIC _bkrestore
EXTERN pixeladdress
INCLUDE "graphics/grafix.inc"
.bkrestore
._bkrestore
; __FASTCALL__ : sprite ptr in... |
SFX_Faint_Fall_Ch5:
duty_cycle 1
pitch_sweep 10, -7
square_note 15, 15, 2, 1920
pitch_sweep 0, 8
sound_ret
|
/*
* 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... |
; A189327: Number of nondecreasing arrangements of 4 numbers in 0..n with the last equal to n and each after the second equal to the sum of one or two of the preceding four
; 2,6,7,12,12,18,17,24,22,30,27,36,32,42,37,48,42,54,47,60,52,66,57,72,62,78,67,84,72,90,77,96,82,102,87,108,92,114,97,120,102,126,107,132,112,138,... |
#include "grid3d.h"
#include <string>
#ifndef ROUND
#define ROUND(x) (((x)>=0.0)?int((x)+0.5):int((x)-0.5))
#endif
geomGrid3D::geomGrid3D() : nx_(0), ny_(0), psx_(0), psy_(0) {}
geomGrid3D::geomGrid3D(const geomGrid3D& g) : geomRect3D(g), nx_(g.numCol()), ny_(g.numRow()), psx_(g.pixelSX()),
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x78f1, %rsi
lea addresses_D_ht+0x128d1, %rdi
nop
nop
nop
nop
nop
cmp $51511, %rbp
mov $110, %rcx
rep movsq
nop
nop
nop
and %r15, %r15
lea addresses_A_ht+0x1dca1, %r13
nop
nop
no... |
// Copyright 2020 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 "chrome/browser/translate/translate_model_service_factory.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/sequenced_task_runner.h"... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x2090, %rsi
lea addresses_WT_ht+0x3ad0, %rdi
nop
add $35562, %r10
mov $25, %rcx
rep movsq
nop
nop
nop
nop
and $62615, %r11
lea addresses_D_ht+0x106d0, %r14
nop
nop
add $52025,... |
dnl x86-64 mpn_div_qr_1n_pi1
dnl -- Divide an mpn number by a normalized single-limb number,
dnl using a single-limb inverse.
dnl Contributed to the GNU project by Niels Möller
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free ... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_WC+0xd5d3, %r9
nop
nop
add $63874, %r15
mov (%r9), %r14d
nop
and %r15, %r15
// Store
lea addresses_A+0x9fab, %rsi
no... |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uiCreateControl.asm
AUTHOR: Jon Witort
REVISION HISTORY:
Name Date Description
---- ---- -----------
jon 28 sept 1992 Initial version.
... |
/*
The Jinx library is distributed under the MIT License (MIT)
https://opensource.org/licenses/MIT
See LICENSE.TXT or Jinx.h for license details.
Copyright (c) 2016 James Boer
*/
#include <chrono>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdexcept>
#include "../../Sourc... |
;
; print16.asm
; KripayaOS Project
; Author(s): [Ashwin: ashwonixer123@gmail.com]
;
[bits 16]
print16:
; Save the registers
push ax
push bx
; Allow Printing to the screen
mov ah, 0x0E
.loop:
; Check if character is null
cmp byte[bx], 0
je .done
; Print to the screen
mov al, byte[bx]
int 0x10
... |
; ====================== ZagrOS ======================
; Zagros Open Source Operating System
; Saeid Bostandoust (ssbostan@linuxmail.org)
; Bostandoust.IR
; ====================== ZagrOS ======================
; ================ precompile section ================
#make_bin#
#load_segment=2000h... |
; >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; simplifying macros and functions
; makes a VDP address difference
vdpCommDelta function addr,((addr&$3FFF)<<16)|((addr&$C000)>>14)
; makes a VDP command
vdpComm function addr,type,rwd,(((type&rwd)&3)<<30)|((addr&$3FFF)<<16)|(((type&rwd)&$... |
Elf64_Sym <0>
Elf64_Sym <offset aItmDeregistert - offset unk_470, 20h, 0, 0, \ ; "_ITM_deregisterTMCloneTable"
offset dword_0, 0>
Elf64_Sym <offset aPrintf - offset unk_470, 12h, 0, 0, offset dword_0,\ ; "printf"
... |
/*=============================================================================
Spirit v1.6.0
Copyright (c) 2002-2003 Joel de Guzman
Copyright (c) 2002-2003 Hartmut Kaiser
http://spirit.sourceforge.net/
Permission to copy, use, modify, sell and distribute this software is
granted provide... |
IF !__CPU_INTEL__ && !__CPU_GBZ80__
SECTION code_psg
PUBLIC ay_vt2_init
PUBLIC _ay_vt2_init
EXTERN asm_VT_INIT
ay_vt2_init:
_ay_vt2_init:
push ix
push iy
call asm_VT_INIT
pop iy
pop ix
ret
ENDIF
|
; A173495: a(n) = Lucas(n) - floor(Lucas(n)/2).
; 1,1,2,2,4,6,9,15,24,38,62,100,161,261,422,682,1104,1786,2889,4675,7564,12238,19802,32040,51841,83881,135722,219602,355324,574926,930249,1505175,2435424,3940598,6376022,10316620,16692641,27009261,43701902,70711162,114413064,185124226,299537289,484661515,784198804,1268860... |
; A164900: a(2n) = 4*n*(n+1) + 3; a(2n+1) = 2*n*(n+2) + 3.
; 3,3,11,9,27,19,51,33,83,51,123,73,171,99,227,129,291,163,363,201,443,243,531,289,627,339,731,393,843,451,963,513,1091,579,1227,649,1371,723,1523,801,1683,883,1851,969,2027,1059,2211,1153,2403,1251,2603,1353,2811,1459,3027,1569,3251,1683,3483,1801,3723,1923,39... |
// This file is a part of Julia. License is MIT: https://julialang.org/license
#include "llvm-version.h"
#include "platform.h"
#include "options.h"
#if defined(_OS_WINDOWS_)
// use ELF because RuntimeDyld COFF i686 support didn't exist
// use ELF because RuntimeDyld COFF X86_64 doesn't seem to work (fails to generate ... |
; compile with nasm -felf64 foo.asm; ld foo.o -o foo.out
bits 64
section .data
should_not_trigger dq 0x0000000000000000
section .start
global _start
_start:
; generic push to make sure the tool is working
mov rax, 0xcafebabedeadbeef
push rax
; write to .data section, should not appear in json
mov [shoul... |
segment .data
align 4
x:
dd 1
segment .text
align 4
global _main:function
_main:
align 4
xpl:
push ebp
mov ebp, esp
sub esp, 4
push dword 0
lea eax, [ebp+-4]
push eax
pop ecx
pop eax
mov [ecx], eax
_L1:
push dword $x
pop eax
push dword [eax]
push dword 5
pop eax
xor ecx, ecx
cmp [esp], eax
setle cl
m... |
; A063258: a(n) = binomial(n+5,4) - 1.
; 4,14,34,69,125,209,329,494,714,1000,1364,1819,2379,3059,3875,4844,5984,7314,8854,10625,12649,14949,17549,20474,23750,27404,31464,35959,40919,46375,52359,58904,66044,73814,82250,91389,101269,111929,123409,135750,148994,163184,178364,194579,211875,230299,249899,270724,292824,31625... |
.text
.globl main
main:
addi $s1, $0, 3 # $s1 = 3 # $s1 = 3
sll $s2, $s1, 2 # $s2 = 3 * 4 # $s2 = 3 * 4
|
; Super Mario Bros. 3 Full Disassembly by Southbird 2012
; For more info, see http://www.sonicepoch.com/sm3mix/
;
; PLEASE INCLUDE A CREDIT TO THE SOUTHBIRD DISASSEMBLY
; AND THE ABOVE LINK SOMEWHERE IN YOUR WORKS :)
;
; Original disassembler source generated by DCC6502 version v1.4
; (With labels, comments, and some s... |
; A036586: Ternary Thue-Morse sequence: closed under a->abc, b->ac, c->b.
; 2,0,1,2,1,0,2,0,1,0,2,1,2,0,1,2,1,0,2,1,2,0,1,0,2,0,1,2,1,0,2,0,1,0,2,1,2,0,1,0,2,0,1,2,1,0,2,1,2,0,1,2,1,0,2,0,1,0,2,1,2,0,1,2,1,0,2,1,2,0,1,0,2,0,1,2,1,0,2,1,2,0,1,2,1,0,2,0,1,0,2,1,2,0,1,0,2,0,1
seq $0,36579 ; Ternary Thue-Morse sequence: c... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 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 <wallet/fees.h>
#include <policy/policy.h>
#include <txmempool.h>
#incl... |
;generated automatically via makeasms.bat
include gfxlib.i
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
GFXLIB_JUMP pj_zoomblit gfxl_zoomblit
code ends
end
|
;
; S-OS specific routines
; by Stefano Bodrato, 2013
;
;; void lptoff()
;
; $Id: lptoff.asm,v 1.3 2015/01/19 01:33:07 pauloscustodio Exp $
;
PUBLIC lptoff
lptoff:
jp $1fd6
|
db 0 ; species ID placeholder
db 69, 69, 69, 69, 69, 69
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 45 ; catch rate
db 64 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/drakarve/front.dimensions"
db GROWTH_MEDIUM_SL... |
#include <ctime>
#include "consoleui.h"
using namespace std;
//Default Constructor
ConsoleUI::ConsoleUI()
{
}
// The Function used in the main() function.
// Displays the main menu, and takes you to the
// respective function depending on the choice.
void ConsoleUI::run()
{
bool run = true;
if (serve.list(... |
// Copyright (c) 2021 Johannes Delport
// This code is licensed under MIT license (see LICENSE for details)
#include "JoSIM/Errors.hpp"
#include <iostream>
using namespace JoSIM;
void Errors::cli_errors(CLIErrors errorCode, string_o message) {
std::string formattedMessage = "Command Line Interface\n";
... |
LongLong:
.long 0x0001e240,0x00000000
.type LongLong,@object
.size LongLong,8
.align 4
.globl Int
Int:
.long 123
.type Int,@object
.size Int,4
.align 2
.globl Short
Short:
.word 4660
.type Short,@object
.size Short,2
.align 1
.globl Char
Char:
.byte -128
.type Char,@object
.size Char,1
.data
|
; A294013: Sum of the differences of the larger and smaller parts in the partitions of 2n into two parts with the smaller part prime.
; 0,0,2,6,10,16,22,30,38,46,54,64,74,86,98,110,122,136,150,166,182,198,214,232,250,268,286,304,322,342,362,384,406,428,450,472,494,518,542,566,590,616,642,670,698,726,754,784,814,844,874... |
#ifndef INCLUDED_ALI_LUA_EXT_QUEUE
#define INCLUDED_ALI_LUA_EXT_QUEUE
#include <aliLuaCore.hpp>
#include <aliSystem.hpp>
#include <deque>
#include <memory>
#include <mutex>
#include <string>
#include <ostream>
struct lua_State;
namespace aliLuaExt {
/// @brief The Queue class defines a queue of Lua MakeFn values t... |
; A235332: a(n) = n*(9*n + 25)/2 + 6.
; 6,23,49,84,128,181,243,314,394,483,581,688,804,929,1063,1206,1358,1519,1689,1868,2056,2253,2459,2674,2898,3131,3373,3624,3884,4153,4431,4718,5014,5319,5633,5956,6288,6629,6979,7338,7706,8083,8469,8864,9268,9681,10103,10534,10974,11423,11881,12348,12824,13309,13803,14306,14818,153... |
#include "precomp.hxx"
#include "lkrcust.h"
LKR_CUST_EXTN*
FindLkrCustExtn(
LPCSTR cmdName,
VOID* lkrAddress,
DWORD& rdwSig)
{
extern LKR_CUST_EXTN g_alce[];
struct LKRheader {
DWORD m_dwSignature;
CHAR m_szName[NAME_SIZE];
};
LKRheader lkrh;
... |
/*********************************************************************************/
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
/*********************************************************************************/
#ifndef SCREEN2VIEWBASE_HPP
#define SCREEN2VIEWBASE_HPP
#include <g... |
MODULE __printf_number
SECTION code_clib
PUBLIC __printf_number
EXTERN __printf_print_to_buf
EXTERN __printf_print_the_buffer
EXTERN l_int2long_s
EXTERN l_long_neg
EXTERN l_long_div_u
EXTERN get_16bit_ap_parameter
defc handlelong = 1
; Print a number
; Entry: hl = fmt (character after format)
; de... |
// Copyright (c) Team CharLS.
// SPDX-License-Identifier: BSD-3-Clause
#include "jpeg_stream_reader.h"
#include "constants.h"
#include "decoder_strategy.h"
#include "jls_codec_factory.h"
#include "jpeg_marker_code.h"
#include "jpegls_preset_parameters_type.h"
#include "util.h"
#include <algorithm>
#include <memory>
... |
; Emulate 'rl bc' instruction, only carry is affected
; CPU Min T Max T
; 8080 90 90
; 8085 88 88
; gbz80 16 16
; r2ka 8 8
; z180 14 14
; z80 16 16
; z80n 16 16
SECTION code_l_sccz80
PUBLIC __z80asm__rl_bc
__z80asm__rl_bc:
IF __CPU_INTEL__
push af
... |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... |
; A257594: Consider the hexagonal lattice packing of circles; a(n) is the maximal number of circles that can be enclosed by a closed chain of n circles.
; 0,0,0,0,0,0,1,1,2,3,4,5,7,8,10
lpb $0,1
sub $0,5
add $2,1
add $3,$0
mov $1,$3
sub $0,1
add $1,2
lpe
sub $1,1
sub $1,$2
|
; A155650: 7^n - 6^n + 1.
; 1,2,14,128,1106,9032,70994,543608,4085186,30275912,222009074,1614529688,11664504866,83828316392,599858908754,4277376525368,30411820662146,215703854542472,1526853641242034,10789535445362648
mov $1,7
pow $1,$0
mov $2,6
pow $2,$0
add $2,7
mov $3,$2
sub $3,8
sub $1,$3
|
/***************************************************************************
* Copyright (C) by GFZ Potsdam *
* *
* You can redistribute and/or modify this program under the *
* terms o... |
%include "const.inc"
%include "config.inc"
org 0x90000
[bits 16]
align 16
entry:
mov ax, cs
mov ds, ax
mov ss, ax
mov sp, 0
mov ax, 0xb800
mov es, ax
;show 'LOADER'
mov byte [es:160+0],'L'
mov byte [es:160+1],0x07
mov byte [es:160+2],'O'
mov byte [es:160+3],0x07
mov byte [es:160+4],'A'
mov byte [es:1... |
/**
* Autogenerated by Thrift for src/module.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include "thrift/compiler/test/fixtures/templated-deserialize/gen-cpp2/module_types.h"
#include <thrift/lib/cpp2/gen/module_types_tcc.h>
namespace cpp2 {
} // c... |
; build a new map on diskette
newmap
newmpv
jsr clnbam
ldy #0
lda #18 ; set link to 18.1
sta (bmpnt),y
iny
tya
sta (bmpnt),y
iny
iny
iny ; .y=4
nm10
lda #0 ; clear track map
sta t0
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x7a95, %rdx
nop
nop
nop
cmp $2458, %r10
mov $0x6162636465666768, %r11
movq %r11, %xmm2
movups %xmm2, (%rdx)
nop
nop
nop
lfence
lea addresses_A_ht+0x2f55, %rdi
xor %r10, %r10
m... |
; A060354: The n-th n-gonal number: a(n) = n*(n^2-3*n+4)/2.
; 0,1,2,6,16,35,66,112,176,261,370,506,672,871,1106,1380,1696,2057,2466,2926,3440,4011,4642,5336,6096,6925,7826,8802,9856,10991,12210,13516,14912,16401,17986,19670,21456,23347,25346,27456,29680,32021,34482,37066,39776,42615,45586,48692,51936,55321,58850,62526,... |
; A169675: Lexicographically earliest de Bruijn sequence for n = 3 and k = 2.
; 0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0
mod $0,8
lpb $0
gcd $0,4
add $1,1
lpe... |
// Copyright 1996-2021 Cyberbotics Ltd.
//
// 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 agr... |
// Copyright (C) 2021 Intel Corporation
//
#include <vector>
#include <string>
#include <iostream>
#include "infer_torch_entity.hpp"
extern "C" void CreatInferenceEntity(std::shared_ptr<IInfer_entity>& entity) {
entity = std::make_shared<infer_torch_entity>();
std::string entity_name = entity->get_entity_n... |
###############################################################################
# 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... |
; A291660: a(n) = 2*a(n-1) - a(n-2) + a(n-4) for n>3, a(0)=2, a(1)=3, a(2)=5, a(3)=7, a sequence related to Lucas numbers.
; Submitted by Christian Krause
; 2,3,5,7,11,18,30,49,79,127,205,332,538,871,1409,2279,3687,5966,9654,15621,25275,40895,66169,107064,173234,280299,453533,733831,1187363,1921194,3108558,5029753,8138... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xa283, %rdx
sub $46907, %r11
vmovups (%rdx), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %r8
nop
nop
cmp %r8, %r8
lea addresses_A_ht+0x14303, %r13
clflush ... |
; A050533: Thickened pyramidal numbers: a(n) = sum(4*i*(i-1)+1, i=1..n) + 2*(n+1)*n.
; 0,5,22,59,124,225,370,567,824,1149,1550,2035,2612,3289,4074,4975,6000,7157,8454,9899,11500,13265,15202,17319,19624,22125,24830,27747,30884,34249,37850,41695,45792,50149,54774,59675,64860,70337,76114,82199,88600,95325,102382,109779,11... |
// Copyright (c) 2013 Austin T. Clements. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
#include "internal.hh"
#include <cinttypes>
using namespace std;
DWARFPP_BEGIN_NAMESPACE
die::die(const unit *cu)
: cu(cu), abbrev(nullptr)
{
}
c... |
; 1024 bytes of scratch memory before the program at address 0x5e24
PUBLIC _TEMPMEM
defc _TEMPMEM = 0x5e24
SECTION code_user
; Sp1 will call asm_malloc and asm_free as needed to deal with memory when creating and deleting sprites.
; Hijack the library's malloc and free and provide our own that uses the block memor... |
-- 7 Billion Humans (2053) --
-- 32: Creative Writhing --
-- Author: soerface
-- Size: 19
-- Speed: 37
a:
b:
step s
pickup c
write 99
drop
if s == datacube:
jump a
endif
if e == datacube:
step e
else:
if w == datacube:
step w
endif
endif
pickup c
write 99
drop
step s
pickup c
write 99
drop
jump b |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>modify_ldt(func, ptr, bytecount) -> str
Invokes the syscall modify_ldt.
See 'man 2 modify_ldt' for more information.
Arguments:
func(int): func
ptr(void*): ptr
bytecount(unsigned): bytecount... |
; 编译链接方法
; [root@XXX XXX]# nasm -f elf kernel.asm -o kernel.o
; [root@XXX XXX]# ld -s -Ttext 0x30400 -o kernel.bin kernel.o
; [root@XXX XXX]#
[section .text] ; 代码在此
global _start ; 导出 _start
_start: ; 跳到这里来的时候,我们假设 gs 指向显存
mov ah, 0Fh ; 0000: 黑底 1111: 白字
mov al, 'K'
mov [gs:((80 * 1 + 39) * 2)], ax ; 屏幕第 ... |
;
; DZ80 V3.4.1 8080 Disassembly of VT100.bin
; Initial disassembly: 2021-12-03 08:56
; Last updated: 2022-02-28 21:27
;
; Comments by Paul Flo Williams <paul@frixxon.co.uk>,
; released under Creative Commons Attribution 4.0 International licence.
;
; Documentation random things:
; 1. Sequences not mentione... |
; A166118: Fixed points of the mapping f(x) = (x + 2^x) mod (17 + x).
; 15,47,111,239,495,1007,2031,4079,8175,16367,32751,65519,131055,262127,524271,1048559,2097135,4194287,8388591,16777199,33554415,67108847,134217711,268435439,536870895,1073741807,2147483631,4294967279,8589934575,17179869167,34359738351,68719476719,13... |
include aasyslib.i
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
SYSLIB_JUMP pj_rexlib_init sysl_pj_rexlib_init
code ends
end
|
//===- Win64EHDumper.cpp - Win64 EH Printer ---------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView lice... |
;------------------------------------------------------------------------------ ;
; 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.... |
; A004259: a(n) = floor(10*log_2(n)).
; 0,10,15,20,23,25,28,30,31,33,34,35,37,38,39,40,40,41,42,43,43,44,45,45,46,47,47,48,48,49,49,50,50,50,51,51,52,52,52,53,53,53,54,54,54,55,55,55,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,60,61,61,61,61,61,62,62,62,62,62,63,63,63,63,63,63,64,64,64,64,64,64,65,65,65,65... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Compute the line coordinates and put into a vector
; Basic concept by Rafael de Oliveira Jannone (calculate_side)
;
; Internal function to update the area object's vectors
;
; Stefano Bodrato - 13/3/2009... |
; A232984: The Gauss factorial n_10!.
; Submitted by Jon Maiga
; 1,1,1,3,3,3,3,21,21,189,189,2079,2079,27027,27027,27027,27027,459459,459459,8729721,8729721,183324141,183324141,4216455243,4216455243,4216455243,4216455243,113844291561,113844291561,3301484455269,3301484455269,102346018113339,102346018113339,3377418597740... |
// Copyright (c) 2018 The DSC developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternode-budget.h"
#include "tinyformat.h"
#include "utilmoneystr.h"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_... |
; A011903: a(n) = floor(n*(n-1)*(n-2)/21).
; 0,0,0,0,1,2,5,10,16,24,34,47,62,81,104,130,160,194,233,276,325,380,440,506,578,657,742,835,936,1044,1160,1284,1417,1558,1709,1870,2040,2220,2410,2611,2822,3045,3280,3526,3784,4054,4337,4632,4941,5264,5600,5950,6314,6693,7086,7495,7920,8360,8816,9288,9777,10282,10805,11346,11... |
; A295859: a(n) = a(n-1) + 3*a(n-2) -2*a(n-3) - 2*a(n-4), where a(0) = -2, a(1) = 0, a(2) = 1, a(3) = 1.
; Submitted by Jon Maiga
; -2,0,1,1,8,9,29,38,91,129,268,397,761,1158,2111,3269,5764,9033,15565,24598,41699,66297,111068,177365,294577,471942,778807,1250749,2054132,3304881,5408165,8713046,14219515,22932561,37348684... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Copyright (c) 2013 Manolis Agkopian ;
;See the file LICENCE for copying permission. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PROCESSOR '16F72A'
INCLUDE <P16F72.inc>
__CONFIG _XT_OSC & _WDT_OFF & _PWRTE_OFF & _CP_OFF & _BODEN_OFF
LED EQ... |
// index_catalog.cpp
/**
* Copyright (C) 2013-2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope ... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 app... |
;
; Copyright (c) 2015 Digi International Inc.
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, 2019 April
; adapted for z80, z180, and z80n
;
;-----... |
Name: zel_char2.asm
Type: file
Size: 14984
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: B3B11D4313F71ED960660EA11FED21FD68FC07B4
Description: null
|
; float _fmax (float left, float right)
SECTION code_clib
SECTION code_fp_math32
PUBLIC cm32_sdcc_fmax
EXTERN cm32_sdcc_fsread1, cm32_sdcc_fsreadr, m32_compare
; maximum of two sdcc floats
;
; enter : stack = sdcc_float right, sdcc_float left, ret
;
; exit : stack = sdcc_float right, sdcc_floa... |
; A008553: Numbers that contain the letter `y'.
; 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,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
add $0,20
mov $1,$0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.