text stringlengths 1 1.05M |
|---|
// ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018-2021 www.open3d.org
//
// Perm... |
; A007661: Triple factorial numbers a(n) = n!!!, defined by a(n) = n*a(n-3), a(0) = a(1) = 1, a(2) = 2. Sometimes written n!3.
; 1,1,2,3,4,10,18,28,80,162,280,880,1944,3640,12320,29160,58240,209440,524880,1106560,4188800,11022480,24344320,96342400,264539520,608608000,2504902400,7142567040,17041024000,72642169600,214277... |
;
;=============================================================================
; MMC/SD/SDHC/SDXC CARD STORAGE DRIVER
;=============================================================================
;
; 1) TESTING
; - TRY TO TEST GOIDLE, FIND CARD THAT REQUIRES 2 REQUESTS
; - DUAL CARDS
; - TEST XC CAR... |
; A141449: A005439 mod 9.
; 1,2,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8,2,5,8
mul $0,2
mov $2,$0
trn $0,4
trn $2,1
add $0,$2
lpb $0,1
mov $3,$0
sub $0,1
add $3,$0
add $3,$0
trn $0,2
lpe
mov $... |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
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 ... |
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... |
//Problem link - https://www.hackerrank.com/challenges/rectangle-area
//Code author - Parin Vachhani - https://github.com/parinvachhani
#include <iostream>
using namespace std;
class Rectangle {
protected:
int width,height;
public:
virtual void display() const {
cout << width << ' ' << height << endl;... |
#pragma once
class Tickable {
public:
Tickable() {}
virtual ~Tickable() {}
virtual void onTick(float dt) = 0;
private:
};
|
/*
Copyright 2009-2021 Nicolas Colombe
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, publish, distribut... |
#include "db_impl.h"
#include "blob_file_iterator.h"
#include "blob_gc_job.h"
#include "blob_gc_picker.h"
namespace rocksdb {
namespace titandb {
void TitanDBImpl::MaybeScheduleGC() {
mutex_.AssertHeld();
if (db_options_.disable_background_gc) return;
if (shuting_down_.load(std::memory_order_acquire)) return... |
; A188935: Decimal expansion of (1+sqrt(37))/6.
; Submitted by Jon Maiga
; 1,1,8,0,4,6,0,4,2,1,7,1,6,3,6,9,9,4,8,1,6,6,6,1,4,0,4,0,8,6,7,0,1,1,1,7,7,0,1,4,1,6,1,6,8,2,4,6,4,4,0,1,8,6,4,4,0,3,1,9,2,1,7,4,4,1,4,3,8,8,7,8,7,5,5,3,1,5,1,7,0,6,6,3,3,8,4,4,4,0,4,6,5,9,6,4,1,4,4,3
mov $1,1
mov $3,$0
mul $3,3
lpb $3
add $1,... |
; A152995: Twice 11-gonal numbers: a(n) = n*(9*n-7).
; 0,2,22,60,116,190,282,392,520,666,830,1012,1212,1430,1666,1920,2192,2482,2790,3116,3460,3822,4202,4600,5016,5450,5902,6372,6860,7366,7890,8432,8992,9570,10166,10780,11412,12062,12730,13416,14120,14842,15582,16340,17116,17910,18722,19552,20400,21266,22150,23052,2397... |
// Copyright (c) 2012-2017 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 <addrman.h>
#include <test/test_PALLY1.h>
#include <string>
#include <boost/test/unit_test.hpp>
#include <hash.h>
#in... |
; A134736: a(1) = 5; for n >1, a(n) = a(n-1) + gcd(n, a(n-1)).
; Submitted by Jon Maiga
; 5,6,9,10,15,18,19,20,21,22,33,36,37,38,39,40,41,42,43,44,45,46,69,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,141,144,145,150,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1b392, %rsi
lea addresses_normal_ht+0xf392, %rdi
nop
nop
nop
xor $40233, %r13
mov $102, %rcx
rep movsl
sub %r14, %r14
lea addresses_WT_ht+0x1e192, %r12
nop
nop
nop
xor $65309... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: Config Library
MODULE: PrefContainerClass
FILE: prefContainer.asm
AUTHOR: Adam de Boor, Dec 3, 1992
ROUTINES:
Name Description
---- -----------
REVI... |
; A279521: Maximum number of single-direction edges in leveled binary trees with n nodes.
; 0,1,1,2,3,3,3,4,5,6,7,7,7,7,7,8,9,10,11,12,13,14,15,15,15,15,15,15,15,15,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50... |
; A158746: Numbers n such that 30*n + 13 is prime.
; 0,1,2,3,5,6,7,9,10,12,14,15,17,20,21,22,24,27,28,29,34,35,36,37,38,40,43,47,48,49,51,55,56,57,58,59,62,64,66,68,69,70,71,73,76,79,82,83,86,89,90,93,94,98,105,108,110,111,112,114,115,119,120,121,122,124,126,127
seq $0,132233 ; Primes congruent to 13 (mod 30).
div $0,... |
###############################################################################
# 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 2018 Google 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... |
*PROCESS DUPALIAS
*
* Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07
* on Fri Apr 30 15:36:23 2021
*
WXTRN @@ZARCH#
*
*
*
* Code Section
*
@CODE ALIAS C'@RDVARINT'
@CODE CSECT
@CODE AMODE ANY
@CODE RMODE ANY
@DATA ALIAS C'@rdvarint'
fprintf ALIAS C'fprintf'
EXTRN f... |
; A122690: a(n) = 5*a(n-1) + 4*a(n-2) with a(0)=1, a(1)=4.
; Submitted by Jamie Morken(s2)
; 1,4,24,136,776,4424,25224,143816,819976,4675144,26655624,151978696,866515976,4940494664,28168537224,160604664776,915697472776,5220906022984,29767320006024,169720224122056,967670400634376,5517232899660104,31456846100838024,17935... |
; Assembly code emitted by HLA compiler
; Version 2.16 build 4413 (prototype)
; HLA compiler written by Randall Hyde
; NASM compatible output
bits 32
%define ExceptionPtr__hla_ [dword fs:0]
global QuitMain__hla_
global DfltExHndlr__hla_
global _HLAMain
global HWexcep... |
#include <nlohmann/json.hpp>
int main() {
return 0;
} |
db 0 ; species ID placeholder
db 95, 95, 85, 55, 125, 65
; hp atk def spd sat sdf
db GRASS, PSYCHIC ; type
db 45 ; catch rate
db 212 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/exeggutor... |
; Q40/Q60 Caches management v. 1.00 copyright (c) Mark Swift
; 2003-10-17 1.01 adapted for SMSQ/E (FD)
; 2005-01-21 1.02 rationalised, reset sr as was on entry (wl)
section exten
xdef copyback
xdef serialized
xdef writethrough
include 'dev8_sbsext_ext_keys'
include 'dev8_keys_sys'
;
rprt_ni
moveq #err.ni,d0
... |
#include <vector>
#include <fstream>
#include <iostream>
using namespace std;
class Point
{
public:
void fromfile(ifstream& file)
{
file >> x;
file >> y;
}
int x;
int y;
};
class Line
{
public:
Line(ifstream& file)
{
a.fromfile(file);
... |
/*
* Test for custom 'not_empty' notificator for mchain.
*/
#include <so_5/all.hpp>
#include <various_helpers_1/time_limited_execution.hpp>
#include <utest_helper_1/h/helper.hpp>
#include "../mchain_params.hpp"
using namespace std;
class event
{
std::mutex m;
std::condition_variable cv;
bool signaled = {... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
.thumb
.syntax unified
.org 0x00
.equ CopyDataWithPossibleUncomp, 0x8012F50+1
.macro blh to, reg=r3
ldr \reg, =\to
mov lr, \reg
.short 0xf800
.endm
Load6CFACEGraphics: @ 0x08005594
push {lr}
ldr r1, [r0, #0x2c]
ldr r2, [r1]
ldr r1, =0x0202A68C
adds r0, #0x40
ldrb r0, [r0]
cmp r0, #1
bne Continue
adds r0,... |
; A030192: Scaled Chebyshev U-polynomial evaluated at sqrt(6)/2.
; 1,6,30,144,684,3240,15336,72576,343440,1625184,7690464,36391680,172207296,814893696,3856118400,18247348224,86347378944,408600184320,1933516832256,9149499887616,43295898332160,204878390667264,969494954010624,4587699380060160,21709226556297216,10272916305... |
; A242082: Nim sequence of game on n counters whose legal moves are removing some number of counters in A027941.
; 0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0
lpb ... |
/// \file
/// Test for using third-party verilog-parse
#include <ilang/verilog-in/verilog_parse.h>
extern "C" {
#include <verilogparser/verilog_parser.h>
}
namespace ilang {
// we need to use this, so vlg parser will record memory usage and free later
static void* VlgParserAllocCstr(const std::string& str) {
char... |
/*=========================================================================
*
* Copyright David Doria 2011 daviddoria@gmail.com
*
* 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
*
*... |
;
; Sequencer Pattern Compress/Decompress (RLE)
;
compress:
lda #WRAM_PATTERNS
jsr setMMC1r1
lda #<patterns
sta tmp0
lda #>patterns
sta tmp1
lda #<$7000
sta tmp2
lda #>$7000
sta tmp3
ldy #$00
lda #$FF
: sta (tmp2),y
iny
bne :-
ldx #$60 ;96 blocks
lda #$00
sta tmp4
: ldy #$00
lda (tmp0),y ;0?... |
; Copyright Oliver Kowalke 2009.
; 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)
; ----------------------------------------------------------------------------------
; | 0 |... |
; A002549: Numerators of coefficients of log(1+x)/sqrt(1+x).
; Submitted by Jon Maiga
; 1,1,23,11,563,1627,88069,1423,1593269,7759469,31730711,46522243,3788707301,2888008157,340028535787,41743955887,10823198495797,2738032559863,409741429887649,25876414060339,17141894231615609
seq $0,74599 ; Numerator of 2 * H(n,2,1), ... |
/*
Copyright (c) 2005-2019, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... |
#include "option.h"
|
/***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... |
;
; Amstrad CPC library
; (CALLER linkage for function pointers)
;
; set color palette, flashing is useless so we forget the second color
;
; void __LIB__ __CALLEE__ cpc_Uncrunch(int src, int dst);
;
; $Id: cpc_Uncrunch.asm $
;
SECTION code_clib
PUBLIC cpc_Uncrunch
... |
//Test that constant pointers are detected correctly
// Commodore 64 PRG executable file
.file [name="const-pointer.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic... |
SECTION code_fp_am9511
PUBLIC cam32_sdcc___fseq
EXTERN cam32_sdcc_readr
EXTERN asm_am9511_compare
; Entry: stack: float right, float left, ret
.cam32_sdcc___fseq
call asm_am9511_compare
scf
ret Z
ccf
dec hl
ret
|
; A046030: Digits are squares.
; Submitted by Simon Strandgaard
; 0,1,4,9,10,11,14,19,40,41,44,49,90,91,94,99,100,101,104,109,110,111,114,119,140,141,144,149,190,191,194,199,400,401,404,409,410,411,414,419,440,441,444,449,490,491,494,499,900,901,904,909,910,911,914,919,940,941,944,949,990,991,994,999,1000,1001,1004,100... |
; A141054: Binomial(n+8,8)*8^n and 8-idempotent numbers. example: A059300 Triangle of idempotent numbers binomial(n,k)*k^(n-k), version 4. A059300 formatted as a triangular array: 1 72 ...........
; 1,72,2880,84480,2027520,42172416,787218432,13495173120,215922769920,3262832967680,46984794734592,649244436332544,86565924... |
/*
* 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 ma... |
Name: Debug-d.asm
Type: file
Size: 19892
Last-Modified: '1992-07-14T15:00:00Z'
SHA-1: 8C99C6417280432BD349F9E79DAC5C425E65E1EA
Description: null
|
; A229127: Number of n-digit numbers containing the digit '0'.
; Submitted by Jamie Morken(s1)
; 1,9,171,2439,30951,368559,4217031,46953279,512579511,5513215599,58618940391,617570463519,6458134171671,67123207545039,694108867905351,7146979811148159,73322818300333431,749905364703000879,7649148282327007911,778423345409430... |
//
// Created by Gegel85 on 23/09/2019
//
#include <fstream>
#include <iostream>
#include "Entity.hpp"
#include "Exceptions.hpp"
#include "json.hpp"
#include "../Game.hpp"
namespace DungeonIntern::Rendering
{
Entity::Config::Config(Resources &resources, const std::string &path)
{
this->loadFile(resources, path);
... |
SECT_TEXT(suarithm)
;-------------------------------------------------------------------------------
; POP opcode: remove (discard) the topmost signal from the stack
;-------------------------------------------------------------------------------
; Mono: a -> (empty)
; Stereo: a b -> (empty)
;-----------------... |
/* Copyright 2019, Gurobi Optimization, LLC
This example considers the following nonconvex nonlinear problem
maximize 2 x + y
subject to exp(x) + 4 sqrt(y) <= 9
x, y >= 0
We show you two approaches to solve this:
1) Use a piecewise-linear approach to handle general function
constraints (... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0
include listing.inc
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
$SG5303 DB '%d', 00H
_DATA ENDS
PUBLIC __local_stdio_printf_options
PUBLIC __local_stdio_scanf_options
PUBLIC _vfprintf_l
PUBLIC printf
PUBLIC _vfscanf... |
; A144143: a(n) = Hermite(n,4).
; Submitted by Jon Maiga
; 1,8,62,464,3340,23008,150664,929216,5324432,27728000,125984224,453313792,854857408,-4040671744,-54551666560,-323274523648,-949646192384,2747615217664,54268892282368,335236990423040,619678016654336,-8452055483686912,-93642920568977408,-377252923269595136,1289550... |
CNZ_Header:
smpsHeaderStartSong 2, 1
smpsHeaderVoice CNZ_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $48
smpsHeaderDAC CNZ_DAC
smpsHeaderFM CNZ_FM1, $0C, $08
smpsHeaderFM CNZ_FM2, $F4, $0A
smpsHeaderFM CNZ_FM3, $F4, $12
smpsHeaderFM CNZ_FM4, $F4, $12
smp... |
;==========================================================
; 6502 assembly template for VSCode
; Originally created in 2019 by Ingo Hinterding // awsm of Mayday
;==========================================================
;==========================================================
; LABELS
;===========================... |
#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... |
; ************************************************************************************************
; ************************************************************************************************
;
; Name: sound.asm
; Purpose: Sound storage
; Created: 6th April 2021
; Author: Paul Robson (paul@robsons.org.uk)
;... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>fallocate(fd, mode, offset, length) -> str
Invokes the syscall fallocate.
See 'man 2 fallocate' for more information.
Arguments:
fd(int): fd
mode(int): mode
offset(off_t): offset
len(off_t): len
Re... |
pushpc
; Code that is run once after the game has been powered on.
; Overrides the following:
; LDA.b #$81 : STA $4200
org $00802F
JSL init_hook
NOP
pullpc
init_hook:
LDA #$81 : STA $4200
JSL init_expand
%ai8()
RTL
init_expand:
LDA #$01 : STA $420D ; enable fast rom
; enters AI=8
; If user holds Start+Selec... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1725, %rsi
lea addresses_D_ht+0x1bb3d, %rdi
clflush (%rdi)
nop
nop
nop
nop
inc %rdx
mov $15, %rcx
rep movsb
nop
nop
nop
xor $50031, %rsi
lea addresses_normal_ht+0x1327d, %r14
inc %rdi... |
; ##########################################################################
; MACROS for using Dbshow.dll
; ##########################################################################
ShowReturn MACRO hWindow, value
LOCAL lbl
LOCAL LibName
LOCAL ProcName
j... |
;PSOS Development Build
;https://github.com/TheBenPerson/PSOS/tree/dev
;Copyright (C) 2016 - 2017 Ben Stockett <thebenstockett@gmail.com>
;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 withou... |
/*
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* 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 for any purpose,
... |
SECTION rodata_font_fzx
PUBLIC _ff_dkud2_Eclipse
_ff_dkud2_Eclipse:
BINARY "font/fzx/fonts/dkud2/Eclipse/eclipse.fzx"
|
; A250480: a(1) = 0, and for n > 1: if n is a prime, a(n) = n, otherwise a(n) = A020639(n) - 1, where A020639(n) gives the least prime dividing n.
; 0,2,3,1,5,1,7,1,2,1,11,1,13,1,2,1,17,1,19,1,2,1,23,1,4,1,2,1,29,1,31,1,2,1,4,1,37,1,2,1,41,1,43,1,2,1,47,1,6,1,2,1,53,1,4,1,2,1,59,1,61,1,2,1,4,1,67,1,2,1,71,1,73,1,2,1,6,... |
%define safe_copy_memory _ZN6kernel16safe_copy_memoryEPKvPvm
%define length_of_user_string _ZN6kernel21length_of_user_stringEPKv
%define copy_until_null_or_n_from_user _ZN6kernel30copy_until_null_or_n_from_userEPKvPvm
; Safe function ABI:
; During a safe operation E(R)BX contains the address to go to in case of a faul... |
; A213673: (n^2 - A000695(n))/4.
; 0,0,0,1,0,2,4,7,0,4,8,13,16,22,28,35,0,8,16,25,32,42,52,63,64,76,88,101,112,126,140,155,0,16,32,49,64,82,100,119,128,148,168,189,208,230,252,275,256,280,304,329,352,378,404,431,448,476,504,533,560,590,620,651,0,32,64,97,128,162,196,231,256,292,328,365,400,438,476,515,512,552,592,633,6... |
db 0 ; species ID placeholder
db 75, 75, 55, 30, 105, 85
; hp atk def spd sat sdf
db GRASS, GRASS ; type
db 120 ; catch rate
db 146 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sunflora/f... |
dnl PowerPC-32 mpn_sublsh1_n -- rp[] = up[] - (vp[] << 1)
dnl Copyright 2003, 2005 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as publish... |
//===-- ValueSymbolTable.cpp - Implement the ValueSymbolTable class -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
org 24100
load_1:
ld hl, loader_table_genesis
ld (loader_table), hl
ld hl, genesis_str
ld (loader_file),hl
start:
ld b, 7 ; RAM 7, ROM 3 (+3DOS)
call setrambank
deact_ramdisk:
ld hl, $0000
ld de, $0000
call DOS_EST_1346
JP NC, 0 ... |
#include <dray/dray.hpp>
#include <dray/io/blueprint_reader.hpp>
#include <dray/utils/png_encoder.hpp>
#ifdef MPI_ENABLED
#include <mpi.h>
#endif
int main (int argc, char *argv[])
{
#ifdef MPI_ENABLED
MPI_Init(nullptr, nullptr);
MPI_Comm comm = MPI_COMM_WORLD;
dray::dray::mpi_comm(MPI_Comm_c2f(comm));
#endif
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: textSelectManager.asm
AUTHOR: John Wedgwood, Apr 17, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name D... |
;
; (c) Copyright 2021 by Tobias Bindhammer. 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 source code must retain the above copyright
; notice, this list of... |
; A080957: Expansion of (5 - 9*x + 6*x^2)/(1-x)^4.
; 5,11,20,34,55,85,126,180,249,335,440,566,715,889,1090,1320,1581,1875,2204,2570,2975,3421,3910,4444,5025,5655,6336,7070,7859,8705,9610,10576,11605,12699,13860,15090,16391,17765,19214,20740,22345,24031,25800,27654,29595,31625,33746,35960,38269,40675,43180,45786,48495,5... |
#include <n64/n64.hpp>
namespace ares::Nintendo64 {
SI si;
#include "dma.cpp"
#include "io.cpp"
#include "debugger.cpp"
#include "serialization.cpp"
auto SI::load(Node::Object parent) -> void {
node = parent->append<Node::Object>("SI");
debugger.load(node);
/*if(auto fp = system.pak->read("pif.sm5.rom")) {
... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x400",
"MM7": ["0x8000000000000000", "0x3FFF"]
},
"Mode": "32BIT"
}
%endif
lea edx, [.data]
fld dword [edx + 8 * 0]
fistp dword [edx + 8 * 1]
fld1
mov eax, [edx + 8 * 1]
hlt
.data:
dq 0x44800000
dq 0
|
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
include "player.asm"
include "ball.asm"
include "palettes.asm"
include "tiles.asm"
include "states/ingame.asm"
Game_Main:
moveq #0, d0
lea Palette, a0
jsr VDP_LoadPalette
moveq #0, d0
moveq #tiles_count, d1
lea Tiles, a0
jsr VDP_LoadTiles
; Clear trashed d0 and d1
moveq #0, d0
moveq... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: fsdFile.asm
AUTHOR: Adam de Boor, Oct 16, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Desc... |
//===- DebugInfoMetadata.cpp - Implement debug info metadata --------------===//
//
// The LLVM37 Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... |
; A022325: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 11.
; 1,11,13,25,39,65,105,171,277,449,727,1177,1905,3083,4989,8073,13063,21137,34201,55339,89541,144881,234423,379305,613729,993035,1606765,2599801,4206567,6806369,11012937,17819307,28832245,46651553,75483799,122135353,197619153,319754507,517373661,837128... |
// Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <cstddef>
#include <limits>
#include <string>
#include "Domain/Structure/SegmentId.hpp"
#include "Domain/Structure/Side.hpp"
#include "ErrorHandling/Error.hpp"
#include "Framework/TestHelpers.hpp"... |
;COUNT NUMBER ZEROS, POSITIVES, NEGATIVES
;INPUT : 00A0H
;OUTPUT : 00B0H <- NUMBER OF ZEROS
; 00B1H <- NUMBER OF POSITIVE
; 00B2H <- NUMBER OF NEGATIVE
LXI H, 00A0H
MOV C, M ;C <- NUMBER OF DATA
INX H
MVI B, 00H ;B <- NUMBER OF ZEROS
MVI D, 00H ;D <- NUMBER OF POSITIVES
MVI E, 00H ;E <- NUMBER OF NEGATIVE... |
#include "stdafx.h"
#include "bindings.h"
#include "../GeometryLib/vector3d.h"
#include "../GeometryLib/vector2d.h"
#include "../GeometryLib/transform3d.h"
#include "../GeometryLib/bounding-box.h"
#include "../GeometryLib/bounding-cylinder.h"
#include "color.h"
#include "renderer.h"
#include "xml-load.h"
Binding::~B... |
[bits 64]
rdtscp
clgi
invlpga
invlpga [rax], ecx
invlpga [eax], ecx
; invlpga [ax], ecx ; invalid
skinit
; skinit [rax] ; invalid
skinit [eax]
stgi
vmload
vmload [rax]
vmload [eax]
vmmcall
vmrun
vmrun [rax]
vmrun [eax]
vmsave
vmsave [rax]
vmsave [eax]
[bits 32]
invlpga
invlpga [eax], ecx
invlpga [ax], ecx
skinit
skini... |
/*
* Copyright (c) 2014 Matt Fichman
*
* 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, publis... |
; ===============================================================
; Nov 2014
; ===============================================================
;
; void z80_outp(uint16_t port, uint8_t data)
;
; Write data to 16-bit port.
;
; ===============================================================
SECTION code_clib
SECTION cod... |
###############################################################################
# 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x15dcc, %rsi
lea addresses_D_ht+0xdb1c, %rdi
cmp $63510, %r12
mov $31, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp $39203, %r13
lea addresses_A_ht+0x1cfec, %rbp
nop
nop
xor $58697,... |
[BITS 32]
MOV EDX, 123456789
INT 0x40
MOV EDX, 4
INT 0x40
|
/** @file inl2weight.cc
* @brief Xapian::InL2Weight class - the InL2 weighting scheme of the DFR framework.
*/
/* Copyright (C) 2013,2014 Aarsh Shah
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software F... |
/* Copyright 2019 The TensorFlow 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (C) 2022 Intel Corporation
;
; SPDX-License-Identifier: MIT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Function API:
; UINT32 crc32_ieee_by4(
; UINT32 init_crc, //initial CRC ... |
/*
Copyright 2017-2019 Google Inc. 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
Unless required by applicable law or agreed t... |
obj/user/divzero.debug: 文件格式 elf32-i386
Disassembly of section .text:
00800020 <_start>:
// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp
800020: 81 fc 00 e0 bf ee cmp $0xe... |
// Copyright (c) 2006-2008 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 "webkit/glue/plugins/plugin_stream.h"
#include "base/logging.h"
#include "webkit/glue/plugins/plugin_instance.h"
namespace NPAPI {
Pl... |
[BITS 16]
[ORG 0]
sectors equ 1
interrupt equ 0x13
fallback equ 0xa7
%include 'tests/bios_patches/interrupt_patch.asm'
; Fail all calls with 0x41 <= ah <= 0x49
interrupt_handler:
pushf
cmp ah,0x41
jb continue
cmp ah,0x49
jbe fail
continue:
popf
jmp fallback_handler
fail:
push bp
mov bp,sp
or word[ss:bp+8],1
pop bp
... |
; A022342: Integers with "even" Zeckendorf expansions (do not end with ...+F_2 = ...+1) (the Fibonacci-even numbers); also, apart from first term, a(n) = Fibonacci successor to n-1.
; Submitted by Christian Krause
; 0,2,3,5,7,8,10,11,13,15,16,18,20,21,23,24,26,28,29,31,32,34,36,37,39,41,42,44,45,47,49,50,52,54,55,57,58... |
; A151783: a(n) = 4^{wt(n)-1}.
; 1,1,4,1,4,4,16,1,4,4,16,4,16,16,64,1,4,4,16,4,16,16,64,4,16,16,64,16,64,64,256,1,4,4,16,4,16,16,64,4,16,16,64,16,64,64,256,4,16,16,64,16,64,64,256,16,64,64,256,64,256,256,1024,1,4,4,16,4,16,16,64,4,16,16,64,16,64
seq $0,48881 ; a(n) = A000120(n+1) - 1 = wt(n+1) - 1.
mov $1,4
pow $1,$0
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.