text stringlengths 1 1.05M |
|---|
;
; jiss2red-64.asm - reduced-size IDCT (64-bit SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2009 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in js... |
#include <omni/ui/entity_toggle_widget.hpp>
#include <omni/ui/entity_widget_provider_base.hpp>
omni::ui::entity_toggle_widget::entity_toggle_widget (omni::core::context & context, entity_widget_provider_base & provider, QWidget * parent) :
entity_base_widget (parent),
_c (context),
_provider (provider),
... |
; A289643: n*(2*n+1)*binomial(n+2,n)/3.
; 0,3,20,70,180,385,728,1260,2040,3135,4620,6578,9100,12285,16240,21080,26928,33915,42180,51870,63140,76153,91080,108100,127400,149175,173628,200970,231420,265205,302560,343728,388960,438515,492660,551670,615828,685425,760760,842140
sub $0,1
mov $1,$0
add $0,3
add $1,$0
bin $0,3... |
DATA SEGMENT
STR1 DB "ENTER YOUR STRING HERE ->$"
STR2 DB "YOUR STRING IS ->$"
STR3 DB "REVERSE STRING IS ->$"
INSTR1 DB 20 DUP("$")
RSTR DB 20 DUP("$")
NEWLINE DB 10,13,"$"
N DB ?
S DB ?
MSG1 DB "STRING IS PALINDROME$"
MSG2 DB "STRING IS N... |
default rel
section .text
global _0x0fb0_cmpxchg
global _0x0fb1_cmpxchg
global _0x0fb2_lss
global _0x0fb3_btr
global _0x0fb4_lfs
global _0x0fb5_lgs
global _0x0fb6_movzbS
global _0x0fb7_movzwS
global _0x0fb8_popcnt
;; global _0x0fb9
global _0x0fba_bitop
global _0x0fbb_btc
global _0x0fbc_bsf
gl... |
/*
* Copyright 2021 Marzocchi Alessandro
* All rights reserved. Distributed under the terms of the MIT license.
*/
#include "device.h"
using namespace HFMidi;
Device::Device(QObject *parent) : QObject(parent)
{
}
QSharedPointer<Port> Device::openPort(const QString &id)
{
QSharedPointer<Port> ret=m_ports.value(i... |
//
// Copyright (c) 2015-2016 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOO... |
; **********************************************************************************************************
;
; Name: memory.asm
; Purpose Memory addressing Words for Z80 CMForth Core (5.1.1)
; Author: Paul Robson (paul@robsons.org.uk)
; Date: 28th January 2018
;
; *********************************************... |
//
// Copyright (C) 2013 OpenSim Ltd.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program i... |
; _Noreturn void abort(void)
SECTION code_clib
SECTION code_stdlib
PUBLIC abort
EXTERN asm_abort
defc abort = asm_abort
|
;代码清单9-2
;文件名:c09_2.asm
;文件说明:用于演示BIOS中断的用户程序
;创建日期:2012-3-28 20:35
;===============================================================================
SECTION header vstart=0 ;定义用户程序头部段
program_length dd program_end ;程序总长度[0x00]
... |
; ==================================================================
; MikeOS -- The Mike Operating System kernel
; Copyright (C) 2006 - 2019 MikeOS Developers -- see doc/LICENSE.TXT
;
; This is loaded from the drive by BOOTLOAD.BIN, as KERNEL.BIN.
; First we have the system call vectors, which start at a static p... |
; A107713: Convolution of 2^n*n! and n!.
; Submitted by Jamie Morken(s4)
; 1,3,12,66,484,4536,52128,709776,11153376,198339840,3932962560,85976743680,2053285148160,53173906652160,1483987541299200,44396218792396800,1417294759310438400,48088097391133900800,1728013936221838540800,65558270633421791232000
mov $1,1
mov $2,1
... |
MODULE generic_console_ioctl
PUBLIC generic_console_ioctl
SECTION code_clib
INCLUDE "ioctl.def"
EXTERN generic_console_cls
EXTERN __console_h
EXTERN __console_w
PUBLIC CLIB_GENCON_CAPS
defc CLIB_GENCON_CAPS = CAP_GENCON_FG_COLOUR | CAP_GENCON_BG_COLOUR | CAP_GENCON_INVERSE... |
; A157731: a(n) = 18522*n - 10248.
; 8274,26796,45318,63840,82362,100884,119406,137928,156450,174972,193494,212016,230538,249060,267582,286104,304626,323148,341670,360192,378714,397236,415758,434280,452802,471324,489846,508368,526890,545412,563934,582456,600978,619500,638022,656544,675066,693588,712110,730632,749154,76... |
#include "util.h"
#include <regex>
// external libraries
#include <CLI/CLI.hpp>
#include <boost/beast/version.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/preprocessor/stringize.hpp>
#include <nlohmann/json.hpp>
#include "momo_version.h"
#include "rtc_base/help... |
.n64
.relativeinclude on
.create "../roms/patched.z64", 0
.incbin "../roms/base.z64"
;==================================================================================================
; Constants
;==================================================================================================
.include "constants.... |
; A170302: Number of reduced words of length n in Coxeter group on 5 generators S_i with relations (S_i)^2 = (S_i S_j)^42 = I.
; 1,5,20,80,320,1280,5120,20480,81920,327680,1310720,5242880,20971520,83886080,335544320,1342177280,5368709120,21474836480,85899345920,343597383680,1374389534720,5497558138880,21990232555520,87... |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT DB 'The Lower Case Letters are: $'
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
LEA DX, PROMPT
MOV AH, 9
INT 21H
MOV CX, 26 ; 26 Alphabet
MOV AH, 2
MOV DL, 1... |
SECTION "Code",CODE
__DCB "1234"
SECTION "Code2",CODE
__DCB "Offset by some random amount"
__DCL @
__DCL @
|
; Exceptions
extern divide_by_zero_isr
extern debug_isr
extern non_maskable_interrupt_isr
extern breakpoint_isr
extern overflow_isr
extern bound_range_exceeded_isr
extern invalid_opcode_isr
extern device_not_available_isr
extern double_fault_isr
extern coprocessor_segment_overrun_isr
extern invalid_tss_isr
extern segme... |
#include "../run.h"
void kernel_case2(float (&A)[16][8]) {} |
/* ---------------------------------------------------------------- *
Antti Jumpponen <kuumies@gmail.com>
The implementation of kuu::sunne::OpenGLGeometryRender class
* ---------------------------------------------------------------- */
#include "sunne_opengl_shading_render.h"
#include "sunne_opengl_planet.h"
... |
; A186497: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=3i-2 and g(j)=j-th triangular number. Complement of A186498.
; 1,4,6,7,9,11,12,14,15,16,18,19,21,22,23,25,26,27,28,30,31,32,34,35,36,37,39,40,41,42,43,45,46,47,48,50,51,52,53,54,56,57,58,59,60,61,63,64,65,66,6... |
; A186298: A007520(n)-2.
; Submitted by Christian Krause
; 1,9,17,41,57,65,81,105,129,137,161,177,209,225,249,281,305,329,345,377,417,441,465,489,497,521,545,561,569,585,617,641,657,681,689,737,785,809,825,857,881,905,945,969,1017,1049,1089,1121,1161,1169,1185
mov $1,10
mov $2,$0
pow $2,2
lpb $2
sub $2,1
mov $3,$1... |
/*
(c) 2014 Glen Joseph Fernandes
<glenjofe -at- gmail.com>
Distributed under the Boost Software
License, Version 1.0.
http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_GCC_HPP
#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_GCC_HPP
#include <boost/align/detail/integral_constant.hpp>
#include <cstdd... |
/* ************************************************************************
* Copyright 2018-2020 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "bytes.hpp"
#include "cblas_interface.hpp"
#include "flops.hpp"
#include "near.hpp"
#include "norm.hpp"... |
#include "ResourceSupportVector.hpp"
#include <math.h>
#include <sstream>
#include <base-logging/Logging.hpp>
#include <moreorg/OrganizationModelAsk.hpp>
namespace moreorg {
namespace algebra {
std::map<SupportType, std::string> SupportTypeTxt = {
{NO_SUPPORT, "no support"},
{PARTIAL_SUPPORT, "partial support... |
#include <chrono>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <unistd.h>
#include <signal.h>
#include <cstdio>
#include <fcntl.h>
#include <string>
#include <stdio.h>
#include <termios.h>
#include <mutex>
#include <thread>
#include <boost/asio.hpp>
#include <boost/filesystem.hpp>
#include "prot... |
#ifndef ENGINE_H
#define ENGINE_H
#include <memory>
#include <stack>
#include <SFML/Graphics/RenderWindow.hpp>
#include "game.hpp"
#include "../states/gameState.hpp"
#include "../states/intro/stateIntroSFML.hpp"
class Engine {
private:
Game game;
std::stack< std::unique_ptr< GameState > > states... |
; A020937: Greatest k such that (k-th prime) < (7 times n-th prime).
; Submitted by Jamie Morken(s3)
; 6,8,11,15,21,24,30,32,37,46,47,55,61,62,66,73,80,82,91,94,97,101,106,114,123,126,128,132,135,138,154,156,162,164,175,177,184,189,192,197,204,205,217,217,220,221,233,246,250,252,258,263,263,273,278,282,289
mul $0,2
ma... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkProp3DButtonRepresentation.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>chmod(file, mode) -> str
Invokes the syscall chmod.
See 'man 2 chmod' for more information.
Arguments:
file(char*): file
mode(mode_t): mode
Returns:
int
</%docstring>
<%page args="file=0, mo... |
absolute 0x5000
label
label2 equ 0x9999
global label
global label2
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x348, %r11
nop
nop
dec %r9
movups (%r11), %xmm4
vpextrq $0, %xmm4, %r14
nop
nop
inc %rdi
lea addresses_UC_ht+0x5bbe, %rsi
lea addresses_D_ht+0x2158, %rdi
clflush (%rsi)
no... |
/////////////////////////////////////////////////////////////////////////////////////////////////
//
// Tencent is pleased to support the open source community by making libpag available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the Apache License, Versio... |
; A186188: Least k such that A156077^(k)(n)=1 where a^(k)=a(a^(k-1)).
; 1,1,1,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
mov $2,3
lpb $0,1
trn $0,$2
add $0,$2
sub $0,1
sub $0,$1
add $1,1... |
// *************************************************************************
// Copyright (C) 2014 by Arash Bakhtiari
// You may not use this file except in compliance with the License.
// You obtain a copy of the License in the LICENSE file.
// Unless required by applicable law or agreed to in writing, software
// di... |
dnl x86-64 mpn_popcount optimized for "Core 2".
dnl Copyright 2007 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as... |
; A259624: Strictly increasing list of F - 1, F, and F + 1, where F = A000045, the Fibonacci numbers.
; 0,1,2,3,4,5,6,7,8,9,12,13,14,20,21,22,33,34,35,54,55,56,88,89,90,143,144,145,232,233,234,376,377,378,609,610,611,986,987,988,1596,1597,1598,2583,2584,2585,4180,4181,4182,6764,6765,6766,10945,10946,10947,17710,17711,1... |
#include <doctest/doctest.h>
#include <raytracerchallenge/base/Color.h>
using namespace raytracerchallenge;
TEST_CASE("Colors") {
SUBCASE("Colors are (red, green, blue) tuples") {
Color c = Color(-0.5, 0.4, 1.7);
CHECK(c.red == -0.5);
CHECK(c.green == 0.4);
CHECK(c.blue == 1.7);
}
SUBCASE("Defau... |
// Copyright 2018 The MediaPipe Authors.
//
// 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 a... |
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes... |
struct SuperScope : Controller {
enum : uint {
X, Y, Trigger, Cursor, Turbo, Pause,
};
SuperScope(uint port);
auto data() -> uint2;
auto latch(bool data) -> void;
auto latch() -> void override;
auto draw(uint16_t* data, uint pitch, uint width, uint height) -> void override;
private:
bool latched;... |
INCLUDE "graphics/grafix.inc"
XLIB w_respixel
LIB l_cmp
LIB w_pixeladdress
XREF COORDS
;
; $Id: w_respixl.asm,v 1.1 2008/07/17 15:39:56 stefano Exp $
;
; ******************************************************************
;
; Reset pixel at (x,y) coordinat... |
; A SIMPLE PROGRAM TO DISPLAY A 10x10 SOLID BOX OF ASTERISKS
.MODEL SMALL
.DATA
ASTERISKS DB 0AH, 0DH, "**********$"
.CODE
MAIN PROC
; INITIALIZE DATA SEGMENT
MOV AX, @DATA
MOV DS, AX
MOV AH, 9
LEA DX, ASTERISKS
... |
gdt_start: ; don't remove the labels, they're needed to compute sizes and jumps
; the GDT starts with a null 8-byte
dd 0x0 ; 4 byte
dd 0x0 ; 4 byte
; GDT for code segment. base = 0x00000000, length = 0xfffff
; for flags, refer to os-dev.pdf document, page 36
gdt_code:
dw 0xffff ; segment length, b... |
; A017271: a(n) = (10*n)^3.
; 0,1000,8000,27000,64000,125000,216000,343000,512000,729000,1000000,1331000,1728000,2197000,2744000,3375000,4096000,4913000,5832000,6859000,8000000,9261000,10648000,12167000,13824000,15625000,17576000,19683000,21952000,24389000,27000000,29791000,32768000,35937000,39304000,42875000,46656000,... |
; stdio_error_ebadf_zc
; 06.2008 aralbrec
PUBLIC stdio_error_ebadf_zc
EXTERN stdio_errno_zc
INCLUDE "../stdio.def"
pop hl
.stdio_error_ebadf_zc
ld hl,EBADF
jp stdio_errno_zc
|
; A292542: Number of 4-cycles in the n-Sierpinski tetrahedron graph.
; 3,39,156,624,2496,9984,39936,159744,638976,2555904,10223616,40894464,163577856,654311424,2617245696,10468982784,41875931136,167503724544,670014898176,2680059592704,10720238370816,42880953483264,171523813933056,686095255732224
seq $0,330246 ; a(n) =... |
#include "config.h"
[GLOBAL tasks_switch_to_user]
tasks_switch_to_user:
mov ebx, [esp+4]
mov ax, GDT_USER_DS_SELECTOR
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov eax, esp
push GDT_USER_DS_SELECTOR
push eax
pushf
push GDT_USER_CS_SELECTOR
push ebx
iret
|
; A011665: A binary m-sequence: expansion of reciprocal of x^5+x^4+x^3+x^2+1.
; 0,0,0,0,1,0,1,1,0,1,0,1,0,0,0,1,1,1,0,1,1,1,1,1,0,0,1,0,0,1,1,0,0,0,0,1,0,1,1,0,1,0,1,0,0,0,1,1,1,0,1,1,1,1,1,0,0,1,0,0,1,1,0,0,0,0,1,0,1,1,0,1,0,1,0,0,0,1,1,1,0
mov $2,$0
mul $0,2
sub $2,8
sub $0,$2
cal $0,11747 ; Expansion of (1 + x^2 + ... |
; A079309: a(n) = C(1,1) + C(3,2) + C(5,3) + ... + C(2*n-1,n).
; 1,4,14,49,175,637,2353,8788,33098,125476,478192,1830270,7030570,27088870,104647630,405187825,1571990935,6109558585,23782190485,92705454895,361834392115,1413883873975,5530599237775,21654401079325,84859704298201,332818970772253,1306288683596309,513063398397... |
; ===============================================================
; Feb 2021
; ===============================================================
;
; void *memset_wr(void *s, int c, size_t n)
;
; Write c into the first n bytes of s.
;
; Only writes to memory, doesn't read.
;
; ===========================================... |
; A094195: G.f.: (1-4*x)/((1-5*x)*(1-x)^2).
; 1,3,10,42,199,981,4888,24420,122077,610359,3051766,15258798,76293955,381469737,1907348644,9536743176,47683715833,238418579115,1192092895522,5960464477554,29802322387711,149011611938493,745058059692400,3725290298461932,18626451492309589
lpb $0,1
sub $0,1
add $2,1
add ... |
/*
//@HEADER
// ************************************************************************
//
// KokkosKernels 0.9: Linear Algebra and Graph Kernels
// Copyright 2017 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retain... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x12895, %rcx
nop
nop
nop
cmp %r9, %r9
mov (%rcx), %rax
nop
nop
and %r11, %r11
lea addresses_D_ht+0xfe6d, %rax
nop
nop
nop
nop
nop
cmp $17613, %r13
movups (%rax), %xmm1
vpextrq ... |
title "Jump Unwind"
;++
;
; Copyright (c) 2000 Microsoft Corporation
;
; Module Name:
;
; jmpunwind.asm
;
; Abstract:
;
; This module implements the AMD64 specific routine to perform jump unwind.
;
; Author:
;
; David N. Cutler (davec) 22-Dec-2000
;
; Environment:
;
; Any mode.
;... |
; A271357: a(n) = k*Fibonacci(2*n+1) + (k+1)*Fibonacci(2*n), where k=3.
; 3,10,27,71,186,487,1275,3338,8739,22879,59898,156815,410547,1074826,2813931,7366967,19286970,50493943,132194859,346090634,906077043,2372140495,6210344442,16258892831,42566334051,111440109322,291753993915,763821872423,1999711623354,5235312997639,1... |
#include "kernel.inc"
.db "KEXC"
.db KEXC_ENTRY_POINT
.dw start
.db KEXC_STACK_SIZE
.dw 50
.db KEXC_KERNEL_VER
.db 0, 6
.db KEXC_HEADER_END
start:
pcall(getLcdLock)
pcall(getKeypadLock)
pcall(allocScreenBuffer)
xor a
kld((topThread), a)
kld((cursorWasAtBottom), a... |
; A036603: a(n) = n! in binary.
; 1,1,10,110,11000,1111000,1011010000,1001110110000,1001110110000000,1011000100110000000,1101110101111100000000,10011000010001010100000000,11100100011001111110000000000,101110011001010001100110000000000
seq $0,142 ; Factorial numbers: n! = 1*2*3*4*...*n (order of symmetric group S_n, nu... |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... |
// Mono Native Fixture
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Namespace: System.Security.Cryptography
// Name: DeriveBytes
// C++ Typed Name: mscorlib::System::Security::Cryptography::DeriveBytes
#include <gtest/gtest.h>
#include <mscorlib/System/Security/Cryptogra... |
; A007581: a(n) = (2^n+1)*(2^n+2)/6.
; 1,2,5,15,51,187,715,2795,11051,43947,175275,700075,2798251,11188907,44747435,178973355,715860651,2863377067,11453377195,45813246635,183252462251,733008800427,2932033104555,11728128223915,46912504507051,187650001250987,750599971449515,3002399818689195,12009599140539051,480383962937... |
// Copyright (c) 2012-2019 The Starwels developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/wallet.h>
#include <wallet/test/wallet_test_fixture.h>
#include <stdint.h>
#include <boost/test/unit_test.hpp... |
###############################################################################
# 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... |
; A138401: a(n) = prime(n)^4 - prime(n).
; 14,78,620,2394,14630,28548,83504,130302,279818,707252,923490,1874124,2825720,3418758,4879634,7890428,12117302,13845780,20151054,25411610,28398168,38950002,47458238,62742152,88529184,104060300,112550778,131079494,141158052,163047248,260144514,294499790,352275224,373300902,49288... |
* = $0000
.byte 0
;
; 0000,1 Mapping
; 0002,9FFF RAM
; A000,BFFF ROM image
; C000,CFFF RAM
; D000,DFFF Probably I/O mapped here.
; E000,FFF ROM image
;
vwrite .macro
ldz #\1
lda #\2
nop
sta ($04),z
.endm
* = $E000 ; find out how much leeway.
PETFont:
.binary "c64-chargen.rom"
* =... |
LDA 2200
MOV C,A
MVI B,00
MVI D,00
LXI H,2201
REPEAT: MOV A,M
ANI 01
JZ SKIP
MOV A,B
ADD M
MOV B,A
SKIP: INX H
DCR C
JNZ REPEAT
MOV A,B
STA 2210
HLT
|
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x14251, %r9
nop
nop
nop
sub $34182, %rbp
movl $0x61626364, (%r9)
nop
nop
nop
xor %r14, %r14
lea addresses_WC_ht+0x1bd01, %rcx
nop
nop
nop
nop
xor %rdi, %rdi
movb (%rcx), %al
no... |
;------------------------------------------------------------------------------
; GBA Test Collection - GBA test ROMs written in ARM assembly.
; Copyright (C) 2021 Michelle-Marie Schiller
;------------------------------------------------------------------------------
; main.asm - Hello World.
;------------------------... |
/*************************************************************************/
/* pluginscript_script.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
; void p_queue_init_fastcall(void *p)
SECTION code_adt_p_queue
PUBLIC _p_queue_init_fastcall
defc _p_queue_init_fastcall = asm_p_queue_init
INCLUDE "adt/p_queue/z80/asm_p_queue_init.asm"
|
assume cs: codeseg
codeseg segment
mov ax, 1000H
mov ds, ax
mov cx, 3H
mov bx, 0H
s: mov ds:[bx], bx
inc bx
loop s
a: mov al, ds:[bx]
mov ah, 0H
add dx, ax
inc bx
loop a
mov ax, 4200h
int 21h
codeseg ends
end |
/// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... |
; Unununium Operating Engine
; Copyright (c) 2000-2001, Dave Poirier
; Distributed under the BSD License.
;
; [= SDK.EHEX Hexadecimal Editor =]
; System Core compliant
;
; More information available on our website at http://uuu.wox.org/ or by email
; at core_dev@uuu.wox.org
;
; note for visual consulation, ta... |
; struct sp1_update __CALLEE__ *sp1_GetUpdateStruct_callee(uchar row, uchar col)
; 01.2008 aralbrec, Sprite Pack v3.0
; ts2068 hi-res version
INCLUDE "ts2068hr/customize.asm"
PUBLIC sp1_GetUpdateStruct_callee
PUBLIC ASMDISP_SP1_GETUPDATESTRUCT_CALLEE
.sp1_GetUpdateStruct_callee
pop hl
pop de
ex (sp),hl
... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
#include<iostream>
using namespace std;
int main()
{
system("netsh interface ipv4 set address name=\"Wi-Fi\" source=dhcp");
cout << "Attempting to switch to dynamic";
return 0;
} |
#include "c4/ast/ast.hpp"
#include "c4/std/string.hpp"
#include <c4/c4_push.hpp>
namespace c4 {
namespace ast {
thread_local std::vector<const char*> CompilationDb::s_cmd;
thread_local std::vector<std::string> CompilationDb::s_cmd_buf;
Cursor Cursor::first_child() const
{
struct _fchdata
{
Cursor th... |
Name: control_data.asm
Type: file
Size: 12255
Last-Modified: '1993-07-20T07:13:21Z'
SHA-1: AA47917CEAD556F26BE678890420D6D28491C1CB
Description: null
|
; A098695: a(n) = 2^(n(n-1)/2) * Product_{k=1..n} k!.
; Submitted by Jon Maiga
; 1,1,4,96,18432,35389440,815372697600,263006617337856000,1357366631815981301760000,126095668058466123464363212800000,234278891648287676839670388023623680000000
mov $1,1
mov $2,2
mov $4,23
lpb $0
mov $3,$2
add $2,1
mul $4,$1
lpb $3
... |
; A298977: Base-7 complementary numbers: n equals the product of the 7 complement (7-d) of its base-7 digits d.
; Submitted by Christian Krause
; 12,84,120,588,840,4116,5880,28812,41160,201684,288120,1411788,2016840,9882516,14117880,69177612,98825160,484243284,691776120,3389702988,4842432840,23727920916,33897029880,166... |
;*****************************************************************************
;*
;* Open Watcom Project
;*
;* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
;*
;* ========================================================================
;*
;* This file conta... |
; A100155: Structured truncated octahedral numbers.
; 1,24,103,272,565,1016,1659,2528,3657,5080,6831,8944,11453,14392,17795,21696,26129,31128,36727,42960,49861,57464,65803,74912,84825,95576,107199,119728,133197,147640,163091,179584,197153,215832,235655,256656,278869,302328,327067,353120,380521,409304,439503,471152,5042... |
; A043565: Number of runs in base-13 representation of n.
; 1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2
dif $0,14
sub $0,1
mul $0,4
lpb $0
mov $0,45
add $1,1
lpe
add $1,1
mov $0,$... |
; A086021: a(n) = Sum_{i=1..n} C(i+2,3)^3.
; 1,65,1065,9065,51940,227556,820260,2548260,7040385,17688385,41082041,89310585,183506960,359122960,673554960,1216893456,2126746665,3608290665,5960927665,9613191665,15167828676,23459298500,35626298500,53202298500,78227501625,113386110201,162173280465,229096696465,319918283840,... |
; Legacy support for old pokecrystal.
; Allows porting scripts with as few edits as possible.
; Legacy support not in this file can be found by looking for the keyword: "LEGACY"
; macros/rst.asm
callba EQUS "farcall"
callab EQUS "callfar"
; macros/scripts/audio.asm
unknownmusic0xde EQUS "sound_duty"
; macros/scripts... |
; A090670: Odd numbers k such that 2*k-3 is a prime of the form 4*j+3.
; Submitted by Christian Krause
; 3,5,7,11,13,17,23,25,31,35,37,41,43,53,55,65,67,71,77,83,85,91,97,101,107,113,115,121,127,133,137,143,155,157,167,175,181,185,191,193,211,217,221,223,233,235,241,245,247,251,253,263,275,283,287,295,301,305,311,317,3... |
//===--- Errors.cpp - Error reporting utilities ---------------------------===//
//
// 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... |
; A217778: Expansion of (1-x)^2*(1-3*x)/((1-3*x+x^2)*(1-5*x+5*x^2)).
; Submitted by Jon Maiga
; 1,3,10,34,117,407,1429,5055,17986,64278,230473,828391,2982825,10754459,38811802,140165322,506449789,1830590295,6618524221,23933966743,86562282258,313102489406,1132598701585,4097213146599,14822370816337,53623952036787
mov $1... |
; A220661: Irregular table, where the n-th row consists of numbers 1..n!
; 1,1,2,1,2,3,4,5,6,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,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... |
; A048584: Pisot sequence L(5,7).
; 5,7,10,15,23,36,57,91,146,235,379,612,989,1599,2586,4183,6767,10948,17713,28659,46370,75027,121395,196420,317813,514231,832042,1346271,2178311,3524580,5702889,9227467,14930354,24157819,39088171,63245988,102334157,165580143,267914298,433494439,701408735,1134903172,1836311905,297121507... |
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 6.0.6001-sp1-windows-vista i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtGdiAbortDoc( ULONG arg_01 );
_6_0_6001_sp1_windows_vista... |
.model small
.stack
.data
str1 db "amrita$"
str2 db "amrita$"
strlen1 db 0h
strlen2 db 0h
equal db 01h
.code
.startup
;Finding the length of the first string
mov si, offset str1
check1:cmp [si], '$'
jz len2
inc strlen1
inc si
jmp check1
;Finding the length of the second string
len2:mov si, of... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The PIVX developers
// Copyright (c) 2021 The INFAQCOIN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYI... |
/*
* Copyright 2002,2004 The Apache Software Foundation.
*
* 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 re... |
// Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x4c3d, %rsi
lea addresses_WT_ht+0x763d, %rdi
nop
nop
nop
nop
nop
cmp $35138, %rdx
mov $48, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %r11
lea addresses_WT_ht+0xbffd, %rsi
lea addre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.