text stringlengths 1 1.05M |
|---|
;
;==================================================================================================
; ROMWBW 2.X CONFIGURATION DEFAULTS FOR UNA
;==================================================================================================
;
; THIS FILE CONTAINS THE FULL SET OF DEFAULT CONFIGURATION SETTIN... |
; A253947: a(n) = 6*binomial(n+1,7).
; 6,48,216,720,1980,4752,10296,20592,38610,68640,116688,190944,302328,465120,697680,1023264,1470942,2076624,2884200,3946800,5328180,7104240,9364680,12214800,15777450,20195136,25632288,32277696,40347120,50086080,61772832,75721536,92285622,111861360,134891640,161869968,193344684,22992... |
//===--- MetadataRequest.cpp - IR generation for metadata requests --------===//
//
// 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... |
#include "gbdt.h"
#include <LightGBM/utils/openmp_wrapper.h>
#include <LightGBM/utils/common.h>
#include <LightGBM/objective_function.h>
#include <LightGBM/metric.h>
#include <LightGBM/prediction_early_stop.h>
#include <ctime>
#include <sstream>
#include <chrono>
#include <string>
#include <vector>
#include <utili... |
;
; Generic game device library
; Stefano Bodrato - 20/8/2001
;
; $Id: joystick.asm,v 1.3 2009/01/23 08:22:27 stefano Exp $
;
XLIB joystick
LIB getk
.joystick
;__FASTALL__ : joystick no. in HL
ld a,l
cp 1 ; Stick emulation 1 (qaop-mn)
jr nz,j_no1
call getk
ld a,l
ld l,0
or @00100000 ; TO_LOW... |
; A160938: a(n)= n * digital sum(n+1)
; 2,6,12,20,30,42,56,72,9,20,33,48,65,84,105,128,153,180,38,60,84,110,138,168,200,234,270,308,87,120,155,192,231,272,315,360,407,456,156,200,246,294,344,396,450,506,564,624,245,300,357,416,477,540,605,672,741
add $0,5
mov $2,-3
lpb $0,1
add $0,$2
mov $2,$0
mod $2,10
mov $3... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... |
; int ungetc_unlocked(int c, FILE *stream)
SECTION code_clib
SECTION code_stdio
PUBLIC _ungetc_unlocked
EXTERN l0_ungetc_unlocked_callee
_ungetc_unlocked:
pop af
pop hl
pop bc
push bc
push hl
push af
jp l0_ungetc_unlocked_callee
|
.model small
.stack
.data
PA EQU 01190H
PB EQU 01191H
PC EQU 01192H
CR EQU 01193H
table db 80h,96h,0abh,0c0h,0d2h,0e2h,0eeh,0f8h,0feh,0ffh,
0feh,0f8h,0eeh,0e2h,0d2h,0c0h,0abh,96h,80h,
69h,54h,3fh,2dh,1dh,1dh,11h,07h,01h,00h,
01h,07h,011h,1dh,2dh,3fh,54h,69h
count equ 36d
.c... |
;*=$C800
; UP9600 KERNAL ADAPTER
; ORIGINALLY BY DANIAL DALLMAN
; ADAPTED 2017 FOR KERNAL BY BO ZIMMERMAN
; MODIFIED ON 2/14/2017 1:26A
; .D @0:UP9600.BIN
; PROVIDED FUNCTIONS
JMP UP9600.INIT
JMP UP9600.INSTALL; INSTALL AND (PROBE FOR) UP9600 (C=... |
; ==================================================================
; MichalOS Icons
; ==================================================================
bomblogo db 9, 16
db 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00100000b, 00000000b, 01100000b, 00000000b
db 00000000b, 00000000b, 00000... |
; A197354: a(n) = Sum_{k>=0} A030308(n,k)*(2k+1).
; Submitted by Jamie Morken(s3)
; 0,1,3,4,5,6,8,9,7,8,10,11,12,13,15,16,9,10,12,13,14,15,17,18,16,17,19,20,21,22,24,25,11,12,14,15,16,17,19,20,18,19,21,22,23,24,26,27,20,21,23,24,25,26,28,29,27,28,30,31,32,33,35,36,13,14,16,17,18,19,21,22,20,21,23,24,25,26,28,29,22,23,2... |
drawIntroFrame:
push es
push 0xb800
pop es
; Increase the frame tick counter to make the intro run faster
mov byte [frameTickCounter], 5
; Check if message is already fully displayed
cmp si, messageLength
jae .end
mov di, si
imul di, 2
mov byte al, [si+message]
mov byte [es:di], al
mov by... |
/*
grabber.cpp
Screen grabber
*/
/*
Copyright © 1996 Eugene Roshal
Copyright © 2000 Far Group
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 cop... |
; A161370: a(n) = 2*A010844(n) + 1.
; 3,7,27,159,1267,12663,151947,2127247,34035939,612646887,12252937723,269564629887,6469551117267,168208329048919,4709833213369707,141294996401091183,4521439884834917827,153728956084387206087
mul $0,2
mov $2,$0
lpb $0
sub $0,2
add $1,$2
mul $2,$0
lpe
mul $1,2
add $1,3
mov $0,$1... |
@256
D=A
@SP
M=D
@5
D=A
@R13
M=D
@Sys.init
D=A
@R14
M=D
@Sys.init$ret0
D=A
@VM$CALL
0;JMP
(Sys.init$ret0)
(VM$STOP)
@VM$STOP
0;JMP
(VM$CALL)
@SP
AM=M+1
A=A-1
M=D
@LCL
D=M
@SP
AM=M+1
A=A-1
M=D
@ARG
D=M
@SP
AM=M+1
A=A-1
M=D
@THIS
D=M
@SP
AM=M+1
A=A-1
M=D
@THAT
D=M
@SP
AM=M+1
A=A-1
M=D
@R13
D=M
@SP
D=M-D
@ARG
M=D
@R14
A=M... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x3f93, %rsi
lea addresses_WC_ht+0x993f, %rdi
clflush (%rdi)
nop
nop
nop
add %r12, %r12
mov $5, %rcx
rep movsw
nop
nop
xor %rbx, %rbx
lea addresses_UC_ht+0xf87b, %rsi
lea addr... |
#Input: tre valori interi, due indirizzi del segmento testo
#Output: nessuno
#$a0, $a1, $a2 <- 3 interi
#$s3 primo addr stack secondo addr
.data
.text
.globl branch3equal
branch3equal:
add $t0 $0 $0
add $v0 $0 $0
bne $a0 $a1 second
addi $t0 $t0 1
second: bne $a0 $a2 third
addi $t0 $t0 1
third: b... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x6924, %rsi
clflush (%rsi)
nop
nop
nop
nop
nop
and %r15, %r15
mov $0x6162636465666768, %r14
movq %r14, %xmm1
movups %xmm1, (%rsi)
xor $28849, %rdi
lea addresses_D_ht+0x14e90, %... |
//===- Pass.cpp - Pass infrastructure implementation ----------------------===//
//
// 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
//
//===---------------------------... |
.thumb
.org 0x0
.equ ClassGrowthOption, Extra_Growth_Boosts+4
@r0=battle struct or char data ptr
ldr r1,[r0]
ldrb r1,[r1,#28] @hp growth
ldr r2,ClassGrowthOption
cmp r2,#0
beq GetExtraGrowthBoost
ldr r2,[r0,#4]
add r2,#27
ldrb r2,[r2]
add r1,r2
GetExtraGrowthBoost:
mov r2,#10 @index of hp boost
ldr r3,Extr... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE197_Numeric_Truncation_Error__int_listen_socket_to_short_74a.cpp
Label Definition File: CWE197_Numeric_Truncation_Error__int.label.xml
Template File: sources-sink-74a.tmpl.cpp
*/
/*
* @description
* CWE: 197 Numeric Truncation Error
* BadSource: listen_socket ... |
.program:
ji i4
noop
DATA_SECTION_OFFSET[0..32]
DATA_SECTION_OFFSET[32..64]
lw $ds $is 1
add $$ds $$ds $is
lw $r1 $fp i73 ; load input function selector
lw $r0 data_2 ; load fn selector for comparison
eq $r0 $r1 $r0 ; function selector comparison
jnzi $r0 i14 ... |
;-------------------
; test for push/pop
;-------------------
.equ spl = 0x3d
.equ sph = 0x3e
;-------------------
in r20,spl
in r21,sph
ldi r16,0x10
ldi r24,0x20
mov r7 ,r16
mov r8 ,r24
ldi r16,0x30
ldi r24,0x40
push r7
push r8
push r16
push r24
... |
; A084672: G.f.: (1+x^2+2*x^4)/((1-x^3)*(1-x)^2).
; 1,2,4,7,12,18,25,34,44,55,68,82,97,114,132,151,172,194,217,242,268,295,324,354,385,418,452,487,524,562,601,642,684,727,772,818,865,914,964,1015,1068,1122,1177,1234,1292,1351,1412,1474,1537,1602,1668,1735,1804,1874
mul $0,2
pow $0,2
mov $1,$0
add $1,8
div $1,6
|
SECTION code_clib
PUBLIC heapalloc
PUBLIC _heapalloc
; fastcall
.heapalloc
._heapalloc
ex de, hl
jp 0xb881
|
TITLE Homework02 (HW02.ASM)
INCLUDE Irvine32.inc
.data
Val1 SBYTE 03h
Val2 SBYTE 02h
Val3 SBYTE 8fh
Rval SDWORD ?
.code
main EQU start@0
main PROC
movsx eax, Val1 ;eax = Val1
movsx ebx, Val2 ;ebx = Val2
movsx ecx, Val3 ;ecx = Val3
add eax, ebx ;eax = Val1 + Val2
mov ebx, eax ;ebx =... |
bootloader/bootloader.elf: file format elf32-littlearm
Disassembly of section .text:
00000000 <hang-0x80>:
0: 00002000 .word 0x00002000
4: 00000091 .word 0x00000091
...
1c: 00000080 .word 0x00000080
20: 00000080 .word 0x00000080
24: 00000080 .word 0x00000080
28: 00000080 .word 0x00000080
.... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GeoCalc/Document
FILE: documentMouse.asm
AUTHOR: Gene Anderson, Oct 12, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTOR... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1ab87, %r11
nop
nop
cmp $44662, %r10
movw $0x6162, (%r11)
add %r10, %r10
lea addresses_normal_ht+0xf787, %rsi
lea addresses_D_ht+0x20f7, %rdi
clflush (%rdi)
nop
nop
nop
nop
... |
;/* inffas32.asm is a hand tuned assembler version of inffast.c -- fast decoding
; *
; * inffas32.asm is derivated from inffas86.c, with translation of assembly code
; *
; * Copyright (C) 1995-2003 Mark Adler
; * For conditions of distribution and use, see copyright notice in zlib.h
; *
; * Copyright (C) 2003 Ch... |
; A204565: Number of (n+1) X 2 0..3 arrays with every 2 X 2 subblock having equal diagonal elements or equal antidiagonal elements, and new values 0..3 introduced in row major order.
; Submitted by Jamie Morken(s1)
; 8,42,256,1682,11448,79162,551216,3849762,26922088,188375882,1318394976,9228056242,64594267928,452153498... |
.data
input_first: .asciiz "Moltiplicando?"
.align 2
input_second: .asciiz "Moltiplicatore?"
output: .asciiz "Il prodotto è: "
.text
.globl main
main:
li $v0, 51
la $a0, input_first
syscall
move $s0, $a0
li $v0, 51
la $a0, input_second
syscall
move $a1, $a0
move $a0, $s0
jal prodotto_s
mov... |
; int putc_callee(int c, FILE *stream)
INCLUDE "clib_cfg.asm"
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _putc_callee
EXTERN _fputc_callee
defc _putc_callee = _fputc_callee
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;;;;;;;;;;;;;;;;;... |
#include<catch.h>
#include"../src/core/utils.h"
TEST_CASE("range small")
{
bird::Range range(.03,.04);
CHECK( range.min == .03 );
CHECK( range.max == .04 );
}
TEST_CASE("range big")
{
bird::Range range(1,1000000);
CHECK( range.min == 1 );
CHECK( range.max == 1000000 );
}
TEST_CASE("range nega... |
//WiFi 802.11b (1 AP, 12 STA Nodes)
//Varying cbr
//Author: John, Kaushik, Umesh
#include "ns3/core-module.h"
#include "ns3/propagation-module.h"
#include "ns3/network-module.h"
#include "ns3/applications-module.h"
#include "ns3/mobility-module.h"
#include "ns3/internet-module.h"
#include "ns3/... |
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
public pj_fcompare
;pj_fcompare(USHORT *s1, USHORT *s2, unsigned count)
pj_fcompare PROC near
push esi
push edi
push ecx
mov esi,[esp+16]
mov edi,[esp+20]
mov ecx,[esp+24]
inc ecx
repe cmpsw
mov eax,[esp+24]
sub e... |
.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... |
music_addr=$7000
sid_init = $7000
sid_play = $7003
*=music_addr
!bin "source/fallen_down.sid",,$7e
ctr=$4000
clr=$4004
sprite_location=$2000
*=sprite_location
!source "graphics/sprite1.gpx"
!source "graphics/sprites2.asm"
code_addr=$c000
*=code_addr
!source "source/main.asm"
!source "source/rand.asm"
!source "sourc... |
; BR 2039212
bits 64
call qword far [rax]
jmp qword far [rax]
call dword far [rax]
jmp dword far [rax]
call far [rax]
jmp far [rax]
|
namespace srrg2_core {
template <typename CellType_, typename AllocatorType_, typename CellTraits_>
Matrix_<CellType_, AllocatorType_, CellTraits_>::Matrix_() {
clear();
}
template <typename CellType_, typename AllocatorType_, typename CellTraits_>
Matrix_<CellType_, AllocatorType_, CellTraits_>::Matrix... |
//==---------- pi_arguments_handler.hpp - PI call arguments handler --------==//
// i
//
// 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
//
//===----------------------... |
; A188172: Number of divisors d of n of the form d == 7 (mod 8).
; 0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,1,0,1,1,0,0,0,1,0,0,0,1,0,0,1,0,0,1,1,1,0,1,0,0,0,0,0,1,1,0,0,0,1,0,1,2,0,0,0,0,0,1,1,1,0,0,0,1,0,1,1,1,0,0,0,0,1,0,0,1,0,0,1,1,1,1,1,1,0,0,1,0,0
add $0,1
mov $2,$0
lpb $0
mov $3,$2
dif $3,$0
... |
HallOfFamePC:
callab FallingStarEnd
call ClearScreen
ld c, 100
call DelayFrames
call DisableLCD
ld a, $a7
ld [rWX], a
xor a
ld [rSCX], a
ld [rSCY], a
ld [hSCX], a
ld [hSCY], a
ld [hWY], a
ld [rWY], a
call CreditsLoadFont
coord hl, 0, 0
call FillFourRowsWithBlack
coord hl, 0, 14
call FillFourRowsWith... |
; A021940: Decimal expansion of 1/936.
; 0,0,1,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6,0,6,8,3,7,6
add $0,1
mov $1,10
pow $1,$0
mul $1,2
div $1,1872
mod $1,10
mov $0,$1
|
////
//// Created by heisenberg on 4/11/20.
////
//
//#include <bits/stdc++.h>
//
//#define fi freopen("in.txt", "r", stdin)
//#define fo freopen("out.txt", "w", stdout)
//
//using namespace std;
//#define ll long long
//#define VISITED 1
//#defi... |
; A002419: 4-dimensional figurate numbers: (6*n-2)*binomial(n+2,3)/4.
; 1,10,40,110,245,476,840,1380,2145,3190,4576,6370,8645,11480,14960,19176,24225,30210,37240,45430,54901,65780,78200,92300,108225,126126,146160,168490,193285,220720,250976,284240,320705,360570,404040,451326,502645,558220,618280,683060,752801,827750,90... |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi
... |
; A154957: A symmetric (0,1)-triangle.
; 1,1,1,1,0,1,1,0,0,1,1,0,1,0,1,1,0,1,1,0,1,1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0
seq $0,204028 ; Symmetric matrix based on f(i,j)=min(3i-2,3j-2), by antidiagon... |
$NOMOD51
$INCLUDE(hwconf.inc)
;------------------------------------------------------------------------------
; This file is part of the C51 Compiler package
; Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
;------------------------------------------------------------------------------
; ... |
; A157915: a(n) = 625*n^2 + 25.
; 650,2525,5650,10025,15650,22525,30650,40025,50650,62525,75650,90025,105650,122525,140650,160025,180650,202525,225650,250025,275650,302525,330650,360025,390650,422525,455650,490025,525650,562525,600650,640025,680650,722525,765650,810025,855650,902525,950650,1000025,1050650,1102525,11556... |
; A337843: a(n) is n + the number of digits in the decimal expansion of n.
; 1,2,3,4,5,6,7,8,9,10,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,59,60,61,62,63,64,65,66,67,68,69
mov $1,9
bin $1,$0
cmp $1,0
add $1,$0
add $1,1
... |
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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
//
// ... |
;
; Copyright (c) 2022, suncloudsmoon and the Simple-Cpp-Kernel contributors.
;
; 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
; ... |
;******************************************************************************
;
; (c) 2013 by BECK IPC GmbH
; http://www.beck-ipc.com
;
;******************************************************************************
;
; Module: cry43.asm
; Function: Dynamic linking of TCPI/IP API Function Crypt_SHA256_Init()
;
... |
; A144328: A002260 preceded by a column of 1's: a (1, 1, 2, 3, 4, 5,...) crescendo triangle by rows.
; 1,1,1,1,1,2,1,1,2,3,1,1,2,3,4,1,1,2,3,4,5,1,1,2,3,4,5,6,1,1,2,3,4,5,6,7,1,1,2,3,4,5,6,7,8,1,1,2,3,4,5,6,7,8,9,1,1,2,3,4,5,6,7,8,9,10,1,1,2,3,4,5,6,7,8,9,10,11,1,1,2,3,4,5,6,7,8,9,10,11,12,1,1,2,3,4,5,6,7,8,9,10,11,12,... |
; A174347: Expansion of (1 - 2*x - sqrt(1 - 8*x + 8*x^2))/(2*x*(1-x)).
; Submitted by Christian Krause
; 1,3,11,47,223,1135,6063,33535,190399,1103231,6497407,38779647,234043647,1425869567,8757326591,54163521535,337060285439,2108928587775,13258969458687,83720567447551,530692157964287,3375836610256895,21543201449893887,1... |
#include "lexicalAnalyzer.h"
struct tokenCollection{
node** collection;
int n;
int k;
};
struct node{
int line;
char* lexer;
char* token;
};
bool isDelimiter(char ch) {
if (ch == ' ' || ch == ',' || ch == ';' || ch == '(' || ch == ')' || ch == '[' || ch == ']' || ch == '{' || ch == '}'){
... |
/*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. 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
*... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x18204, %r15
nop
nop
nop
and %rdx, %rdx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm7
vmovups %ymm7, (%r15)
nop
dec %rdx
lea addresses_UC_ht+0x145a4, %r10
nop
nop
no... |
//MIT License
//Copyright 2017 Patrick Laughrea
#pragma once
#include "entityManager.hpp"
#include "tagIterator.hpp"
#include "structures/entity.hpp"
namespace webss
{
//for all these functions, the tag iterator must be on the expand tag
Entity parseExpandEntity(TagIterator& tagit, const EntityManager& ents);
cons... |
; A105723: a(n) = 3^n - (-1)^n.
; 0,4,8,28,80,244,728,2188,6560,19684,59048,177148,531440,1594324,4782968,14348908,43046720,129140164,387420488,1162261468,3486784400,10460353204,31381059608,94143178828,282429536480,847288609444,2541865828328,7625597484988,22876792454960,68630377364884,205891132094648,617673396283948,18... |
; A110286: a(n) = 15*2^n.
; 15,30,60,120,240,480,960,1920,3840,7680,15360,30720,61440,122880,245760,491520,983040,1966080,3932160,7864320,15728640,31457280,62914560,125829120,251658240,503316480,1006632960,2013265920,4026531840,8053063680,16106127360,32212254720,64424509440,128849018880,257698037760,515396075520,103079... |
; A295822: Number of coprime pairs (a,b) with -n <= a <= n, -3 <= b <= 3.
; 2,16,24,32,40,52,56,68,76,84,92,104,108,120,128,136,144,156,160,172,180,188,196,208,212,224,232,240,248,260,264,276,284,292,300,312,316,328,336,344,352,364,368,380,388,396,404,416,420,432,440,448,456,468
seq $0,49637 ; Congruent to 2, 3, 6, 8,... |
dnl PowerPC-64 mpn_sqr_diagonal.
dnl Copyright 2001-2003, 2005, 2006, 20010 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 L... |
; void *sms_memset_vram_unsafe(void *dst, unsigned char c, unsigned int n)
SECTION code_clib
SECTION code_arch
PUBLIC _sms_memset_vram_unsafe
EXTERN asm_sms_memset_vram_unsafe
_sms_memset_vram_unsafe:
pop hl
pop de
dec sp
pop af
pop bc
push bc
push af
inc sp
push de
push hl
... |
;
; Sprite Rendering Routine
; original code by Patrick Davidson (TI 85)
; modified by Stefano Bodrato - Jan 2001
;
PUBLIC putsprite
EXTERN cpygraph
EXTERN pixeladdress
INCLUDE "graphics/grafix.inc"
;
; $Id: putsprite.asm,v 1.5 2015/01/19 01:32:51 pauloscustodio Exp $
;
; coords: d,e (vert-horz)
; sprite: (i... |
; #########################################################################
.386
.model flat, stdcall
option casemap :none ; case sensitive
; #########################################################################
; kernel32.dll
includelib kernel32.lib
ExitProcess PROTO :DWORD
; shel... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Swat -- Kernel -> Swat communications
FILE: kernel.asm
AUTHOR: Adam de Boor, Nov 18, 1988
ROUTINES:
Name Description
---- -----------
Kernel... |
; A174745: y-values in the solution to x^2 - 21*y^2 = 1.
; Submitted by Jon Maiga
; 0,12,1320,145188,15969360,1756484412,193197315960,21249948271188,2337301112514720,257081872428348012,28276668666005766600,3110176471388205977988,342091135184036651812080,37626914693772643493350812,4138618525179806747616777240,455210410... |
; A098451: One of three ordered sets of positive integers that solves the minimal magic die puzzle.
; 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,23,43
mov $15,$0
mov $17,$0
add $17,1
lpb $17
mov $0,$15
sub $17,1
sub $0,$17
mov $11,$0
mov $13,2
lpb $13
mov $0,$11
sub $13,1
add $0,$13
su... |
; A175787: Primes together with 4.
; 2,3,4,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
mov $1,$0
trn $1,1
seq $1,6005 ; The odd prime numbers together with 1.
s... |
// Copyright 2013 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/error_console/error_console.h"
#include <stddef.h>
#include <string>
#include "base/files/file_path.h"
#include "ba... |
user/_ln: 文件格式 elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char *argv[])
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426 ... |
.size 8000
.text@48
ei
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 c, 44
ld b, 90
lbegin_waitly90:
ldff a, (c)
cmp a, b
jrnz lbegin_waitly90
xor a, a
ldff(40), a
ld hl, 9f00
ld b, 20
lbegin_clearvram:
... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAP_printC(unsigned int ch, unsigned char *attrs, unsigned int lin, ... |
; A158561: a(n)=((2^n)*((2^n)+1) - (2^(n-1))*((2^(n-1))+1))/2, a(1)=3.
; 3,7,26,100,392,1552,6176,24640,98432,393472,1573376,6292480,25167872,100667392,402661376,1610629120,6442483712,25769869312,103079346176,412317122560,1649267965952,6597070815232,26388281163776,105553120460800,422212473454592,1688849877041152,675539... |
#include "opencv2/mcc.hpp"
template <>
struct pyopencvVecConverter<Ptr<mcc::CChecker>>
{
static bool to(PyObject *obj, std::vector<Ptr<mcc::CChecker>> &value,
const ArgInfo &info)
{
return pyopencv_to_generic_vec(obj, value, info);
}
static PyObject *from(const std::vector<P... |
; A024401: a(n) = [ (3rd elementary symmetric function of S(n))/(2nd elementary symmetric function of S(n)) ], where S(n) = {first n+2 positive integers congruent to 2 mod 3}.
; 1,3,6,11,16,22,30,38,47,58,69,81,95,109,124,141,158,176,196,216,237,260,283,307,333,359,386,415,444,474,506,538,571,606,641,677,715,753,792,83... |
bits 64
default rel
section .text
global pal_execute_invept_checked
pal_execute_invept_checked :
invept rdi, [rsi]
jbe pal_execute_invept_checked_failure
mov rax, 0x1
ret
pal_execute_invept_checked_failure :
mov rax, 0x0
ret
|
; A016861: a(n) = 5*n + 1.
; 1,6,11,16,21,26,31,36,41,46,51,56,61,66,71,76,81,86,91,96,101,106,111,116,121,126,131,136,141,146,151,156,161,166,171,176,181,186,191,196,201,206,211,216,221,226,231,236,241,246,251,256,261,266,271,276,281,286,291,296,301,306,311,316,321,326,331,336,341,346,351,356,361,366,371,376,381,386,3... |
; A082903: a(n) = gcd(2^n, sigma_1(n)) = gcd(A000079(n), A000203(n)) also a(n) = gcd(2^n, sigma_3(n)) = gcd(A000079(n), A001158(n)).
; 1,1,4,1,2,4,8,1,1,2,4,4,2,8,8,1,2,1,4,2,32,4,8,4,1,2,8,8,2,8,32,1,16,2,16,1,2,4,8,2,2,32,4,4,2,8,16,4,1,1,8,2,2,8,8,8,16,2,4,8,2,32,8,1,4,16,4,2,32,16,8,1,2,2,4,4,32,8,16,2,1,2,4,32,4,4... |
#include "PlatformPrecomp.h"
#include "ProtonTesterGUI.h"
#include "ProtonTester.h"
#include "Entity/EntityUtils.h"
namespace ProtonTester {
void showResultOnScreen(Entity *parent)
{
string resultText = "PASS";
uint32 resultColor = MAKE_RGBA(0, 255, 0, 255);
if (GetNumFailed() > 0)
{
resultText = "FAIL";
r... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
;CodeVisionAVR C Compiler V3.12 Advanced
;(C) Copyright 1998-2014 Pavel Haiduc, HP InfoTech s.r.l.
;http://www.hpinfotech.com
;Build configuration : Debug
;Chip type : ATmega16
;Program type : Application
;Clock frequency : 8.000000 MHz
;Memory model : Small
;Optim... |
; A284879: Positions of 0 in A284878; complement of A284880.
; Submitted by Jamie Morken(w4)
; 1,3,6,7,9,12,13,16,17,19,21,24,25,27,30,31,34,35,37,39,42,43,46,47,49,51,54,55,57,60,61,63,66,67,70,71,73,75,78,79,81,84,85,88,89,91,93,96,97,100,101,103,105,108,109,111,114,115,117,120,121,124,125,127,129,132,133,136,137,139... |
//==============================================================================
// void parse(int code, char* parserAddress, WINDOW* window)
// In:
// r0: code
// r1: parser address
// r2: window
// Out:
// r0: control code length (0 if not matched)
//=======================================================... |
; A218721: a(n) = (18^n-1)/17.
; 0,1,19,343,6175,111151,2000719,36012943,648232975,11668193551,210027483919,3780494710543,68048904789775,1224880286215951,22047845151887119,396861212733968143,7143501829211426575,128583032925805678351,2314494592664502210319,41660902667961039785743,749896248023298716143375,134981324644193... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x184f7, %r8
nop
nop
nop
nop
add %r15, %r15
mov (%r8), %r12w
nop
cmp $23459, %r9
lea addresses_normal_ht+0xe093, %r13
nop
nop
nop
nop
cmp %rax, %rax
mov $0x6... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
;******************************************************************************
;* H.264 intra prediction asm optimizations
;* Copyright (c) 2010 Fiona Glaser
;* Copyright (c) 2010 Holger Lubitz
;* Copyright (c) 2010 Loren Merritt
;* Copyright (c) 2010 Ronald S. Bultje
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is... |
; A214945: Number of squarefree words of length 6 in an (n+1)-ary alphabet.
; 0,42,696,4260,16680,50190,126672,281736,569520,1068210,1886280,3169452,5108376,7947030,11991840,17621520,25297632,35575866,49118040,66704820,89249160,117810462,153609456,198043800,252704400,319392450,400137192
mov $3,$0
lpb $0
sub $0,1
a... |
; A143838: Ulam's spiral (SSW spoke).
; 1,22,75,160,277,426,607,820,1065,1342,1651,1992,2365,2770,3207,3676,4177,4710,5275,5872,6501,7162,7855,8580,9337,10126,10947,11800,12685,13602,14551,15532,16545,17590,18667,19776,20917,22090,23295,24532
mov $1,16
mul $1,$0
add $1,5
mul $1,$0
add $1,1
|
db "STARLING@" ; species name
db "They flock around"
next "in mountains and"
next "fields, chasing"
page "after BUG #MON."
next "Its singing is"
next "noisy and annoying.@"
|
// 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 "chrome/browser/media/webrtc/desktop_media_list_base.h"
#include <set>
#include "chrome/browser/media/webrtc/desktop_media_list_observer.h"
#in... |
.text
main:
li $v0, 10
syscall |
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 7/12/98 djm
;double asin(double)
;Number in FA..
INCLUDE "#fpp.def"
XLIB atan
LIB fsetup
LIB stkequ2
.atan
call fsetup
fpp(FP_ATN)
jp ... |
; A298788: Coordination sequence for bey tiling (or net) with respect to a trivalent node.
; 1,3,7,12,13,17,24,23,27,36,33,37,48,43,47,60,53,57,72,63,67,84,73,77,96,83,87,108,93,97,120,103,107,132,113,117,144,123,127,156,133,137,168,143,147,180,153,157,192,163,167,204,173,177,216,183,187,228,193,197,240,203,207,252,213... |
$NOMOD51
#include "boot.h"
#define BUF_LOC 0x08
NAME BOOT_STARTUP
PUBLIC boot_otp
; Declare and locate all memory segments used by the bootloader
?BL_START SEGMENT CODE AT BL_START_ADDRESS
?BL_RSVD SEGMENT CODE AT BL_LOCK_ADDRESS-2
?BL_STACK SEGMENT IDATA
?BUFFER SEGMENT DATA AT BUF_LOC
; Cre... |
###############################################################################
# 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.