text stringlengths 1 1.05M |
|---|
initcode.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <start>:
#include "traps.h"
# exec(init, argv)
.global start
start:
mov $init, %rdi
0: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
mov $argv, %rsi
7: 48 c7 c6 00 00 00 00 mov $0x0,%rsi
mov $SYS_exec, %rax
e: 48 c7... |
; A017561: (12n+3)^5.
; 243,759375,14348907,90224199,345025251,992436543,2373046875,4984209207,9509900499,16850581551,28153056843,44840334375,68641485507,101621504799,146211169851,205236901143,281950621875
mul $0,12
add $0,3
pow $0,5
|
MVI A,00H
MVI B, 02H
MVI C, 03H
L : ADD B
DCR C
JNZ L
STA 5000
HLT
|
SECTION code_fp_math48
PUBLIC mm48_sqr
EXTERN am48_derror_edom_zc
EXTERN mm48_equal, mm48_fpdiv, mm48_fpadd, mm48_fpsub, mm48__add10
mm48_sqr:
; square root
; AC' = SQR(AC')
;
; enter : AC'(BCDEHL') = float x
;
; exit : success
;
; AC' = SQR(x)
; carry reset
;
... |
#include "ofMain.h"
#include "ofApp.h"
#include "ofAppGlutWindow.h"
int main() {
ofAppGlutWindow window;
ofSetupOpenGL(&window, 1920, 1080, OF_WINDOW);
ofRunApp(new ofApp());
}
|
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkSVGDevice.h"
#include "SkAnnotationKeys.h"
#include "SkBase64.h"
#include "SkBitmap.h"
#include "SkBlendMode.h"
#include "SkChecksum.h"
#include "SkClipOpPriv.h"
... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
format PE64 console
entry start
include 'win64a.inc'
section '.idata' import data readable writeable
library kernel32, 'kernel32.dll', \
msvcrt, 'MSVCRT.DLL'
import kernel32, \
ExitProcess, 'ExitProcess'
import msvcrt, \
printf, 'printf', \
scanf, 'scanf'
s... |
#include "dot.h"
#include "util/macros.h"
#include "util/tensor.hpp"
#include "internal/1t/dot.hpp"
namespace tblis
{
extern "C"
{
void tblis_tensor_dot(const tblis_comm* comm, const tblis_config* cfg,
const tblis_tensor* A, const label_type* idx_A_,
const tblis_tensor* B... |
// Copyright (c) 2012-2015 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 "util.h"
#include "test/test_gull.h"
#include <string>
#include <vector>
#include <boost/algorithm/string.hpp>
#in... |
; A189680: a(n) = n + [nr/t] + [ns/t]; r=Pi/2, s=arcsin(3/5), t=arcsin(4/5).
; 2,6,10,12,16,20,22,26,30,32,36,40,44,46,50,54,56,60,64,66,70,74,76,80,84,88,90,94,98,100,104,108,110,114,118,120,124,128,132,134,138,142,144,148,152,154,158,162,166,168,172,176,178,182,186,188,192,196,198,202,206,210,212,216,220,222,226,230,... |
; A322406: a(n) = n + n*n^n.
; 2,10,84,1028,15630,279942,5764808,134217736,3486784410,100000000010,3138428376732,106993205379084,3937376385699302,155568095557812238,6568408355712890640,295147905179352825872,14063084452067724991026,708235345355337676357650,37589973457545958193355620,2097152000000000000000000020,12269432... |
; A006001: Number of paraffins.
; 1,4,10,22,43,76,124,190,277,388,526,694,895,1132,1408,1726,2089,2500,2962,3478,4051,4684,5380,6142,6973,7876,8854,9910,11047,12268,13576,14974,16465,18052,19738,21526
mov $1,$0
add $0,1
bin $0,3
add $1,$0
mul $1,3
add $1,1
|
; A134362: a(n) is the number of functions f:X->X, where |X| = n, such that for every x in X, f(f(x)) != x (i.e., the square of the function has no fixed points; note this implies that the function has no fixed points).
; Submitted by Jon Maiga
; 1,0,0,2,30,444,7360,138690,2954364,70469000,1864204416,54224221050,172108... |
.size 8000
.text@48
inc a
ldff(45), a
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 03
call lwaitly_b
ld c, 41
lbegin_waitm0:
ldff a, (c)
and a, b
jrnz lbegin_waitm0
ld a, 80
ldf... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x103a1, %rsi
lea addresses_D_ht+0x7421, %rdi
nop
nop
nop
nop
nop
inc %r12
mov $39, %rcx
rep movsl
nop
nop
xor $56294, %r9
lea addresses_WT_ht+0x6fa1, %r10
nop
nop
nop
nop
cmp %r9, %r9
mov... |
db 0 ; species ID placeholder
db 55, 95, 55, 115, 35, 75
; hp atk def spd sat sdf
db DARK, ICE ; type
db 60 ; catch rate
db 132 ; base exp
db NO_ITEM, QUICK_CLAW ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sneasel/fr... |
; ===============================================================
; Jun 2007
; ===============================================================
;
; void *zx_saddrcright(void *saddr)
;
; Modify screen address to move right one character (eight pixels)
; If at rightmost edge move to leftmost column on next pixel row.
;
;... |
; A006416: Number of loopless rooted planar maps with 3 faces and n vertices and no isthmuses. Also a(n)=T(4,n-3), array T as in A049600.
; 1,8,20,38,63,96,138,190,253,328,416,518,635,768,918,1086,1273,1480,1708,1958,2231,2528,2850,3198,3573,3976,4408,4870,5363,5888,6446,7038,7665,8328,9028,9766,10543,11360,12218,13118... |
// Copyright 2015, The max Contributors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
namespace max
{
namespace v0
{
namespace Algorithms
{
// Documentation: IsBetween.md
template< typename T >
MAX_PURE_DEFINITION( constexpr inline boo... |
#include "runtime_internal.h"
#include "device_buffer_utils.h"
#include "device_interface.h"
#include "HalideRuntimeHexagonHost.h"
#include "printer.h"
#include "scoped_mutex_lock.h"
namespace Halide { namespace Runtime { namespace Internal { namespace Hexagon {
struct ion_device_handle {
void *buffer;
size_t... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosTimerStop DOS wrapper
;
; (c) osFree Project 2022, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokushe... |
;
; TBBlue / ZX Spectrum Next project
; Copyright (c) 2010-2018
;
; RTC DATE - Victor Trucco and Tim Gilberts
;
; All rights reserved
;
; Redistribution and use in source and synthezised forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; Redistributions of source co... |
;******************************************************************************
;* add_bitmaps.asm: SSE2 and x86 add_bitmaps
;******************************************************************************
;* Copyright (C) 2013 Rodger Combs <rcombs@rcombs.me>
;*
;* This file is part of libass.
;*
;* Permission to use, c... |
; A214890: Primes congruent to {2, 3} mod 17.
; Submitted by Jamie Morken(w1)
; 2,3,19,37,53,71,139,173,223,241,257,359,461,479,547,563,631,683,733,751,853,887,937,971,1039,1091,1193,1277,1447,1481,1499,1549,1567,1583,1601,1669,1753,1787,1873,1889,1907,2111,2161,2179,2213,2281,2297,2383,2399,2417,2467,2621,2671,2689,27... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x615b, %rdi
nop
dec %rdx
mov $0x6162636465666768, %rsi
movq %rsi, (%rdi)
nop
nop
nop
nop
nop
xor %r9, %r9
lea addresses_WT_ht+0xc8fb, %rsi
lea addresses_WT_ht+0x197e7, %rdi
clf... |
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 3.10.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
Copyright (c) 2013-2019 Niels L... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xeee, %rsi
lea addresses_WT_ht+0x108ee, %rdi
nop
nop
nop
nop
nop
xor $4434, %rbp
mov $121, %rcx
rep movsl
nop
inc %rcx
lea addresses_WC_ht+0x12b76, %rdx
and %rcx, %rcx
mov (%rdx), %r11w
nop
nop
... |
RECDATA64 STRUCT
OPERAND DQ(2) dup(?)
RESULT DQ(4) dup(?)
FLAG DQ(2) dup(?)
RECDATA64 ENDS
__ENTER MACRO
push rbp
mov rbp,rsp
push rax
push rcx
push rdx
push... |
// xrRender_R2.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "../xrRender/dxRenderFactory.h"
#include "../xrRender/dxUIRender.h"
#include "../xrRender/dxDebugRender.h"
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
... |
; A234272: G.f.: (1+4*x+x^2)/(1-4*x+x^2).
; 1,8,32,120,448,1672,6240,23288,86912,324360,1210528,4517752,16860480,62924168,234836192,876420600,3270846208,12206964232,45557010720,170021078648,634527303872,2368088136840,8837825243488,32983212837112,123095026104960,459396891582728,1714492540225952,6398573269321080
mov $1,... |
; A133931: Expansion of x*(2-4*x^2-x^3)/((1-x)^2*(1-x-x^2)).
; 2,6,10,15,21,29,40,56,80,117,175,267,414,650,1030,1643,2633,4233,6820,11004,17772,28721,46435,75095,121466,196494,317890,514311,832125,1346357,2178400,3524672,5702984,9227565,14930455,24157923,39088278
mov $2,$0
add $0,1
add $2,1
seq $2,129728 ; a(n) = 2*(... |
; A125200: n*(4*n^2 + n -1)/2.
; 2,17,57,134,260,447,707,1052,1494,2045,2717,3522,4472,5579,6855,8312,9962,11817,13889,16190,18732,21527,24587,27924,31550,35477,39717,44282,49184,54435,60047,66032,72402,79169,86345,93942,101972,110447,119379,128780,138662,149037,159917,171314,183240,195707,208727,222312,236474,251225,2... |
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by Alexander R. Pruss
; by Stefano Bodrato - Oct. 2003
;
; Alternate sprite library
;
; void ozputsprite (byte x,byte y,byte height,byte *sprite)
;
; except for C wrappers, code (c) 2001 Benjamin Green
;
;
;
; ------
; $Id: ozputsprite.asm,v 1.1 2003/10/29... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sendcoinsdialog.h"
#in... |
; 6.1.2170 S>D
; Convert single cell value to double cell value
; D: a -- aa
$CODE 'S>D',$S_TO_D
POPDS EAX
CDQ
PUSHDS EAX
PUSHDS EDX
$NEXT
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Problem 2:
;; Store 10 numbers at data space 0x0100. Then retrieve the numbers using the
;; register z and outputs 10 numbers from the memory to Port B. (Points 15)
.include "m328Pdef.inc"
init:
;; set up aliases
.def te... |
; 8051 family
; EdSim51
; stack pointer points to data memory (DM) where it places a 16bit program-memory (PM) address
; of the operation right after ACALL, LCALL execution.
; After the RET call the programm counter jumps to the address DM(SP-2)
ORG 0000h
JMP start ; jumps to 0x50 in code memory
; main loop
ORG 005... |
.486
.model tiny
.code
main:
mov eax, 0h ; Zera o Registrador
mov ebx, 0h ; Zera o Registrador
mov edx, 0h ; Zera o Registrador
mov ax, 011h ; 17
mov bx, 02h ; 2
div bx ; 17/2
; EAX = 00000008 -> Quociente
; EBX = 00000002 -> Divisor
; EDX = 00000001 -> Resto
end main
|
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2014 Mika Heiskanen <mika.heiskanen@fmi.fi>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public... |
SECTION code_fp_am9511
PUBLIC cam32_sdcc___fsgt_callee
EXTERN asm_sdcc_readr_callee
EXTERN asm_am9511_compare_callee
; Entry: stack: float right, float left, ret
.cam32_sdcc___fsgt_callee
call asm_sdcc_readr_callee ;Exit dehl = right
call asm_am9511_compare_callee
jr Z,gt1
ccf
ret C
.gt1
... |
/**
* Copyright (c) 2016-present, Facebook, 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 ... |
// C:\diabpsx\PSXSRC\CTRL.CPP
#include "types.h"
// address: 0x800936E4
// line start: 690
// line end: 768
void DrawCtrlSetup__Fv() {
// register: 16
register int i;
// register: 20
register int pnum;
{
{
// register: 17
register int lena;
// register: 2
register int len;
{
{
// regi... |
;/******************************************************************************
; * Copyright (c) 2018 Texas Instruments Incorporated - http://www.ti.com
; *
; * Redistribution and use in source and binary forms, with or without
; * modification, are permitted provided that the following conditions
; * are met:
; *... |
; A219843: Rows of A219463 seen as numbers in binary representation.
; 0,0,2,0,14,12,42,0,254,252,762,240,3822,3276,10922,0,65534,65532,196602,65520,983022,851916,2817962,65280,16711422,16579836,50002682,15790320,250539758,214748364,715827882,0,4294967294,4294967292,12884901882,4294967280,64424509422,55834574796,184683... |
/*
* 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
... |
_echo: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
1000: 55 push %ebp
1001: 89 e5 mov %esp,%ebp
1003: 57 push %edi
1004: 56 ... |
; size_t w_vector_insert_n(w_vector_t *v, size_t idx, size_t n, void *item)
SECTION code_adt_w_vector
PUBLIC _w_vector_insert_n
EXTERN l0_w_vector_insert_n_callee
_w_vector_insert_n:
exx
pop bc
exx
pop hl
pop bc
pop de
pop af
push af
push de
push bc
push hl
jp l0_w_vector_... |
addu $5,$3,$3
lw $4,4($0)
sh $4,6($0)
sltiu $4,$3,-28666
nor $1,$0,$3
nor $0,$6,$3
lw $5,12($0)
nor $6,$4,$3
subu $3,$4,$3
ori $3,$0,52320
sllv $1,$1,$3
addiu $4,$6,21030
srav $4,$4,$3
nor $6,$4,$3
sll $3,$4,4
subu $4,$2,$3
lbu $3,11($0)
srav $3,$3,$3
addu $0,$4,$3
slti $6,$6,21284
sll $6,$6,11
lb $0,8($0)
slt $6,$1,$3... |
; Patch out copy protection
org $008000
db $FF
; Set SRAM size
if !FEATURE_SD2SNES
org $00FFD8
db $08 ; 256kb
else
org $00FFD8
db $05 ; 64kb
endif
; Skip intro
; $82:EEDF A9 95 A3 LDA #$A395
org $82EEDF
LDA #$C100
; Skips the waiting time after teleporting
org $90E870
JMP $E898... |
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_AVX512_VNNI_VL proto VECCALL (byte)
align 16
uXm_has_AVX512_VNNI_VL proc VECCALL (byte)
m... |
; A186493: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=5i and g(j)=j-th pentagonal number. Complement of A186494.
; 2,4,6,7,9,10,11,13,14,15,17,18,19,20,22,23,24,25,27,28,29,30,31,33,34,35,36,37,38,40,41,42,43,44,45,47,48,49,50,51,52,53,55,56,57,58,59,60,61,63,64,... |
; A010170: Continued fraction for sqrt(99).
; 9,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,... |
; QL Arithmetic Polynomial Evaluation V2.00 1990 Tony Tebby QJUMP
section qa
xdef qa_poly
xdef qa_polyo
xdef qa_poly1
xdef qa_polye
xref qa_dup
xref qa_square
xref qa_mul
xref qa_muld
xref qa_add
... |
; A017488: a(n) = (11*n + 8)^4.
; 4096,130321,810000,2825761,7311616,15752961,29986576,52200625,84934656,131079601,193877776,276922881,384160000,519885601,688747536,895745041,1146228736,1445900625,1800814096,2217373921,2702336256,3262808641,3906250000,4640470641,5473632256,6414247921,7471182096,8653650625,9971220736,11... |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1987 - 1991
; * All Rights Reserved.
; */
PAGE ,132
TITLE MS DOS 5.0 - NLS Support - KEYB Command
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; MS DOS 5.0 - NLS Support - KEYB Com... |
; A075731: Fibonacci numbers F(k) for k squarefree (A005117).
; Submitted by Christian Krause
; 1,1,2,5,8,13,55,89,233,377,610,1597,4181,10946,17711,28657,121393,514229,832040,1346269,3524578,5702887,9227465,24157817,39088169,63245986,165580141,267914296,433494437,1836311903,2971215073
seq $0,5117 ; Squarefree numbers... |
#include "Sketch.h"
#include <iostream>
#include <sys/time.h>
#include <zlib.h>
#include "kseq.h"
#include <vector>
#include <math.h>
#include <random>
using namespace std;
KSEQ_INIT(gzFile, gzread)
double get_sec(){
struct timeval tv;
gettimeofday(&tv, NULL);
return (double)tv.tv_sec + (double)tv.tv_usec / 10000... |
TEST0=#1111
TEST1 = $1111
TEST2= $11111111
TEST3 =$11111111
LD I ,TEST0
LD I, TEST1
LD I, TEST2
LD I,TEST3
ADD 3* 6 + 4, 5
ADD V1,TEST1 | TEST2 + TEST0
ADD V1,TEST1|TEST2+TEST0
QQ : ADD V1 , TEST1 |TEST2 +TEST0
JJ :
KK :
|
;
; Spectrum C Library
;
; ANSI Video handling for ZX Spectrum
;
; Text Attributes
; m - Set Graphic Rendition
;
; The most difficult thing to port:
; Be careful here...
;
; Stefano Bodrato - Apr. 2000
;
;
; $Id: f_ansi_attr.asm,v 1.6 2016-04-04 18:31:23 dom Exp $
;
SECTION code_clib
PUBLIC ansi_attr
EXTER... |
; int mtx_timedlock_callee(mtx_t *m, struct timespec *ts)
SECTION code_threads_mutex
PUBLIC _mtx_timedlock_callee
EXTERN asm_mtx_timedlock
_mtx_timedlock_callee:
pop af
pop hl
pop bc
push af
jp asm_mtx_timedlock
|
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <grep>:
char buf[1024];
int match(char*, char*);
void
grep(char *pattern, int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n, m;
char *p, *q;
... |
//========================================================================
//
// TextOutputDev.cc
//
// Copyright 1997-2003 Glyph & Cog, LLC
//
//========================================================================
//========================================================================
//
// Modified under the ... |
; A032927: Numbers whose set of base 6 digits is {1,2}.
; 1,2,7,8,13,14,43,44,49,50,79,80,85,86,259,260,265,266,295,296,301,302,475,476,481,482,511,512,517,518,1555,1556,1561,1562,1591,1592,1597,1598,1771,1772,1777,1778,1807,1808,1813,1814,2851,2852,2857,2858,2887,2888,2893,2894,3067,3068,3073,3074,3103,3104,3109,3110,... |
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 30th August 2003
;
; $Id: pi.asm,v 1.1 2003/08/30 18:24:04 dom Exp $
;double pi(void) - returns the value of pi
INCLUDE "#fpp.def"
XLIB pi
LIB stkequ2
.pi
fpp(FP_PI)
j... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: MOUSE DRIVER -- Alps Digitizer
FILE: alpspen.asm
AUTHOR: Jim Guggemos, Dec 6, 1994
ROUTINES:
Name Description
---- -----------
REVIS... |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... |
; #########################################################################
.386
.model flat, stdcall
option casemap :none ; case sensitive
; #########################################################################
include \masm32\include\windows.inc
include \masm32\include\user32.i... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1acc8, %rbx
nop
and $6821, %rbp
mov $0x6162636465666768, %rax
movq %rax, %xmm2
movups %xmm2, (%rbx)
nop
nop
nop
nop
nop
cmp $28351, %rcx
lea addresses_UC_ht+0xd704, %rsi
lea ... |
// Copyright 2017 The Goma 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 "cpp_tokenizer.h"
#ifndef NO_SSE2
#include <emmintrin.h>
#endif // NO_SSE2
#ifdef _WIN32
#include <intrin.h>
#endif
#include "absl/base/macros.h"... |
; A232165: Cardinality of the Weyl alternation set corresponding to the zero-weight in the adjoint representation of the Lie algebra sp(2n).
; Submitted by Christian Krause
; 0,1,2,3,8,18,37,82,181,392,856,1873,4086,8919,19480,42530,92853,202742,442665,966496,2110240,4607473,10059866,21964555,47957080,104708706,2286193... |
class Solution {
public:
string replaceDigits(string s) {
for(int i=1;i<s.length() ; i+=2)
s[i] = s[i-1]+(s[i]-'0');
return s;
}
}; |
; A153152: Rotated binary incrementing: For n<2 a(n)=n, if n=(2^k)-1, a(n)=(n+1)/2, otherwise a(n)=n+1.
; 0,1,3,2,5,6,7,4,9,10,11,12,13,14,15,8,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,16,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,32,65,66,67,68,69,70,71,72,73,74,75... |
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Oct 06 06:37:15 2018 *
;****************************************************************************... |
;-----------------------------------------------------------------------------;
; Author: HD Moore
; Compatible: Confirmed Windows 7, Windows 2008 Server, Windows XP SP1, Windows SP3, Windows 2000
; Known Bugs: Incompatible with Windows NT 4.0, buggy on Windows XP Embedded (SP1)
; Version: 1.0
;-------------------... |
//=================================================================================================
/*!
// \file src/mathtest/dmatdmatsub/M6x6aMHa.cpp
// \brief Source file for the M6x6aMHa dense matrix/dense matrix subtraction math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This... |
/************************************************************************/
/* */
/* Copyright 2004-2005 by Ullrich Koethe */
/* */
/* This file is p... |
#pragma once
#include "search/hotels_classifier.hpp"
#include "search/search_params.hpp"
#include "std/function.hpp"
namespace search
{
class Results;
// An on-results-callback that should be used for interactive search.
//
// *NOTE* the class is NOT thread safe.
class ViewportSearchCallback
{
public:
class Deleg... |
; A185593: a(n) = floor(n^(3/2))*floor(3+n^(3/2))/2.
; 2,5,20,44,77,119,189,275,405,527,702,902,1127,1430,1769,2144,2555,3002,3485,4094,4752,5459,6215,7020,8000,8910,10010,11174,12402,13694,15050,16652,18144,19899,21735,23652,25650,27729,29889,32130,34715,37400,39902,42777,45752,48827,52325,55610,59339,62834,66794,7049... |
; ===============================================================
; Jan 2014
; ===============================================================
;
; int putc(int c, FILE *stream)
;
; Write char on stream.
;
; ===============================================================
INCLUDE "config_private.inc"
SECTION code_cli... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2015. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
;---------------------------------------------------
album_songs
dc.w song_metamerism
album_numsongs dc.b $01
album_patternmap
dc.w pat_nil
dc.w pat_pl
dc.w pat_pr0
dc.w pat_prz
dc.w pat_pr
dc.w pat_pr2
dc.w pat_px
dc.w pat_claptest_beng_fi
dc.w pat_claptest
dc.w pat_claptest_hh
dc.w pat_claptest_beng
d... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet.h"
#include "base58.h"
#include "coincontrol.h"
#include "kernel... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x173cb, %r12
clflush (%r12)
nop
nop
nop
nop
xor %rsi, %rsi
movl $0x61626364, (%r12)
nop
nop
nop
dec %rcx
lea addresses_normal_ht+0x19589, %rsi
lea addresses_WT_ht+0x13c4b, %rd... |
;*****************************************************************************
;* MMX optimized DSP utils
;*****************************************************************************
;* Copyright (c) 2000, 2001 Fabrice Bellard
;* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
;*
;* This file is part o... |
; A159699: Replace 2^k in binary expansion of n with A045623(k+1).
; 0,2,5,7,12,14,17,19,28,30,33,35,40,42,45,47,64,66,69,71,76,78,81,83,92,94,97,99,104,106,109,111,144,146,149,151,156,158,161,163,172,174,177,179,184,186,189,191,208,210,213,215,220,222,225,227,236,238,241,243
mov $4,$0
mov $6,$0
lpb $4,1
mov $0,$6
... |
//-----------------------------------------------------------------------------
//
// RFS
// Low Level Example 3
// Dvorka
// 1998
//
//--------------------------------------------------------... |
;------------------------------------------------------------------------------ ;
; Copyright (c) 2017, 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.... |
SFX_Teleport_Exit2_1_Ch4:
duty 1
pitchenvelope 1, 6
squarenote 15, 13, 2, 1280
pitchenvelope 0, 0
endchannel
|
[section .text]
global memcpy
global memset
global strcpy
global strlen
memcpy:
push ebp
mov ebp ,esp
push esi
push edi
push ecx
mov edi ,[ebp+8]
mov esi ,[ebp+12]
mov ecx ,[ebp+16]
.1:
cmp ecx ,0
jz .2
mov al ,[ds:esi]
inc esi
mov BYTE[es:edi] ,al
inc edi
dec ecx
jmp .1
.2:
... |
; A168855: Number of reduced words of length n in Coxeter group on 34 generators S_i with relations (S_i)^2 = (S_i S_j)^20 = I.
; 1,34,1122,37026,1221858,40321314,1330603362,43909910946,1449027061218,47817893020194,1577990469666402,52073685498991266,1718431621466711778,56708243508401488674,1871372035777249126242,617552... |
#include <iostream>
using namespace std;
/*em c++, para usarmos a passagem de parâmetros
por referência na declaração do método, no parâmetro
passado por referência colocamos o & após o tipo da variável.*/
int metodo(int&x, int y){
int z;
printf(" %i, %i ?\n",x, y);
}
int main(int argc, char **argv){
int a, b, c... |
L0100: JMP L08D0
MOV AH,09H
MOV DX,010CH
INT 21H
L010A: INT 20H
L010C: DB 'Murphy virus V1.00 (V1277)$'
DB 1961 DUP (1)
L08D0: JMP L0C51
NOP ; \
NOP ; \
NOP ; \
L08D6: MOV AH,09H ; \
MOV DX,010CH ; > ORIGINAL 24 BYTES
INT 21H ; /
L08DD: INT 20H ; /
; /
L08DF: DB 'Mu... |
; A003312: a(1) = 3; for n>0, a(n+1) = a(n) + floor((a(n)-1)/2).
; 3,4,5,7,10,14,20,29,43,64,95,142,212,317,475,712,1067,1600,2399,3598,5396,8093,12139,18208,27311,40966,61448,92171,138256,207383,311074,466610,699914,1049870,1574804,2362205,3543307,5314960,7972439,11958658,17937986,26906978,40360466,60540698,90811046,1... |
###############################################################################
# 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... |
loadtiles_auto:
ldi a,(hl)
or a
jr z,loadtiles_1BPP ;00: 1BPP raw
bit 0,a
jr z,loadtiles_2BPP ;10: 2BPP raw
bit 1,a
jr z,loadtiles_1BPPc ;01: 1BPP compressed
jr loadtiles_2BPPc ;11: 2BPP compressed
;hl=data
;de=vram
;bc=taille
loadtiles_1BPP:
ldi a,... |
; A285967: Positions of 0 in A285966; complement of A285968.
; 1,3,5,6,8,9,11,13,15,16,18,20,21,23,25,26,28,29,31,33,34,36,38,39,41,43,45,46,48,49,51,53,55,56,58,60,61,63,65,66,68,70,72,73,75,76,78,80,81,83,85,86,88,89,91,93,95,96,98,100,101,103,105,106,108,109,111,113,114,116,118,119,121,123,125,126,128,129,131,133,13... |
; A000227: Nearest integer to e^n.
; Submitted by Jon Maiga
; 1,3,7,20,55,148,403,1097,2981,8103,22026,59874,162755,442413,1202604,3269017,8886111,24154953,65659969,178482301,485165195,1318815734,3584912846,9744803446,26489122130,72004899337,195729609429,532048240602,1446257064291,3931334297144,10686474581524,290488496... |
; A101677: a(n) = a(n-1) - 2*a(n-2) + 2*a(n-3) - 2*a(n-4) + 2*a(n-5) - a(n-6).
; 1,1,-1,-2,-2,-2,-1,-1,-3,-4,-4,-4,-3,-3,-5,-6,-6,-6,-5,-5,-7,-8,-8,-8,-7,-7,-9,-10,-10,-10,-9,-9,-11,-12,-12,-12,-11,-11,-13,-14,-14,-14,-13,-13,-15,-16,-16,-16,-15,-15,-17,-18,-18,-18,-17,-17,-19,-20,-20,-20,-19,-19,-21,-22,-22,-22,-21,-2... |
/*************************************************************************/
/* godot_haiku.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.