text stringlengths 1 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1596b, %rdi
nop
nop
and $31735, %r12
mov (%rdi), %ecx
nop
nop
nop
nop
sub %rbx, %rbx
lea addresses_normal_ht+0xe437, %r15
nop
nop
add $4564, %rcx
vmovups (%r15), %ymm6
ve... |
#include "stdio.h"
#include <iostream>
#include <string>
#include <stdarg.h>
#if _WIN32
#include "winsock2.h"
#include "windows.h"
#pragma comment(lib, "ws2_32.lib")
#else
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#includ... |
; A188558: Number of 7 X n binary arrays without the pattern 0 1 diagonally, vertically, antidiagonally or horizontally.
; Submitted by Jamie Morken(s1)
; 8,15,28,52,96,176,320,576,1024,1793,3084,5200,8584,13866,21920,33932,51480,76627,112028,161052,227920,317860,437280,593960,797264,1058373,1390540,1809368,2333112,298... |
; A112690: Expansion of 1/(1+x^2-x^3-x^5).
; 0,1,0,-1,1,1,-1,0,1,0,0,0,0,1,0,-1,1,1,-1,0,1,0,0,0,0,1,0,-1,1,1,-1,0,1,0,0,0,0,1,0,-1,1,1,-1,0,1,0,0,0,0,1,0,-1,1,1,-1,0,1,0,0,0,0,1,0,-1,1,1,-1,0,1,0,0,0,0,1,0,-1,1,1,-1,0,1,0,0,0,0,1,0,-1,1,1,-1,0,1,0,0,0,0,1,0,-1
add $0,2
bin $0,2
div $0,2
lpb $0,1
sub $0,3
lpe
mov $1... |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
b: ... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld b, 91
call lwaitly_b
ld a, b1
ldff(40), a
ld a, 03
ldff(4b), a
ld c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
xor a, a
ldff(0f), a
l... |
; A213569: Principal diagonal of the convolution array A213568.
; 1,7,25,71,181,435,1009,2287,5101,11243,24553,53223,114661,245731,524257,1114079,2359261,4980699,10485721,22020055,46137301,96468947,201326545,419430351,872415181,1811939275,3758096329,7784628167,16106127301,33285996483,68719476673,141733920703,2920577760... |
SECTION code_clib
SECTION code_ctype
PUBLIC asm_isblank
asm_isblank:
; determine if char is tab or space
; enter : a = char
; exit : z flag set if blank
; uses : f
cp ' '
ret z
cp 9
ret
|
;Counting vovels
section .data
newline :db 10
space :db ' '
msg1 : db "Enter a String : "
size1 : equ $-msg1
msg_ : db "No of vovels : "
size_ : equ $-msg_
;setcolor db 1Bh, '[36;40m', 0
;.len equ $ - setcolor
section .bss
string : resb 50
temp : resb 1
num : resw 1
count... |
// A simple program to bounce a ball across the screen
// init variables
// how many cycles to wait between draw and erase (slow down)
@10000
D=A
@wait_timer
M=D
// ball x offset
@0
D=A
@ball_x
M=D
// ball y offset
@0
D=A
@ball_y
M=D
// ball x movemen... |
section .data
SYS_WRITE EQU 1
STDOUT_FILENO EQU 1
msg DB "hello, world", 0
msg_len EQU $-msg
section .bss
section .text
global main
main:
mov RAX, SYS_WRITE
mov RDI, STDOUT_FILENO
mov RSI, msg
mov RDX, 12
syscall
mov RAX... |
#include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
// System.Collections.Generic.KeyValuePair`2<System.Int32,UnityEngine.Vector3>[]
struct KeyValuePair_2U5BU5D_t3407F4118AFF6185E... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1a014, %rsi
lea addresses_WT_ht+0x2a14, %rdi
nop
nop
nop
add $33729, %r14
mov $39, %rcx
rep movsl
nop
nop
nop
nop
nop
dec %r14
lea addresses_WC_ht+0x16b4, %rsi
lea addresses_WC_ht... |
#include "VTKDataAdaptor.h"
#include "VTKUtils.h"
#include "Error.h"
#include "MeshMetadata.h"
#include <vtkCompositeDataIterator.h>
#include <vtkCompositeDataSet.h>
#include <vtkOverlappingAMR.h>
#include <vtkDataSet.h>
#include <vtkDataSetAttributes.h>
#include <vtkFieldData.h>
#include <vtkPointData.h>
#include <vt... |
;==============================================================================
; Contents of this file are copyright Phillip Stevens
;
; You have permission to use this for NON COMMERCIAL USE ONLY
; If you wish to use it elsewhere, please include an acknowledgement to myself.
;
; https://github.com/feilipu/
;
; https:... |
* QDOS specific scheduler loop routine V1.12 1985 Tony Tebby QJUMP
* 1986 Jonathan Oakley QJUMP
* 2020-08-10 1.12 Update pt_dmode for CON2 code to use (MK)
section driver
*
xdef pt_sched_qdos
*
xref pt_sched
xref pt_wchka
xref pt_mrstj
*
include dev8_mac_assert
include dev8_keys_qdos_sms
inc... |
; A346732: Replace 9^k with (-1)^k in base-9 expansion of n.
; Submitted by Jamie Morken(w3)
; 0,1,2,3,4,5,6,7,8,-1,0,1,2,3,4,5,6,7,-2,-1,0,1,2,3,4,5,6,-3,-2,-1,0,1,2,3,4,5,-4,-3,-2,-1,0,1,2,3,4,-5,-4,-3,-2,-1,0,1,2,3,-6,-5,-4,-3,-2,-1,0,1,2,-7,-6,-5,-4,-3,-2,-1,0,1,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,0,1,2,3,... |
; A080565: Binary expansion of n has form 11**...*1.
; 3,7,13,15,25,27,29,31,49,51,53,55,57,59,61,63,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,193,195,197,199,201,203,205,207,209,211,213,215,217,219,221,223,225,227,229,231,233
mov $3,$0
lpb $0,1
div $0,2
add $1,1
mul $1,2
lpe
add $1,3
mov $2,... |
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Guido Tack, 2007
*
* Last modified:
* $Date: 2014-08-07 13:31:59 +1000 (Thu, 07 Aug 2014) $ by $Author: tack $
* $Revision: 14189 $
*
* This file is part of... |
;
; Disk read function
; Reads sectors off the disk
; expects a number of sectors to read in dh
; throws an error if read fails
;
read_disk:
push dx
mov ah, 0x02
mov al, dh
mov ch, 0x00
mov dh, 0x00
mov cl, 0x02
mov bx, WRITE_AREA
int 0x13
jc read_error ; if carry flag was... |
#include <ros/ros.h>
#include "std_msgs/String.h"
#include "std_msgs/Int32.h"
#include "outdoor_bot/NavTargets_service.h"
#include "outdoor_bot/NavTargets_msg.h"
#include "outdoor_bot/navTargetsCommand_msg.h"
#include "outdoor_bot_defines.h"
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_br... |
org $078102 ; no idea where that is, ask zarby
JSL GetMultiworldItem
org $01EC07 ; Dungeon_OpenKeyedObject .nextChest : LDA Dungeon_ChestData+2, X
JSL.l Multiworld_OpenKeyedObject
;================================================================================
; Init Hook
;------------------------------------------... |
; A216443: a(n) = n!! mod !n.
; 0,1,8,15,48,105,384,945,3840,10395,46080,135135,645120,2027025,10321920,34459425,185794560,654729075,3715891200,13749310575,81749606400,316234143225,1961990553600,7905853580625,51011754393600,213458046676875,1428329123020800,6190283353629375
mov $2,$0
mov $3,2
mov $4,$0
mov $5,2
lpb $2
... |
.program:
ji i4
noop
DATA_SECTION_OFFSET[0..32]
DATA_SECTION_OFFSET[32..64]
lw $ds $is 1
add $$ds $$ds $is
move $r2 $sp ; save locals base register
cfei i16 ; allocate 16 bytes for all locals
move $r1 $sp ; save register for temporary stack value
cfei i16 ... |
#include "RcppArmadillo.h"
// [[Rcpp::depends(RcppArmadillo)]]
using namespace Rcpp;
using namespace arma;
using namespace std;
// [[Rcpp::export]]
double lfdistance(arma::mat& L1, arma::mat& L2, double inct){
// 1. parameters
double distvalue = 0.0;
double incvalue = 100.0;
const double thr = 0.01;
const ... |
; A000855: Final two digits of 2^n.
; 1,2,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,44,88,76,52,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,44,88,76,52,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,44,88,76,52,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,44,88,76,52,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,... |
#include <iostream>
#include <E57Format/E57Format.h>
int main(int argc, char const *argv[])
{
using namespace std;
if (argc < 2) {
cerr << "Usage: e57-dump FILE.e57" << endl;
return 1;
}
try {
e57::ImageFile imageFile(argv[1], "r");
imageFile.root().dump();
} catch (const e57::E57Exception... |
; DRAW OR SPRITE 2 BYTE DEFINITION ROTATED
; 01.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
INCLUDE "clib_target_cfg.asm"
SECTION code_temp_sp1
PUBLIC _SP1_DRAW_OR2
EXTERN _SP1_DRAW_OR2NR
EXTERN SP1RETSPRDRAW
; following data segment copied into struct sp1_cs
ld hl,0
ld ix,0
call _SP1_DR... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r15
push %r9
push %rbp
push %rdi
push %rdx
// Store
mov $0x6c44060000000b7a, %rdi
nop
nop
and %rdx, %rdx
movb $0x51, (%rdi)
nop
nop
nop
add $3322, %r10
// Store
lea addresses_A+0x1f33a, %rbp
cmp %r9, %... |
; BeepFX sound effect by shiru
; http://shiru.untergrund.net
SECTION rodata_sound_bit
PUBLIC _bfx_56
_bfx_56:
; Yeah (voice)
defb 3 ;sample
defw 262
defw sample_data
defb 45
defb 0
sample_data:
defb 127,255,255,163,255,255,129,255,255,213,31,255,168,31,255,240
defb 63,255,232,15,255,171,... |
;
; Reader backed by a mapped buffer
;
MappedReader_SEGMENT_SIZE: equ 4000H
MappedReader: MACRO
super: Reader
buffer:
dw 0
positionSegmentIndex:
dw -1
_size:
ENDM
; de = mapped buffer
; hl = base address
; ix = this
; ix <- this
MappedReader_Construct:
ld a,l
and a
call nz,System_ThrowException
ld a,h
a... |
; =========================================================================
; Project:
; File: main.asm
; Description:
;
; Author:
; Version:
; Date:
;*****************************************************************************
;---------------Program ... |
copyright zengfr site:http://github.com/zengfr/romhack
010DA2 move.b (A4), ($59,A3)
010DA6 move.b (A4)+, ($59,A2) [etc+59]
01250A move.b (A4)+, ($59,A3)
01250E move.b (A4)+, D0 [etc+59]
08C07E clr.b ($59,A6)
08C082 move.b ($67be,A5), ($5e,A6)
08C0DE clr.b ($59,A6)
08C0E2 move.b ($67be,A5), ($5e,A... |
SECTION code_fp_math16
PUBLIC _exp10f16
EXTERN cm16_sdcc_exp10
defc _exp10f16 = cm16_sdcc_exp10
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbx
push %rdi
push %rsi
lea addresses_A_ht+0x176c7, %r8
nop
nop
and $61945, %rsi
movups (%r8), %xmm6
vpextrq $0, %xmm6, %rdi
nop
nop
nop
xor %r13, %r13
lea addresses_WC_ht+0xa5c7, %r9
nop
nop
nop
and %r12, %r12
mov (%r9), %rbx
nop
... |
; A293499: Number of unlabeled hereditary semiorders on n points.
; Submitted by Christian Krause
; 1,2,5,14,42,132,428,1415,4730,15901,53593,180809,610157,2058962,6947145,23437854,79067006,266717300,899693960,3034814143,10236853534,34530252629,116475001757,392885252033
mov $1,1
lpb $0
sub $0,1
add $1,$3
mov $2,... |
; A232747: Inverse function to Hofstadter's A005228.
; 1,0,2,0,0,0,3,0,0,0,0,4,0,0,0,0,0,5,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0
mov $2,$0
mov $5,2
lpb $5
mov $0,$2
sub $5,1
add $0,$5
sub $0,1
cal $0,232746 ; ... |
; A252736: a(1) = a(2) = 0; for n > 2: a(2n) = 1 + a(n), a(2n+1) = a(A064989(2n+1)).
; 0,0,0,1,0,1,0,2,1,1,0,2,0,1,1,3,0,2,0,2,1,1,0,3,1,1,2,2,0,2,0,4,1,1,1,3,0,1,1,3,0,2,0,2,2,1,0,4,1,2,1,2,0,3,1,3,1,1,0,3,0,1,2,5,1,2,0,2,1,2,0,4,0,1,2,2,1,2,0,4,3,1,0,3,1,1,1,3,0,3,1,2,1,1,1,5,0,2,2,3,0,2,0,3,2,1,0,4,0,2,1,4,0,2,1,2,2... |
; A078010: Expansion of (1-x)/(1 - x - x^2 - 2*x^3).
; 1,0,1,3,4,9,19,36,73,147,292,585,1171,2340,4681,9363,18724,37449,74899,149796,299593,599187,1198372,2396745,4793491,9586980,19173961,38347923,76695844,153391689,306783379,613566756,1227133513,2454267027,4908534052,9817068105,19634136211,39268272420,78536544841,1570... |
; A269585: Number of length-5 0..n arrays with no repeated value differing from the previous repeated value by more than one.
; 32,229,964,2969,7456,16237,31844,57649,97984,158261,245092,366409,531584,751549,1038916,1408097,1875424,2459269,3180164,4060921,5126752,6405389,7927204,9725329,11835776,14297557,17152804,20446... |
#include "Oasis/Graphics/GL/GLTexture2D.h"
namespace Oasis
{
GLTexture2D::GLTexture2D(GLGraphicsDevice* graphics, TextureFormat format, int width, int height)
: Texture2D(format, width, height)
, graphics_(graphics)
{
Create();
}
GLTexture2D::~GLTexture2D()
{
Destroy();
}
void GLTexture2D::U... |
// Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#include <QtTest>
#include "libvideostitch-gui/mainwindow/timeconverter.hpp"
class VideoStitchTimeConverterTest : public QObject {
Q_OBJECT
public:
VideoStitchTimeConverterTest();
private Q_SLOTS:
void testTimeConverterFrameString();
... |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;***************************************************
; CHARACTER FONT FILE
; Source Assembler File
;
; CODE PAGE: 860
; FONT RESOLUTION: 8 x... |
SECTION code_fp_math32
PUBLIC cm32_sccz80_acos
EXTERN cm32_sccz80_fsread1, _m32_acosf
cm32_sccz80_acos:
call cm32_sccz80_fsread1
jp _m32_acosf
|
if not defined FMOD
INCLUDE "print_fp.asm"
; HL = BC % HL
DEBUG@FMOD:
FMOD:
CALL @FMOD ; 3:17
PUSH HL ; 1:11
LD HL, '%'+' ' * 256 ; 3:10 "% "
LD A, COL_BLUE ; 2:7
JP PRINT_XFP ; 3:10
else
i... |
###############################################################################
# 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... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2017-2019 The CATSCOIN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bignum.h"
#if define... |
; A337300: Partial sums of the geometric Connell sequence A049039.
; 1,3,7,12,19,28,39,51,65,81,99,119,141,165,191,218,247,278,311,346,383,422,463,506,551,598,647,698,751,806,863,921,981,1043,1107,1173,1241,1311,1383,1457,1533,1611,1691,1773,1857,1943,2031,2121,2213,2307,2403
lpb $0
mov $2,$0
sub $0,1
seq $2,490... |
LDA #$37
BCC LABEL
OUT A
LABEL:
LDA #$FF
OUT A
|
/*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Module name: PL16x8_PL8x8.asm... |
; A122795: Connell (5,3)-sum sequence (partial sums of the (5,3)-Connell sequence)
; 1,3,10,22,39,57,80,108,141,179,222,270,319,373,432,496,565,639,718,802,891,985,1080,1180,1285,1395,1510,1630,1755,1885,2020,2160,2305,2455,2610,2766,2927,3093,3264,3440,3621,3807,3998,4194,4395,4601,4812,5028,5249,5475,5706,5938,6175,6... |
; L0215.asm BRAINIAC computer room
; Generated 07.09.2000 by mlevel
; Modified 07.09.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0215Section",ROMX
;-----------------------------------------------------... |
*=$0801
!word $080C ; Pointer to next BASIC line
!word $000A ; Line number $000A = 10
!byte $9E ; SYS BASIC token
!pet " $810",0 ; Address where ASM starts
!word $0000 ; EOF BASIC program
*=$0810
;******************************************************************************
; This code does not generate any ... |
[SECTION .data] ;数据段
ALIGN 16
[BITS 16]
LABEL_DATA:
szMessage0: db "INT 15h,Function Code:0E801h - Get Memory Size for large configurations.",0ah,0dh,'$'
szMessage1: db "Memory check failed.",0ah,0dh,'$'
szMessage2: db "Memory check succeed.",0ah,0dh,"AX = Extended 1: "
szExtended1: db "0000h ",0ah,0dh
szMessage3: db "... |
Snd_Results_Header:
smpsHeaderStartSong 3
smpsHeaderVoiceUVB
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $25
smpsHeaderDAC Snd_Results_DAC
smpsHeaderFM Snd_Results_FM1, $0C, $12
smpsHeaderFM Snd_Results_FM2, $0C, $16
smpsHeaderFM Snd_Results_FM3, $0C, $16
smpsHeaderFM ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2014 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
###############################################################################
# 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... |
; A007492: Fibonacci(n) - (-1)^n.
; 2,0,3,2,6,7,14,20,35,54,90,143,234,376,611,986,1598,2583,4182,6764,10947,17710,28658,46367,75026,121392,196419,317810,514230,832039,1346270,2178308,3524579,5702886,9227466,14930351,24157818,39088168
mov $3,2
mov $9,$0
lpb $3
mov $0,$9
sub $3,1
add $0,$3
sub $0,1
mov $5,$0
... |
; A047399: Numbers that are congruent to {0, 3, 6} mod 8.
; 0,3,6,8,11,14,16,19,22,24,27,30,32,35,38,40,43,46,48,51,54,56,59,62,64,67,70,72,75,78,80,83,86,88,91,94,96,99,102,104,107,110,112,115,118,120,123,126,128,131,134,136,139,142,144,147,150,152,155,158,160,163,166,168,171,174,176,179,182,184,187,190,192,195,198,20... |
Music_CrystalOpening:
musicheader 4, 1, Music_CrystalOpening_Ch1
musicheader 1, 2, Music_CrystalOpening_Ch2
musicheader 1, 3, Music_CrystalOpening_Ch3
musicheader 1, 4, Music_CrystalOpening_Ch4
Music_CrystalOpening_Ch1:
tempo 136
volume $77
tone $0002
vibrato $10, $34
dutycycle $3
stereopanning $f0
notetype... |
; A135989: a(n) = 6*n + 3 + 90*floor((6*n+3)/10).
; 3,9,105,201,207,303,309,405,501,507,603,609,705,801,807,903,909,1005,1101,1107,1203,1209,1305,1401,1407,1503,1509,1605,1701,1707,1803,1809,1905,2001,2007,2103,2109,2205,2301,2307,2403,2409,2505,2601,2607,2703
mov $3,$0
add $0,6
mul $0,5
mov $4,5
mov $5,3
add $5,$3
ad... |
#ifndef _PY_WIN_HELPERS_HPP_
#define _PY_WIN_HELPERS_HPP_
bool IsPythonModule(HMODULE module, bool &isDebug) {
wchar_t mod_name[MAX_PATH];
isDebug = false;
if (GetModuleBaseName(GetCurrentProcess(), module, mod_name, MAX_PATH)) {
if (_wcsnicmp(mod_name, L"python", 6) == 0) {
if (wcslen(... |
; ===============================================================
; Dec 2012 by Einar Saukas, Antonio Villena & Metalbrain
; "Standard" version (70 bytes)
; modified for sms vram by aralbrec
; ===============================================================
;
; unsigned int sms_dzx7_standard_vram_unsafe(void *src, uns... |
; A202199: Number of (n+2) X 7 binary arrays avoiding patterns 001 and 101 in rows and columns.
; 1176,4704,14700,38808,90552,192192,378378,700700,1233232,2079168,3378648,5317872,8139600,12155136,17757894,25438644,35802536,49588000,67687620,91171080,121310280,159606720,207821250,268006284,342540576,434166656,546031024,... |
.globl Tela53
Tela53:
addi $10, $0, 0xcff8cf
sw $10, 268500992($0)
addi $10, $0, 0x00d800
sw $10, 268500996($0)
addi $10, $0, 0x00d800
sw $10, 268501000($0)
addi $10, $0... |
////////////////////////////////////////////////////////////////////////////////
// SLAB_HID_Device_C.cpp
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// Includes
///////////////////////////////////////... |
; A037878: (1/2)*Sum{|d(i)-e(i)|}, where Sum{d(i)*10^i} is base 10 representation of n and e(i) are digits d(i) in nonincreasing order, for i=0,1,...,m.
; 0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,0,0,3,2,1,0,0,0,0,0,0,0,4,3,2,1,0,0,0,0,0,0,5,4,3,2,1,0,0,0,0,0,6,5,4,3,2,1,0,0,0,0,7,6,5,4,3,2,1,0,0,0,8,7,6,5... |
Music_LookSage:
musicheader 2, 1, Music_LookSage_Ch1
musicheader 1, 3, Music_LookSage_Ch3
Music_LookSage_Ch1:
tempo 144
stereopanning $f
volume $77
dutycycle $3
notetype $c, $b3
note __, 2
note __, 16
callchannel Music_LookSage_branch_ee3fa
intensity $b3
octave 3
note D_, 2
intensity $93
note D_, 2
int... |
; A142555: Primes congruent to 25 mod 53.
; Submitted by Simon Strandgaard
; 131,449,661,1297,1721,1933,2039,2251,2357,2887,3947,4159,4583,5113,5431,5749,6067,6173,6491,6703,7127,8081,8293,8929,9883,10837,11261,11579,11897,12109,13063,13381,13487,14653,14759,15077,15289,15607,16349,16561,16879,17939,18257,18787,19211,1... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01
TITLE C:\Work\daspirum\Source\src\GeoIP.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB OLDNAMES
PUBLIC ??_R4iosockstream@dlib@@6B@ ; dlib::iosockstream::`RTTI Complete Object Locator'
PUBLIC ??_R3iosockstream@dlib@@8 ... |
#include "cpp_config.hpp"
#include "adaptor/bool.hpp"
#include "adaptor/char_ptr.hpp"
#include "adaptor/deque.hpp"
#include "adaptor/fixint.hpp"
#include "adaptor/float.hpp"
#include "adaptor/int.hpp"
#include "adaptor/list.hpp"
#include "adaptor/map.hpp"
#include "adaptor/nil.hpp"
#include "adaptor/pair.hpp"
#include ... |
;; @file
; IPRT - ASMGetDR3().
;
;
; Copyright (C) 2006-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 it and/or modify it under the terms of the GNU
; General Public License (GPL) ... |
/*
* Copyright (c) 2017, The OpenThread Authors.
* 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
* notice, this ... |
; A171577: 0, 1 and primes > 3.
; 0,1,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277
add $0,1
lpb $0
mov $1,$0
cal $1,171525 ; Numerator of (n-th noncomposite/... |
; Ellipse Workstation 1100 (fictitious computer)
; Ellipse DOS command: TOUCH.COM (create file, or just update date)
;
; Copyright (c) 2020 Sampo Hippeläinen (hisahi)
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Soft... |
; A014213: Floor((e/2)^n).
; 1,1,1,2,3,4,6,8,11,15,21,29,39,54,73,99,135,184,250,340,462,628,854,1161,1578,2145,2916,3964,5387,7322,9952,13526,18384,24987,33961,46159,62736,85267,115891,157512,214081,290967,395465,537493
mov $3,$0
mul $3,5
lpb $3
mul $1,$0
mul $2,$3
add $1,$2
add $2,$0
mov $4,$0
cmp $4,0
... |
; A256650: 30-gonal pyramidal numbers: a(n) = n*(n+1)*(28*n-25)/6.
; 0,1,31,118,290,575,1001,1596,2388,3405,4675,6226,8086,10283,12845,15800,19176,23001,27303,32110,37450,43351,49841,56948,64700,73125,82251,92106,102718,114115,126325,139376,153296,168113,183855,200550,218226,236911,256633,277420,299300,322301,346451,37... |
; A157955: 200n - 1.
; 199,399,599,799,999,1199,1399,1599,1799,1999,2199,2399,2599,2799,2999,3199,3399,3599,3799,3999,4199,4399,4599,4799,4999,5199,5399,5599,5799,5999,6199,6399,6599,6799,6999,7199,7399,7599,7799,7999,8199,8399,8599,8799,8999,9199,9399,9599,9799,9999,10199,10399,10599,10799,10999,11199,11399,11599,1179... |
; A166035: a(n) = (3^n+6*(-4)^n)/7.
; Submitted by Jon Maiga
; 1,-3,15,-51,231,-843,3615,-13731,57111,-221883,907215,-3569811,14456391,-57294123,230770815,-918300291,3687550071,-14707153563,58957754415,-235443597171,942936650151,-3768259816203,15083499618015,-60302617412451,241304612828631,-964936021778043,386059137572... |
//
// Copyright (C) 2014, 2015 Ableton AG, Berlin. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights t... |
extern _start
kernel_entry:
call _start
|
; A070457: a(n) = n^2 mod 35.
; 0,1,4,9,16,25,1,14,29,11,30,16,4,29,21,15,11,9,9,11,15,21,29,4,16,30,11,29,14,1,25,16,9,4,1,0,1,4,9,16,25,1,14,29,11,30,16,4,29,21,15,11,9,9,11,15,21,29,4,16,30,11,29,14,1,25,16,9,4,1,0,1,4,9,16,25,1,14,29,11,30,16,4,29,21,15,11,9,9,11,15,21,29,4,16,30,11,29,14,1,25,16,9,4,1,0,1,4,9,16,2... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xf935, %rbp
nop
nop
nop
and $62651, %r9
movw $0x6162, (%rbp)
nop
nop
nop
nop
nop
cmp %r9, %r9
lea addresses_normal_ht+0xa175, %rdx
clflush (%rdx)
nop
nop
n... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistri... |
;
; LZSS Compressed SAP player for 8 match bits
; -------------------------------------------
;
; (c) 2020 DMSC
; Code under MIT license, see LICENSE file.
;
; This player uses:
; Match length: 4 bits (2 to 17)
; Match offset: 4 bits (1 to 16)
; Min length: 2
; Total match bits: 12 bits
;
; Compress using:
; lzs... |
extern "C" {
#include <components/sapi/sapi.h>
}
#include <catch2/catch.hpp>
TEST_CASE("recognize real sapis", "[sapi]") {
// these strings were taken from the PHP 8.0's sapi/ folder
struct {
const char *name;
datadog_php_sapi sapi;
} servers[] = {
{"apache2handler", DATADOG_PHP_SA... |
; A244042: In ternary representation of n, replace 2's with 0's.
; 0,1,0,3,4,3,0,1,0,9,10,9,12,13,12,9,10,9,0,1,0,3,4,3,0,1,0,27,28,27,30,31,30,27,28,27,36,37,36,39,40,39,36,37,36,27,28,27,30,31,30,27,28,27,0,1,0,3,4,3,0,1,0,9,10,9,12,13,12,9,10,9,0,1,0,3,4,3,0,1,0,81,82,81,84,85,84,81,82,81,90,91,90,93,94,93,90,91,90,... |
lda {m1}
clc
adc #{c1}
sta {m1}
bcc !+
inc {m1}+1
bne !+
inc {m1}+2
bne !+
inc {m1}+3
!: |
; A081688: 0 followed by A030124 - 1.
; 0,1,3,4,5,7,8,9,10,12,13,14,15,16,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,69,70,71,72,73,74,75,76,77
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $1,$0
mul $2,$3
add $1,$2
mov $4,... |
; Something?
yourMom .BYT 0
; Other things
ARRAY .INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.INT 0
.I... |
//=================================================================================================
/*!
// \file src/mathtest/sparsematrix/UpperTest.cpp
// \brief Source file for the upper SparseMatrix operation test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of the ... |
#include "trafficmonitor.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
TrafficMonitor w;
w.show();
return a.exec();
}
|
; A155040: A symmetric (1,-1)-triangle.
; 1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,-1,1,1,-1,1,1,-1,1,-1,1,-1,1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,1,-1,1,-1,1,1,-1,1,-1,1,1,-1,1,-1,1,1,-1,1,-1,1,-1,1,-1,1,-1,1,1,-1,1,-1,1,-1,-1,1,-1,1,-1,1,1,-1,1,-1,1,-1,1,-1,1
seq $0,157454 ; Triangle read by rows: T(n, m) = min(2*m - 1, 2*(n... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2018 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
; size_t dtoe(double x, char *buf, uint16_t prec, uint16_t flag)
SECTION code_clib
SECTION code_stdlib
PUBLIC _dtoe
EXTERN d2mlib, asm_dtoe
_dtoe:
pop af
pop de
pop hl
exx
pop hl
pop de
pop bc
push bc
push de
push hl
exx
push hl
push de
push af... |
//===-- llvm-nm.cpp - Symbol table dumping utility for llvm ---------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rdx
push %rsi
lea addresses_UC_ht+0x17bda, %r9
clflush (%r9)
cmp $9285, %r15
movb $0x61, (%r9)
nop
nop
nop
nop
nop
add $52538, %rsi
pop %rsi
pop %rdx
pop %r9
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r... |
;;#############################################################################
;; FILE: CLASinCosTable.asm
;;
;; DESCRIPTION: Sine and Cosine Tables
;;
;; Group: C2000
;; Target Family: C28x+CLA
;;
;;#############################################################################
;; $TI Release: CLA Math L... |
; A000542: Sum of 8th powers: 1^8 + 2^8 + ... + n^8.
; 0,1,257,6818,72354,462979,2142595,7907396,24684612,67731333,167731333,382090214,812071910,1627802631,3103591687,5666482312,9961449608,16937207049,27957167625,44940730666,70540730666,108363590027,163239463563,241550448844,351625763020,504213653645,713040718221,99547... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.