text stringlengths 1 1.05M |
|---|
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... |
#note: r40 (the exception handler) and r46 (the start of usermode code) must
#be specified in hex (0xwhatever)
#I just don't see any reason not to, and it makes programming the script
#much nicer to deal with...
#load exception handler
lc r40, 0x80000050
leh r40
#enable exceptions
cle
#load TLB ent... |
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
; A302406: Total domination number of the n X n torus grid graph.
; 0,1,2,3,4,8,10,14,16,23,26,33,36,46,50,60,64,77,82,95,100,116,122,138,144,163,170,189,196,218,226,248,256,281,290,315,324,352,362,390,400,431,442,473,484,518,530,564,576,613,626,663,676,716,730,770,784,827,842,885
mov $2,$0
mov $4,$0
lpb $4
add $1,$... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rdx
lea addresses_normal_ht+0xce36, %r11
nop
nop
inc %rdx
movl $0x61626364, (%r11)
xor $27307, %r8
lea addresses_normal_ht+0x197d4, %r12
nop
nop
nop
nop
cmp %r11, %r11
mov $0x6162636465666768, %rax
movq %rax, (%r12)
nop
nop
nop
xo... |
.MODEL flat, c
.CODE
MmxMultiply PROC
push ebp
mov ebp, esp
movq mm0, [ebp+8] ; mm0 = a
movq mm1, [ebp+16] ; mm1 = b
movq mm2, mm0 ; mm2 = a
pmullw mm0, mm1 ; mm0 = product low result
pmulhw mm1, mm2 ; mm1 = product high result
movq mm2, mm0 ; mm2 = product low result
punpcklwd mm0, mm1 ; mm0 ... |
[BITS 16]
[ORG 0x7C00]
%include "macros.asm"
; CODE BEGIN
;
;
jmp 0x00:start ;setting code segment
start:
cli
xor ax, ax
mov ds, ax; setting data segment to zero
mov ss, ax; setting up stack segment
mov sp, 0x7C00 ;setting up stackpointer (just before the loaded bootsector)
mov ax, 0xA000 ;beginning of the framebuf... |
copyright zengfr site:http://github.com/zengfr/romhack
0007D0 move.b $80001c.l, ($23,A5) [base+ 22]
0007D8 move.b $80001e.l, ($24,A5) [base+ 23]
0007E4 not.b ($23,A5) [base+ 22]
0007E8 not.b ($24,A5) [base+ 23]
copyright zengfr site:http://github.com/zengfr/romhack
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
lea addresses_A_ht+0x1620b, %r8
nop
nop
nop
nop
nop
cmp $32651, %r12
vmovups (%r8), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %r13
nop
nop
xor $37643, %r12
pop %r8
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push ... |
*= $0801
.byte $4c,$16,$08,$00,$97,$32
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$30,$00,$00,$00,$a9
.byte $01,$85,$02
jsr print
.byte 13
.text "(up)anday"
.byte 0
lda #%00011011
sta db
lda #%11000110
s... |
; A314252: Coordination sequence Gal.5.295.1 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,17,23,29,35,41,47,53,58,63,69,75,81,87,93,99,105,111,116,121,127,133,139,145,151,157,163,169,174,179,185,191,197,203,209,215,221,227,... |
_OaksLabGaryText1::
text "<RIVAL>: Yo"
line "<PLAYER>! Gramps"
cont "isn't around!"
done
_OaksLabText40::
text "<RIVAL>: Heh, I"
line "don't need to be"
cont "greedy like you!"
para "Go ahead and"
line "choose, <PLAYER>!"
done
_OaksLabText41::
text "<RIVAL>: My"
line "#MON looks a"
cont "lot stronger."
... |
// 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 "chrome/browser/extensions/api/declarative/rules_registry_service.h"
#include "base/bind.h"
#include "base/lazy_instance.h"
#include "base/l... |
// 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 "chrome/browser/ui/metro_pin_tab_helper_win.h"
#include <set>
#include "base/base_paths.h"
#include "base/bind.h"
#include "base/files/file... |
; A180358: n^8+8n
; 0,9,272,6585,65568,390665,1679664,5764857,16777280,43046793,100000080,214358969,429981792,815730825,1475789168,2562890745,4294967424,6975757577,11019960720,16983563193,25600000160,37822859529,54875873712
mov $1,8
mov $2,$0
pow $0,7
add $1,$0
mul $1,$2
mov $0,$1
|
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002. Permission to copy, use, *
# * modify, sell, and distribute this software is granted provided ... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="fd, file, tvp"/>
<%docstring>
Invokes the syscall futimesat. See 'man 2 futimesat' for more information.
Arguments:
fd(int): fd
file(char): file
tvp(timeval): tvp
</%docstring>
${syscall('SYS_futimesat', fd, file, tvp)}
|
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/thana-config.h"
#endif
#include <cstddef>
#if defined(HAVE_SYS_SELECT_H)
#include <s... |
; A091453: Triangular array T(n,k) read by rows in which row n consists of the numbers floor(2n/k), k=1,2,...,2n+1.
; Submitted by Jon Maiga
; 0,0,2,1,0,4,2,1,1,0,6,3,2,1,1,1,0,8,4,2,2,1,1,1,1,0,10,5,3,2,2,1,1,1,1,1,0,12,6,4,3,2,2,1,1,1,1,1,1,0,14,7,4,3,2,2,2,1,1,1,1,1,1,1,0,16,8,5,4,3,2,2,2,1,1,1,1,1,1,1,1,0,18,9,6,4,... |
section .rodata
msg db "Hello World", 0xA ; String to print
len equ $- msg ; Length of string
section .text
global _start ; Specify entry point to linker
_start:
mov eax, 1 ; System call ID (sys_write)
mov edi, eax ; File d... |
/*start*/
bt label1
bt label1+1
mov r0, r0
label1:
mov r0, r0
/*label2*/
mov r0, r0
mov r0, r0
bt label1
bt label1-3
|
From netcom.com!ix.netcom.com!netnews Tue Nov 29 09:44:15 1994
Xref: netcom.com alt.comp.virus:509
Path: netcom.com!ix.netcom.com!netnews
From: Zeppelin@ix.netcom.com (Mr. G)
Newsgroups: alt.comp.virus
Subject: Dark Avenger Virus
Date: 29 Nov 1994 13:13:46 GMT
Organization: Netcom
Lines: 1018
Distribution: world
Messag... |
.ORG 0
.TEXT "\378\.\1"
.END
|
// Copyright 2016 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 "third_party/blink/renderer/modules/media_controls/media_controls_orientation_lock_delegate.h"
#include <memory>
#include "mojo/public/cpp/bind... |
.main
MOVIL r0 5 # x = 5
BUC 1
.L3
SUBI r0 1
.L2
CMPI r0 5
BEQ -3 # 1111_1101
ADD r1 r0 # x = 4
|
mov r1, .0
cne r1, .1
cout .1
cne r1, .0
cflip
cout .1
cne r1, .0
cout .0
|
;*************************************************************
; VIO TERMINAL FIRMWARE REQUIRES REFRESH MEMORY TO BE AT
; F000 AND FIRMWARE ITSELF AT F800
; COPYRIGHT IMSAI MANUFACTURING COMPANY
; SAN LEANDRO, CALIFORNIA
; 6/1/77
;
; MODIFIED TO ASSEMBLE WITH INTEL 8080 CROSS ASSEMBLER
; AND PRETTI... |
; A026356: a(n) = floor((n-1)*phi) + n + 1, n > 0, where phi = (1+sqrt(5))/2.
; 2,4,7,9,12,15,17,20,22,25,28,30,33,36,38,41,43,46,49,51,54,56,59,62,64,67,70,72,75,77,80,83,85,88,91,93,96,98,101,104,106,109,111,114,117,119,122,125,127,130,132,135,138,140,143,145,148,151,153,156,159,161,164,166,169,172,174,177,180,182,18... |
#include <lalr/ParserStateMachine.hpp>
#include <lalr/ParserState.hpp>
#include <lalr/ParserTransition.hpp>
#include <lalr/ParserSymbol.hpp>
#include <lalr/ParserAction.hpp>
#include <lalr/LexerStateMachine.hpp>
#include <lalr/LexerState.hpp>
#include <lalr/LexerTransition.hpp>
#include <lalr/LexerAction.hpp>
using n... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xd649, %r12
nop
nop
nop
nop
nop
xor %rdi, %rdi
mov (%r12), %ebp
nop
nop
nop
nop
cmp $63820, %rsi
lea addresses_WC_ht+0xd9c5, %rcx
sub %rax, %rax
vmovups (%rcx), %ymm4
vex... |
#ruledef test
{
ld {x} => 0x55 @ x`8
}
global1:
.local1:
..local2 ; error: expected
ld global1.local1 |
; A013957: sigma_9(n), the sum of the 9th powers of the divisors of n.
; 1,513,19684,262657,1953126,10097892,40353608,134480385,387440173,1001953638,2357947692,5170140388,10604499374,20701400904,38445332184,68853957121,118587876498,198756808749,322687697780,513002215782,794320419872,1209627165996,1801152661464,26471118... |
/*
* Gamedev Framework (gf)
* Copyright (C) 2016-2021 Julien Bernard
*
* 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 fo... |
; ===============================================================
; Jan 2014
; ===============================================================
;
; size_t getdelim(char **lineptr, size_t *n, int delimiter, FILE *stream)
;
; Reads characters from the stream up to and including the delimiter
; char and stores them in th... |
#include "ECF_base.h"
#include "ECF_macro.h"
#include "AlgGenHookeJeeves.h"
#include "SelFitnessProportionalOp.h"
#include "SelRandomOp.h"
#include "floatingpoint/FloatingPoint.h"
GenHookeJeeves::GenHookeJeeves()
{
// define algorithm name (for referencing in config file)
name_ = "GenHookeJeeves";
//... |
; A130886: 4n^4 + 3n^3 + 2n^2 + n + 1.
; 1,11,99,427,1253,2931,5911,10739,18057,28603,43211,62811,88429,121187,162303,213091,274961,349419,438067,542603,664821,806611,969959,1156947,1369753,1610651,1882011,2186299,2526077,2904003,3322831,3785411,4294689,4853707,5465603,6133611,6861061,7651379,8508087,9434803,10435241,1... |
%include "io.inc"
%include '/home/chus/Arqui1/PruebasSasm/functions.asm'
SECTION .data
entrada_a_leer db '/home/chus/Arqui1/DefensaProgra1/polka_eco.txt', 0h ; Archivo de entrada a leer
archivo_salida db '/home/chus/Arqui1/DefensaProgra1/polka_noeco.txt', 0h ; Archivo de salida para cargar los datos final... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x13a35, %rax
clflush (%rax)
nop
nop
nop
nop
inc %rdx
movl $0x61626364, (%rax)
dec %r9
lea addresses_WC_ht+0x10435, %r9
nop
nop
nop
nop
cmp $24789, %rcx
movb $0x61, (%r9)
nop
s... |
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer cbInit
// {
//
// float4 g_vMaterialColor; // Offset: 0 Size: 16
// float4 g_vAmbientColor; // Offset: 16 Size: 16
// float4 g_vSpecularColor; // Offset: ... |
// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
// Copyright Aleksey Gurtovoy 2001-2006
//
// 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)
//
// See http://www.boost.org/libs/mpl for docum... |
; A212378: Primes congruent to 1 mod 61.
; Submitted by Jon Maiga
; 367,733,977,1709,1831,2441,3539,4027,4271,4637,4759,5003,5857,6101,6833,7321,7687,8053,8297,8419,8663,9029,9151,9883,10859,12323,12689,13177,13421,14153,14519,15373,15739,16349,17203,17569,18301,18911,21107,21839,21961,22571,22937,23059,23669,24767,248... |
/**
* @file
* This file is part of SeisSol.
*
* @author Alex Breuer (breuer AT mytum.de, http://www5.in.tum.de/wiki/index.php/Dipl.-Math._Alexander_Breuer)
* @author Sebastian Rettenberger (sebastian.rettenberger @ tum.de, http://www5.in.tum.de/wiki/index.php/Sebastian_Rettenberger)
* @author Sebastian Wolf (wolf... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Soma.asm - soma de numeros em hexadecimal
;Prof. Fernando M. de Azevedo - 28.03.2005
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ORG 2000H
LDA N ; Carrega A com o valor de N
MOV C,A ; armazen... |
; A069754: Counts transitions between prime and composite to reach the number n.
; Submitted by Jon Maiga
; 0,1,1,2,3,4,5,6,6,6,7,8,9,10,10,10,11,12,13,14,14,14,15,16,16,16,16,16,17,18,19,20,20,20,20,20,21,22,22,22,23,24,25,26,26,26,27,28,28,28,28,28,29,30,30,30,30,30,31,32,33,34,34,34,34,34,35,36,36,36,37,38,39,40,40,... |
#include "hzpch.h"
#include "OpenGLContext.h"
#include <GLFW/glfw3.h>
#include <glad/glad.h>
namespace Hazel {
OpenGLContext::OpenGLContext(GLFWwindow* windowHandle)
: m_WindowHandle(windowHandle)
{
HZ_CORE_ASSERT(windowHandle, "Handle is null!")
}
void OpenGLContext::Init()
{
glfwMakeContextCurrent(m_Win... |
; A315361: Coordination sequence Gal.5.328.3 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.
; Submitted by Jamie Morken(s2.)
; 1,6,10,18,22,26,36,38,42,54,54,58,72,70,74,90,86,90,108,102,106,126,118,122,144,134,138,162,150,154,180,166... |
.model tiny
.data
A db 1,-2,-3,-4,-5,-6,7,-8,9,-10
.code
N: push cs
pop ds
xor ax,ax
xor bx,bx
mov cx,10
M: cmp A[bx],10
jl K
inc ax
K: inc bx
loop M
mov ax,4c00h
int 21h
end N |
; A074557: 3^n + 6^n + 9^n.
; Submitted by Jamie Morken(s1)
; 3,18,126,972,7938,67068,578826,5065092,44732898,397517868,3547309626,31744033812,284606850258,2554928116668,22955161402026,206361331428132,1855841341806018,16694108488251468,150196195641088026,1351461078575264052,12161321620983776178,109440926092613090268,98... |
; A020048: a(n) = floor(Gamma(n+5/12)/Gamma(5/12)).
; Submitted by Jon Maiga
; 1,0,0,1,4,21,116,748,5549,46704,439802,4581280,52302949,649428293,8713162939,125614765716,1936560971459,31791875948134,553708506096681,10197464987280554,198000778503030764,4042515894436878101,86577215405856472680,1940772578681282595913,45446... |
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 10.0.16299-sp0-windows-10-rs3-1709 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtAccessCheck( ULONG arg_01 , ULONG arg_02 , ULONG arg_03... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_dequate
EXTERN am48_dequate
defc asm_dequate = am48_dequate
|
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Stakinglab Coin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/l... |
; A211850: Number of nonnegative integer arrays of length 2n+5 with new values 0 upwards introduced in order, no three adjacent elements all unequal, and containing the value n+1.
; 63,147,286,494,785,1173,1672,2296,3059,3975,5058,6322,7781,9449,11340,13468,15847,18491,21414,24630,28153,31997,36176,40704,45595,50863,56... |
// Original test: ./mshi/hw4/problem6/bnez_1.asm
// Author: mshi
// Test source code follows
lbi r1, 1
bnez r1, .Label2
.Label1:
lbi r2,0
.Label2:
lbi r2,1
halt
|
; A105062: Triangle read by rows, based on the morphism f: 1->2, 2->3, 3->4, 4->5, 5->6, 6->{6,6,10,7}, 7->8, 8->9, 9->10, 10->11, 11->12, 12->{12,12,5,1}. First row is 1. If current row is a,b,c,..., then the next row is a,b,c,...,f(a),f(b),f(c),...
; 1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,1,2,2... |
;
; Old School Computer Architecture - SD Card driver
; Taken from the OSCA Bootcode by Phil Ruston 2011
; Port by Stefano Bodrato, 2012
;
; int sd_read_sector(struct SD_INFO descriptor, long sector, unsigned char *address);
;
; sd_card_info and card_select must be accessible,
; a good place to put them is in the vars... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="fd, addr, addr_len"/>
<%docstring>
Invokes the syscall accept. See 'man 2 accept' for more information.
Arguments:
fd(int): fd
addr(SOCKADDR_ARG): addr
addr_len(socklen_t): addr_len
</%docstring>
${syscall('SYS_accept', fd, addr... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rax
push %rdi
push %rdx
lea addresses_WT_ht+0x1ba7e, %r12
nop
nop
nop
nop
xor $3427, %rdx
mov (%r12), %r13w
nop
nop
nop
and $17973, %rdi
lea addresses_UC_ht+0x1467e, %rdx
nop
nop
nop
nop
sub $13944, %rax
mov $0x6162636465666768, %rdi
movq ... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF|FLAG_SF|FLAG_ZF|FLAG_AF|FLAG_PF|FLAG_CF
;TEST_FILE_META_END
; allocate 16 byte aligned stack space for the packed values
lea ecx, [esp-17]
and ecx, 0xfffffff0
; load 128 bit value into xmm0
mov DWORD [ecx], 0x00d05602
mov DWORD [ecx+4], 0x0... |
; megamini-defs.asm
*pragmapush list ; Save state of list pragma
pragma nolist ; Turn off assembly listing and exclude from symbol list
ifndef MEGA_DEFS ; Load defines only once
ifndef MPI_DEFS
... |
#pragma once
#include <condition_variable>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <vector>
#include "glog/logging.h"
#include "base/message.hpp"
#include "comm/abstract_sender.hpp"
#include "io/abstract_browser.hpp"
#include "io/meta.hpp"
namespace xyz {
class Assigner {
public... |
// Copyright 2014 the V8 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.
#include "src/libplatform/default-platform.h"
#include "testing/gmock/include/gmock/gmock.h"
using testing::InSequence;
using testing::StrictMock;
nam... |
#include "Common.hpp"
#include "MT.hpp"
using namespace reprize;
using namespace utl;
Util::Util(void)
: pvt(NULL), node(NULL)
{
pvt = new utl_pvt;
node = new res::Node("Util");
}
Util::~Util(void)
{
DEL(pvt);
DEL(node);
}
res::Node* Util::get_node(void)
{
return node;
}
const bool Util::i... |
; load DH sectors to ES:BX from drive DL
disk_load:
push dx ; Store DX on stack so later we can recall
; how many sectors were request to be read,
; even if it is altered in the meantime
mov ah, 0x02 ; BIOS read sector function
mov al, dh ; Read DH sectors
mov ch, 0x00 ... |
; CRT0 stub for the SEGA SC-3000
;
; Stefano Bodrato - Jun 2010
;
; $Id: sc3000_crt0.asm,v 1.4 2010/07/13 06:16:53 stefano Exp $
;
; Constants for ROM mode (-startup=2)
DEFC ROM_Start = $0000
DEFC INT_Start = $0038
DEFC NMI_Start = $0066
DEFC CODE_Start = $0100
DEFC RAM_Start = $C000
DEFC RAM_... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1bc22, %r8
nop
cmp %r13, %r13
mov $0x6162636465666768, %rsi
movq %rsi, (%r8)
nop
nop
xor %r13, %r13
lea addresses_WC_ht+0x193fa, %rcx
clflush (%rcx)
nop
nop
nop
lfence
vmovups... |
HELLO CSECT
USING *,15
STM 14,12,12(13)
LR 12,15
USING HELLO,12
WTO 'HI'
XR 15,15
RETURN (14,12)
END
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x5154, %rbx
nop
dec %rbp
movups (%rbx), %xmm7
vpextrq $0, %xmm7, %rdi
nop
dec %rdi
lea addresses_UC_ht+0x798c, %rsi
lea addresses_D_ht+0x17f8c, %rdi
nop
nop
nop
nop
dec %rbx
mov $11, %r... |
; A032519: Sum of the integer part of 11/3-th roots of integers less than n.
; 0,1,2,3,4,5,6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,103,106,109,112,115,118,121,124,127,130,133
lpb $0
add $1,$0
add $2,5
mu... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "index_disk_dir_state.h"
#include <cassert>
namespace searchcorespi::index {
void
IndexDiskDirState::deactivate() noexcept
{
assert(_active_count > 0u);
--_active_count;
}
}
|
; A301709: Partial sums of A301708.
; 1,7,18,34,56,84,117,155,199,249,304,364,430,502,579,661,749,843,942,1046,1156,1272,1393,1519,1651,1789,1932,2080,2234,2394,2559,2729,2905,3087,3274,3466,3664,3868,4077,4291,4511,4737,4968,5204,5446,5694,5947,6205,6469,6739,7014,7294,7580,7872,8169,8471
add $0,1
mov $1,$0
sub $0,1
... |
a db 'don''t'
b db """"
|
; A032801: Number of unordered sets a, b, c, d of distinct integers from 1..n such that a+b+c+d = 0 (mod n).
; 0,0,0,0,1,3,5,9,14,22,30,42,55,73,91,115,140,172,204,244,285,335,385,445,506,578,650,734,819,917,1015,1127,1240,1368,1496,1640,1785,1947,2109,2289,2470,2670,2870,3090,3311,3553,3795,4059,4324,4612,4900,5212,55... |
; A169505: Number of reduced words of length n in Coxeter group on 12 generators S_i with relations (S_i)^2 = (S_i S_j)^34 = I.
; 1,12,132,1452,15972,175692,1932612,21258732,233846052,2572306572,28295372292,311249095212,3423740047332,37661140520652,414272545727172,4556998002998892,50126978032987812,551396758362865932
... |
; ATARI: make bootable Atari diskette
; ex boot_make, list of files, 'flp1_*d2d'
; The bootloader starts with the first file, the trailer is removed and
; subsequent files are concantenated (after calculation of length and checksum)
; before the host module trailer is replaced at the end
section base
xdef boot_b... |
; $Id: bs3-cmn-SwitchToRingX.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; BS3Kit - Bs3SwitchToRingX
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute i... |
//===-- tollvm.cpp --------------------------------------------------------===//
//
// LDC – the LLVM D compiler
//
// This file is distributed under the BSD-style LDC license. See the LICENSE
// file for details.
//
//===----------------------------------------------------------------------===/... |
#include "recursive4.asm"
; error: recursive3.asm:1: recursive |
/**********************************************************************
Audacium: A Digital Audio Editor
LabelDefaultClickHandle.cpp
Paul Licameli split from TrackPanel.cpp
**********************************************************************/
#include "LabelDefaultClickHandle.h"
#include "LabelTrackView.h"
#in... |
TITLE FIXUPP2 - Copyright (c) SLR Systems 1994
INCLUDE MACROS
INCLUDE SYMBOLS
INCLUDE SEGMENTS
INCLUDE GROUPS
INCLUDE SECTS
INCLUDE SEGMSYMS
INCLUDE SECTIONS
INCLUDE EXES
INCLUDE FIXTEMPS
if fg_segm
INCLUDE RELOCSS
endif
if fg_pe
INCLUDE PE_STRUC
endif
INCLUDE RELEASE
PUBLIC FIXUPP2,REL_CH... |
; A071178: Exponent of the largest prime factor of n.
; Submitted by Jon Maiga
; 0,1,1,2,1,1,1,3,2,1,1,1,1,1,1,4,1,2,1,1,1,1,1,1,2,1,3,1,1,1,1,5,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,3,1,1,1,1,1,1,1,1,1,6,1,1,1,1,1,1,1,2,1,1,2,1,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2
add $0,1
pow $0,6
lpb $0
mov $3,$0
... |
; A010546: Decimal expansion of square root of 95.
; 9,7,4,6,7,9,4,3,4,4,8,0,8,9,6,3,9,0,6,8,3,8,4,1,3,1,9,9,8,9,9,6,0,0,2,9,9,2,5,2,5,8,3,9,0,0,3,3,7,4,9,1,0,3,1,9,9,1,7,5,0,0,0,5,7,2,0,0,8,1,7,7,2,4,6,0,2,4,9,3,5,6,8,4,8,7,1,2,0,9,6,0,3,8,0,6,5,5,2,7
mov $1,1
mov $2,1
mov $3,$0
add $3,8
mov $4,$0
add $4,3
mul $4,2
m... |
; Addition and Subtraction (AddSubTest.asm)
; Chapter 4 example. Demonstration of ADD, SUB,
; INC, DEC, and NEG instructions, and how
; they affect the CPU status flags.
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data
Rval SDWORD ?
Xval SDWORD 26
Yval SDWORD 30
... |
;;
;
; Name: single_find_tcp_shell
; Version: $Revision: 1633 $
; License:
;
; This file is part of the Metasploit Exploit Framework
; and is subject to the same licenses and copyrights as
; the rest of this package.
;
; Description:
;
; Single findsock TCP shell.
;
; Meta-I... |
; A182777: Beatty sequence for 3-sqrt(3).
; 1,2,3,5,6,7,8,10,11,12,13,15,16,17,19,20,21,22,24,25,26,27,29,30,31,32,34,35,36,38,39,40,41,43,44,45,46,48,49,50,51,53,54,55,57,58,59,60,62,63,64,65,67,68,69,71,72,73,74,76,77,78,79,81,82,83,84,86,87,88,90,91,92,93,95,96,97,98,100,101,102,103,105,106,107,109,110,111,112,114,1... |
; Copyright (c) 2022 Sam Blenny
; SPDX-License-Identifier: MIT
;
; MarkabForth data stack words (meant to be included in ../libmarkab.nasm)
; This include path is relative to the working directory that will be in effect
; when running the Makefile in the parent directory of this file. So the
; include path is relative... |
#ifndef CAFFE_DIVERGENCE_LOSS_LAYER_HPP_
#define CAFFE_DIVERGENCE_LOSS_LAYER_HPP_
#include <utility>
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/layers/loss_layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
/**
* @brief Takes a Blob and crop it, to the shape ... |
; A176099: Prime(n) + A158611(n).
; Submitted by Simon Strandgaard
; 2,4,7,10,16,20,28,32,40,48,54,66,72,80,88,96,106,114,126,132,140,150,156,168,180,190,200,208,212,220,236,244,264,270,286,290,306,314,324,336,346,354,370,374,388,392,408,422,438,452,460,468,474,490,498,514
mov $2,$0
seq $0,158611 ; 0, 1 and the primes... |
#ifndef BOOST_TEXT_GRAPHEME_VIEW_HPP
#define BOOST_TEXT_GRAPHEME_VIEW_HPP
#include <boost/text/grapheme_iterator.hpp>
#include <boost/text/transcode_algorithm.hpp>
#include <boost/text/transcode_view.hpp>
#include <boost/stl_interfaces/view_interface.hpp>
namespace boost { namespace text { inline namespace v1 {
... |
; A125176: Row sums of A125175.
; 1,3,7,14,28,56,112,224,448,896,1792,3584,7168,14336,28672,57344,114688,229376,458752,917504,1835008,3670016,7340032,14680064,29360128,58720256,117440512,234881024,469762048,939524096,1879048192,3758096384,7516192768,15032385536,30064771072,60129542144,120259084288,240518168576,48103633... |
; A194826: Units' digits of the nonzero 9-gonal (nonagonal) numbers.
; 1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0
mul $0,3
seq $0,213472 ; Period 20, repeat 1, 4,... |
;
; Old School Computer Architecture - SD Card driver
; Taken from the OSCA Bootcode by Phil Ruston 2011
;
; Ported by Stefano Bodrato, 2012
;
; Deselect the sdcard
; AF holds the result code of the previous operations and must be preserved.
;
; $Id: sd_deselect_card.asm,v 1.2 2015/01/19 01:33:07 pauloscustodio Exp $
;... |
;/*
; * FreeRTOS Kernel V10.2.1
; * Copyright (C) 2019 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 restri... |
; Set 8-bit accumulator
setaxs .macro
SEP #$30 ; set A&X short
.as
.xs
.endm
; Set 16-bit accumulator
setaxl .macro
REP #$30 ; set A&X long
.al
.xl
... |
// Copyright (c) 2011-2016 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 "paymentserver.h"
#include "bitcoinunits.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include "base58.h"
#in... |
PROCESSOR 6502
INCLUDE "vcs.h"
INCLUDE "macro.h"
SEG code
ORG $F000 ; ROM begin
START:
CLEAN_START ; macro -> clear mem
;;;;;;; BG color luminosity to yellow ;;;;;;;
lda #$1E ; set A = NTSC yellow code
sta COLUBK ; set BG color to yellow
jmp START ... |
; A140081: Period 4: repeat [0, 1, 1, 2].
; 0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1,2,0,1,1
mod $0,4
mov $1,1
add $1,$0
div $1,2
mov $0,$1
|
sec
lda {m2}
eor #$ff
adc #$0
sta {m1}
lda {m2}+1
eor #$ff
adc #$0
sta {m1}+1
lda {m2}+2
eor #$ff
adc #$0
sta {m1}+2
lda {m2}+3
eor #$ff
adc #$0
sta {m1}+3
|
/*
Copyright 2013-present Barefoot Networks, 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 w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.